/* Consumer reviews and buyer guides — how we test products
   палитра: графит-лайм | стиль: умеренный | код: утилитарный
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #14161a;
  --color-text: #f2f4f2;
  --color-muted: #98a09a;
  --color-accent: #b6e03a;
  --color-surface: #1e2228;
  --color-on-accent: #14161a;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 2px 8px rgb(0 0 0 / .06);
  --container: 72rem;
}


/* кнопки */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.s-btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.s-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.s-btn--ghost { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.s-btn--ghost:hover { background: var(--color-accent); color: var(--color-on-accent); }

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); margin: 0 0 1.1em; max-width: 68ch; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.s-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  overflow-x: hidden;
}

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section:nth-of-type(even) { background: var(--color-surface); }

.s-section__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .6rem;
}

/* формы */
.s-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.s-form input, .s-form textarea {
  width: 100%; padding: .8rem 1rem; margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit;
}
.s-form input:focus, .s-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.s-form [aria-invalid="true"] { border-color: #c62828; }
.s-form__error { color: #c62828; font-size: .85rem; margin: -.7rem 0 .9rem; }
.s-form__ok { background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-radius: var(--radius); padding: 1rem; font-weight: 600; }
.s-form__consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.s-form__consent input { width: auto; margin: .25rem 0 0; }

/* шапка */
.s-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--color-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent);
}
.s-header--transparent { background: transparent; border-bottom-color: transparent; }
.s-header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.s-header__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.s-nav__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.s-nav__link { display: block; padding: .5rem .9rem; border-radius: var(--radius);
  color: var(--color-text); text-decoration: none; font-weight: 500;
  transition: background .2s ease, color .2s ease; }
.s-nav__link:hover { background: var(--color-surface); }
.s-nav__link.has-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.s-nav--split { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.s-header__burger { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.s-header__burger span { width: 22px; height: 2px; background: var(--color-text); }

/* футер */
.s-footer { background: var(--color-surface); }
.s-footer--contrast { background: var(--color-text); color: var(--color-bg); }
.s-footer--contrast a { color: inherit; }
.s-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem); }
.s-footer__row { display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-block: 1.6rem; font-size: .9rem; }
.s-footer__brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 .4rem; }
.s-footer__tagline { opacity: .75; font-size: .95rem; }
.s-footer__title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; margin-bottom: .9rem; }
.s-footer__address { font-style: normal; line-height: 1.7; }
.s-footer__hours { opacity: .75; font-size: .92rem; margin-top: .7rem; }
.s-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.s-footer__cookie { background: none; border: 0; padding: 0; color: inherit;
  text-decoration: underline; cursor: pointer; font: inherit; }
.s-footer__bottom { display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 1.2rem; font-size: .85rem; opacity: .75;
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); }
.s-footer__bottom p { margin: 0; }

/* плашка cookie */
.s-cookie {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1080;
  background: var(--color-surface);
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  box-shadow: 0 -8px 30px rgb(0 0 0 / .12);
  transform: translateY(100%); transition: transform .35s ease;
}
.s-cookie.has-visible { transform: translateY(0); }
.s-cookie__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.s-cookie__text p { margin: 0; font-size: .92rem; max-width: 70ch; }
.s-cookie__actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.s-cookie__configure { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.s-cookie__options { display: grid; gap: .6rem; margin-top: 1rem; }
.s-cookie__option { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.s-cookie__option span { grid-column: 2; font-weight: 400; opacity: .75; }

/* правовые страницы */
.s-legal { background: var(--color-bg); }
.s-legal__inner { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.s-legal h2 { margin-top: 2.2rem; }
.s-legal h3 { margin-top: 1.4rem; }
.s-legal__updated { color: var(--color-muted); font-size: .9rem; }
.s-legal__table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.s-legal__table th, .s-legal__table td { text-align: left; padding: .7rem .9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); vertical-align: top; }
.s-legal__table th { width: 34%; font-weight: 600; }
.s-legal__back { margin-top: 2.5rem; }
/* анимации: без JS всё видно */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 991px) {
  .s-footer__inner { grid-template-columns: 1fr 1fr; }
  .s-cookie__inner { flex-direction: column; align-items: stretch; }
  .s-cookie__actions { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .s-header__burger { display: flex; }
  .s-header__cta { display: none; }
  .s-nav { display: none; width: 100%; }
  .s-nav.has-open { display: block; }
  .s-nav__list { flex-direction: column; padding-block: .6rem; }
  .s-header__inner { flex-wrap: wrap; }
  .s-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .s-footer__bottom, .s-footer__row { flex-direction: column; }
  .s-cookie__actions .s-btn { flex: 1 1 auto; }
}

/* Секционные раскладки: добавлены поверх неизменного базового слоя. */
.u-flex{display:flex;flex-wrap:wrap;align-items:center}.u-gap-2{gap:1rem}
.s-eyebrow{margin-bottom:.65rem;color:var(--color-accent);font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.s-card,.s-price-card{height:100%;padding:1.9rem;border:1px solid color-mix(in srgb,var(--color-muted) 28%,transparent);border-radius:var(--radius);box-shadow:var(--shadow)}
.s-card{background:color-mix(in srgb,var(--color-surface) 82%,var(--color-bg))}.s-card p:last-child{margin-bottom:0}
.s-about img,.s-media img,.s-story img,.s-principles img,.s-service-detail img,.s-card img,.s-gallery img,.s-wide img{width:100%;border-radius:14px;aspect-ratio:3/2;object-fit:cover}
.s-hero{min-height:80vh;display:flex;align-items:center;background:var(--color-bg);position:relative;isolation:isolate}.s-hero::after{content:"";position:absolute;z-index:-1;right:-12rem;bottom:-14rem;width:34rem;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--color-accent) 30%,transparent);border-radius:50%}.s-hero .s-container{overflow:visible}.s-hero h1{max-width:18ch}.s-hero .s-container>p:not(.s-eyebrow){max-width:58ch}.s-hero--inner{min-height:62vh}
.s-slider .swiper{padding:1.25rem .1rem 3.5rem}.s-slider .swiper-wrapper{align-items:stretch}.s-slider .swiper-slide{height:auto;display:flex;flex-direction:column}.s-slider .swiper-slide img,.s-team .s-card img{margin:-1.9rem -1.9rem 1.4rem;width:calc(100% + 3.8rem);border-radius:14px 14px 0 0}.s-slider .swiper-button-prev,.s-slider .swiper-button-next{color:var(--color-accent)}.s-slider .swiper-pagination-bullet-active{background:var(--color-accent)}
.s-columns h2{max-width:22ch}.s-columns .row{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent)}.s-columns .s-btn{margin-top:1rem}
.s-timeline__list{list-style:none;margin:2rem 0 0;padding:0 0 0 3.8rem;counter-reset:step;position:relative}.s-timeline__list::before{content:"";position:absolute;left:1.25rem;top:.8rem;bottom:1rem;width:1px;background:var(--color-accent)}.s-timeline__list li{counter-increment:step;position:relative;padding:0 0 1.6rem 1rem;max-width:48rem}.s-timeline__list li::before{content:counter(step,decimal-leading-zero);position:absolute;left:-3.8rem;top:-.2rem;display:grid;place-items:center;width:2.5rem;aspect-ratio:1;border-radius:50%;background:var(--color-accent);color:var(--color-on-accent);font-weight:700}
.s-media .row>div:has(img){position:relative}.s-media img{min-height:20rem}.s-media .row>div:has(img)::after{content:"";position:absolute;inset:.75rem -.75rem -.75rem .75rem;z-index:-1;border:1px solid var(--color-accent);border-radius:var(--radius)}
.s-tiles__grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:2rem}.s-tiles .s-card{min-height:13rem}.s-tiles .s-card>span{display:block;margin-bottom:1.4rem;color:var(--color-accent);font:700 2rem/1 var(--font-heading)}
.s-table .table-responsive{margin-top:2rem;border:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent);border-radius:var(--radius)}.s-table .table{margin:0;--bs-table-bg:transparent;--bs-table-color:var(--color-text);--bs-table-border-color:color-mix(in srgb,var(--color-muted) 28%,transparent)}.s-table th,.s-table td{padding:1rem;min-width:9rem;vertical-align:middle}.s-table thead th{background:var(--color-accent);color:var(--color-on-accent)}.s-table tbody th{color:var(--color-accent)}
.s-callouts__row{display:grid;grid-template-columns:1fr;gap:.8rem;padding:1.5rem 0;border-top:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent)}.s-callouts__row:first-of-type{margin-top:2rem}.s-callouts__row aside{color:var(--color-accent);font-size:1.15rem}.s-callouts__row p{margin:0}
.s-cards .row>article,.s-approach .row>article,.s-team .row>article,.s-offer .row>article{display:flex}.s-cards .row,.s-approach .row,.s-team .row,.s-offer .row{margin-top:1.5rem;align-items:stretch}.s-team .s-card{display:flex;flex-direction:column;overflow:hidden}
.accordion{margin-top:2rem;--bs-accordion-bg:transparent;--bs-accordion-color:var(--color-text);--bs-accordion-border-color:color-mix(in srgb,var(--color-muted) 30%,transparent);--bs-accordion-btn-color:var(--color-text);--bs-accordion-btn-bg:transparent;--bs-accordion-active-bg:color-mix(in srgb,var(--color-accent) 12%,transparent);--bs-accordion-active-color:var(--color-accent);--bs-accordion-btn-focus-box-shadow:0 0 0 .2rem color-mix(in srgb,var(--color-accent) 28%,transparent)}.accordion-button{font-family:var(--font-heading);font-size:1.1rem}.accordion-button::after{filter:invert(1)}.accordion-body{color:var(--color-muted)}
.s-wide img{margin:2rem 0 1.5rem;aspect-ratio:16/7}.s-wide .s-container>p:last-child{max-width:58rem}.s-gallery figure{margin-bottom:0}.s-gallery img{aspect-ratio:1}.s-gallery figcaption{padding:.8rem .2rem 0;color:var(--color-muted)}
.s-metrics__grid,.s-proof__grid{display:grid;grid-template-columns:1fr;gap:1px;margin:2rem 0;border:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent);border-radius:var(--radius);overflow:hidden}.s-metrics__grid>div,.s-proof__grid>div{display:flex;flex-direction:column;justify-content:center;min-height:10rem;padding:1.5rem;background:var(--color-bg)}.s-metrics__grid strong,.s-proof__grid strong{color:var(--color-accent);font:700 clamp(2.7rem,6vw,4.5rem)/1 var(--font-heading)}.s-metrics__grid span,.s-proof__grid span{margin-top:.7rem;color:var(--color-muted)}
.s-numbered ol{list-style:none;margin:2rem 0 0;padding:0;counter-reset:decision}.s-numbered li{counter-increment:decision;display:grid;grid-template-columns:3.5rem 1fr;column-gap:1rem;padding:1.5rem 0;border-top:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent)}.s-numbered li::before{content:counter(decision,decimal-leading-zero);grid-row:1/3;color:var(--color-accent);font:700 2rem/1 var(--font-heading)}.s-numbered li>*{grid-column:2}.s-numbered li p{margin-bottom:0}
.s-bento__grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:2rem}.s-bento__featured{background:var(--color-accent);color:var(--color-on-accent)}
.s-price-card{position:relative;display:flex;flex-direction:column;width:100%;background:var(--color-bg)}.s-price-card ul{padding-left:1.25rem;margin-bottom:1.75rem}.s-price-card li+li{margin-top:.45rem}.s-price-card .s-btn{margin-top:auto}.s-price-card__price{color:var(--color-accent);font:700 clamp(2rem,4vw,3rem)/1 var(--font-heading)}.s-price-card__price span{display:block;margin-top:.5rem;color:var(--color-muted);font:600 .82rem/1.2 var(--font-body);text-transform:uppercase;letter-spacing:.08em}.s-price-card--featured{border:2px solid var(--color-accent)}.s-price-card__badge{align-self:flex-start;margin:-3rem 0 1.2rem;padding:.35rem .75rem;border-radius:999px;background:var(--color-accent);color:var(--color-on-accent);font-size:.78rem;font-weight:700;text-transform:uppercase}
.s-contact address{padding:1.25rem;border-left:3px solid var(--color-accent);background:color-mix(in srgb,var(--color-bg) 55%,transparent)}.s-contact iframe,.s-map iframe{border-radius:var(--radius);filter:grayscale(1) contrast(.9)}.s-contact .s-form{padding:1.5rem;border:1px solid color-mix(in srgb,var(--color-muted) 30%,transparent);border-radius:var(--radius);background:var(--color-bg);box-shadow:var(--shadow)}.s-contact .s-form div:has(input[type="checkbox"]){display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:start}.s-contact .s-form input[type="checkbox"]{width:auto;margin-top:.35rem}
.s-cta{text-align:center}.s-cta .s-container{display:flex;flex-direction:column;align-items:center}.s-cta .u-flex{justify-content:center}
@media(min-width:576px){.s-tiles__grid,.s-metrics__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s-bento__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s-proof__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:768px){.s-callouts__row{grid-template-columns:minmax(10rem,1fr) 3fr;gap:2rem}.s-gallery figure{display:flex;flex-direction:column}.s-bento__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.s-bento__featured{grid-column:span 2;grid-row:span 2;min-height:22rem;display:flex;flex-direction:column;justify-content:flex-end}.s-contact .s-form{padding:1.9rem}}
@media(min-width:992px){.s-hero .s-container{padding-block:4rem}.s-tiles__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.s-media .row{--bs-gutter-x:4rem}.s-price-card--featured{transform:translateY(-.75rem)}.s-story img,.s-principles img,.s-service-detail img{min-height:24rem}}
@media(max-width:575px){.u-flex .s-btn{width:100%}.s-slider .swiper-button-prev,.s-slider .swiper-button-next{display:none}.s-timeline__list{padding-left:3.2rem}.s-numbered li{grid-template-columns:2.7rem 1fr}.s-wide img{aspect-ratio:3/2}}
