/*
Theme Name: ASIAVED Child
Template: twentytwentyfive
Text Domain: asiaved-child
Version: 1.0
*/

/* ====== tokens ====== */
:root{
  --container: 1200px;
  --green: #2e7d32;
  --green-dark:#1e5b23;
  --text:#222;
  --muted:#666;
  --bg:#f5f6f7;
  --white:#fff;
  --shadow: 0 10px 20px rgba(0,0,0,.08);

  --font-heading: "Montserrat", "Post No Bills Jaffna", Arial, sans-serif;
  --font-base: "Roboto", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ====== base ====== */
html,body{margin:0;padding:0}
*{box-sizing:border-box}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
html{scroll-behavior:smooth}
body{font-family:var(--font-base);color:var(--text);font-weight:400}

/* headings */
h1,h2,h3,h4{
  font-family:var(--font-heading);
  font-weight:800;
  line-height:1.15;
  margin:0 0 .6em;
}

/* layout helpers */
.container{max-width:var(--container);margin:0 auto;padding:0 16px}
.section{padding:56px 0}
.section--light{background:var(--bg)}
/* якоря не прячутся под шапкой */
.section[id]{scroll-margin-top:80px}

/* ====== hero ====== */
.hero{position:relative;overflow:hidden}
.hero__image{width:100%;height:340px;object-fit:cover;object-position:bottom}
.hero__content{position:relative;margin-top:-90px; padding-bottom:15px}
.hero__card{
  background:var(--white);box-shadow:var(--shadow);
  padding:32px;border-radius:12px;max-width:880px
}
.hero h1{font-size:40px;line-height:1.15;margin:0 0 12px}
.hero p.lead{font-size:18px;color:var(--muted);margin:0}

/* ====== FAQ ====== */
.faq{max-width:900px}
.faq__item{background:#fff;border-radius:10px;box-shadow:var(--shadow);margin-bottom:12px;overflow:hidden}
.faq__q{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:16px 18px;font-weight:600}
.faq__a{display:none;padding:0 18px 18px;color:var(--muted)}
.faq__item.is-open .faq__a{display:block}

/* ====== contacts ====== */
.contacts{display:grid;grid-template-columns:1fr 1fr;gap:32px}
@media (max-width:900px){.contacts{grid-template-columns:1fr}}
.contacts__info h2{font-size:32px;margin-bottom:20px}
.contacts__item{margin:8px 0;font-size:18px;font-weight:600}
.contacts__link{color:var(--green)}
.contacts__link:hover{text-decoration:underline}
.contacts__address{margin-top:18px;font-size:15px;line-height:1.6;color:var(--muted)}
.card-image{border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.card-map iframe{width:100%;height:100%;min-height:320px;border:0}

/* ====== form (callback) ====== */
.form{max-width:720px}
.form h3{font-size:32px;line-height:1.2;margin-bottom:20px}
.form label{display:block;font-weight:600;margin:14px 0 6px}
.form input,.form textarea{
  width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:8px;background:#fff
}
.form textarea{min-height:120px;resize:vertical}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:8px;padding:15px 27px;
  background:linear-gradient(#3aa74b,#2e7d32);
  color:#fff;font-weight:700;border:0;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)
}
.btn:hover{background:var(--green-dark)}
.btn:focus{outline:none;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}
.btn[disabled]{opacity:.7;cursor:not-allowed}

/* ====== footer (если есть) ====== */
.footerbar{padding:24px 0;background:#f0f1f2;color:#555;font-size:14px}

/* ====== responsive small ====== */
@media (max-width:600px){
  .section{padding:32px 0}
  .hero__image{height:220px}
  .hero__card{padding:20px}
  .hero h1{font-size:28px}
  .hero p.lead{font-size:16px}

  .contacts__info h2{font-size:24px}
  .contacts__item{font-size:16px}
  .contacts__address{font-size:14px}

  .form label{font-size:14px}
  .form input,.form textarea{font-size:15px;padding:10px 12px}
  .btn{padding:12px 20px;font-size:15px}
}

/* ====== header ====== */
.headerbar{
  padding:12px 0;
  background:#fff;
  box-shadow:var(--shadow);
}
.headerbar__row{
  display:flex;
  align-items:center;
  gap:16px;
}
.headerbar__brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-right:auto; /* уводим контакты вправо */
  color:inherit;
}
.headerbar__brand img{
  width:120px;
  height:auto;
  display:block;
}
.headerbar__meta{
  font-size:12px;
  color:var(--muted);
}
.headerbar__contacts{
  display:flex;
  align-items:center;
  gap:20px;
  font-weight:600;
}

/* mobile */
@media (max-width:600px){
  .headerbar__row{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .headerbar__brand img{ width:100px; }
  .headerbar__contacts{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    font-size:14px;
  }
  .headerbar__meta{ font-size:11px; }
}








/* === Общие мелочи === */
.lead-muted{ color: var(--muted); max-width: 760px; }

/* === Список услуг === */
.svc-list{ display:grid; gap:22px; margin:24px 0 0; padding:0; list-style:none; }
.svc-item{ display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start; background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:18px; }
.svc-bullet{
  width:36px; height:36px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(#3aa74b,#2e7d32); color:#fff; font-weight:800; font-size:14px;
  flex:0 0 36px;
}
.svc-item__body h3{ margin:.1em 0 .35em; font-size:18px; }
.svc-item__body p{ margin:0; color:var(--muted); }

/* === Преимущества === */
.benefits{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:18px; }
.benefit{ background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:20px; }
.benefit__num{ color:var(--green); font-weight:800; font-size:28px; margin-bottom:6px; }
.benefit h3{ margin:.1em 0 .4em; font-size:18px; }
.benefit p{ margin:0; color:var(--muted); }
@media (max-width:900px){ .benefits{ grid-template-columns:1fr; } }

/* === Стоимость === */
.price-card{ background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:22px; max-width:760px; }
.price-card__row{ display:flex; justify-content:space-between; gap:12px; align-items:end; margin-bottom:10px; }
.price-card__title{ font-weight:800; font-size:20px; }
.price-card__price{ font-weight:800; font-size:24px; color:var(--green); }
.price-card__list{ margin:10px 0 16px 18px; color:var(--muted); }
.price-note{ margin:12px 0 0; color:var(--muted); font-size:14px; }

/* Testimonials (JS) */
.ts-wrap{ position:relative; overflow:hidden; }      /* viewport! */
.ts-track{
  display:flex;
  will-change:transform;
  transition:transform .5s ease;
  gap:0; padding:0;                                  /* на всякий случай */
}
.ts-slide{ flex:0 0 100%; min-width:100%; display:flex; justify-content:center; padding:6px; }
.ts-card{ width:100%; max-width:560px; background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:20px; margin:0; }
.ts-card blockquote{ margin:0 0 14px; color:#222; }
.ts-card figcaption{ display:flex; align-items:center; gap:10px; }
.ts-card figcaption img{ width:40px; height:40px; border-radius:50%; object-fit:cover; }

.ts-nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:0; background:#fff; box-shadow:var(--shadow); font-size:26px; line-height:44px; text-align:center; cursor:pointer; user-select:none; }
.ts-nav--prev{ left:8px;z-index:20 } .ts-nav--next{ right:8px; }
@media (hover:hover){ .ts-nav{ opacity:0; transition:.2s } .ts-wrap:hover .ts-nav{ opacity:1; z-index:200 } }

.ts-dots{ display:flex; gap:8px; justify-content:center; margin-top:14px; }
.ts-dots button{ width:10px; height:12px; border-radius:50%; border:0; background:#cfd3d6; cursor:pointer; }
.ts-dots button.is-active{ background:var(--green); }

@media (max-width:700px){
  .ts-card{ max-width:88vw; }
  .ts-nav{ width:36px; height:36px; line-height:36px; font-size:22px; }
  .ts-nav--prev{ left:4px } .ts-nav--next{ right:4px }
}
/* === ЭТАПЫ РЕГИСТРАЦИИ — центрованная тайм-линия с чередованием === */
/* === ЭТАПЫ РЕГИСТРАЦИИ — линия только между точками === */
.timeline{
  position: relative;
  max-width: 980px;
  margin: 28px auto 0;
  padding-left: 0;
  list-style: none;
}

/* убираем общую линию */
.timeline::before{ display: none; }

/* вертикальная линия у каждой пары точек */
.tl-item{
  position: relative;
  padding: 22px 0 28px;
}
.tl-item::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e8eb;
  transform: translateX(-1px);
  z-index: 0;
}

/* первая и последняя — линия не торчит наружу */
.tl-item:first-child::before{ top: 15%; }
.tl-item:last-child::before{ bottom: 90%; }

/* точка */
.tl-dot{
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(46,125,50,.12);
  z-index: 1;
}

/* карточки */
.tl-body{ max-width: 420px; }
.tl-body h3{ margin:.15em 0 .35em; font-size:18px; font-weight:800; }
.tl-body p{ margin:0; color:var(--muted); line-height:1.55; }

/* чередование */
.tl-item:nth-child(odd)  .tl-body{ margin-right: calc(50% + 28px); text-align: right; }
.tl-item:nth-child(even) .tl-body{ margin-left:  calc(50% + 28px); text-align: left; }

/* адаптив */
@media (max-width:900px){
  .timeline{ max-width: 720px; }
  .tl-item::before{ left: 22px; transform:none; }
  .tl-dot{ left: 22px; transform:translate(-50%,-50%); }
  .tl-item{ padding-left:56px; }
  .tl-body{ margin:0 !important; max-width:100%; text-align:left !important; }
}



/* === О компании === */
.about-split{ display:grid; grid-template-columns:1.05fr .95fr; gap:28px; align-items:center; }
.about-photo{ border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.about-photo img{ width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3; }
.about-card{
  background:#fff; border:1px solid #cfe4d2; border-radius:12px; box-shadow:var(--shadow);
  padding:22px;
}
.about-list{ margin:10px 0 18px 18px; color:var(--muted); }
@media (max-width:900px){ .about-split{ grid-template-columns:1fr; } }

/* якоря — как и раньше */
html{ scroll-behavior:smooth; }
.section[id]{ scroll-margin-top: 80px; }



.ts-card figcaption {
  display:flex;
  align-items:center;
  gap:10px;
}

.ts-card figcaption img {
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
}

.ts-name {
  font-weight:700;
  color: var(--muted);   /* серый */
}

.ts-meta {
  font-size:12px;
  color: var(--muted);
}


.section--light{background:var(--bg)}
.section--light h2 {
  font-size: 32px;    
  line-height: 1.2;
  margin-bottom: 20px;
}


.svc-bullet {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#3aa74b,#2e7d32);
  flex: 0 0 42px;
}

.svc-bullet svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}


.about-card {
  background:#fff;
  border:3px solid var(--green); /* толще рамка */
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:center; /* чтобы текст был по центру по высоте */
  height:100%; /* равняем по высоте фото */
}

.about-split {
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:stretch; /* делаем одинаковую высоту */
}

.about-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
}


.svc-bullet img{ width:24px; height:24px; object-fit:contain; display:block; }

/* ==== Callback form: make placeholders visible ==== */
.section.section--light .form input[type="text"],
.section.section--light .form input[type="tel"],
.section.section--light .form textarea {
  color: #111;             /* цвет вводимого текста */
  background: #fff;        /* фон поля */
}

/* Плейсхолдеры (все движки) */
.section.section--light .form input::placeholder,
.section.section--light .form textarea::placeholder {
  color: #7a8894;          /* видимый серый */
  opacity: 1;              /* Safari/Firefox: не делай прозрачным */
}
.section.section--light .form input::-webkit-input-placeholder,
.section.section--light .form textarea::-webkit-input-placeholder { color:#7a8894; opacity:1; }
.section.section--light .form input::-moz-placeholder,
.section.section--light .form textarea::-moz-placeholder { color:#7a8894; opacity:1; }
.section.section--light .form input:-ms-input-placeholder,
.section.section--light .form textarea:-ms-input-placeholder { color:#7a8894; opacity:1; }
.section.section--light .form input::-ms-input-placeholder,
.section.section--light .form textarea::-ms-input-placeholder { color:#7a8894; opacity:1; }

/* На всякий случай — сброс, если где-то был transparent */
.section.section--light .form input,
.section.section--light .form textarea {
  -webkit-text-fill-color: currentColor; /* iOS Safari */
}

.form{max-width:720px}
.form label{display:block;font-weight:600;margin:14px 0 6px}
.form input,.form textarea{
  width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:8px;background:#fff
}
.form textarea{min-height:120px;resize:vertical}





@media (max-width: 768px) {
  .about-split {
    flex-direction: column;
  }
  .about-photo,
  .about-card {
    flex: none;
    height: auto;
  }
  .about-photo img {
    height: auto;
  }
}



/* === О компании: десктоп — равная высота === */
.about-split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:stretch; /* растягиваем обе колонки одинаково */
}
.about-photo{
  border-radius:12px; overflow:hidden; box-shadow:var(--shadow);
  display:flex;              /* чтобы img мог занять всю высоту */
}
.about-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
}

/* === О компании: мобильная — фото под текстом === */
@media (max-width: 900px){
  .about-split{
    display:flex;           /* переходим с grid на flex */
    flex-direction:column;  /* один столбец */
    gap:16px;
  }
  .about-card{ order:1; }   /* текст первым */
  .about-photo{ order:2; }  /* фото вторым */

  .about-photo,
  .about-card{ height:auto; }
  .about-photo img{ height:auto; object-fit:cover; }
}




/* ==== READABILITY FORCE OVERRIDES =================================== */
/* 1) База */
.site-main { font-size: 18px !important; line-height: 1.7 !important; color:#1f2937 !important; }
.site-main p { margin: 0 0 1em !important; font-size: 18px !important; }
.site-main li { font-size: 18px !important; line-height: 1.7 !important; }
.site-main .lead, 
.site-main .lead-muted { font-size: 19px !important; line-height: 1.7 !important; }

/* 2) Заголовки (мягкая иерархия) */
.site-main h1 { font-size: 46px !important; line-height: 1.15 !important; margin: 0 0 16px !important; }
.site-main h2 { font-size: 36px !important; line-height: 1.2  !important; margin: 0 0 28px !important; }
.site-main h3 { font-size: 22px !important; line-height: 1.25 !important; margin: 12px 0 12px !important; }

/* 3) Контейнер и секции — больше «воздуха» и комфортная ширина */
:root { --container: 1240px; } /* шире, но без «простыни» */
.site-main .section { padding: 88px 0 !important; }
.site-main .section.section--light { padding: 96px 0 !important; }

/* 4) HERO */
.site-main .hero__card { padding: 40px !important; }
.site-main .hero p.lead { font-size: 19px !important; }

/* 5) Услуги */
.site-main .svc-list { gap: 26px !important; margin-top: 28px !important; }
.site-main .svc-item { padding: 24px !important; gap: 18px !important; }
.site-main .svc-item__body h3 { font-size: 20px !important; margin: .2em 0 .5em !important; }
.site-main .svc-item__body p  { font-size: 17px !important; }

/* 6) Преимущества */
.site-main .benefits { gap: 28px !important; margin-top: 22px !important; }
.site-main .benefit  { padding: 26px !important; }
.site-main .benefit__num { font-size: 30px !important; }

/* 7) Стоимость */
.site-main .price-card { padding: 28px !important; max-width: 860px !important; }
.site-main .price-card__title { font-size: 22px !important; }
.site-main .price-card__price { font-size: 30px !important; color:#2e7d32 !important; }
.site-main .price-card__list { margin: 16px 0 22px 22px !important; font-size: 17px !important; line-height: 1.65 !important; }
.site-main .price-note { font-size: 15.5px !important; color:#6b7280 !important; }

/* 8) Отзывы */
.site-main .ts-card { padding: 26px !important; max-width: 640px !important; }
.site-main .ts-card blockquote { font-size: 18px !important; line-height: 1.65 !important; }

/* 9) Этапы регистрации */
.site-main .timeline { margin-top: 36px !important; }

.site-main .tl-body h3 { font-size: 20px !important; }
.site-main .tl-body p  { font-size: 17px !important; line-height: 1.65 !important; }

/* 10) О компании */
.site-main .about-card { padding: 28px !important; }
.site-main .about-card h3 { font-size: 22px !important; }
.site-main .about-list { font-size: 17px !important; line-height: 1.65 !important; }

/* 11) Контакты */
.site-main .contacts { gap: 40px !important; }
.site-main .contacts__item { font-size: 18px !important; }
.site-main .contacts__address { font-size: 16.5px !important; line-height: 1.75 !important; }

/* 12) Форма обратного звонка */
.site-main .form { max-width: 780px !important; }
.site-main .form h3 { font-size: 34px !important; margin-bottom: 22px !important; }
.site-main .form label { font-size: 15.5px !important; }
.site-main .form input,
.site-main .form textarea { font-size: 16.5px !important; padding: 13px 15px !important; }
.site-main .btn { padding: 16px 28px !important; font-size: 16.5px !important; }

/* — Мобильные подстройки — */
@media (max-width: 900px){
  .site-main { font-size: 17px !important; line-height: 1.7 !important; }
  .site-main h1 { font-size: 34px !important; }
  .site-main h2 { font-size: 28px !important; margin-bottom: 20px !important; }
  .site-main h3 { font-size: 20px !important; }
  .site-main .section { padding: 52px 0 !important; }
  .site-main .section.section--light { padding: 56px 0 !important; }
  .site-main .hero__card { padding: 24px !important; }
  .site-main .hero p.lead { font-size: 17px !important; }
  .site-main .price-card { padding: 22px !important; }
  .site-main .ts-card { padding: 22px !important; max-width: 88vw !important; }
}






/* клавиатурный фокус — аккуратная рамка */
.svc-item:focus-within,
.benefit:focus-within,
.price-card:focus-within,
.ts-card:focus-within {
  outline: 2px solid rgba(46,125,50,.25);
  outline-offset: 2px;
  border-radius: 12px;
}

/* ==== Scroll-reveal базовые классы ==== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;

}

/* слегка задержим элементы сеток для «каскада» */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay:.10s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay:.15s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay:.20s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay:.25s; }

/* уважение prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ==== Единое поведение карточек как в примере (.service) ==== */
.svc-item,
.benefit,
.price-card {
  transform: translateY(0);
  transition: transform .30s ease, box-shadow .30s ease;
  will-change: transform;
}

/* hover/focus: лёгкий подъём и более глубокая тень */
.svc-item:hover,
.svc-item:focus-within,
.benefit:hover,
.benefit:focus-within,
.price-card:hover,
.price-card:focus-within{
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

/* чуть снизим «прыжок» на тач-экранах, чтобы не дёргалось */
@media (hover: none) {
  .svc-item:hover,
  .benefit:hover,
  .price-card:hover,
  .ts-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
}

/* (опционально) если хочешь вообще убрать анимации для тех, кто отключил их в ОС */
@media (prefers-reduced-motion: reduce) {
  .svc-item,
  .benefit,
  .price-card,
  .ts-card {
    transition: box-shadow .01s linear; /* без перемещения */
  }
}








/* === 1. Фиксированный хедер === */
.headerbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow);
  
}

/* чтобы контент не залезал под хедер */
body {
  padding-top: 30px; /* примерно высота хедера */
}

/* === 2. Десктоп: текст крупнее, логотип меньше === */
.headerbar__brand img {
  width: 90px; /* было 120px */
}
.headerbar__brand > div > div:first-child {
  font-size: 20px; /* название компании */
}
.headerbar__meta {
  font-size: 14px;
}
.headerbar__contacts {
  font-size: 18px;
}

/* === 3. Мобильная версия === */
@media (max-width: 600px) {

  .headerbar__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* убираем логотип */
  .headerbar__brand img {
    display: none;
  }

  /* бренд и слоган меньше */
  .headerbar__brand > div > div:first-child {
    font-size: 16px;
  }
  .headerbar__meta {
    font-size: 11px;
  }

  /* контакты — упрощаем */
  .headerbar__contacts {
    flex-direction: row;
    gap: 12px;
    font-size: 14px;
  }

  /* кнопка справа */
  .headerbar__contacts .btn {
    padding: 10px 10px;
    font-size: 9px;
    margin-left: auto;
  }

}





/* --- СТОИМОСТЬ --- */
#pricing {
  text-align: center;
  padding: 80px 0;
  background: #fff;
}

#pricing h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 28px;
}

#pricing p.pricing-clean__lead {
  font-size:  26px ;
  line-height: 1.7;
  color: #333;


}

#pricing .btn {
  display: inline-block;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 8px;
  background: linear-gradient(#3aa74b, #2e7d32);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#pricing .btn:hover {
  background: linear-gradient(#379b47, #276828);
}

/* адаптив под телефоны */
@media (max-width: 600px) {
  #pricing {
    padding: 50px 0;
  }
  #pricing h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  #pricing p.price-note {
    font-size: 16px !important;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  #pricing .btn {
    font-size: 16px;
    padding: 12px 22px;
  }
}


/* Desktop */
#pricing p.pricing-clean__lead {
  font-size: 26px !important;
  line-height: 1.7;
  color: #333;
}

/* Mobile override */
@media (max-width: 600px) {
  #pricing p.pricing-clean__lead {
    font-size: 18px !important;
    line-height: 1.6;
  }
}



@media (max-width: 600px) {

body {padding: top 40px;}

}

@media (max-width: 900px) {
    .site-main .section {
        padding: 25px, 0;
    }}
.footerbar .container {
  text-align: center;
}

/* Всегда круглая точка */
.ts-dots button{
  width: 10px;
  height: 10px;              /* одинаковые W/H */
  aspect-ratio: 1 / 1;       /* подстраховка для Safari */
  border-radius: 50%;
  border: 0;
  display: inline-block;
  padding: 0;
  background: #cfd3d6;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  line-height: 0;
}
.ts-dots button.is-active{ background: var(--green); }

/* Улучшаем свайп: разрешаем вертикальный скролл страницы */
.ts-track{ touch-action: pan-y; cursor: grab; }

/* Мобилка: стрелки прячем */
@media (max-width: 900px){
  .ts-nav{ display: none !important; }
  
}




/* --- мобильная версия: фото первым --- */
@media (max-width: 900px) {
  .about-split {
    flex-direction: column;
  }
  .about-split {
    display: flex;
  flex-wrap: wrap;

}

.about-photo,
.about-card {
  flex: 1 1 50%;
}
  .about-photo { order: -1; } /* поднимаем фото выше текста */
  .about-card { order: 0; }

.hero__content {

    margin-top: -40px;

}
}



/* ====== header ====== */
.headerbar{
  padding:12px 0;
  background:#fff;
  box-shadow:var(--shadow);
}
.headerbar__row{
  display:flex;
  align-items:center;
  gap:16px;
}
.headerbar__brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-right:auto; /* уводим контакты вправо */
  color:inherit;
}
.headerbar__brand img{
  width:120px;
  height:auto;
  display:block;
}
.headerbar__meta{
  font-size:12px;
  color:var(--muted);
}
.headerbar__contacts{
  display:flex;
  align-items:center;
  gap:20px;
  font-weight:600;
}

/* mobile */
@media (max-width:600px){
  .headerbar__row{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .headerbar__brand img{ width:100px; }
  .headerbar__contacts{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    font-size:14px;
  }
  .headerbar__meta{ font-size:11px; }
}



/* === 1. Фиксированный хедер === */
.headerbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow);
  
}



/* === 2. Десктоп: текст крупнее, логотип меньше === */
.headerbar__brand img {
  width: 90px; /* было 120px */
}
.headerbar__brand > div > div:first-child {
  font-size: 20px; /* название компании */
}
.headerbar__meta {
  font-size: 14px;
}
.headerbar__contacts {
  font-size: 18px;
}

/* === 3. Мобильная версия === */
@media (max-width: 600px) {

  .headerbar__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* убираем логотип */
  .headerbar__brand img {
    display: none;
  }

  /* бренд и слоган меньше */
  .headerbar__brand > div > div:first-child {
    font-size: 16px;
  }
  .headerbar__meta {
    font-size: 11px;
  }

  /* контакты — упрощаем */
  .headerbar__contacts {
    flex-direction: row;
    gap: 12px;
    font-size: 14px;
  }

  /* кнопка справа */
  .headerbar__contacts .btn {
    padding: 10px 10px;
    font-size: 9px;
    margin-left: auto;
  }

}

/* === Mobile header: shrink instead of overflow === */

/* базовое мобильное состояние */
@media (max-width: 600px) {
  .headerbar__row{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;        /* всё в одну линию */
  }

  /* не позволяем элементам ужиматься до нуля */
  .headerbar__brand,
  .headerbar__contacts,
  .headerbar__contacts .btn {
    flex-shrink: 0;
  }

  /* логотип прячем, чтобы не «съедал» ширину */
  .headerbar__brand img { display:none; }

  /* названия/слоганы в одну строку */
  .headerbar__brand > div > div:first-child,
  .headerbar__meta,
  .headerbar__contacts a {
    white-space: nowrap;
  }

  /* размеры по умолчанию для мобилок */
  .headerbar__brand > div > div:first-child { font-size: 16px; }
  .headerbar__meta { font-size: 11px; }
  .headerbar__contacts { font-size: 14px; gap: 12px; }
  .headerbar__contacts .btn { font-size: 12px; padding: 8px 12px; }
}

/* уже — ещё уменьшить */
@media (max-width: 480px) {
  .headerbar__brand > div > div:first-child { font-size: 14px; }
  .headerbar__meta { font-size: 10px; }
  .headerbar__contacts {  gap: 10px; }
  .headerbar__contacts .btn { font-size: 11px; padding: 7px 10px; }
}

/* совсем узко — прячем подпись и ещё сжимаем */
@media (max-width: 380px) {
  .headerbar__meta { display: none; }                  /* освобождаем место */
  .headerbar__brand > div > div:first-child { font-size: 13px; }
  .headerbar__contacts { font-size: 12px; gap: 8px; }
  .headerbar__contacts .btn { font-size: 10px; padding: 6px 8px; }
}
  /* контакты — справа, нормальный зазор перед телефоном */
  .headerbar__contacts{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

.headerbar__contacts .btn {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;       /* убираем расхождения */
  text-transform: none;    /* если вдруг где-то прописано uppercase */
}
.card-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-map iframe {
  width: 100%;
  height: 400px;   /* совпадает с URL-параметром */
  border: 0;
  display: block;
}
@media (max-width: 600px){
  .card-map iframe { height: 320px; } /* при желании меньше на мобилке */
}
