/* ============================================================
   ALACENA GRANEL — Landing Page
   style.css

   GUÍA DE PERSONALIZACIÓN:
   — Colores principales: busca ":root" al inicio de este archivo
   — Tipografía: busca "font-family" en la sección :root
   — Espaciados: busca "--space-" en :root
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ── */
:root {
  /* ── Colores — modifica aquí para cambiar la paleta completa ── */
  --c-bg:        #FAFAF8;    /* fondo general */
  --c-white:     #FFFFFF;    /* blanco puro */
  --c-ink:       #111111;    /* texto principal */
  --c-ink-soft:  #555555;    /* texto secundario */
  --c-ink-muted: #999999;    /* texto terciario */
  --c-rule:      #E8E5DF;    /* líneas divisorias */
  --c-surface:   #F2F0EC;    /* superficies / tarjetas */
  --c-dark:      #111111;    /* secciones oscuras */
  --c-dark-soft: #1C1C1C;    /* variante oscura más suave */
  --c-olive:     #8fad6a;    /* acento verde oliva */
  --c-olive-dim: rgba(143,173,106,0.15); /* acento muy suave */

  /* ── Tipografía ── */
  --font-body:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Escala tipográfica ── */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* ── Espaciados ── */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* ── Radios ── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* ── Sombras ── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12);

  /* ── Transiciones ── */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   300ms;
  --dur-slow:   600ms;
}

/* ── BASE ── */
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 760px;
}

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-bottom: var(--space-sm);
}

.eyebrow--light { color: rgba(143,173,106,0.75); }

.section__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--c-ink);
}

.section__body {
  font-size: var(--text-lg);
  color: var(--c-ink-soft);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: var(--space-sm);
}

.section__body--centered { margin-inline: auto; text-align: center; }

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ── SECTION WRAPPER ── */
.section {
  padding: var(--space-3xl) 0;
}


/* ── Variante de services usando author-block (versión simplificada) ── */
.section--services .author-block {
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl);
  background: var(--c-white);
}

.section--services .author-block__quote {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}

.nav.scrolled {
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* LOGO — cambia el texto o reemplaza con <img> si tienes logo */
.nav__logo {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.nav__cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}

.nav.scrolled .nav__cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn--primary {
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}

.btn--primary:hover {
  background: #2a2a2a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.24);
}

/* Primary light (for dark sections) */
.btn--light.btn--primary {
  background: var(--c-white);
  color: var(--c-ink);
}

.btn--light.btn--primary:hover {
  background: #f0ede8;
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-rule);
}

.btn--outline:hover {
  border-color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}

/* Sizes */
.btn--sm  { font-size: var(--text-xs); padding: 8px 16px; }
.btn--md  { font-size: var(--text-sm); padding: 12px 22px; }
.btn--lg  { font-size: var(--text-base); padding: 16px 32px; border-radius: var(--radius-lg); }

.btn--full { width: 100%; justify-content: center; }

/* ── CTA inline wrapper ── */
.cta-inline {
  text-align: center;
  margin-top: var(--space-xl);
}


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  padding: 100px var(--space-lg) var(--space-3xl);
  max-width: 1120px;
  margin: 0 auto;
}

.hero__content { padding-right: var(--space-md); }

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--c-ink);
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-ink-soft);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--c-ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

/* Precio */
.hero__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.price__amount {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.price__currency {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--c-ink-soft);
}

.price__note {
  font-size: var(--text-sm);
  color: var(--c-ink-muted);
}

/* Bullets */
.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
}

.hero__bullets svg { flex-shrink: 0; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: var(--space-md);
}

.trust-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
}

/* ── VIDEO ── */
.hero__video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--c-dark);
  box-shadow: var(--shadow-xl);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom play button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  z-index: 2;
}

.video-play-btn svg { width: 72px; height: 72px; }

.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Corner decorations */
.video-deco {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 3;
}

.video-deco--tl {
  top: 16px; left: 16px;
  border-top: 2px solid var(--c-olive);
  border-left: 2px solid var(--c-olive);
  border-radius: 3px 0 0 0;
}

.video-deco--br {
  bottom: 16px; right: 16px;
  border-bottom: 2px solid var(--c-olive);
  border-right: 2px solid var(--c-olive);
  border-radius: 0 0 3px 0;
}


/* ════════════════════════════════════════════
   BEFORE / STATS
════════════════════════════════════════════ */
.section--before {
  background: var(--c-dark);
  color: var(--c-white);
}

.section--before .section__title { color: var(--c-white); }
.section--before .section__body  { color: rgba(255,255,255,0.65); }
.section--before strong          { color: var(--c-white); }

.before__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: background var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}

.stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(143,173,106,0.3);
}

.stat-card__num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-olive);
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.before__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}


/* ════════════════════════════════════════════
   FOR YOU — TARJETAS
════════════════════════════════════════════ */
.section--for-you { background: var(--c-bg); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.for-card {
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}

.for-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-olive);
}

.for-card__icon {
  width: 44px;
  height: 44px;
  background: var(--c-olive-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.for-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.for-card__body {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.65;
}


/* ════════════════════════════════════════════
   LEARN
════════════════════════════════════════════ */
.section--learn {
  background: var(--c-surface);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-rule);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.learn-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-lg);
  background: var(--c-white);
  transition: background var(--dur-base) var(--ease);
}

.learn-item:hover { background: #fafdf7; }

.learn-item__num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-olive);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 28px;
}

.learn-item strong { color: var(--c-ink); }
.learn-item { font-size: var(--text-sm); color: var(--c-ink-soft); line-height: 1.65; }


/* ════════════════════════════════════════════
   PREVIEW GALLERY
════════════════════════════════════════════ */
.section--preview { background: var(--c-bg); }

.preview-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.preview-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.preview-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  position: relative;
}

.preview-card--large { grid-row: span 2; }
.preview-card--large .preview-card__img { aspect-ratio: auto; height: 100%; min-height: 320px; }

.preview-card--wide { grid-column: span 2; }
.preview-card--wide .preview-card__img { aspect-ratio: 16/9; }

/* Placeholder mientras no haya imágenes reales */
.preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0ede8 0%, #e8e5df 100%);
}

.preview-placeholder span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

/* Oculta placeholder si hay imagen real cargada */
.preview-card__img[style*="url("]::after { display: none; }


/* ════════════════════════════════════════════
   AUTHOR
════════════════════════════════════════════ */
.section--author {
  background: var(--c-white);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}

.author-block {
  padding: var(--space-lg) 0;
}

.author-block__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-bottom: var(--space-lg);
}

.author-block__quote {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 300;
  font-style: italic;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

.author-block__body {
  font-size: var(--text-base);
  color: var(--c-ink-soft);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  max-width: 600px;
}

.author-block__body strong { color: var(--c-ink); }

.author-block__sig {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-rule);
}

.author-block__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
}

.author-block__sig div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-block__sig strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-ink);
}

.author-block__sig span {
  font-size: var(--text-sm);
  color: var(--c-ink-muted);
}


/* ════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════ */
.section--services { background: var(--c-bg); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.service-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-rule);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  transition: box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.service-card:hover { box-shadow: var(--shadow-lg); }

.service-card--featured {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: var(--c-white);
}

.service-card--featured .service-card__name,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__list li {
  color: rgba(255,255,255,0.8);
}

.service-card--featured .service-card__name { color: var(--c-white); }
.service-card--featured .service-card__price { color: var(--c-olive); }

.service-card__badge {
  position: absolute;
  top: -14px;
  left: var(--space-lg);
  background: var(--c-olive);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-olive);
  margin-bottom: var(--space-sm);
}

.service-card__name {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--c-ink);
  margin-bottom: var(--space-sm);
}

.service-card__price {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  margin-bottom: var(--space-md);
}

.service-card__price span {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--c-ink-muted);
}

.service-card--featured .service-card__price span { color: rgba(255,255,255,0.4); }

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  padding-left: 20px;
  position: relative;
}

.service-card__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--c-olive);
  font-size: 10px;
  top: 2px;
}

.service-card--featured .service-card__list li::before { color: var(--c-olive); }


/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.section--faq { background: var(--c-surface); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-rule);
}

.faq-item:last-child { border-bottom: none; }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--dur-fast) var(--ease);
}

.faq-item__q:hover { background: var(--c-surface); }

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__arrow {
  flex-shrink: 0;
  color: var(--c-ink-muted);
  transition: transform var(--dur-base) var(--ease);
}

.faq-item[open] .faq-item__arrow { transform: rotate(180deg); }

.faq-item__a {
  padding: 0 var(--space-lg) var(--space-lg);
  animation: faq-open var(--dur-base) var(--ease);
}

.faq-item__a p {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.75;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════ */
.section--cta-final {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}

.section--cta-final::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,173,106,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0;
}

.cta-final__title {
  font-size: clamp(var(--text-3xl), 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: var(--space-md);
}

.cta-final__body {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

.cta-final__trust {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: #0A0A0A;
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-md);
}

/* FOOTER LOGO */
.footer__logo {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer__contact span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__contact a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-olive);
  transition: color var(--dur-fast) var(--ease);
}

.footer__contact a:hover { color: #a8c882; }

.footer__bottom {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.2);
}


/* ════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
  }

  .hero__content { padding-right: 0; }

  .hero__bullets { align-items: center; }

  .trust-bar { justify-content: center; }

  .hero__video-wrap { order: -1; }

  .hero__video-frame { aspect-ratio: 16/9; border-radius: var(--radius-lg); }

  .before__grid { grid-template-columns: 1fr; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .learn-grid { grid-template-columns: 1fr; }

  .preview-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .preview-card--large { grid-row: span 1; }
  .preview-card--large .preview-card__img { min-height: 240px; }
  .preview-card--wide { grid-column: span 2; }

  .services-grid { grid-template-columns: 1fr; }

  .break-d { display: none; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root {
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .container { padding: 0 var(--space-md); }

  .nav__inner { padding: 0 var(--space-md); }

  .hero {
    padding: 88px var(--space-md) var(--space-2xl);
    gap: var(--space-lg);
  }

  .hero__title { font-size: 2rem; }

  .hero__price { justify-content: center; }
  .price__amount { font-size: var(--text-3xl); }

  .cards-grid { grid-template-columns: 1fr; }

  .before__stats { gap: var(--space-xs); }

  .preview-gallery {
    grid-template-columns: 1fr;
  }

  .preview-card--large,
  .preview-card--wide { grid-column: span 1; grid-row: span 1; }
  .preview-card--large .preview-card__img { min-height: 200px; }
  .preview-card--wide .preview-card__img { aspect-ratio: 16/9; }

  .footer__inner { flex-direction: column; }
  .footer__contact { text-align: left; }

  .author-block__quote { font-size: var(--text-2xl); }

  .section__title { font-size: var(--text-3xl); }

  .cta-final__title { font-size: var(--text-3xl); }

  .trust-bar { flex-direction: column; gap: 8px; align-items: center; }

  .service-card { padding: var(--space-lg) var(--space-md); }
}
