/* Estera v2 components — styles for the Python-generated pages.
   Loaded AFTER css/style.css. Uses the same design tokens (--ink, --gold, …). */

:root { --v2-maxw: 1240px; }

.block { padding: 72px 0; }
.block .wrap { max-width: var(--v2-maxw); margin: 0 auto; padding: 0 24px; }
.block.bg-ink { background: var(--ink); color: #f3ede3; }
.block.bg-ink .eyebrow { color: var(--gold-soft); }
.block .section-head { max-width: 760px; margin-bottom: 40px; }
.block .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: 8px 0 12px; }
.block .section-head p { color: var(--muted); font-size: 1.05rem; }
.block.bg-ink .section-head p { color: #c9bfb0; }
.center { text-align: center; margin-top: 40px; }

/* ---- hero (override the 2-column .hero layout from style.css) -------- */
.home-hero { padding: 56px 0 52px; overflow: visible; }
.home-hero .wrap { display: block; max-width: var(--v2-maxw); margin: 0 auto; padding: 0 24px; }
.home-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; max-width: 20ch; margin: 14px 0 18px; }
.home-hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hero-stats .stat { background: var(--paper); padding: 26px 20px; text-align: center; }
.hero-stats .stat b { display: block; font-size: 1.7rem; color: var(--gold-deep); font-family: Georgia, "Times New Roman", serif; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }

/* ---- trust strip --------------------------------------------------- */
.trust-strip { background: var(--ink); color: #efe7da; padding: 20px 0; }
.trust-strip .wrap { max-width: var(--v2-maxw); margin: 0 auto; padding: 0 24px; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.trust-strip li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.trust-strip .ck { color: var(--gold); font-weight: 700; }

/* ---- category tiles ---------------------------------------------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .2s, transform .2s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.cat-tile b { color: var(--gold-deep); }

/* ---- product cards (catalog + homepage preview) ----------------- */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.cat-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white); text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card-img { aspect-ratio: 4 / 3; background: linear-gradient(145deg, #f8f6f2, #fff);
  display: flex; align-items: center; justify-content: center; padding: 18px; }
.cat-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); }
.cat-card-body h3 { font-size: 1.12rem; margin: 2px 0; }
.cat-card-body p { font-size: .9rem; color: var(--muted); flex: 1; }
.cat-card-foot { display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.cat-card-foot b { font-size: 1.05rem; }
.cat-card-foot span { font-size: .82rem; color: var(--gold-deep); }

.catalog-head { max-width: 720px; margin: 24px 0 36px; }
.catalog-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.catalog-head p { color: var(--muted); }
.catalog-page main .wrap, .home-page main > .block:first-child { }

/* ---- why grid --------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); overflow: hidden; }
.why-card { background: var(--ink); padding: 28px 26px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.why-card p { font-size: .92rem; color: #c4bba9; line-height: 1.55; }

/* ---- reviews --------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--white); }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { font-size: .96rem; line-height: 1.6; }
.review-card footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card footer b { display: block; }
.review-card footer span { font-size: .84rem; color: var(--muted); }

/* ---- expert block --------------------------------------------- */
.block.expert .tagline { color: var(--muted); margin-top: 4px; }

/* ---- responsive --------------------------------------------- */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-stats, .trust-strip ul { grid-template-columns: 1fr; }
  .block { padding: 52px 0; }
}

/* ---- topbar contacts: reliable spacing + separators (v2 markup) ---- */
.topbar .wrap { flex-wrap: wrap; }
.top-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.top-contact a { padding: 2px 14px; position: relative; white-space: nowrap; }
.top-contact a:first-child { padding-left: 0; }
.top-contact a + a::before {
  content: ""; position: absolute; left: 0; top: 50%; height: 11px; width: 1px;
  background: currentColor; opacity: .3; transform: translateY(-50%);
}
@media (max-width: 720px) {
  /* topbar off on phones — contacts live in the header + the WhatsApp fab */
  .topbar { display: none; }
}

/* ---- floating WhatsApp / Instagram: always visible on non-product pages ---- */
.social-fabs { position: fixed; right: 18px; bottom: 20px; z-index: 65;
  display: flex; flex-direction: column; gap: 10px; }
body:not(.product-page) .social-fabs {
  opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: none !important;
}
.fab-social { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); transition: transform .2s ease; }
.fab-social:hover { transform: translateY(-2px) scale(1.04); }
.fab-social svg { width: 24px; height: 24px; }
.fab-wa { background: #25d366; }
.fab-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0 8%, #fd5949 38%, #d6249f 62%, #285AEB 100%); }
@media (max-width: 720px) { .social-fabs { right: 12px; bottom: 78px; } .fab-social { width: 48px; height: 48px; } }

/* ---- FAQ accordion: make .faq-q usable outside .product-page ---- */
.faq-wrap { max-width: 820px; }
body .faq-q, .faq-wrap .faq-q { width: 100%; border: 0; background: none; text-align: left; color: var(--ink); font: inherit; }

/* ---- category tiles on the homepage (kept minimal — real grid is .grid-products) ---- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .2s, transform .2s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-2px); }

/* small helper used by generated pages */
.center { text-align: center; margin-top: 40px; }
.catalog-head { max-width: 760px; margin: 26px 0 34px; }
.catalog-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 12px; }
.catalog-head p { color: var(--muted); }

/* ============ calculators v2 ============ */
.calc-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.calc-bar .calc-tabs { margin-bottom: 0; }
.calc-cur { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.calc-cur button { padding: 10px 18px; border: 0; background: var(--white); cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); }
.calc-cur button.active { background: var(--gold); color: #fff; }

.calc-inputs > .calc-field:first-child { margin-bottom: 22px; }
.calc-field input[type=range] { width: 100%; accent-color: var(--gold); margin-top: 6px; }
.calc-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

.calc-chart { display: block; width: 100%; height: 110px; margin: 18px 0 8px; }
.calc-equiv { font-size: 13.5px; color: var(--gold-soft); margin: 6px 0 0; }
.calc-scen-head { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); margin: 18px 0 10px; }
.calc-scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-scen .scen { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 10px; text-align: center; }
.calc-scen .scen.hl { border-color: rgba(176,141,87,.55); background: rgba(176,141,87,.16); }
.calc-scen .scen .sk { display: block; font-size: 11px; color: var(--gold-soft); margin-bottom: 4px; }
.calc-scen .scen b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: #fff; }
.calc-scen .scen small { display: block; font-size: 10.5px; color: #c9bfb0; margin-top: 3px; line-height: 1.3; }
.calc-fin { font-size: 14px; color: var(--paper); margin: 16px 0 2px; line-height: 1.6; }
.calc-fin .pos { color: #b9e0c4; font-weight: 700; }
.calc-fin .neg { color: #e6b8a6; font-weight: 700; }

.calc-send { margin-top: 20px; display: grid; gap: 10px; }
.calc-send textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 13px; resize: vertical; }
.calc-send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-send input[type=text], .calc-send input[type=tel] { width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.calc-send .consent { font-size: 11.5px; color: var(--gold-soft); display: flex; gap: 8px; align-items: flex-start; }
.calc-send .consent a { color: var(--paper); text-decoration: underline; }
.calc-send .btn { width: 100%; }

.calc-assump { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.calc-trust { font-size: 13.5px; color: var(--gold-deep); font-weight: 600; margin: 8px 0 0; }

@media (max-width: 780px) {
  .calc-scen { grid-template-columns: 1fr; }
  .calc-send-row { grid-template-columns: 1fr; }
}

/* calculator SEO content */
.calc-seo .wrap { max-width: 820px; }
.calc-seo-block { margin-bottom: 34px; }
.calc-seo-block:last-child { margin-bottom: 0; }
.calc-seo-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.calc-seo-block p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

/* training page — social-proof band */
.training-hero { margin: 0; border-radius: var(--r-lg, 16px); overflow: hidden; box-shadow: var(--shadow-lg, 0 24px 60px rgba(0,0,0,.14)); align-self: stretch; }
.training-hero img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.proof-stats { display: flex; flex-wrap: wrap; gap: 20px 34px; margin-top: 28px; }
.proof-stat { max-width: 210px; padding-left: 14px; border-left: 2px solid var(--gold-soft, #c9a86a); }
.proof-stat .n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; line-height: 1.15; color: var(--gold-deep, #8a6d3b); }
.proof-stat .t { font-size: 12.5px; color: var(--muted, #6b6560); margin-top: 5px; line-height: 1.45; }

/* training page — photo gallery */
.training-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.training-shot { margin: 0; border-radius: var(--r-lg, 16px); overflow: hidden; background: var(--paper-2, #efe8dc); box-shadow: var(--shadow-lg, 0 24px 60px rgba(0,0,0,.14)); }
.training-shot img { width: 100%; height: 300px; object-fit: cover; display: block; }
.training-shot figcaption { padding: 14px 18px; font-size: 13.5px; line-height: 1.5; color: var(--muted, #6b6560); }
@media (max-width: 760px) {
  .training-gallery { grid-template-columns: 1fr; gap: 16px; }
  .training-shot img { height: 260px; }
  .proof-stat .n { font-size: 34px; }
}

/* brand logo (raster wordmark) */
.logo .logo-img { height: 38px; width: auto; display: block; }
.logo .logo-fallback { display: none; }
@media (max-width: 520px) { .logo .logo-img { height: 30px; } }
.product-page.product-scrolled .logo .logo-img { height: 30px; }
footer.site .footer-logo { height: 40px; width: auto; margin-bottom: 22px; opacity: .92; }

/* ---- global sticky CTA (non-product pages) ---- */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    display: flex; gap: 8px; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper, #fbfbf9) 92%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line, #e5e4df);
  }
  .sticky-cta .s-quote {
    flex: 1; text-align: center; font-weight: 700; font-size: 15px;
    background: var(--gold, #b08d57); color: #fff;
    border-radius: 11px; padding: 13px 14px;
  }
  .sticky-cta .s-call {
    display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px;
    border: 1px solid var(--line-strong, #d5d3cc); color: var(--ink, #1a1c1e);
    border-radius: 11px; padding: 0 15px;
  }
  body { padding-bottom: 66px; }
  .social-fabs { bottom: 88px !important; }
  footer.site { padding-bottom: 40px; }
}

/* ---- service page ---- */
.proof-stats.svc-sla { justify-content: flex-start; gap: 22px 30px; }
.proof-stats.svc-sla .proof-stat { border-left-color: var(--gold-soft, #c9a86a); max-width: 230px; }
:root .block.bg-ink .svc-sla .proof-stat .n { color: var(--gold-soft, #e2c9a0); }
:root .block.bg-ink .svc-sla .proof-stat .t { color: #c9bfb0; }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: none; max-width: 780px; }
.svc-step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.svc-step:first-child { border-top: 0; }
.svc-num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--gold-deep); flex-shrink: 0; padding-top: 3px; letter-spacing: .05em; }
.svc-step h4 { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.svc-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---- product gallery: contain any aspect ratio, never crop ---- */
.product-page .pd-gallery .main {
  aspect-ratio: 1 / 1;
  max-height: 560px;
  min-height: 0;
  background: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-page .pd-gallery .main img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  padding: 24px;
}
@media (max-width: 760px) {
  .product-page .pd-gallery .main { aspect-ratio: 4 / 3; max-height: 440px; }
  .product-page .pd-gallery .main img { padding: 12px; }
}

/* ---- catalog: category nav + grouped blocks + consult ---- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-nav a { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); background: var(--white); transition: border-color .15s, color .15s; }
.cat-nav a:hover { border-color: var(--gold); color: var(--gold-deep); }
.cat-block { padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.cat-block .section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.cat-block .section-head h2 { margin: 6px 0; }
.cat-block .section-head p { flex-basis: 100%; }
.cat-more { font-size: 13.5px; color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.consult-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; padding: 30px 34px; background: var(--paper-2, #efe8dc); border-radius: var(--r-lg, 16px); }
.consult-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 6px 0 8px; }
.consult-band p { color: var(--ink-soft); max-width: 48ch; font-size: .98rem; }
.consult-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .consult-band { padding: 24px 20px; } .consult-actions .btn { width: 100%; } }

/* ---- quiz ---- */
.quiz { max-width: 680px; margin: 0 auto; }
.quiz-progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
.quiz-bar { display: block; height: 100%; width: 0; background: var(--gold, #b08d57); transition: width .35s var(--ease, ease); }
.quiz-q { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.2; margin-bottom: 22px; text-wrap: balance; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { text-align: left; padding: 15px 18px; border: 1px solid var(--line-strong, #d5d3cc); border-radius: 12px;
  background: var(--white); font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.quiz-opt:hover { border-color: var(--gold); background: #fff; transform: translateX(2px); }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.quiz-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz-result { max-width: 940px; margin: 0 auto; }
.quiz-result .grid-products { margin-top: 8px; }
.quiz-result-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
@media (max-width: 640px) { .quiz-result-cta .btn { width: 100%; } }

/* ---- contact page ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg, 14px); background: var(--white); }
.contact-card .ci { font-size: 20px; flex-shrink: 0; }
.contact-card h3 { font-family: 'Manrope', sans-serif; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-card p { font-size: 15px; color: var(--ink); line-height: 1.5; }
.addr-note { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 62ch; }
.map-embed { border-radius: var(--r-lg, 14px); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; } .map-embed { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- category comparison table ---- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { font-family: 'Manrope', sans-serif; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp-table tbody th[scope=row] { font-weight: 700; }
.cmp-table tbody th a { color: var(--ink); }
.cmp-table tbody th a:hover { color: var(--gold-deep); }
.cmp-price { display: block; font-weight: 800; color: var(--gold-deep); font-size: 13px; margin-top: 4px; }
.cmp-table td { color: var(--ink-soft); }
.cmp-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.cmp-note a { color: var(--gold-deep); font-weight: 600; }

/* ============ MASTER product template ============ */
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; list-style: none; padding: 0; }
.hero-facts li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--paper-2, #efe8dc); color: var(--ink); }

/* sticky in-page nav */
.pd-nav { position: sticky; top: 72px; z-index: 20; background: var(--paper, #fbfbf9);
  border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .pd-nav { position: static; top: auto; } }
.pd-nav .wrap { display: flex; gap: 2px; overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
.pd-nav .wrap::-webkit-scrollbar { display: none; }
.pd-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--muted); padding: 12px 12px; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; }
.pd-nav a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.pd-nav a:hover { color: var(--ink); }
.pd-nav a.active { color: var(--gold-deep); border-bottom-color: var(--gold); }
.pd-nav a.active svg { opacity: 1; }
.product-page .product-section { scroll-margin-top: 60px; }
@media (max-width: 640px) { .pd-nav a { font-size: 12.5px; padding: 12px 10px; } }

/* facts table */
.facts-table { width: 100%; border-collapse: collapse; font-size: 14.5px; max-width: 640px; }
.facts-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 9px 16px 9px 0; width: 42%; vertical-align: top; }
.facts-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts-table tr:last-child td, .facts-table tr:last-child th { border: 0; }

/* business benefits */
.bb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bb-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg, 14px); background: var(--white); }
.bb-n { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--gold-deep); }
.bb-card h3 { font-size: 1.12rem; margin: 8px 0 6px; }
.bb-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 760px) { .bb-grid { grid-template-columns: 1fr; } }

/* procedures */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proc-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.proc-card h3 { font-size: 1rem; margin-bottom: 12px; }
.proc-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px; }
.proc-card dt { color: var(--muted); }
.proc-card dd { color: var(--ink-soft); text-align: right; }
@media (max-width: 860px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-grid { grid-template-columns: 1fr; } }

/* applicators */
.appl-list { display: grid; gap: 16px; }
.appl-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg, 14px); background: var(--white); overflow: hidden; }
.appl-row.no-img { grid-template-columns: 1fr; }
.appl-row.no-img .appl-img { display: none; }
.appl-img { align-self: stretch; background: var(--panel, #f2f1ed); display: flex; align-items: center; justify-content: center; padding: 14px; }
.appl-img img { max-width: 100%; max-height: 160px; object-fit: contain; }
.appl-txt { padding: 22px 24px 22px 0; }
.appl-row.no-img .appl-txt { padding: 22px 24px; }
.appl-n { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--gold-deep); }
.appl-txt h3 { font-size: 1.1rem; margin: 6px 0 3px; }
.appl-zone { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.appl-txt p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 640px) { .appl-row { grid-template-columns: 1fr; } .appl-img { min-height: 180px; } .appl-txt { padding: 20px 22px; } }

/* procedure journey */
.journey { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; max-width: 640px; }
.journey li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.journey li:first-child { border: 0; }
.jn { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--gold-deep); flex-shrink: 0; }
.proc-video { margin-top: 8px; }
.proc-video video { width: 100%; max-width: 720px; border-radius: var(--r-lg, 14px); border: 1px solid var(--line); }
.video-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-deep);
  border: 1px solid var(--line-strong, #d5d3cc); border-radius: 10px; padding: 12px 18px; }

/* not-for */
.notfor .x-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.notfor .x-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); }
.notfor .x-list li::before { content: "✕"; position: absolute; left: 0; color: #b0524b; font-weight: 700; }
.notfor-cta { font-size: 14px; color: var(--muted); }
.notfor-cta a { color: var(--gold-deep); font-weight: 600; }

/* kit 2-column */
.kit-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kit-two h3 { font-family: 'Manrope', sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.kit-two ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kit-two li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.kit-two li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.kit-note { margin-top: 16px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .kit-two { grid-template-columns: 1fr; gap: 22px; } }

/* grouped specs */
.spec-groups { display: grid; gap: 22px; }
.spec-group h3 { font-family: 'Manrope', sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec-group .specs-table { width: 100%; }

/* documents */
.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.docs-list li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--ink); }
.docs-list em { color: var(--muted); font-style: normal; font-size: 13px; }

/* case study */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.case-grid span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.case-grid b { font-size: 1.15rem; margin-top: 6px; display: block; }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr 1fr; } }

/* faq groups */
.faq-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.faq-col > h3 { font-family: 'Manrope', sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
@media (max-width: 900px) { .faq-groups { grid-template-columns: 1fr; gap: 8px; } }

.mroi-equiv { font-size: 13.5px; color: var(--muted); margin: 6px 0 14px; }

/* ---- related cards: never crop the device photo ---- */
.related-img { display: flex !important; align-items: center; justify-content: center; }
.related-img img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; object-fit: contain; }
.related-card { background: var(--white); }

/* ---- product ROI mini-calculator ---- */
.pdroi { display: grid; gap: 16px; }
.pdroi-field label { display: block; font-size: 13px; color: #c9bfb0; margin-bottom: 6px; }
.pdroi-field label b { color: #fff; }
.pdroi-field input[type=number] { width: 140px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: #fff; border-radius: 9px; padding: 9px 12px; font-size: 15px; }
.pdroi-field input[type=range] { width: 100%; }
.pdroi-out { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; margin-top: 4px; }
.pdroi-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 14px; color: #c9bfb0; }
.pdroi-row b { color: #fff; font-size: 16px; font-variant-numeric: tabular-nums; }
.pdroi-row.hl b { color: var(--gold-soft, #e2c9a0); font-size: 20px; font-family: 'Cormorant Garamond', Georgia, serif; }
.pdroi .mroi-equiv { color: #a9a093; margin-top: 8px; }
.pdroi-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pdroi-note { font-size: 12px; color: #8f877a; margin-top: 6px; }
@media (max-width: 640px) { .pdroi-cta .btn { width: 100%; } }

/* ---- hero: consultation (call) button ---- */
.btn.btn-outline { background: transparent; border: 1px solid var(--line-strong, #d5d3cc); color: var(--ink); }
.btn.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn.btn-call { display: inline-flex; align-items: center; gap: 8px; background: #c07a63; border-color: #c07a63; color: #fff; }
.btn.btn-call:hover { background: #b06d57; border-color: #b06d57; color: #fff; }
.btn.btn-call svg { flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 620px) { .hero-actions .btn { width: 100%; justify-content: center; } .hero-actions .btn-link { width: auto; } }

/* ---- catalog / grid product cards: show the whole device, don't crop ---- */
.grid-products .card .thumb { aspect-ratio: 4 / 3; background: #fff; }
.grid-products .card .thumb img { object-fit: contain !important; padding: 18px; }
.grid-products .card:hover .thumb img { transform: none; }
@media (max-width: 600px) { .grid-products .card .thumb { aspect-ratio: 3 / 2; } .grid-products .card .thumb img { padding: 14px; } }

/* ---- rassrochka hero: SVG "как это работает" timeline ---- */
.rata-timeline { margin: 26px 0 4px; max-width: 640px; }
.rata-timeline svg { width: 100%; height: auto; display: block; }

/* ---- buyer-guide articles ("Полезно перед покупкой") ---- */
.article-body .wrap { max-width: 760px; }
.article-body h1 { margin: 10px 0 14px; }
.article-body h2 { margin: 34px 0 12px; font-size: 1.5rem; }
.article-body h3 { margin: 20px 0 6px; font-size: 1.12rem; }
.article-body p, .article-body li { line-height: 1.7; }
.article-body ul { margin: 6px 0 6px 1.1em; }
.article-body li { margin: 5px 0; }
.article-body .lead { font-size: 1.12rem; color: var(--ink-soft, #2b2622); }
.article-body .cat-card-tag { display: inline-block; margin-bottom: 6px; }

/* ---- lead-magnet documents (cennik / checklist / materialy) ---- */
.mat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 8px; }
.mat-card { border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--white); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.mat-card h3 { font-size: 1.3rem; }
.mat-card p { color: var(--ink-soft, #2b2622); line-height: 1.6; flex: 1; }
.mat-card .btn { align-self: flex-start; margin-top: 6px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.doc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
table.pricelist td, table.pricelist th { vertical-align: top; }
.pricelist .pl-cat th { background: var(--paper-2, #f1ece2); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.15rem; padding-top: 16px; }
.pricelist .pl-name a { font-weight: 700; }
.pricelist .pl-sub { display: block; font-size: .82rem; color: var(--muted, #6d6a63); margin-top: 3px; max-width: 42ch; }
.pricelist .pl-price b { white-space: nowrap; }
.pricelist .pl-old { text-decoration: line-through; color: var(--muted, #6d6a63); font-size: .85rem; }
.pricelist .pl-eur, .pricelist .pl-inc { font-size: .85rem; color: var(--ink-soft, #2b2622); white-space: nowrap; }
.pricelist .pl-inc { white-space: normal; max-width: 26ch; }
.ck-doc { margin-top: 8px; }
.ck-block { margin: 22px 0; break-inside: avoid; }
.ck-block h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ck-n { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--gold-deep); font-size: 1.1rem; }
.ck-list { list-style: none; margin: 0; padding: 0; }
.ck-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.ck-box { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--gold); border-radius: 5px; }

@media print {
  header.site, footer.site, .floating-fabs, .social-fabs, .sticky-cta, .cookie-banner,
  .doc-actions, .doc-cta, .breadcrumb, .lead-section { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .block { padding: 0 !important; }
  .wrap { max-width: 100% !important; }
  a { color: #000 !important; text-decoration: none !important; }
  .pricelist .pl-cat th { background: #eee !important; }
  h1 { font-size: 22pt; } h2 { font-size: 14pt; }
  .ck-box { border-color: #444 !important; }
  table.cmp-table { font-size: 9.5pt; }
}

/* ---- date field with visible label (contact demo form) ---- */
.form label.form-date { display: flex; flex-direction: column; gap: 4px; }
.form label.form-date > span { font-size: .8rem; color: var(--muted, #6d6a63); letter-spacing: .02em; }
.form label.form-date input[type="date"] { width: 100%; }
.form select optgroup { font-weight: 700; }
