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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #f5f5f5;
    line-height: 1.6;
}

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

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    gap: 1rem;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo-title {
    font-size: 0.85rem;
}

.logo-subtitle {
    font-size: 0.65rem;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: #fff;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000, #f5c400, #e3202c);
    transition: width 0.25s ease;
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #f5c400, #e3202c);
    color: #000;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    opacity: 0.95;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

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

.btn.full {
    width: 100%;
}

.small-only {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    min-height: 75vh;
    color: #fff;
    display: flex;
    align-items: stretch;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 55%), linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 75vh;
}

.hero-text {
    max-width: 600px;
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: clamp(2.3rem, 3vw + 1rem, 3.2rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.hero-address {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections */

.section {
    padding: 3.5rem 0;
    background: #f5f5f5;
}

.section.alt {
    background: #ffffff;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.section-intro {
    margin-bottom: 1.5rem;
    max-width: 550px;
}

/* Layout helpers */

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.two-columns.reverse {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.card.highlight {
    border-top: 4px solid #f5c400;
    border-image: linear-gradient(90deg, #000, #f5c400, #e3202c) 1;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.5rem;
}

.cards-grid .card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

/* Lists */

.check-list {
    list-style: none;
    margin-top: 0.8rem;
}

.check-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.35rem;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a8f3b;
    font-size: 0.9rem;
}

/* Properties */

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

.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.property-image img {
    width: 100%;
    transition: transform 0.25s ease;
}

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

.property-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.property-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.property-list {
    list-style: disc;
    margin-left: 1.1rem;
    margin-top: 0.3rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.property-price {
    font-weight: 700;
    margin-top: 0.2rem;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
}

.gallery-item {
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    object-fit: cover;
    height: 140px;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    opacity: 0.95;
}

/* Modal */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 200;
}

.modal.open {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.modal-content img {
    width: 100%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

/* Video & Map */

.video-wrapper,
.map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    margin-top: 0.8rem;
}

.video-wrapper iframe,
.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Social */

.social-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link.fb {
    background: #1877f2;
    color: #fff;
}

.social-link.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
}

.social-embeds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.social-frame {
    background: #fff;
    border-radius: 16px;
    padding: 0.4rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.social-frame iframe {
    width: 100%;
    height: 380px;
    border-radius: 12px;
}

/* Contact */

.contact-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

label {
    font-size: 0.9rem;
}

input,
textarea {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #f5c400;
    box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.25);
}

.contact-extra {
    padding-top: 0.5rem;
}

.contact-list {
    list-style: none;
    margin-top: 0.5rem;
}

.contact-list li {
    margin-bottom: 0.45rem;
}

/* Footer */

.site-footer {
    background: #000;
    color: #fff;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.site-footer a {
    color: #f5c400;
}

/* WhatsApp floating */

.whatsapp-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
    z-index: 150;
}

.wa-icon {
    font-size: 1.5rem;
}

/* Fade-in sections */

.fade-section {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
    .two-columns,
    .two-columns.reverse {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

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

    .social-embeds {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content {
        min-height: 60vh;
    }
}

@media (max-width: 720px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
    }

    .small-only {
        display: inline-flex;
    }

    .hero {
        min-height: 65vh;
    }

    .hero-text {
        padding-top: 3.2rem;
    }

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

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

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

    .gallery-item {
        height: 130px;
    }

    .social-frame iframe {
        height: 320px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
