/* ============================
   BASE
============================ */
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

h1, h2, h3, .navbar-brand {
    font-family: "Montserrat", sans-serif;
}

/* ============================
   HEADER MÁRMOL
============================ */
#marmol-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    padding: 12px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

#marmol-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    padding: 33px 0;
}

/* Logo */
.logo-marmol {
    height: 62px !important;
    max-height: 62px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

#marmol-header.scrolled .logo-marmol {
    height: 36px !important;
    max-height: 36px !important;
}

/* Links */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
    transition: 0.2s;
}

.navbar .nav-link:hover {
    color: #C9A86A !important;
}

/* ============================
   HERO SLIDER
============================ */
#hero {
    position: relative;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 85vh;
    min-height: 550px;
}

.hero-slide {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 22vh;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Flechas */
.hero-prev, .hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 40px;
    padding: 5px 15px;
    cursor: pointer;
    z-index: 3;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(255,255,255,0.9);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-slide {
        height: 70vh;
        min-height: 450px;
    }
}

/* ============================
   SECTION CONTENT
============================ */
.section-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* ============================
   SECTION HIGHLIGHT
============================ */
.section-highlight {
    position: relative;
    padding: 30px 0 !important;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.section-highlight.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-highlight h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-highlight p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 15px auto;
}

/* ============================
   SECTION PROPERTIES
============================ */
.section-properties {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.section-properties.visible {
    opacity: 1;
    transform: translateY(0);
}

.prop-card {
    display: block;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.prop-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.prop-card h5 {
    font-size: 1.2rem;
    margin: 12px;
    font-weight: 600;
}

.prop-card p {
    margin: 0 12px 15px;
    color: #666;
}

/* ============================
   FAQ — Estilo Mejorado Mármol
============================ */

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #f5f5f5 !important; /* gris claro */
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: #000;
    font-weight:400 !impotant;
}

/* Contenedor de cada pregunta */
.faq-item {
    background: #f5f5f5 !important; /* gris claro */
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    font-weight:400 !impotant;
    color:#000;
}

/* Hover suave */
.faq-item:hover {
    background: #ececec;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Pregunta */
.faq-question {
    font-weight: 700; /* negrita */
    font-size: 1.15rem;
    color: #222;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Icono + o - */
.faq-question::after {
    content: "+";
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.25s ease;
}

/* Cuando está abierta */
.faq-item.open .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

/* Respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: #444;
    font-size: 1rem;
    line-height: 1.55;
    transition: all 0.35s ease;
    margin-top: 0;
}

/* Respuesta visible */
.faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
}


/* ============================
   CONTACT FORM
============================ */
.section-contacto {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.section-contacto.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-contacto h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* ============================
   WHATSAPP BUTTON
============================ */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-btn img {
    width: 35px;
}

/* ============================
   FADE-IN ANIMATIONS
============================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================
   MENÚ MOBILE — FONDO Y ESTILO
============================ */
@media (max-width: 991px) {

    /* Fondo del panel desplegable */
    #menuNav {
        background: rgba(0,0,0,0.82);
        backdrop-filter: blur(6px);
        margin-top:10px;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        animation: menuSlideDown 0.25s ease forwards;
    }

    /* Animación */
    @keyframes menuSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Links */
    #menuNav .nav-link {
        color: #fff !important;
        padding: 12px 0;
        font-size: 1.15rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #menuNav .nav-link:last-child {
        border-bottom: none;
    }

    /* Botón hamburguesa blanco */
    .navbar-toggler {
        border-color: rgba(255,255,255,0.6);
    }

    .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
}

/* Ícono hamburguesa blanco (sin fondo) */
.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(200%);
}

/* Ícono hamburguesa blanco SIEMPRE */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    background-size: 100% 100%;
}

/* Fondo blanco para el botón hamburguesa */
.navbar-toggler {
    background: transparent !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Asegurar que el ícono se vea bien */
.navbar-toggler-icon {
    filter: none !important; /* dejamos el ícono original */
    background-size: 100% 100% !important;
}

/* Evitar scroll horizontal en toda la web */
html, body {
    overflow-x: hidden !important;
}

/* Asegurar que el slider no genere ancho extra */
.hero-slider,
.hero-slide {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Evitar que las flechas generen overflow */
.hero-prev,
.hero-next {
    max-width: 100%;
}

.hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: white;
    max-width: 700px;
    width: 90%;
}

/* Imagen con efecto parallax suave */
.hero-slide {
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 3s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Texto con fade-up */
.hero-content h1,
.hero-content p,
.hero-content a {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-content a {
    opacity: 1;
    transform: translateY(0);
    font-family: 'Inter', sans-serif !important;
}

.hero-prev, .hero-next {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: none !important;
    border: none !important;
    font-size: 38px;
    color: white !important;
    z-index: 10;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.hero-prev:hover, .hero-next:hover {
    opacity: 1;
}

/* Flecha izquierda a la izquierda de la derecha */
.hero-prev {
    right: 70px;
}

body {
    font-family: "Montserrat", sans-serif;
    letter-spacing:-1px;
}

h1, h2, h3, h4, h5, .navbar-brand, .hero-content h1 {
    font-family: "Montserrat", sans-serif;
}

/* FLECHAS — abajo a la derecha, blancas, sin fondo */
.hero-prev, .hero-next {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: 38px !important;
    z-index: 20 !important;
    padding: 0 !important;
    line-height: 1 !important;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

/* Flecha izquierda separada */
.hero-prev {
    right: 70px !important;
}

/* Hover */
.hero-prev:hover,
.hero-next:hover {
    opacity: 1;
}

/* Evitar que Bootstrap las centre */
.hero-prev,
.hero-next {
    transform: none !important;
    top: auto !important;
    left: auto !important;
}




