/* =========================================================
   PROPIEDADES ALEGRÍA
   STYLE.CSS - VERSIÓN LIMPIA Y ACTUALIZADA
========================================================= */

:root {
    --azul: #002b70;
    --azul-oscuro: #001b48;
    --azul-transparente: rgba(0, 43, 112, 0.68);
    --amarillo: #ffd600;
    --amarillo-hover: #ffdf32;
    --blanco: #ffffff;
    --negro: #000000;
    --gris: #f4f6f9;
    --gris-texto: #666666;
    --sombra: 0 15px 40px rgba(0, 0, 0, 0.18);
    --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radio: 16px;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================================
   CONTENEDOR
========================================================= */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 43, 112, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 400px;
    height: auto;
}

/* =========================================================
   MENÚ
========================================================= */

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--amarillo);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--amarillo);
    transform: translateY(-2px);
}

.nav a:hover::after {
    width: 100%;
}

.nav-button {
    background: var(--amarillo);
    color: #000000 !important;
    padding: 11px 18px;
    border-radius: 30px;
    font-weight: 800 !important;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 214, 0, 0.35);
}

/* =========================================================
   MENÚ MOBILE
========================================================= */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

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

.hero {
    min-height: 620px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("imagenes/banner1.jpg");
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 43, 112, 0.55),
        rgba(0, 0, 0, 0.10)
    );
    z-index: -1;
}

.hero-content {
    max-width: 720px;
    padding: 90px 0;
    color: #ffffff;
    animation: heroEntrada 1s ease;
}

@keyframes heroEntrada {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin: 18px 0;
    font-weight: 800;
}

.hero h1 span {
    color: var(--amarillo);
}

.hero p {
    max-width: 650px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 30px;
}

/* =========================================================
   ETIQUETA
========================================================= */

.section-tag {
    display: inline-block;
    color: var(--amarillo);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* =========================================================
   BOTONES
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.hero-buttons .btn {
    width: 270px;
    min-width: 270px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-yellow {
    background: var(--amarillo);
    color: #000000;
}

.btn-yellow:hover {
    background: var(--amarillo-hover);
    box-shadow: 0 10px 25px rgba(255, 214, 0, 0.30);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-blue {
    background: var(--azul);
    color: #ffffff;
}

.btn-blue:hover {
    background: #003b97;
    box-shadow: 0 10px 25px rgba(0, 43, 112, 0.25);
}

/* =========================================================
   BUSCADOR
========================================================= */

.search-section {
    background: #ffffff;
    padding: 75px 0;
}

.search-box {
    background: var(--amarillo);
    border-radius: 18px;
    padding: 42px;
    box-shadow: var(--sombra);
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header .section-tag {
    color: #000000;
}

.search-header h2 {
    color: #000000;
    font-size: clamp(28px, 4vw, 42px);
    margin: 8px 0;
    font-weight: 800;
}

.search-header p {
    color: #000000;
    font-size: 15px;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.search-field label {
    color: #000000;
    font-size: 15px;
    font-weight: 800;
}

.search-field select,
.form-group select {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.search-field select:focus,
.form-group select:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 43, 112, 0.12);
}

.search-button {
    min-height: 52px;
    padding: 0 25px;
    border: none;
    border-radius: 8px;
    background: var(--azul);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.search-button:hover {
    background: #001d4e;
    transform: translateY(-2px);
}

/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.about-section {
    position: relative;
    padding: 95px 0;
    background: #ffffff;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 43, 112, 0.05),
        rgba(0, 0, 0, 0.01)
    );
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.about-title .section-tag {
    color: #000000;
}

.about-title h2 {
    color: #000000;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.25;
    margin: 10px 0;
    font-weight: 800;
    text-align: justify;
}

.about-title p {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   SOCIOS
========================================================= */

.partner-card,
.partner-card-dark {
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 45px;
    width: 100%;
    min-height: 390px;
    margin-bottom: 35px;
    padding: 35px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.partner-card-dark {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.partner-card::before,
.partner-card-dark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--amarillo);
}

.partner-card:hover,
.partner-card-dark:hover {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   FOTOS SOCIOS
========================================================= */

.partner-photo {
    position: relative;
    width: 300px;
    height: 330px;
    flex-shrink: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.partner-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-photo img,
.partner-card-dark:hover .partner-photo img {
    transform: scale(1.04);
}

/* =========================================================
   INFORMACIÓN SOCIOS
========================================================= */

.partner-info {
    min-width: 0;
    padding: 5px 10px;
    color: #ffffff;
}

.partner-role {
    display: inline-block;
    color: var(--amarillo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.partner-info h3 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 800;
}

.partner-line {
    width: 65px;
    height: 4px;
    background: var(--amarillo);
    border-radius: 10px;
    margin-bottom: 20px;
}

.partner-info p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 14px;
    text-align: justify;
}

/* =========================================================
   SERVICIOS
========================================================= */

.services-section {
    padding: 90px 0;
    background: #f5f7fb;
}

.services-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.services-section .section-tag {
    color: var(--azul);
}

.services-section .section-header h2 {
    color: #000000;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    margin: 10px 0;
}

.services-section .section-header p {
    color: #555555;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* =========================================================
   TARJETAS SERVICIOS
========================================================= */

.service-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: rgba(0, 43, 112, 0.12);
    border: 1px solid rgba(0, 43, 112, 0.18);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 43, 112, 0.06);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 214, 0, 0.28);
    border-color: rgba(255, 214, 0, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(0, 43, 112, 0.18);
    color: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.service-card:hover .service-icon {
    background: rgba(255, 214, 0, 0.45);
    color: #000000;
}

.service-card h3 {
    color: #000000;
    font-size: 19px;
    margin-bottom: 10px;
}

.service-card p {
    color: #444444;
    font-size: 14px;
    margin-bottom: 18px;
}

.service-card a {
    margin-top: auto;
    color: var(--azul);
    font-weight: 800;
    font-size: 13px;
}

/* =========================================================
   PROPIEDADES DESTACADAS
========================================================= */

.properties-section {
    position: relative;
    padding: 90px 0;
    color: #ffffff;
    background: linear-gradient(
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.88)
    );
    overflow: hidden;
}

.properties-section .container {
    position: relative;
    z-index: 2;
}

.properties-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.properties-section .section-header h2 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    margin: 10px 0;
}

.properties-section .section-header p {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   GRID PROPIEDADES
========================================================= */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* =========================================================
   TARJETA PROPIEDAD
========================================================= */

.property-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(0, 43, 112, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 43, 112, 0.72);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   IMAGEN PROPIEDAD
========================================================= */

.property-image {
    position: relative;
    width: 100%;
    height: 230px;
    flex-shrink: 0;
    overflow: hidden;
    background: #001b48;
}

.property-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* =========================================================
   BADGE
========================================================= */

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: var(--amarillo);
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   CONTENIDO PROPIEDAD
========================================================= */

.property-content {
    width: 100%;
    flex: 1;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    color: #ffffff;
}

.property-content h3 {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 9px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.property-location i {
    color: var(--amarillo);
}

.property-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-price {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--amarillo);
    font-size: 21px;
    font-weight: 800;
}

.property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.property-button:hover {
    background: var(--amarillo);
    color: #000000;
}

.properties-more {
    text-align: center;
    margin-top: 45px;
}

/* =========================================================
   VENDER
========================================================= */

.sell-section {
    padding: 100px 0;
    position: relative;
    background: var(--azul);
    overflow: hidden;
}

.sell-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -250px;
    right: -150px;
}

.sell-content {
    position: relative;
    max-width: 760px;
    color: #ffffff;
}

.sell-content h2 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    margin: 12px 0 18px;
}

.sell-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    margin-bottom: 28px;
}

/* =========================================================
   CONTACTO
========================================================= */

.contact-section {
    padding: 90px 0;
    background: #f4f6f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    color: var(--azul);
}

.contact-info h2 {
    color: #000000;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin: 10px 0 18px;
}

.contact-info > p {
    color: #555555;
    margin-bottom: 30px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(0, 43, 112, 0.10);
    color: var(--azul);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    color: #000000;
    font-size: 14px;
}

.contact-item span {
    color: #666666;
    font-size: 14px;
}

/* =========================================================
   FORMULARIO
========================================================= */

.contact-form {
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    padding: 13px 15px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--amarillo);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.15);
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--azul);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 65px 0;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 18px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 300px;
    font-size: 14px;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.socials a:hover {
    background: var(--amarillo);
    color: #000000;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--amarillo);
}

.footer-column p {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.footer-column p i {
    color: var(--amarillo);
    margin-top: 4px;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom .container {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

/* =========================================================
   IRONSYSTEM
========================================================= */

.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.developer-credit a {
    display: flex;
    align-items: center;
}

.developer-credit img {
    width: 58px !important;
    height: auto !important;
    max-width: 58px !important;
    display: inline-block !important;
    object-fit: contain;
    margin: 0 !important;
}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 12px;
    }

    .nav-button {
        padding: 9px 12px;
    }

    .search-fields {
        grid-template-columns: repeat(2, 1fr);
    }

    .properties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-card {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 30px;
        padding: 30px;
    }

    .partner-card-dark {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .partner-photo {
        width: 240px;
        height: 280px;
    }

    .logo img {
        width: 195px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    /* HEADER */

    .nav-container {
        min-height: 72px;
    }

    .logo img {
        width: 175px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(0, 43, 112, 0.98);
        padding: 15px 20px 25px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 13px 5px;
        font-size: 14px;
    }

    .nav a:not(.nav-button)::after {
        display: none;
    }

    .nav-button {
        text-align: center;
        margin-top: 8px;
    }

    /* HERO */

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 70px 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero p {
        font-size: 15px;
    }

    /* BOTONES HERO */

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }

    /* BUSCADOR */

    .search-section {
        padding: 55px 0;
    }

    .search-box {
        padding: 28px 20px;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .search-button {
        width: 100%;
    }

    /* QUIÉNES SOMOS */

    .about-section {
        padding: 65px 0;
    }

    .about-title {
        margin-bottom: 40px;
    }

    .about-title h2 {
        font-size: 30px;
        text-align: justify;
    }

    .partner-card,
    .partner-card-dark {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        width: 100%;
        min-height: auto;
        padding: 25px;
        margin-bottom: 25px;
    }

    .partner-photo {
        width: 100%;
        max-width: 280px;
        height: 300px;
        margin: 0 auto;
    }

    .partner-info {
        width: 100%;
        padding: 0;
    }

    .partner-info h3 {
        font-size: 28px;
    }

    .partner-info p {
        font-size: 14px;
        line-height: 1.75;
        text-align: justify;
    }

    /* SERVICIOS */

    .services-section {
        padding: 65px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    /* PROPIEDADES */

    .properties-section {
        padding: 65px 0;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .property-image {
        height: 220px;
    }

    .property-content {
        min-height: auto;
    }

    /* VENDER */

    .sell-section {
        padding: 70px 0;
    }

    /* CONTACTO */

    .contact-section {
        padding: 65px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 25px;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
    }

    .developer-credit {
        margin-top: 5px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 15px;
        bottom: 15px;
        font-size: 25px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .logo img {
        width: 165px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-title h2 {
        font-size: 28px;
    }

    /* SOCIOS */

    .partner-card,
    .partner-card-dark {
        padding: 20px;
        border-radius: 18px;
    }

    .partner-photo {
        height: 270px;
        max-width: 250px;
    }

    .partner-info h3 {
        font-size: 25px;
    }

    .partner-info p {
        font-size: 13.5px;
        line-height: 1.7;
    }

    /* PROPIEDADES */

    .property-image {
        height: 205px;
    }

    .property-content {
        padding: 20px;
    }

    /* SERVICIOS */

    .service-card {
        padding: 24px;
    }

    /* FORMULARIO */

    .contact-form {
        padding: 20px;
    }
}

/* =========================================================
   CONTACTO FLOTANTE
========================================================= */

.contact-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-float-btn {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 26px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* WHATSAPP */

.contact-float-btn.whatsapp {
    background: #25D366;
    color: #ffffff;
}

/* CORREO */

.contact-float-btn.email {
    background: #002b70;
    color: #ffffff;
}

/* TELÉFONO */

.contact-float-btn.phone {
    background: #ffd600;
    color: #000000;
}


/* =========================================================
   CONTACTO FLOTANTE - MÓVIL
========================================================= */

@media (max-width: 768px) {

    .contact-float {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .contact-float-btn {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

}

.social-icon {
    color: #0A66C2;
}

/* FORZAR FOOTER A OCUPAR TODO EL ANCHO */

footer,
.footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}