/* ==========================================================================
   LUZ EN EL CAMINO – Main Stylesheet
   Mobile-first design | Breakpoints: 768px / 1024px
   ========================================================================== */

/* ------------------------------------------
   CSS Custom Properties (Design Tokens)
------------------------------------------ */
:root {
  /* Colors */
  --amber:        #D4A24C;
  --amber-dark:   #B8872E;
  --amber-light:  #E0A93F;
  --bg-cream:     #F7F3ED;
  --bg-cream-2:   #FAF7F2;
  --bg-white:     #FFFFFF;
  --bg-icon:      #FCEBD5;
  --text-dark:    #1F1F1F;
  --text-main:    #2B2B2B;
  --text-gray:    #6B6B6B;
  --bg-dark-1:    #1A1D2B;
  --bg-dark-2:    #0F1119;

  /* Typography */
  --font:         'Poppins', sans-serif;

  /* Spacing */
  --section-py:   5rem;
  --section-py-sm:3rem;

  /* Borders & Shadows */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-card:  0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition:   0.3s ease;
}

/* ------------------------------------------
   Reset & Base
------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ------------------------------------------
   Utility: Container
------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ------------------------------------------
   Utility: Eyebrow Label
------------------------------------------ */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ------------------------------------------
   Utility: Section Header
------------------------------------------ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

/* ------------------------------------------
   Utility: Buttons
------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 162, 76, 0.35);
}
.btn--amber:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 162, 76, 0.45);
}
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.875rem; }

/* ------------------------------------------
   Utility: Text color
------------------------------------------ */
.text--amber { color: var(--amber); }

/* ------------------------------------------
   Utility: Store Badges
------------------------------------------ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.2rem;
  background: var(--text-dark);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  transition: background var(--transition), transform var(--transition);
}
.store-badge:hover { background: #333; transform: translateY(-2px); }
.store-badge i { font-size: 1.5rem; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge small { font-size: 0.65rem; opacity: 0.75; letter-spacing: 0.05em; }
.store-badge strong { font-size: 0.95rem; font-weight: 700; }

.store-badge--light {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}
.store-badge--light:hover { background: rgba(255,255,255,0.15); }

/* ------------------------------------------
   Scroll Animations (IntersectionObserver)
------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay { transition-delay: 0.18s; }

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color var(--transition);
}
.header.scrolled .header__logo { color: var(--text-dark); }
.logo-icon { color: var(--amber); font-size: 1.3rem; }

/* Nav */
.header__nav { display: none; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: #fff; }
.header.scrolled .nav__link { color: var(--text-gray); }
.header.scrolled .nav__link:hover { color: var(--text-dark); }

/* Actions */
.header__actions { display: flex; align-items: center; gap: 1rem; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
}
.mobile-drawer.open { max-height: 420px; }
.mobile-drawer__list {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-drawer__link {
  display: block;
  padding: 0.65rem 0.5rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid #f1f1f1;
  transition: color var(--transition);
}
.mobile-drawer__link:hover { color: var(--amber); }
.mobile-drawer__cta { margin-top: 1rem; text-align: center; justify-content: center; }

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .hamburger  { display: none; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 17, 25, 0.72) 0%,
    rgba(15, 17, 25, 0.45) 60%,
    rgba(15, 17, 25, 0.25) 100%
  );
}

/* Hero content */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 1.25rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 5rem 1.25rem;
  }
}

/* Hero text */
.hero__text { color: #fff; }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* CTAs row */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hero__link-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.hero__link-play:hover { color: var(--amber-light); }
.play-circle {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background var(--transition);
}
.hero__link-play:hover .play-circle { background: rgba(255,255,255,0.25); }

/* Store badges in hero */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   PHONE MOCKUP
   ========================================================================== */
.hero__mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #333,
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  width: 70px; height: 6px;
  background: #222;
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #0d0f1a;
  border-radius: 26px;
  overflow: hidden;
  min-height: 520px;
}

/* App UI Simulation */
.app-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #f3f4f6;
  font-size: 0.75rem;
}

.app-ui__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-ui__title { font-size: 1rem; font-weight: 700; }
.app-ui__icons { display: flex; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.app-ui__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0;
}
.app-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 90px;
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.app-card span {
  position: absolute;
  bottom: 6px; left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

.app-ui__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
}
.app-ui__search i { color: var(--amber); font-size: 0.75rem; }

.app-ui__suggestions { padding: 0 0.75rem; }
.suggestions-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
}
.suggestion-item i { font-size: 0.6rem; color: rgba(255,255,255,0.3); }

.app-ui__bottomnav {
  display: flex;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0;
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
}
.bottom-nav-item--active { color: var(--amber); }
.bottom-nav-item i { font-size: 0.85rem; }

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
  background: var(--bg-cream);
  padding: var(--section-py) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .features__grid { grid-template-columns: repeat(5, 1fr); } }

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon {
  width: 60px; height: 60px;
  background: var(--bg-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--amber);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  background: var(--bg-cream-2);
  padding: var(--section-py) 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about__inner { grid-template-columns: 1fr 1fr; } }

.about__text h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.about__text p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.about__checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about__checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
}
.about__checks i { color: var(--amber); font-size: 1.05rem; margin-top: 1px; flex-shrink: 0; }

/* Quote Card */
.about__quote-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.about__quote-bg {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,17,25,0.55) 0%, rgba(15,17,25,0.85) 100%);
}
.about__quote-content {
  position: absolute;
  inset: 0;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__quote-icon {
  font-size: 2.5rem;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.about__quote-content blockquote {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-style: normal;
}
.about__quote-content cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber);
  font-style: normal;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
  background: var(--bg-cream);
  padding: var(--section-py) 0;
}

.testimonials__wrapper { overflow: hidden; }

.testimonials__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}
@media (min-width: 768px) {
  .testimonials__track { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.testimonial-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-icon);
}
.testimonial-card__quote {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.65;
  font-style: italic;
}
.testimonial-card__name {
  font-size: 0.95rem;
  color: var(--text-dark);
}
.testimonial-card__stars { color: var(--amber); font-size: 0.85rem; display: flex; gap: 2px; }

/* Dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot--active {
  background: var(--amber);
  transform: scale(1.25);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  background: var(--bg-white);
  padding: var(--section-py) 0;
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq__item {
  border: 1px solid #ebe8e3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { color: var(--amber); font-size: 0.85rem; transition: transform var(--transition); flex-shrink: 0; }
details[open] .faq__icon { transform: rotate(180deg); }
.faq__answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   CTA FINAL BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 100%);
  padding: var(--section-py) 0;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band__inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }
}

.cta-band__img {
  width: 110px; height: 110px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin: 0 auto;
}
@media (min-width: 768px) { .cta-band__img { margin: 0; } }

.cta-band__text h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.cta-band__text p { font-size: 0.925rem; color: rgba(255,255,255,0.65); }

.cta-band__badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 768px) { .cta-band__badges { align-items: flex-start; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark-2);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--amber); }

.footer__copyright {
  text-align: center;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   CUSTOM SVG ICON – Bible with Sun Rays
   ========================================================================== */

/* Logo variant: img tag inside header/footer logo */
.logo-icon--img {
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(212, 162, 76, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.header__logo:hover .logo-icon--img,
.footer__logo:hover .logo-icon--img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(212, 162, 76, 0.75));
}

/* CTA Band icon: larger display */
.cta-band__img--icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: rgba(212, 162, 76, 0.08);
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(212, 162, 76, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(0 0 16px rgba(212, 162, 76, 0.35));
}

/* ==========================================================================
   LEGAL PAGE / PRIVACY POLICY
   ========================================================================== */
.legal-page {
  padding-top: 70px;
  background: var(--bg-cream);
  min-height: 100vh;
}

.legal-hero {
  background: linear-gradient(135deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  border-bottom: 3px solid var(--amber);
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: transform var(--transition), color var(--transition);
}
.legal-back-link:hover {
  color: var(--amber-light);
  transform: translateX(-4px);
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-content {
  padding: 3.5rem 0 5rem;
}

.legal-card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.legal-card:hover {
  box-shadow: var(--shadow-hover);
}

.legal-card--highlight {
  border-left: 4px solid var(--amber);
  background: linear-gradient(to right, #FFFDF8, #FFFFFF);
}

.legal-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--bg-cream);
  padding-bottom: 0.75rem;
}

.legal-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-icon);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.legal-card__header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.legal-card__body p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-card__body p:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  padding-left: 0.25rem;
}

.legal-list li {
  font-size: 0.935rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}
.legal-list li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.legal-callout {
  display: flex;
  gap: 0.85rem;
  background: var(--bg-cream-2);
  border: 1px solid rgba(212, 162, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.legal-callout i {
  color: var(--amber-dark);
  font-size: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.legal-callout p {
  font-size: 0.885rem;
  color: var(--text-main);
  margin-bottom: 0;
}
.legal-callout a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
}
.legal-callout a:hover {
  color: var(--amber);
}

/* ==========================================================================
   LEGAL HEADER FIX – Dark background & white text at all scroll positions
   ========================================================================== */
.header--legal {
  background: var(--bg-dark-2) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header--legal.scrolled {
  background: rgba(15, 17, 25, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.header--legal .header__logo,
.header--legal.scrolled .header__logo {
  color: #fff !important;
}
.header--legal .nav__link,
.header--legal.scrolled .nav__link {
  color: rgba(255, 255, 255, 0.85) !important;
}
.header--legal .nav__link:hover,
.header--legal.scrolled .nav__link:hover {
  color: #fff !important;
}
.header--legal .hamburger span,
.header--legal.scrolled .hamburger span {
  background: #fff !important;
}



