/* ==========================================================================
   Perfumes FC — Inicio
   ========================================================================== */

/* El logo de la barra se oculta mientras se ve el logo completo del hero */
.site-header .brand { transition: opacity .45s var(--ease), visibility .45s; }
.site-header.hero-logo-visible .brand { opacity: 0; visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: 100svh;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 5vw, 5.5rem) 3.5rem max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.hero__text { align-items: center; text-align: center; }
.hero__logo { width: clamp(120px, 11vw, 176px); margin-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.hero__title { font-size: clamp(2.6rem, min(1.3rem + 4vw, 10vh), 6.4rem); max-width: 10em; }

/* Sobre el escenario oscuro del hero, la navegación se aclara */
@media (min-width: 901px) {
  .site-header:not(.is-solid) .nav a { color: #efe6d8; }
}
.hero__title em { font-style: italic; color: var(--ink-soft); }
.hero__lead { margin-top: 1.6rem; max-width: 30em; margin-inline: auto; font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2rem; }

.hero__stage {
  position: relative; margin: 0; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(214, 160, 90, .30), transparent 70%),
    radial-gradient(120% 90% at 80% 0%, #3a2a1d 0%, transparent 60%),
    linear-gradient(180deg, #1f1813 0%, #15110d 100%);
  color: #efe6d8;
  min-height: 560px;
}
.hero__bottles { position: absolute; inset: 12% 6% 12% 6%; }
.hero__bottles .b {
  position: absolute; bottom: 0; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}
.hero__bottles .b--c { width: 46%; left: 27%; z-index: 2; }
.hero__bottles .b--l,
.hero__bottles .b--r { width: 33%; bottom: 6%; z-index: 1; filter: brightness(.82) drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.hero__bottles .b--l { left: 3%; }
.hero__bottles .b--r { right: 3%; }
.hero__stage::after { /* reflejo en el piso */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 176, 106, .5), transparent);
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 4.5%;
  display: flex; justify-content: center; gap: 2.4rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #cbbba4;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: calc(var(--header-h) + 2.2rem) var(--gutter) 2.8rem; }
  .hero__title { font-size: clamp(2.8rem, 11vw, 4.6rem); }
  .hero__stage { min-height: 0; aspect-ratio: 4 / 4.2; }
}

/* ---------- Secciones ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { font-size: var(--step-4); }
.section-head h2 em { font-style: italic; }
.section-head__lead { margin-top: 1.3rem; font-size: var(--step-1); color: var(--ink-soft); max-width: 36em; }

/* ---------- Cómo funciona ---------- */
.steps { padding-block: clamp(5rem, 12vw, 9.5rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.steps__title { font-size: var(--step-3); max-width: 9em; }
.steps__list { list-style: none; display: grid; gap: 2.2rem; }
.steps__list li { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.steps__n { grid-row: span 2; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.steps__list h3 { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; margin-bottom: .4rem; }
.steps__list p { color: var(--ink-soft); max-width: 34em; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Familias: carrusel sencillo (tamaños fijos: nada salta al cambiar) ---------- */
.showcase { padding-block: clamp(4rem, 9vw, 7rem); text-align: center; }
.sc-title { color: var(--muted); }
.sc-name {
  margin-top: .8rem; color: var(--ink);
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4.6rem); line-height: 1.1; height: 1.1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-stage {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  display: flex; justify-content: center; align-items: center; gap: clamp(.4rem, 4vw, 3.5rem);
}
.sc-perfume { flex: 0 0 min(360px, 64vw); display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.sc-visual { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; }
.sc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 26px rgba(29, 24, 20, .18)); }
.sc-pname {
  margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1;
  height: 2.2em; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sc-pbrand { margin-top: .3rem; height: 1.2em; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sc-perfume:focus-visible { outline-offset: 8px; }
.sc-stage .g-btn { flex: none; --bg: var(--cream); }
.sc-name.in, .sc-perfume.in { animation: scFade .7s var(--ease) both; }
@keyframes scFade { from { opacity: 0; } to { opacity: 1; } }
html:not(.js) .sc-stage .g-btn { visibility: hidden; }

/* ---------- Orientación ---------- */
.guide { background: #1a1511; color: #efe6d8; padding-block: clamp(5rem, 11vw, 8.5rem); }
.guide__title { font-size: var(--step-4); max-width: 12em; }
.guide__lead { margin-top: 1rem; font-size: var(--step-1); color: #cbbba4; }
.guide__grid { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.guide__grid > div { border-top: 1px solid rgba(239, 230, 216, .2); padding-top: 1.4rem; }
.guide__grid h3 { font-family: var(--serif); font-size: var(--step-2); }
.guide__grid p { color: #b9ad9c; margin-top: .3rem; }
.guide__grid ul { list-style: none; margin-top: 1rem; display: grid; gap: .45rem; }
.guide__grid a { color: #efe6d8; text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.guide__grid a::after { content: " →"; font-style: normal; font-size: .9em; color: var(--gold-light); opacity: 0; transition: opacity .3s; }
.guide__grid a:hover::after, .guide__grid a:focus-visible::after { opacity: 1; }
.guide__cta { margin-top: clamp(3rem, 7vw, 4.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.guide__cta p { font-family: var(--serif); font-size: var(--step-2); }
@media (max-width: 760px) { .guide__grid { grid-template-columns: 1fr; } }
