/* ═══════════════════════════════════════════════
   La Ginesta — landing.css (web comercial)
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:     #0d0a06;
  --dark2:    #131009;
  --cream:    #f0ebe3;
  --gold:     #c9843a;
  --burgundy: #7a1c1c;
  --white:    #ffffff;
  --text:     rgba(240,235,227,.85);
  --dim:      rgba(240,235,227,.5);
  --border:   rgba(240,235,227,.1);
  --pad:      clamp(1.25rem, 5vw, 3rem);
  --max:      1100px;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ─── FADE IN ──────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── SEC LABEL ────────────────────────────── */
.l-sec-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ─── HEADER ───────────────────────────────── */
.l-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s, box-shadow .3s;
}
.l-header.scrolled {
  background: rgba(13,10,6,.96);
  box-shadow: 0 1px 0 rgba(240,235,227,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.l-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}
.l-header-cta {
  padding: .4rem 1rem;
  border: 1px solid rgba(240,235,227,.18);
  border-radius: 100px;
  color: rgba(240,235,227,.62);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s, border-color .2s;
}
.l-header-cta:hover {
  color: rgba(240,235,227,.9);
  border-color: rgba(240,235,227,.35);
}

/* ─── HERO ─────────────────────────────────── */
.l-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.l-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
@media (max-width: 639px) {
  .l-hero-img { object-position: 48% 55%; }
}
.l-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,10,6,.05) 0%,
    rgba(13,10,6,.0)  20%,
    rgba(13,10,6,.45) 65%,
    rgba(13,10,6,.82) 100%
  );
}
.l-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--pad) clamp(2.25rem, 5vw, 3.5rem);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}
.l-hero-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.l-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 32px rgba(0,0,0,.4);
}
.l-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: .72rem 1.65rem;
  background: var(--burgundy);
  border-radius: 100px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: opacity .2s, transform .15s;
}
.l-cta-primary:hover { opacity: .88; transform: translateY(-1px); }
.l-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: .38;
}
.l-hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(240,235,227,.8));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.2} 50%{opacity:1} }

/* ─── WHY ──────────────────────────────────── */
.l-why {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
  max-width: var(--max);
  margin-inline: auto;
}
.l-why-intro { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.l-why-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.l-features { display: grid; }
.l-feature {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.l-feature:last-child { border-bottom: 1px solid var(--border); }
.l-feature-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .6;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.8rem;
}
.l-feature-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #c4956a;
  margin-bottom: .3rem;
}
.l-feature-desc {
  font-size: .86rem;
  line-height: 1.65;
  color: var(--dim);
  font-weight: 300;
}
@media (min-width: 640px) {
  .l-features { grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
  .l-feature:nth-child(2) { border-top: 1px solid var(--border); }
}

/* ─── SPECS / INTRO CAMPER ─────────────────── */
.l-specs {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  background: var(--dark2);
}
.l-specs-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max);
  margin-inline: auto;
}
.l-specs .l-sec-label { margin-bottom: 1.5rem; }
.l-specs-intro {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  color: rgba(240,235,227,.6);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
  margin-bottom: 3rem;
}
.l-qa-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}
.l-qa {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.l-qa:first-child { border-top: 1px solid var(--border); }
.l-qa-q {
  font-size: .8rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
  color: rgba(201,132,58,.5);
  margin-bottom: .7rem;
}
.l-qa-a {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 300;
  color: #c4956a;
  line-height: 1.6;
  letter-spacing: -.01em;
  padding-left: 1rem;
  border-left: 1.5px solid rgba(201,132,58,.2);
}
.l-qa-break-img {
  width: 100%;
  height: clamp(300px, 80vw, 440px);
  object-fit: cover;
  object-position: center 45%;
  border-radius: 10px;
  margin: 1.5rem 0 .75rem;
  filter: brightness(1.14) saturate(0.82);
}
.l-specs-footer {
  font-size: .76rem;
  color: rgba(240,235,227,.35);
  font-weight: 300;
  line-height: 1.65;
}
.l-specs-footer a {
  color: rgba(201,132,58,.65);
  transition: color .2s;
}
.l-specs-footer a:hover { color: var(--gold); }

/* ─── HUMAN PHOTO ──────────────────────────── */
.l-human {
  overflow: hidden;
  margin-top: -2.5rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--dark);
}
.l-human-img {
  width: 100%;
  height: clamp(400px, 80vw, 600px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── MOMENT CENTRAL ───────────────────────── */
.l-moment {
  position: relative;
  height: clamp(480px, 75svh, 720px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.l-moment-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.l-moment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,10,6,.12) 0%,
    rgba(13,10,6,.0)  30%,
    rgba(13,10,6,.55) 72%,
    rgba(13,10,6,.82) 100%
  );
}
.l-moment-caption {
  position: relative;
  z-index: 10;
  padding: 0 var(--pad) clamp(2rem, 5vw, 3.5rem);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}
.l-moment-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-shadow: 0 2px 28px rgba(0,0,0,.5);
}

/* ─── ACCÉS PRIVAT / L'EXPERIÈNCIA ─────────── */
.l-easy {
  padding: clamp(3.2rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 90% 45% at 50% 36%, rgba(201,132,58,.05) 0%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.008) 0%, transparent 28%, transparent 72%, rgba(0,0,0,.18) 100%),
    #0e0c09;
}
.l-easy-wrap {
  max-width: 540px;
  margin-inline: auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 4vw, 2.5rem);
}
/* header centrat */
.l-easy-header { text-align: center; }
.l-easy-header .l-sec-label { margin-bottom: .9rem; } /* només espai, color/tracking del global */
.l-easy-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.8vw, 2.5rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: rgba(240,235,227,.95);
}
/* iPhone hero */
.l-easy-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: .75rem 0 1.5rem;
}
.l-easy-phone::after { /* floor reflection — floating effect */
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 28px;
  background: radial-gradient(ellipse at center top, rgba(201,132,58,.10) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.l-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: clamp(220px, 64vw, 330px);
  height: clamp(330px, 96vw, 490px);
  background: radial-gradient(ellipse 88% 70% at 50% 48%,
    rgba(201,132,58,.052) 0%,
    rgba(201,132,58,.022) 40%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.l-iphone { overflow: hidden; background: #080808; }
.l-iphone--hero {
  position: relative;
  z-index: 1;
  width: clamp(178px, 52vw, 248px);
  border-radius: 32px;
  border: 1.5px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.82),
    inset 0 1.5px 0 rgba(255,255,255,.15),
    0 56px 140px -8px rgba(0,0,0,.96),
    0 22px 55px rgba(0,0,0,.72),
    0 90px 55px -55px rgba(0,0,0,.45);
  padding-top: 14px;
}
.l-iphone--hero img {
  width: 100%;
  display: block;
  aspect-ratio: 360 / 780;
  object-fit: cover;
  object-position: top;
  border-radius: 0 0 30px 30px;
  filter: brightness(1.05) contrast(1.0);
}
/* CSS overlay — URL bar replacement + bottom chrome fade */
.l-phone-chrome {
  position: absolute;
  top: 14px;
  left: 0; right: 0;
  width: 100%;
  aspect-ratio: 360 / 780;
  pointer-events: none;
  z-index: 2;
}
/* Fade que amaga el toolbar del browser i la barra de gestos */
.l-phone-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 19%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(14,12,9,.65) 45%,
    rgba(14,12,9,.97) 78%,
    #0e0c09 100%
  );
  border-radius: 0 0 30px 30px;
}
.l-phone-url-cover {
  position: absolute;
  top: 3.6%;
  left: 0; right: 0;
  height: 6.15%;
  background: #313131; /* sampled from new screenshot, minimal filter */
  display: flex; align-items: center; justify-content: center;
}
.l-phone-url-cover span {
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(5.5px, 1.87vw, 9px);
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  letter-spacing: .01em;
}
/* subtítol centrat */
.l-easy-sub {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-align: center;
}
.l-easy-body {
  font-size: .92rem;
  line-height: 1.9;
  color: rgba(240,235,227,.80);
  font-weight: 300;
  max-width: 36ch;
  margin-inline: auto;
  letter-spacing: .005em;
}
.l-easy-tagline {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: rgba(196,149,106,.85);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: .01em;
}
/* tutorials */
.l-easy-tutorials { display: flex; flex-direction: column; gap: .5rem; }
.l-tut-header { margin-bottom: .5rem; }
.l-tut-header-title {
  font-family: var(--serif);
  font-size: clamp(.95rem, 2.3vw, 1.06rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(240,235,227,.88);
  line-height: 1.3;
  margin-bottom: .28rem;
}
.l-tut-header-sub {
  font-size: .7rem;
  color: rgba(240,235,227,.4);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .006em;
}
.l-tut-card {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  background: rgba(240,235,227,.03);
  border: 1px solid rgba(240,235,227,.08);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  transition: border-color .25s, background .25s;
}
.l-tut-card:hover { border-color: rgba(240,235,227,.14); background: rgba(240,235,227,.05); }
.l-tut-play {
  width: 52px;
  height: 38px;
  border-radius: 7px;
  background: rgba(240,235,227,.05);
  border: 1px solid rgba(240,235,227,.11);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1px;
  color: rgba(240,235,227,.5);
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.l-tut-card:hover .l-tut-play {
  background: rgba(240,235,227,.08);
  border-color: rgba(240,235,227,.18);
  color: rgba(240,235,227,.8);
}
.l-tut-text { display: flex; flex-direction: column; gap: .15rem; }
.l-tut-num {
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .14em;
  color: rgba(201,132,58,.55);
  font-weight: 500;
}
.l-tut-name {
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 300;
  color: rgba(240,235,227,.9);
  line-height: 1.25;
}
.l-tut-sub {
  font-size: .72rem;
  font-weight: 300;
  color: rgba(240,235,227,.42);
  line-height: 1.45;
  letter-spacing: .005em;
}
/* recursos */
.l-easy-res-label {
  font-size: .63rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240,235,227,.36);
  font-weight: 500;
  margin-bottom: .9rem;
}
.l-easy-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.l-easy-pill {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  font-size: .78rem;
  font-weight: 300;
  color: rgba(240,235,227,.6);
  background: rgba(240,235,227,.03);
  border: 1px solid rgba(240,235,227,.09);
  border-radius: 100px;
  padding: .44rem .88rem;
  letter-spacing: .005em;
}
.l-pill-icon { width: 12px; height: 12px; flex-shrink: 0; opacity: .72; }
/* WhatsApp premium */
.l-easy-wa { display: flex; }
.l-easy-wa-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 300;
  color: rgba(240,235,227,.78);
  background: rgba(37,211,102,.06);
  border: 1px solid rgba(37,211,102,.22);
  border-radius: 14px;
  padding: 1.05rem 1.5rem;
  letter-spacing: .01em;
  box-shadow: 0 0 24px rgba(37,211,102,.04);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.l-easy-wa-pill:hover {
  background: rgba(37,211,102,.1);
  border-color: rgba(37,211,102,.32);
  box-shadow: 0 0 32px rgba(37,211,102,.08);
}
@media (min-width: 768px) {
  .l-easy-wrap { max-width: 600px; }
  .l-iphone--hero { width: clamp(200px, 34vw, 265px); }
  .l-phone-glow {
    width: clamp(260px, 46vw, 360px);
    height: clamp(380px, 68vw, 520px);
  }
}

/* ─── GALERIA DESPLEGABLE ───────────────────── */
.l-gallery {
  padding: 0 var(--pad) clamp(3rem, 6vw, 5rem);
  background: var(--dark2);
}
.l-gallery-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-top: clamp(2rem, 5vw, 4rem);
}
.l-gallery-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .01em;
  transition: border-color .2s, background .2s;
}
.l-gallery-toggle:hover {
  border-color: rgba(240,235,227,.25);
  background: rgba(240,235,227,.03);
}
.l-gallery-toggle svg {
  opacity: .55;
  transition: transform .35s ease, opacity .2s;
  flex-shrink: 0;
}
.l-gallery-toggle.open svg {
  transform: rotate(180deg);
  opacity: .85;
}
.l-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .65s cubic-bezier(.4,0,.2,1), opacity .5s ease, margin-top .35s ease;
}
@media (min-width: 640px) {
  .l-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.l-gallery-grid.open {
  max-height: 1800px;
  opacity: 1;
  margin-top: .6rem;
}
.l-gal-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #1a1512;
}
.l-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.l-gal-item:hover img { transform: scale(1.04); }

/* ─── FAREWELL ─────────────────────────────── */
.l-farewell {
  position: relative;
  min-height: clamp(420px, 80svh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.l-farewell-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.l-farewell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,10,6,.68);
}
.l-farewell-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem var(--pad);
}
.l-farewell-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: .75rem;
  text-shadow: 0 2px 28px rgba(0,0,0,.55);
}
.l-farewell-sub {
  font-size: clamp(.88rem, 2vw, 1rem);
  color: rgba(240,235,227,.68);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  font-weight: 300;
}
.l-farewell-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: var(--gold);
  border-radius: 100px;
  color: var(--white);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s;
}
.l-farewell-cta:hover { opacity: .88; transform: translateY(-1px); }
.l-normes {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .65rem;
  letter-spacing: .12em;
  color: rgba(240,235,227,.25);
  z-index: 10;
}
