:root
{
    --hs-navy: #0D1B2A;
    --hs-gold: #C9A84C;
    --hs-cream: #F7F4EF;
    --hs-soft: #E5E7EB;
    --hs-white: #FFFFFF;
    --hs-text: #18212F;
    --hs-muted: #6F7480;
    --hs-font-serif: 'Playfair Display', Georgia, serif;
    --hs-font-sans: 'Poppins', Arial, sans-serif;
    --hs-max-width: 1200px;
}

*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    font-family: var(--hs-font-sans);
    color: var(--hs-text);
    background: var(--hs-cream);
}

h1,
h2,
h3,
h4
{
    font-family: var(--hs-font-serif);
    margin: 0 0 1rem;
}

a:not(.hs-wa-float),
a:not(.hs-wa-float):hover,
a:not(.hs-wa-float):focus,
a:not(.hs-wa-float):active,
a:not(.hs-wa-float):visited
{
    text-decoration: none !important;
}

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

.hs-header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--hs-white);
    box-shadow: 0 10px 30px rgba(13,27,42,0.08);
}

.hs-topbar
{
    background: var(--hs-navy);
    color: rgba(255,255,255,0.78);
    font-size: 0.72rem;
}

.hs-topbar-inner
{
    max-width: var(--hs-max-width);
    margin: 0 auto;
    padding: 0.45rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hs-topbar-contact,
.hs-topbar-social
{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hs-topbar-social a
{
    color: rgba(255,255,255,0.78);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.hs-header-inner
{
    max-width: var(--hs-max-width);
    height: 74px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hs-logo
{
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hs-logo svg
{
    width: 34px;
    height: 34px;
}

.hs-logo-text
{
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.hs-logo-name
{
    color: var(--hs-navy);
    font-family: var(--hs-font-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
}

.hs-logo-sub
{
    margin-top: 0.28rem;
    color: var(--hs-gold);
    font-size: 0.54rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.hs-nav,
.hs-nav-menu,
.hs-nav ul
{
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hs-nav li
{
    list-style: none;
}

.hs-nav a,
.hs-nav-menu a
{
    display: inline-block;
    padding: 0.7rem 0.8rem;
    color: var(--hs-text);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-nav a:hover,
.hs-nav-menu a:hover
{
    color: var(--hs-gold);
}

.hs-nav-contact
{
    margin-left: 1rem;
}

.hs-nav-contact a
{
    background: var(--hs-gold);
    color: var(--hs-white) !important;
    padding: 0.75rem 1.35rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.hs-nav-contact a:hover
{
    color: var(--hs-white) !important;
    background: #b99536;
}

.hs-burger
{
    display: none;
    background: transparent;
    border: 0;
    gap: 5px;
    flex-direction: column;
}

.hs-burger span
{
    width: 24px;
    height: 2px;
    background: var(--hs-navy);
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hs-burger.active span:nth-child(1)
{
    transform: translateY(7px) rotate(45deg);
}

.hs-burger.active span:nth-child(2)
{
    opacity: 0;
}

.hs-burger.active span:nth-child(3)
{
    transform: translateY(-7px) rotate(-45deg);
}

body.hs-menu-open
{
    overflow: hidden;
}

.hs-hero
{
    background: var(--hs-navy);
}

.hs-hero-filter
{
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: -38px;
    transform: translateX(-50%);
    width: min(940px, calc(100% - 3rem));
    background: var(--hs-white);
    box-shadow: 0 20px 45px rgba(13,27,42,0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr) 110px;
    align-items: stretch;
}

.hs-hero-filter div
{
    padding: 1rem 1.25rem;
    border-right: 1px solid #ECECEC;
}

.hs-hero-filter label
{
    display: block;
    color: var(--hs-muted);
    font-size: 0.62rem;
    margin-bottom: 0.35rem;
}

.hs-hero-filter span
{
    color: var(--hs-text);
    font-size: 0.74rem;
    font-weight: 600;
}

.hs-hero-filter button
{
    border: 0;
    background: var(--hs-navy);
    color: var(--hs-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

#propiedades
{
    padding-top: 6.5rem !important;
}

#propiedades > div > div:nth-child(2) > div
{
    border-radius: 0 !important;
    box-shadow: 0 12px 30px rgba(13,27,42,0.08) !important;
}

#servicios
{
    background: var(--hs-white) !important;
}

#servicios > div > div:nth-child(2) > div
{
    background: var(--hs-white);
    box-shadow: 0 12px 32px rgba(13,27,42,0.06);
}

.hs-footer
{
    background: var(--hs-navy);
    color: var(--hs-white);
}

.hs-footer-top
{
    max-width: var(--hs-max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 3rem;
}

.hs-footer .hs-logo-name
{
    color: var(--hs-white);
}

.hs-footer-brand p,
.hs-footer-contact-item,
.hs-footer-col a,
.hs-footer-bottom p,
.hs-footer-bottom a
{
    color: rgba(255,255,255,0.62);
}

.hs-footer-col h4
{
    color: var(--hs-white);
    font-family: var(--hs-font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hs-footer-col ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.hs-footer-col li
{
    margin-bottom: 0.7rem;
}

.hs-footer-socials
{
    display: flex;
    gap: 0.75rem;
}

.hs-footer-socials a
{
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
}

.hs-footer-socials svg
{
    width: 16px;
    height: 16px;
}

.hs-footer-socials a:hover
{
    background: var(--hs-gold);
    color: var(--hs-white);
}

.hs-footer-bottom
{
    max-width: var(--hs-max-width);
    margin: 0 auto;
    padding: 1.4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
}

.hs-footer-bottom-links
{
    display: flex;
    gap: 1.25rem;
}

@media (max-width: 900px)
{
    .hs-topbar
    {
        display: none;
    }

    .hs-header-inner
    {
        height: 78px;
    }

    .hs-header-inner
    {
        gap: 0.65rem;
        padding: 0 1rem;
    }

    .hs-nav
    {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        display: flex;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 1.25rem 1.5rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--hs-soft);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .hs-nav.hs-nav-open
    {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .hs-nav-menu,
    .hs-nav ul
    {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .hs-nav li
    {
        width: 100%;
        border-bottom: 1px solid var(--hs-soft);
    }

    .hs-nav li:last-child
    {
        border-bottom: none;
    }

    .hs-nav a,
    .hs-nav-menu a
    {
        display: block;
        width: 100%;
        padding: 1rem 0;
        font-size: 0.88rem;
        letter-spacing: 0.1em;
        box-sizing: border-box;
    }

    .hs-nav-contact
    {
        display: block;
        width: 100%;
        margin: 1rem 0 0;
        padding-top: 0.5rem;
        border-top: 1px solid var(--hs-soft);
        border-bottom: none;
    }

    .hs-nav-contact a
    {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.9rem 1rem;
    }

    .hs-burger
    {
        display: flex;
        position: relative;
        z-index: 1000;
        flex-shrink: 0;
    }

    .hs-hero
    {
        margin-top: 78px !important;
    }

    .hs-hero-filter
    {
        position: relative;
        bottom: auto;
        margin: -60px auto 0;
        grid-template-columns: 1fr;
        transform: none;
        left: auto;
    }

    .hs-hero-filter div
    {
        border-right: 0;
        border-bottom: 1px solid #ECECEC;
    }

    .hs-hero-filter button
    {
        padding: 1rem;
    }

    .hs-footer-top
    {
        grid-template-columns: 1fr;
    }

    .hs-footer-bottom
    {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 900px)
{
    section div[style*="grid-template-columns:repeat(3"],
    section div[style*="grid-template-columns:1.2fr 1fr 1fr"],
    section div[style*="grid-template-columns:1.2fr 2fr"],
    section div[style*="grid-template-columns:1.1fr 1.9fr"]
    {
        grid-template-columns: 1fr !important;
    }

    section div[style*="grid-template-columns:repeat(4"]
    {
        grid-template-columns: 1fr 1fr !important;
    }

    section div[style*="display:flex;justify-content:space-between"]
    {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 560px)
{
    section div[style*="grid-template-columns:repeat(4"]
    {
        grid-template-columns: 1fr !important;
    }
}

/* Internal pages */
.hs-inner-page
{
    padding-top: 112px;
    background: #F7F4EF;
}

.hs-page-hero
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.hs-page-hero-centered
{
    text-align: center;
    max-width: 820px;
}

.hs-page-hero-split
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hs-page-hero img
{
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.hs-kicker
{
    color: #C9A84C;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hs-page-hero h1,
.hs-contact-info h1
{
    color: #0D1B2A;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
}

.hs-page-hero p,
.hs-contact-info p,
.hs-inner-section p
{
    color: #6F7480;
    font-size: 1rem;
    line-height: 1.8;
}

.hs-inner-section
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hs-two-col
{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
}

.hs-panel-card
{
    background: #0D1B2A;
    color: #fff;
    padding: 2.5rem;
}

.hs-panel-card ul
{
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
}

.hs-values-strip
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hs-values-strip div
{
    background: #fff;
    padding: 2rem;
}

.hs-values-strip strong,
.hs-values-strip span
{
    display: block;
}

.hs-values-strip strong
{
    color: #0D1B2A;
    font-family: var(--hs-font-serif);
    font-size: 1.3rem;
}

.hs-values-strip span
{
    color: #6F7480;
    margin-top: 0.6rem;
}

.hs-service-mosaic
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.hs-service-mosaic article
{
    background: #fff;
    padding: 2.5rem;
    border-top: 4px solid #C9A84C;
}

.hs-service-mosaic span
{
    color: #C9A84C;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hs-service-mosaic h2
{
    color: #0D1B2A;
    margin-top: 1rem;
}

.hs-service-mosaic p
{
    color: #6F7480;
    line-height: 1.8;
}

.hs-property-grid-full
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.hs-property-grid-full article
{
    background: #fff;
}

.hs-property-grid-full img
{
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.hs-property-grid-full article div
{
    padding: 1.4rem;
}

.hs-property-grid-full span
{
    color: #C9A84C;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hs-property-grid-full h2
{
    color: #0D1B2A;
    font-size: 1.18rem;
    margin-top: 0.6rem;
}

.hs-property-grid-full p
{
    color: #6F7480;
}

.hs-property-grid-full strong
{
    color: #C9A84C;
    font-size: 1.1rem;
}

.hs-contact-layout
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.hs-office-card
{
    background: #fff;
    padding: 1.4rem;
    margin-bottom: 1rem;
}

.hs-contact-form
{
    background: #fff;
    padding: 2.5rem;
    display: grid;
    gap: 1rem;
}

.hs-contact-form label
{
    display: grid;
    gap: 0.4rem;
    color: #0D1B2A;
    font-weight: 600;
    font-size: 0.85rem;
}

.hs-contact-form input,
.hs-contact-form textarea
{
    border: 1px solid #E5E7EB;
    padding: 0.9rem 1rem;
    font: inherit;
}

.hs-contact-form button
{
    border: 0;
    background: #C9A84C;
    color: #fff;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.hs-contact-intro
{
    margin-bottom: 1.5rem;
}

.hs-contact-intro-title
{
    font-family: var(--hs-font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--hs-navy);
    margin: 0.35rem 0 0.75rem;
}

.hs-contact-intro-text
{
    margin: 0;
    color: var(--hs-muted);
    line-height: 1.7;
}

.hs-contact-cards
{
    display: grid;
    gap: 1rem;
}

.hs-contact-card
{
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--hs-white);
    border: 1px solid var(--hs-soft);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hs-contact-card:hover
{
    border-color: var(--hs-gold);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
}

.hs-contact-card-icon
{
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    color: var(--hs-gold);
}

.hs-contact-card-title
{
    font-size: 1rem;
    color: var(--hs-navy);
    margin: 0 0 0.25rem;
}

.hs-contact-card-hint
{
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: var(--hs-muted);
}

.hs-contact-card-value
{
    font-weight: 600;
    color: var(--hs-gold);
}

.hs-contact-card-value:hover
{
    color: var(--hs-navy);
}

.hs-contact-notice--error
{
    padding: 1rem;
    background: rgba(220, 60, 60, 0.08);
    border: 1px solid rgba(220, 60, 60, 0.3);
    color: #a33;
    border-radius: 8px;
}

form.wpcf7-form.hs-contact-form
{
    background: var(--hs-white);
    border: 1px solid var(--hs-soft);
    border-radius: 12px;
    padding: 2.2rem;
    display: grid;
    gap: 1rem;
    margin: 0;
}

form.wpcf7-form.hs-contact-form label
{
    display: grid;
    gap: 0.4rem;
    color: var(--hs-navy);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
}

form.wpcf7-form.hs-contact-form .wpcf7-form-control-wrap
{
    display: block;
}

form.wpcf7-form.hs-contact-form br
{
    display: none;
}

form.wpcf7-form.hs-contact-form .wpcf7-form-control,
form.wpcf7-form.hs-contact-form input:not([type="hidden"]):not([type="submit"]),
form.wpcf7-form.hs-contact-form textarea
{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--hs-soft);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font: inherit;
    margin: 0;
}

form.wpcf7-form.hs-contact-form textarea
{
    min-height: 130px;
    resize: vertical;
}

form.wpcf7-form.hs-contact-form .wpcf7-form-control:focus,
form.wpcf7-form.hs-contact-form input:focus,
form.wpcf7-form.hs-contact-form textarea:focus
{
    border-color: var(--hs-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

form.wpcf7-form.hs-contact-form .wpcf7-submit
{
    width: auto;
    justify-self: start;
    cursor: pointer;
    border: 0;
    background: var(--hs-gold);
    color: var(--hs-white);
    padding: 0.85rem 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-radius: 4px;
}

form.wpcf7-form.hs-contact-form .wpcf7-turnstile
{
    margin: 0.25rem 0 0.5rem;
}

form.wpcf7-form.hs-contact-form .wpcf7-response-output
{
    margin: 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

form.wpcf7-form.hs-contact-form.sent .wpcf7-response-output
{
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--hs-navy);
}

form.wpcf7-form.hs-contact-form.failed .wpcf7-response-output,
form.wpcf7-form.hs-contact-form.invalid .wpcf7-response-output,
form.wpcf7-form.hs-contact-form.spam .wpcf7-response-output
{
    background: rgba(220, 60, 60, 0.08);
    border: 1px solid rgba(220, 60, 60, 0.3);
    color: #a33;
}

form.wpcf7-form.hs-contact-form .wpcf7-not-valid-tip
{
    color: #c44;
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

/* Signature footer */
.hs-footer,
.hs-footer-top,
.hs-footer-bottom
{
    display: none !important;
}

.hs-signature-footer
{
    background: #0D1B2A;
    color: #fff;
    padding: 4.5rem 2rem 1.5rem;
}

.hs-footer-statement,
.hs-footer-directory,
.hs-footer-legal
{
    max-width: 1200px;
    margin: 0 auto;
}

.hs-footer-statement
{
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: end;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hs-footer-statement h2
{
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.2;
    margin: 0;
}

.hs-footer-directory
{
    padding: 2.5rem 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.hs-footer-directory span
{
    display: block;
    color: #C9A84C;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hs-footer-directory p,
.hs-footer-directory a,
.hs-footer-directory li a
{
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1.8;
}

.hs-footer-directory ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-footer-legal
{
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.42);
    font-size: 0.82rem;
}

@media (max-width: 900px)
{
    .hs-page-hero-split,
    .hs-two-col,
    .hs-service-mosaic,
    .hs-property-grid-full,
    .hs-contact-layout,
    .hs-footer-statement,
    .hs-footer-directory
    {
        grid-template-columns: 1fr;
    }

    .hs-values-strip
    {
        grid-template-columns: 1fr;
    }

    .hs-footer-legal
    {
        flex-direction: column;
        gap: 0.5rem;
    }
}
