/* ==========================================================================
   Círculo Vital Dorado - Premium Light Theme (Aligned with original branding)
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-bg-light: #ffffff;
    --clr-bg-alt: #fbf9f6;
    --clr-brand-gold: #f3a93b;
    --clr-brand-gold-hover: #e09426;
    --clr-text-dark: #2c2c2c;
    --clr-text-muted: #666666;
    --clr-border-light: rgba(0, 0, 0, 0.08);
    --clr-shadow: rgba(0, 0, 0, 0.06);
    
    /* Fonts */
    --ff-primary: 'Outfit', sans-serif;
    --ff-serif: 'Playfair Display', serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 15px 30px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.03);
}

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

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

body {
    background-color: var(--clr-bg-light);
    color: var(--clr-text-dark);
    font-family: var(--ff-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--ff-serif);
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

h2 {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.8rem;
    color: var(--clr-text-dark);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--clr-text-dark);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--clr-text-dark);
}

p {
    font-family: var(--ff-primary);
    font-weight: 300;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-family: var(--ff-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gold {
    background-color: var(--clr-brand-gold);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(243, 169, 59, 0.3);
}

.btn-gold:hover {
    background-color: var(--clr-brand-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 169, 59, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--clr-text-dark);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
}

/* Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-text-dark);
    font-weight: 700;
}

.logo-svg {
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-svg {
    transform: rotate(15deg);
}

.logo-text {
    font-family: var(--ff-primary);
    font-size: 1.25rem;
    text-transform: capitalize;
}

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

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    position: relative;
    padding: 0.4rem 0;
    letter-spacing: 0.5px;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--clr-text-dark);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-text-dark);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Sections General */
section {
    padding: 80px 0;
    position: relative;
}

.title-divider-left {
    width: 50px;
    height: 3px;
    background-color: var(--clr-brand-gold);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    background-image: url('cuidado_hogar.png');
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-lead {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-sublead {
    color: #e6e6e6;
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

/* About Section */
.about-section {
    background-color: var(--clr-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: stretch;
}

.about-desc {
    font-size: 1.15rem;
    line-height: 1.7;
}

.about-pillars {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pillar-card {
    display: flex;
    gap: 1.2rem;
    background-color: var(--clr-bg-alt);
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid var(--clr-border-light);
}

.pillar-card i {
    font-size: 1.8rem;
    color: var(--clr-brand-gold);
    margin-top: 0.2rem;
}

.pillar-card h4 {
    font-family: var(--ff-primary);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.pillar-card p {
    font-size: 0.95rem;
    margin: 0;
}

.vertical-img-container {
    width: 100%;
    max-width: 500px;
    height: 100%;
    min-height: 500px;
    max-height: 650px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    margin: 0 auto;
}

.vertical-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

/* Services Section */
.services-section {
    background-color: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border-light);
    border-bottom: 1px solid var(--clr-border-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: stretch;
}

.service-notice-badge {
    display: inline-block;
    background-color: rgba(243, 169, 59, 0.1);
    border: 1px solid rgba(243, 169, 59, 0.2);
    color: var(--clr-brand-gold-hover);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.service-details-card {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.screenshot-bullet-list {
    list-style: none;
    margin-top: 1rem;
}

.screenshot-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.screenshot-bullet-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--clr-brand-gold);
    font-size: 1.2rem;
    line-height: 1;
}

.modalities-card {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border-light);
    padding: 2rem;
    border-radius: 16px;
}

.modality-list {
    list-style: none;
    margin-top: 1rem;
}

.modality-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.modality-list li strong {
    color: var(--clr-text-dark);
}

.modality-note {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-style: italic;
    margin-top: 1.5rem;
    border-top: 1px solid var(--clr-border-light);
    padding-top: 1rem;
}

.modality-quote {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-brand-gold-hover);
    margin-top: 1rem;
    text-align: center;
}

/* Alianza Inmobiliaria */
.properties-section {
    background-color: var(--clr-bg-light);
    border-bottom: 1px solid var(--clr-border-light);
}

.properties-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-accent {
    display: inline-block;
    color: var(--clr-brand-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.features-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.4rem;
    color: var(--clr-brand-gold);
    background-color: rgba(243, 169, 59, 0.08);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: var(--ff-primary);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

.image-stack-light {
    position: relative;
    width: 380px;
    height: 440px;
    margin: 0 auto;
}

.image-wrapper-light {
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    position: absolute;
    overflow: hidden;
}

.main-img-light {
    width: 330px;
    height: 370px;
    top: 0;
    left: 0;
}

.overlay-img-light {
    width: 220px;
    height: 240px;
    border: 2px solid var(--clr-brand-gold);
    bottom: 0;
    right: -30px;
    z-index: 2;
}

.stack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Investors Section */
.investors-section {
    background-color: var(--clr-bg-alt);
    border-bottom: 1px solid var(--clr-border-light);
}

.investors-container-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-gold {
    display: inline-block;
    color: var(--clr-brand-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-lead-left {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.investor-cards-compact-light {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.investor-metric-card-light {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border-light);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.metric-value-light {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--clr-brand-gold);
    margin-bottom: 0.5rem;
}

.investor-metric-card-light h4 {
    font-family: var(--ff-primary);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.investor-metric-card-light p {
    font-size: 0.85rem;
    margin: 0;
}

.visual-card-wrapper-light {
    width: 100%;
    max-width: 500px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    margin: 0 auto;
}

.investor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section with Banner Background */
.contact-section {
    background-image: url('cohousing_interior.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.contact-form-card-light {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 3.5rem;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.contact-card-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.subtitle-contact {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: var(--clr-text-muted);
}

.contact-motto {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--clr-brand-gold-hover);
    font-weight: 500;
    margin-bottom: 2rem;
}

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--clr-border-light);
    padding-bottom: 0.8rem;
}

.tab-btn {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    padding: 0.6rem 0.5rem;
    font-family: var(--ff-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-align: center;
}

.tab-btn:hover {
    color: var(--clr-text-dark);
    background-color: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: #ffffff;
    background-color: var(--clr-brand-gold);
    box-shadow: 0 4px 15px rgba(243, 169, 59, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-dark);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background-color: var(--clr-bg-alt);
    border: 1px solid var(--clr-border-light);
    border-radius: 8px;
    color: var(--clr-text-dark);
    font-family: var(--ff-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-brand-gold);
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(243, 169, 59, 0.15);
}

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

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}

.form-feedback.success {
    color: #2e7d32;
}

/* Footer (Warm dark background) */
.main-footer {
    background-color: #2b2520;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 40px;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
}

.logo-footer .logo-text {
    font-size: 1.4rem;
}

.footer-contact-info h4 {
    color: var(--clr-brand-gold);
    font-family: var(--ff-primary);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.footer-contact-info p {
    color: #d1c8c2;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact-info i {
    margin-right: 0.5rem;
    color: var(--clr-brand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.footer-legal p {
    margin: 0;
    font-size: 0.85rem;
    color: #bfaea3;
    text-align: center;
}

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

/* Central Contrast CTA Section */
.contrast-cta-section {
    background: linear-gradient(135deg, #2b2520 0%, #1a1512 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contrast-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 169, 59, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.contrast-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contrast-cta-content h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.contrast-cta-content p {
    color: #d1c8c2;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.contrast-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .contrast-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .services-grid, .properties-container, .investors-container-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .vertical-img-container {
        max-width: 100%;
        height: 400px;
        min-height: auto;
    }

    .services-visual {
        order: 2;
    }
    
    .properties-visual, .investors-visual {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
    }

    .visual-card-wrapper-light {
        height: 350px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .image-stack-light {
        width: 280px;
        height: 340px;
    }
    .main-img-light {
        width: 240px;
        height: 280px;
    }
    .overlay-img-light {
        width: 160px;
        height: 180px;
        right: -20px;
    }
    .vertical-img-container {
        height: 320px;
    }
    .visual-card-wrapper-light {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--clr-border-light);
        padding: 2rem;
        display: none;
        box-shadow: var(--shadow-premium);
    }

    .nav-menu.open {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }
    .logo-footer {
        justify-content: center;
    }
}
