/* Home — secciones propias de index.php (usa las variables del tema activo) */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.h-eyebrow {
    display: inline-block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold, var(--accent)); font-weight: 600; margin-bottom: .8rem;
}
.h-title { font-family: var(--font-heading, inherit); font-weight: 600; color: var(--primary); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; margin: 0; }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.h-link { color: var(--primary); text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.h-link:hover { color: var(--gold, var(--accent)); }
.h-section { padding: 4.5rem 0; }

/* ── Hero ── */
.h-hero .carousel-item { height: clamp(460px, 76vh, 720px); background: #2b2926; }
.h-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,28,25,.78) 0%, rgba(30,28,25,.45) 45%, rgba(30,28,25,.05) 80%); }
.h-hero-body { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.h-hero-copy { max-width: 560px; color: #fff; }
.h-hero-copy .h-eyebrow { color: #e3d3bb; }
.h-hero-copy h1, .h-hero-copy h2 { font-family: var(--font-heading, inherit); font-weight: 600; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.02; margin-bottom: 1.1rem; color: #fff; }
.h-hero-copy p { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: 2rem; font-weight: 300; }
.h-btn-light { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgba(255,255,255,.85); color: #fff; text-decoration: none;
    padding: .8rem 1.5rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; border-radius: var(--radius); transition: all .2s; }
.h-btn-light:hover { background: #fff; color: var(--primary); }
.h-hero .carousel-indicators { justify-content: flex-start; margin-left: max(1rem, calc((100vw - 1296px) / 2 + 12px)); margin-bottom: 1.6rem; }
.h-hero .carousel-indicators [data-bs-target] { width: 34px; height: 2px; background: #fff; opacity: .45; border: 0; }
.h-hero .carousel-indicators .active { opacity: 1; }
.h-hero .carousel-control-prev, .h-hero .carousel-control-next { width: 5%; }
@media (max-width: 767px) {
    .h-hero .carousel-item { height: 540px; }
    .h-hero-img { object-position: 68% center; }
    .h-hero-shade { background: linear-gradient(0deg, rgba(30,28,25,.85) 0%, rgba(30,28,25,.35) 70%, rgba(30,28,25,.15) 100%); }
    .h-hero-body { align-items: flex-end; padding-bottom: 3.6rem; }
    .h-hero .carousel-indicators { margin-left: 1rem; margin-bottom: 1.2rem; }
}

/* ── Beneficios ── */
.h-perks { border-bottom: 1px solid var(--border); background: var(--cream, #faf7f2); }
.h-perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-perk { display: flex; gap: .9rem; align-items: center; padding: 1.6rem 1.2rem; }
.h-perk + .h-perk { border-left: 1px solid var(--border); }
.h-perk i { font-size: 1.7rem; color: var(--gold, var(--accent)); flex-shrink: 0; }
.h-perk strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.h-perk span { font-size: .88rem; color: var(--muted); }
@media (max-width: 991px) {
    .h-perks-grid { grid-template-columns: repeat(2, 1fr); }
    .h-perk:nth-child(3) { border-left: 0; }
    .h-perk:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 575px) { .h-perk { padding: 1.1rem .6rem; flex-direction: column; text-align: center; gap: .4rem; } }

/* ── Categorías con foto ── */
.h-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.h-cat { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #eee; color: #fff; text-decoration: none; }
.h-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.h-cat:hover img { transform: scale(1.06); }
.h-cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,28,25,.72) 0%, rgba(30,28,25,0) 55%); }
.h-cat-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.7rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.h-cat-txt strong { font-family: var(--font-heading, inherit); font-size: 2.1rem; font-weight: 600; line-height: 1.05; margin-bottom: .2rem; }
.h-cat-txt span { font-size: .88rem; opacity: .88; }
.h-cat-txt em { margin-top: .8rem; font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 2px; }
@media (max-width: 767px) {
    .h-cats { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .h-cat { aspect-ratio: 4 / 5; }
    .h-cat-txt { padding: .9rem; }
    .h-cat-txt strong { font-size: 1.35rem; }
    .h-cat-txt span { display: none; }
    .h-cat-txt em { margin-top: .4rem; font-size: .64rem; }
}

/* ── Hotelería (split) ── */
.h-split { background: var(--cream, #faf7f2); }
.h-split-img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.h-split-copy { padding: 3.5rem clamp(1.5rem, 5vw, 4.5rem); }
.h-split-copy p { color: #57524b; line-height: 1.8; margin: 1.1rem 0 1.4rem; }
.h-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.h-chips span { border: 1px solid var(--border); background: #fff; padding: .35rem .8rem; font-size: .8rem; color: var(--primary); border-radius: 30px; }

/* ── Bordado ── */
.h-band { position: relative; color: #fff; overflow: hidden; }
.h-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30,28,25,.92) 0%, rgba(30,28,25,.8) 50%, rgba(30,28,25,.55) 100%); }
.h-band .container { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; }
.h-band .h-title { color: #fff; }
.h-band .h-eyebrow { color: #e3d3bb; }
.h-band p { color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.8; margin: 1rem 0 2rem; font-weight: 300; }
/* Variante en dos columnas: texto sobre carbón | foto entera a la derecha (sin velo encima) */
.h-band-split { display: grid; grid-template-columns: 1fr 1fr; background: #34312d; }
.h-band-split::before { display: none; }
.h-band-split .h-band-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start; padding: 5rem clamp(1.5rem, 6vw, 6rem); }
.h-band-split .h-band-media { position: relative; min-height: 440px; order: 2; }
.h-band-split .h-band-media img { object-position: 72% 30%; }
@media (max-width: 991px) {
    .h-band-split { grid-template-columns: 1fr; }
    .h-band-split .h-band-media { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
    .h-band-split .h-band-text { padding: 3rem 1.5rem; }
}

/* ── CTA final ── */
.h-cta { text-align: center; padding: 5rem 0; border-top: 1px solid var(--border); }
.h-cta p { color: var(--muted); max-width: 560px; margin: 1rem auto 2rem; line-height: 1.75; }
.h-cta .btn-outline-dark { padding: .8rem 1.6rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
