/* ============================================================
   Alenica — landing. Paleta oro + vino/borgoña oscuro.
   Diseño femenino, elegante, español neutro.
   ============================================================ */

:root {
  /* Vino / borgoña */
  --wine-950: #150609;
  --wine-900: #1f0a0f;
  --wine-800: #2a0f16;
  --wine-700: #3d1520;
  --wine-600: #5b1220;
  --wine-500: #6d1a2b;
  /* Oro */
  --gold-300: #e6c977;
  --gold-400: #d4af5f;
  --gold-500: #c9a24b;
  --gold-600: #a9863a;
  /* Neutros cálidos */
  --cream: #f6ecdd;
  --cream-dim: #d8c7b0;
  --muted: #b0977f;
  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #1da851;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(109,26,43,.35), transparent 55%),
    var(--wine-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-300); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }
.btn-wa {
  background: linear-gradient(180deg, var(--wa), var(--wa-dark));
  color: #04270f; font-weight: 600;
  box-shadow: 0 10px 26px rgba(37,211,102,.28);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.38); }
.btn-ghost {
  background: transparent; color: var(--gold-300);
  border-color: rgba(212,175,95,.45);
}
.btn-ghost:hover { border-color: var(--gold-400); background: rgba(212,175,95,.08); }
.wa-ico { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Anuncio ---------- */
.announce {
  background: linear-gradient(90deg, var(--wine-600), var(--wine-500));
  color: var(--cream); text-align: center; font-size: .86rem;
  padding: .55rem 1rem; letter-spacing: .02em;
  border-bottom: 1px solid rgba(212,175,95,.25);
}
.announce strong { color: var(--gold-300); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(21,6,9,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,95,.14);
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--wine-600), var(--wine-800));
  border: 1.5px solid var(--gold-500); color: var(--gold-300);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  box-shadow: inset 0 0 12px rgba(212,175,95,.25);
}
.logo-word {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  letter-spacing: .06em; color: var(--cream);
}
.nav { display: flex; gap: 1.6rem; }
.nav a { font-size: .95rem; color: var(--cream-dim); transition: color .2s; }
.nav a:hover { color: var(--gold-300); }
.header-cta { padding: .6rem 1.1rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow { color: var(--gold-400); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; margin-bottom: 1rem; }
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem); line-height: 1.02; letter-spacing: .005em;
  margin-bottom: 1.1rem;
}
.hero-sub { color: var(--cream-dim); font-size: 1.12rem; max-width: 30rem; margin-bottom: 1.8rem; font-weight: 300; }
.hero-sub strong { color: var(--cream); font-weight: 500; }

.hero-offer { display: flex; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.offer-chip {
  position: relative; display: flex; flex-direction: column; gap: .15rem;
  padding: .9rem 1.3rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,95,.2);
}
.offer-chip--hot { border-color: var(--gold-500); background: rgba(212,175,95,.08); }
.chip-badge {
  position: absolute; top: -10px; right: 10px; font-size: .66rem; letter-spacing: .08em;
  background: var(--gold-500); color: var(--wine-900); padding: .12rem .5rem; border-radius: 999px; font-weight: 600;
}
.chip-label { font-size: .82rem; color: var(--muted); }
.chip-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold-300); }

.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: .9rem; color: var(--cream-dim); }
.hero-trust li { white-space: nowrap; }

/* Placeholder de foto */
.photo-placeholder {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(212,175,95,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--wine-700), var(--wine-800));
  border: 1px solid rgba(212,175,95,.22);
  display: grid; place-items: center; aspect-ratio: 4/5; min-height: 180px;
}
.photo-hero { aspect-ratio: 4/5; box-shadow: var(--shadow); }

/* Fotos reales */
img.photo-hero {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius); border: 1px solid rgba(212,175,95,.3);
  box-shadow: var(--shadow);
}
.gallery-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 50%;
  border-radius: var(--radius); border: 1px solid rgba(212,175,95,.18);
  transition: transform .25s ease, border-color .25s ease;
}
.gallery-photo:hover { transform: translateY(-4px); border-color: rgba(212,175,95,.5); }
.ph-mark { position: absolute; font-family: var(--serif); font-size: 8rem; color: rgba(212,175,95,.14); font-weight: 700; }
.ph-note { position: relative; color: var(--muted); font-size: .82rem; text-align: center; letter-spacing: .05em; }

/* ---------- Franja de confianza ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 5vw, 3.5rem);
  padding: 1.2rem 1rem; background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(212,175,95,.12); border-bottom: 1px solid rgba(212,175,95,.12);
}
.trust-item { display: flex; align-items: center; gap: .5rem; color: var(--cream-dim); font-size: .95rem; }
.ti-ico { font-size: 1.2rem; }

/* ---------- Secciones ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; text-align: center; margin-bottom: .6rem; }
.section-sub { text-align: center; color: var(--cream-dim); font-weight: 300; max-width: 34rem; margin: 0 auto 2.5rem; }

/* Beneficios */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.benefit {
  padding: 1.6rem 1.3rem; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,95,.15);
  transition: transform .2s, border-color .2s;
}
.benefit:hover { transform: translateY(-4px); border-color: rgba(212,175,95,.4); }
.benefit-ico { font-size: 1.8rem; display: block; margin-bottom: .7rem; }
.benefit h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: .35rem; color: var(--gold-300); }
.benefit p { color: var(--cream-dim); font-size: .95rem; font-weight: 300; }

/* Ofertas */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.offer-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 2rem 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,95,.18);
}
.offer-card--featured {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, rgba(212,175,95,.10), rgba(255,255,255,.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.4); transform: scale(1.03);
}
.oc-badge {
  align-self: flex-start; font-size: .72rem; letter-spacing: .06em;
  background: var(--gold-500); color: var(--wine-900); padding: .2rem .7rem; border-radius: 999px; font-weight: 600; margin-bottom: .3rem;
}
.offer-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.oc-price { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold-300); line-height: 1; }
.oc-save { font-size: .82rem; color: var(--wa); }
.offer-card ul { list-style: none; margin: .6rem 0 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.offer-card li { color: var(--cream-dim); font-size: .93rem; font-weight: 300; padding-left: 1.3rem; position: relative; }
.offer-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); }
.offer-card .btn { margin-top: auto; }
.offers-note { text-align: center; margin-top: 2rem; color: var(--gold-300); font-size: 1.05rem; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.ig-link { display: block; text-align: center; color: var(--gold-300); font-size: 1rem; letter-spacing: .02em; }
.ig-link:hover { color: var(--gold-400); }

/* Tallas */
.sizes-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.sizes-block h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1rem; color: var(--gold-300); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .95rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(212,175,95,.3); color: var(--cream);
}
.sizes-hint { margin-top: 1rem; color: var(--cream-dim); font-size: .9rem; font-weight: 300; }
.sizes .btn { display: flex; width: fit-content; margin: 0 auto; }

/* Cómo comprar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { text-align: center; padding: 1.5rem; }
.step-n {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem;
  border-radius: 50%; border: 1.5px solid var(--gold-500); color: var(--gold-300);
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
}
.step h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .4rem; }
.step p { color: var(--cream-dim); font-weight: 300; font-size: .95rem; }

/* Reseñas */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(212,175,95,.15);
}
.review-stars { color: var(--gold-400); margin-bottom: .6rem; letter-spacing: .1em; }
.review-text { font-family: var(--serif); font-size: 1.18rem; font-style: italic; color: var(--cream); margin-bottom: .9rem; }
.review-name { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  border: 1px solid rgba(212,175,95,.18); border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-400); font-size: 1.4rem; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--cream-dim); font-weight: 300; }

/* CTA final */
.cta-final {
  text-align: center; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.cta-final h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: .6rem; }
.cta-final p { color: var(--cream-dim); font-size: 1.15rem; font-weight: 300; margin-bottom: 2rem; }
.cta-final strong { color: var(--gold-300); }

/* Footer */
.footer {
  border-top: 1px solid rgba(212,175,95,.14); background: rgba(0,0,0,.3);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem;
  max-width: var(--maxw); margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem);
}
.footer-brand .logo-word { display: block; margin-bottom: .5rem; }
.footer-brand p { color: var(--cream-dim); font-size: .9rem; font-weight: 300; }
.footer-ig { display: inline-block; margin-top: .8rem; color: var(--gold-300); font-size: .92rem; }
.footer-legal p { color: var(--muted); font-size: .82rem; font-weight: 300; margin-bottom: .7rem; }
.footer-legal strong { color: var(--cream-dim); }
.footer-copy { color: var(--muted); font-size: .8rem; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(180deg, var(--wa), var(--wa-dark));
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .2s;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Responsive ---------- */

/* Tablet y menores */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-offer, .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
  .offer-card--featured { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sizes-wrap { grid-template-columns: 1fr; }
  .steps, .reviews-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}

/* ---------- Móvil (≤600px) — optimizado para tráfico de Instagram ---------- */
@media (max-width: 600px) {
  /* Barra de anuncio: que quepa y no se corte */
  .announce { font-size: .74rem; padding: .5rem .75rem; line-height: 1.3; }

  /* Header compacto: logo + botón WhatsApp icónico */
  .header { padding: .7rem 1rem; gap: .5rem; }
  .logo-mark { width: 34px; height: 34px; font-size: 1.25rem; }
  .logo-word { font-size: 1.35rem; }
  .header-cta { padding: .55rem .8rem; font-size: 0; gap: 0; }   /* oculta texto */
  .header-cta .wa-ico { width: 22px; height: 22px; }
  .header-cta::after { content: "Pedir"; font-size: .9rem; margin-left: .4rem; }

  /* Botones: permitir salto de línea para que NO desborden la página */
  .btn { white-space: normal; }

  /* Hero */
  .hero { padding: 1.5rem 1.15rem 2.5rem; gap: 1.25rem; }
  .hero-visual { max-width: 100%; }
  img.photo-hero { aspect-ratio: 4/5; }
  .hero-eyebrow { font-size: .7rem; letter-spacing: .18em; margin-bottom: .6rem; }
  .hero-title { font-size: clamp(1.95rem, 8vw, 2.5rem); line-height: 1.06; overflow-wrap: anywhere; }
  .hero-sub { font-size: 1rem; max-width: 100%; margin-bottom: 1.4rem; }

  /* Chips de oferta: ocupan el ancho, sin desbordar */
  .hero-offer { gap: .7rem; width: 100%; }
  .offer-chip { flex: 1 1 0; min-width: 0; padding: .8rem .6rem; align-items: center; text-align: center; }
  .chip-price { font-size: 1.3rem; }
  .chip-badge { font-size: .58rem; right: 50%; transform: translateX(50%); top: -9px; white-space: nowrap; }

  /* Botones: ancho completo, fáciles de tocar (≥48px) */
  .hero-cta { flex-direction: column; gap: .7rem; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 1rem 1.25rem; font-size: 1rem; }
  .btn { min-height: 48px; }

  /* Trust: 2 columnas en vez de fila que desborda */
  .hero-trust { gap: .5rem 1rem; font-size: .85rem; }
  .trust-strip { gap: .6rem 1.2rem; padding: 1rem .8rem; }
  .trust-item { font-size: .85rem; }

  /* Secciones: menos padding lateral */
  .section { padding: 2.5rem 1.15rem; }
  .section-title { font-size: 1.9rem; }
  .section-sub { font-size: .95rem; margin-bottom: 1.8rem; }

  /* Beneficios: 1 columna */
  .benefits-grid { grid-template-columns: 1fr; gap: .9rem; }
  .benefit { padding: 1.3rem 1.15rem; }

  /* Ofertas: full width, featured sin escala */
  .offers-grid { max-width: 100%; gap: 1.1rem; }
  .offer-card { padding: 1.6rem 1.3rem; }
  .offer-card--featured { transform: none; }
  .oc-price { font-size: 2.1rem; }

  /* Galería: 2 columnas ajustadas */
  .gallery { }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .ig-link { font-size: .95rem; }

  /* Tallas / chips */
  .chip { padding: .5rem .9rem; font-size: .9rem; }

  /* Pasos y reseñas: 1 columna */
  .steps { gap: .8rem; }
  .step { padding: 1rem; }
  .review-text { font-size: 1.08rem; }

  /* FAQ */
  .faq-item summary { padding: 1rem 1.1rem; font-size: .98rem; }

  /* CTA final */
  .cta-final { padding: 2.5rem 1.15rem; }
  .cta-final p { font-size: 1.02rem; }

  /* Footer */
  .footer { padding: 2.5rem 1.15rem; gap: 1.5rem; }

  /* Botón flotante un poco más chico y despegado */
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* Móvil muy angosto (≤360px) */
@media (max-width: 360px) {
  .hero-title { font-size: 2.15rem; }
  .section-title { font-size: 1.7rem; }
  .oc-price { font-size: 1.9rem; }
  .chip-price { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
