/* ============================
   BASE
============================ */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #222;
    background: #fff;
}

.fs-5 {
    font-size: 14px !important;
    text-align: justify;
}

/* ============================
   HERO (PROPIEDADES)
============================ */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Imagen de fondo */
.hero > img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 5;
}

/* ============================
   LOGO DE PROPIEDADES (CENTRADO, NÍTIDO, GRANDE)
============================ */
.hero-logo-prop {
    width: 280px;                 /* más grande */
    height: auto;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;

    /* nitidez */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;

    /* evitar deformación */
    object-fit: contain;
}

/* Evitar que el hero afecte al logo */
.hero img:not(.hero-logo-prop) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================
   FADE DEL LOGO AL HACER SCROLL
============================ */
.fade-logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-logo.hidden {
    opacity: 0;
    transform: translateY(-20px);
}

/* ============================
   HERO CONTENT
============================ */
.hero-content {
    position: absolute;
    bottom: 12%;
    left: 6%;
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 10px 0 25px;
}

/* ============================
   MOBILE
============================ */
@media (max-width: 768px) {

    .hero {
        height: 60vh;
    }

    .hero-logo-prop {
        width: 200px; /* tamaño ideal mobile */
        top: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


/* ============================
   HERO CONTENT
============================ */
.hero-content {
    position: absolute;
    bottom: 12%;
    left: 6%;
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 10px 0 25px;
}

/* ============================
   BOTONES
============================ */
.btn {
    padding: 12px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn.primary {
    background: #000;
    color: white;
    border: 1px solid #C9A86A;
}

.btn.primary:hover {
    background: #C9A86A;
    color: #000;
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn.secondary:hover {
    background: white;
    color: #000;
}

.btn.gold {
    background: #C9A86A;
    color: #000;
}

.btn.gold:hover {
    background: #000;
    color: #C9A86A;
}

/* ============================
   CARACTERÍSTICAS
============================ */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    background: #fafafa;
}

.highlights .item {
    margin: 10px 25px;
    font-size: 1.1rem;
    color: #444;
}

/* ============================
   DESCRIPCIÓN
============================ */
.descripcion {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

.descripcion h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

/* ============================
   GALERÍA
============================ */
.galeria {
    padding: 50px 20px;
}

.galeria h2 {
    font-family: 'Playfair Display', serif;
}

.galeria .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.galeria img {
    width: 100%;
    border-radius: 6px;
    transition: 0.3s;
}

.galeria img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============================
   CTA
============================ */
.cta {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top:0; 
    left:0;
    width:100%; 
    height:100%;
    background: rgba(0,0,0,0.55);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
}

/* ============================
   MAPA
============================ */
.mapa {
    padding: 0;
}

.mapa h2 {
    font-family: 'Playfair Display', serif;
}

/* ============================
   FORMULARIO
============================ */
.formulario {
    padding: 60px 20px;
    max-width: 600px;
    margin: auto;
}

.formulario h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 20px;
}

.formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario input,
.formulario textarea {
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1rem;
    background: #fafafa;
}

.formulario button {
    padding: 14px;
    border-radius: 6px;
    background: #000;
    color: white;
    font-weight: 600;
    border: 1px solid #C9A86A;
    transition: 0.3s;
}

.formulario button:hover {
    background: #C9A86A;
    color: #000;
}

/* ============================
   FOOTER
============================ */
.footer {
    background: #000;
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 0.8rem;
    color: #777;
}

/* ============================
   WHATSAPP FLOAT
============================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* ============================
   FAQ — Estilo Mármol
============================ */
.accordion-button:not(.collapsed) {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    font-weight: 600;
    box-shadow: none !important;
}

/* ============================
   MOBILE
============================ */
@media (max-width: 768px) {

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta {
        padding: 40px 20px;
    }

    footer {
        padding: 20px 10px;
        font-size: 0.8rem;
    }
}
