/* Spain Revealed lead-gen pages. Palette: Option A (Slate) from the October 2026 palette proposal.
   Use only the twelve colors below: no other hex values, tints, gradients or glows.
   Parasol is for buttons only. Desierto is for one headline phrase on dark, icon circles and short rules,
   never text on light backgrounds. */
:root {
  --parasol: #FF5500;   /* buttons only, bold white label 19px+ */
  --desierto: #F5A949;  /* gold: highlight on dark, icon circles, short rules */
  --cloud: #FDF7F2;     /* page background */
  --white: #FFFFFF;     /* cards, fields */
  --error: #A61B1B;     /* always with an icon and words */
  --success: #2E6B3F;   /* always with an icon and words */
  --slate-900: #112B45; /* body text, footer */
  --slate-800: #22405E; /* dark sections, headings, links */
  --slate-600: #415D7A; /* muted text */
  --slate-500: #627A93; /* field outlines */
  --slate-300: #B3BFCC; /* table first column */
  --slate-200: #D5DCE3; /* borders, light text on dark */
  --shadow-page: 0 24px 48px -20px rgba(17, 43, 69, 0.55);
  --radius: 12px;
  --sans: "Raleway", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cloud);
  color: var(--slate-900);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate-800); text-underline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Draft helpers (draft previews only, never shown on live pages) */
.ph { background: #FFF3B0; color: #5A4700; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.draft-banner {
  background: #FFF3B0; color: #3D3000; font-size: 14px; line-height: 1.5;
  padding: 10px 16px; border-bottom: 1px solid #E6D47A;
}
.draft-banner ul { margin: 4px 0 0; padding-left: 20px; }

/* Type */
.label {
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-600); margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 4.8vw, 48px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--slate-800); margin-bottom: 32px; }
h3 { font-size: 19px; font-weight: 700; color: var(--slate-800); margin-bottom: 8px; line-height: 1.3; }
.card h3:last-child { margin-bottom: 0; }

/* Dark sections: hero, quote band, closing band. White headlines, Slate 200 supporting text. */
.hero, .block-quote, .block-closing { background: var(--slate-800); color: var(--white); }
.hero h2, .block-quote h2, .block-closing h2 { color: var(--white); }
.hero .label, .block-quote .label, .block-closing .label { color: var(--slate-200); }
.hero a, .block-quote a, .block-closing a { color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 24px 0 48px; }
.hero-top, .hero-grid { position: relative; }
.logo { width: 120px; margin-bottom: 32px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-200); margin: 0 0 14px;
}
.hero h1 .accent { color: var(--desierto); }
.hero-sub { font-size: 18px; font-weight: 600; margin: 16px 0 32px; max-width: 36em; }
.hero .hero-sub, .block-closing .hero-sub { color: var(--slate-200); }
.social-proof { font-size: 14px; color: var(--slate-200); margin: 24px 0 0; }

/* Form. One button style everywhere: Parasol, bold white label 19px+. Hover underlines; focus is a 2px outline. */
.optin { max-width: 540px; }
.center .optin { margin: 0 auto; text-align: left; }
.optin input[type="text"], .optin input[type="email"] {
  width: 100%; font: inherit; font-size: 16px; height: 52px; padding: 0 20px;
  border: 1px solid var(--slate-500); border-radius: var(--radius); background: var(--white); color: var(--slate-900);
}
.optin input[type="text"] { margin-bottom: 10px; }
.optin input[type="text"]:focus, .optin input[type="email"]:focus { outline: 2px solid var(--slate-900); outline-offset: 2px; }
.hero .optin input:focus, .block-closing .optin input:focus { outline-color: var(--white); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 14px 2px; }
.consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--slate-800); flex: none; }
.optin button, .download-btn {
  font: inherit; font-weight: 700; font-size: 19px; cursor: pointer; min-height: 56px;
  border: 0; border-radius: 999px; background: var(--parasol); color: var(--white);
}
/* Buttons size to their label, so they don't read as another field. */
.optin button { display: block; width: auto; padding: 0 36px; margin: 0 auto; }
.optin button:hover, .download-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.optin button:focus-visible, .download-btn:focus-visible { outline: 2px solid var(--slate-900); outline-offset: 3px; }
.hero .optin button:focus-visible, .block-closing .optin button:focus-visible, .hero .download-btn:focus-visible { outline-color: var(--white); }
.fineprint { font-size: 14px; margin: 10px 2px 0; }
.optin .fineprint { text-align: center; } /* sits centered under the button */
.hero .fineprint, .block-closing .fineprint { color: var(--slate-200); }
.form-status {
  font-size: 15px; font-weight: 600; margin: 10px 2px 0; padding: 10px 14px 10px 40px; position: relative;
  border-radius: 10px; background: var(--white); color: var(--error); border: 1px solid var(--error);
}
.form-status::before {
  content: "!"; position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--error); color: var(--white); font-size: 13px; line-height: 20px; text-align: center;
}

/* Thank-you page download button */
.download-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; text-decoration: none; }
.thanks { padding-bottom: 72px; }

/* Hero figure: stacked guide pages + "inside" card */
.hero-figure { margin: 0 auto; width: 100%; max-width: 380px; }
.fan { position: relative; width: 72%; aspect-ratio: 707 / 1000; margin: 0 auto; transform: translateX(-10%); }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-page); }
.fan .fan-0 { transform: rotate(-2deg); }
.fan .fan-1 { transform: translateX(11%) rotate(3deg); }
.fan .fan-2 { transform: translateX(22%) rotate(7deg); }
.inside-card { position: relative; margin-top: 32px; background: var(--white); color: var(--slate-900); border-radius: 10px; padding: 16px 20px; }
.inside-card .label { margin-bottom: 8px; color: var(--slate-600); }
.inside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.inside-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.4; }
.inside-list .num { color: var(--slate-800); font-weight: 800; }

/* "As featured in" strip under James's stats. Logos are forced to one tone so mixed source colors match. */
.press { margin-top: 32px; }
.bio .press-label, .press-label { font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-600); margin: 0 0 14px; }
.press-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.press-logos img { height: 24px; width: auto; filter: brightness(0); opacity: 0.6; }
.press-logos img.keep-color { filter: none; opacity: 1; }

/* Sections */
.block { padding: 72px 0; }
.block-tight { padding: 0 0 56px; margin-top: -40px; }

/* Cards: white on Cloud, Slate 200 border. Icons: bold Slate 800 strokes on a Desierto circle. */
.cards { display: grid; gap: 20px; }
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; }
/* Optional highlighted word in a card title (e.g. "Bonus:"), same marker as the offer review. */
.card h3 mark { background: #FBD9A8; color: var(--slate-900); padding: 0 3px; border-radius: 3px; }
.card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--desierto); color: var(--slate-800); }
.card-icon svg { width: 24px; height: 24px; stroke-width: 2.25; }

.video-link { font-size: 16px; margin: 0; }
.video-link a { font-weight: 600; }

/* Quote band: dark, centered, with a large gold quote mark. */
.block-quote { text-align: center; }
.block-quote blockquote { margin: 0; }
.block-quote blockquote::before {
  content: "\201C"; display: block; font-size: 88px; font-weight: 800; line-height: 0.8;
  color: var(--desierto); margin-bottom: 8px;
}
.block-quote blockquote p { font-weight: 600; font-size: clamp(22px, 3vw, 28px); line-height: 1.45; margin: 0; color: var(--white); }
.quote-attr { margin: 20px 0 0; font-weight: 700; font-size: 16px; color: var(--slate-200); }

.story p { margin: 0 0 16px; }

/* Bio: James in a soft Slate 200 ring; short gold rules under the stat numbers. */
.bio { display: grid; gap: 40px; align-items: center; max-width: 1000px; }
.bio-photo { width: 208px; height: 208px; border-radius: 50%; object-fit: cover; border: 6px solid var(--slate-200); margin: 0 auto; }
.bio-photo-empty { display: grid; place-items: center; font-size: 15px; font-weight: 600; text-align: center; background: var(--white); }
.bio-name { font-weight: 800; font-size: 30px; margin: 8px 0 16px; }
.bio p { margin: 0; font-size: 18px; }
.bio p + p { margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat { padding: 4px 0; }
.stat strong { display: block; white-space: nowrap; font-size: clamp(22px, 4.4vw, 28px); font-weight: 800; color: var(--slate-800); }
.stat strong::after { content: ""; display: block; width: 32px; height: 3px; background: var(--desierto); margin: 8px 0 10px; }
.stat span { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--slate-600); }

.testimonials { display: grid; gap: 20px; }
.testimonial { margin: 0; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; }
.testimonial blockquote { margin: 0 0 14px; }
.testimonial figcaption { font-weight: 700; font-size: 15px; }

.closing-heading { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 0; }
.block-closing .hero-sub { margin-left: auto; margin-right: auto; }

.footer { background: var(--slate-900); color: var(--slate-200); padding: 36px 0; font-size: 14px; }
.footer a { color: var(--slate-200); }
.footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; margin: 16px 0 8px; }
.footer p { margin: 0; }
.logo-small { width: 110px; margin: 0; }

/* Phones: cards become compact rows, icon beside the title. */
@media (max-width: 639px) {
  .cards { gap: 12px; }
  .card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
  .card-icon { margin-bottom: 0; flex: none; }
  .card h3 { margin-bottom: 0; }
}
/* Narrow screens: one column, with the form right under the intro so it sits above the fold, then the guide pages. */
@media (max-width: 759px) {
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-copy, .hero-figure { display: contents; }
  .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .hero-sub { order: 3; margin-bottom: 24px; }
  .hero .optin { order: 4; width: 100%; }
  .hero .download-btn { order: 4; align-self: flex-start; }
  .fan { order: 5; width: 52%; max-width: 230px; margin: 40px auto 8px; }
  .social-proof { order: 6; }
  .inside-card { order: 7; }
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .hero { padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .bio { grid-template-columns: 220px 1fr; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .hero-figure { max-width: 320px; }
}

/* Thank-you page with an offer. Light page, one path for the eye:
   green success + download first, then an arrow into a single offer card with the only orange button. */
.ty-success { padding: 16px 0 8px; }
.ty-logo { width: 72px; margin: 0 0 8px; }
.success-icon, .tick, .assure-icon, .guarantee-icon, .offer-arrow { display: inline-grid; place-items: center; flex: none; border-radius: 50%; }
.success-icon svg, .tick svg, .assure-icon svg, .guarantee-icon svg, .offer-arrow svg, .success-btn svg {
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.success-icon { width: 48px; height: 48px; background: var(--success); color: var(--white); margin-bottom: 10px; }
.success-icon svg { width: 30px; height: 30px; }
.ty-success h1 { font-size: clamp(28px, 4.4vw, 40px); color: var(--slate-800); }
.ty-note { margin: 8px 0 20px; color: var(--slate-600); font-weight: 600; }
.success-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--success); color: var(--white); font-weight: 700; font-size: 18px; text-decoration: none;
}
.success-btn svg { width: 22px; height: 22px; }
.success-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.success-btn:focus-visible { outline: 2px solid var(--slate-900); outline-offset: 3px; }

.offer-wrap { padding: 24px 0 56px; }
.offer-arrow { width: 34px; height: 34px; background: var(--slate-900); color: var(--desierto); animation: banner-pulse 1.8s ease-in-out infinite; }
.offer-arrow svg { width: 20px; height: 20px; }
@keyframes banner-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17, 43, 69, 0.45); }
  60% { box-shadow: 0 0 0 9px rgba(17, 43, 69, 0); }
}
@media (prefers-reduced-motion: reduce) { .offer-arrow { animation: none; } }
.offer-card {
  max-width: 1000px; margin: 0 auto; background: var(--white); border: 3px solid var(--desierto); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 32px rgba(17, 43, 69, 0.14);
}
/* The one-time offer banner: full-width gold band across the top of the card. */
.offer-banner {
  display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; text-align: center;
  background: var(--desierto); color: var(--slate-900); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px;
}
.offer-grid { padding: 28px 24px; }
.offer-grid { display: grid; gap: 28px; align-items: center; }
.offer-card h2 { font-size: clamp(28px, 3.6vw, 36px); margin-bottom: 0; color: var(--slate-900); }
.offer-card h2 .accent { display: block; color: var(--slate-800); }
.offer-card .hero-sub { color: var(--slate-600); margin: 14px 0 20px; font-weight: 500; }
.price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; }
.price-was { font-size: 24px; font-weight: 600; color: var(--slate-600); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-now { font-size: 52px; font-weight: 800; line-height: 1; color: var(--slate-900); }
.price-tag { color: var(--slate-900); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; background: linear-gradient(transparent 50%, var(--desierto) 50%, var(--desierto) 90%, transparent 90%); padding: 0 3px; }
.offer-btn {
  display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 32px; border-radius: 999px;
  background: var(--parasol); color: var(--white); font-weight: 800; font-size: 20px; text-decoration: none; max-width: 420px;
}
.offer-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.offer-btn:focus-visible { outline: 2px solid var(--slate-900); outline-offset: 3px; }
.offer-assure { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--slate-600); }
.assure-icon { color: var(--success); }
.assure-icon svg { width: 20px; height: 20px; }
.offer-figure { margin: 0; }
.teacher { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--slate-200); }
.teacher img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--slate-200); flex: none; }
.teacher p { margin: 0; line-height: 1.35; }
.teacher strong { display: block; color: var(--slate-800); font-size: 19px; margin-bottom: 2px; }
.teacher span { font-size: 15px; font-weight: 600; color: var(--slate-600); }
/* Limited-time line near the button: plain small text with a clock, so it never competes with the button. */
.offer-urgency {
  display: flex; align-items: center; gap: 6px; margin: 0 0 14px;
  color: var(--slate-600); font-size: 14px; font-weight: 600; line-height: 1.3;
}
.urgency-icon { display: inline-grid; flex: none; color: var(--slate-600); }
.urgency-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: block; color: var(--desierto); font-size: 20px; letter-spacing: 2px; line-height: 1; }
/* Show-once offer: hidden on any later visit (set by the inline script in the thank-you page). */
.offer-seen [data-offer-once] { display: none; }
/* Return visit with the offer hidden: guide preview under the download button. */
.ty-fan { display: none; }
.offer-seen .ty-fan { display: block; width: 100%; max-width: 300px; margin: 40px auto 72px; }
.offer-once-note { margin: 0 0 16px; }

/* One real review inside the offer card, under the course mockup. */
.offer-quote { margin: 20px 0 0; padding: 18px 20px; background: var(--cloud); border-radius: var(--radius); }
.offer-quote p { margin: 8px 0 8px; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--slate-800); }
.offer-quote mark { background: #FBD9A8; color: var(--slate-900); font-weight: 800; padding: 0 2px; border-radius: 3px; }
/* Key word in the offer headline: thick gold marker underline, text stays dark for contrast. */
.offer-card h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--desierto) 62%, var(--desierto) 92%, transparent 92%); padding: 0 2px; }
.offer-quote footer { font-size: 14px; font-weight: 700; color: var(--slate-600); }
/* Google rating under James: big gold stars, then the score. */
.google-badge { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; font-size: 20px; color: var(--slate-900); }
.google-badge .stars { display: inline; font-size: 30px; letter-spacing: 3px; color: #F4C04E; }
.google-badge strong { font-weight: 700; }
.offer-reviews { padding: 8px 0 56px; }
.offer-reviews .stars { font-size: 24px; margin-bottom: 8px; }
.offer-reviews h2 { margin-bottom: 16px; }

.offer-details { padding-top: 24px; }
.chips { list-style: none; counter-reset: chip; display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 56px; }
.chips li { counter-increment: chip; white-space: nowrap; background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 700; font-size: 16px; color: var(--slate-800); }
.chips li::before { content: counter(chip); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--desierto); color: var(--slate-900); font-size: 14px; font-weight: 800; }
.offer-details h2 { margin-bottom: 24px; }
.learn { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.learn li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 16px 20px; }
.tick { width: 28px; height: 28px; background: var(--slate-800); color: var(--white); margin-top: 1px; }
.tick svg { width: 16px; height: 16px; }

.guarantee-block { padding-top: 8px; }
.guarantee { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 32px 24px; margin-bottom: 40px; }
.guarantee-icon { width: 56px; height: 56px; background: var(--desierto); color: var(--slate-800); margin-bottom: 12px; }
.guarantee-icon svg { width: 28px; height: 28px; }
.guarantee h2 { margin-bottom: 8px; font-size: clamp(24px, 3vw, 30px); }
.guarantee p { margin: 0 auto; max-width: 32em; }
.guarantee-block .offer-cta { display: flex; flex-direction: column; align-items: center; }
.guarantee-block .offer-btn { width: 100%; }
.price-inline { justify-content: center; margin-bottom: 14px; }
.price-inline .price-now { font-size: 40px; }
.guarantee-block .offer-assure { justify-content: center; text-align: left; }
.decline { margin: 32px 0 0; font-size: 15px; }
.decline a { color: var(--slate-600); }

@media (max-width: 759px) {
  .ty-success { padding-top: 16px; }
  .ty-logo { width: 64px; margin-bottom: 4px; }
  .success-icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .success-icon svg { width: 24px; height: 24px; }
  .ty-success h1 { font-size: 26px; }
  .teacher img { width: 88px; height: 88px; }
  /* Six chips can't fit one row on a phone: two even rows of three. */
  .chips { grid-template-columns: repeat(3, 1fr); }
  .ty-note { margin: 6px 0 16px; font-size: 16px; }
  .offer-wrap { padding-top: 20px; }
  .offer-grid { padding: 22px 18px; }
  .offer-banner { font-size: 18px; padding: 12px; }
  .offer-card h2 { font-size: 28px; }
  .offer-card .hero-sub { font-size: 16px; margin: 10px 0 16px; }
  .price { margin-bottom: 14px; }
  .price-now { font-size: 44px; }
  .offer-btn { max-width: none; }
  .success-btn { width: 100%; }
}
@media (min-width: 760px) {
  .offer-grid { padding: 32px 40px; }
  .offer-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
}

/* Below laptop width the six chips become even stacked tiles so they stay on one row. */
@media (max-width: 959px) {
  .chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .chips li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--radius); font-size: 14px; text-align: center; }
  .chips li::before { margin-right: 0; }
}
@media (max-width: 559px) {
  .chips { grid-template-columns: repeat(3, 1fr); }
}
