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

:root {
  --texto: #2b2224;
  --texto-suave: rgb(43 34 36 / 0.7);
  --fondo: #fff;
  --fondo-alt: #faf4f5;
  --oscuro: #2a0710;
  --negro: #1a040a;
  /* #5E0315 es el color de marca (granate). Con texto blanco supera 10:1,
     así que se usa tal cual en botones; el hover es un punto más oscuro */
  --acento: #5e0315;
  --acento-boton: #5e0315;
  --acento-hover: #43020f;
  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;
  --borde: #ece2e4;
  --hueco: #d4d4d4;
  --hueco-texto: #6f6f6f;
  --radio: 1rem;
  --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 { margin: 0; }
h1, h2, h3 { font-family: var(--fuente-titulos); text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
ul { 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(--oscuro); color: #fff; }

.titulo {
  font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.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 grises donde irán las fotos */

.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;
}
.hueco span { position: relative; z-index: 1; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-3-4 { aspect-ratio: 3 / 4; }
.r-2-3 { aspect-ratio: 2 / 3; }
.r-1-1 { aspect-ratio: 1 / 1; }

.foto {
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Botones */

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

.boton--claro { background: #fff; color: #000; font-size: 1.125rem; }
.boton--claro:hover { background: rgb(255 255 255 / 0.9); }

.boton--whatsapp {
  background: var(--whatsapp);
  font-size: 1.125rem;
  transition: background-color 0.2s, transform 0.2s;
}
.boton--whatsapp:hover { background: var(--whatsapp-hover); transform: scale(1.05); }

/* 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;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero__fondo {
  position: absolute;
  inset: 0;
  align-items: flex-end;
  justify-content: flex-end;
  background: #9a9a9a;
  color: #fff;
}
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero__fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
}
.hero__contenido {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: 4rem;
}
.hero__logo {
  width: 8rem;
  height: 4rem;
  margin-bottom: 2rem;
  border: 1px dashed rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.15);
  color: #fff;
}
.hero h1 {
  max-width: 56rem;
  font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
}
.hero p {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 300;
  max-width: 44rem;
}
.hero .hero__nota {
  margin-top: -0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo { width: clamp(14rem, 12rem + 8vw, 22rem); height: auto; margin-bottom: 0.5rem; }

/* Marca en texto mientras no hay logo */
.hero__marca {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--fuente-titulos);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.hero__marca span {
  font-family: var(--fuente-texto);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__marca--oscura { color: var(--acento); margin-bottom: 1rem; }
.pie__marca { font-family: var(--fuente-titulos); font-size: 1.5rem; font-weight: 600; color: #fff !important; }
.logo--pie { width: 14rem; margin-bottom: 0; }

/* Fotos reales dentro de .foto: recortan al formato del hueco */
.foto img { width: 100%; object-fit: cover; object-position: top; }

/* Barra de ventajas */

.ventajas {
  padding-block: 2rem;
  background: var(--negro);
  color: #fff;
  border-block: 1px solid rgb(255 255 255 / 0.1);
}
.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: #e8a6b3; }

/* Formulario */

.formulario { gap: 3rem; }
.formulario__tarjeta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.formulario__tarjeta h2 {
  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: 753px; }
.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(--acento); }

/* "Por qué": 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; }
.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 {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 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: 1 / 1; object-fit: cover; }
.carrusel__etiqueta {
  position: absolute;
  top: 1rem;
  z-index: 1;
  padding: 0.25rem 0.75rem;
  background: rgb(0 0 0 / 0.5);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.carrusel__etiqueta--antes { left: 1rem; }
.carrusel__etiqueta--despues { right: 1rem; }
.carrusel__boton {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: #fff;
  color: var(--texto);
  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; }

/* Testimonios: testimonio, testimonio, testimonio, botón */

.testimonios { display: flex; flex-direction: column; gap: 3rem; }
.testimonios__rejilla { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .testimonios__rejilla { grid-template-columns: repeat(2, 1fr); }
}
.testimonio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.testimonio__estrellas { display: flex; gap: 0.125rem; color: var(--acento); }
.testimonio__estrellas .icono { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.testimonio blockquote { margin: 0; flex: 1; font-size: 1.0625rem; line-height: 1.6; }
.testimonio figcaption { font-weight: 600; }

/* Sobre mí */

.sobre__nombre {
  color: #e8a6b3;
  font-size: 1rem;
  font-weight: 700;
  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: #d1d5db;
}
.sobre__texto strong { color: #fff; }
.sobre__foto { border: 4px solid rgb(232 166 179 / 0.3); }
.sobre__foto .hueco { background: #3a3a3a; color: #a3a3a3; }
.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.1);
}
.certificaciones li {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgb(232 166 179 / 0.5);
  border-radius: 999px;
  color: #d1d5db;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Preguntas frecuentes */

.faq { display: flex; flex-direction: column; gap: 3rem; max-width: 56rem; }
.faq summary h3 { font-family: var(--fuente-texto); }
.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-size: 1.125rem; font-weight: 700; }
.faq summary .icono { width: 1rem; height: 1rem; 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(--negro); 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; }
}
.pie__logo { width: 9rem; height: 3rem; background: #2a2a2a; color: #8a8a8a; }
.pie__columna p, .pie__columna ul { color: #9ca3af; }
.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: #e8a6b3; }
.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: #6b7280;
  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;
  text-align: center;
}
.gracias__caja {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 42rem;
}
.gracias__logo { width: 8rem; height: 4rem; margin-bottom: 2rem; }
.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.25rem, 1.1rem + 0.6vw, 1.5rem);
  color: var(--texto-suave);
}
.gracias__pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 5rem;
  color: var(--texto-suave);
  font-size: 0.875rem;
}
.gracias__pie .hueco { width: 6rem; height: 3rem; opacity: 0.5; }
.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; }
}
