/* =========================================================
   Eva.intim — inicio.css (página de inicio)
   ========================================================= */

.pagina-inicio main { padding-top: 0; }

/* ---------- Hero de pantalla completa ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--abajo));
  min-height: calc(100svh - var(--abajo));
  padding: calc(var(--cabecera-alto) + 4px) 0 36px;
  overflow: hidden;
  background:
    var(--grano),
    radial-gradient(70% 45% at 50% 38%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 50% at 100% 85%, rgba(239, 220, 211, .95) 0%, rgba(239, 220, 211, 0) 70%),
    radial-gradient(55% 45% at 0% 10%, rgba(239, 220, 211, .8) 0%, rgba(239, 220, 211, 0) 70%),
    var(--crema);
}

.hero__fondo { position: absolute; inset: 0; pointer-events: none; }

.hero__rosa {
  position: absolute;
  bottom: -1%;
  width: auto;
  height: 70%;
  aspect-ratio: 2 / 3;
  color: var(--oro);
  stroke-width: 1.05;
  opacity: .16;
}
.hero__rosa--der { right: -18%; }
.hero__rosa--izq { left: -18%; display: none; transform: scaleX(-1); }

.destello {
  position: absolute;
  fill: var(--oro);
  stroke: none;
  animation: titilar 4.5s ease-in-out infinite;
}
.destello--1 { width: 14px; height: 14px; top: 18%; right: 12%; }
.destello--2 { width: 10px; height: 10px; top: 30%; left: 9%; animation-delay: 1.5s; }
.destello--3 { width: 12px; height: 12px; bottom: 16%; left: 14%; animation-delay: 3s; }

.hero__contenido {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo { width: clamp(158px, 44vw, 236px); height: auto; }

.hero__titulo {
  margin-top: 18px;
  font-size: clamp(2.5rem, 8.5vw + .3rem, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
}
.hero__titulo em { display: block; font-style: italic; color: var(--oro-oscuro); }

.hero .divisor { margin-block: 18px 14px; }

.hero__bajada {
  max-width: 32ch;
  text-wrap: balance;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gris);
}

.hero__botones {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin-top: 24px;
}

@media (min-width: 600px) {
  .hero__rosa { height: 78%; opacity: .45; }
  .hero__rosa--der { right: -4%; }
  .hero__rosa--izq { display: block; left: -4%; }
}

@media (min-width: 900px) {
  .hero { min-height: min(100svh, 880px); padding-bottom: 56px; }
  .hero__rosa { height: 84%; opacity: .55; }
  .hero__rosa--der { right: 4%; }
  .hero__rosa--izq { left: 4%; }
  .hero__bajada { max-width: 40ch; font-size: 1.12rem; }
  .hero__botones { grid-template-columns: 1fr 1fr; max-width: 620px; margin-top: 32px; }
}

/* Animaciones del hero (arrancan al cargar la página) */
.js .hero__entra {
  opacity: 0;
  animation: entrar .8s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(.1s + var(--d, 0) * .12s);
}

.js .hero__rosa path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trazar 1.6s cubic-bezier(.55, .1, .3, 1) forwards;
  animation-delay: calc(.3s + var(--i, 0) * .16s);
}
@keyframes trazar { to { stroke-dashoffset: 0; } }

/* ---------- Accesos rápidos (2×2) ---------- */
.accesos-seccion { padding: 28px 0 4px; }

.accesos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.acceso {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 136px;
  padding: 16px 14px 14px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--linea);
  border-radius: 14px;
  box-shadow: var(--sombra);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.acceso:active { transform: scale(.97); }
@media (hover: hover) {
  .acceso:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: rgba(181, 138, 62, .55); background: var(--blanco); }
}

.acceso__icono {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--oro);
  background: var(--crema);
  border: 1px solid rgba(181, 138, 62, .5);
  border-radius: 50%;
}
.acceso__icono svg { width: 24px; height: 24px; stroke-width: 1.3; }

.acceso__flecha {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 18px;
  height: 18px;
  color: var(--oro);
  transition: transform .3s ease;
}
.acceso:hover .acceso__flecha { transform: translateX(3px); }

.acceso__titulo {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
}
.acceso__detalle { margin-top: 4px; font-size: .875rem; color: var(--gris); }

@media (min-width: 900px) {
  .accesos-seccion { padding: 64px 0 0; }
  .accesos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .acceso { min-height: 176px; padding: 24px 22px 22px; }
  .acceso__titulo { font-size: 1.55rem; }
}

/* ---------- Destacados (carrusel con scroll-snap) ---------- */
.destacados-cabeza {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.destacados-cabeza .encabezado__titulo { margin-top: 4px; }

.ver-todo {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--oro-texto);
}
.ver-todo svg { width: 16px; height: 16px; }

.carrusel-nav { display: none; }

.carrusel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 12px;
  margin-inline: calc(var(--margen) * -1);
  padding: 4px var(--margen) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margen);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carrusel::-webkit-scrollbar { display: none; }

.destacado {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  scroll-snap-align: start;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.destacado:active { transform: scale(.98); }
@media (hover: hover) {
  .destacado:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: rgba(181, 138, 62, .5); }
}

.destacado__foto { aspect-ratio: 1 / 1; background: var(--blanco); }
.destacado__foto img { width: 100%; height: 100%; object-fit: contain; }

.destacado__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 12px 14px;
  border-top: 1px solid var(--linea-suave);
}
.destacado__cat {
  overflow: hidden;
  font-size: .68rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oro-texto);
}
.destacado__nombre {
  margin-top: 4px;
  min-height: 2.4em;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}
.destacado__precio { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--oro-texto); }
.destacado__precio svg { width: 15px; height: 15px; }
.destacado__precio strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--carbon); }

.destacado--todo {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  background:
    radial-gradient(70% 50% at 50% 30%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(165deg, var(--crema) 0%, var(--rosa) 100%);
  border-color: var(--linea);
}
.destacado--todo svg.destacado__rosa { width: 60px; height: 90px; color: var(--oro); stroke-width: 1.2; }
.destacado__todo-texto {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}
.destacado__todo-texto svg { width: 20px; height: 20px; color: var(--oro); }

@media (min-width: 600px) { .carrusel { grid-auto-columns: 36%; gap: 16px; } }

@media (min-width: 900px) {
  .carrusel {
    grid-auto-columns: 250px;
    gap: 20px;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .carrusel-nav { display: flex; gap: 8px; }
  .carrusel-nav .icono-btn { border-color: var(--linea); background: rgba(255, 255, 255, .5); }
  .carrusel-nav .icono-btn:disabled { opacity: .35; cursor: default; }
  .ver-todo--celular { display: none; }
}

/* ---------- Por qué elegirnos (compacto) ---------- */
.porque {
  background:
    var(--grano),
    linear-gradient(180deg, rgba(239, 220, 211, .45) 0%, var(--rosa) 100%);
}

.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--linea);
  border-radius: 12px;
}
.chip__icono {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--oro);
  border: 1px solid rgba(181, 138, 62, .5);
  border-radius: 50%;
}
.chip__icono svg { width: 21px; height: 21px; stroke-width: 1.3; }
.chip__titulo { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.15; }
.chip__texto { margin-top: -4px; font-size: .875rem; line-height: 1.4; color: var(--gris); }

@media (min-width: 900px) {
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .chip { flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
  .chip__icono { width: 48px; height: 48px; }
  .chip__icono svg { width: 24px; height: 24px; }
  .chip__texto { margin-top: 2px; }
}

/* Ajustes de revisión: títulos de los chips parejos */
.chip__titulo { font-size: 1.12rem; }
