/* ═══════════════════════════════════════════════════
   CHIC & TONIC — landings.css
   Sprint SEO-4.1 · Estilos EXCLUSIVOS de las landings comerciales.

   REGLAS DE SEGURIDAD:
   - Todas las clases llevan prefijo `lp-` → cero colisión con styles.css.
   - No se redefine ninguna clase global (.btn, .container, .faq-*, .nav, .footer…).
   - No se toca la regla global `img { width:100%; height:100% }` de styles.css:
     por eso TODO contenedor de imagen declara aquí su propio aspect-ratio.
   - Se cargan después de /styles.css y sólo en /banquetes-irapuato/,
     /banquetes-para-bodas/, /catering-corporativo/ y /coffee-break-empresarial/.
════════════════════════════════════════════════════ */

/* ───────── BREADCRUMB ───────── */
.lp-breadcrumb {
  padding-top: calc(var(--nav-h) + 1.6rem);
  padding-bottom: 0.2rem;
}
.lp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.lp-breadcrumb a {
  color: var(--grey-3);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.lp-breadcrumb a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.lp-breadcrumb li[aria-current] { color: var(--white); }
.lp-breadcrumb .lp-crumb-sep { color: var(--grey-4); }

/* ───────── HERO ───────── */
.lp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 74vh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4.5rem;
  overflow: hidden;
  background: var(--black);
}
.lp-hero-media { position: absolute; inset: 0; z-index: 0; }
.lp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.65) 100%);
}
/* El espacio del hero lo reserva .lp-hero (min-height + padding), no la imagen:
   por eso aquí NO se usa aspect-ratio — competiría con inset:0 y desbordaría. */
.lp-hero-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.lp-hero-figure img { object-fit: cover; }
/* variante sin fotografía (composición tipográfica) */
.lp-hero--plain .lp-hero-media {
  background:
    radial-gradient(ellipse 70% 55% at 66% 28%, rgba(34,28,12,0.95) 0%, rgba(0,0,0,0.97) 72%),
    linear-gradient(158deg, #121009 0%, #000000 52%, #0d0b02 100%);
}
.lp-hero--plain .lp-hero-media::after { background: none; }
.lp-hero-content { position: relative; z-index: 1; width: 100%; }
/* separación entre migas y kicker dentro del hero */
.lp-hero-content .lp-breadcrumb { padding-top: 0; padding-bottom: 1.5rem; }
.lp-hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 1.4rem;
}
.lp-hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
  max-width: 17ch;
  text-wrap: balance;
}
.lp-hero-title em { font-style: italic; color: var(--yellow); }
.lp-hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-2);
  max-width: 54ch;
  margin: 0 0 2.4rem;
}
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ───────── BLOQUE EDITORIAL (texto + apoyo) ───────── */
.lp-section { padding-block: var(--section-pad); }
.lp-head { max-width: 62ch; margin-bottom: 3.4rem; }
.lp-head .section-title { margin-bottom: 1.4rem; }
.lp-head p {
  color: var(--grey-3);
  line-height: 1.85;
  font-size: 0.95rem;
  margin: 0;
}
.lp-prose p {
  color: var(--grey-3);
  line-height: 1.85;
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
  max-width: 64ch;
}
.lp-prose p:last-child { margin-bottom: 0; }
.lp-prose strong { color: var(--white); font-weight: 500; }

/* ───────── SPLIT: texto + imagen ───────── */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.lp-split--reverse .lp-split-media { order: -1; }
.lp-split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--black-3);
}
.lp-split-media img { transition: transform 0.9s var(--ease-out); }
.lp-split-media:hover img { transform: scale(1.04); }
.lp-split-media--wide { aspect-ratio: 4 / 3; }

/* ───────── LISTA DE FEATURES ───────── */
.lp-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.lp-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--grey-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.lp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.22rem;
  width: 6px;
  height: 1px;
  background: var(--yellow);
}
.lp-list li:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

/* ───────── TARJETAS (tipos de evento / soluciones) ───────── */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.lp-cards--2 { grid-template-columns: repeat(2, 1fr); }
/* 5 tarjetas sin hueco muerto: 3 arriba + 2 abajo, repartidas sobre 6 columnas */
.lp-cards--5 { grid-template-columns: repeat(6, 1fr); }
.lp-cards--5 > * { grid-column: span 2; }
.lp-cards--5 > :nth-child(4),
.lp-cards--5 > :nth-child(5) { grid-column: span 3; }
.lp-card {
  display: flex;
  flex-direction: column;
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lp-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black-4);
}
.lp-card-media img { transition: transform 0.8s var(--ease-out); }
.lp-card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.lp-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.7rem;
  color: var(--white);
}
.lp-card p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--grey-3);
  margin: 0;
  flex: 1;
}
.lp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: gap 0.3s var(--ease-out);
}
/* tarjeta completa enlazada */
a.lp-card { color: inherit; }
a.lp-card:hover,
a.lp-card:focus-visible { border-color: rgba(248,203,10,0.55); transform: translateY(-3px); }
a.lp-card:hover .lp-card-media img { transform: scale(1.05); }
a.lp-card:hover .lp-card-link { gap: 0.85rem; }

/* ───────── FEATURES EN ICONO/TEXTO ───────── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem 2.2rem;
}
.lp-feature h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(248,203,10,0.45);
}
.lp-feature p { font-size: 0.86rem; line-height: 1.72; color: var(--grey-3); margin: 0; }

/* ───────── ESCALA 20 → 9,000+ ───────── */
.lp-scale {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  padding: 3.2rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  background: var(--black-3);
  text-align: center;
}
.lp-scale-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.lp-scale-num em { font-style: normal; color: var(--yellow); }
.lp-scale-arrow { color: var(--yellow); font-size: 1.6rem; line-height: 1; }
.lp-scale-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.lp-scale-note {
  flex-basis: 100%;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--grey-3);
  margin: 0.6rem 0 0;
}

/* ───────── PROCESO ───────── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  counter-reset: lpstep;
}
.lp-step { position: relative; padding-top: 2.6rem; }
.lp-step::before {
  counter-increment: lpstep;
  content: "0" counter(lpstep);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--yellow);
  line-height: 1;
}
.lp-step::after {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 2.6rem;
  right: -1.2rem;
  height: 1px;
  background: rgba(255,255,255,0.13);
}
.lp-step:last-child::after { display: none; }
.lp-step h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 0.6rem;
}
.lp-step p { font-size: 0.85rem; line-height: 1.7; color: var(--grey-3); margin: 0; }

/* ───────── GALERÍA (sin lightbox: no depende de main.js) ───────── */
.lp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.lp-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--black-4);
  margin: 0;
}
.lp-gallery-item img { transition: transform 0.9s var(--ease-out); }
.lp-gallery-item:hover img { transform: scale(1.05); }
.lp-gallery-item--tall { aspect-ratio: 3 / 4; }
.lp-gallery-note {
  margin: 1.4rem 0 0;
  font-size: 0.78rem;
  color: var(--grey-4);
  line-height: 1.6;
}

/* ───────── CTA FINAL ───────── */
.lp-cta {
  position: relative;
  padding-block: calc(var(--section-pad) * 0.92);
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(248,203,10,0.07) 0%, transparent 70%),
    var(--black-2);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.lp-cta-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 1.1rem 0 1.2rem;
  text-wrap: balance;
}
.lp-cta-title em { font-style: italic; color: var(--yellow); }
.lp-cta-text {
  color: var(--grey-3);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 56ch;
  margin: 0 auto 2.4rem;
}
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ───────── FORMULARIO ───────── */
.lp-contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}
.lp-contact-data { margin: 2.2rem 0 0; font-style: normal; display: grid; gap: 1.6rem; }
.lp-contact-dato { display: flex; flex-direction: column; gap: 0.35rem; }
.lp-contact-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-4);
}
.lp-contact-value { font-size: 0.92rem; line-height: 1.65; color: var(--grey-2); }
.lp-contact-value a { border-bottom: 1px solid rgba(248,203,10,0.4); transition: color 0.25s; }
.lp-contact-value a:hover { color: var(--yellow); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — mismos cortes que styles.css
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lp-hero { min-height: 66vh; }
  .lp-split { grid-template-columns: 1fr; gap: 2.8rem; }
  .lp-split--reverse .lp-split-media { order: 0; }
  .lp-split-media { aspect-ratio: 4 / 3; max-width: 560px; }
  .lp-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-cards--5 { grid-template-columns: repeat(2, 1fr); }
  .lp-cards--5 > *,
  .lp-cards--5 > :nth-child(4),
  .lp-cards--5 > :nth-child(5) { grid-column: span 1; }
  .lp-features { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2rem; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2rem; }
  .lp-step:nth-child(2)::after { display: none; }
  .lp-contact { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .lp-hero { min-height: 0; padding-top: calc(var(--nav-h) + 2.4rem); padding-bottom: 3.2rem; }
  .lp-hero-title { max-width: none; }
  .lp-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  /* a 768 se mantienen 2 columnas, igual que .servicios-grid en styles.css */
  .lp-card-media { aspect-ratio: 16 / 10; }
  .lp-features { grid-template-columns: 1fr; gap: 1.8rem; }
  .lp-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .lp-step { padding-top: 0; padding-left: 3.1rem; }
  .lp-step::before { top: 0.05rem; }
  .lp-step::after { display: none; }
  .lp-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .lp-gallery-item, .lp-gallery-item--tall { aspect-ratio: 1 / 1; }
  .lp-scale { padding: 2.2rem 1.2rem; gap: 1.2rem 1.6rem; }
  .lp-scale-arrow { transform: rotate(90deg); }
  .lp-cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .lp-breadcrumb { padding-top: calc(var(--nav-h) + 1.1rem); }
  .lp-breadcrumb ol { font-size: 0.66rem; }
}

@media (max-width: 480px) {
  .lp-cards,
  .lp-cards--5 { grid-template-columns: 1fr; }
  .lp-card-media { aspect-ratio: 16 / 9; }
  .lp-split-media { aspect-ratio: 1 / 1; }
  .lp-card-body { padding: 1.3rem 1.2rem 1.4rem; }
  .lp-scale-num { font-size: clamp(2.2rem, 12vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-split-media img,
  .lp-card-media img,
  .lp-gallery-item img,
  a.lp-card { transition: none !important; }
  .lp-split-media:hover img,
  .lp-gallery-item:hover img,
  a.lp-card:hover .lp-card-media img { transform: none; }
}
