/* =========================================================
   AIMapper — theaimapper.com
   Single shared stylesheet. Mobile-first, semantic, no frameworks.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from approved design) */
  --bg-deep:      #0A0E1A;   /* page background, near-black navy */
  --bg-deep-2:    #0D1326;   /* gradient partner for sections */
  --surface:      #141B2E;   /* card surface */
  --surface-2:    #1B2340;   /* raised / hover surface */
  --border:       #243049;   /* hairline borders on dark */

  --gold:         #F5B40E;
  --gold-bright:  #FACC15;
  --indigo:       #6366F1;
  --indigo-soft:  #8B8DF5;

  --text:         #F4F6FB;   /* primary text on dark */
  --text-muted:   #9AA4BF;   /* secondary text on dark (AA on dark bg) */
  --text-dim:     #6F7A96;

  /* Light section (testimonials) */
  --light-bg:     #FFFFFF;
  --light-text:   #0F1422;
  --light-muted:  #4A5568;
  --light-border: #E6E9F2;

  --gradient-brand: linear-gradient(100deg, var(--gold-bright) 0%, var(--gold) 25%, var(--indigo-soft) 75%, var(--indigo) 100%);
  --gradient-cta:   linear-gradient(115deg, #4F46E5 0%, #6366F1 55%, #7C3AED 100%);

  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  --shadow-card:  0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-light: 0 12px 30px rgba(15, 20, 34, 0.08);

  --maxw:         1140px;
  --gutter:       clamp(1rem, 4vw, 2rem);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* keep anchored content clear of the sticky header */
}

/* Prevent any element from causing sideways scroll on phones/tablets */
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1300;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Consistent vertical rhythm between sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

/*
  Frame a "statement" section so it sits cleanly within one viewport.
  Uses svh (small viewport height) so iOS Safari's address bar never
  crops the content; falls back to vh on older browsers. Content taller
  than the viewport simply grows the section, so nothing gets cut off.
*/
.section--frame,
.frame-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;                  /* fallback */
  min-height: calc(100svh - 70px);    /* minus the sticky header */
}
.section--frame > .container { width: 100%; }

/* Two short sections sharing one framed screen (e.g. M.A.P. + D.R.I.V.E.) */
.frame-group .section { padding-block: clamp(1.25rem, 3vw, 2.25rem); }

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo-soft);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.eyebrow .dot { color: var(--gold); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-inline: auto;
}

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: #1a1300;
  box-shadow: 0 8px 24px rgba(245, 180, 14, 0.3);
}
.btn--primary:hover { background: var(--gold-bright); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold);
  color: #1a1300;
  flex: none;
}
.brand__mark svg { width: 18px; height: 18px; }
.brand b { color: var(--gold); font-weight: 800; }

.nav__links {
  display: none;
  list-style: none;
  gap: 0.35rem;
  align-items: center;
}
.nav__links a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] {
  color: var(--gold);
  background: rgba(245, 180, 14, 0.12);
}

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__cta { display: none; }

/* Hamburger */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.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 menu panel */
.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul { list-style: none; padding: 0.75rem var(--gutter) 1.25rem; }
.nav__mobile li { border-bottom: 1px solid var(--border); }
.nav__mobile a {
  display: block;
  padding: 0.9rem 0.25rem;
  color: var(--text);
  font-weight: 500;
}
.nav__mobile a[aria-current="page"] { color: var(--gold); }
.nav__mobile .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;                  /* fallback */
  min-height: calc(100svh - 70px);    /* fill the screen below the sticky header */
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(99,102,241,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-deep-2) 0%, var(--bg-deep) 100%);
}
.hero__inner {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(2.25rem, 6vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2.1rem, 6.5vw, 4.4rem);
  margin-bottom: 1.25rem;
}
.hero p { color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 54ch; margin-inline: auto; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(20,27,46,0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.5); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: #fff;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--indigo { background: linear-gradient(135deg, #6366F1, #4338CA); }
.card__icon--gold   { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #1a1300; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Split section header (heading left, intro right) ---------- */
.section-head--split {
  display: grid;
  gap: 0.75rem 2rem;
  align-items: end;
  max-width: none;
  margin-bottom: 2rem;
}
@media (min-width: 860px) {
  .section-head--split { grid-template-columns: 1fr auto; }
  .section-head--split .section-head__intro { text-align: right; max-width: 34ch; justify-self: end; }
}
.section-head--split h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; }
.section-head--split .section-head__intro { color: var(--text-muted); margin: 0; }

/* ---------- Letter badges (M.A.P. / D.R.I.V.E.) ---------- */
.letter-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
  color: #fff;
}
.letter-badge--indigo { background: linear-gradient(135deg, #6366F1, #4338CA); }
.letter-badge--gold   { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #1a1300; }

.card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.card__head h3 { margin: 0; font-size: 1.25rem; }

.card--compact { padding: 1.4rem; }
.card--compact h3 { font-size: 1.1rem; margin: 0.9rem 0 0.4rem; }
.card--compact p { font-size: 0.92rem; line-height: 1.5; }

@media (min-width: 720px)  { .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Hero blockquote callout ---------- */
.hero__quote {
  margin: 2rem auto 0;
  max-width: 640px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.05rem;
}

/* ---------- Highlight banner ---------- */
.banner {
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(20,27,46,0.5) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: 1.5rem;
}
.banner h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.banner p { color: var(--text-muted); max-width: 60ch; margin: 0 auto; }
.banner .hl { color: var(--gold-bright); font-weight: 700; }

/* ---------- Audit cards (light) + check bullets ---------- */
.checks { list-style: none; display: grid; gap: 0.9rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--indigo); margin-top: 3px; }

.audit-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-light);
  color: var(--light-text);
}
.audit-card .card__head h3 { color: var(--light-text); }
.audit-card .checks li { color: #2c3344; }
.audit-card .note {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
  font-style: italic;
  font-weight: 600;
  color: var(--indigo);
}

.youll-get {
  background: #EEF1FB;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
  color: var(--light-text);
}
.youll-get h3 { color: var(--light-text); font-size: 1.2rem; }
.youll-get .checks { color: #2c3344; }
@media (min-width: 680px) { .youll-get .checks { grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; } }
.youll-get .checks li { color: #2c3344; }

/* ---------- Pricing tiers ---------- */
.card--pricing { display: flex; flex-direction: column; height: 100%; }
.card--pricing.is-featured {
  border-color: rgba(245, 180, 14, 0.55);
  box-shadow: 0 0 0 1px rgba(245,180,14,0.25), var(--shadow-card);
}
.pricing__eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.4rem;
}
.pricing__eyebrow--indigo { color: var(--indigo-soft); }
.pricing__eyebrow--gold   { color: var(--gold-bright); }
.card--pricing h3 { font-size: 1.45rem; margin: 0 0 0.75rem; }
.card--pricing > p { color: var(--text-muted); font-size: 0.95rem; }
.card--pricing .checks { margin-top: 1.25rem; flex: 1 0 auto; }
.card--pricing .checks li { color: var(--text-muted); font-size: 0.94rem; }
.checks--gold svg { color: var(--gold-bright); }

.pricing__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.pricing__meta .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}
.pricing__meta .value { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.pricing__meta--gold .value { color: var(--gold-bright); }
.pricing__meta .value.is-gold { color: var(--gold-bright); }
.card--pricing .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

/* ---------- Compact pricing (fits the 3 tiers within one desktop viewport) ---------- */
.pricing-section .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.pricing-section .section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.pricing-section .section-head .lead { font-size: 0.95rem; max-width: 58ch; }
.pricing-section .grid { gap: 1rem; }

.pricing-section .card--pricing { padding: 1.25rem 1.35rem; }
.pricing-section .card--pricing .card__icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 0.75rem;
}
.pricing-section .card--pricing .card__icon svg { width: 20px; height: 20px; }
.pricing-section .pricing__eyebrow { margin: 0 0 0.25rem; font-size: 0.66rem; }
.pricing-section .card--pricing h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pricing-section .card--pricing > p { font-size: 0.86rem; line-height: 1.45; }
.pricing-section .card--pricing .checks { margin-top: 0.85rem; gap: 0.5rem; }
.pricing-section .card--pricing .checks li { font-size: 0.84rem; gap: 0.55rem; line-height: 1.35; }
.pricing-section .card--pricing .checks svg { width: 17px; height: 17px; margin-top: 2px; }
.pricing-section .pricing__meta { margin-top: 1rem; padding-top: 0.85rem; }
.pricing-section .pricing__meta .label { font-size: 0.62rem; margin-bottom: 0.2rem; }
.pricing-section .pricing__meta .value { font-size: 1rem; }
.pricing-section .card--pricing .btn { margin-top: 0.85rem; padding: 0.72rem 1rem; font-size: 0.9rem; }

/* On shorter desktops, let it breathe rather than force a single screen */
@media (max-height: 820px) and (min-width: 980px) {
  .pricing-section { min-height: auto; }
}

/* ---------- Compact AI Audit section (fits one frame) ---------- */
.audit-section .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.audit-section .section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.audit-section .grid { gap: 1rem; }
.audit-section .audit-card { padding: 1.25rem 1.35rem; }
.audit-section .audit-card .card__head { margin-bottom: 0.6rem; }
.audit-section .audit-card h3 { font-size: 1.15rem; }
.audit-section .checks { gap: 0.55rem; }
.audit-section .checks li { font-size: 0.86rem; line-height: 1.4; gap: 0.55rem; }
.audit-section .checks svg { width: 17px; height: 17px; margin-top: 2px; }
.audit-section .audit-card .note { margin-top: 0.9rem; padding-top: 0.9rem; font-size: 0.88rem; }
.audit-section .youll-get { padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.audit-section .youll-get h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

@media (max-height: 820px) and (min-width: 980px) {
  .audit-section { min-height: auto; }
}

/* ---------- Contact layout (aside left, form right) ---------- */
.contact-grid { grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.form-card > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form select {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA4BF' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.form select:focus { border-color: var(--indigo); outline: none; }
.form .full { width: 100%; }
.form .privacy { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin: 0.5rem 0 0; }
.form .btn { width: 100%; justify-content: center; }
.contact-info .info-row { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-info .info-row:last-child { margin-bottom: 0; }
.contact-info .info-ico {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4); color: var(--indigo-soft);
}
.contact-info .info-ico svg { width: 18px; height: 18px; }
.contact-info .info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.contact-info .info-value { color: var(--text); }
.contact-info .info-value a { color: var(--gold); }

/* Calendly booking card */
.booking-card { display: flex; flex-direction: column; }
.booking-card .btn--lg { align-self: flex-start; }

/* ---------- Page intro hero (inner pages) ---------- */
.page-hero { text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
.page-hero .lead { margin-top: 1rem; }

/* ---------- Philosophy ---------- */
.philosophy {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(99,102,241,0.16) 0%, transparent 60%),
    var(--bg-deep);
  border-block: 1px solid var(--border);
  text-align: center;
}
.philosophy h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); max-width: 16ch; margin-inline: auto; }
.philosophy .note { color: var(--text-dim); max-width: 60ch; margin: 1.5rem auto 0; }
.checklist {
  list-style: none;
  display: grid;
  gap: 1rem 2rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: left;
}
@media (min-width: 680px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
}
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--indigo-soft); margin-top: 2px; }

/* ---------- Testimonials (light section) ---------- */
.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light h2 { color: var(--light-text); }
.section--light .lead { color: var(--light-muted); }

.testimonial {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote {
  margin: 0;
  font-style: italic;
  color: #2c3344;
  font-size: 1.02rem;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--light-border);
  padding-top: 1.1rem;
}
.testimonial__author img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex: none;
  background: #e2e6f0;
}
.testimonial__name { font-weight: 700; color: var(--light-text); line-height: 1.3; }
.testimonial__role { color: var(--indigo); font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-cta);
  text-align: center;
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto 2rem; }
.cta-band .btn--primary { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* ---------- Generic content blocks (inner pages) ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--text-muted); }
.prose h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75rem; }

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  color: var(--indigo-soft);
}
.step h3 { margin-top: 0; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 560px;
}
.form .field { display: grid; gap: 0.4rem; }
.form label { font-weight: 600; font-size: 0.92rem; }
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}
.form input:focus,
.form textarea:focus { border-color: var(--indigo); outline: none; }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.contact-aside .card { margin-bottom: 1.25rem; }
.contact-aside a { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { color: var(--text-muted); max-width: 32ch; margin-top: 1rem; }
.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__links a { color: var(--text-muted); transition: color 0.15s; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Desktop nav switch ---------- */
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---------- Phone refinements (iPhone) ---------- */
@media (max-width: 560px) {
  /* Full-width, easy-to-tap CTAs */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { justify-content: center; }
  .btn--lg { width: 100%; justify-content: center; }
  .booking-card .btn--lg { align-self: stretch; }

  /* A touch more breathing room so framed sections never feel cramped */
  .card { padding: 1.35rem; }
  .hero__quote { padding: 1rem 1.15rem; }
}

/* ---------- Tablet (iPad portrait) ---------- */
@media (min-width: 561px) and (max-width: 899px) {
  /* Sections stay comfortably framed without forcing huge gaps */
  .section--frame, .frame-group { min-height: auto; }
  .section--frame { padding-block: clamp(3rem, 8vw, 5rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
