:root {
    --blue: #106cd8;
    --blue-dark: #0f62c5;
    --blue-section: #0f6dd9;
    --red: #cd0000;
    --red-dark: #b00000;
    --text: #767676;
    --title: #242424;
    --bg: #ffffff;
    --bg-gray: #f7f7f7;
    --border: #e8e8e8;
    --font-title: "Jost", Arial, sans-serif;
    --font-body: "Lato", Arial, sans-serif;
    --container: 1140px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--title);
    line-height: 1.2;
    margin: 0 0 16px;
}

p { margin: 0 0 16px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.eyebrow {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    margin-bottom: 12px;
}

.eyebrow.light { color: rgba(255, 255, 255, 0.85); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}

.btn-white:hover { background: #f0f0f0; color: var(--blue-dark); }

.btn-whatsapp {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    padding: 12px 24px;
}

.btn-whatsapp:hover { background: var(--blue-dark); color: #fff; }

.btn-block { width: 100%; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 24px;
}

.logo img { max-height: 70px; width: auto; }

.main-nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: #333;
}

.mobile-nav a.is-active { color: var(--blue); }

/* Hero */
.hero {
    padding: 80px 0 60px;
    background: #fff url('/assets/images/2021/10/real-estate-bg-top.svg') top left no-repeat;
    background-size: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 24px;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.split-content h2 { font-size: 34px; }

.list-label { font-weight: 700; color: var(--title); }

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* Brand + carousel */
.section-brand { background: #fff; padding-bottom: 100px; }

.brand-center {
    text-align: center;
    max-width: 700px;
    margin-bottom: 40px;
}

.brand-icon { margin: 0 auto 20px; }

.carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto 40px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    padding: 0 20px;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 280px;
}

.carousel-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Info cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid.three { grid-template-columns: repeat(3, 1fr); }

.info-card,
.value-card,
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    transition: 0.25s ease;
}

.info-card:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.info-card:hover h3,
.info-card:hover p { color: #fff; }

.info-card:hover img { filter: brightness(0) invert(1); }

.info-card img { margin-bottom: 16px; }

.info-card h3,
.value-card h3,
.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Highlight */
.section-highlight {
    background: var(--blue-section);
    color: #fff;
    padding: 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 420px;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-content h2,
.highlight-content p { color: #fff; }

/* Process */
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Page hero */
.page-hero {
    background: var(--bg-gray);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 { font-size: 40px; margin-bottom: 8px; }

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-btn {
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 14px;
    transition: 0.2s;
}

.filter-btn:hover,
.filter-btn.is-active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] { display: none !important; }

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-list strong {
    display: block;
    color: var(--title);
    font-family: var(--font-title);
    margin-bottom: 4px;
}

.contact-list a { color: var(--blue); }

.map-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 24px;
}

.map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-form-wrap {
    background: var(--bg-gray);
    padding: 32px;
    border-radius: 8px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--title);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.alert {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

.lead { font-size: 18px; color: var(--title); }

/* Footer */
.site-footer {
    background: var(--blue-section);
    color: #fff;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding: 50px 20px 30px;
}

.footer-logo { max-height: 70px; margin-bottom: 16px; filter: brightness(0) invert(1); }

.footer-col h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li { margin-bottom: 10px; }

.footer-list a { color: rgba(255, 255, 255, 0.9); }
.footer-list a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 99;
    transition: transform 0.25s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .split-grid,
    .highlight-grid,
    .contact-grid,
    .cards-grid,
    .cards-grid.three,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); }

    .highlight-content { padding: 40px 20px; }

    .carousel-slide { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 768px) {
    .main-nav,
    .header-inner > .btn-whatsapp { display: none; }

    .menu-toggle { display: block; }

    .mobile-nav.is-open {
        display: flex;
    }

    .two-cols,
    .steps-grid,
    .form-row,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero { padding-top: 40px; background-size: 50%; }

    .section { padding: 60px 0; }

    .carousel-slide { flex: 0 0 85%; }
}
