/* ============================================
   Laura's Latin Love — marketing site
   Fraunces (display/editorial) + Inter (body/UI)
   Palette: Colombian flag (yellow / blue / red),
   expressionist painted-wash backgrounds on dark sections.
   ============================================ */

:root {
  --co-yellow: #FCD116;
  --co-blue: #003893;
  --co-blue-bright: #1E56C2;
  --co-red: #CE1126;
  --co-red-dark: #8F0E1C;

  --ink: #0B1220;
  --ink-soft: #16213E;
  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --stone: #5B5A52;
  --stone-light: #A9A493;
  --border-soft: #EFE6CE;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: var(--space-3);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--co-blue-bright);
  outline-offset: 2px;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

em.es {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--co-red);
}

/* ---------- Expressionist paint-wash backgrounds ---------- */
/* Layered, soft-edged color blobs (yellow / blue / red) evoking a painted
   canvas rather than a flat corporate gradient. Grain adds a subtle painted
   texture. Both are decorative only — pointer-events: none, no motion. */

.paint-wash {
  position: absolute;
  inset: 0;
  background-image: url("/__l5e/assets-v1/af230ff9-44f5-44ef-a736-5e2f7140971d/motif-wide.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.paint-corner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.paint-corner::before,
.paint-corner::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background-image: url("/__l5e/assets-v1/66c68d2f-0a1a-4e59-aabe-b20433baa69a/motif-corner.svg");
  background-size: cover;
  opacity: 0.5;
}
.paint-corner::before {
  top: -90px;
  left: -90px;
}
.paint-corner::after {
  bottom: -110px;
  right: -110px;
  transform: rotate(180deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--co-red) 0%, var(--co-red-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(206, 17, 38, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(206, 17, 38, 0.65);
}
.btn-primary:active { transform: translateY(0); }

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  gap: var(--space-4);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark em { color: var(--co-red); }

.primary-nav {
  display: flex;
  gap: var(--space-5);
  font-weight: 600;
  font-size: 15px;
}
.primary-nav a {
  text-decoration: none;
  color: var(--stone);
  transition: color 200ms var(--ease-out);
}
.primary-nav a:hover { color: var(--co-red); }

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-inner { gap: var(--space-2); }
  .btn-small { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .hero-visual {
    min-height: 0;
    padding-top: var(--space-4);
  }
  .phone-frame--lg { width: 200px; }
}

@media (max-width: 480px) {
  .hero { padding-top: var(--space-6); padding-bottom: var(--space-6); }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--co-blue);
  margin: 0 0 var(--space-3);
}
.eyebrow--dark { color: var(--co-yellow); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--co-yellow); font-weight: 500; }

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin: 0 0 var(--space-5);
}

/* ---------- CTA group / store badges ---------- */

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.form-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-3);
}
.form-note--dark { color: rgba(255,255,255,0.55); }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
  position: relative;
}
.store-badge:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
}
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store-badge__eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.store-badge__name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
}
.store-badge__tag {
  position: absolute;
  top: -9px;
  right: -8px;
  background: var(--co-yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.store-badge--light {
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------- Toast (click feedback for placeholder CTAs) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
  z-index: 1000;
  max-width: 90vw;
  text-align: center;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Hero visual / phone frames ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.phone-frame {
  position: relative;
  width: 220px;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  border: 8px solid #050810;
  background: #050810;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

.phone-frame--lg {
  width: 260px;
  z-index: 2;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-frame--video {
  aspect-ratio: 886 / 1508;
  align-self: flex-start;
}
video.phone-video {
  object-fit: cover;
}

.hero-photo {
  position: absolute;
  right: 0;
  bottom: -10%;
  width: 200px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5);
  border: 4px solid rgba(255,255,255,0.1);
  z-index: 1;
  display: none;
}

@media (min-width: 700px) {
  .hero-photo { display: block; }
}

/* ---------- Strip ---------- */

.strip {
  background: var(--co-blue);
  color: #fff;
  padding: var(--space-3) 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
}
.strip .dot { color: var(--co-yellow); opacity: 0.8; }

/* ---------- Section titles (shared) ---------- */

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
.section-title em { color: var(--co-red); }
.section-title--dark em { color: var(--co-yellow); }

.section-sub {
  font-size: 18px;
  color: var(--stone);
  max-width: 60ch;
  margin: 0 0 var(--space-6);
}
.section-sub--dark { color: rgba(255,255,255,0.72); }

/* ---------- Journey ---------- */

.journey {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: var(--space-8) 0;
  overflow: hidden;
}

.journey-track {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.journey > .wrap { position: relative; }

.journey-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}

.journey-card--reverse .journey-media { order: 2; }
.journey-card--reverse .journey-text { order: 1; }

@media (max-width: 800px) {
  .journey-card,
  .journey-card--reverse {
    grid-template-columns: 1fr;
  }
  .journey-card--reverse .journey-media,
  .journey-card--reverse .journey-text {
    order: initial;
  }
}

.journey-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
}
.journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.journey-card:hover .journey-media img { transform: scale(1.04); }
.journey-media--bottom img { object-position: bottom center; }

.journey-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--co-yellow);
  border: 1.5px solid var(--co-yellow);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: var(--space-3);
}

.journey-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 var(--space-3);
}

.journey-text p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
  margin: 0;
}

.journey-card--finale {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--co-yellow);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: gap 200ms var(--ease-out);
}
.link-arrow:hover { gap: 12px; }

/* ---------- In-action phone grid ---------- */

.in-action {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-7);
  overflow: hidden;
}
.in-action > .wrap,
.in-action > .phone-grid { position: relative; }

.phone-grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  scroll-snap-type: x proximity;
}
.phone-grid .phone-frame {
  scroll-snap-align: start;
  width: 190px;
}

.phone-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-3) var(--space-3) var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

/* ---------- Why Play ---------- */

.why-play {
  position: relative;
  background: var(--cream);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.why-play > .wrap { position: relative; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 720px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

.benefit-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
}

.benefit-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: var(--space-4);
  background: var(--ink);
}
.benefit-media video,
.benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.benefit-media--bottom img { object-position: bottom center; }

.benefit-icon {
  width: 28px;
  height: 28px;
  color: var(--co-red);
  margin-bottom: var(--space-2);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 var(--space-2);
}
.benefit-card p {
  color: var(--stone);
  margin: 0;
  font-size: 16px;
}

/* ---------- Meet Laura ---------- */

.meet-laura {
  position: relative;
  background: var(--paper);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.meet-laura > .wrap { position: relative; }

.meet-laura-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (max-width: 800px) {
  .meet-laura-inner { grid-template-columns: 1fr; }
}

.meet-laura-media {
  position: relative;
}
.meet-laura-media img:first-child {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.meet-laura-media__accent {
  position: absolute;
  width: 42%;
  bottom: -8%;
  right: -8%;
  border-radius: var(--radius-md);
  border: 6px solid var(--paper);
  box-shadow: 0 20px 40px -16px rgba(11,18,32,0.25);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.meet-laura-copy p {
  font-size: 17px;
  color: var(--stone);
}

.meet-laura-flag {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--space-3);
}
.meet-laura-flag span {
  width: 26px;
  height: 8px;
  border-radius: 2px;
}
.meet-laura-flag span:nth-child(1) { background: var(--co-yellow); }
.meet-laura-flag span:nth-child(2) { background: var(--co-blue); }
.meet-laura-flag span:nth-child(3) { background: var(--co-red); }

/* ---------- Get the App (final CTA) ---------- */

.get-app {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: var(--space-8) 0;
  text-align: center;
}

.get-app-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-app-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.15);
  margin-bottom: var(--space-4);
}

.get-app .section-sub { margin-left: auto; margin-right: auto; text-align: center; }

.get-app .store-badges {
  justify-content: center;
  margin-top: var(--space-2);
}

.get-app .cta-group {
  justify-content: center;
  flex-direction: column;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.wordmark--footer {
  color: #fff;
  font-size: 18px;
}
.wordmark--footer em { color: var(--co-yellow); }
.footer-inner p {
  font-size: 14px;
  margin: 0;
}
.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-link:hover { color: var(--co-yellow); }

/* ---------- Legal pages ---------- */

.legal {
  background: var(--cream);
  padding: var(--space-7) 0 var(--space-8);
}
.legal-inner {
  max-width: 760px;
}
.legal-updated {
  color: var(--stone);
  font-size: 15px;
  margin: 0 0 var(--space-6);
}
.legal-inner > p {
  font-size: 17px;
  color: var(--stone);
  margin: 0 0 var(--space-4);
}
.legal-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin: var(--space-6) 0 var(--space-3);
}
.legal-inner ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.3em;
  color: var(--stone);
  font-size: 17px;
}
.legal-inner li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}
.legal-inner li strong {
  color: var(--ink);
}
.legal-inner a {
  color: var(--co-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Mobile legibility ---------- */
/* On phones, light text on the dark sections was rendering thin and washed
   out: `-webkit-font-smoothing: antialiased` thins glyphs on iOS/Android,
   the body copy sat at 72% white, and the grain overlay dropped contrast
   further. Restore full smoothing, raise contrast, and bump size/spacing. */
@media (max-width: 640px) {
  body {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }

  .journey .grain,
  .in-action .grain,
  .hero .grain,
  .get-app .grain { opacity: 0.025; }

  .section-sub--dark,
  .journey-text p { color: rgba(255, 255, 255, 0.92); }

  .section-sub,
  .journey-text p,
  .why-play .benefit-card p,
  .meet-laura-copy p {
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0.005em;
  }

  .section-sub { color: #4A493F; }

  .journey-text h3 { letter-spacing: -0.005em; }
}

/* --- Cookie consent banner (landing) --- */
.cookie-banner{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:9999;
  width:min(560px,calc(100vw - 24px));background:#fff;color:#2b1c12;border:1px solid rgba(43,28,18,.15);
  border-radius:16px;padding:16px;box-shadow:0 18px 40px rgba(30,15,5,.28);font-size:14px;line-height:1.55}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:0}
.cookie-banner a{color:#b2560f;font-weight:700}
.cookie-banner__actions{display:flex;gap:8px;margin-top:12px}
.cookie-banner button{flex:1;border:0;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer;
  background:linear-gradient(180deg,#f4c877,#e8a13a);color:#3a2408}
.cookie-banner button.ghost{background:#fff;border:1px solid rgba(43,28,18,.2);color:#2b1c12}
