/* =====================================================================
   AmazeTech Travel Landing Page — v5
   All rules scoped under .atx so nothing leaks into the WordPress theme.
   ===================================================================== */

.atx {
  --navy: #0b1a30;
  --navy-mid: #0f2040;
  --navy-light: #1a2f50;
  --teal: #1de4b0;
  --teal-dim: #14b88a;
  --white: #ffffff;
  --muted: #8a9dbb;
  --gold: #f5c842;
  --red: #ff4757;
  --card: rgba(255,255,255,0.04);
  --border: rgba(29,228,176,0.18);

  /* fluid spacing — replaces the old fixed 90px / 6vw padding */
  --pad-y: clamp(52px, 7vw, 90px);
  --pad-x: clamp(18px, 6vw, 80px);

  background: var(--navy);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  isolation: isolate;
  /* No overflow clipping here on purpose. Any overflow value on an ancestor of
     a `position: sticky` element drops the sticky header off the compositor and
     onto the main thread, where it is repositioned a frame late on every scroll
     event — which is what made the header judder on mobile. Every breakpoint is
     verified free of horizontal overflow, so the clip was buying nothing. */
}

.atx *,
.atx *::before,
.atx *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* long words / URLs must never push the layout sideways on a 320px screen */
.atx p, .atx li, .atx h1, .atx h2, .atx h3, .atx h4, .atx span, .atx a {
  overflow-wrap: break-word;
}

.atx img { max-width: 100%; height: auto; display: block; }

/* <picture> is inline by default, so it inherits line-box leading and would add
   stray space below every image and break the nav's flex alignment. It is only
   a wrapper — make it behave like the img it contains. */
.atx picture { display: block; max-width: 100%; }
.atx .nav-logo picture,
.atx .footer-logo picture { display: inline-block; line-height: 0; }

/* sticky-nav offset so #proposal / #results don't land under the bar */
.atx [id] { scroll-margin-top: 90px; }

/* ── THEME DEFENCE ──
   Themes colour bare elements with very low specificity — Astra ships
   `h1..h6 { color:#808285 }` and `a { color:#4169e1 }`. Inheriting from .atx
   does not beat a direct element selector, so every heading has to state its
   own colour. Each of these is deliberately weak (0,1,1) so the component
   rules further down still win. */
.atx h1,
.atx h2,
.atx h3,
.atx h4,
.atx h5,
.atx h6 { color: var(--white); }

.atx a { color: inherit; text-decoration: none; }

.atx p,
.atx li,
.atx label,
.atx strong,
.atx em,
.atx b,
.atx small { color: inherit; }

/* Form controls never inherit colour by default. */
.atx input,
.atx select,
.atx textarea,
.atx button { color: inherit; font-family: inherit; }

/* ── URGENCY BANNER ── */
.atx .urgency-banner {
  background: var(--red);
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 2.6vw, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.atx .urgency-banner .fire { font-size: 15px; }
.atx .urgency-spots {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 2px 10px;
  font-size: clamp(10px, 2.4vw, 12px);
}
.atx #spotsCount { font-weight: 900; font-size: 1.15em; }

/* ── NAV ── */
.atx .lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,26,48,0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Integer line-heights. 13px x 1.6 = 20.8px, which makes the bar 67.8px tall;
   a sticky element on a fractional boundary snaps between device pixels as it
   sticks, which reads as the header twitching. */
.atx .urgency-banner { line-height: 20px; }
.atx .nav-cta { line-height: 20px; }

/* Explicit integer dimensions. Sizing by height alone left the width at
   92.547px, and a fractional-width image is resampled on every repaint —
   that is the logo shimmer. Rounded to whole pixels; the ~0.2% deviation
   from the true aspect ratio is not perceptible. */
.atx .nav-logo img { height: 30px; width: 99px; }
@media (min-width: 768px) {
  .atx .nav-logo img { height: 40px; width: 132px; }
}
.atx .nav-right { display: flex; align-items: center; gap: 20px; }
.atx .nav-offer-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--muted);
  display: none;
}
.atx .nav-cta {
  background: var(--teal);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(11px, 2.6vw, 13px);
  padding: 11px clamp(14px, 4vw, 22px);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.atx .nav-cta:hover { background: var(--teal-dim); transform: translateY(-1px); }

/* ── HERO ── */
.atx .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: clamp(44px, 7vw, 80px) var(--pad-x) var(--pad-y);
  gap: clamp(36px, 5vw, 60px);
  position: relative;
}
.atx .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(29,228,176,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.atx .hero-left { position: relative; z-index: 1; }

.atx .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,228,176,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 2.4vw, 11px);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 3vw, 28px);
  animation: atxFadeDown 0.5s ease both;
}
.atx .pulse-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  animation: atxPulseDot 2s infinite;
}

.atx .offer-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(29px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  animation: atxFadeDown 0.6s 0.1s ease both;
}
.atx .offer-headline .accent { color: var(--teal); }
.atx .offer-headline .underline-word { position: relative; display: inline-block; }
.atx .offer-headline .underline-word::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: left;
  animation: atxGrowLine 0.8s 0.7s ease both;
}

.atx .offer-or-free {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(17px, 4vw, 28px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: clamp(18px, 3vw, 28px);
  animation: atxFadeDown 0.6s 0.2s ease both;
}

.atx .hero-sub {
  font-size: clamp(14px, 3.4vw, 16px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: clamp(26px, 4vw, 36px);
  animation: atxFadeDown 0.6s 0.3s ease both;
}
.atx .hero-sub strong { color: var(--white); font-weight: 600; }

.atx .hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 36px);
  animation: atxFadeDown 0.6s 0.4s ease both;
}
.atx .btn-primary,
.atx .btn-outline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(13px, 3vw, 14px);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: inline-block;
}
.atx .btn-primary {
  background: var(--teal);
  color: var(--navy);
  font-weight: 800;
  padding: 16px clamp(20px, 5vw, 32px);
  border: none;
}
.atx .btn-primary:hover { background: var(--teal-dim); transform: translateY(-2px); }
.atx .btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 16px clamp(18px, 4vw, 24px);
  border: 1px solid rgba(255,255,255,0.2);
}
.atx .btn-outline:hover { border-color: var(--teal); transform: translateY(-2px); }

.atx .risk-reversal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(12px, 3vw, 13px);
  color: var(--muted);
  animation: atxFadeDown 0.6s 0.5s ease both;
}
.atx .risk-reversal .shield { font-size: 18px; flex-shrink: 0; }
.atx .risk-reversal strong { color: var(--teal); }

/* HERO RIGHT — shown on mobile too (the image downloads either way) */
.atx .hero-right {
  position: relative;
  z-index: 1;
  animation: atxFadeUp 0.8s 0.3s ease both;
}
.atx .hero-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55);
  position: relative;
}
.atx .floating-card {
  position: absolute;
  bottom: 18px; left: 16px;
  background: rgba(11,26,48,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 150px;
}
.atx .floating-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.atx .floating-card-label { font-size: clamp(10px, 2.4vw, 11px); color: var(--muted); margin-top: 4px; }
.atx .floating-card-2 {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(245,200,66,0.3);
}
.atx .floating-card-2 .fc2-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(17px, 4vw, 22px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.atx .floating-card-2 .fc2-label {
  font-size: clamp(9px, 2.2vw, 10px);
  font-weight: 700;
  color: rgba(11,26,48,0.7);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── PROOF STRIP ── */
.atx .proof-strip {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(24px, 4vw, 32px) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.atx .stat {
  text-align: center;
  padding: 6px clamp(8px, 2vw, 20px);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.atx .stat:last-child { border-right: none; }
.atx .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(23px, 4.4vw, 32px);
  font-weight: 900;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.atx .stat-label { font-size: clamp(10px, 2.3vw, 11px); color: var(--muted); letter-spacing: 0.04em; line-height: 1.4; }
.atx .stat-client { font-size: 10px; color: rgba(255,255,255,0.28); margin-top: 3px; font-style: italic; }

/* ── SECTIONS ── */
.atx section { padding: var(--pad-y) var(--pad-x); position: relative; }
.atx .section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.atx h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 5.2vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.atx h2 .accent { color: var(--teal); }
.atx .section-sub {
  font-size: clamp(14px, 3.4vw, 16px);
  color: var(--muted);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

/* ── OFFER BREAKDOWN ── */
.atx .offer-breakdown-section { background: var(--navy-mid); }
.atx .offer-breakdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 40px); align-items: start; }
.atx .offer-left h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.34;
}
.atx .offer-left h3 .accent { color: var(--teal); }
.atx .offer-promise-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.atx .offer-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(13px, 3.2vw, 15px);
  color: var(--muted);
  line-height: 1.65;
}
.atx .offer-promise-list li .check {
  width: 22px; height: 22px;
  background: rgba(29,228,176,0.12);
  border: 1px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.atx .offer-promise-list li strong { color: var(--white); font-weight: 600; }

.atx .guarantee-card {
  background: linear-gradient(135deg, rgba(29,228,176,0.08), rgba(11,26,48,0.3));
  border: 2px solid var(--teal);
  border-radius: 14px;
  padding: clamp(22px, 4vw, 32px);
  text-align: center;
}
.atx .guarantee-card .g-icon { font-size: clamp(36px, 8vw, 48px); margin-bottom: 14px; display: block; }
.atx .guarantee-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 3.6vw, 18px);
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 14px;
}
.atx .guarantee-card p { font-size: clamp(13px, 3.2vw, 14px); color: var(--muted); line-height: 1.75; }
.atx .guarantee-card p + p { margin-top: 12px; }
.atx .guarantee-card p strong { color: var(--white); }

/* ── WHAT'S INCLUDED ── */
.atx .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.atx .service-card {
  background: var(--card);
  padding: clamp(24px, 4vw, 34px) clamp(20px, 3vw, 28px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.atx .service-card:hover { background: rgba(29,228,176,0.05); }
.atx .service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: rgba(29,228,176,0.12);
  line-height: 1;
  margin-bottom: 12px;
}
.atx .service-title { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.atx .service-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.atx .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.atx .tag {
  background: rgba(29,228,176,0.08);
  border: 1px solid rgba(29,228,176,0.2);
  color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ── CASE STUDY ── */
.atx .case-section { background: var(--navy-mid); }
.atx .case-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.atx .case-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 56px rgba(0,0,0,0.4); }
.atx .case-tag {
  display: inline-block;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.atx .case-intro-text h3,
.atx .case-intro-grid h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight: 800;
  line-height: 1.34;
  margin-bottom: 16px;
}
.atx .case-intro-grid p { font-size: clamp(13px, 3.2vw, 15px); color: var(--muted); line-height: 1.8; margin-bottom: 12px; }

.atx .results-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.atx .results-screenshot { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.atx .results-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.atx .result-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: clamp(16px, 3vw, 22px) clamp(14px, 2.5vw, 18px);
  transition: border-color 0.3s;
}
.atx .result-card:hover { border-color: var(--teal); }
.atx .result-big {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(25px, 5.5vw, 34px);
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.atx .result-desc { font-size: clamp(11px, 2.8vw, 12px); color: var(--muted); line-height: 1.55; }

/* ── PORTFOLIO GALLERY ── */
.atx .gallery-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.atx .gallery-row { display: grid; gap: 16px; margin-bottom: 16px; }
.atx .gallery-row.two-col { grid-template-columns: 1fr 1fr; }
.atx .gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.atx .gallery-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* ── TESTIMONIAL SCREENSHOTS ── */
.atx .testi-card { width: 100%; }
.atx .image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.atx .image-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

/* ── SCARCITY ── */
.atx .scarcity-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.atx .scarcity-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.atx .scarcity-inner h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 4.6vw, 32px);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.atx .scarcity-inner h3 .accent { color: var(--teal); }
.atx .scarcity-inner > p { font-size: clamp(13px, 3.2vw, 15px); color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.atx .spots-tracker { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.atx .spot-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px clamp(13px, 3vw, 20px);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 700;
}
.atx .spot-pill.taken {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.3);
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
}
.atx .spot-pill.available { background: rgba(29,228,176,0.1); border: 1px solid var(--border); color: var(--teal); }
.atx .spot-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.atx .spot-dot.red { background: var(--red); }
.atx .spot-dot.green { background: var(--teal); animation: atxPulseDot 1.5s infinite; }
.atx .scarcity-reason {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: clamp(16px, 3vw, 20px) clamp(18px, 3vw, 24px);
  font-size: clamp(13px, 3.2vw, 14px);
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
}
.atx .scarcity-reason strong { color: var(--white); }

/* ── OFFER BOX + FORM ── */
.atx .offer-section { background: var(--navy); }
.atx .offer-box {
  border: 1px solid var(--teal);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 80px rgba(29,228,176,0.08);
}
.atx .offer-top {
  background: linear-gradient(160deg, rgba(29,228,176,0.1) 0%, rgba(11,26,48,0.4) 60%);
  padding: clamp(36px, 6vw, 64px) clamp(18px, 5vw, 60px) clamp(30px, 5vw, 50px);
  text-align: center;
  position: relative;
}
.atx .offer-ribbon {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 2.4vw, 11px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.atx .offer-main-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(21px, 4.8vw, 42px);
  font-weight: 900;
  line-height: 1.16;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.atx .offer-main-headline .accent { color: var(--teal); }
.atx .offer-guarantee-line {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(15px, 3.4vw, 22px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
}
.atx .offer-desc { font-size: clamp(14px, 3.4vw, 16px); color: var(--muted); line-height: 1.8; max-width: 600px; margin: 0 auto clamp(26px, 4vw, 36px); }
.atx .offer-pills { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.atx .offer-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(29,228,176,0.07);
  border: 1px solid rgba(29,228,176,0.2);
  border-radius: 100px;
  padding: 7px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 2.6vw, 12px);
  font-weight: 600;
  color: var(--white);
}
.atx .pill-check { color: var(--teal); }

.atx .offer-bottom { background: rgba(11,26,48,0.55); padding: clamp(30px, 5vw, 52px) clamp(18px, 5vw, 60px); }
.atx .form-wrap { max-width: 580px; margin: 0 auto; }
.atx .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.atx .form-field { margin-bottom: 16px; }
.atx .form-field label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.atx .form-field .req { color: var(--teal); }
.atx .form-field input,
.atx .form-field select,
.atx .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: 'Open Sans', sans-serif;
  /* 16px minimum: anything smaller makes iOS Safari zoom in on focus */
  font-size: 16px;
  /* Must be set explicitly. Browsers default form controls to `line-height:
     normal`, which resolves to roughly the font-size (16px) — shorter than the
     ~22px that 16px Open Sans actually needs for ascenders and descenders. A
     <select> has `overflow: clip`, so the glyphs get sliced in half rather than
     overflowing visibly. */
  line-height: 1.5;
  height: auto;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.atx .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a9dbb' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.atx .form-field input::placeholder,
.atx .form-field textarea::placeholder { color: rgba(255,255,255,0.22); }
.atx .form-field input:focus,
.atx .form-field select:focus,
.atx .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,228,176,0.12); }
.atx .form-field select option { background: var(--navy-mid); color: var(--white); }
.atx .form-field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.atx .form-field.has-error input,
.atx .form-field.has-error select,
.atx .form-field.has-error textarea { border-color: var(--red); }
.atx .field-error { display: none; font-size: 12px; color: var(--red); margin-top: 6px; }
.atx .form-field.has-error .field-error { display: block; }
/* Honeypot. Must stay in the DOM and remain fillable so bots trip it, but never
   be visible or affect layout — hence the screen-reader pattern rather than a
   negative offset, which can push the document wider on some browsers. */
.atx .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.atx .submit-btn {
  width: 100%;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 3.2vw, 16px);
  font-weight: 800;
  padding: 18px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  line-height: 1.35;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.atx .submit-btn:hover:not(:disabled) { background: var(--teal-dim); transform: translateY(-2px); }
.atx .submit-btn:disabled { opacity: 0.75; cursor: default; transform: none; }

.atx .form-status { margin-top: 14px; font-size: 14px; line-height: 1.6; text-align: center; }
.atx .form-status.ok { color: var(--teal); }
.atx .form-status.err { color: var(--red); }

.atx .mbg-box {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(29,228,176,0.06), rgba(11,26,48,0.3));
  border: 1px solid var(--teal);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 24px) clamp(20px, 3vw, 28px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.atx .mbg-icon { font-size: 32px; flex-shrink: 0; line-height: 1; }
.atx .mbg-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 3.2vw, 15px);
  font-weight: 800;
  color: var(--teal);
  display: block;
  margin-bottom: 6px;
}
.atx .mbg-text p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.atx .mbg-text p strong { color: var(--white); font-weight: 600; display: inline; font-size: inherit; }

/* ── FOOTER ── */
.atx footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: clamp(24px, 4vw, 32px) var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.atx .footer-logo img { height: clamp(28px, 6vw, 36px); width: auto; }
.atx .footer-contact { display: flex; gap: clamp(14px, 3vw, 24px); flex-wrap: wrap; }
.atx .footer-contact a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.atx .footer-contact a:hover { color: var(--teal); }
.atx .footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }

.atx .divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0 var(--pad-x); }

/* ── REVEAL ── */
.atx .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.atx .reveal.visible { opacity: 1; transform: none; }

/* ── ANIMATIONS ── */
@keyframes atxFadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes atxFadeUp   { from { opacity: 0; transform: translateY(18px); }  to { opacity: 1; transform: none; } }
@keyframes atxGrowLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes atxPulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.5); } }

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .atx .hero { grid-template-columns: 1fr; }
  /* image below the copy instead of hidden — it is proof, and it downloads regardless */
  .atx .hero-left  { order: 1; }
  .atx .hero-right { order: 2; max-width: 620px; }
  .atx .offer-breakdown-grid { grid-template-columns: 1fr; }
  .atx .case-intro-grid { grid-template-columns: 1fr; }
  .atx .results-layout { grid-template-columns: 1fr; }
  .atx .services-grid { grid-template-columns: 1fr 1fr; }
  .atx .proof-strip { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
  .atx .stat:nth-child(3n) { border-right: none; }
}

@media (min-width: 768px) {
  .atx .nav-offer-text { display: block; }
}

/* Sticky-header performance below desktop.
   backdrop-filter forces the compositor to re-sample and re-blur everything
   behind the bar on every scroll frame. Mobile GPUs cannot keep up, and the
   bar visibly vibrates. The background was already 95% opaque, so making it
   fully opaque and dropping the blur costs nothing visually and removes the
   per-frame work entirely. */
@media (max-width: 1023px) {
  .atx .lp-nav {
    background: #0b1a30;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Phone */
@media (max-width: 767px) {
  .atx [id] { scroll-margin-top: 74px; }
  .atx .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .atx .gallery-row.two-col { grid-template-columns: 1fr; }
  .atx .image-grid { grid-template-columns: repeat(2, 1fr); }
  .atx .hero-btns { flex-direction: column; align-items: stretch; }
  .atx .hero-btns .btn-primary,
  .atx .hero-btns .btn-outline { width: 100%; }
  .atx .mbg-box { flex-direction: column; gap: 12px; }
  .atx .urgency-banner .fire:last-child { display: none; }
}

/* ── MOBILE TYPE SCALE ──
   The fluid clamp() minimums were tuned for fitting text on a 320px screen,
   which left body copy uncomfortably small on a normal phone. Bump the reading
   sizes up; headings already scale fine. */
@media (max-width: 767px) {
  .atx .hero-sub,
  .atx .section-sub,
  .atx .offer-desc { font-size: 16px; line-height: 1.75; }

  .atx .offer-promise-list li,
  .atx .case-intro-grid p,
  .atx .guarantee-card p,
  .atx .scarcity-inner > p,
  .atx .scarcity-reason { font-size: 15.5px; line-height: 1.7; }

  .atx .service-desc,
  .atx .mbg-text p { font-size: 15px; line-height: 1.7; }

  .atx .service-title { font-size: 16.5px; }
  .atx .result-desc { font-size: 13px; }
  .atx .stat-label { font-size: 12px; }
  .atx .stat-client { font-size: 11px; }
  .atx .risk-reversal { font-size: 14px; }
  .atx .floating-card-label { font-size: 12px; }

  .atx .section-label,
  .atx .gallery-label { font-size: 12px; }

  .atx .offer-pill { font-size: 13px; padding: 8px 15px; }
  .atx .tag { font-size: 11px; padding: 4px 10px; }
  .atx .spot-pill { font-size: 13px; }
  .atx .form-field label { font-size: 11px; }
  .atx .footer-contact a { font-size: 13.5px; }
  .atx .footer-copy { font-size: 12px; }
  .atx .urgency-banner { font-size: 13px; }
  .atx .urgency-spots { font-size: 12px; }
  .atx .nav-cta { font-size: 13px; }
  .atx .hero-eyebrow { font-size: 11.5px; }
  .atx .guarantee-card h4 { font-size: 18px; }
  .atx .mbg-text strong { font-size: 16px; }
}

@media (max-width: 600px) {
  .atx .services-grid { grid-template-columns: 1fr; }
  .atx .service-card { border-right: none; }
  .atx .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .atx .stat { border-right: 1px solid rgba(255,255,255,0.07); }
  .atx .stat:nth-child(2n) { border-right: none; }
  .atx .stat:last-child { border-right: none; grid-column: 1 / -1; }
  .atx footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .atx .image-grid { grid-template-columns: 1fr; }
  .atx .results-numbers { grid-template-columns: 1fr; }
  .atx .spots-tracker { gap: 8px; }
  .atx .spot-pill { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .atx .floating-card { position: static; margin-top: 12px; border-radius: 0 0 14px 14px; }
  .atx .floating-card-2 { top: 10px; right: 10px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .atx *,
  .atx *::before,
  .atx *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .atx .reveal { opacity: 1; transform: none; }
}
