@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090f15;
  --panel: #10141b;
  --panel-2: #171e25;
  --line: #2a2c2e;
  --text: #ffffff;
  --muted: #a7a7a7;
  --yellow: #ffd102;
  --yellow-hover: #e2ba00;
  --radius: 12px;
  --content: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "e-Ukraine", Arial, sans-serif;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button,input {
  font: inherit;
}

/* Полностью отключаем цветовую подсветку тапа для ссылок, кнопок и summary */
a,
button, 
.faq-item summary,
.faq-item summary * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Убираем рамки и тени при фокусе и в момент клика пальцем */
a:focus,
a:active,
button:focus,
button:active,
.faq-item summary:focus,
.faq-item summary:active {
  outline: none !important;
  box-shadow: none !important;
}



.container {
  width: min(var(--content),calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #111;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  left: 10px;
}
.site-header {
  position: relative;
  z-index: 5;
  background: #080d12;
  border-bottom: 4px solid var(--yellow);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
    width: 178px;
  font-size: 38px;
  line-height: 1;
}
.brand-name {
  font-size: clamp(22px,3vw,34px);
  font-weight: 800;
  letter-spacing: -1px;
  border-bottom: 2px solid var(--yellow);
}
.header-contacts {
  display: grid;
  gap: 0;
  font-size: clamp(16px,2.2vw,26px);
  font-weight: 800;
  line-height: 1.2;
}
.header-contacts a:hover,.footer-phones a:hover {
  color: var(--yellow);
}
.language-switch {
  display: flex;
  gap: 5px;
  font-size: 13px;
}
.language-switch a {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.language-switch [aria-current=page] {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #10161c;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,8,12,.94),rgba(4,8,12,.64) 48%,rgba(4,8,12,.35)),url("../image/evakuator-background.webp") center 33%/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(transparent,var(--bg));
}
.hero-content {
  padding-block: 64px 30px;
}
.eyebrow {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h1,h2,h3,p {
  margin-top: 0;
}
h1 {
  max-width: 800px;
  font-size: clamp(36px,6vw,68px);
  line-height: 1.03;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-size: clamp(18px,2.8vw,30px);
  font-weight: 600;
  max-width: 760px;
  margin-bottom: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background .2s,transform .2s;
}
.button:hover {
  transform: translateY(-1px);
}
body > footer > div.container.footer-actions > a.button.button-secondary > span > img,
body > footer > div.container.footer-actions > a.button.button-primary > span > img{
    width: 23px;
    margin-bottom: -7px;
}

.button-primary {
  background: var(--yellow);
  color: #090e13;
}
.button-primary:hover {
  background: var(--yellow-hover);
}
.button-large {
  min-height: 62px;
  width: min(100%,650px);
  font-size: clamp(18px,2.5vw,25px);
    box-sizing: border-box;
}
.button-large > span > img{
    width: 44px;
}
.hero-note {
  margin: 10px 0 24px;
  color: #d1d5db;
  text-align: center;
  width: min(100%,650px);
  font-size: 14px;
    font-weight: 100;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  width: min(100%,850px);
  border: 1px solid #353c44;
  background: rgba(10,15,20,.82);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-right: 1px solid var(--line);
}
.benefit:last-child {
  border-right: 0;
}
.benefit-icon {
  font-size: 40px;
  color: var(--yellow);
  font-weight: 700;
}
.benefit-icon > img{
    width: 36px
}
.benefit strong,.benefit small {
  display: block;
}
.benefit strong {
  font-size: 21px;
}
.benefit small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}
.fine-print {
  font-size: 11px;
    font-weight: 100;
  color: #b7bec7;
  max-width: 850px;
  margin: 10px 0 0;
}
.section {
  padding-block: 28px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.section-heading h2,.about h2 {
  font-size: clamp(18px,3vw,34px);
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}
.service-list,.price-list {
  display: grid;
  gap: 8px;
}
.service-card,.price-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.service-card {
  font-size: clamp(16px,2.3vw,23px);
  transition: border-color .2s,background .2s;
}
.service-card:hover {
  border-color: var(--yellow);
  background: var(--panel-2);
}
.footer-phones > a > span > img{
    width: 15px;
    margin-bottom: -2px;
}


.service-icon {
    width: 43px;
  font-size: 30px;
  text-align: center;
  color: var(--yellow);
  filter: saturate(1.2);
}
.card-arrow {
  color: var(--yellow);
  opacity: 0;
}
.service-card:hover .card-arrow {
  opacity: 1;
}
.price-card {
  font-size: clamp(15px,2vw,21px);
}
.price-card strong {
  color: var(--yellow);
  white-space: nowrap;
  font-size: clamp(15px,2vw,20px);
}
.section-footnote {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.step:last-child {
  grid-column: 1/-1;
}
.step-number {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #10151a;
  font-size: 20px;
  font-weight: 800;
}
.step h3 {
  font-size: 20px;
  margin: 0 0 2px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}

/**/

.faq-list {
  display: grid;
  gap: 7px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 18px;
  color: #c2c8cf;
  font-size: clamp(15px, 2vw, 19px);
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Красивый поворот плюса */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 24px;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Класс .is-open добавляем через JS, чтобы цвет и плюс менялись синхронно с анимацией */
.faq-item.is-open summary {
  color: var(--yellow);
}

.faq-item.is-open summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--yellow);
}

/* --- ПЛАВНОЕ СВОРАЧИВАНИЕ И РАЗВОРАЧИВАНИЕ --- */
.faq-item p {
  margin: 0;
  padding: 0 18px 0; /* Изначально внутренний отступ снизу 0 */
  color: #c1c7ce;
  font-size: 14px;
  
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  /* Плавный возврат в закрытое состояние */
  transition: max-height 0.3s ease-in-out, opacity 0.2s ease, transform 0.2s ease, padding 0.3s ease;
}

/* Когда панель открыта (активируется через JS) */
.faq-item.is-open p {
  max-height: 200px; /* Поставьте с запасом, чуть больше высоты вашего текста */
  opacity: 1;
  transform: translateY(0);
  padding: 0 18px 16px; /* Возвращаем отступ снизу при открытии */
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, padding 0.3s ease;
}



/*
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 18px;
  color: #c2c8cf;
  font-size: clamp(15px,2vw,19px);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--muted);
}
.faq-item[open] summary {
  color: var(--yellow);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: #c1c7ce;
  font-size: 14px;
}
*/
.about {
  padding-top: 34px;
  padding-bottom: 36px;
}
.about h2 {
  margin-bottom: 10px;
}
.about p {
  max-width: 900px;
  color: #b8bec6;
  margin: 0;
}
.callback {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #1d252d;
  border-radius: 12px;
  background: linear-gradient(90deg,rgba(18,24,31,.97),rgba(18,24,31,.87)),url('../image/evakuator-background.webp') center/cover;
  margin-bottom: 28px;
}
.callback h2 {
  font-size: clamp(13px,3vw,30px);
  margin-bottom: 5px;
}
.callback p {
  color: var(--muted);
  font-size: 10px;
}
#callback-form {
  display: grid;
  gap: 10px;
}
#phone {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  border: 1px solid #333d47;
  border-radius: 9px;
  padding: 12px 14px;
  background: #0e141a;
  color: #fff;
}
#phone:focus-visible,.button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 1px;
}

#callback-form > button{
    width: 100%;
    font-size: 17px;
}
/*
.location-check,.form-message {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
}
.location-check {
  display: flex;
  gap: 2px;
  align-items: center;
}
*/

.location-check {
  display: flex;
  gap: 2px;
  align-items: center;
  
  /* Управляет цветом стандартных чекбоксов и радиокнопок во всех современных браузерах */
  accent-color: var(--yellow); 
}

/* На всякий случай дублируем для самого инпута внутри лейбла */
.location-check input[type="checkbox"] {
  accent-color: var(--yellow);
}

.location-check, .form-message {
  grid-column: 1/-1;
  font-size: 10px;
  color: var(--muted);
}


/**/
.form-message {
  margin: 0;
}
.site-footer {
  padding: 28px 0 14px;
  border-top: 1px solid var(--line);
  background: #080d12;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: start;
}
.footer-brand {
  font-weight: 800;
  font-size: 18px;
}
.footer-grid p {
  font-size: 9px;
  color: var(--muted);
  margin: 6px 0;
}
.footer-grid nav,.footer-phones {
  display: grid;
  gap: 7px;
  font-size: 11px;
}
.footer-grid nav a:hover {
  color: var(--yellow);
}
.footer-phones {
  justify-self: end;
  font-weight: 700;
  font-size: 13px;
}
.footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.button-secondary {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
}
.copyright {
  font-size: 11px;
  color: #7f8994;
  margin-top: 20px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (min-width:760px) {
  .service-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .price-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .hero-content {
    padding-block: 88px 44px;
  }
  .section {
    padding-block: 36px;
  }
}
@media (max-width:620px) {
  .container {
    width: calc(100% - 28px);
  }
  .header-inner {
    min-height: 78px;
    gap: 10px;
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .brand-mark {
    font-size: 30px;
  }
  .brand-name {
    font-size: 23px;
  }
  .header-contacts {
    font-size: clamp(13px,3.6vw,18px);
    margin-left: auto;
  }
  .language-switch {
    display: none;
  }
  .hero-content {
    padding-top: 38px;
  }
  .hero-image {
    background-position: 58% center;
  }
  .benefit {
    padding: 10px 7px;
    gap: 6px;
    align-items: flex-start;
  }
  .benefit-icon {
    font-size: 22px;
  }
  .benefit strong {
    font-size: 12px;
  }
  .benefit small {
    font-size: 10px;
  }
  .section {
    padding-block: 20px;
  }
  .section-heading {
    gap: 8px;
  }
  .section-heading p {
    font-size: 9px;
  }
  .service-card,.price-card {
    grid-template-columns: 48px minmax(0,1fr) auto;
    gap: 8px;
    padding: 10px 8px;
    min-height: 54px;
  }
  .service-icon {
    font-size: 25px;
  }
  .service-card {
    font-size: 15px;
  }
  .price-card {
    font-size: 14px;
  }
  .price-card strong {
    font-size: 13px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step {
    padding: 10px;
    gap: 8px;
  }
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .step h3 {
    font-size: 16px;
  }
  .step p {
    font-size: 11px;
  }
  .step:last-child {
    grid-column: 1/-1;
  }
  .callback {
    padding: 16px;
  }
  .footer-grid {
    /*grid-template-columns: 1fr 1fr;*/
    gap: 16px;
  }
  .footer-phones {
    /*grid-column: 1/-1;*/
    justify-self: start;
  }
  .footer-actions {
    margin-top: 16px;
  }
}
@media (max-width:380px) {
  .header-inner {
    justify-content: center;
  }
  .brand {
    width: 100%;
    justify-content: center;
  }
  .header-contacts {
    margin: 0 auto;
  }
  .benefit {
    display: block;
    text-align: center;
  }
  .benefit-icon {
    display: block;
  }
  .price-card {
    grid-template-columns: 34px minmax(0,1fr) auto;
  }
  .price-card .service-icon {
    font-size: 21px;
  }
  #callback-form {
    grid-template-columns: 1fr;
  }
  .location-check,.form-message {
    grid-column: auto;
  }
  .footer-actions {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
