/* Landing de Liliya Lysa. Todo lo que cambia por cliente está en :root. */

:root {
  /* Marca: vino #5E0315 y oro #F5C518 (antes #D4AF37); el oro pasa a #E0B000 al pasar el ratón */
  --vino: #5e0315;
  --vino-oscuro: #3d020d;
  --oro: #f5c518;
  --oro-hover: #e0b000;
  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;
  --texto: #2a0a10;
  --texto-suave: rgb(42 10 16 / 0.72);
  --fondo: #fff;
  --fondo-alt: #faf5f0;
  --borde: #ecdfd8;
  --hueco: #efe4dc;
  --hueco-texto: #7a5a60;
  --radio: 1rem;
  --fuente-marca: "Cinzel", Georgia, serif;
  --fuente-titulos: "Cormorant Garamond", Georgia, serif;
  --fuente-texto: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente-texto);
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--fuente-titulos); text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }

.contenedor {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.seccion { padding-block: 5rem; }
.seccion--alt { background: var(--fondo-alt); }
.seccion--oscura { background: var(--vino); color: #fff; }

.titulo {
  font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vino);
}
.seccion--oscura .titulo { color: #fff; }
.titulo--centro { text-align: center; }

.texto-suave {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--texto-suave);
}
.texto-suave strong { color: var(--texto); }

.pila { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }

.dos-columnas { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 768px) {
  .dos-columnas { grid-template-columns: 1fr 1fr; }
}

/* Huecos donde irán contenidos pendientes (el formulario de GHL) */

.hueco {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--hueco);
  color: var(--hueco-texto);
  font-size: 0.875rem;
  text-align: center;
}
.r-4-5 { aspect-ratio: 4 / 5; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-1-1 { aspect-ratio: 1 / 1; }

.foto {
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: 0 25px 50px -12px rgb(61 2 13 / 0.3);
}
.foto img { width: 100%; object-fit: cover; object-position: top; }

/* Botones: oro con texto vino */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--oro);
  color: var(--vino-oscuro);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}
.boton:hover { background: var(--oro-hover); }
.boton:focus-visible { outline: 2px solid var(--vino); outline-offset: 3px; }

.boton--whatsapp { background: var(--whatsapp); color: #fff; transition: background-color 0.2s, transform 0.2s; }
.boton--whatsapp:hover { background: var(--whatsapp-hover); transform: scale(1.05); }
.hero .boton:focus-visible, .seccion--oscura .boton:focus-visible { outline-color: #fff; }

/* Iconos (Tabler, en el sprite del HTML) */

.icono {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Marca: monograma del logo + nombre en Cinzel (hasta tener el logo en vector) */

.marca {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--oro);
  text-align: center;
}
.marca__monograma { width: 4.5rem; height: 4.5rem; margin-bottom: 0.5rem; border-radius: 50%; }
.marca__nombre {
  font-family: var(--fuente-marca);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}
.marca__lema {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* Hero */

/* Hero: foto de fondo con capa vino encima y el texto centrado */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  background: var(--vino-oscuro);
  color: #fff;
  text-align: center;
}
.hero__fondo { position: absolute; inset: 0; }
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero__fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(61 2 13 / 0.72), rgb(61 2 13 / 0.6) 50%, rgb(61 2 13 / 0.78));
}
.hero__contenido {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: 4rem;
}
.hero h1 {
  max-width: 56rem;
  font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
}
.hero p { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 300; max-width: 44rem; }
.hero .marca { margin-bottom: 0.5rem; }
.hero .boton { font-size: 1.125rem; }
.hero .hero__nota {
  margin-top: -0.5rem;
  color: var(--oro);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Barra de ventajas */

.ventajas {
  padding-block: 2rem;
  background: var(--vino-oscuro);
  color: #fff;
  border-top: 1px solid rgb(245 197 24 / 0.25);
}
.ventajas ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .ventajas ul { grid-template-columns: repeat(4, 1fr); }
}
.ventajas li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.ventajas .icono { width: 2rem; height: 2rem; color: var(--oro); }

/* Formulario */

.formulario { gap: 3rem; }
.formulario__tarjeta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--borde);
  border-top: 4px solid var(--vino);
  border-radius: var(--radio);
  box-shadow: 0 20px 25px -5px rgb(61 2 13 / 0.1), 0 8px 10px -6px rgb(61 2 13 / 0.1);
}
.formulario__tarjeta h2 {
  color: var(--vino);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.formulario__intro { margin-top: -1rem; color: var(--texto-suave); text-align: center; }
.formulario__hueco { min-height: 32rem; border-radius: 0.25rem; }
.formulario__iframe { min-height: 719px; }
.formulario--final { display: block; max-width: 40rem; }

/* Lista con iconos */

.lista { display: flex; flex-direction: column; gap: 1rem; }
.lista h3 { font-size: 1.25rem; font-weight: 700; }
.lista ul { display: flex; flex-direction: column; gap: 0.75rem; }
.lista li { display: flex; align-items: flex-start; gap: 0.75rem; }
.lista .icono { margin-top: 0.15rem; color: var(--vino); }

/* Pasos de "Cómo trabaja" */

.pasos { display: flex; flex-direction: column; gap: 1.5rem; counter-reset: paso; }
.pasos li {
  position: relative;
  padding-left: 3.5rem;
  counter-increment: paso;
  color: var(--texto-suave);
  font-size: 1.0625rem;
}
.pasos li::before {
  content: counter(paso);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--vino);
  color: var(--oro);
  font-family: var(--fuente-titulos);
  font-size: 1.375rem;
  font-weight: 700;
}
.pasos h3 { margin-bottom: 0.25rem; color: var(--texto); font-size: 1.375rem; font-weight: 700; }
.pasos strong { color: var(--texto); }

/* En móvil el texto va primero, en escritorio la foto a la izquierda */
@media (min-width: 768px) {
  .invertido > :first-child { order: 2; }
}

/* Carrusel de antes y después */

.resultados { display: flex; flex-direction: column; gap: 3rem; }
.resultados__nota { margin-top: -2rem; color: var(--texto-suave); text-align: center; }
.carrusel { position: relative; width: 100%; max-width: 64rem; margin-inline: auto; }
.carrusel__pista {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(61 2 13 / 0.1), 0 4px 6px -4px rgb(61 2 13 / 0.1);
}
@media (min-width: 768px) {
  .carrusel__item { flex-basis: calc((100% - 1rem) / 2); }
}
@media (min-width: 1024px) {
  .carrusel__item { flex-basis: calc((100% - 2rem) / 3); }
}
.carrusel__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.carrusel__boton {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: #fff;
  color: var(--vino);
  cursor: pointer;
  transform: translateY(-50%);
}
.carrusel__boton:hover { background: var(--fondo-alt); }
.carrusel__boton .icono { width: 1rem; height: 1rem; }
.carrusel__boton--prev { left: 0.5rem; }
.carrusel__boton--next { right: 0.5rem; }
@media (min-width: 72rem) {
  .carrusel__boton--prev { left: -3rem; }
  .carrusel__boton--next { right: -3rem; }
}
.centro { text-align: center; }

/* Sobre mí */

.sobre__nombre {
  color: var(--oro);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sobre__cabecera { display: flex; flex-direction: column; gap: 0.5rem; }
.sobre__texto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.8);
}
.sobre__texto strong { color: #fff; }
.sobre__foto { border: 4px solid rgb(245 197 24 / 0.4); }
.certificaciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.certificaciones li {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgb(245 197 24 / 0.5);
  border-radius: 999px;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Preguntas frecuentes */

.faq { display: flex; flex-direction: column; gap: 3rem; max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover h3 { text-decoration: underline; }
.faq summary h3 { font-family: var(--fuente-texto); font-size: 1.125rem; font-weight: 600; }
.faq summary .icono { width: 1rem; height: 1rem; color: var(--vino); transition: transform 0.2s; }
.faq details[open] summary .icono { transform: rotate(180deg); }
.faq__respuesta { padding-bottom: 1rem; color: var(--texto-suave); }

/* Pie */

.pie { padding-block: 5rem; background: var(--vino-oscuro); color: #fff; }
.pie__columnas {
  display: grid;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .pie__columnas { grid-template-columns: repeat(3, 1fr); text-align: left; }
}
.pie__columna { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) {
  .pie__columna { align-items: flex-start; }
  .marca--pie { align-items: flex-start; text-align: left; }
}
.marca--pie .marca__nombre { font-size: 1.375rem; }
.pie__columna p, .pie__columna ul { color: rgb(255 255 255 / 0.65); }
.pie__columna .marca { color: var(--oro); }
.pie__titulo { font-size: 1.25rem; font-weight: 700; }
.pie__contacto { display: flex; flex-direction: column; gap: 1rem; }
.pie__contacto li { display: flex; align-items: center; gap: 0.75rem; }
.pie__contacto .icono { color: var(--oro); }
.pie__columna a { color: inherit; text-underline-offset: 3px; }
.pie__columna a:hover { color: #fff; }
.pie__horario { display: flex; flex-direction: column; gap: 0.5rem; }
.pie__legal {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.45);
  font-size: 0.875rem;
  text-align: center;
}
.pie__legal p + p { margin-top: 1rem; max-width: 42rem; margin-inline: auto; }

/* Página de gracias */

.gracias {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  background: radial-gradient(120% 90% at 15% 0%, #7a0a22 0%, var(--vino) 45%, var(--vino-oscuro) 100%);
  color: #fff;
  text-align: center;
}
.gracias__caja {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 42rem;
}
.gracias h1 {
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
}
.gracias__texto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  font-weight: 300;
  color: rgb(255 255 255 / 0.85);
}
.gracias__pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 5rem;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.875rem;
}
.gracias__pie a { color: inherit; }
.gracias__aviso { max-width: 32rem; font-size: 0.75rem; }

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