/* =============================================================
   ESTERA GROUP — ЕДИНЫЕ СТИЛИ САЙТА
   Эстетика: clinical luxury — глубокий графит + тёплое золото,
   серифный дисплейный шрифт + чистый гротеск, много воздуха.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:        #14110f;   /* почти чёрный, тёплый */
  --ink-soft:   #2b2622;
  --paper:      #faf7f2;   /* тёплый кремовый фон */
  --paper-2:    #f1ece3;
  --line:       #e2dace;
  --gold:       #b08d57;   /* приглушённое золото */
  --gold-deep:  #97743f;
  --gold-soft:  #d9c4a3;
  --muted:      #6f665c;
  --white:      #ffffff;
  --green:      #4a6b54;
  --shadow-sm:  0 1px 3px rgba(20,17,15,.06), 0 6px 18px rgba(20,17,15,.05);
  --shadow-md:  0 4px 12px rgba(20,17,15,.08), 0 16px 40px rgba(20,17,15,.08);
  --shadow-lg:  0 12px 28px rgba(20,17,15,.12), 0 30px 70px rgba(20,17,15,.12);
  --r:          14px;
  --r-lg:       22px;
  --maxw:       1240px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
}

/* ---------- subtle grain texture overlay ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

/* =================== HEADER =================== */
.topbar {
  background: var(--ink); color: var(--paper-2);
  font-size: 13px; letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: var(--gold-soft); transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar .promo { color: var(--gold-soft); }

header.site {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,247,242,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
header.site.scrolled { box-shadow: var(--shadow-sm); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.logo { display: flex; align-items: baseline; gap: 3px; font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; letter-spacing: .04em; }
.logo b { color: var(--gold-deep); font-weight: 700; }
.logo span { font-family: 'Manrope'; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); font-weight: 600; align-self: center; margin-left: 6px; }

nav.main { display: flex; align-items: center; gap: 34px; }
nav.main > a { font-size: 14.5px; font-weight: 600; letter-spacing: .01em; position: relative; padding: 6px 0; color: var(--ink-soft); }
nav.main > a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--gold); transition:width .28s var(--ease); }
nav.main > a:hover { color: var(--ink); }
nav.main > a:hover::after { width: 100%; }

.lang { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: var(--muted); letter-spacing: .04em; }
.lang a.active { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Manrope'; font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(176,141,87,.35); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(176,141,87,.45); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: .3s; border-radius: 2px; }

/* =================== HERO =================== */
.hero { position: relative; padding: 92px 0 104px; overflow: hidden; }
.hero::after {
  content:""; position:absolute; top:-30%; right:-12%; width:55%; height:160%;
  background: radial-gradient(closest-side, rgba(176,141,87,.16), transparent 72%);
  z-index:0; pointer-events:none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); margin: 22px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 30em; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .frame {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--paper-2), #e7dccb);
  box-shadow: var(--shadow-lg); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .placeholder { color: var(--gold-deep); text-align: center; padding: 30px; }
.hero-visual .placeholder svg { width: 80px; height: 80px; opacity: .4; margin-bottom: 14px; }
.hero-badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--white);
  border-radius: var(--r); padding: 18px 24px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--line);
}
.hero-badge .num { font-family:'Cormorant Garamond'; font-size: 40px; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.hero-badge .lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }

/* stat strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 36px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { font-family:'Cormorant Garamond'; font-size: 50px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat .n em { color: var(--gold-deep); font-style: normal; }
.stat .t { font-size: 13.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-top: 8px; text-transform: uppercase; }

/* =================== SECTIONS =================== */
section.block { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* =================== PRODUCT GRID =================== */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card .thumb {
  aspect-ratio: 4/3; background: linear-gradient(150deg,var(--paper-2),#e9dfce);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .ph { color: var(--gold-deep); opacity: .35; }
.card .thumb .ph svg { width: 56px; height: 56px; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--ink); color: var(--gold-soft); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.card h3 { font-size: 26px; margin-bottom: 7px; }
.card .desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; flex: 1; line-height: 1.55; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.card .price { font-family:'Cormorant Garamond'; font-size: 26px; font-weight: 700; color: var(--ink); }
.card .price small { font-family:'Manrope'; font-size: 12px; color: var(--muted); font-weight: 600; display:block; }
.card .arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; flex-shrink: 0; }
.card:hover .arrow { background: var(--gold); border-color: var(--gold); color: #fff; }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  transition: .22s; color: var(--ink-soft);
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =================== USP =================== */
.bg-ink { background: var(--ink); color: var(--paper-2); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }
.bg-ink .section-head p { color: var(--gold-soft); }
.usp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; }
.usp { background: var(--ink); padding: 38px 32px; transition: background .3s; }
.usp:hover { background: var(--ink-soft); }
.usp .ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(176,141,87,.16); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 20px; }
.usp .ic svg { width: 26px; height: 26px; }
.usp h3 { font-size: 24px; margin-bottom: 10px; }
.usp p { font-size: 14.5px; color: var(--gold-soft); opacity: .85; line-height: 1.6; }

/* =================== EXPERT / OLENA =================== */
.expert .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.expert-photo { aspect-ratio: 3/4; border-radius: var(--r-lg); background: linear-gradient(150deg,var(--paper-2),#e7dccb); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-photo .ph { color: var(--gold-deep); opacity: .35; text-align: center; }
.expert h2 { font-size: clamp(34px,4vw,52px); margin: 14px 0 8px; }
.expert .role { font-size: 15px; font-weight: 700; color: var(--gold-deep); letter-spacing: .04em; margin-bottom: 22px; }
.expert p { color: var(--ink-soft); margin-bottom: 16px; font-size: 17px; }

/* =================== SERVICE =================== */
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow-sm); }
.service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 26px; }
.service-item { display: flex; gap: 14px; }
.service-item .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px; background: var(--paper-2); color: var(--gold-deep); display: grid; place-items: center; }
.service-item h4 { font-family:'Manrope'; font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.service-item p { font-size: 13.5px; color: var(--muted); }

/* =================== TESTIMONIALS =================== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; }
.review .quote { font-family:'Cormorant Garamond'; font-size: 64px; color: var(--gold-soft); line-height: .5; height: 24px; }
.review p { font-size: 15.5px; color: var(--ink-soft); margin: 8px 0 20px; font-style: italic; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family:'Cormorant Garamond'; font-size: 20px; }
.review .who b { font-size: 14.5px; display: block; }
.review .who small { font-size: 12.5px; color: var(--muted); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }

/* =================== CTA / FORM =================== */
.cta-band { background: linear-gradient(135deg, var(--ink), #221d18); color: var(--paper); border-radius: var(--r-lg); padding: 60px; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-8%; top:-40%; width:45%; height:180%; background: radial-gradient(closest-side,rgba(176,141,87,.22),transparent 70%); }
.cta-band .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--paper); font-size: clamp(30px,3.4vw,44px); margin-bottom: 14px; }
.cta-band p { color: var(--gold-soft); font-size: 17px; }

.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  font-family:'Manrope'; font-size: 15px; padding: 15px 18px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--paper);
  width: 100%; transition: .2s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(250,247,242,.55); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.form textarea { resize: vertical; min-height: 90px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--gold-soft); opacity: .8; }

/* light form variant */
.form-light input, .form-light textarea, .form-light select { background: var(--white); border-color: var(--line); color: var(--ink); }
.form-light input::placeholder, .form-light textarea::placeholder { color: var(--muted); }

/* =================== FOOTER =================== */
footer.site { background: var(--ink); color: var(--gold-soft); padding: 70px 0 30px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer.site .logo { color: var(--paper); margin-bottom: 18px; }
footer.site p { font-size: 14px; opacity: .8; line-height: 1.7; }
footer.site h5 { font-family:'Manrope'; color: var(--paper); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site ul a { font-size: 14px; opacity: .82; transition: .2s; }
footer.site ul a:hover { opacity: 1; color: var(--paper); padding-left: 4px; }
footer.site .contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14.5px; }
footer.site .bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; opacity: .65; flex-wrap: wrap; gap: 12px; }

/* =================== PRODUCT PAGE =================== */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 22px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--gold-deep); }

.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 40px; }
.pd-gallery .main { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(150deg,var(--paper-2),#e9dfce); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .main .ph { color: var(--gold-deep); opacity: .35; }
.pd-gallery .thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 12px; }
.pd-gallery .thumbs .t { aspect-ratio: 1; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); cursor: pointer; overflow: hidden; }

.pd-info .cat-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.pd-info h1 { font-size: clamp(38px,4.4vw,58px); margin: 10px 0 14px; }
.pd-info .tagline { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.pd-price-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.pd-price-box .price { font-family:'Cormorant Garamond'; font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1; }
.pd-price-box .price small { font-family:'Manrope'; font-size: 13px; color: var(--muted); font-weight: 600; }
.pd-price-box .actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.pd-short { font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; }
.pd-highlights { list-style: none; display: grid; gap: 13px; }
.pd-highlights li { display: flex; gap: 12px; font-size: 15px; }
.pd-highlights li .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(176,141,87,.16); color: var(--gold-deep); display: grid; place-items: center; font-size: 12px; margin-top: 2px; }

.specs-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.specs-table tr:nth-child(even) { background: var(--paper-2); }
.specs-table td { padding: 14px 22px; font-size: 15px; border-bottom: 1px solid var(--line); }
.specs-table td:first-child { font-weight: 600; color: var(--muted); width: 42%; }
.specs-table tr:last-child td { border-bottom: none; }

.kit-list { columns: 2; column-gap: 40px; }
.kit-list li { break-inside: avoid; margin-bottom: 12px; list-style: none; display: flex; gap: 10px; font-size: 15px; }
.kit-list li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { padding: 22px 0; font-family:'Cormorant Garamond'; font-size: 23px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .3s; font-size: 18px; color: var(--gold-deep); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding-bottom: 22px; color: var(--muted); font-size: 15.5px; }

/* =================== CALCULATORS (табы) =================== */
.calc-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.calc-tab { padding: 13px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-family:'Manrope'; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); transition: .22s; }
.calc-tab:hover { border-color: var(--gold); }
.calc-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.calc-panel { display: none; }
.calc-panel.active { display: block; animation: fadeCalc .35s var(--ease); }
@keyframes fadeCalc { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.calc-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow-sm); }

/* левая колонка — ввод */
.calc-field { margin-bottom: 22px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; margin-bottom: 9px; color: var(--ink-soft); }
.calc-field input[type=number], .calc-field select {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: var(--r);
  font-family:'Manrope'; font-size: 18px; font-weight: 600; background: var(--paper); transition: .2s; -webkit-appearance: none; appearance: none;
}
.calc-field input[type=number]:focus, .calc-field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176,141,87,.12); }
.range-val { color: var(--gold-deep); font-weight: 800; font-size: 16px; }
.calc-hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* range slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; background: var(--paper-2); border-radius: 999px; padding: 0; margin: 6px 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); cursor: pointer; box-shadow: 0 2px 8px rgba(176,141,87,.5); border: 3px solid #fff; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid #fff; }

/* правая колонка — результат (тёмный премиум-блок) */
.calc-result { background: linear-gradient(150deg,var(--ink),#221d18 70%); color: var(--paper); border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.calc-result::after { content:""; position:absolute; right:-12%; top:-30%; width:55%; height:160%; background:radial-gradient(closest-side,rgba(176,141,87,.2),transparent 70%); pointer-events:none; }
.calc-result .rinner { position: relative; z-index: 1; width: 100%; }
.rrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.rrow:first-child { padding-top: 0; }
.rrow:last-child { border-bottom: none; }
.rrow .rl { font-size: 14.5px; color: var(--gold-soft); }
.rrow .rv { font-family:'Cormorant Garamond'; font-size: 32px; font-weight: 700; color: #fff; line-height: 1; text-align: right; white-space: nowrap; }
.rrow.hl { background: rgba(176,141,87,.14); border: 1px solid rgba(176,141,87,.3); border-radius: var(--r); padding: 18px 20px; margin-bottom: 6px; }
.rrow.hl .rv { color: var(--gold-soft); font-size: 38px; }
.rrow.profit .rv { color: #b9e0c4; }

/* мотивирующая строка */
.calc-motiv { background: rgba(176,141,87,.14); border: 1px solid rgba(176,141,87,.3); border-radius: var(--r); padding: 16px 20px; margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.calc-motiv .cn-ic { font-size: 24px; line-height: 1; }
.calc-motiv .cn-txt { font-size: 15px; line-height: 1.4; color: var(--gold-soft); }
.calc-motiv .cn-txt b { color: #fff; }

/* CTA внутри результата */
.calc-cta { margin-top: 20px; }
.calc-cta .btn { width: 100%; }

/* SEO блок */
.seo-block { max-width: 800px; margin: 0 auto; }
.seo-block h2 { font-size: clamp(28px,3.4vw,40px); margin: 0 0 16px; }
.seo-block h3 { font-size: 22px; margin: 30px 0 10px; }
.seo-block p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16.5px; }

/* sticky mobile CTA */
.sticky-cta { display: none; }

/* быстрые контакты в cta-band */
.quick-contact { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.quick-contact .btn { font-size: 14.5px; }

/* =================== плавающая кнопка WhatsApp =================== */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 1500;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.2);
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: waPulse 2.6s infinite;
}
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,.6); }
.fab-wa svg { width: 32px; height: 32px; fill: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 560px) { .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; } .fab-wa svg { width: 28px; height: 28px; } }

/* =================== модальное окно «для специалистов» =================== */
.pro-modal {
  position: fixed; inset: 0; z-index: 3000; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20,17,15,.72); backdrop-filter: blur(6px);
}
.pro-modal.show { display: flex; }
.pro-modal .pm-card {
  background: var(--paper); border-radius: var(--r-lg); max-width: 460px; width: 100%;
  padding: 40px 36px; text-align: center; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); animation: pmIn .4s var(--ease);
}
@keyframes pmIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.pro-modal .pm-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px; background: rgba(176,141,87,.14); color: var(--gold-deep); display: grid; place-items: center; }
.pro-modal .pm-ic svg { width: 32px; height: 32px; }
.pro-modal h3 { font-size: 28px; margin-bottom: 12px; }
.pro-modal p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.pro-modal .pm-btns { display: flex; gap: 12px; flex-direction: column; }
.pro-modal .pm-btns .btn { width: 100%; }
.pro-modal .pm-leave { font-size: 13px; color: var(--muted); margin-top: 4px; background: none; border: none; cursor: pointer; text-decoration: underline; }

/* =================== RODO consent + cookie banner =================== */
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.consent label { font-size: 12px; line-height: 1.45; color: var(--gold-soft); cursor: pointer; }
.consent label a { text-decoration: underline; color: var(--gold-soft); }
.consent label a:hover { color: #fff; }
/* в светлых формах (если будут) */
.form-light .consent label { color: var(--muted); }
.form-light .consent label a { color: var(--gold-deep); }

.cookie-banner {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  z-index: 2000; width: calc(100% - 32px); max-width: 760px;
  background: var(--ink); color: var(--paper-2);
  border: 1px solid rgba(176,141,87,.3); border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(20,17,15,.45), 0 0 0 100vmax rgba(20,17,15,.4);
  padding: 26px 28px; opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-banner .ck-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cookie-banner .ck-head .ck-ic { font-size: 26px; line-height: 1; }
.cookie-banner .ck-head h4 { font-family:'Cormorant Garamond'; font-size: 24px; font-weight: 700; color: var(--paper); margin: 0; }
.cookie-banner p { font-size: 14px; line-height: 1.55; color: var(--gold-soft); margin: 0 0 20px; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-banner .cookie-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .cookie-btns .btn { flex: 1; min-width: 150px; padding: 13px 20px; font-size: 14px; }
@media (max-width: 560px) {
  .cookie-banner { padding: 22px 20px; bottom: 12px; }
  .cookie-banner .cookie-btns .btn { min-width: 100%; }
}

/* =================== professional gate (попап специалиста) =================== */
.pro-gate {
  position: fixed; inset: 0; z-index: 3000; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20,17,15,.78); backdrop-filter: blur(6px);
}
.pro-gate.show { display: flex; animation: fadeCalc .3s var(--ease); }
.pro-gate-card {
  background: linear-gradient(160deg,var(--paper),#f1ece3); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-width: 480px; width: 100%;
  padding: 44px 40px; text-align: center; position: relative;
}
.pro-gate-card .pg-ic { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 16px; background: rgba(176,141,87,.16); color: var(--gold-deep); display: grid; place-items: center; }
.pro-gate-card .pg-ic svg { width: 32px; height: 32px; }
.pro-gate-card h3 { font-size: 30px; margin-bottom: 12px; }
.pro-gate-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.pro-gate-card .pg-btns { display: flex; gap: 12px; flex-direction: column; }
.pro-gate-card .pg-btns .btn { width: 100%; }
.pro-gate-card .pg-decline { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; margin-top: 8px; text-decoration: underline; font-family:'Manrope'; }

/* =================== WhatsApp floating button =================== */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 1500;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.fab-wa svg { width: 32px; height: 32px; fill: #fff; }
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37,211,102,.6); }
@media (max-width: 720px) {
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 84px; }
  .fab-wa svg { width: 28px; height: 28px; }
}

/* =================== legal pages =================== */
.legal { max-width: 820px; margin: 0 auto; }

/* TL;DR блок — прямой ответ для AI-выдачи */
.tldr { background: linear-gradient(135deg, rgba(176,141,87,.12), rgba(176,141,87,.05)); border: 1px solid rgba(176,141,87,.3); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 22px 26px; margin: 24px 0 32px; }
.tldr-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.tldr p { font-size: 16.5px; line-height: 1.6; color: var(--ink); margin: 0; }
.legal h1 { font-size: clamp(32px,4vw,48px); margin-bottom: 8px; }
.legal .upd { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 26px; margin: 32px 0 12px; }
.legal h3 { font-size: 19px; margin: 22px 0 8px; font-family:'Manrope'; font-weight: 700; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--gold-deep); text-decoration: underline; }
/* =================== reveal animation =================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; }
  .expert .wrap, .pd, .calc-box, .cta-band .inner { grid-template-columns: 1fr; gap: 32px; }
  .usp-grid { grid-template-columns: repeat(2,1fr); }
  .stats .wrap { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  nav.main { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 20px 28px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  nav.main.open { display: flex; }
  nav.main > a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .usp-grid, .service-list, .form .row { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .kit-list { columns: 1; }
  section.block { padding: 64px 0; }
  .cta-band, .service-card, .calc-box, .calc-result { padding: 24px 20px; }
  .topbar .wrap { font-size: 11.5px; }
  .topbar .promo { display: none; }
  .hero { padding: 56px 0 80px; }
  /* калькулятор на мобильном: результат первым */
  .calc-box { gap: 24px; }
  .calc-result { order: -1; }
  .rrow .rv { font-size: 27px; }
  .rrow.hl .rv { font-size: 32px; }
  /* sticky CTA снизу на мобильных */
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    background: rgba(20,17,15,.97); backdrop-filter: blur(8px); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 10px; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -6px 24px rgba(0,0,0,.2); }
  .sticky-cta .btn { flex: 1; padding: 14px; }
  body.has-sticky { padding-bottom: 76px; }
}
