@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #090B0E;
    --bg-secondary: #0F1218;
    --bg-card: #13171F;
    --bg-header: rgba(9, 11, 14, 0.8);
    --accent-gold: #E2A52C;
    --accent-gold-hover: #F2BA49;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C1CC;
    --text-muted: #7E8794;
    --border-color: rgba(226, 165, 44, 0.08);
    --border-hover: rgba(226, 165, 44, 0.25);
    --shadow-premium: 0 12px 40px -15px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(226, 165, 44, 0.03);

    /* Typography */
    --font-titles: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Spacing */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1140px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.75;
    overflow-x: hidden;
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
    padding: 8.5rem 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

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

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

/* Titles & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0.6rem auto 0 auto;
    border-radius: 1px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 4.5rem auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-titles);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000000;
    border: 1px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    box-shadow: 0 4px 15px rgba(226, 165, 44, 0.25);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(226, 165, 44, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}


/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 58px;
    background: rgba(9, 11, 14, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.logo-svg {
    height: 38px;
    width: auto;
    transition: var(--transition-smooth);
}

header.scrolled .logo-svg {
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}


/* Footer Section */
footer {
    background-color: #05070A;
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2rem 0;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
    margin-bottom: 2.5rem;
}

.footer-logo-col p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 260px;
    line-height: 1.5;
}

.footer-logo-col .logo-svg {
    height: 42px;
}

.footer-col-title {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
}

.footer-col-title::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--accent-gold);
    margin-top: 0.4rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 3px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-contact li svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 15px;
    height: 15px;
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    border: 2px solid var(--accent-gold);
    animation: pulseGlow 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 165, 44, 0.5), 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(226, 165, 44, 0), 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(226, 165, 44, 0), 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Premium Card Effects */
.card-premium {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.card-premium:hover::before {
    transform: scaleX(1);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .burger-menu {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 99;
    }
    .nav-menu.open {
        left: 0;
    }
    .header-cta {
        display: none;
    }
    .section-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Planimetry & Blueprint Switcher */
.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.plan-tab-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-titles);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-tab-btn.active, .plan-tab-btn:hover {
    background-color: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(226, 165, 44, 0.25);
}

.plan-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.plan-panel.active {
    display: block;
}

.blueprint-grid {
    background-color: #080A0F;
    border: 2px dashed rgba(226, 165, 44, 0.25);
    border-radius: 8px;
    padding: 2.5rem;
    display: grid;
    gap: 1.25rem;
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.blueprint-grid::before {
    content: 'PLANO ARQUITECTÓNICO TÉCNICO - LOS MOLLES 2333';
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: var(--font-titles);
    font-size: 0.7rem;
    color: rgba(226, 165, 44, 0.4);
    letter-spacing: 1px;
    font-weight: 500;
}

.blueprint-room {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(21, 26, 34, 0.5);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    transition: var(--transition-smooth);
}

.blueprint-room.interactive {
    cursor: pointer;
    border: 1.5px solid rgba(226, 165, 44, 0.15);
}

.blueprint-room.interactive:hover {
    border-color: var(--accent-gold);
    background-color: rgba(226, 165, 44, 0.05);
    box-shadow: 0 0 15px rgba(226, 165, 44, 0.1);
}

.blueprint-room-title {
    font-family: var(--font-titles);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.blueprint-room-size {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.blueprint-room-beds {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .blueprint-grid {
        padding: 1.5rem;
    }
}

/* Gallery Filters & Grid */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filters .filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.25rem;
    font-family: var(--font-titles);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-filters .filter-btn.active, .gallery-filters .filter-btn:hover {
    background-color: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(226, 165, 44, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(226, 165, 44, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 14, 20, 0.95) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-info {
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-titles);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.gallery-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 0.15rem;
}

/* Contact Info & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 6px;
    box-shadow: var(--shadow-premium);
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list li svg {
    color: var(--accent-gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-list h5 {
    font-family: var(--font-titles);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-info-list p, .contact-info-list a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info-list a:hover {
    color: var(--accent-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-titles);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background-color: #080a0f;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(226, 165, 44, 0.15);
    background-color: rgba(226, 165, 44, 0.02);
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Premium Split Card Layout */
.premium-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: stretch;
    margin-bottom: 8.5rem;
}

.premium-split.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.premium-split-image {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    min-height: 350px;
}

.premium-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-split-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .premium-split, .premium-split.reverse {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-bottom: 3.5rem;
    }
    
    .premium-split-image {
        min-height: 260px;
        order: 2; /* Force image below text on mobile */
    }
    
    .premium-split.reverse .premium-split-image {
        order: 2;
    }
}

/* Client Brands Section */
.brands-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.brands-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.brands-title span {
    color: var(--accent-gold);
    font-weight: 600;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 2.2rem;
}

.brand-logo-container {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.55;
    transition: var(--transition-smooth);
}

.brand-logo-container svg {
    height: 100%;
    width: auto;
}

.brand-logo-container:hover {
    color: var(--text-primary);
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (min-width: 992px) {
    .brands-grid {
        flex-wrap: nowrap;
        gap: 0 2.5rem;
    }
}

@media (max-width: 768px) {
    .brands-grid {
        gap: 1.5rem 1.8rem;
    }
    .brand-logo-container {
        height: 26px;
    }
}






