/* ============================================================
   Lacoste x New Era — Landing Page
   Expansión RICH 2026
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --lacoste-green: #004526;
  --lacoste-green-light: #1a6b44;
  --navy: #0a1628;
  --off-white: #f7f5f0;
  --text-dark: #1a1a1a;
  --text-muted: #6b7280;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

/* ── Utilidades ───────────────────────────────────────────── */
.py-20-custom {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.cabecera {
  background: #fff;
}

.logo {
  height: 25px;
}
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lacoste-green);
  margin-bottom: 1rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-header {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 69, 38, 0.6) 100%
  );
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

/* Word split for GSAP */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.2em;
}

.word {
  display: inline-block;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Button ───────────────────────────────────────────────── */
.btn-custom {
  display: inline-block;
  background-color: var(--lacoste-green);
  color: #fff;
  border-radius: 9999px;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.btn-custom:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  transform: scale(1.04);
}

/* CTA dentro del hero — mejor contraste sobre imagen oscura */
.hero-content .btn-custom {
  border: 2px solid rgba(255, 255, 255, 0.55);
  background-color: rgba(0, 69, 38, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker-wrap {
  background-color: var(--lacoste-green);
  overflow: hidden;
  padding: 0.85rem 0;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  animation: tickerScroll 18s linear infinite;
}

.ticker span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 1.5rem;
}

.ticker .sep {
  opacity: 0.4;
  padding: 0 0.5rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Clip Reveal (GSAP target) ────────────────────────────── */
.clip-reveal {
  overflow: hidden;
}

.reveal-img {
  display: block;
  will-change: transform;
  transform-origin: center;
}

/* ── Intro Section ────────────────────────────────────────── */
.s-intro {
  background-color: #fff;
}

/* ── Details Section ──────────────────────────────────────── */
.s-details {
  background-color: var(--off-white);
}

/* ── Patch Quote Section ──────────────────────────────────── */
.s-quote {
  background-color: var(--lacoste-green);
  overflow: hidden;
}

.s-quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
  gap: 5rem;
  padding: 6rem 2rem;
}

.s-quote-text {
  color: #fff;
}

.quote-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.quote-body {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  border: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

.s-quote-img {
  max-width: 420px;
  margin-left: auto;
}

.s-quote-img img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

/* ── Colors Section ───────────────────────────────────────── */
.s-colors {}

.color-card {
  border: 1px solid #e8e8e8;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  transition: var(--transition-smooth);
}

.color-card:hover {
  box-shadow: 0 24px 40px -8px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

.color-card-img {
  overflow: hidden;
  background-color: #f5f5f5;
}

.color-card-img img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.color-card:hover .color-card-img img {
  transform: scale(1.05);
}

.color-card-body {
  padding: 1.75rem;
  text-align: center;
}

.swatch {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 1rem;
  vertical-align: middle;
}

/* ── Gallery Section ──────────────────────────────────────── */
.s-gallery {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  height: 70vh;
  min-height: 500px;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-img {
  /* transform removed — GSAP controls scale/transform on .gallery-img */
  filter: brightness(1.05);
}

/* ── Footer ───────────────────────────────────────────────── */
.s-footer {
  background-color: var(--text-dark);
}

.footer-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1.5rem;
}

.footer-copy {
  max-width: 820px;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}

.btn-footer-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2.8rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(6px);
}

.btn-footer-cta:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--text-dark);
  transform: scale(1.04);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .s-quote-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .s-quote-img {
    max-width: 100%;
    margin-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
    grid-template-rows: 300px 300px;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 280px);
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

/* ── Fondo Lacoste Green (utility) ────────────────────────── */
.bg-lacoste {
  background-color: var(--lacoste-green);
}
