
:root {
    --red:         #E00109;
    --red-dark:    #B4000A;
    --black:       #0A0A0A;
    --gray-dark:   #1c1c1c; 
    --gray-light:  #F5F5F4;
    --gray-mid:    #E0E0DE;
    --white:       #ffffff;
    --text:        #1a1a1a;
    --text-light:  #6b6b6b;

    --font-head: 'Space Grotesk', Arial, sans-serif;
    --font-sans: 'Inter', Arial, sans-serif;

    --ease:     all 0.3s ease;
    --max-w:    1240px;
    --header-h: 100px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}


/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    padding: 0 32px;
}
.site-header.scrolled {
    background: rgba(28, 28, 28, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
}

.header-logo img {
    height: 66px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-list > li > a {
    display: block;
    padding: 8px 16px;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--ease);
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nav-list > li > a:hover { color: var(--red); }
.nav-list > li > a.active { color: var(--red); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--ease);
    transform-origin: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    height: min(78vh, 660px);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-media.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.28) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 880px;
    width: 100%;
}
.hero-tagline {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 4px 28px rgba(0, 0, 0, 0.5);
}
.hero-title em {
    font-style: normal;
    color: var(--red);
}

/* Hero search bar */
.hero-search .search-fields {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-search select,
.hero-search input[type="text"],
.hero-search .btn-search {
    border: none;
    outline: none;
    font-family: var(--font-sans);
}
.hero-search select,
.hero-search input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 0 16px 0 18px;
    height: 46px;
    color: var(--black);
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    border-right: 1px solid rgba(0,0,0,0.08);
}
.hero-search select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.hero-search input[type="text"]::placeholder { color: var(--black); opacity: 0.45; }

.btn-search {
    padding: 0 30px;
    height: 46px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.btn-search:hover { background: var(--red-dark); }

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll span {
    display: block;
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 11px;
    position: relative;
}
.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: var(--red);
    border-radius: 2px;
    animation: scroll-pulse 2s ease infinite;
}
@keyframes scroll-pulse {
    0%   { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 16px; }
}


/* =============================================
   SECCIÓN — estilos comunes
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-label {
    display: block;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 40px);
    color: var(--black);
    font-weight: 700;
}


/* =============================================
   NOSOTROS
   ============================================= */
.section-nosotros {
    padding: 110px 0;
    background: var(--black);
    color: var(--white);
}
.nosotros-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}
.nosotros-text h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.35;
}
.nosotros-text p {
    font-size: 15px;
    line-height: 1.85;
    opacity: 0.78;
    margin-bottom: 16px;
}
.nosotros-text p:last-child { margin-bottom: 0; }

.nosotros-photo {
    position: relative;
}
.nosotros-photo::before {
    content: '';
    position: absolute;
    top: 18px;
    right: -18px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--red);
    z-index: 0;
}
.nosotros-photo-inner {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.nosotros-photo-inner img,
.nosotros-photo-inner iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .section-nosotros { padding: 72px 0; }
    .nosotros-inner { grid-template-columns: 1fr; gap: 36px; }
    .nosotros-photo { max-width: 340px; margin: 0 auto; }
    .nosotros-photo::before { top: 14px; right: -14px; }
}


/* =============================================
   OPERACIONES (Venta / Alquiler CTA)
   ============================================= */
.section-operaciones { padding: 0; }
.operaciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.operacion-card {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 44px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}
.operacion-card-venta    { background: var(--black); }
.operacion-card-alquiler { background: var(--red); }
.operacion-card-venta:hover    { background: var(--gray-dark); }
.operacion-card-alquiler:hover { background: var(--red-dark); }

.operacion-card-icon {
    position: absolute;
    top: 36px;
    right: 36px;
    width: 96px;
    height: 96px;
    color: var(--white);
    opacity: 0.16;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.operacion-card-alquiler .operacion-card-icon { color: var(--black); opacity: 0.22; }
.operacion-card:hover .operacion-card-icon { transform: scale(1.08) rotate(-4deg); opacity: 0.3; }

.operacion-card-body { position: relative; z-index: 1; color: var(--white); }
.operacion-card-body span {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.75;
}
.operacion-card-venta .operacion-card-body span { color: var(--red); opacity: 1; }
.operacion-card-body h3 {
    font-family: var(--font-head);
    font-size: clamp(24px, 2.6vw, 34px);
    margin-top: 8px;
}
.operacion-card-body p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 360px;
    margin-top: 12px;
}
.operacion-card-body em {
    display: inline-block;
    font-style: normal;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 18px;
    transition: transform 0.25s ease;
}
.operacion-card-venta .operacion-card-body em { color: var(--red); }
.operacion-card:hover .operacion-card-body em { transform: translateX(6px); }


/* =============================================
   ESTILO DE VIDA (categorías)
   ============================================= */
.section-estilos {
    padding: 100px 0 0;
    background: var(--white);
}
.estilos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.estilo-card {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}
.estilo-card-a { background: var(--black); }
.estilo-card-b { background: var(--red); }
.estilo-card-c { background: var(--gray-dark); }
.estilo-card-a:hover { background: var(--gray-dark); }
.estilo-card-b:hover { background: var(--red-dark); }
.estilo-card-c:hover { background: #2a2a2a; }

.estilo-card-icon {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 68px;
    height: 68px;
    color: var(--white);
    opacity: 0.16;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.estilo-card-b .estilo-card-icon { color: var(--black); opacity: 0.22; }
.estilo-card:hover .estilo-card-icon { transform: scale(1.08) rotate(-4deg); opacity: 0.3; }

.estilo-card-body { position: relative; z-index: 1; color: var(--white); }
.estilo-card-body span {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}
.estilo-card-b .estilo-card-body span { color: var(--black); opacity: 0.75; }
.estilo-card-body h3 {
    font-family: var(--font-head);
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 700;
    margin-top: 6px;
}
.estilo-card-body em {
    display: inline-block;
    font-style: normal;
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-top: 14px;
    transition: transform 0.25s ease;
}
.estilo-card-b .estilo-card-body em { color: var(--black); }
.estilo-card:hover .estilo-card-body em { transform: translateX(6px); }

@media (max-width: 860px) {
    .estilos-grid { grid-template-columns: 1fr; }
}


/* =============================================
   DESTACADAS
   ============================================= */
.section-destacadas {
    padding: 110px 0;
    background: var(--white);
}
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 52px;
}

.property-card {
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--gray-mid);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.property-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: var(--gray-light);
}
.property-card:hover .property-card-image img { transform: scale(1.06); }

.property-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 11px;
}
.property-card-badge.vendida,
.property-card-badge.reservada,
.property-card-badge.alquilada { background: var(--black); }

.property-card-body { padding: 22px 22px 26px; }
.property-card-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}
.property-card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    line-height: 1.3;
}
.property-card-location {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 14px;
}
.property-card-details {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.card-detail { display: flex; align-items: center; gap: 6px; }
.card-detail svg { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--red); }
.property-card-price {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.section-cta { text-align: center; }
.btn-outline {
    display: inline-block;
    padding: 15px 46px;
    border: 1.5px solid var(--black);
    color: var(--black);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: var(--ease);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.loading-state {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 80px 0;
}
.spinner {
    width: 30px;
    height: 30px;
    border: 2px solid var(--gray-mid);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 0;
    color: var(--text-light);
    font-size: 14px;
}


/* =============================================
   CONTACTO
   ============================================= */
.section-contacto {
    padding: 110px 0;
    background: var(--black);
    color: var(--white);
}
.contacto-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.contacto-info .section-label { color: var(--red); }
.contacto-bajada {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.75;
    margin: 20px 0 40px;
    max-width: 360px;
}
.contacto-datos { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contacto-datos li { display: flex; align-items: flex-start; gap: 16px; font-size: 14px; opacity: 0.9; }
.contacto-datos li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.contacto-datos li div, .contacto-datos li a, .contacto-datos li span {
    display: block; color: var(--white); line-height: 1.7;
}
.contacto-datos li a:hover { color: var(--red); }

.contacto-map {
    width: 100%;
    height: 220px;
    border: none;
}

.contacto-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 44px 40px;
}
.contacto-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contacto-form .form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.contacto-form label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 8px;
}
.contacto-form input,
.contacto-form textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 14px;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
    width: 100%;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { opacity: 0.35; }
.contacto-form input:focus,
.contacto-form textarea:focus { border-color: var(--red); }

.btn-contacto {
    width: 100%;
    padding: 16px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
    margin-top: 8px;
}
.btn-contacto:hover { background: var(--red-dark); }
.btn-contacto:disabled { opacity: 0.6; cursor: default; }

.form-feedback { margin-top: 14px; font-size: 13px; text-align: center; opacity: 0.9; }
.form-feedback.ok { color: #6fd17f; }
.form-feedback.error { color: #f08080; }


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 72px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; opacity: 0.5; line-height: 1.7; max-width: 240px; }
.footer-contact h4, .footer-nav h4, .footer-social h4 {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 18px;
}
.footer-contact li, .footer-nav li { margin-bottom: 10px; }
.footer-contact li a, .footer-contact li, .footer-nav li a {
    font-size: 13px; opacity: 0.8; transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-contact li a:hover, .footer-nav li a:hover { opacity: 1; color: var(--red); }
.footer-bottom p { text-align: center; font-size: 11px; opacity: 0.35; }

.footer-social .social-links { display: flex; gap: 16px; }
.footer-social .social-links a { opacity: 0.7; transition: opacity 0.2s ease, color 0.2s ease; }
.footer-social .social-links a:hover { opacity: 1; color: var(--red); }


/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 768px) {
    .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}


/* =============================================
   PAGE HERO (páginas internas)
   ============================================= */
.page-hero {
    padding-top: var(--header-h);
    background: var(--black);
    color: var(--white);
}
.page-hero-top {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 44px 28px 36px;
}
.page-hero-label {
    display: block;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
.page-hero-top h1 {
    font-family: var(--font-head);
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 700;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        height: 100vh;
        z-index: 1001;
        background: var(--black);
        padding: 28px 24px;
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
        transform: translateX(100%) translateZ(0);
        transition: transform 0.35s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        will-change: transform;
    }
    .main-nav.open { transform: translateX(0) translateZ(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li > a {
        padding: 18px 0;
        font-size: 15px;
        color: var(--white);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-toggle { display: flex; }
    .nav-toggle.open span { background: var(--white); }

    .hero-search .search-fields { flex-direction: column; }
    .hero-search select, .hero-search input[type="text"] {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 15px;
    }
    .btn-search { width: 100%; }

    .properties-grid { grid-template-columns: 1fr; }
    .operaciones-grid { grid-template-columns: 1fr; }
    .operacion-card { min-height: 260px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-header { padding: 0 20px; }

    .section-destacadas, .section-contacto { padding: 72px 0; }

    .contacto-inner { grid-template-columns: 1fr; gap: 44px; }
    .contacto-form-wrap { padding: 32px 24px; }
    .contacto-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .contacto-bajada { max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
}
