/* ============================================================================
   Mac&Mad — Restaurant Delivery Growth Partner
   Light, modern, funnel-style site. Airy off-white base, emerald-green + blue
   accents, bento grids, centered compositions, generous whitespace.
   Type: Bricolage Grotesque (display) · Hanken Grotesk (body) · DM Mono (labels)
   ========================================================================== */

:root {
  /* surfaces */
  --bg:      #f4f6f4;   /* page background — soft off-white */
  --surface: #ffffff;   /* cards, header */
  --mint:    #e6f5ec;   /* soft green tint */
  --sky:     #e9f1fc;   /* soft blue tint */
  --cloud:   #eceeea;   /* soft neutral tint */

  /* ink */
  --ink:    #0e1a16;    /* headings, near-black */
  --body:   #45524c;    /* body text */
  --muted:  #6c7872;    /* muted text */
  --line:   #e4e7e2;    /* borders */
  --line-2: #d6dad2;

  /* green — primary accent */
  --green:      #14c088;   /* bright accent (buttons, highlights, manifesto) */
  --green-deep: #0a7c53;   /* green text/links on light backgrounds */
  --green-ink:  #04271a;   /* dark text on green surfaces */
  --green-2:    #0f9e6f;

  /* blue — secondary accent */
  --blue:      #2e86e6;
  --blue-deep: #1d5fb0;

  --wa:        #1faa52;
  --wa-bright: #25d366;
  --gold:      #f5b62e;

  --grad-green: linear-gradient(135deg, #1ed699, #0fa06c);

  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(14,26,22,.04), 0 3px 10px rgba(14,26,22,.05);
  --sh-2: 0 2px 6px rgba(14,26,22,.05), 0 12px 30px -8px rgba(14,26,22,.10);
  --sh-3: 0 6px 14px -6px rgba(14,26,22,.08), 0 26px 56px -18px rgba(14,26,22,.18);
  --sh-green: 0 10px 26px -8px rgba(16,181,126,.45);

  --header-h: 74px;
  --wrap: 1240px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6;
  color: var(--body); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.16em; fill: none; flex-shrink: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 14px; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cdd3cc; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b6bdb4; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px,5vw,56px); width: 100%; }
section { position: relative; }
[id] { scroll-margin-top: 92px; }
.section { padding: clamp(68px, 9vw, 134px) 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep);
  background: var(--mint); border: 1px solid rgba(10,124,83,.16);
  padding: 7px 13px; border-radius: var(--r-pill);
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.kicker-blue { color: var(--blue-deep); background: var(--sky); border-color: rgba(29,95,176,.16); }
.kicker-blue .kicker-dot { background: var(--blue); }

.sec-head { max-width: 680px; margin: 0 auto clamp(44px,5vw,68px); text-align: center; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; }
.sec-lead { font-size: clamp(1.04rem,1.5vw,1.2rem); color: var(--muted); margin-top: 18px; line-height: 1.6; }

.hl { color: var(--green-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill);
  border: 1.6px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .22s cubic-bezier(.34,1.4,.64,1), box-shadow .22s, background .2s, color .2s, border-color .2s;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: var(--sh-green); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -8px rgba(16,181,126,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--green-deep); color: var(--green-deep); transform: translateY(-3px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(31,170,82,.55); filter: brightness(1.07); }
.btn-sm { padding: 11px 17px; font-size: .9rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(-1px) scale(.99); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .96rem; color: var(--green-deep); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translate(3px,-3px); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ic { width: 16px; height: 16px; }
.stars.sm .ic { width: 13px; height: 13px; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-green); z-index: 200; }

/* ============================================================================
   ANNOUNCEMENT
   ========================================================================== */
.announce { background: var(--mint); color: var(--ink); font-size: .85rem; font-weight: 500; position: relative; z-index: 90; border-bottom: 1px solid rgba(10,124,83,.14); }
.announce.hidden { display: none; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 0; min-height: 40px; }
.announce-inner p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.announce-dot { color: var(--green-deep); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.announce a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--green-deep); }
.announce a .ic { width: 13px; height: 13px; }
.announce-x { position: absolute; right: clamp(16px,5vw,40px); display: flex; padding: 6px; border: none; background: transparent; color: var(--muted); border-radius: 8px; }
.announce-x:hover { background: rgba(10,124,83,.12); color: var(--ink); }
.announce-x .ic { width: 15px; height: 15px; }

/* ============================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,246,244,.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14,26,22,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; transition: height .25s; }
.site-header.scrolled .brand-logo { height: 38px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-word span { color: var(--green-deep); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-weight: 600; font-size: .94rem; color: var(--body); padding: 9px 14px; border-radius: var(--r-sm); transition: color .18s, background .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(14,26,22,.05); }
.nav-links a[aria-current="page"] { color: var(--green-deep); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 11px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 14px clamp(20px,5vw,56px) 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; animation: slideDown .28s ease; }
.mobile-nav a:not(.btn) { font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: 13px 8px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 10px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(48px,7vw,96px) 0 clamp(60px,8vw,108px); overflow: hidden; }
.hero-atmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bloom { position: absolute; border-radius: 50%; filter: blur(80px); }
.bloom-1 { width: 460px; height: 460px; background: rgba(20,192,136,.20); top: -160px; left: -80px; }
.bloom-2 { width: 420px; height: 420px; background: rgba(46,134,230,.16); top: -120px; right: -90px; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .kicker { margin-bottom: 22px; }
.hero-h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.0; letter-spacing: -0.035em; }
.hero-h1 .hl { color: var(--green-deep); }
.hero-sub { font-size: clamp(1.06rem,1.6vw,1.28rem); color: var(--body); margin: 24px auto 0; max-width: 620px; line-height: 1.6; }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero-trust strong { color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.ht-stars { display: flex; align-items: center; gap: 8px; }
.ht-sep { width: 1px; height: 26px; background: var(--line-2); }
.ht-avatars { display: flex; }
.ht-avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .68rem; color: #fff;
}
.ht-avatars span:first-child { margin-left: 0; }

/* hero showcase — bento dashboard tiles */
.hero-showcase {
  margin-top: clamp(40px,5vw,64px);
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px;
}
.show-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2); text-align: left; }
.show-chart { display: flex; flex-direction: column; }
.show-head { display: flex; align-items: center; justify-content: space-between; }
.show-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.show-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .66rem; color: var(--green-deep); text-transform: uppercase; letter-spacing: .08em; }
.show-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(20,192,136,.2); }
.show-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem,3vw,2.6rem); color: var(--ink); margin-top: 6px; letter-spacing: -0.03em; }
.show-spark { width: 100%; height: 96px; margin-top: auto; display: block; }
.hf-line { stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.4s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.show-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.show-pill { font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: var(--green-deep); background: var(--mint); padding: 4px 10px; border-radius: 999px; }
.show-foot small { color: var(--muted); font-size: .78rem; }
.show-mini { display: flex; flex-direction: column; justify-content: center; }
.show-mini .sm-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.show-mini .sm-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,2.6vw,2.4rem); color: var(--ink); margin-top: 4px; letter-spacing: -0.02em; }
.show-mini .stars { margin-top: 6px; }
.show-mini .sm-sub { font-size: .78rem; color: var(--green-deep); font-weight: 600; margin-top: 8px; }
.show-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 10px; }
.show-bars span { flex: 1; height: var(--h); background: var(--sky); border-radius: 4px; }
.show-bars span.lit { background: var(--blue); }

/* ============================================================================
   MARQUEE
   ========================================================================== */
.marquee-sec { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.marquee-label { text-align: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: var(--ink); }
.marquee-track i { color: var(--green); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   PROBLEM — centered editorial list
   ========================================================================== */
.problem { background: var(--bg); }
.problem-list { max-width: 800px; margin: 0 auto; }
.leak {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 26px 4px; border-top: 1px solid var(--line);
}
.leak:last-child { border-bottom: 1px solid var(--line); }
.leak-num { font-family: var(--font-mono); font-size: .92rem; color: var(--green-deep); }
.leak-body h3 { font-size: clamp(1.2rem,2vw,1.5rem); color: var(--ink); }
.leak-body p { color: var(--muted); margin-top: 4px; font-size: .98rem; }
.leak-cost { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #d6473e; white-space: nowrap; }
@media (max-width: 600px) { .leak { grid-template-columns: auto 1fr; } .leak-cost { grid-column: 2; } }

/* ============================================================================
   SERVICES — bento
   ========================================================================== */
.services { background: var(--surface); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.btile {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px,2.6vw,32px);
  transition: transform .26s, box-shadow .26s, border-color .26s;
}
.btile:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(20,192,136,.4); }
.bento > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.bento > :nth-child(2) { grid-column: span 3; }
.bento > :nth-child(3) { grid-column: span 3; }
.bento > :nth-child(4) { grid-column: span 3; }
.bento > :nth-child(5) { grid-column: span 3; }
.btile-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--green-deep); }
.btile-icon .ic { width: 26px; height: 26px; }
.btile h3 { font-size: 1.3rem; margin-top: 18px; }
.btile p { margin-top: 9px; color: var(--body); font-size: .98rem; line-height: 1.6; }
.btile-ticks { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.btile-ticks li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.btile-ticks .ic { width: 17px; height: 17px; color: var(--green-deep); }
/* flagship tile */
.btile-flag { background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.btile-flag:hover { border-color: transparent; }
.btile-flag h3 { color: #fff; font-size: clamp(1.5rem,2.2vw,2rem); }
.btile-flag p { color: rgba(255,255,255,.72); }
.btile-flag .btile-icon { background: rgba(20,192,136,.18); color: var(--green); }
.btile-flag .btile-ticks li { color: #fff; }
.btile-flag .btile-ticks .ic { color: var(--green); }
.btile-flag .flag-viz {
  margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; gap: 7px; height: 90px;
}
.flag-viz span { flex: 1; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.1); height: var(--h); }
.flag-viz span.lit { background: var(--grad-green); }

/* ============================================================================
   MANIFESTO — "The shift" — photo-backed statement
   ----------------------------------------------------------------------------
   To use a real photo: save a professional, related image (a kitchen, a chef,
   plated food, a delivery scene) as  the-shift.jpg  in this project folder.
   It appears automatically under the green overlay. With no file present, a
   designed deep-green gradient is shown instead — nothing breaks.
   ========================================================================== */
.manifesto {
  overflow: hidden;
  background-color: #06301f;
  background-image:
    linear-gradient(118deg, rgba(4,28,19,.92) 0%, rgba(6,54,37,.78) 52%, rgba(9,82,55,.6) 100%),
    url('the-shift.jpg');
  background-size: cover;
  background-position: center;
  padding: clamp(94px, 14vw, 188px) 0;
}
.manifesto-inner { text-align: center; max-width: 980px; margin: 0 auto; position: relative; }
.manifesto .kicker { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); margin-bottom: 26px; }
.manifesto .kicker-dot { background: var(--green); }
.manifesto-h {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.1;
  letter-spacing: -0.025em; color: #fff;
}
.manifesto-h em { font-style: italic; color: var(--green); }
.manifesto-sub { margin: 24px auto 0; max-width: 600px; color: rgba(255,255,255,.82); font-size: clamp(1.04rem,1.5vw,1.18rem); line-height: 1.6; }
.manifesto .btn { margin-top: 32px; }

/* ============================================================================
   RESULTS — stat band
   ========================================================================== */
.results { background: var(--bg); }
.stat-band {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-1);
}
.stat-cell { padding: clamp(28px,3.4vw,46px) clamp(20px,2.4vw,32px); border-left: 1px solid var(--line); text-align: center; }
.stat-cell:first-child { border-left: none; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,4.2vw,3.6rem); line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(140deg, var(--green-deep), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-cell p { color: var(--body); margin-top: 10px; font-size: .94rem; line-height: 1.45; }

/* ============================================================================
   CALCULATOR — centered card
   ========================================================================== */
.calc { background: var(--surface); }
.calc-card {
  max-width: 920px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px,3.4vw,46px); box-shadow: var(--sh-2);
}
.calc-grid-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.field-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.field-top label { font-weight: 600; color: var(--ink); font-size: .98rem; }
.field-val { display: inline-flex; align-items: center; gap: 4px; border: 1.6px solid var(--line-2); border-radius: var(--r-sm); padding: 6px 11px; background: var(--bg); transition: border-color .18s, box-shadow .18s; }
.field-val:focus-within { border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(20,192,136,.16); }
.cur { color: var(--muted); font-weight: 700; font-size: .84rem; }
.field-val input { border: none; background: transparent; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); width: 88px; text-align: right; }
.field-val input:focus { outline: none; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 7px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--p,30%), var(--line) var(--p,30%)); cursor: pointer;
}
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: var(--sh-1); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
.slider::-moz-range-track { height: 7px; border-radius: 999px; background: transparent; }
.calc-aov { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 14px 18px; background: var(--sky); border-radius: var(--r); }
.calc-aov span { font-size: .92rem; color: var(--blue-deep); font-weight: 600; }
.calc-aov strong { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--blue-deep); }
.calc-hint { margin-top: 12px; font-size: .82rem; color: var(--muted); }

.calc-output {
  margin-top: 22px; padding: clamp(24px,3vw,38px);
  background: var(--grad-green); border-radius: var(--r-lg); color: var(--green-ink); text-align: center;
}
.result-label { font-size: .86rem; color: rgba(4,39,26,.62); font-weight: 600; }
.result-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.9rem,6vw,4.3rem); line-height: 1; color: var(--green-ink); margin-top: 8px; letter-spacing: -0.03em; }
.result-gains { display: flex; gap: 14px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.gain { background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.55); border-radius: var(--r); padding: 14px 22px; min-width: 170px; }
.gain span { font-size: .78rem; color: rgba(4,39,26,.6); display: block; }
.gain strong { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; color: var(--green-ink); display: block; margin-top: 3px; }
.gain-year strong { color: var(--green-2); }
.calc-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.cbar-meta { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .82rem; }
.cbar-meta span { color: rgba(4,39,26,.62); }
.cbar-meta b { font-family: var(--font-display); color: var(--green-ink); }
.cbar-track { height: 13px; border-radius: 999px; background: rgba(4,39,26,.14); overflow: hidden; }
.cbar-fill { height: 100%; width: 0; border-radius: 999px; transition: width .8s cubic-bezier(.34,1,.4,1); position: relative; }
.cbar-now { background: rgba(4,39,26,.34); }
.cbar-on { background: var(--ink); }
.cbar-badge { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800; font-size: .7rem; color: var(--green); }
.calc-breakdown { margin-top: 20px; font-size: .86rem; color: rgba(4,39,26,.72); }
.calc-breakdown b { color: var(--green-ink); font-family: var(--font-display); }
.calc-output .btn { margin-top: 20px; }
.calc-disclaimer { margin-top: 14px; font-size: .74rem; color: rgba(4,39,26,.56); line-height: 1.5; }

/* ============================================================================
   CASES — infinite auto-scrolling loop
   ========================================================================== */
.cases { background: var(--bg); }
.cases-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.cases-head .sec-head { margin: 0; text-align: left; max-width: 620px; }
.cases-head .sec-head .kicker { margin-bottom: 16px; }
.case-marquee {
  overflow: hidden; padding: 6px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.cm-track { display: flex; gap: 22px; width: max-content; padding-inline: 11px; animation: marquee 64s linear infinite; }
.case-marquee:hover .cm-track,
.case-marquee:focus-within .cm-track { animation-play-state: paused; }
.case-card {
  flex: 0 0 340px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-align: left; display: flex; flex-direction: column; padding: 0;
  transition: transform .26s, box-shadow .26s, border-color .26s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: rgba(20,192,136,.45); }
.case-cover { position: relative; overflow: hidden; aspect-ratio: 3/2; padding: 18px; display: flex; flex-direction: column; }
.cc-char { position: absolute; right: -10px; bottom: -42px; font-family: var(--font-display); font-weight: 800; font-size: 8.5rem; color: rgba(255,255,255,.15); line-height: 1; }
.cc-tag { align-self: flex-start; position: relative; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); padding: 4px 11px; border-radius: 999px; }
.cc-stat { margin-top: auto; position: relative; }
.cc-stat b { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; display: block; line-height: 1; letter-spacing: -0.02em; }
.cc-stat span { font-size: .8rem; color: rgba(255,255,255,.85); }
.case-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-loc { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.case-card h3 { font-size: 1.28rem; color: var(--ink); margin-top: 7px; }
.case-card p { margin-top: 8px; color: var(--body); font-size: .95rem; line-height: 1.55; flex: 1; }
.case-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--green-deep); }
.case-go .ic { width: 15px; height: 15px; transition: transform .2s; }
.case-card:hover .case-go .ic { transform: translate(3px,-3px); }
.cases-foot { display: flex; justify-content: center; margin-top: 14px; }

.cover-g1 { background: linear-gradient(145deg,#1a8f6a,#0e5f9e); }
.cover-g2 { background: linear-gradient(145deg,#0e6f5a,#16c088); }
.cover-g3 { background: linear-gradient(145deg,#16559e,#2e86e6); }
.cover-g4 { background: linear-gradient(145deg,#0f8a5e,#2e86e6); }
.cover-g5 { background: linear-gradient(145deg,#1f7d52,#14c088); }
.cover-g6 { background: linear-gradient(145deg,#124a86,#1aa57a); }

/* ============================================================================
   PROCESS — animated horizontal flow
   ========================================================================== */
.process { background: var(--surface); }
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative; }
.flow::before {
  content: ''; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 14px);
}
.flow-line {
  position: absolute; top: 29px; left: 12%; width: 0; height: 4px; z-index: 0;
  border-radius: 4px; background: var(--grad-green);
  box-shadow: 0 0 14px rgba(20,192,136,.55);
  transition: width 1.9s cubic-bezier(.4,0,.12,1);
}
.flow.is-active .flow-line { width: 76%; }
.flow-spark {
  position: absolute; top: 31px; left: 12%; width: 9px; height: 9px; margin-top: -4px; z-index: 0;
  border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(20,192,136,.95); opacity: 0;
}
.flow.is-active .flow-spark { animation: flowSpark 3.2s 1.8s linear infinite; }
@keyframes flowSpark { 0%{left:12%;opacity:0} 12%{opacity:1} 86%{opacity:1} 100%{left:88%;opacity:0} }
.flow-step { text-align: center; position: relative; z-index: 1; }
.flow-node {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--surface); border: 2px solid var(--line-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center; position: relative;
  font-family: var(--font-mono); font-size: 1rem; box-shadow: 0 0 0 8px var(--surface);
  transition: border-color .45s ease, color .45s ease, background .45s ease, box-shadow .45s ease, transform .5s cubic-bezier(.34,1.5,.5,1);
}
.flow-node::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; }
.flow.is-active .flow-node {
  border-color: var(--green); color: var(--green-deep); background: var(--mint);
  box-shadow: 0 0 0 8px var(--surface), 0 9px 22px -6px rgba(20,192,136,.5);
  transform: scale(1.06);
}
.flow.is-active .flow-step:nth-child(1) .flow-node { transition-delay: .25s; }
.flow.is-active .flow-step:nth-child(2) .flow-node { transition-delay: .72s; }
.flow.is-active .flow-step:nth-child(3) .flow-node { transition-delay: 1.19s; }
.flow.is-active .flow-step:nth-child(4) .flow-node { transition-delay: 1.66s; }
.flow.is-active .flow-step:nth-child(1) .flow-node::after { animation: flowRing .9s ease-out .25s; }
.flow.is-active .flow-step:nth-child(2) .flow-node::after { animation: flowRing .9s ease-out .72s; }
.flow.is-active .flow-step:nth-child(3) .flow-node::after { animation: flowRing .9s ease-out 1.19s; }
.flow.is-active .flow-step:nth-child(4) .flow-node::after { animation: flowRing .9s ease-out 1.66s; }
@keyframes flowRing { 0%{transform:scale(.82);opacity:.75} 100%{transform:scale(1.7);opacity:0} }
.flow-step h3 { font-size: 1.18rem; }
.flow-step p { margin-top: 9px; color: var(--body); font-size: .95rem; line-height: 1.55; }

/* ============================================================================
   WHY + GUARANTEE — bento
   ========================================================================== */
.why { background: var(--bg); }
.why-bento { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.why-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px,2.6vw,32px);
  transition: transform .24s, box-shadow .24s;
}
.why-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.why-tile .ic { width: 26px; height: 26px; padding: 6px; box-sizing: border-box; background: var(--sky); color: var(--blue-deep); border-radius: 9px; }
.why-tile h3 { font-size: 1.18rem; margin-top: 16px; }
.why-tile p { margin-top: 8px; color: var(--body); font-size: .96rem; line-height: 1.58; }
.guarantee {
  grid-column: span 2;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--mint); color: var(--ink); border: 1px solid rgba(10,124,83,.22); border-radius: var(--r-lg);
  padding: clamp(28px,3.4vw,44px);
}
.guar-main { max-width: 560px; }
.guar-kick { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.guar-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem,2.4vw,2.1rem); color: var(--ink); line-height: 1.16; margin-top: 12px; letter-spacing: -0.02em; }
.guar-side { text-align: right; }
.guar-side .gs-num { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; color: var(--green-deep); line-height: 1; letter-spacing: -0.03em; }
.guar-side p { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ============================================================================
   TESTIMONIALS — marquee
   ========================================================================== */
.testimonials { background: var(--surface); overflow: hidden; }
.testi-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tm-track { display: flex; gap: 20px; width: max-content; animation: marquee 56s linear infinite; }
.testi-marquee:hover .tm-track { animation-play-state: paused; }
.tm-card { width: 380px; flex-shrink: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tm-stars { margin-bottom: 14px; }
.tm-card blockquote { color: var(--ink); font-size: 1.04rem; line-height: 1.6; font-weight: 500; }
.tm-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(140deg, var(--c1,#14c088), var(--c2,#2e86e6)); color: #fff; font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.tm-card figcaption strong { display: block; color: var(--ink); font-size: .94rem; }
.tm-card figcaption small { color: var(--muted); font-size: .82rem; }

/* ============================================================================
   FAQ — centered accordion
   ========================================================================== */
.faq { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(20,192,136,.45); box-shadow: var(--sh-1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 21px 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 22px; height: 22px; color: var(--green-deep); flex-shrink: 0; transition: transform .28s; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px 23px; }
.faq-a p { color: var(--body); font-size: .98rem; line-height: 1.65; }
.faq-item[open] .faq-a { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-more { text-align: center; margin-top: 32px; color: var(--muted); }
.faq-more a { color: var(--green-deep); font-weight: 700; }

/* ============================================================================
   CTA / FORM — centered
   ========================================================================== */
.audit { background: var(--mint); }
.audit-inner { max-width: 760px; margin: 0 auto; }
.audit-gets { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 8px; }
.audit-get { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); padding: 11px 17px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; color: var(--ink); }
.audit-get .ic { width: 18px; height: 18px; color: var(--green-deep); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px,3.4vw,42px); box-shadow: var(--sh-2); margin-top: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; text-align: left; }
.form-field label { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--green-deep); }
.opt { color: var(--muted); font-weight: 400; font-size: .8rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.6px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--bg);
  transition: border-color .18s, box-shadow .18s;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236c7872' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(20,192,136,.16); background: var(--surface); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa6a0; }
.form-field input.invalid, .form-field select.invalid { border-color: #d6473e; box-shadow: 0 0 0 4px rgba(214,71,62,.12); }
.form-card .btn-block { margin-top: 6px; }
.form-fineprint { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.5; }
.audit-or { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--muted); }
.audit-or a { color: var(--green-deep); font-weight: 700; }
.form-success { text-align: center; padding: clamp(20px,3vw,40px) 6px; }
.success-tick { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-green); animation: pop .5s cubic-bezier(.34,1.6,.5,1); }
.success-tick .ic { width: 36px; height: 36px; color: var(--green-ink); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h3 { font-size: 1.4rem; }
.form-success p { margin: 10px 0 20px; color: var(--body); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--cloud); border-top: 1px solid var(--line); padding: clamp(54px,7vw,84px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 38px; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); }
.footer-word span { color: var(--green-deep); }
.footer-brand p { margin: 14px 0 18px; font-size: .92rem; line-height: 1.6; color: var(--muted); max-width: 32ch; }
.footer-col h4 { color: var(--ink); font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: .92rem; color: var(--body); transition: color .18s; }
.footer-col a:hover { color: var(--green-deep); }
.footer-contact a { display: flex; align-items: center; gap: 9px; }
.footer-contact .ic, .footer-addr .ic { width: 17px; height: 17px; color: var(--green-deep); }
.footer-addr { display: flex; align-items: center; gap: 9px; font-size: .92rem; padding: 6px 0; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }

/* ============================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: flex; align-items: center; height: 58px; width: 58px;
  background: var(--wa-bright); color: #fff; border-radius: 999px;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.5); overflow: hidden;
  transition: width .3s cubic-bezier(.34,1.2,.5,1), transform .2s;
}
.wa-float .ic { width: 28px; height: 28px; min-width: 58px; height: 58px; padding: 15px; box-sizing: border-box; }
.wa-float-tip { white-space: nowrap; font-weight: 700; font-size: .92rem; padding-right: 22px; opacity: 0; transition: opacity .2s; }
.wa-float:hover { width: 186px; transform: translateY(-2px); }
.wa-float:hover .wa-float-tip { opacity: 1; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wa-bright); animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%,100% { transform: scale(1.5); opacity: 0; } }

/* ============================================================================
   CASE STUDIES PAGE
   ========================================================================== */
.case-hero { padding: clamp(46px,6vw,86px) 0 clamp(36px,4vw,56px); overflow: hidden; }
.case-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-bottom: 20px; transition: color .18s, gap .18s; }
.back-link:hover { color: var(--green-deep); gap: 11px; }
.back-link .ic { width: 16px; height: 16px; }
.case-hero .kicker { margin-bottom: 18px; }
.case-hero-h { font-size: clamp(2.6rem,6vw,4.6rem); line-height: 1.0; letter-spacing: -0.035em; }
.case-hero-h .hl { color: var(--green-deep); }
.case-hero-sub { margin-top: 18px; font-size: clamp(1.02rem,1.5vw,1.18rem); color: var(--body); line-height: 1.6; }
.case-hero-stats { display: flex; gap: clamp(24px,4vw,52px); justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.case-hero-stats div { display: flex; flex-direction: column; }
.case-hero-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--green-deep); line-height: 1; }
.case-hero-stats span { font-size: .84rem; color: var(--muted); margin-top: 6px; }

.case-lib { background: var(--bg); padding: clamp(40px,5vw,68px) 0 clamp(72px,9vw,120px); }
.case-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.case-lib-title { font-size: 1.36rem; }
.case-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-btn { font-family: var(--font-body); font-weight: 600; font-size: .88rem; padding: 9px 17px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--body); transition: all .18s; }
.filter-btn:hover { border-color: var(--green-deep); color: var(--green-deep); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px,1fr)); gap: 24px; }
.case-grid .case-card { flex: none; }
.case-empty { text-align: center; color: var(--muted); padding: 56px 0; }

.cta-band { background: var(--mint); text-align: center; }
.cta-band-inner { max-width: 700px; margin: 0 auto; }
.cta-band-inner .kicker { margin-bottom: 18px; }
.cta-band-h { font-size: clamp(2.1rem,4.6vw,3.6rem); line-height: 1.05; }
.cta-band-inner > p { margin-top: 16px; color: var(--body); font-size: 1.06rem; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================================
   CASE MODAL
   ========================================================================== */
.case-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14,26,22,.55); backdrop-filter: blur(6px); }
.case-modal.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-inner { background: var(--surface); border-radius: var(--r-xl); max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: var(--sh-3); animation: modalIn .35s cubic-bezier(.34,1.15,.5,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-1); }
.modal-close .ic { width: 20px; height: 20px; }
.modal-close:hover { transform: rotate(90deg); transition: transform .25s; }
.modal-cover { padding: 34px; position: relative; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.modal-cover-char { position: absolute; right: -14px; bottom: -52px; font-family: var(--font-display); font-weight: 800; font-size: 12rem; color: rgba(255,255,255,.15); line-height: 1; }
.modal-cover .cc-tag { margin-bottom: 12px; }
.modal-cover h3 { color: #fff; font-size: clamp(1.6rem,3vw,2.2rem); position: relative; }
.modal-area { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 6px; position: relative; font-family: var(--font-mono); }
.modal-body { padding: clamp(24px,3.5vw,38px); }
.modal-tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--green-deep); line-height: 1.45; }
.modal-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 22px 0; }
.modal-metric { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 14px; text-align: center; }
.mm-label { font-size: .78rem; color: var(--muted); }
.mm-after { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin: 4px 0 2px; }
.mm-before { font-size: .76rem; color: var(--muted); text-decoration: line-through; }
.mm-delta { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 800; color: var(--green-deep); background: var(--mint); padding: 2px 8px; border-radius: 999px; }
.modal-h { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; color: var(--ink); margin: 22px 0 10px; display: flex; align-items: center; gap: 9px; }
.modal-h::before { content: ''; width: 16px; height: 3px; border-radius: 2px; background: var(--green); }
.modal-body p { color: var(--body); line-height: 1.7; }
.modal-sol { margin-top: 10px; display: flex; flex-direction: column; gap: 9px; }
.modal-sol li { display: flex; gap: 10px; font-size: .96rem; color: var(--body); line-height: 1.55; }
.modal-sol .ic { width: 19px; height: 19px; color: var(--green-deep); flex-shrink: 0; margin-top: 3px; }
.modal-quote { margin-top: 22px; padding: 20px 22px; background: var(--mint); border-radius: var(--r); }
.modal-quote p { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); font-style: italic; }
.modal-quote .mq-by { margin-top: 10px; font-size: .86rem; color: var(--muted); font-style: normal; }
.modal-quote .mq-by strong { color: var(--ink); }
.modal-cta { margin-top: 24px; }

/* ============================================================================
   REVEAL
   ========================================================================== */
.reveal { transition: opacity .7s cubic-bezier(.22,.6,.36,1), transform .7s cubic-bezier(.22,.6,.36,1); transition-delay: calc(var(--i,0) * 80ms); }
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-showcase { grid-template-columns: 1fr 1fr; }
  .show-chart { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(4,1fr); }
  .bento > :nth-child(1) { grid-column: span 4; grid-row: span 1; }
  .bento > :nth-child(n+2) { grid-column: span 2; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .flow::before, .flow-line, .flow-spark { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-showcase { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > :nth-child(1), .bento > :nth-child(n+2) { grid-column: span 1; }
  .calc-grid-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-metrics { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-cell { border-left: none !important; border-top: 1px solid var(--line); }
  .stat-cell:first-child { border-top: none; }
  .flow { grid-template-columns: 1fr; }
  .why-bento { grid-template-columns: 1fr; }
  .guarantee { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band-actions .btn { flex: 1; min-width: 210px; }
  .guar-side { text-align: left; }
}
@media (max-width: 480px) {
  .case-card { flex-basis: 270px; }
  .wa-float:hover { width: 58px; }
  .wa-float:hover .wa-float-tip { opacity: 0; }
  .tm-card { width: 300px; }
}

/* ============================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track, .tm-track, .cm-track { animation: none; }
  .case-marquee { overflow-x: auto; }
  .flow.is-active .flow-line { width: 76%; }
  .wa-float::before { display: none; }
}
