/* =====================================================================
   Speak Spanish With Me — Design System & Styles
   Static site (Hostinger shared hosting). No build step required.
   Brand: Spanish Red #C62828 · Golden Yellow #FFC107 · Navy #1A237E · Cream #FFF5E6
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --red: #c62828;
  --red-dark: #a81f1f;
  --red-ink: #9e1b1b;      /* AA text on light */
  --yellow: #ffc107;
  --yellow-dark: #e6a700;
  --yellow-soft: #ffe08a;
  --navy: #1a237e;
  --navy-deep: #141a5e;
  --cream: #fff5e6;
  --cream-2: #fff9f0;

  /* Neutrals */
  --ink: #201f26;          /* headings */
  --body: #3e4250;         /* body text (AA on white & cream) */
  --muted: #6a6f7e;
  --white: #ffffff;
  --line: rgba(26, 35, 126, .12);
  --line-soft: rgba(26, 35, 126, .07);

  /* Type */
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  /* Radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(32, 31, 38, .06);
  --sh: 0 10px 30px rgba(32, 31, 38, .08);
  --sh-lg: 0 22px 50px rgba(32, 31, 38, .14);
  --sh-red: 0 14px 30px rgba(198, 40, 40, .28);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--body);
  background: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
a { color: var(--red-ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 6px;
}

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 8.5vw, 120px); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #eaf; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--yellow); }
.bg-navy .eyebrow { color: var(--yellow); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--body); font-size: 1.08rem; }
.bg-navy .section-head p { color: #cdd2ff; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  box-shadow: var(--sh-red); position: relative; overflow: hidden; line-height: 1;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-3px); color:#fff; box-shadow: 0 18px 36px rgba(198,40,40,.34); }
.btn:active { transform: translateY(-1px); }
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: var(--sh); }
.btn--gold { --btn-bg: var(--yellow); color: var(--navy); box-shadow: 0 14px 30px rgba(255,193,7,.35); }
.btn--gold:hover { color: var(--navy); box-shadow: 0 18px 36px rgba(255,193,7,.45); }
.btn--light { background:#fff; color: var(--red-ink); box-shadow: var(--sh); }
.btn--light:hover { color: var(--red); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 240, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-sm); border-color: var(--line-soft); background: rgba(255,249,240,.92); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; transition: transform .3s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name .r { color: var(--red); }
.brand__tag { font-family: var(--font-script); font-size: 1rem; color: var(--yellow-dark); margin-top: 1px; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  padding: 10px 15px; border-radius: var(--r-pill); font-size: .98rem; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--red); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--red); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 11px 20px; font-size: .95rem; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2.4px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after { transform: translateY(7px); }
.nav__toggle span { position: relative; }
.nav__toggle span::before, .nav__toggle span::after { position: absolute; left: 0; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(255,193,7,.30), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(198,40,40,.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy visual" "cta visual"; gap: 4px clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy { grid-area: copy; align-self: end; }
.hero__visual { grid-area: visual; }
.hero__cta-wrap { grid-area: cta; align-self: start; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; color: var(--navy);
  box-shadow: var(--sh-sm); margin-bottom: 22px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.18); }
.hero h1 .script { font-family: var(--font-script); font-weight: 700; color: var(--red); font-size: 1.12em; letter-spacing: 0; }
.hero h1 .gold { color: var(--yellow-dark); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 33ch; margin-block: 18px 26px; color: var(--body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__proof { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero__stars { color: var(--yellow-dark); font-size: 1.1rem; letter-spacing: 2px; }
.hero__proof small { color: var(--muted); }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__blob {
  position: relative; width: min(430px, 88%); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: linear-gradient(150deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  display: grid; place-items: center; box-shadow: var(--sh-lg);
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
  50% { border-radius: 54% 46% 44% 56% / 44% 56% 44% 56%; }
}
.hero__photo {
  width: 92%; height: 92%; border-radius: 44% 56% 50% 50% / 52% 48% 52% 48%;
  object-fit: cover; background: var(--cream);
}
.hero__flag {
  position: absolute; bottom: 8%; left: -6%; background: #fff; border-radius: var(--r);
  padding: 12px 16px; box-shadow: var(--sh); display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy); font-size: .92rem; animation: floaty 5s ease-in-out infinite;
}
.hero__pill {
  position: absolute; top: 10%; right: -4%; background: #fff; border-radius: var(--r);
  padding: 12px 16px; box-shadow: var(--sh); display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy); font-size: .92rem; animation: floaty 6s ease-in-out infinite .6s;
}
.hero__pill .ic { color: var(--red); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero framed figure (real illustration) */
.hero__figure { position: relative; width: 100%; max-width: 580px; margin-inline: auto; }
.hero__figure img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 34px rgba(32,31,38,.20)); }
.hero__glow {
  position: absolute; inset: -10% -8% -6% -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,193,7,.55), rgba(255,193,7,0) 72%);
  filter: blur(26px);
}
.hero__figure img, .hero__figure .hero__flag, .hero__figure .hero__pill { position: relative; z-index: 1; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 16px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.trust__item:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.trust__ic {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(150deg, #fff2f2, #ffe3e3); color: var(--red);
}
.trust__ic svg { width: 28px; height: 28px; }
.trust__item b { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.trust__item span { font-size: .88rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.stat { text-align: center; padding: 10px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.3rem); color: var(--yellow); line-height: 1; letter-spacing: -.03em; }
.bg-navy .stat__num { color: var(--yellow); }
.stat__num .u { font-size: .5em; vertical-align: super; margin-left: 2px; }
.stat__label { margin-top: 10px; font-weight: 600; color: #fff; }
.stat__sub { font-size: .85rem; color: #b9beff; margin-top: 2px; }

/* ---------- Feature / benefit cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.card:hover::before { transform: scaleX(1); }
.card__ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--cream), #fff0d6); color: var(--red);
}
.card__ic svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--body); font-size: .98rem; }

/* ---------- Honesty / note card ---------- */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: linear-gradient(150deg, #fff, var(--cream)); border: 1px solid var(--line);
  border-left: 5px solid var(--yellow); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--sh-sm);
  max-width: 900px; margin-inline: auto;
}
.note__ic { width: 48px; height: 48px; border-radius: 14px; background: #fff6da; color: var(--yellow-dark); display: grid; place-items: center; }
.note__ic svg { width: 26px; height: 26px; }
.note h3 { margin-bottom: 6px; }
.note p { margin: 0; color: var(--body); }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--flip .split__media { order: 2; }
.media-frame {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--cream);
  border: 8px solid #fff; position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.checklist .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #eafaef; color: #1f9d55; display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 15px; height: 15px; }

/* ---------- Levels ---------- */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; }
.level {
  border-radius: var(--r-lg); padding: 30px 28px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--sh); min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end;
}
.level h3 { color: #fff; }
.level p { margin: 0; color: rgba(255,255,255,.9); font-size: .96rem; }
.level__tag { position: absolute; top: 20px; left: 24px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.level--1 { background: linear-gradient(155deg, #e14b4b, var(--red)); }
.level--2 { background: linear-gradient(155deg, #ffb23e, var(--yellow-dark)); color: var(--navy); }
.level--2 h3, .level--2 p, .level--2 .level__tag { color: var(--navy); }
.level--3 { background: linear-gradient(155deg, #3947c9, var(--navy)); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__n {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--red);
  font-size: 1.3rem; margin-bottom: 16px; box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--body); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(20px, 4vw, 36px); padding: clamp(38px, 6vw, 68px); text-align: center; color: #fff; box-shadow: var(--sh-lg); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 70%, #7d1616 100%); }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(255,193,7,.35), transparent 60%); }
.cta-band > *:not(.cta-band__bg) { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Testimonial / community ---------- */
.quote { max-width: 780px; margin-inline: auto; text-align: center; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); line-height: 1.35; letter-spacing: -.02em; }
.quote .mark { font-family: var(--font-script); color: var(--yellow-dark); font-size: 4rem; line-height: 0; display: block; height: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #16123a 0%, #0f0c2b 100%); color: #c9cdf0; padding-block: clamp(48px, 6vw, 72px) 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 48px); }
.footer .brand__name { color: #fff; }
.footer .brand__name .r { color: var(--yellow); }
.footer .brand__tag { color: var(--yellow); }
.footer p { color: #a9aede; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 11px; }
.footer__links a { color: #b7bce8; font-size: .96rem; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a { display: flex; align-items: center; gap: 11px; color: #c9cdf0; font-size: .96rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.socials a:hover { transform: translateY(-3px); background: var(--red); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-family: inherit; }
.newsletter input::placeholder { color: #8f94c4; }
.newsletter button { border: 0; border-radius: 50%; width: 46px; height: 46px; background: var(--yellow); color: var(--navy); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease); }
.newsletter button:hover { transform: scale(1.08); }
.footer__bar { margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: #9297c7; }
.footer__bar a { color: #b7bce8; }
.footer__bar a:hover { color: #fff; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(198,40,40,.12);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status { display: none; padding: 14px 18px; border-radius: var(--r); font-weight: 600; }
.form__status.ok { display: block; background: #eafaef; color: #157a3e; border: 1px solid #b6e6c6; }
.form__status.err { display: block; background: #fdECEC; color: #b02020; border: 1px solid #f3c0c0; }

/* ---------- Contact methods ---------- */
.contact-methods { display: grid; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.contact-method:hover { transform: translateX(4px); box-shadow: var(--sh); }
.contact-method__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg,#fff2f2,#ffe3e3); color: var(--red); flex-shrink: 0; }
.contact-method__ic svg { width: 24px; height: 24px; }
.contact-method b { display: block; font-family: var(--font-display); color: var(--ink); }
.contact-method span { font-size: .92rem; color: var(--muted); }

/* ---------- About specifics ---------- */
.about-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about-hero__figure { max-width: 540px; }
.split__figure { max-width: 430px; margin-inline: auto; }
.home-figure { max-width: 520px; margin-inline: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; font-weight: 600; font-size: .9rem; color: var(--navy); box-shadow: var(--sh-sm); }
.facts span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-dark); }
.timeline { display: grid; gap: 6px; max-width: 760px; margin-inline: auto; }
.tl { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.tl__place { font-family: var(--font-display); font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 10px; }
.tl__place .flag { font-size: 1.4rem; }
.tl h3 { margin-bottom: 4px; font-size: 1.2rem; }
.tl p { margin: 0; }

/* ---------- Digital business card ---------- */
.dbc-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: clamp(30px, 6vw, 60px); position: relative; overflow: hidden; }
.dbc-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(700px 400px at 80% -5%, rgba(255,193,7,.28), transparent 60%),
  radial-gradient(700px 500px at 10% 105%, rgba(198,40,40,.14), transparent 60%),
  linear-gradient(180deg, var(--cream), var(--cream-2)); }
.dbc {
  position: relative; z-index: 1; width: min(430px, 100%); background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--line-soft);
}
.dbc__cover { height: 132px; position: relative; background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 60%, #8a1818 100%); }
.dbc__cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 160px at 85% 0, rgba(255,193,7,.5), transparent 60%); }
.dbc__pattern { position: absolute; inset: 0; opacity: .18; }
.dbc__avatar {
  position: absolute; left: 50%; top: 74px; transform: translateX(-50%);
  width: 116px; height: 116px; border-radius: 50%; border: 5px solid #fff; background: var(--cream);
  box-shadow: var(--sh); overflow: hidden; z-index: 2;
}
.dbc__avatar img, .dbc__avatar svg { width: 100%; height: 100%; object-fit: cover; }
.dbc__body { padding: 60px 30px 30px; text-align: center; }
.dbc__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); margin: 0; letter-spacing: -.02em; }
.dbc__role { color: var(--red-ink); font-weight: 600; margin: 4px 0 2px; }
.dbc__loc { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.dbc__actions { display: grid; gap: 10px; margin-bottom: 26px; }
.dbc__qr { border-top: 1px solid var(--line-soft); padding-top: 24px; }
.dbc__qr h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dbc__qr p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.qr-box { width: 200px; height: 200px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.qr-box svg { width: 100%; height: 100%; }
.dbc__socials { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.dbc__socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--red); transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.dbc__socials a:hover { transform: translateY(-3px); background: var(--red); color: #fff; }
.dbc__socials svg { width: 20px; height: 20px; }
.dbc__foot { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.dbc__foot a { font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(30px,4vw,48px); text-align: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(800px 380px at 50% -20%, rgba(255,193,7,.28), transparent 60%),
  linear-gradient(180deg, var(--cream), var(--cream-2)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 620px; margin-inline: auto; font-size: 1.1rem; }
.crumb { display: flex; justify-content: center; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--red); }

/* ---------- Decorative ---------- */
.papel { height: 26px; width: 100%; background-size: 46px 26px; background-repeat: repeat-x; }
.wave-top { display: block; width: 100%; height: auto; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__blob, .hero__flag, .hero__pill { animation: none !important; }
  .btn::after { display: none; }
  .mobile-menu, .mobile-menu__list li, .mobile-menu__cta, .mobile-menu__meta { transition: opacity .2s linear !important; }
  body.menu-open .mobile-menu__list li, body.menu-open .mobile-menu__cta, body.menu-open .mobile-menu__meta { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* Mobile hero order: headline → badge → picture(+tags) → subhead → buttons → proof */
  .hero__grid { display: flex; flex-direction: column; text-align: center; gap: 0; }
  .hero__copy, .hero__cta-wrap { display: contents; }
  .hero h1 { order: 1; margin: 0 auto 14px; }
  .hero__badge { order: 2; margin: 0 auto; }
  .hero__visual { order: 3; margin: 18px auto 6px; }
  .hero__sub { order: 4; margin: 10px auto 0; }
  .hero__actions { order: 5; justify-content: center; margin-top: 24px; }
  .hero__proof { order: 6; justify-content: center; margin-top: 22px; }
  .hero__figure { max-width: 340px; display: block; }
  .hero__figure picture { display: block; }
  .hero__flag, .hero__pill {
    position: static !important;
    inset: auto !important;
    top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    transform: none !important; animation: none !important;
    float: none !important; display: flex !important;
    width: max-content; max-width: 90%; margin: 12px auto 0 !important;
  }
  .hero__sub { margin: 20px auto 0; }
  .hero__blob { width: min(340px, 76%); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .split, .about-hero { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 720px) {
  .form__row { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .footer__bar { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 40px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 26px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 22px; margin: 0 0 1rem; }
.prose ul li { margin-bottom: 8px; list-style: disc; }
.prose a { font-weight: 600; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal-note { background: #fff6da; border: 1px solid var(--yellow); border-radius: var(--r); padding: 16px 20px; font-size: .92rem; color: #7a5b00; margin-bottom: 30px; }

/* ---------- Off-canvas menu (phones + tablets/iPad, <= 1024px) ---------- */
.mobile-menu { display: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .mobile-menu {
    display: grid; place-items: center;
    position: fixed; inset: 0; z-index: 95;
    padding: calc(var(--header-h) + 24px) 22px 44px;
    background:
      radial-gradient(680px 360px at 88% -6%, rgba(255,193,7,.34), transparent 60%),
      radial-gradient(680px 480px at 4% 106%, rgba(198,40,40,.15), transparent 60%),
      linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    transform: translateX(100%); opacity: 0; visibility: hidden;
    transition: transform .5s var(--ease), opacity .35s var(--ease), visibility 0s linear .5s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.menu-open .mobile-menu {
    transform: none; opacity: 1; visibility: visible;
    transition: transform .5s var(--ease), opacity .35s var(--ease);
  }

  .mobile-menu__inner { width: 100%; max-width: 520px; margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .mobile-menu__list { list-style: none; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .mobile-menu__list li { width: 100%; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * .06s); }
  body.menu-open .mobile-menu__list li { opacity: 1; transform: none; }
  .mobile-menu__list a {
    display: inline-block; position: relative; font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 8.5vw, 3rem); letter-spacing: -.02em; line-height: 1.18; color: var(--ink);
    padding: 10px 14px;
  }
  .mobile-menu__list a::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 6px; height: 3px;
    background: var(--red); border-radius: 3px; transition: left .28s var(--ease), right .28s var(--ease);
  }
  .mobile-menu__list a:hover, .mobile-menu__list a:focus-visible { color: var(--red); }
  .mobile-menu__list a:hover::after, .mobile-menu__list a:focus-visible::after,
  .mobile-menu__list a[aria-current="page"]::after { left: 16%; right: 16%; }
  .mobile-menu__list a[aria-current="page"] { color: var(--red); }

  .mobile-menu__cta { margin-top: 26px; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease) .36s, transform .45s var(--ease) .36s; }
  body.menu-open .mobile-menu__cta { opacity: 1; transform: none; }
  .mobile-menu__cta .btn { font-size: 1.1rem; padding: 16px 36px; }

  .mobile-menu__meta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; transition: opacity .45s var(--ease) .46s; }
  body.menu-open .mobile-menu__meta { opacity: 1; }
  .mobile-menu__meta .socials a { background: #fff; color: var(--red); box-shadow: var(--sh-sm); }
  .mobile-menu__meta .socials a:hover { background: var(--red); color: #fff; }
  .mobile-menu__email { color: var(--body); font-weight: 600; font-size: .96rem; display: inline-flex; align-items: center; gap: 8px; }
  .mobile-menu__email svg { width: 17px; height: 17px; color: var(--red); }
}
@media (min-width: 1025px) { body.menu-open .mobile-menu { display: none; } body.menu-open { overflow: visible; } }

/* ---------- Full-viewport fold (first two sections share one screen) ---------- */
/* Desktop & tablet only; phones keep natural height. */
@media (min-width: 768px) {
  .fold { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
  .fold > .hero,
  .fold > .page-hero { display: flex; align-items: center; padding-block: clamp(20px, 3vh, 44px); }
  .fold > .hero > .container,
  .fold > .page-hero > .container { width: 100%; }
  .fold > .section,
  .fold > .section--tight { padding-block: clamp(24px, 3.5vh, 52px); }
}

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; box-shadow: var(--sh-sm); }
.lang-switch__opt { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: var(--muted); padding: 6px 11px; border-radius: var(--r-pill); line-height: 1; transition: background .2s var(--ease), color .2s var(--ease); }
.lang-switch__opt:hover { color: var(--red); }
.lang-switch__opt.is-active { background: var(--red); color: #fff; }
.lang-switch__opt.is-active:hover { color: #fff; }
.mobile-menu .lang-switch { margin: 24px auto 0; padding: 4px; }
.mobile-menu .lang-switch__opt { font-size: .98rem; padding: 9px 18px; }

/* =====================================================================
   Cookie consent banner
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(680px, calc(100% - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(20, 25, 60, .22);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px 22px;
  flex-wrap: wrap;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease, cubic-bezier(.2,.7,.2,1)), opacity .35s ease, visibility .35s;
}
.cookie-banner.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cookie-banner__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--muted);
}
.cookie-banner__text a { color: var(--red-ink); font-weight: 600; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner__btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn--primary { background: var(--red); color: #fff; }
.cookie-banner__btn--primary:hover { background: var(--red-dark); }
.cookie-banner__btn--ghost { background: #fff; color: var(--red-ink); border-color: var(--line); }
.cookie-banner__btn--ghost:hover { border-color: var(--red); }
@media (max-width: 520px) {
  .cookie-banner { padding: 16px; bottom: 10px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}
