/* ==========================
   Ritual services landing — Pleschenitsy
   Build: 2026-01
   ========================== */

:root{
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #141821;
  --muted: #616b7a;
  --border: rgba(20,24,33,.10);
  --shadow: 0 10px 30px rgba(20,24,33,.10);

  --accent: #0e47a1; /* спокойный синий */
  --accent-2: #e6be3f; /* тёплый золото */

  --call: #2F6F48; /* притушённый зелёный для «Позвонить» */
  --viber: #6B5A8A; /* мягкий фиолетовый для Viber */
  --danger: #b91c1c;

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

.muted{ color: var(--muted); font-size: 13.5px; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; }
img{ max-width: 100%; height: auto; display: block; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skiplink{
  position:absolute;
  left:-999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 1000;
}
.skiplink:focus{ left: 16px; top: 16px; }

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246,247,249,.78);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}
.brand__logo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(14,71,161,.18);
  flex: 0 0 auto;
}
.brand__text{ display:flex; flex-direction:column; gap:2px; }
.brand__name{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}
.brand__meta{
  font-size: 12px;
  color: var(--muted);
}

.header__contacts{
  display:flex;
  align-items:center;
  gap: 12px;
}
.phone{
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  background: rgba(255,255,255,.6);
}
.badge__dot{
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background .08s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--call);
  color: #fff;
  box-shadow: 0 12px 26px rgba(47,111,72,.22);
}
.btn--primary:hover{ box-shadow: 0 16px 34px rgba(47,111,72,.28); }

.btn--ghost{
  background: rgba(255,255,255,.85);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover{ background: #fff; }

.btn--viber{
  background: var(--viber);
  color: #fff;
  box-shadow: 0 12px 26px rgba(107,90,138,.20);
}

.btn--wide{ width: 100%; }

.section{
  padding: 52px 0;
}

.section__title{
  font-size: 28px;
  margin: 0 0 12px;
  letter-spacing: -.2px;
}
.section__lead{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 75ch;
}

.hero{
  position: relative;
  padding: 22px 0 34px;
}
.hero__wrap{
  position: relative;
  border-radius: clamp(18px, 3vw, 26px);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: #0b1220;
}
.hero__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.60) 54%, rgba(11,18,32,.28) 100%);
}
.hero__grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  padding: clamp(22px, 4vw, 44px);
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #fff;
}
.hero__sub{
  margin: 0 0 18px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  max-width: 60ch;
}

.hero__trust{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}
.trust{
  display:flex;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  font-size: 13px;
}
.trust svg{ flex: 0 0 auto; margin-top: 2px; opacity: .92; }

.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__note{
  margin-top: 14px;
  color: rgba(255,255,255,.70);
  font-size: 12.5px;
}

.hero__card{
  align-self: start;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.hero__card h2{
  margin: 0 0 6px;
  font-size: 16px;
}
.hero__card p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.hero__card .btn{ width: 100%; }
.hero__card .stack{ display:grid; gap: 10px; }

.pills{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pill{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
  padding: 18px;
}
.card--tight{ padding: 14px; }

.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.step__num{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: rgba(14,71,161,.10);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 8px; font-size: 16px; }
.step p{ margin: 0; color: var(--muted); font-size: 13.5px; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  padding: 8px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.kicker svg{ opacity:.85; }

.tabs{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.tab{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.70);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
}
.tab[aria-selected="true"]{
  background: var(--accent);
  border-color: rgba(14,71,161,.25);
  color: #fff;
}
.tabpanels{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.panel{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
}
.panel__text h3{ margin:0 0 8px; font-size: 18px; }
.panel__text ul{ margin:0 0 14px; padding-left: 18px; color: var(--muted); }
.panel__text li{ margin: 6px 0; }
.panel__media{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--border);
}
.panel__media img{ width:100%; height: 260px; object-fit: cover; }

.switch{
  display:inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
}
.switch button{
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 900;
  color: var(--muted);
  font-size: 13px;
}
.switch button[aria-pressed="true"]{
  background: var(--accent);
  color: #fff;
}

.package-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.package{
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.package__name{
  font-weight: 900;
  font-size: 18px;
  margin: 0;
}
.package__list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
}
.package__note{
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.package__cta{
  display:grid;
  gap: 10px;
  margin-top: auto;
}

.icon-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.icon-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
}
.icon-card h3{ margin: 10px 0 6px; font-size: 16px; }
.icon-card p{ margin:0; color: var(--muted); font-size: 13.5px; }
.icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(14,71,161,.10);
  color: var(--accent);
}

.accordion{
  display:grid;
  gap: 12px;
  margin-top: 16px;
}
details{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
}
summary{
  list-style: none;
  cursor: pointer;
  font-weight: 900;
}
summary::-webkit-details-marker{ display:none; }
details p, details ul{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
details ul{ padding-left: 18px; }
details p + p{ margin-top: 8px; }

.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.review__name{
  font-weight: 900;
  font-size: 14px;
}
.review__text{
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}
.review__meta{
  margin-top: auto;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.contact{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.contact__big{
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -.3px;
  font-weight: 900;
  margin: 0 0 12px;
}
.contact__row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13.5px;
}
.contact__row b{ color: var(--text); }
.contact__cta{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}

.footer{
  padding: 28px 0 90px;
  color: var(--muted);
  font-size: 12.5px;
}
.footer__grid{
  display:flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.footer a{ color: var(--muted); text-decoration: none; }
.footer a:hover{ color: var(--text); text-decoration: underline; }

.mobilebar{
  display:none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(246,247,249,.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 60;
}
.mobilebar__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.notice{
  border-radius: 14px;
  background: rgba(14,71,161,.08);
  border: 1px solid rgba(14,71,161,.16);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.hr{
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

/* Catalog */
.catalog-top{
  padding: 30px 0 10px;
}
.filters{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-top: 14px;
}
.select{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--text);
}
.catalog-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product{
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(20,24,33,.06);
  overflow:hidden;
  display:flex;
  flex-direction: column;
}
.product__img{
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
}
.product__body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.product__name{
  font-weight: 900;
  font-size: 14px;
  margin: 0;
}
.product__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.product__price{ margin-top: 8px; font-size: 14px; color: var(--muted); }
.product__price strong{ color: var(--text); font-weight: 650; }
.tag{
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
}
.product__cta{ margin-top: auto; }
.product__cta .btn{ width: 100%; }

/* Responsive */
@media (max-width: 1024px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__overlay{ background: linear-gradient(180deg, rgba(11,18,32,.82) 0%, rgba(11,18,32,.62) 55%, rgba(11,18,32,.35) 100%); }
  .grid-3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .package-grid{ grid-template-columns: 1fr; }
  .icon-grid{ grid-template-columns: 1fr 1fr; }
  .reviews{ grid-template-columns: 1fr; }
  .panel{ grid-template-columns: 1fr; }
  .panel__media img{ height: 220px; }
  .contact__grid{ grid-template-columns: 1fr; }
  .catalog-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .header__contacts .badge{ display:none; }
  .mobilebar{ display:block; }
  .hero__trust{ grid-template-columns: 1fr; }
  .icon-grid{ grid-template-columns: 1fr; }
  .catalog-grid{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
}

/* Pleschenitsy adaptive site menu */
main [hidden]{
  display:none!important;
}
.brand--link{
  color:inherit;
  text-decoration:none;
}
.header{
  padding:10px 0;
  background:rgba(246,247,249,.88);
}
.header__inner{
  display:grid;
  grid-template-columns:minmax(220px,auto) minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 30px rgba(20,24,33,.08);
}
.brand{
  min-width:220px;
}
.brand--link .brand__name,
.brand--link .brand__meta{
  text-decoration:none;
}
.site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
}
.site-nav a,
.nav-dropdown__toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 11px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1.15;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.site-nav a:hover,
.nav-dropdown__toggle:hover,
.nav-dropdown:focus-within .nav-dropdown__toggle{
  background:rgba(14,71,161,.08);
  color:var(--accent);
}
.nav-dropdown{
  position:relative;
}
.nav-dropdown__toggle::after{
  content:"";
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.nav-dropdown__menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  display:none;
  min-width:250px;
  padding:8px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 42px rgba(20,24,33,.16);
  z-index:80;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu{
  display:grid;
  gap:4px;
}
.nav-dropdown__menu a{
  justify-content:flex-start;
  min-height:36px;
  padding:0 10px;
}
.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  color:var(--text);
  cursor:pointer;
}
.menu-toggle span{
  width:19px;
  height:2px;
  border-radius:99px;
  background:currentColor;
  transition:transform .18s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media (max-width:1400px){
  .header__contacts .badge{display:none;}
  .site-nav a,
  .nav-dropdown__toggle{padding-inline:9px;font-size:13px;}
}
@media (max-width:1400px){
  .header__inner{
    grid-template-columns:1fr auto;
    gap:10px;
  }
  .brand{
    min-width:0;
  }
  .menu-toggle{
    display:inline-flex;
  }
  .site-nav{
    grid-column:1 / -1;
    order:3;
    display:none;
    width:100%;
    padding:8px;
    border:1px solid var(--border);
    border-radius:14px;
    background:rgba(255,255,255,.86);
    grid-template-columns:1fr;
    gap:4px;
  }
  .site-nav.is-open{
    display:grid;
  }
  .site-nav a,
  .nav-dropdown__toggle{
    justify-content:flex-start;
    width:100%;
    min-height:42px;
    padding:0 12px;
    border-radius:10px;
    background:#fff;
    font-size:14px;
  }
  .nav-dropdown__menu{
    position:static;
    min-width:0;
    margin-top:4px;
    padding:4px;
    border-radius:12px;
    background:rgba(246,247,249,.92);
    box-shadow:none;
  }
  .nav-dropdown:not(.is-open):not(:focus-within) .nav-dropdown__menu{display:none;}
  .nav-dropdown:hover .nav-dropdown__menu{display:none;}
  .nav-dropdown.is-open .nav-dropdown__menu{display:grid;}
  .header__contacts{
    grid-column:1 / -1;
    order:4;
    width:100%;
    justify-content:space-between;
    gap:8px;
    padding-top:8px;
    border-top:1px solid var(--border);
  }
}
@media (max-width:520px){
  .header__contacts .badge{display:none;}
  .brand__name{font-size:13px;}
  .brand__meta{font-size:11px;}
  .header__contacts .phone{font-size:14px;}
  .header__contacts .btn{padding:10px 12px;}
}

/* ── Header overlap fix (2026-06-06) ──────────────────────────────
   The 5-link horizontal nav + brand + contacts exceeded the 1120px
   container, so nav links overflowed and overlapped the contacts block
   on every desktop width >1400px. Trim the footprint so it fits. */
.header__contacts .badge{ display:none; } /* redundant: brand meta already says «Круглосуточно • 24/7» */
@media (min-width:1401px){
  .header__inner{ gap:8px; }
  .brand{ min-width:0; }
  .site-nav{ gap:2px; }
  .site-nav a,
  .nav-dropdown__toggle{ padding:0 6px; font-size:13px; }
  .header__contacts{ gap:10px; }
}
/* ──────────────────────────────────────────────────────────────── */

/* ── UX & design enhancements (2026-06-06) ───────────────────────── */

/* Smooth in-page scrolling with offset for the sticky header */
html{ scroll-behavior:smooth; scroll-padding-top:96px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

/* Gentle alternating section bands — easier to scan a long page */
main > section.section:nth-of-type(even){ background:#edf0f5; }

/* Card hover lift (desktop pointers only) — real cards are .icon-card__item */
@media (hover:hover) and (pointer:fine){
  .icon-card__item,.hero__card,.step{ transition:transform .25s ease, box-shadow .25s ease; }
  .icon-card__item:hover,.hero__card:hover,.step:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(20,24,33,.10);
  }
}

/* FAQ accordion polish — native <details>, CSS only (chevron + content fade) */
.accordion summary{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.accordion summary::after{
  content:""; flex:0 0 auto; width:9px; height:9px; margin-top:5px;
  border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
  transform:rotate(45deg); transition:transform .25s ease;
}
.accordion details[open] summary::after{ transform:rotate(-135deg); }
@media (prefers-reduced-motion:no-preference){
  .accordion details[open] > :not(summary){ animation:accReveal .28s ease both; }
}
@keyframes accReveal{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;} }

/* Callback (request-a-call) card */
.callback{
  margin-top:20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:center;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.callback__text h3{ margin:0 0 6px; font-size:20px; }
.callback__text p{ margin:0; color:var(--muted); }
.callback__form{ display:grid; gap:12px; }
.callback__field{ display:grid; gap:6px; font-size:14px; font-weight:700; }
.callback__field input{
  height:48px; padding:0 14px; font-size:16px; color:var(--text);
  border:1px solid var(--border); border-radius:var(--radius-sm); background:#fff;
}
.callback__field input:focus-visible{ outline:2px solid var(--accent); outline-offset:1px; }
.callback__req{ color:var(--danger); }
.callback__check{ display:flex; gap:8px; align-items:flex-start; font-size:13px; font-weight:400; color:var(--muted); }
.callback__check input{ margin-top:3px; flex:0 0 auto; }
.callback__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.callback__note{ margin:2px 0 0; font-size:13.5px; color:var(--muted); min-height:1.2em; }
.callback__note.is-error{ color:var(--danger); }
.callback__note.is-ok{ color:var(--call); }
@media (max-width:760px){ .callback{ grid-template-columns:1fr; gap:16px; padding:18px; } }
/* ─────────────────────────────────────────────────────────────────── */

/* ── Homepage catalog (Cherven-style), scoped to #catalog to avoid ──────
   clashing with the faceted catalog on kupit-grob.html (it reuses .filters). */
.btn--sm{ padding:9px 12px; font-size:13px; }
#catalog .section__head{ max-width:820px; margin-bottom:14px; }
#catalog .filters{ display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
#catalog .filter{
  border:1px solid var(--border); background:#fff;
  padding:9px 14px; border-radius:999px; cursor:pointer;
  font-weight:700; font-size:14px; color:var(--muted);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
#catalog .filter:hover{ color:var(--text); }
#catalog .filter.is-active{ background:rgba(14,71,161,.10); border-color:rgba(14,71,161,.22); color:var(--accent); }
#catalog .products{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
#catalog .product-card{
  display:flex; flex-direction:column; min-height:100%;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  box-shadow:0 10px 22px rgba(20,24,33,.06);
}
#catalog .product-media{ position:relative; background:#fff; border-bottom:1px solid var(--border); user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
#catalog .product-media img{ width:100%; height:200px; object-fit:contain; background:#fff; padding:10px; pointer-events:none; -webkit-user-drag:none; }
#catalog .product-tag{ position:absolute; left:10px; top:10px; font-size:12px; font-weight:800; padding:5px 10px; border-radius:999px; background:rgba(255,255,255,.85); border:1px solid var(--border); color:var(--muted); }
#catalog .product-body{ padding:14px; display:flex; flex-direction:column; gap:8px; flex:1; }
#catalog .product-title{ margin:0; font-size:15px; line-height:1.3; }
#catalog .product-price{ font-weight:900; color:var(--accent); font-size:16px; }
#catalog .product-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }
#catalog .cta-card{ margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; border-radius:var(--radius); border:1px solid var(--border); background:var(--surface); box-shadow:var(--shadow); }
#catalog .cta-card__title{ margin:0 0 4px; font-size:18px; }
#catalog .cta-card__actions{ display:flex; gap:10px; flex-wrap:wrap; }
#catalog .fineprint{ margin:14px 0 0; color:var(--muted); font-size:13px; }
@media (max-width:1024px){ #catalog .products{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ #catalog .products{ grid-template-columns:repeat(2,1fr); } #catalog .cta-card{ flex-direction:column; align-items:stretch; } }
@media (max-width:380px){ #catalog .products{ grid-template-columns:1fr; } }
/* ─────────────────────────────────────────────────────────────────── */
