:root {

    --container:120rem;
    --transition:all .4s ease;
    --transition-fast:all .25s ease;
    --color-background:#f7f5f1;
    --color-surface:#ffffff;
    --color-primary:#0f3f41;
    --color-accent:#c9a15f;
    --color-text:#1f292a;
    --color-text-light:#ffffff;
    --color-muted:#556162;
    --color-border:rgba(15,63,65,.12);

}

html {

    scroll-behavior:smooth;

}

body {

    margin:0;
    min-height:100vh;
    font-family:'Plus Jakarta Sans', 'Quicksand', system-ui, sans-serif;
    color:var(--color-text);
    background:var(--color-background);
    line-height:1.6;

}
.container{

    width:min(var(--container),calc(100% - 3rem));

    margin-inline:auto;

}

.section-padding{

    padding-block:9rem;

}

.bg-surface{

    background:var(--color-surface);

}

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    align-items:center;

    justify-content:center;

}

.grid{

    display:grid;

}

.site-header{

    position:fixed;

    inset:0 0 auto;

    z-index:1000;

    padding:1rem 0;

    transition:var(--transition);

}

.site-header.scrolled{

    background:rgba(255,255,255,.72);

    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(0,0,0,.05);

    box-shadow:0 10px 35px rgba(0,0,0,.04);

}

.header-container{

    width:min(var(--container),calc(100% - 3rem));

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.nav-list{

    display:flex;

    gap:2.5rem;

}

.nav-link{
     
    color: #064e3b;

    text-decoration: none;

    font-weight: 600;

    position:relative;

    font-weight:600;

    transition:var(--transition-fast);
    

}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--color-accent);

    transition:.35s;

}

.nav-link:hover::after{

    width:100%;

}

.hero-section{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

}

.hero-bg-wrapper{

    position:absolute;

    inset:0;

}

.hero-slide{

    position:absolute;

    inset:0;

    background-size:cover;

    background-position:auto;

    transform:scale(1.1);

    opacity:0;

    transition:opacity 1s ease;

}


.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    rgba(10,10,10,.25),

    rgba(10,10,10,.45)

    );

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:760px;

}


.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:.6rem;

    padding:.8rem 1.3rem;

    border-radius:999px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    color:white;

}

.hero-subtitle{

    margin-top:2rem;

    max-width:650px;

    color:rgba(255,255,255,.9);

    font-size:1.2rem;

}

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:.7rem;

    padding:1rem 2rem;

    border-radius:999px;

    transition:var(--transition);

}

.btn-outline{
    border:1px solid rgba(255,255,255,.4);
    color:#fff;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
}

.btn-outline:hover{
    background:#fff;
    color:#000;
}

.btn-primary{

    background:var(--color-accent);

    color:white;

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:

    0 18px 45px rgba(0,0,0,.15);

}

.about-grid{

    display:grid;

    grid-template-columns:

    1.2fr

    .8fr;

    gap:6rem;

    align-items:center;

}

.arch-img-main{

    overflow:hidden;

    border-radius:28px;

}

.arch-img-main img{

    transition:1s;

}

.arch-img-main:hover img{

    transform:scale(1.05);

}

.arch-img-float {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.arch-img-float img {
    width: 100%;
    max-width: 280px; /* Ajusta el tamaño según prefieras */
    height: auto;
    display: block;
}

.arch-img-main img{

    width:100%;

    display:block;

}

/* ============================================================
   SERVICES
   ============================================================ */

.services-section {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
    align-items: stretch;
}

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 390px;

    padding: 2.5rem;

    background: #ffffff;

    border: 1px solid rgba(20, 67, 67, 0.08);
    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.10);

    border-color: rgba(20, 67, 67, 0.15);
}


/* ICONO */

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex-shrink: 0;

    margin-bottom: 1.75rem;

    color: #c9963e;

    background: rgba(201, 150, 62, 0.10);

    border-radius: 16px;
}

.service-icon svg {
    width: 30px;
    height: 30px;

    flex-shrink: 0;
}


/* TÍTULO */

.service-card h3 {
    margin: 0 0 1rem;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;

    color: #143f3f;

    overflow-wrap: break-word;
    word-break: normal;
}


/* DESCRIPCIÓN */

.service-card p {
    margin: 0;

    max-width: 100%;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 1rem;
    line-height: 1.75;

    color: #596666;

    overflow-wrap: break-word;
    word-break: normal;
}


/* ENLACE */

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    width: fit-content;
    max-width: 100%;

    margin-top: auto;
    padding-top: 2rem;

    color: #006b5f;

    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    white-space: normal;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.service-link span {
    flex-shrink: 0;

    transition:
        transform 0.25s ease;
}

.service-link:hover {
    color: #c9963e;
    gap: 0.75rem;
}

.service-link:hover span {
    transform: translateX(3px);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        min-height: 360px;
        padding: 2rem;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        min-height: auto;
        padding: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

}

.testimonial-card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    transition:var(--transition);

}

.masonry-grid{

    display:grid;

    gap:1.5rem;

    grid-template-columns:

    repeat(4,1fr);

}

.item-large{

    grid-column:span 2;

    grid-row:span 2;

}

.site-footer{

    padding-top:8rem;

    padding-bottom:2rem;

}

.footer-grid{

    display:grid;

    grid-template-columns:

    2fr

    1fr

    1fr

    1fr;

    gap:4rem;

}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:1600px){

}

@media (max-width:1400px){

}

@media (max-width:1200px){

}

@media (max-width:992px){
    .site-nav{

    position:fixed;

    top:0;

    right:-100%;

    width:320px;

    height:100vh;

    background:white;

    padding:8rem 2rem;

    transition:.35s;

    z-index:999;

}

.site-nav.is-open{

    right:0;

}

.nav-list{

    flex-direction:column;

    gap:2rem;

}

.mobile-menu-toggle{

    display:flex;

}

.nav-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:998;

}

.nav-overlay.is-open{

    opacity:1;

    visibility:visible;

}

}

@media (max-width:768px){

}

@media (max-width:576px){

}

/* ==================================================
   PROPERTIES
================================================== */

.properties-header-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:2rem;
    margin-bottom:4rem;
    flex-wrap:wrap;
}

.property-filters{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.filter-btn{
    border:none;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    padding:.85rem 1.5rem;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
    transition:var(--transition);
}

.filter-btn:hover,
.filter-btn.active{
    background:var(--color-accent);
    color:#fff;
    border-color:var(--color-accent);
}

.action-icon-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.9);
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:var(--transition-fast);
}

.action-icon-btn:hover{
    background:var(--color-accent);
    color:#fff;
    transform:scale(1.08);
}

.btn-quick-view{
    border:none;
    background:transparent;
    color:var(--color-accent);
    cursor:pointer;
    font-weight:600;
    transition:var(--transition-fast);
}

.btn-quick-view:hover{
    transform:translateX(5px);
}

/* ============================================================
   ESTADOS DE PROPIEDADES & BADGES MULTIMEDIA
============================================================= */
.property-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

/* Colores según estado */
.status-disponible {
    background-color: rgba(16, 185, 129, 0.9); /* Verde */
    color: #ffffff;
}

.status-en-reserva {
    background-color: rgba(245, 158, 11, 0.9); /* Ámbar/Amarillo */
    color: #ffffff;
}

.status-vendido {
    background-color: rgba(239, 68, 68, 0.9); /* Rojo */
    color: #ffffff;
}

.property-media-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

/* ============================================================
   MODAL / VIEWER DE GALERÍA (MÚLTIPLES FOTOS Y VIDEOS)
============================================================= */
.property-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.property-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff; /* Ajusta según tu tema (oscuro/claro) */
    border-radius: 12px;
    overflow-y: auto;
    z-index: 1;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Visor principal de la galería */
.gallery-main-viewer {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media-image,
.modal-media-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel de miniaturas (hasta 15 elementos) */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.thumb-btn {
    position: relative;
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #000;
}

.thumb-btn.active {
    border-color: #000; /* O el color acento de tu marca */
}

.thumb-btn img,
.thumb-btn video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8rem;
}

body.modal-open {
    overflow: hidden;
}

/* ============================================================
   BOTONES DE FILTRO (Estilo Píldora Minimalista)
============================================================= */
.properties-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.property-filter {
    background-color: #ffffff;
    border: 1px solid transparent;
    color: #333333;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.property-filter:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
}

.property-filter.active {
    background-color: #111111; /* O el color principal de tu marca */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   BOTÓN "VER DETALLES" DENTRO DE LA TARJETA
============================================================= */
.property-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.property-view-btn:hover {
    background-color: #333333;
    transform: translateX(3px);
}

/* ============================================================
   MAQUETACIÓN DE CUADRÍCULA (GRID) DE PROPIEDADES
============================================================= */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: flex-col;
    flex-grow: 1;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* ============================================================
   PLACEHOLDER PARA CUANDO NO HAY IMÁGENES
============================================================= */
.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Oculta la imagen rota de HTML de forma limpia */
.property-image[src=""],
.property-image:not([src]) {
    opacity: 0;
}

/* Capa visual por defecto en caso de no cargar imagen */
.property-image-wrapper::before {
    content: "Sin imagen disponible";
    font-size: 0.8rem;
    font-weight: 500;
    color: #888888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================================
   ESTRUCTURA Y TARJETAS DE PROPIEDADES
============================================================= */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f0f0f0;
    overflow: hidden;
}

/* El texto de fallback queda centrado al fondo, en una capa inferior */
.property-image-wrapper::before {
    content: "SIN IMAGEN DISPONIBLE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0a0a0;
    letter-spacing: 1px;
    z-index: 1;
    white-space: nowrap;
}

/* La imagen real se superpone a todo el contenedor */
.property-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

/* Ocultar icono de imagen rota nativo y la imagen si falla o está vacía */
.property-image[src=""],
.property-image:not([src]) {
    opacity: 0;
}

/* Contenido de la tarjeta verticalmente estructurado */
.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.property-type {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 0.5px;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}

.property-location {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #555555;
    margin-top: 0.25rem;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
}

/* Asegurar que las etiquetas de estado y badge queden por encima de la imagen */
.property-status,
.property-media-badge {
    z-index: 3;
}


/* ============================================================
   SECCIÓN: CATÁLOGO EN ACTUALIZACIÓN (ESTADO VACÍO)
============================================================= */
.properties-empty {
    max-width: 750px;
    margin: 3rem auto;
    padding: 3.5rem 2rem;
    background-color: #ffffff;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.properties-empty h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    text-align: center;
}

.properties-empty p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.properties-empty .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ============================================================
   ESTADOS DE PROPIEDADES & BADGES MULTIMEDIA
============================================================= */
.property-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

/* Colores según estado */
.status-disponible {
    background-color: rgba(16, 185, 129, 0.9); /* Verde */
    color: #ffffff;
}

.status-en-reserva {
    background-color: rgba(245, 158, 11, 0.9); /* Ámbar/Amarillo */
    color: #ffffff;
}

.status-vendido {
    background-color: rgba(239, 68, 68, 0.9); /* Rojo */
    color: #ffffff;
}

.property-media-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

/* ============================================================
   MODAL / VIEWER DE GALERÍA (MÚLTIPLES FOTOS Y VIDEOS)
============================================================= */
.property-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.property-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff; /* Ajusta según tu tema (oscuro/claro) */
    border-radius: 12px;
    overflow-y: auto;
    z-index: 1;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Visor principal de la galería */
.gallery-main-viewer {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media-image,
.modal-media-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel de miniaturas (hasta 15 elementos) */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.thumb-btn {
    position: relative;
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #000;
}

.thumb-btn.active {
    border-color: #000; /* O el color acento de tu marca */
}

.thumb-btn img,
.thumb-btn video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8rem;
}

body.modal-open {
    overflow: hidden;
}

/* ============================================================
   BOTONES DE FILTRO (Estilo Píldora Minimalista)
============================================================= */
.properties-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.property-filter {
    background-color: #ffffff;
    border: 1px solid transparent;
    color: #333333;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.property-filter:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
}

.property-filter.active {
    background-color: #111111; /* O el color principal de tu marca */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   BOTÓN "VER DETALLES" DENTRO DE LA TARJETA
============================================================= */
.property-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.property-view-btn:hover {
    background-color: #333333;
    transform: translateX(3px);
}

/* ============================================================
   MAQUETACIÓN DE CUADRÍCULA (GRID) DE PROPIEDADES
============================================================= */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: flex-col;
    flex-grow: 1;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* ============================================================
   PLACEHOLDER PARA CUANDO NO HAY IMÁGENES
============================================================= */
.property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Oculta la imagen rota de HTML de forma limpia */
.property-image[src=""],
.property-image:not([src]) {
    opacity: 0;
}

/* Capa visual por defecto en caso de no cargar imagen */
.property-image-wrapper::before {
    content: "Sin imagen disponible";
    font-size: 0.8rem;
    font-weight: 500;
    color: #888888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==================================================
   STATISTICS
================================================== */

.statistics-section{
    background:var(--color-primary);
    color:#fff;
}

.stats-grid-wrapper{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
}

.stat-box{
    text-align:center;
    padding:3rem 2rem;
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    backdrop-filter:blur(10px);
    transition:var(--transition);
}

.stat-box:hover{
    transform:translateY(-10px);
    border-color:rgba(255,255,255,.25);
}

.stat-number{
    font-size:3rem;
    font-weight:700;
}

.stat-sym{
    font-size:2rem;
    font-weight:600;
}

.stat-label{
    margin-top:1rem;
    color:rgba(255,255,255,.75);
    line-height:1.7;
}

/* ==================================================
   TESTIMONIALS
================================================== */

.testimonials-carousel{
    max-width:900px;
    margin:4rem auto 0;
}

.testimonial-card{
    padding:4rem;
    text-align:center;
}

.testimonial-quote{
    font-size:1.3rem;
    line-height:1.9;
    color:var(--color-text);
    font-style:italic;
    margin-bottom:3rem;
}

.testimonial-author{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:1rem;
}

.testimonial-author img{
    width:70px;
    height:70px;
    border-radius:50%;
}

.testimonial-author h5{
    margin-bottom:.3rem;
}

.testimonial-author span{
    color:var(--color-text-light);
    font-size:.9rem;
}

/* ==================================================
   FAQ
================================================== */

.faq-accordion{
    max-width:900px;
    margin:4rem auto 0;
}

.faq-item{
    border-bottom:1px solid rgba(0,0,0,.08);
}

.faq-question{
    width:100%;
    background:none;
    border:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1.8rem 0;
    cursor:pointer;
    font-size:1.1rem;
    font-weight:600;
    text-align:left;
}

.faq-icon{
    font-size:1.8rem;
    transition:.35s;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
}

.faq-answer p {
    padding-bottom: 2rem;
    color: #064e3b; /* Verde esmeralda muy oscuro */
    line-height: 1.8;
}

.faq-item.active .faq-answer{
    max-height:250px;
}

.faq-item.active .faq-icon{
    transform:rotate(45deg);
}

/* ==================================================
   CONTACT
================================================== */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5rem;
    align-items:start;
}

.contact-details-list{
    margin-top:3rem;
    display:grid;
    gap:2rem;
}

.contact-detail-item strong{
    display:block;
    margin-bottom:.4rem;
}

/* Estilo base para los enlaces de contacto */
.contact-detail-item a {
    color: #064e3b;
    text-decoration: underline; /* Puedes cambiar a 'none' si no deseas subrayado */
    transition: color 0.3s ease;
}

/* Cambia ligeramente el tono cuando se pasa el cursor por encima */
.contact-detail-item a:hover {
    color: #043927;
}

/* ==================================================
   FORM
================================================== */

.luxury-form{
    background:#fff;
    padding:3rem;
    border-radius:28px;
    box-shadow:0 25px 60px rgba(0,0,0,.06);
}

.form-group{
    margin-bottom:1.8rem;
}

.form-group label{
    display:block;
    margin-bottom:.7rem;
    font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:1rem 1.2rem;
    border:1px solid rgba(0,0,0,.1);
    border-radius:14px;
    font:inherit;
    transition:.3s;
    background:#fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    outline:none;
    border-color:var(--color-accent);
    box-shadow:0 0 0 4px rgba(0,120,255,.08);
}

textarea{
    resize:vertical;
}

.error-message{
    display:none;
    color:#d33;
    font-size:.85rem;
    margin-top:.5rem;
}

.btn-full{
    width:100%;
}

.form-success-state{
    margin-top:1.5rem;
    padding:1rem;
    border-radius:12px;
    background:#eef9f2;
    color:#2d7a43;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer{
    background:var(--color-primary);
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:4rem;
    padding-bottom:4rem;
}

.footer-logo{
    margin-bottom:1.5rem;
}

.footer-brand-col p{
    color:rgba(255,255,255,.7);
    line-height:1.8;
}

.footer-links-col h4{
    margin-bottom:1.5rem;
    color:#fff;
}

.footer-links-col ul{
    display:grid;
    gap:.9rem;
}

.footer-links-col a{
    color:rgba(255,255,255,.7);
    transition:.3s;
}

.footer-links-col a:hover{
    color:#fff;
    padding-left:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:2rem;
    text-align:center;
}

.footer-bottom p{
    color:rgba(255,255,255,.55);
}

/* =========================================
   SEARCH MODAL
========================================= */

.search-modal {

    position: fixed;

    top: 50%;
    left: 50%;

    width: min(700px, 92vw);

    max-height: 80vh;

    background: #ffffff;

    border-radius: 24px;

    padding: 2rem;

    opacity: 0;

    visibility: hidden;

    transform: translate(-50%, -45%);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    z-index: 1200;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .20);

    overflow-y: auto;

}


/* ABIERTO */

.search-modal.active {

    opacity: 1;

    visibility: visible;

    transform: translate(-50%, -50%);

}


/* =========================================
   BACKDROP
========================================= */

.modal-backdrop {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;

    z-index: 1100;

}


.modal-backdrop.active {

    opacity: 1;

    visibility: visible;

}


/* =========================================
   HEADER
========================================= */

.search-modal-header {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.5rem;

}


.search-modal-header input {

    flex: 1;

    width: 100%;

    padding: 1rem 1.25rem;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-family: inherit;

    font-size: 1rem;

    outline: none;

}


.search-modal-header input:focus {

    border-color: #222;

}


/* =========================================
   CLOSE BUTTON
========================================= */

.close-search-btn {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: none;

    background: transparent;

    font-size: 2rem;

    line-height: 1;

    cursor: pointer;

    color: #222;

    border-radius: 50%;

    transition:
        background .2s ease,
        transform .2s ease;

}


.close-search-btn:hover {

    background: rgba(0, 0, 0, .06);

    transform: rotate(90deg);

}


/* =========================================
   RESULTS
========================================= */

.search-results-container {

    width: 100%;

}


.search-hint {

    margin: 0;

    padding: 2rem 1rem;

    text-align: center;

    color: #777;

    line-height: 1.6;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .search-modal {

        width: calc(100vw - 2rem);

        padding: 1.5rem;

        border-radius: 20px;

    }

    .search-modal-header {

        gap: .75rem;

    }

    .search-modal-header input {

        padding: .9rem 1rem;

    }

}

/* ==================================================
   MOBILE NAVIGATION
================================================== */

.mobile-menu-toggle{
    display:none;
    border:none;
    background:none;
    cursor:pointer;
}

.hamburger-line{
    display:block;
    width:28px;
    height:2px;
    background:var(--color-text);
    margin:6px 0;
    transition:.35s;
}

/* ==================================================
   REVEAL ANIMATIONS
================================================== */

.reveal-fade{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.reveal-slide{
    opacity:0;
    transform:translateX(-40px);
    transition:1s;
}

.reveal-active{
    opacity:1;
    transform:none;
}

/* ==================================================
   SCROLL BAR
================================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#ececec;
}

::-webkit-scrollbar-thumb{
    background:var(--color-accent);
    border-radius:999px;
}

/* ==================================================
   RESPONSIVE
================================================== */

.mobile-menu-toggle{

    display:none;

    background:none;

    border:none;

    cursor:pointer;

}

.hamburger-line{

    display:block;

    width:24px;

    height:2px;

    background:var(--color-text);

    margin:5px 0;

    transition:.3s;

}

@media(max-width:1200px){

    .about-grid,
    .contact-grid{
        grid-template-columns:1fr;
        gap:4rem;
    }

    .stats-grid-wrapper{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:992px){

    .nav-list{
        position:fixed;
        inset:0 0 0 auto;
        width:300px;
        background:#fff;
        flex-direction:column;
        padding:8rem 2rem;
        transform:translateX(100%);
        transition:.35s;
        box-shadow:-10px 0 30px rgba(0,0,0,.08);
    }

    .nav-list.active{
        transform:translateX(0);
    }

    .mobile-menu-toggle{
        display:block;
    }

    .properties-grid{
        grid-template-columns:1fr;
    }

    .masonry-grid{
        grid-template-columns:1fr 1fr;
    }
    
    .site-nav{

    position:fixed;

    top:0;

    right:0;

    width:320px;

    height:100vh;

    background:white;

    display:flex;

    align-items:center;

    justify-content:center;

    transform:translateX(100%);

    transition:.4s ease;

    z-index:999;

}

.nav-list{

    flex-direction:column;

    align-items:center;

    gap:2rem;

}

.mobile-menu-toggle{

    display:flex;

}

}

@media(max-width:768px){

    .section-padding{
        padding-block:6rem;
    }

    .hero-title{
        font-size:3rem;
    }

    .properties-header-flex{
        flex-direction:column;
        align-items:flex-start;
    }

    .newsletter-box{
        padding:2.5rem;
    }

    .newsletter-form{
        width:100%;
    }

    .newsletter-form input{
        min-width:100%;
    }

    .stats-grid-wrapper{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .masonry-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:576px){

    .hero-title{
        font-size:2.4rem;
    }

    .hero-subtitle{
        font-size:1rem;
    }

    .testimonial-card{
        padding:2rem;
    }

    .luxury-form{
        padding:2rem;
    }

    .search-modal{
        width:95%;
    }

}

.site-nav.active{
    transform:translateX(0);
}

.nav-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.nav-overlay.active{
    opacity:1;
    visibility:visible;
}

.nav-link.active{
    color:var(--color-accent);
}

.nav-link.active::after{
    width:100%;
}

/* ========================================
   Navigation Links
======================================== */

.site-nav a,
.nav-list a,
.nav-link{

    color: #064e3b;
    text-decoration: none;

    font-weight: 600;

    transition: color .3s ease;

}

.site-nav a:visited{

    color: var(--color-text);

}

.site-nav a:hover{

    color: var(--color-accent);

}

.nav-link.active,
.nav-link.is-active{

    color: var(--color-accent);

}

/* ========================================
   Navigation Links
======================================== */

.site-nav a,
.nav-list a,
.nav-link{

    color: var(--color-text);

    text-decoration: none;

    font-weight: 600;

    transition: color .3s ease;

}

.site-nav a:visited{

    color: var(--color-text);

}

.site-nav a:hover{

    color: var(--color-accent);

}

.nav-link.active,
.nav-link.is-active{

    color: var(--color-accent);

}

/* ========================================
   Navigation Pills
======================================== */

.nav-list{

    display:flex;

    gap:1rem;

    align-items:center;

}

.nav-link{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:.7rem 1.3rem;

    border-radius:999px;

    background: rgba(255,255,255,.18);    

    backdrop-filter:blur(6px);

    color:var(--color-text);

    text-decoration:none;

    font-weight:600;

    transition:all .35s ease;

    border:1px solid rgba(255,255,255,.15);

}

.nav-link:hover{

    background:var(--color-accent);

    color:white;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(199,154,75,.25);

}

.nav-link.is-active{

    background:var(--color-accent);

    color:#ffffff;;

}

.nav-list{

    display:flex;
    
    align-items:center;

    gap:1rem;

    list-style:none;

    margin:0;

    padding:0;

}

.nav-list li{

    list-style:none;

}

/*==========================
Brand Logo
==========================*/

.brand-logo{

    display:flex;

    align-items:center;

    text-decoration:none;

}

.brand-logo-image{
    height: 52px;
    width: auto;
    display: block;
}

.brand-logo:hover .brand-logo-image{

    transform:scale(1.03);

}

/*======================================
SEARCH BAR PREMIUM
======================================*/

.search-trigger-btn{

    display:flex;
    align-items:center;
    gap:.75rem;

    width:250px;
    height:48px;

    padding:0 1.1rem;

    border:none;

    border-radius:999px;

    background:
        rgba(255,255,255,.14);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    color:var(--color-text);

    cursor:pointer;

    transition:.35s ease;

    border:1px solid rgba(255,255,255,.15);

}

.search-trigger-btn svg{

    flex-shrink:0;

    opacity:.7;

}

.search-placeholder{

    flex:1;

    text-align:left;

    font-size:.95rem;

    opacity:.65;

}

.search-trigger-btn:hover{

    background:#d4aa5f;

    color:#111;

    transform:translateY(-2px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.18);

}

.search-trigger-btn:hover svg{

    opacity:1;

}

.search-trigger-btn:hover .search-placeholder{

    opacity:1;

}

/*======================================
SEARCH CONTACT CARD
======================================*/

.search-contact-card{

    text-align:center;

    padding:2rem 1rem;

}

.search-contact-icon{

    width:72px;

    height:72px;

    margin:0 auto 1.5rem;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    background:rgba(212,170,95,.12);

}

.search-contact-card h3{

    margin-bottom:1rem;

    font-size:1.5rem;

}

.search-contact-card p{

    max-width:480px;

    margin:0 auto 2rem;

    color:#666;

    line-height:1.7;

}

.search-contact-btn{

    border:none;

    cursor:pointer;

    padding:1rem 2rem;

    border-radius:999px;

    color:white;

    font-weight:600;

    transition:.3s;

    background: #006f6f;

    border: 1px solid #006f6f;

}

.search-contact-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

    background: #005858;

    border-color: #005858;

}

/* ==================================================
   PRIVATE PROPERTY CATALOG
================================================== */

.properties-section {
    background: var(--color-background, #f8f7f4);
}

.properties-contact-card {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 6rem);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .07);
}

.properties-contact-card .section-title {
    max-width: 700px;
    margin: 1rem auto 1.25rem;
}

.properties-contact-card .section-lead {
    max-width: 650px;
    margin: 0 auto 2.25rem;
}

.properties-contact-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Search modal contact state */
.search-modal-header h2 {
    margin: 0;
    flex: 1;
}

.search-contact-card {
    text-align: center;
    padding: 1rem 1rem .5rem;
}

.search-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(212, 170, 95, .12);
    color: var(--color-accent, #d4aa5f);
    font-size: 2rem;
}

.search-contact-card h3 {
    margin-bottom: .75rem;
}

.search-contact-card p {
    max-width: 560px;
    margin: 0 auto 1.75rem;
    color: var(--color-muted, #777);
    line-height: 1.75;
}

.search-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
    background: #006f6f;
    color: #ffffff;
    border: 1px solid #006f6f;
}

.search-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .14);
    background: #005858;
    border-color: #005858;
}

@media (max-width: 576px) {

    .properties-contact-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

}

/* =========================================================
   SEARCH MODAL — VERSION ACTUAL
========================================================= */

.modal-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(8, 12, 20, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 1100;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}


/* MODAL */

.search-modal {
    position: fixed;

    top: 50%;
    left: 50%;

    width: min(620px, 90vw);
    max-height: 80vh;

    transform: translate(-50%, -46%) scale(0.96);

    background: #ffffff;

    border-radius: 28px;

    padding: 2rem;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    z-index: 1200;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.20);

    overflow-y: auto;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* HEADER */

.search-modal-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1.5rem;
}

.search-modal-header h2 {
    margin: 0;

    font-family: 'Quicksand', sans-serif;

    font-size: 1.5rem;
}


/* CLOSE */

.close-search-btn {
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 14px;

    background: #f3f3f3;

    color: #222;

    font-size: 1.6rem;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.close-search-btn:hover {
    background: var(--color-accent);
    color: #ffffff;

    transform: rotate(90deg);
}


/* CONTACT CARD */

.search-contact-card {
    text-align: center;

    padding: 2.5rem 1.5rem;

    border-radius: 20px;

    background: #f7f7f7;
}

.search-contact-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 1rem;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--color-accent);

    color: #ffffff;

    font-size: 2rem;
}

.search-contact-card h3 {
    margin: 0 0 0.75rem;

    font-family: 'Quicksand', sans-serif;

    font-size: 1.35rem;
}

.search-contact-card p {
    max-width: 480px;

    margin: 0 auto 1.5rem;

    color: #666;

    line-height: 1.7;
}


/* CONTACT BUTTON */

.search-contact-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0.9rem 1.5rem;

    border-radius: 12px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    background: #006f6f;
    
    border: 1px solid #006f6f;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.search-contact-btn:hover {
    transform: translateY(-2px);

    opacity: 0.9;
    background: #005858;
    border-color: #005858;
}


/* MOBILE */

@media (max-width: 768px) {

    .search-modal {
        width: calc(100vw - 2rem);

        padding: 1.25rem;

        border-radius: 22px;
    }

    .search-modal-header h2 {
        font-size: 1.25rem;
    }

    .search-contact-card {
        padding: 2rem 1rem;
    }

}

/* ============================================================
   PORTFOLIO
============================================================ */

.portfolio-section {
    background: var(--bg-surface, #f7f6f3);
}


/* ------------------------------------------------------------
   FILTROS
------------------------------------------------------------ */

.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 35px 0 50px;
}

.portfolio-filter {
    border: 1px solid rgba(30, 35, 40, 0.15);
    background: transparent;
    color: #263238;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.portfolio-filter:hover {
    transform: translateY(-2px);
}

.portfolio-filter.active {
    background: #cda45d;
    color: white;
    border-color: #cda45d;
}


/* ------------------------------------------------------------
   GRID
------------------------------------------------------------ */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
}


/* ------------------------------------------------------------
   TARJETA
------------------------------------------------------------ */

.portfolio-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 35, 40, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}


/* ------------------------------------------------------------
   IMAGEN
------------------------------------------------------------ */

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #e9eaec;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.04);
}


/* ------------------------------------------------------------
   TIPO
------------------------------------------------------------ */

.portfolio-type {
    position: absolute;
    top: 20px;
    left: 20px;

    padding: 8px 14px;

    border-radius: 6px;

    background: rgba(25, 29, 32, 0.88);
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ------------------------------------------------------------
   CONTENIDO
------------------------------------------------------------ */

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    margin: 0 0 10px;

    font-size: 25px;
    line-height: 1.25;

    color: #18212b;
}

.portfolio-location {
    margin: 0 0 20px;

    color: #69737d;
    font-size: 15px;
}


/* ------------------------------------------------------------
   DESCRIPCIÓN
------------------------------------------------------------ */

.portfolio-description {
    margin: 0 0 25px;

    color: #5d6872;
    font-size: 15px;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   CARACTERÍSTICAS
------------------------------------------------------------ */

.portfolio-details {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    padding: 18px 0;

    border-top: 1px solid rgba(30, 35, 40, 0.08);
    border-bottom: 1px solid rgba(30, 35, 40, 0.08);

    color: #424b54;
    font-size: 14px;
}

.portfolio-detail {
    display: flex;
    align-items: center;
    gap: 7px;
}

.portfolio-detail strong {
    font-weight: 600;
}


/* ------------------------------------------------------------
   FOOTER DE TARJETA
------------------------------------------------------------ */

.portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 22px;
}

.portfolio-price {
    color: #bd9149;
    font-size: 20px;
    font-weight: 700;
}

.portfolio-view-btn {
    border: none;
    background: transparent;

    color: #bd9149;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: transform 0.2s ease;
}

.portfolio-view-btn:hover {
    transform: translateX(4px);
}


/* ------------------------------------------------------------
   ESTADO VACÍO
------------------------------------------------------------ */

.portfolio-empty {
    text-align: center;
    padding: 70px 20px;
}

.portfolio-empty h3 {
    margin-bottom: 10px;
}

.portfolio-empty p {
    color: #68727c;
}


/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */

@media (max-width: 900px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image-wrapper {
        height: 320px;
    }

}


@media (max-width: 600px) {

    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .portfolio-filter {
        flex-shrink: 0;
    }

    .portfolio-image-wrapper {
        height: 250px;
    }

    .portfolio-content {
        padding: 22px;
    }

    .portfolio-title {
        font-size: 21px;
    }

    .portfolio-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}
