/* ═══════════════════════════════════════════════════════════
   ESTIMATION57 — Premium Design System v3
   Dramatic depth · Scroll reveals · Card shine · Glass UI
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: #dbe6f0;
  --line-strong: #c9d9ea;
  --text: #203246;
  --muted: #5e7288;
  --blue: #1f6fd6;
  --blue-dark: #1659ad;
  --blue-soft: #eaf3ff;

  /* Premium shadow system — 3 tiers */
  --shadow: 0 1px 2px rgba(21,52,86,0.04), 0 8px 24px rgba(21,52,86,0.07);
  --shadow-soft: 0 2px 8px rgba(21,52,86,0.05);
  --shadow-md: 0 4px 12px rgba(21,52,86,0.06), 0 20px 48px rgba(21,52,86,0.08);
  --shadow-lg: 0 8px 16px rgba(21,52,86,0.05), 0 32px 64px rgba(21,52,86,0.10);
  --shadow-xl: 0 12px 24px rgba(21,52,86,0.06), 0 48px 80px rgba(21,52,86,0.12);
  --shadow-glow: 0 0 0 1px rgba(31,111,214,0.08), 0 8px 24px rgba(31,111,214,0.12);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1180px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f0f4f9;
  background-image:
    radial-gradient(ellipse 100% 60% at 15% -20%, rgba(31,111,214,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 85% 120%, rgba(31,111,214,0.05) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-dark); }

.container,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM — applied automatically via JS
   ═══════════════════════════════════════════════════════════ */
@keyframes e57-fadeUp {
  from { opacity: 0; transform: translateY(48px) scale(0.97); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes e57-fadeScale {
  from { opacity: 0; transform: scale(0.92); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes e57-slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes e57-slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}

/* Base hidden state — JS adds .e57-reveal to elements */
.e57-reveal {
  opacity: 0;
  will-change: transform, opacity;
}
.e57-reveal.is-visible {
  animation: e57-fadeUp 0.85s var(--ease-out-expo) forwards;
}
/* Stagger children: JS sets --stagger-i on each child */
.e57-reveal.is-visible > .e57-stagger {
  opacity: 0;
  animation: e57-fadeUp 0.7s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--stagger-i, 0) * 120ms + 150ms);
}

/* Card-specific reveal (scale + fade) */
.e57-reveal-card {
  opacity: 0;
  will-change: transform, opacity;
}
.e57-reveal-card.is-visible {
  animation: e57-fadeScale 0.75s var(--ease-out-expo) forwards;
}

/* ═══════════════════════════════════════════════════════════
   HEADER — Frosted glass with scroll morph
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  background: rgba(240, 244, 249, 0.6);
  border-bottom: 1px solid rgba(219,230,240,0.4);
  transition: all 0.5s var(--ease-smooth);
}
.site-header.is-scrolled {
  background: rgba(240, 244, 249, 0.88);
  border-bottom-color: rgba(219,230,240,0.7);
  box-shadow: 0 8px 32px rgba(21,52,86,0.08), 0 1px 0 rgba(255,255,255,0.5) inset;
}
.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(219,230,240,0.5);
  box-shadow: 0 2px 8px rgba(21,52,86,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.site-header__brand:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.site-header__brand-text { display: grid; gap: 2px; }
.site-header__brand-text strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.site-header__brand-text small { color: var(--muted); font-size: 0.82rem; }
.site-header__logo { width: 52px; height: 52px; object-fit: contain; }
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(219,230,240,0.4);
  box-shadow: 0 2px 8px rgba(21,52,86,0.03), inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}
.site-header__nav-link {
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: all 0.25s var(--ease-out-expo);
}
.site-header__nav-link:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS — Rich gradient with inner shine + press effect
   ═══════════════════════════════════════════════════════════ */
.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.4s ease, background 0.25s ease;
}
.btn:hover, .button:hover { transform: translateY(-3px); }
.btn:active, .button:active { transform: translateY(-1px); transition-duration: 0.1s; }

.btn-primary {
  background: linear-gradient(135deg, #2275de 0%, #1659ad 50%, #1350a0 100%);
  color: #fff;
  box-shadow:
    0 2px 4px rgba(31,111,214,0.20),
    0 12px 28px rgba(31,111,214,0.25),
    inset 0 1px 0 rgba(255,255,255,0.20);
}
/* Shine sweep on hover */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out-expo);
  z-index: 1;
}
.btn-primary:hover::before { left: 125%; }
.btn-primary:hover {
  color: #fff;
  box-shadow:
    0 4px 8px rgba(31,111,214,0.22),
    0 20px 40px rgba(31,111,214,0.30),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-secondary {
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(21,52,86,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  border-color: rgba(31,111,214,0.22);
  box-shadow: 0 8px 24px rgba(21,52,86,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  background: #fff;
}

/* ═══════════════════════════════════════════════════════════
   HERO — Deep layered glass
   ═══════════════════════════════════════════════════════════ */
.hero { padding: 34px 0 22px; }
.hero-card {
  background:
    radial-gradient(circle at 10% -10%, rgba(31,111,214,0.10), transparent 45%),
    radial-gradient(circle at 90% 110%, rgba(31,111,214,0.06), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.96));
  border: 1px solid rgba(219,230,240,0.6);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
/* Top edge shine line */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}
/* Floating accent orb */
.hero-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,214,0.08), transparent 70%);
  pointer-events: none;
}
.hero-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(234,243,255,0.8);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid rgba(31,111,214,0.10);
  backdrop-filter: blur(6px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}
.hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero-brand img { width: 84px; height: 84px; object-fit: contain; }
.hero-brand strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #142a46 20%, #1f6fd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--muted); max-width: 62ch; }
.hero-points, .inline-list {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none;
}
.hero-points li, .inline-list li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(219,230,240,0.6);
  border-radius: 999px; padding: 10px 12px; font-weight: 600; color: var(--text);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(21,52,86,0.04);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.hero-points li:hover, .inline-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(21,52,86,0.08);
}

/* ─── SEARCH CTA ─── */
.search-cta { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-shell {
  position: relative; min-height: 62px; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; padding: 0 16px 0 74px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 16px rgba(21,52,86,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.search-shell:hover {
  border-color: rgba(31,111,214,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), var(--shadow-glow);
  transform: translateY(-2px);
}
.search-shell::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; background: url('/images/metz/logo.png') center/contain no-repeat;
}
.search-shell span { color: var(--muted); font-size: 1rem; display: block; }
.search-shell svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--blue); }
.hero-aside, .process-steps { display: grid; gap: 14px; }

/* ═══════════════════════════════════════════════════════════
   CARDS — Deep glass with hover shine sweep
   ═══════════════════════════════════════════════════════════ */
.stat-card, .card, .sector-card, .trust-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(219,230,240,0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease, border-color 0.35s ease;
}
/* Card hover shine sweep */
.card::before, .sector-card::before, .trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-15deg);
  transition: left 0.7s var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
}
.card:hover::before, .sector-card:hover::before, .trust-card:hover::before {
  left: 150%;
}
.card:hover, .sector-card:hover, .trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(31,111,214,0.14);
}
/* Inner content above shine */
.card > *, .sector-card > *, .trust-card > * { position: relative; z-index: 1; }

.stat-card {
  padding: 18px;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,214,0.08), transparent 70%);
  pointer-events: none;
}
.stat-card strong {
  position: relative;
  display: block; font-size: 1.38rem; letter-spacing: -0.03em; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card p { position: relative; margin: 0; color: var(--muted); line-height: 1.55; }

main section { padding: 18px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 18px; }
.section-head h2 {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 30%, #1a5db8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-head p { margin: 0; color: var(--muted); max-width: 74ch; line-height: 1.65; }

/* ─── GRIDS ─── */
.grid-3, .grid-2, .sectors-grid, .method-grid, .links-grid, .geo-links, .link-grid-3,
.example-grid, .trust-links, .anchor-row, .kpi-strip, .site-footer__grid, .map-wrap {
  display: grid; gap: 18px;
}
.grid-3, .sectors-grid, .method-grid, .geo-links, .link-grid-3, .trust-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2, .links-grid, .example-grid, .map-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.kpi-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; gap: 12px; }
.site-footer__grid { grid-template-columns: 1.12fr 0.88fr 0.88fr; }

.card, .sector-card, .trust-card, .example-box, .map-card { padding: 22px; }
.card h3, .sector-card h3, .trust-card h3, .example-box h3 {
  margin: 0 0 10px; font-size: 1.18rem; letter-spacing: -0.02em;
}
.card p, .sector-card p, .trust-card p, .card li, .sector-card li,
.example-box p, .trust-links li { margin: 0; color: var(--muted); line-height: 1.7; }
.card ul, .sector-card ul, .trust-links ul { padding-left: 18px; margin: 10px 0 0; }

.example-box {
  background:
    radial-gradient(circle at 10% 10%, rgba(31,111,214,0.10), transparent 50%),
    linear-gradient(180deg, rgba(31,111,214,0.05), rgba(31,111,214,0.01));
  border: 1px solid rgba(31,111,214,0.12); border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}
.example-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ─── BADGE ─── */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px;
  background: rgba(234,243,255,0.8);
  color: var(--blue-dark);
  font-weight: 700; font-size: 0.9rem; margin-bottom: 12px;
  border: 1px solid rgba(31,111,214,0.10);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(31,111,214,0.06);
}

/* ─── ANCHOR ROW / PILLS ─── */
.anchor-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.anchor-row a, .footer-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(219,230,240,0.6); border-radius: 999px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
  padding: 11px 14px; color: var(--text); font-weight: 600;
  box-shadow: 0 2px 6px rgba(21,52,86,0.04);
  transition: all 0.3s var(--ease-out-expo);
}
.anchor-row a:hover, .footer-pill:hover {
  background: var(--blue-soft); color: var(--blue-dark);
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31,111,214,0.12);
  border-color: rgba(31,111,214,0.15);
}
.footer-pill--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px rgba(31,111,214,0.24);
}
.footer-pill--primary:hover {
  color: #fff; background: linear-gradient(135deg, #1a65c4, #134a94);
  box-shadow: 0 14px 32px rgba(31,111,214,0.30);
}

/* ─── SVG / SCHEME / MAP ─── */
.map-card svg, .scheme-card svg, .diagram-card svg { width: 100%; height: auto; display: block; }
.map-card a .zone-shape { fill: #f2f7fd; stroke: #84addd; stroke-width: 2; transition: fill 0.2s ease; }
.map-card a .zone-label { fill: var(--text); font-size: 16px; font-weight: 700; }
.map-card a .zone-sub { fill: var(--muted); font-size: 13px; font-weight: 600; }
.map-card a:hover .zone-shape, .map-card a:focus .zone-shape { fill: #dcecff; }
.map-card .map-link { stroke: #9dbfe6; fill: none; }
.map-card .map-node { fill: #9dbfe6; }

/* ─── KPIs ─── */
.kpi {
  padding: 16px; border-radius: 18px; border: 1px solid rgba(219,230,240,0.6);
  background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(21,52,86,0.04);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kpi strong {
  display: block; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kpi span { color: var(--muted); line-height: 1.45; font-size: 0.95rem; }

.metric-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.metric-list li { padding-left: 0; }
.metric-list strong { color: var(--text); }
.price-note { margin-top: 12px; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.scheme-card, .diagram-card { overflow: hidden; }
.scheme-card, .diagram-card, .method-diagram { padding: 18px; }
.scheme-card svg text, .diagram-card svg text { user-select: none; }
.source-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.source-inline a {
  display: inline-flex; align-items: center; padding: 10px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.85); font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
}
.source-inline a:hover { background: var(--blue-soft); border-color: rgba(31,111,214,0.15); transform: translateY(-2px); }
.mini-checklist { display: grid; gap: 10px; margin: 12px 0 0; }

/* ═══════════════════════════════════════════════════════════
   CTA BAND — Animated gradient border + depth
   ═══════════════════════════════════════════════════════════ */
@keyframes e57-border-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-band {
  padding: 32px;
  background:
    radial-gradient(circle at 0% 50%, rgba(31,111,214,0.12), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(31,111,214,0.06), transparent 50%),
    rgba(255,255,255,0.92);
  border: 2px solid transparent;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  display: grid; gap: 14px;
  position: relative;
  overflow: hidden;
  /* Animated gradient border via background-origin trick */
  background-clip: padding-box;
  isolation: isolate;
}
/* Animated gradient border pseudo */
.cta-band::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(31,111,214,0.30), rgba(31,111,214,0.05), rgba(31,111,214,0.20), rgba(31,111,214,0.05));
  background-size: 300% 300%;
  animation: e57-border-glow 6s ease-in-out infinite;
  z-index: -1;
}
/* White fill on top */
.cta-band::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.95));
  z-index: -1;
}
.cta-band h2, .cta-band p { margin: 0; position: relative; }
.cta-band p { color: var(--muted); line-height: 1.65; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ─── FOOTER ─── */
.site-footer {
  margin-top: 28px; padding: 34px 0 94px; background: #eef4fb;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 16px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; }
.footer-brand h3, .footer-col h4 { margin: 0 0 10px; }
.footer-brand p, .footer-col p, .footer-col li { margin: 0; color: var(--muted); line-height: 1.65; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.footer-reminder p { font-size: 0.95rem; }
.stars { letter-spacing: 1px; color: #f4b400; font-size: 1rem; }

/* ─── STICKY CTA ─── */
@keyframes e57-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(31,111,214,0.25); }
  50%      { box-shadow: 0 12px 28px rgba(31,111,214,0.25), 0 0 0 8px rgba(31,111,214,0.08); }
}
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150;
  display: none; gap: 10px; padding: 10px; border-radius: 20px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(219,230,240,0.5);
  box-shadow: 0 -4px 24px rgba(21,52,86,0.06), 0 20px 48px rgba(23, 51, 84, 0.18);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.sticky-cta a { flex: 1; }
.sticky-cta .btn-primary { animation: e57-pulse 3s ease-in-out infinite; }
.note { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid, .map-wrap, .site-footer__grid, .grid-3, .grid-2, .sectors-grid,
  .method-grid, .links-grid, .geo-links, .kpi-strip, .link-grid-3, .example-grid,
  .trust-links { grid-template-columns: 1fr; }
  .site-header__inner { align-items: stretch; flex-direction: column; }
  .site-header__nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hero-card, .card, .sector-card, .trust-card, .cta-band, .map-card,
  .stat-card, .example-box { border-radius: 22px; }
  .hero { padding-top: 16px; }
  .hero-card { padding: 20px; }
  .hero-brand img { width: 68px; height: 68px; }
  .site-header__logo { width: 46px; height: 46px; }
  .search-cta { grid-template-columns: 1fr; }
  .search-shell { min-height: 58px; padding-left: 66px; }
  .search-shell::before { width: 36px; height: 36px; left: 14px; }
  .site-footer { padding-bottom: 104px; }
  .sticky-cta { display: flex; }
  /* Reduce motion for perf */
  .card::before, .sector-card::before, .trust-card::before { display: none; }
}

/* ═══ ESTIMATION FLOW ═══ */
.micro-guide-bar { padding: 14px 0 2px; }
.micro-guide-bar__inner {
  width: min(calc(100% - 28px), var(--max)); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,0.78); border: 1px solid rgba(219,230,240,0.5);
  box-shadow: var(--shadow-soft); backdrop-filter: blur(12px);
}
.micro-guide-bar__inner strong { color: var(--text); font-size: 0.95rem; }
.micro-guide-bar__inner span { color: var(--muted); font-size: 0.92rem; }
.estimation-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 18px;
}
.estimation-card, .instructions-card, .step-card, .success-card {
  background: rgba(255,255,255,0.88); border: 1px solid rgba(219,230,240,0.6);
  border-radius: 26px; box-shadow: var(--shadow-lg); padding: 24px;
  backdrop-filter: blur(8px);
}
.estimation-card h2, .instructions-card h2, .step-card h2, .success-card h2 {
  margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em;
}
.estimation-card p, .instructions-card p, .step-card p, .success-card p {
  margin: 0; color: var(--muted); line-height: 1.65;
}
.instructions-list, .script-checklist {
  display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none;
}
.instructions-list li, .script-checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text);
}
.instructions-list li::before, .script-checklist li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px; background: var(--blue-soft);
  color: var(--blue-dark); font-weight: 800; font-size: 0.78rem;
}
.description-shell {
  position: relative; margin-top: 18px; border: 1px solid var(--line-strong);
  border-radius: 24px; background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), var(--shadow-soft);
  padding: 16px 18px 72px;
}
.description-shell__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.description-shell__logo { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.description-shell__top strong { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.description-shell__top span { color: var(--muted); font-size: 0.92rem; }
.description-field {
  width: 100%; min-height: 190px; resize: none; border: 0; outline: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 1rem; line-height: 1.6;
}
.description-field::placeholder { color: #7f92a6; }
.description-actions { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 10px; }
.mic-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  border: 1px solid rgba(31,111,214,0.18); background: var(--blue-soft);
  color: var(--blue-dark); box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}
.mic-button:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31,111,214,0.14); }
.mic-button.is-recording { background: #dff0ff; color: #0d58b5; border-color: rgba(13,88,181,0.28); }
.mic-button svg { width: 24px; height: 24px; }
.form-note, .status-message { margin-top: 12px; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.status-message { min-height: 24px; }
.step-card { margin-top: 18px; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(31,111,214,0.40);
  box-shadow: 0 0 0 4px rgba(31,111,214,0.08), 0 4px 12px rgba(31,111,214,0.06);
}
.field textarea { min-height: 120px; }
.field small { color: var(--muted); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-weight: 600; cursor: pointer; transition: all 0.25s ease;
}
.choice-chip span:hover { border-color: rgba(31,111,214,0.25); background: var(--blue-soft); }
.choice-chip input:checked + span {
  background: var(--blue-soft); border-color: rgba(31,111,214,0.30);
  color: var(--blue-dark); box-shadow: 0 0 0 3px rgba(31,111,214,0.08);
}
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 6px; }
.consent-row input { width: 18px; height: 18px; margin-top: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.example-script {
  margin-top: 18px; padding: 18px; border-radius: 20px;
  border: 1px solid rgba(31,111,214,0.14);
  background: radial-gradient(circle at 5% 5%, rgba(31,111,214,0.10), transparent 50%),
    linear-gradient(180deg, rgba(31,111,214,0.05), rgba(31,111,214,0.01));
}
.example-script strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.example-script p { margin: 0; color: var(--text); }
.step-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  padding: 8px 12px; border-radius: 999px; background: var(--blue-soft);
  color: var(--blue-dark); font-weight: 700; font-size: 0.9rem;
}
.is-hidden { display: none !important; }
.success-card {
  margin-top: 18px;
  background: radial-gradient(circle at 10% 10%, rgba(31,111,214,0.10), transparent 50%),
    linear-gradient(180deg, rgba(31,111,214,0.06), rgba(31,111,214,0.02));
  border-color: rgba(31,111,214,0.14);
}
.success-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
@media (max-width: 980px) { .estimation-layout, .form-grid--two { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .micro-guide-bar__inner { border-radius: 16px; padding: 12px 14px; }
  .estimation-card, .instructions-card, .step-card, .success-card { border-radius: 22px; padding: 18px; }
  .description-shell { padding: 14px 14px 76px; border-radius: 22px; }
  .description-shell__logo { width: 42px; height: 42px; }
  .description-field { min-height: 210px; font-size: 0.98rem; }
  .description-actions { left: 14px; right: 14px; bottom: 14px; justify-content: space-between; }
}

/* ═══ ESTIMATION APP ═══ */
.estimation-flow-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 70% 40% at 30% -5%, rgba(31,111,214,0.07), transparent),
    linear-gradient(180deg, #f0f4f9, #eaf1f9);
}
.estimation-flow-main { padding: 18px 0 40px; }
.estimation-flow-shell { width: min(calc(100% - 24px), 1080px); margin: 0 auto; display: grid; gap: 16px; }
.estimation-flow-topnote {
  display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,0.82); border: 1px solid rgba(219,230,240,0.5);
  box-shadow: var(--shadow-soft); backdrop-filter: blur(12px);
}
.estimation-flow-topnote strong { color: var(--text); font-size: 0.95rem; }
.estimation-flow-topnote span { color: var(--muted); font-size: 0.92rem; }
.estimation-app-main { padding: 18px 0 40px; }
.estimation-app-shell { width: min(calc(100% - 24px), 1080px); margin: 0 auto; display: grid; gap: 16px; }
.estimation-app-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.estimation-app-card {
  background: rgba(255,255,255,0.88); border: 1px solid rgba(219,230,240,0.6);
  border-radius: 26px; box-shadow: var(--shadow-lg); padding: 24px;
  backdrop-filter: blur(8px);
}
.estimation-app-card h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -0.03em; }
.estimation-app-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.app-composer__fieldwrap {
  margin-top: 16px; border: 1px solid var(--line-strong); border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), var(--shadow-soft); padding: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.app-composer__fieldwrap:focus-within { border-color: rgba(31,111,214,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), var(--shadow-glow); }
.app-composer__field {
  width: 100%; min-height: 300px; resize: none; border: 0; outline: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 1.04rem;
  line-height: 1.6; padding: 12px;
}
.app-composer__field::placeholder { color: #7f92a6; }
.app-composer__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.app-composer__hint { color: var(--muted); font-size: 0.9rem; max-width: 400px; line-height: 1.5; }
.app-composer__actions { display: flex; gap: 10px; }
.voice-fab {
  min-width: 72px; min-height: 72px; display: grid; justify-items: center;
  align-content: center; gap: 6px; padding: 10px; border-radius: 24px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(21,52,86,0.08); cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}
.voice-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(21,52,86,0.12); }
.voice-fab__icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.voice-fab__icon svg { width: 100%; height: 100%; }
.voice-fab__icon--live { display: none; }
.voice-fab__text { font-size: 0.78rem; font-weight: 800; line-height: 1; text-align: center; }
.voice-fab.is-recording { color: #c13737; background: #fff3f3; border-color: rgba(193,55,55,0.22); }
.voice-fab.is-recording .voice-fab__icon--idle { display: none; }
.voice-fab.is-recording .voice-fab__icon--live { display: inline-flex; animation: voiceRing 1s ease-in-out infinite; }
.app-composer__submit { min-height: 72px; min-width: 146px; border-radius: 22px; }
.estimation-app-card--guide { position: sticky; top: 14px; }
.app-contact-grid { margin-top: 4px; }
.app-step2-actions .btn { min-height: 58px; }
.thanks-main { display: flex; align-items: center; }
.thanks-shell--app { max-width: 760px; }
.thanks-card--app { padding: 28px; }
.thanks-actions--app { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
@keyframes voiceRing { 0%, 100% { transform: scale(0.96); opacity: 0.86; } 50% { transform: scale(1.06); opacity: 1; } }
@media (max-width: 980px) { .estimation-app-grid { grid-template-columns: 1fr; } .estimation-app-card--guide { position: static; } }
@media (max-width: 720px) {
  .estimation-app-main { padding: 12px 0 28px; }
  .estimation-app-shell { width: min(calc(100% - 12px), 1080px); gap: 10px; }
  .estimation-app-card { padding: 16px; border-radius: 24px; }
  .app-composer__fieldwrap { padding: 8px; border-radius: 22px; }
  .app-composer__field { min-height: 260px; padding: 10px 10px 16px; font-size: 1rem; }
  .app-composer__footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .app-composer__hint { max-width: none; }
  .app-composer__actions { width: 100%; display: grid; grid-template-columns: 84px 1fr; }
  .voice-fab { min-width: 84px; min-height: 78px; border-radius: 22px; }
  .app-composer__submit { width: 100%; min-width: 0; min-height: 78px; border-radius: 22px; }
  .thanks-actions--app { flex-direction: column; }
  .thanks-actions--app .btn { width: 100%; }
}

/* ═══ SECTORS MAP GRID ═══ */
.sectors-map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector-map-item {
  position: relative; display: grid; gap: 8px; padding: 22px 18px;
  border-radius: var(--radius-xl); background: rgba(255,255,255,0.85);
  border: 1px solid rgba(219,230,240,0.6); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); backdrop-filter: blur(6px);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease, border-color 0.35s ease;
  overflow: hidden;
}
/* Top accent line */
.sector-map-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(31,111,214,0.2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.sector-map-item:hover {
  transform: translateY(-7px); box-shadow: var(--shadow-xl);
  border-color: rgba(31,111,214,0.16); color: var(--text);
}
.sector-map-item:hover::after { transform: scaleX(1); }
.sector-map-item__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.sector-map-item:hover .sector-map-item__icon {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(31,111,214,0.12);
}
.sector-map-item__icon svg { width: 24px; height: 24px; color: var(--blue-dark); }
.sector-map-item__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.sector-map-item__sub { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 0; }
.sector-map-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sector-map-item__tag {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark); font-size: 0.8rem; font-weight: 600;
}
.sector-map-item__cta {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
  font-size: 0.9rem; color: var(--blue); margin-top: 4px;
  transition: gap 0.3s var(--ease-out-expo), color 0.2s ease;
}
.sector-map-item:hover .sector-map-item__cta { color: var(--blue-dark); gap: 12px; }

/* ═══ CASE CARDS ═══ */
.case-card {
  background: rgba(255,255,255,0.85); border: 1px solid rgba(219,230,240,0.6);
  border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 24px;
  backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card h3 { margin: 0 0 10px; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--text); }
.case-card p { margin: 0 0 8px; color: var(--muted); line-height: 1.65; }
.case-card p:last-child { margin-bottom: 0; }
.case-card__highlight {
  margin-top: 12px; padding: 14px; border-radius: 16px;
  background: rgba(234,243,255,0.8); border: 1px solid rgba(31,111,214,0.10);
  backdrop-filter: blur(4px);
}
.case-card__highlight p { color: var(--blue-dark); font-weight: 600; margin: 0; line-height: 1.55; }

/* ─── VERTICAL STEPS ─── */
.steps-vertical { display: grid; gap: 0; position: relative; padding-left: 40px; }
.steps-vertical::before {
  content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(31,111,214,0.10)); border-radius: 3px;
}
.step-item { position: relative; padding: 14px 0 18px; }
.step-item::before {
  content: attr(data-step); position: absolute; left: -40px; top: 16px;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--blue-soft); border: 2px solid var(--blue);
  color: var(--blue-dark); font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover::before {
  transform: scale(1.2);
  background: rgba(31,111,214,0.15);
  box-shadow: 0 0 0 6px rgba(31,111,214,0.06);
}
.step-item h4 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -0.01em; }
.step-item p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ─── THEMATIC NAV ─── */
.thematic-nav {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin-top: 16px;
}
.thematic-nav a {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(219,230,240,0.6);
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(21,52,86,0.04);
  transition: all 0.3s var(--ease-out-expo);
}
.thematic-nav a:hover {
  background: var(--blue-soft); border-color: rgba(31,111,214,0.18);
  color: var(--blue-dark); transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31,111,214,0.10);
}

@media (max-width: 980px) { .sectors-map-grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 980px) { .sectors-map-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .case-card { border-radius: 22px; } }

/* ═══ FAQ ACCORDION ═══ */
.faq-item {
  border: 1px solid rgba(219,230,240,0.6); border-radius: 18px;
  background: rgba(255,255,255,0.85); margin-bottom: 10px; overflow: hidden;
  backdrop-filter: blur(6px);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
}
.faq-item:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.faq-item[open] { border-color: rgba(31,111,214,0.18); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--blue);
  transition: transform 0.4s var(--ease-out-expo);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue-dark); }
.faq-item__body { padding: 0 20px 18px; color: var(--muted); line-height: 1.65; }

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .e57-reveal, .e57-reveal-card { opacity: 1; transform: none; }
}
