/* =====================================================
   web_home.css — Página de inicio pública
   ===================================================== */

/* ====================================================
   HERO SLIDESHOW
   ==================================================== */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: var(--hero-h, 100vh);
    overflow: hidden;
    background: #10230f; /* fondo mientras cargan las imágenes */
}

/* ── Slides ── */
.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

/* Imagen de fondo con Ken Burns */
.hero-slide__bg {
    position: absolute;
    inset: -4%; /* margen para el zoom sin borde blanco */
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 9s ease-out;
    will-change: transform;
}

.hero-slide.is-active .hero-slide__bg {
    transform: scale(1.08);
}

/* Ken Burns desactivado */
.hero-slideshow[data-ken-burns="false"] .hero-slide__bg,
.hero-slideshow[data-ken-burns="false"] .hero-slide.is-active .hero-slide__bg {
    transform: scale(1);
    transition: none;
}

/* ── Overlay ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(16, 35, 15, calc(var(--overlay-opacity, 0.65) + 0.1)) 0%,
        rgba(16, 35, 15, var(--overlay-opacity, 0.65))              40%,
        rgba(16, 35, 15, calc(var(--overlay-opacity, 0.65) - 0.15)) 100%
    );
}

/* ── Contenido ── */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 5rem; /* padding-bottom para dejar espacio a los dots */
}

.hero-content__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 860px;
    width: 100%;
}

/* Badge eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(242, 222, 162, 0.35);
    background: rgba(242, 222, 162, 0.1);
    color: #F2DEA2;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-eyebrow__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: #F2DEA2;
    animation: hero-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Título */
.hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
}

.hero-title__accent {
    color: #F2DEA2;
    font-style: italic;
}

/* Descripción */
.hero-desc {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* CTAs */
.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 480px) {
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F2DEA2;
    color: #010D00;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2.25rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(242, 222, 162, 0.25);
}

.hero-btn-primary:hover {
    background: #ebd28b;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(242, 222, 162, 0.35);
}

.hero-btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.hero-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.hero-btn-text:hover {
    color: #F2DEA2;
    border-color: rgba(242, 222, 162, 0.6);
}

/* ── Flechas de navegación ── */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(5, 89, 2, 0.55);
    border: 1px solid rgba(242, 222, 162, 0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(4, 64, 2, 0.8);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev { left: 1.25rem; }
.hero-arrow--next { right: 1.25rem; }

/* Ocultar flechas en móvil */
@media (max-width: 639px) {
    .hero-arrow { display: none; }
}

/* Ocultar si setting desactivado */
.hero-slideshow[data-show-arrows="false"] .hero-arrow {
    display: none;
}

/* ── Dots de paginación ── */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
    flex-shrink: 0;
}

.hero-dot.is-active {
    background: #F2DEA2;
    width: 1.75rem; /* dot activo se alarga */
}

/* Ocultar dots si setting desactivado */
.hero-slideshow[data-show-dots="false"] .hero-dots {
    display: none;
}

/* ---- FABs grupo ---- */
.home-fabs {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-fabs.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fab--primary {
    background: var(--color-primary, #8b3a3a);
    color: #fff;
}

.fab--whatsapp {
    background: #044002;
    color: #fff;
}

/* ---- Carrusel — ocultar scrollbar ---- */
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}


