/* ============================================================
   AAA Digital — Restaurant Growth Engine
   Brand: electric blue #1F3BFF · accent yellow #FFE500
   Deep charcoal #0A0A0F · off-white #F5F3EE
   ============================================================ */

:root {
  --blue: #1F3BFF;
  --blue-dark: #1630CC;
  --blue-deep: #0E1E8A;
  --yellow: #FFE500;
  --ink: #0A0A0F;
  --ink-soft: #14141C;
  --paper: #F5F3EE;
  --paper-dim: #E8E4DA;
  --text-dark: #1A1A22;
  --text-mute-dark: #4A4A56;
  --text-mute-light: #B9B7C6;
  --radius: 18px;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--ink);
  padding: 10px 18px; z-index: 300; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(1160px, 92vw); margin-inline: auto; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .01em;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h2-dark { color: var(--text-dark); }
.h3 { font-size: 1.45rem; line-height: 1.15; }

.eyebrow {
  font-size: .78rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 14px;
}
.eyebrow-blue { color: var(--blue); }

.hl-yellow {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%);
  padding: 0 .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 0; border-radius: 999px;
  font-weight: 800; font-size: 1rem;
  padding: 16px 30px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 52px;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 28px rgba(31, 59, 255, .45);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(31, 59, 255, .55); }
.btn-yellow {
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 8px 24px rgba(255, 229, 0, .3);
}
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 229, 0, .4); }
.btn-ghost {
  background: transparent; color: var(--paper);
  border: 2px solid rgba(245, 243, 238, .35);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-onblue { box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn-back {
  background: transparent; color: var(--text-mute-dark);
  border: 2px solid var(--paper-dim); min-height: 52px;
}
.btn-back:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(112deg, rgba(10, 10, 15, .96) 0%, rgba(10, 10, 15, .88) 42%, rgba(31, 59, 255, .55) 100%),
    url('../img/bg-dining.jpg') center 30% / cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(58% 48% at 78% 30%, rgba(31, 59, 255, .35), transparent 70%);
}
.hero-inner {
  width: min(1240px, 94vw); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(31, 59, 255, .18);
  border: 1px solid rgba(31, 59, 255, .55);
  color: #C9D2FF;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 229, 0, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 229, 0, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 229, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 229, 0, 0); }
}

.hero-h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--text-mute-light);
  max-width: 34em; margin-bottom: 30px;
}
.hero-sub strong { color: var(--yellow); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.proof-row { display: flex; align-items: flex-end; gap: 6px; max-width: 780px; }
.proof-bar {
  position: relative;
  flex: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  border: 1px solid rgba(245, 243, 238, .14);
  background: rgba(20, 20, 28, .6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .92rem; color: var(--text-mute-light);
}
.proof-item strong { color: var(--yellow); font-weight: 800; }
.proof-sep { width: 1px; height: 22px; background: rgba(245, 243, 238, .18); }
.proof-cats { font-size: .82rem; letter-spacing: .02em; }
.proof-flag {
  position: absolute; top: -11px; right: 14px;
  background: var(--yellow); color: var(--ink);
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; transform: rotate(1.5deg);
}

.hero-mascot {
  flex: 0 0 auto;
  width: 118px; height: auto;
  transform: rotate(-6deg) translateY(8px);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
  animation: mascot-bob 4s ease-in-out infinite;
}
@keyframes mascot-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}
.hero-copy { position: relative; padding-bottom: 30px; }

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 19;
  background: #050508;
  border-radius: 46px;
  padding: 11px;
  border: 2px solid #2B2B38;
  box-shadow:
    0 0 0 5px #101018,
    0 40px 80px rgba(0, 0, 0, .6),
    0 0 90px rgba(31, 59, 255, .28);
}
.phone::before, .phone::after {
  content: ''; position: absolute; background: #2B2B38; border-radius: 3px;
}
.phone::before { right: -8px; top: 21%; width: 4px; height: 64px; }
.phone::after { left: -8px; top: 16%; width: 4px; height: 40px; box-shadow: 0 56px 0 #2B2B38; }
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: #050508;
  border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden; background: #000;
}
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-shadow {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 59, 255, .5), transparent);
  filter: blur(6px); z-index: -1;
}

.booking-card {
  position: absolute; left: 7%; right: 7%; top: 12%;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  animation: booking-pop 7s ease-in-out infinite;
  z-index: 2;
}
@keyframes booking-pop {
  0%, 8% { opacity: 0; transform: translateY(-26px) scale(.92); }
  15%, 82% { opacity: 1; transform: translateY(0) scale(1); }
  90%, 100% { opacity: 0; transform: translateY(-14px) scale(.96); }
}
.booking-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
}
.booking-text { display: flex; flex-direction: column; line-height: 1.3; }
.booking-text strong { font-size: .88rem; }
.booking-text span { font-size: .76rem; color: #55555F; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-light { background: var(--paper); color: var(--text-dark); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); position: relative; }
.center-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }
.head-mascot { width: 58px; height: auto; margin-bottom: 6px; }

.ribbon {
  display: inline-block; margin-top: 14px;
  background: var(--yellow); color: var(--ink);
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; transform: rotate(-1.2deg);
}

/* ============================================================
   SECTION 2 — Agitation
   ============================================================ */
.agitation { overflow: hidden; }
.agitation-photo {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 15, .97) 0%, rgba(10, 10, 15, .92) 55%, rgba(10, 10, 15, .75) 100%),
    url('../img/bg-dining.jpg') center / cover no-repeat;
  filter: saturate(.85);
}
.agitation-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.agitation-body { margin-top: 24px; display: grid; gap: 18px; color: var(--text-mute-light); max-width: 36em; }
.agitation-body strong { color: var(--paper); }
.agitation-punch {
  color: var(--yellow) !important; font-weight: 700; font-size: 1.08rem;
  border-left: 3px solid var(--yellow); padding-left: 14px;
}
.agitation-right { position: relative; padding-top: 44px; }
.agitation-mascot {
  position: absolute; top: -6px; right: 26px; z-index: 2;
  width: 84px; height: auto;
  transform: rotate(5deg);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
.blue-card {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 120%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 30px 70px rgba(31, 59, 255, .35);
  display: grid; gap: 18px;
  font-size: 1.06rem;
}
.blue-card strong { color: var(--yellow); }
.blue-card em { font-style: normal; text-decoration: underline 3px var(--yellow); text-underline-offset: 3px; }
.blue-card .btn { justify-self: start; margin-top: 6px; }

/* ============================================================
   SECTION 3 — Pillars
   ============================================================ */
.pillars { overflow: visible; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; position: relative;
}
.pillar-grid::after {
  content: ''; position: absolute; left: 50%; bottom: -66px;
  width: 92px; height: 138px; transform: translateX(-50%);
  background: url('../img/mascot.webp') center / contain no-repeat;
  filter: drop-shadow(0 10px 16px rgba(10, 10, 15, .25));
  pointer-events: none;
  animation: mascot-bob 4.4s ease-in-out infinite;
}
.pillar-card {
  background: #fff;
  border: 1px solid rgba(10, 10, 15, .07);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 18px 44px rgba(10, 10, 15, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(31, 59, 255, .16); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(31, 59, 255, .35);
}
.pillar-card .h3 { color: var(--text-dark); margin-bottom: 12px; }
.pillar-card p { color: var(--text-mute-dark); font-size: .97rem; margin-bottom: 18px; }
.pillar-card p em { color: var(--blue); font-style: normal; font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px;
  font-size: .9rem; font-weight: 600; color: var(--text-dark);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%230A0A0F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ============================================================
   SECTION 4 — Unit economics
   ============================================================ */
.unit-econ { overflow: hidden; }
.unit-econ-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(200deg, rgba(10, 10, 15, .96) 30%, rgba(14, 30, 138, .5) 100%),
    url('../img/bg-guest.jpg') right center / min(620px, 60%) auto no-repeat;
  opacity: .9;
}
.unit-econ .container { position: relative; z-index: 1; }
.econ-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(30px, 4vw, 56px); align-items: start;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.econ-steps { display: grid; gap: 20px; }
.econ-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(20, 20, 28, .75);
  border: 1px solid rgba(245, 243, 238, .1);
  border-radius: 16px; padding: 20px 22px;
  backdrop-filter: blur(6px);
}
.econ-step strong { color: var(--yellow); }
.step-num {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 1.2rem;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(31, 59, 255, .4);
}
.econ-step p { color: var(--text-mute-light); font-size: .96rem; }
.econ-step p strong { color: var(--paper); }
.econ-step p strong:first-of-type { color: var(--yellow); }

.calc-card {
  position: sticky; top: 24px;
  background: linear-gradient(160deg, #16161F, #0C0C12);
  border: 1px solid rgba(255, 229, 0, .3);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
}
.calc-mascot { width: 70px; height: auto; margin: -66px 0 8px auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.calc-label {
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mute-light); margin-bottom: 18px;
}
.calc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(245, 243, 238, .05);
  font-size: .95rem; color: var(--text-mute-light);
}
.calc-row strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: .02em; }
.calc-row-final { background: rgba(255, 229, 0, .12); border: 1px solid rgba(255, 229, 0, .4); }
.calc-row-final strong { color: var(--yellow); }
.calc-arrow { text-align: center; color: var(--blue); font-size: 1.2rem; line-height: 1.4; }

/* ROI table */
.table-wrap {
  overflow-x: auto; border-radius: 18px;
  border: 1px solid rgba(245, 243, 238, .12);
  background: rgba(20, 20, 28, .8);
  backdrop-filter: blur(6px);
}
.roi-table, .case-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.roi-table th, .roi-table td,
.case-table th, .case-table td { padding: 15px 18px; text-align: left; font-size: .92rem; }
.roi-table thead th {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute-light); font-weight: 800;
  border-bottom: 1px solid rgba(245, 243, 238, .14);
}
.roi-table tbody td { color: var(--paper); border-bottom: 1px solid rgba(245, 243, 238, .07); font-weight: 600; }
.roi-table tbody tr:last-child td { border-bottom: 0; }
.roi-starter { background: rgba(255, 229, 0, .12); }
.roi-starter td { color: var(--yellow) !important; }
.roi-starter td:first-child { border-left: 3px solid var(--yellow); }
.starter-tag {
  display: inline-block; margin-left: 8px;
  background: var(--yellow); color: var(--ink);
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}
.fine-print { font-size: .76rem; color: var(--text-mute-light); max-width: 72em; margin-top: 16px; opacity: .85; }

/* ============================================================
   SECTION 5 — Case studies
   ============================================================ */
.cases .section-head { position: relative; }
.cases .ribbon { position: absolute; left: 0; top: 100%; margin-top: 4px; }
.case-block {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 0; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid rgba(10, 10, 15, .07);
  box-shadow: 0 20px 50px rgba(10, 10, 15, .08);
  margin-top: clamp(30px, 4vw, 48px);
}
.case-block-alt { grid-template-columns: 1.15fr .85fr; }
.case-block-alt .case-photo { order: 2; }
.case-photo { min-height: 320px; background-size: cover; background-position: center; }
.case-photo-1 {
  background-image:
    linear-gradient(rgba(10,10,15,.15), rgba(10,10,15,.35)),
    url('../img/bg-dining.jpg');
}
.case-photo-2 {
  background-image:
    linear-gradient(rgba(10,10,15,.15), rgba(10,10,15,.35)),
    url('../img/bg-guest.jpg');
}
.case-card { padding: clamp(26px, 3.4vw, 44px); }
.case-card .h3 { color: var(--text-dark); margin-bottom: 18px; }
.case-card blockquote {
  border-left: 4px solid var(--blue);
  padding: 4px 0 4px 18px; margin-bottom: 22px;
  color: var(--text-dark); font-size: 1.04rem;
}
.case-card cite { display: block; margin-top: 8px; font-size: .86rem; font-style: normal; color: var(--text-mute-dark); font-weight: 600; }
.table-wrap-sm { border: 1px solid rgba(10, 10, 15, .1); background: var(--paper); margin-bottom: 18px; }
.case-table th {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute-dark); border-bottom: 1px solid rgba(10, 10, 15, .12);
}
.case-table td { color: var(--text-dark); border-bottom: 1px solid rgba(10, 10, 15, .06); font-weight: 600; font-size: .88rem; }
.case-table td:first-child { color: var(--text-mute-dark); font-weight: 500; }
.case-table tbody tr:last-child td { border-bottom: 0; }
.case-body { font-size: .9rem; color: var(--text-mute-dark); }

/* ============================================================
   SECTION 6 — Exclusivity & FAQ
   ============================================================ */
.excl-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 52px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.excl-card {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 120%);
  color: #fff; border-radius: 24px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 26px 60px rgba(31, 59, 255, .3);
  display: grid; gap: 22px; font-size: 1.05rem;
}
.excl-card strong { color: var(--yellow); }
.excl-card .btn { justify-self: start; }
.zone-map svg { width: 100%; height: auto; }
.pin-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: var(--text-dark); }
.pin-status { font-family: var(--font-body); font-size: 9.5px; font-weight: 800; letter-spacing: .12em; fill: #B0432F; }
.pin-status-open { fill: var(--blue); }

.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid rgba(10, 10, 15, .09);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[data-open="true"] { box-shadow: 0 14px 34px rgba(31, 59, 255, .12); border-color: rgba(31, 59, 255, .4); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left;
  padding: 20px 24px;
  font-size: 1.04rem; font-weight: 700; color: var(--text-dark);
  min-height: 56px;
}
.faq-chev {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper-dim);
  position: relative; transition: transform .25s ease, background .25s ease;
}
.faq-chev::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230A0A0F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.faq-item[data-open="true"] .faq-chev { transform: rotate(180deg); background: var(--yellow); }
.faq-a { padding: 0 24px 22px; color: var(--text-mute-dark); font-size: .96rem; }
.faq-a strong { color: var(--text-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); padding: 34px 0 110px; border-top: 1px solid rgba(245, 243, 238, .08); }
.footer-inner { display: flex; align-items: center; gap: 18px; }
.footer-inner img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.footer-brand { font-weight: 800; letter-spacing: .02em; }
.footer-line { font-size: .82rem; color: var(--text-mute-light); }
.footer-flag { color: var(--yellow); opacity: .9; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 15, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(245, 243, 238, .12);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ============================================================
   FORM MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 10, .78); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; width: min(560px, 100%);
  max-height: min(88vh, 860px); overflow-y: auto;
  background: var(--paper); color: var(--text-dark);
  border-radius: 24px; padding: clamp(24px, 3.4vw, 38px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  animation: modal-in .3s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper-dim); border: 0; color: var(--text-dark);
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--yellow); }
.modal-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.modal-head img { width: 52px; height: auto; filter: drop-shadow(0 6px 10px rgba(10,10,15,.25)); }
.modal-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.modal-title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; color: var(--text-dark); }

.progress { height: 7px; border-radius: 999px; background: var(--paper-dim); overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .35s ease; }
.progress-text { font-size: .8rem; font-weight: 700; color: var(--text-mute-dark); margin-bottom: 18px; }
.form-status { font-size: .9rem; font-weight: 700; color: #B0432F; margin-bottom: 10px; min-height: 1.2em; }
.form-status.ok { color: #1F7A3D; }

.field { margin-bottom: 16px; border: 0; }
.field label, .field legend { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 7px; color: var(--text-dark); }
.req { color: #B0432F; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; min-height: 52px;
  border: 2px solid rgba(10, 10, 15, .14); border-radius: 13px;
  background: #fff; padding: 12px 16px;
  font-family: inherit; font-size: 1rem; color: var(--text-dark);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 59, 255, .14); }
.field input[aria-invalid="true"] { border-color: #B0432F; }
.phone-input { display: flex; align-items: stretch; border: 2px solid rgba(10, 10, 15, .14); border-radius: 13px; background: #fff; overflow: hidden; }
.phone-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 59, 255, .14); }
.phone-input input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.phone-prefix {
  display: grid; place-items: center; padding: 0 14px;
  background: var(--paper-dim); font-weight: 800; color: var(--text-mute-dark);
  border-right: 2px solid rgba(10, 10, 15, .08);
}
.field-hint { font-size: .78rem; color: var(--text-mute-dark); margin-top: 5px; }
.field-error { font-size: .8rem; color: #B0432F; font-weight: 600; margin-top: 5px; }
.form-fine { font-size: .76rem; color: var(--text-mute-dark); text-align: center; margin-top: 12px; }

.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.radio-card { position: relative; display: block; }
.radio-card input { position: absolute; opacity: 0; inset: 0; }
.radio-card span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 10px 12px;
  border: 2px solid rgba(10, 10, 15, .14); border-radius: 13px;
  background: #fff; font-size: .92rem; font-weight: 700; color: var(--text-dark);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.radio-card:hover span { border-color: rgba(31, 59, 255, .5); }
.radio-card input:checked + span {
  border-color: var(--blue); background: rgba(31, 59, 255, .07);
  box-shadow: 0 0 0 3px rgba(31, 59, 255, .15);
}
.radio-card input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.radio-card input:checked + span::before {
  content: ''; width: 18px; height: 18px; margin-right: 8px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='%231F3BFF'/%3E%3Cpath d='M7 12.5l3.4 3.4L17 9' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.step2-actions { display: flex; gap: 12px; margin-top: 20px; }

/* ============================================================
   THANK-YOU PAGE
   ============================================================ */
.ty-body { background: var(--ink); min-height: 100svh; display: flex; flex-direction: column; }
.ty-main { flex: 1; display: flex; align-items: center; padding: 56px 0 80px; position: relative; overflow: hidden; }
.ty-bg { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,10,15,.97) 30%, rgba(14,30,138,.55) 100%), url('../img/bg-dining.jpg') center / cover no-repeat; }
.ty-card {
  position: relative; width: min(860px, 94vw); margin-inline: auto;
  background: var(--paper); color: var(--text-dark);
  border-radius: 28px; padding: clamp(30px, 4.5vw, 56px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .6);
}
.ty-mascot { position: absolute; top: -58px; right: 26px; width: 108px; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); transform: rotate(4deg); }
.ty-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.ty-h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 3rem); text-transform: uppercase; line-height: 1.04; color: var(--text-dark); margin-bottom: 18px; max-width: 22em; }
.ty-body-copy { color: var(--text-mute-dark); font-size: 1.02rem; max-width: 40em; margin-bottom: 26px; }
.ty-body-copy strong { color: var(--text-dark); }
.ty-vip-block {
  background: rgba(31, 59, 255, .08); border: 1px solid rgba(31, 59, 255, .35);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 24px;
  font-weight: 600; color: var(--blue-deep); font-size: .96rem;
}
.ty-steps { list-style: none; counter-reset: tystep; display: grid; gap: 12px; margin: 26px 0; }
.ty-steps li {
  counter-increment: tystep; position: relative; padding-left: 44px;
  font-weight: 600; color: var(--text-dark); font-size: .96rem;
}
.ty-steps li::before {
  content: counter(tystep); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: .95rem;
  display: grid; place-items: center;
}
.ty-founder {
  display: flex; gap: 16px; align-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 16px; padding: 18px 20px; margin-bottom: 26px;
}
.ty-founder video, .ty-founder .ty-founder-ph {
  width: 96px; height: 148px; object-fit: cover;
  border-radius: 12px; background: #22222C; flex: 0 0 auto;
}
.ty-founder .ty-founder-ph {
  display: grid; place-items: center; text-align: center;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute-light); padding: 8px; line-height: 1.5;
}
.ty-founder p { font-size: .92rem; color: var(--text-mute-light); font-style: italic; }
.ty-founder p strong { color: var(--yellow); font-style: normal; }

.ty-cal-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.ty-cal-frame-wrap { position: relative; border: 1px solid rgba(10,10,15,.12); border-radius: 16px; overflow: hidden; background: #fff; }
.ty-cal-shell {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--paper); text-align: center; padding: 24px;
  font-weight: 700; color: var(--text-dark); font-size: .95rem;
}
.ty-cal-shell span { font-weight: 500; font-size: .82rem; color: var(--text-mute-dark); }
.ty-cal-shell { z-index: 2; }
.ty-cal-shell > svg { margin-bottom: 2px; }
.ty-cal-frame-wrap.cal-loaded .ty-cal-shell { display: none; }
.ty-cal-frame { position: relative; z-index: 1; width: 100%; height: 560px; border: 0; background: transparent; visibility: hidden; }
.ty-cal-frame-wrap.cal-loaded .ty-cal-frame { visibility: visible; }
.ty-cal-note { font-size: .8rem; color: var(--text-mute-dark); padding: 12px 16px; border-top: 1px solid rgba(10,10,15,.08); }
.ty-wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.ty-wa-link:hover { color: var(--blue-deep); }
.ty-flag-note { margin-top: 26px; font-size: .78rem; color: var(--text-mute-dark); }

/* Variant B */
.ty-audit-btn { margin: 6px 0 20px; }
.ty-tynote { font-size: .86rem; color: var(--text-mute-dark); }
.ty-tynote strong { color: #1F7A3D; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 72px; }
  .hero-visual { order: -1; }
  .phone { width: min(200px, 58vw); }
  .hero-mascot { display: none; }
  .agitation-grid, .econ-grid, .excl-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid::after { display: none; }
  .case-block, .case-block-alt { grid-template-columns: 1fr; }
  .case-block-alt .case-photo { order: 0; }
  .case-photo { min-height: 220px; }
  .calc-card { position: static; }
  .calc-mascot { margin-top: -70px; }
  .unit-econ-bg { background: linear-gradient(200deg, rgba(10,10,15,.96) 30%, rgba(14,30,138,.5) 100%); opacity: 1; }
  .proof-bar { gap: 8px 12px; font-size: .85rem; }
  .proof-cats { width: 100%; }
  .footer { padding-bottom: 130px; }
  .ty-cal-frame { height: 480px; }
}

@media (max-width: 640px) {
  .hero-ctas .btn { width: 100%; }
  .radio-grid { grid-template-columns: 1fr; }
  .step2-actions { flex-direction: column-reverse; }
  .btn-back { width: 100%; }
  .proof-sep { display: none; }
  .proof-item { width: 100%; }
  .booking-card { left: 4%; right: 4%; }
  .ty-mascot { width: 76px; top: -42px; right: 14px; }
  .ty-founder { flex-direction: column; align-items: flex-start; }

  /* ROI table → stacked cards */
  .roi-table { min-width: 0; }
  .roi-table thead { display: none; }
  .roi-table tbody tr { display: block; padding: 12px 16px; border-bottom: 1px solid rgba(245, 243, 238, .12); }
  .roi-table tbody tr:last-child { border-bottom: 0; }
  .roi-table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border: 0; padding: 7px 0; }
  .roi-table tbody td::before {
    content: attr(data-th);
    font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-mute-light); font-weight: 800;
  }
  .roi-starter td:first-child { border-left: 0; }
  .table-wrap { border-radius: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
