/* ===========================================================
   ZENDRIAN LARTE — Sastrería de lujo
   Sistema de estilos compartido · Paleta "Lacoste":
   blanco dominante · tinta · verde de marca como único acento
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400;1,6..96,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  /* Verde de marca (el del logo) — ÚNICO acento */
  --green-900: #052227;   /* footer / bloque oscuro */
  --green-800: #093941;   /* acento principal (botones, activo) */
  --green-700: #0d4a54;   /* hover */
  --green-600: #14606b;

  /* Blanco / papel */
  --cream:    #ffffff;    /* texto claro sobre verde + fondos blancos */
  --cream-2:  #fcfcfb;    /* fondo de página */
  --cream-3:  #eeeeec;    /* placeholders claros */

  /* Tinta (casi negro, leve matiz verde) */
  --ink:      #1a2522;
  --ink-soft: #5b6562;
  --line:     rgba(26, 37, 34, 0.14);

  /* El oro queda SOLO dentro del emblema (no es color de interfaz) */

  --maxw: 1320px;
  --gutter: clamp(22px, 5vw, 84px);
  --header-h: 64px;

  --ff-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --ff-body:    'EB Garamond', Georgia, serif;
  --ff-label:   'Jost', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream-2);
  font-size: 1.075rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(9,57,65,0.12);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; margin: 0; line-height: 1.04; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Etiquetas tipo eyebrow ---------- */
.eyebrow {
  font-family: var(--ff-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  color: var(--green-800);
}
.eyebrow--gold { color: var(--green-800); }   /* alias: ahora verde */

.rule { width: 54px; height: 1px; background: var(--green-800); opacity: 0.6; }
.rule--center { margin-inline: auto; }

/* ===========================================================
   HEADER — barra blanca (Lacoste)
   =========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(13px, 1.6vw, 18px) var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px -26px rgba(0,0,0,0.45);
}

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand img { width: clamp(30px, 3.4vw, 40px); height: auto; flex: none; }
.brand .wordmark {
  font-family: var(--ff-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: clamp(0.8rem, 1.3vw, 0.98rem);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 2px;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 44px); }
.nav a {
  font-family: var(--ff-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--green-800);
  transition: right 0.45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--green-800); }

/* botón menú móvil */
.nav-toggle {
  display: none;
  position: relative;
  flex: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  margin-right: -10px;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  /* El backdrop-filter en un ancestro crea un containing-block que atraparía
     el overlay fixed; lo quitamos en móvil. El fondo del menú es SÓLIDO
     (sin alfa ni backdrop-filter) porque esos filtros fallan en varios
     navegadores móviles y dejaban transparentarse el contenido. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #ffffff; }
  .nav-toggle { display: block; z-index: 110; }
  .brand { position: relative; z-index: 106; }   /* logo visible sobre el overlay */
  .nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 26px; background: #ffffff;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.38s var(--ease), visibility 0.38s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { font-size: 1.2rem; letter-spacing: 0.26em; color: var(--ink); padding: 10px 0; }
  .nav a.is-active { color: var(--green-800); }
  .nav a::after { height: 2px; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--green-900);
}
.hero__media { position: absolute; inset: 0; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,34,39,0.5) 0%, rgba(5,34,39,0.08) 30%, rgba(5,34,39,0.2) 58%, rgba(5,34,39,0.86) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(64px, 11vh, 140px);
  padding-top: 150px;
}
.hero__eyebrow { color: #ffffff; margin-bottom: 26px; opacity: 0.92; }
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.9rem, 8.2vw, 7.4rem);
  letter-spacing: -0.012em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; }
.hero__sub {
  margin-top: 30px;
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
}
.hero__cta { margin-top: 42px; display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.72);
  font-family: var(--ff-label); font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(#ffffff, transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-label); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.74rem;
  padding: 16px 30px; cursor: pointer; border: 1px solid; background: none;
  transition: 0.4s var(--ease); white-space: nowrap;
}
/* primario: verde sólido (como el "EXPLORA" de Lacoste) */
.btn--gold, .btn--dark { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.btn--gold:hover, .btn--dark:hover { background: var(--green-700); border-color: var(--green-700); }
/* contorno claro sobre foto/oscuro */
.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
/* contorno tinta sobre blanco */
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ===========================================================
   PLACEHOLDERS DE FOTO
   =========================================================== */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(9,57,65,0.06) 0px, rgba(9,57,65,0.06) 2px,
      transparent 2px, transparent 14px),
    linear-gradient(150deg, #f4f4f2, #e9e9e6);
  display: flex; align-items: center; justify-content: center;
}
.ph--cream { background:
    repeating-linear-gradient(135deg,
      rgba(9,57,65,0.06) 0px, rgba(9,57,65,0.06) 2px,
      transparent 2px, transparent 14px),
    linear-gradient(150deg, #f6f6f4, #ececea); }
/* variante oscura para full-bleed con texto blanco encima */
.ph--dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px,
      transparent 2px, transparent 14px),
    linear-gradient(150deg, var(--green-700), var(--green-900));
}
.ph__tag {
  font-family: var(--ff-label); font-size: 0.64rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid rgba(9,57,65,0.22); padding: 8px 14px;
  text-align: center; max-width: 80%; background: rgba(255,255,255,0.5);
}
.ph--dark .ph__tag { color: rgba(255,255,255,0.78); background: rgba(5,34,39,0.32); border-color: rgba(255,255,255,0.32); }
.ph--top { align-items: flex-start; justify-content: flex-end; }
.ph--top .ph__tag { margin: clamp(96px, 14vh, 150px) clamp(20px,4vw,48px) 0 0; max-width: 46ch; }

/* foto real montada sobre el placeholder (si falla, queda el placeholder) */
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===========================================================
   SECCIONES GENÉRICAS
   =========================================================== */
section { position: relative; }
.section { padding-block: clamp(78px, 12vh, 160px); }
.section--cream { background: var(--cream-2); color: var(--ink); }
.section--white { background: #ffffff; color: var(--ink); }
.section--green { background: var(--green-800); color: var(--cream); }
.section--green-deep { background: var(--green-900); color: var(--cream); }

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); letter-spacing: -0.01em; }
.section-head h2 em { font-style: italic; }
.section-head p { margin-top: 22px; font-size: 1.18rem; color: var(--ink-soft); }
.section--green .section-head p, .section--green-deep .section-head p { color: rgba(255,255,255,0.8); }
.section--green .eyebrow, .section--green-deep .eyebrow { color: #fff; }

/* ---------- Manifiesto / intro a dos columnas ---------- */
.manifesto { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.manifesto__media { aspect-ratio: 4/5; }
.manifesto__lead { font-family: var(--ff-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.34; font-style: italic; color: var(--ink); }
.manifesto__body p { margin-top: 22px; color: var(--ink-soft); }
.manifesto__sig { margin-top: 34px; font-family: var(--ff-label); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.72rem; color: var(--green-800); }
@media (max-width: 880px) { .manifesto { grid-template-columns: 1fr; } .manifesto__media { aspect-ratio: 16/11; order: -1; } }

/* ---------- Banda de imagen full-bleed ---------- */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.band > .wrap { width: 100%; }
.band__media { position: absolute; inset: 0; }
.band__media::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(5,34,39,0.8) 0%, rgba(5,34,39,0.36) 55%, rgba(5,34,39,0.1) 100%); }
.band__content { position: relative; z-index: 2; max-width: 40ch; color: #fff; }
.band__content .eyebrow { color: #fff; }
.band__content h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.band__content p { margin-top: 20px; color: rgba(255,255,255,0.86); }

/* ===========================================================
   PILARES (propuesta de valor)
   =========================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 7vh, 92px); }
.pillar { border-top: 1px solid var(--line); padding-top: 30px; }
.pillar__num { font-family: var(--ff-label); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--green-800); }
.pillar h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin-top: 16px; }
.pillar h3 em { font-style: italic; }
.pillar p { margin-top: 16px; color: var(--ink-soft); font-size: 1.04rem; }
.section--green .pillar p { color: rgba(255,255,255,0.78); }
.section--green .pillar { border-top-color: rgba(255,255,255,0.26); }
.section--green .pillar__num { color: #fff; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; gap: 8px; } .pillar { padding-block: 30px; } }

/* ===========================================================
   GALERÍA DE COLECCIONES
   =========================================================== */
.cat { margin-top: clamp(54px, 8vh, 104px); }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.cat__head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cat__head h2 em { font-style: italic; }
.cat__head .count { font-family: var(--ff-label); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.7rem; color: var(--green-800); white-space: nowrap; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); margin-top: clamp(30px, 4vh, 48px); }
@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; cursor: default; }
.card__media { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.card__media .ph { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.card__media .ph-img { transition: transform 1.2s var(--ease); }
.card:hover .card__media .ph { transform: scale(1.045); }
.card:hover .card__media .ph-img { transform: scale(1.045); }
.card__body { padding-top: 20px; }
.card__name { font-family: var(--ff-display); font-size: 1.42rem; }
.card__name em { font-style: italic; }
.card__meta { font-family: var(--ff-label); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.64rem; color: var(--green-800); margin-top: 4px; }
.card__price { font-family: var(--ff-display); font-size: 1.12rem; color: var(--green-800); margin-top: 10px; }
.card__desc { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* ===========================================================
   FOOTER — único bloque oscuro (verde de marca)
   =========================================================== */
.site-footer { background: var(--green-900); color: var(--cream); padding-block: clamp(64px, 9vh, 110px) 38px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(36px, 6vw, 90px); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 44px; } }
.footer-brand img { width: 110px; margin-bottom: 22px; }
.footer-brand .wordmark { font-family: var(--ff-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.34em; font-size: 1.02rem; color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 34ch; color: rgba(255,255,255,0.62); font-size: 1rem; }
.footer-col h4 { font-family: var(--ff-label); font-weight: 400; text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.72rem; color: #fff; margin-bottom: 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 13px; color: rgba(255,255,255,0.76); font-size: 1.02rem; }
.footer-col a { transition: color 0.35s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(54px, 8vh, 88px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16); font-family: var(--ff-label); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.46); }

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }

.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .scroll-cue .line { animation: none; }
}

/* ===========================================================
   MÓVIL — ajustes finos
   =========================================================== */
@media (max-width: 600px) {
  :root { --gutter: 20px; }

  /* Header compacto */
  .site-header { padding: 11px var(--gutter); gap: 14px; }
  .brand { gap: 11px; }
  .brand img { width: 30px; }
  .brand .wordmark { letter-spacing: 0.2em; font-size: 0.82rem; }

  /* Hero */
  .hero__inner { padding-top: 116px; padding-bottom: 60px; }
  .hero__eyebrow { margin-bottom: 18px; letter-spacing: 0.28em; font-size: 0.62rem; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.5rem); line-height: 1.06; }
  .hero__sub { margin-top: 20px; font-size: 1.06rem; line-height: 1.62; }
  .hero__cta { margin-top: 30px; gap: 12px; width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .scroll-cue { display: none; }

  /* Botones: tap-target cómodo y full-width en grupos centrados */
  .btn { padding: 15px 24px; }
  .section-head.center .btn { flex: 1 1 100%; justify-content: center; }

  /* Secciones */
  .section { padding-block: 58px; }
  .section-head .eyebrow { margin-bottom: 16px; }
  .section-head h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .section-head p { margin-top: 16px; font-size: 1.06rem; }

  /* Manifiesto */
  .manifesto { gap: 30px; }
  .manifesto__lead { font-size: 1.45rem; }
  .manifesto__body p { margin-top: 16px; }

  /* Pilares */
  .pillars { margin-top: 38px; }
  .pillar { padding-top: 24px; }
  .pillar h3 { font-size: 1.6rem; }

  /* Banda full-bleed */
  .band { min-height: 66vh; }
  .band__media::after { background: linear-gradient(180deg, rgba(5,34,39,0.35) 0%, rgba(5,34,39,0.55) 55%, rgba(5,34,39,0.8) 100%); }
  .band__content { max-width: none; }
  .band__content h2 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }

  /* Placeholders con etiqueta: que no tape el contenido */
  .ph--top .ph__tag { margin-top: clamp(80px, 16vh, 130px); font-size: 0.56rem; }

  /* Galería: títulos de categoría */
  .cat__head { flex-wrap: wrap; gap: 6px 18px; }
  .cat__head h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); }

  /* Footer */
  .site-footer { padding-block: 54px 28px; }
  .footer-grid { gap: 38px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 44px; }
}

@media (max-width: 380px) {
  .brand .wordmark { font-size: 0.74rem; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
}
