/* =========================================
   CODECOR
   ROTA EL PORTEÑO
   HOJA DE ESTILOS PRINCIPAL
========================================= */


/* =========================================
   VARIABLES
========================================= */

:root {

    --black: #0b0b0b;

    --black-soft: #151515;

    --white: #ffffff;

    --cream: #f5f2ed;

    --cream-dark: #ebe6de;

    --gold: #b59a6a;

    --gold-light: #cbb58a;

    --gray: #777777;

    --gray-light: #a4a4a4;

    --border: #dedbd5;

}


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

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--black);

    background: var(--white);

    line-height: 1.6;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


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

.section-container {

    width: min(
        1200px,
        calc(100% - 80px)
    );

    margin: 0 auto;

}


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

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 155px;

    background: var(--black);

    z-index: 1000;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    transition:
        height 0.35s ease,
        box-shadow 0.35s ease;

}


/* =========================================
   HEADER AL HACER SCROLL
========================================= */

.header.scrolled {

    height: 105px;

    box-shadow:
        0 5px 25px
        rgba(
            0,
            0,
            0,
            0.3
        );

}


.header-container {

    width: min(
        1400px,
        calc(100% - 80px)
    );

    height: 100%;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


/* =========================================
   LOGO
========================================= */

.logo {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 105px;

    margin-bottom: 8px;

    transition:
        height 0.35s ease,
        margin-bottom 0.35s ease;

}


.logo img {

    width: 190px;

    height: auto;

    object-fit: contain;

    transition:
        width 0.35s ease;

}


/* LOGO AL HACER SCROLL */

.header.scrolled .logo {

    height: 60px;

    margin-bottom: 3px;

}


.header.scrolled .logo img {

    width: 125px;

}


/* =========================================
   NAVEGACIÓN
========================================= */

.nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 42px;

}


.nav-link {

    position: relative;

    color: #ffffff;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    padding: 6px 0;

    transition:
        color 0.3s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition:
        width 0.3s ease;

}


.nav-link:hover {

    color: var(--gold-light);

}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}


.nav-link.active {

    color: var(--gold-light);

}


/* =========================================
   MENÚ MÓVIL
========================================= */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;

}
/* =========================================
   NAVEGACIÓN
========================================= */

.nav {

    display: flex;

    align-items: center;

    gap: 40px;

}


.nav-left {

    margin-right: auto;

}


.nav-right {

    margin-left: auto;

}


.nav-link {

    position: relative;

    color: #ffffff;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    padding: 10px 0;

    transition:
        color 0.3s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition:
        width 0.3s ease;

}


.nav-link:hover {

    color: var(--gold-light);

}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}


.nav-link.active {

    color: var(--gold-light);

}


/* =========================================
   MENÚ MÓVIL
========================================= */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;

    margin-left: auto;

}

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

.hero {

    min-height: 100vh;

    padding-top: 155px;

    position: relative;

    display: flex;

    align-items: center;

    background:

        linear-gradient(
            rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.52)
        ),

        url("../images/hero/hero.jpg")
        center / cover no-repeat;

}


.hero-content {

    width: min(
        1400px,
        calc(100% - 80px)
    );

    margin: 0 auto;

}


.hero-text {

    max-width: 720px;

    color: white;

}


.hero-subtitle {

    display: block;

    margin-bottom: 25px;

    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;

}


.hero h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            48px,
            6vw,
            82px
        );

    font-weight: 400;

    line-height: 1.05;

    margin-bottom: 30px;

}


.hero p {

    max-width: 620px;

    color: rgba(
        255,
        255,
        255,
        0.82
    );

    font-size: 17px;

    margin-bottom: 40px;

}


/* =========================================
   LÍNEA DORADA
========================================= */

.gold-line {

    width: 65px;

    height: 1px;

    background: var(--gold);

    margin: 25px 0;

}


.gold-line.centered {

    margin:
        25px auto;

}


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

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-height: 52px;

    padding:
        0 28px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    transition: 0.3s;

    cursor: pointer;

}


.btn span {

    font-size: 18px;

}


.btn-primary {

    background: var(--gold);

    color: var(--black);

}


.btn-primary:hover {

    background: var(--gold-light);

}


.btn-secondary {

    border:
        1px solid var(--black);

    color: var(--black);

    background: transparent;

}


.btn-secondary:hover {

    background: var(--black);

    color: white;

}


/* BOTÓN SECUNDARIO EN HERO */

.hero .btn-secondary {

    border-color: white;

    color: white;

}


.hero .btn-secondary:hover {

    background: white;

    color: var(--black);

}


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

.services {

    background: var(--cream);

    border-bottom:
        1px solid var(--border);

}


.services .section-container {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

}


.service {

    padding:
        55px 35px;

    border-right:
        1px solid var(--border);

}


.service:first-child {

    border-left:
        1px solid var(--border);

}


.service-icon {

    color: var(--gold);

    font-size: 25px;

    margin-bottom: 20px;

}


.service h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 400;

    margin-bottom: 12px;

}


.service p {

    color: var(--gray);

    font-size: 14px;

}


/* =========================================
   CAPTACIÓN
========================================= */

.captacion {

    padding:
        110px 0;

    background: var(--black);

    color: white;

}


.captacion-container {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: center;

}


.section-label {

    display: block;

    color: var(--gold);

    font-size: 10px;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 20px;

}


.captacion h2,
.about h2,
.contact h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            64px
        );

    font-weight: 400;

    line-height: 1.1;

}


.captacion p {

    max-width: 500px;

    color: #bdbdbd;

    margin-bottom: 35px;

}


.captacion .btn-primary {

    border: none;

}


/* FORMULARIO */

.captacion-form {

    padding: 45px;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

}


#property-form {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


#property-form input,
#property-form select,
#property-form textarea {

    width: 100%;

    padding:
        16px 18px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    color: white;

    outline: none;

    font-size: 13px;

}


#property-form select option {

    color: black;

}


#property-form input::placeholder,
#property-form textarea::placeholder {

    color: #929292;

}


#property-form input:focus,
#property-form select:focus,
#property-form textarea:focus {

    border-color: var(--gold);

}


#property-form textarea {

    resize: vertical;

    min-height: 120px;

}


.form-button {

    min-height: 52px;

    border: none;

    background: var(--gold);

    color: var(--black);

    text-transform: uppercase;

    letter-spacing: 1.5px;

    font-size: 11px;

    cursor: pointer;

    transition: 0.3s;

}


.form-button:hover {

    background: var(--gold-light);

}


/* =========================================
   UBICACIONES
========================================= */

.locations {

    padding:
        120px 0;

    background: var(--white);

}


.section-heading {

    text-align: center;

    margin-bottom: 55px;

}


.section-heading h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            64px
        );

    font-weight: 400;

    line-height: 1.1;

}


/* BUSCADOR */

.location-search {

    max-width: 700px;

    margin:
        0 auto 60px;

}


.location-search label {

    display: block;

    margin-bottom: 10px;

    color: var(--gray);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.search-box {

    display: flex;

    align-items: center;

    border:
        1px solid var(--border);

    background: white;

}


.search-icon {

    padding-left: 18px;

    color: var(--gold);

    font-size: 20px;

}


.search-box input {

    width: 100%;

    padding:
        18px;

    border: none;

    outline: none;

    font-size: 14px;

}


#search-result {

    margin-top: 10px;

    color: var(--gray-light);

    font-size: 12px;

}


/* GRID UBICACIONES */

.location-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 15px;

}
.location-card {

    position: relative;

    min-height: 300px;

    display: flex;

    align-items: flex-end;

    padding: 30px;

    overflow: hidden;

    color: rgb(255, 255, 254);

    transition: 0.4s;

}
.location-image {

    position: absolute;

    inset: 0;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    z-index: 0;

}
.location-content {

    position: relative;

    z-index: 2;

}
.location-card:hover {

    transform:
        translateY(-5px);

}


.location-card span {

    position: relative;

    z-index: 2;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    line-height: 1.1;

}


/* =========================================
   INMUEBLES
========================================= */

.properties {

    padding:
        120px 0;

    background: var(--cream);

}


.property-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.property-card {

    background: white;

    overflow: hidden;

}


.property-image {

    position: relative;

    display: block;

    height: 360px;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

}


.property-image-1 {

    background-image:
        url("../images/inmuebles/chalet-rota-001-1.jpg");

}


.property-image-2 {

    background-image:
        url("../images/inmuebles/chalet-rota-001-2.jpg");

}


.property-image-3 {

    background-image:
        url("../images/inmuebles/chalet-rota-001-3.jpg");

}


.property-tag {

    position: absolute;

    top: 20px;

    left: 20px;

    padding:
        7px 12px;

    background: var(--gold);

    color: var(--black);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.property-info {

    padding: 30px;

}


.property-info > span {

    color: var(--gray);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.property-info h3 {

    margin:
        10px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    font-weight: 400;

    line-height: 1.15;

}


.property-info p {

    color: var(--gray);

    font-size: 13px;

    margin-bottom: 20px;

}


.property-info strong {

    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 400;

}


.property-link {

    display: inline-block;

    margin-top: 20px;

    color: var(--gold);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.center-button {

    text-align: center;

    margin-top: 50px;

}


/* =========================================
   NOSOTROS
========================================= */

.about {

    padding:
        120px 0;

    background: var(--white);

}


.about-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.about-image {

    min-height: 600px;

    background:

        url("../images/about/nosotros.jpg")
        center / cover no-repeat;

}


.about-text p {

    max-width: 560px;

    color: var(--gray);

    margin-bottom: 20px;

}


.about-text .btn {

    margin-top: 20px;

}


/* =========================================
   PROCESO
========================================= */

.process {

    padding:
        120px 0;

    background: var(--cream);

}


.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

}


.process-step {

    padding:
        45px 30px;

    border-right:
        1px solid var(--border);

}


.process-step:first-child {

    border-left:
        1px solid var(--border);

}


.process-step > span {

    display: block;

    margin-bottom: 30px;

    color: var(--gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

}


.process-step h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;

    font-weight: 400;

    margin-bottom: 15px;

}


.process-step p {

    color: var(--gray);

    font-size: 13px;

}


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

.contact {

    padding:
        120px 0;

    background: var(--black);

    color: white;

}


.contact-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.contact-text p {

    max-width: 550px;

    color: #aaa;

    font-size: 16px;

}


.contact-info {

    display: flex;

    flex-direction: column;

    gap: 35px;

}


.contact-info > div {

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

}


.contact-info span {

    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 2px;

}


.contact-info a,
.contact-info p {

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    font-weight: 400;

}


.contact-info a:hover {

    color: var(--gold-light);

}


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

.footer {

    padding:
        45px 0 25px;

    background: #050505;

    color: white;

}


.footer-container {

    width: min(
        1200px,
        calc(100% - 80px)
    );

    margin: 0 auto;

}


.footer-slogan {

    color: var(--gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    margin-bottom: 30px;

}


.footer-social {

    display: flex;

    gap: 25px;

    padding-bottom: 30px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

}


.footer-social a {

    color: #aaa;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.footer-social a:hover {

    color: var(--gold);

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding-top: 25px;

    color: #666;

    font-size: 10px;

}


.footer-bottom div {

    display: flex;

    gap: 20px;

}


.footer-bottom a:hover {

    color: var(--gold);

}


/* =========================================
   CHAT
========================================= */

.chat-button {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 999;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        12px 18px;

    border:
        1px solid var(--gold);

    background: var(--black);

    color: white;

    cursor: pointer;

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

    transition: 0.3s;

}


.chat-button:hover {

    background: var(--gold);

    color: var(--black);

}


.chat-button span {

    font-size: 18px;

}


.chat-button small {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* =========================================
   PÁGINAS DE UBICACIONES
========================================= */

.location-hero {

    padding:
        180px 0 80px;

    background: var(--cream);

}


.location-hero h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            45px,
            6vw,
            72px
        );

    font-weight: 400;

    line-height: 1.05;

}


.location-hero p {

    max-width: 650px;

    color: var(--gray);

    font-size: 16px;

}


.property-list {

    padding:
        80px 0 120px;

    background: var(--white);

}


.property-filters {

    display: flex;

    justify-content: flex-end;

    gap: 15px;

    margin-bottom: 35px;

}


.property-filters select {

    min-width: 190px;

    padding:
        13px 18px;

    border:
        1px solid var(--border);

    background: white;

    color: var(--black);

    outline: none;

    cursor: pointer;

}


.property-filters select:focus {

    border-color: var(--gold);

}


/* =========================================
   FICHA DEL INMUEBLE
========================================= */

.property-detail {

    padding:
        180px 0 120px;

    background: var(--white);

}


.property-gallery {

    margin-top: 10px;

    margin-bottom: 70px;

}


.property-main-image {

    position: relative;

    height: 620px;

    overflow: hidden;

    background:

        url("../images/inmuebles/chalet-rota-001-1.jpg")
        center / cover no-repeat;

}


.gallery-prev,
.gallery-next {

    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    width: 50px;

    height: 50px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.5
        );

    border-radius: 50%;

    background:
        rgba(
            0,
            0,
            0,
            0.55
        );

    color: white;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition: 0.3s;

}


.gallery-prev {

    left: 25px;

}


.gallery-next {

    right: 25px;

}


.gallery-prev:hover,
.gallery-next:hover {

    background: var(--gold);

    border-color: var(--gold);

    color: var(--black);

}


.property-thumbnails {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-top: 10px;

}


.property-thumb {

    height: 130px;

    border:
        2px solid transparent;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    cursor: pointer;

    transition: 0.3s;

}


.property-thumb:hover {

    opacity: 0.8;

}


.property-thumb.active {

    border-color: var(--gold);

}


.property-thumb:nth-child(1) {

    background-image:
        url("../images/inmuebles/chalet-rota-001-1.jpg");

}


.property-thumb:nth-child(2) {

    background-image:
        url("../images/inmuebles/chalet-rota-001-2.jpg");

}


.property-thumb:nth-child(3) {

    background-image:
        url("../images/inmuebles/chalet-rota-001-3.jpg");

}


.property-thumb:nth-child(4) {

    background-image:
        url("../images/inmuebles/chalet-rota-001-4.jpg");

}


/* INFORMACIÓN */

.property-detail-content {

    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 80px;

}


.property-detail-main h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            5vw,
            64px
        );

    font-weight: 400;

    line-height: 1.05;

    margin-bottom: 20px;

}


.property-price {

    display: block;

    margin-bottom: 30px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;

    font-weight: 400;

}


.property-description {

    max-width: 700px;

    color: var(--gray);

    font-size: 16px;

}


/* =========================================
   CARACTERÍSTICAS
========================================= */

.property-features {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    background: var(--border);

    border:
        1px solid var(--border);

}


.property-features div {

    padding: 25px;

    background: var(--cream);

}


.property-features span {

    display: block;

    margin-bottom: 8px;

    color: var(--gray);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.property-features strong {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    font-weight: 400;

}


/* =========================================
   CONTACTO DEL INMUEBLE
========================================= */

.property-contact {

    grid-column:
        1 / -1;

    margin-top: 20px;

    padding: 45px;

    background: var(--black);

    color: white;

}


.property-contact h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    font-weight: 400;

}


.property-contact p {

    margin:
        10px 0 25px;

    color: #aaa;

}


.property-contact-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}


.property-contact .btn-secondary {

    border-color: white;

    color: white;

}


.property-contact .btn-secondary:hover {

    background: white;

    color: var(--black);

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {


    .nav {

        gap: 22px;

    }


    .location-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .property-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .services .section-container {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service:nth-child(2) {

        border-right: none;

    }


    .service:nth-child(3) {

        border-left:
            1px solid var(--border);

    }


    .captacion-container,
    .about-container,
    .contact-container {

        gap: 60px;

    }


}


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

@media (max-width: 850px) {


    .header {

        height: 85px;

    }


    .header-container {

        width:
            calc(100% - 40px);

    }


    .logo {

        height: 65px;

    }


    .logo img {

        width: 160px;

    }


    .nav {

        position: absolute;

        top: 85px;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding:
            20px;

        background: var(--black);

        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                0.1
            );

    }


    .nav.active {

        display: flex;

    }


    .nav-link {

        width: 100%;

        padding:
            15px 0;

    }


    .menu-toggle {

        display: block;

    }


    .hero {

        padding-top: 85px;

    }


    .hero-content {

        width:
            calc(100% - 40px);

    }


    .section-container {

        width:
            calc(100% - 40px);

    }


    .captacion-container,
    .about-container,
    .contact-container,
    .property-detail-content {

        grid-template-columns:
            1fr;

    }


    .captacion-form {

        padding: 30px;

    }


    .location-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .about-image {

        min-height: 450px;

    }


    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .process-step:nth-child(2) {

        border-right: none;

    }


    .process-step:nth-child(3) {

        border-left:
            1px solid var(--border);

    }


    .property-main-image {

        height: 500px;

    }


}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 600px) {


    .section-container {

        width:
            calc(100% - 30px);

    }


    .header-container {

        width:
            calc(100% - 30px);

    }


    .logo img {

        width: 145px;

    }


    .hero {

        min-height:
            760px;

    }


    .hero-content {

        width:
            calc(100% - 30px);

    }


    .hero h1 {

        font-size: 45px;

    }


    .hero p {

        font-size: 15px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .btn {

        width: 100%;

    }


    .services .section-container {

        grid-template-columns:
            1fr;

    }


    .service {

        border-left:
            1px solid var(--border);

        border-right:
            1px solid var(--border);

    }


    .service:nth-child(2),
    .service:nth-child(3) {

        border-left:
            1px solid var(--border);

    }


    .captacion,
    .locations,
    .properties,
    .about,
    .process,
    .contact {

        padding:
            80px 0;

    }


    .captacion-container,
    .about-container,
    .contact-container {

        gap: 50px;

    }


    .form-row {

        grid-template-columns:
            1fr;

    }


    .captacion-form {

        padding: 20px;

    }


    .location-grid {

        grid-template-columns:
            1fr;

    }


    .location-card {

        min-height: 250px;

    }


    .property-grid {

        grid-template-columns:
            1fr;

    }


    .property-image {

        height: 320px;

    }


    .process-grid {

        grid-template-columns:
            1fr;

    }


    .process-step,
    .process-step:nth-child(3) {

        border-left:
            1px solid var(--border);

        border-right:
            1px solid var(--border);

    }


    .property-filters {

        flex-direction: column;

    }


    .property-filters select {

        width: 100%;

    }


    .location-hero {

        padding:
            145px 0 60px;

    }


    .property-detail {

        padding:
            145px 0 80px;

    }


    .property-main-image {

        height: 380px;

    }


    .property-thumbnails {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .property-thumb {

        height: 100px;

    }


    .gallery-prev,
    .gallery-next {

        width: 42px;

        height: 42px;

        font-size: 26px;

    }


    .property-contact {

        padding: 30px 20px;

    }
    .visit-form-container {
    padding: 25px 20px;
    }

    #visit-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #visit-form > div:nth-child(5) {
        grid-column: auto;
    }

    #visit-form button {
        width: 100%;
    }

    .footer-container {

        width:
            calc(100% - 30px);

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }


    .chat-button {

        right: 15px;

        bottom: 15px;

    }


}
/* =========================================
   AJUSTE DE IMÁGENES DE INMUEBLES
   MANTIENE EL DISEÑO ORIGINAL
========================================= */

.property-main-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
}
/* =========================================
   FORMULARIO SOLICITAR VISITA
========================================= */

.visit-form-container {
    margin-top: 35px;
    padding: 35px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.visit-form-container h3 {
    margin-bottom: 8px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 28px;
    font-weight: 400;
    color: white;
}

.visit-form-container > p {
    margin-bottom: 30px;
    color: #999999;
    font-size: 13px;
}

#visit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#visit-form > div {
    display: flex;
    flex-direction: column;
}

#visit-form > div:nth-child(5) {
    grid-column: 1 / -1;
}

#visit-form label {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#visit-form input,
#visit-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    outline: none;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

#visit-form input::placeholder,
#visit-form textarea::placeholder {
    color: #777777;
}

#visit-form input:focus,
#visit-form textarea:focus {
    border-color: var(--gold);
}

#visit-form textarea {
    min-height: 120px;
    resize: vertical;
}

#visit-form button {
    grid-column: 1 / -1;
    margin-top: 5px;
    border: none;
}
/* =====================================
   AVISO DE COOKIES
====================================== */

.cookie-banner {

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 9999;

    background: #171717;

    border-top: 1px solid rgba(200, 155, 91, 0.45);

    box-shadow:
        0 -10px 30px rgba(0, 0, 0, 0.25);

    padding: 22px 30px;

}


.cookie-content {

    width: min(1200px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.cookie-text {

    max-width: 700px;

}


.cookie-text strong {

    display: block;

    color: #ffffff;

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 400;

    margin-bottom: 8px;

}


.cookie-text p {

    color: #cccccc;

    font-size: 13px;

    line-height: 1.6;

    margin: 0 0 6px;

}


.cookie-text a {

    color: #c89b5b;

    font-size: 12px;

    text-decoration: none;

}


.cookie-text a:hover {

    text-decoration: underline;

}


.cookie-buttons {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}


.cookie-btn {

    border: 1px solid #c89b5b;

    background: transparent;

    color: #ffffff;

    padding: 11px 18px;

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;

    transition: all .3s ease;

}


.cookie-btn:hover {

    background: #c89b5b;

    color: #171717;

}


.cookie-accept {

    background: #c89b5b;

    color: #171717;

}


.cookie-accept:hover {

    background: #ffffff;

    border-color: #ffffff;

}


/* =====================================
   MÓVIL
====================================== */

@media (max-width: 768px) {

    .cookie-banner {

        padding: 20px;

    }


    .cookie-content {

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

    }


    .cookie-buttons {

        display: grid;

        grid-template-columns: 1fr 1fr;

    }


    .cookie-accept {

        grid-column: 1 / -1;

    }

}
/* =====================================
   CONSENTIMIENTO DE PRIVACIDAD
====================================== */

.privacy-consent {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 0;
}

.privacy-consent label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    width: 100%;

    gap: 8px;

    margin: 0;
    padding: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.4;

    text-align: left;

    cursor: pointer;
}

.privacy-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;

    min-width: 14px;

    margin: 1px 0 0 0;
    padding: 0;

    accent-color: #c89b5b;

    cursor: pointer;
}

.privacy-consent span {
    display: block;

    margin: 0;
    padding: 0;
}

.privacy-consent a {
    color: #c89b5b;

    text-decoration: none;
}

.privacy-consent a:hover {
    text-decoration: underline;
}

/* =========================================
   FIN
========================================= */