/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #059669;
    --accent: #dc2626;
    --dark: #1f2937;
    --light: #f8fafc;
    --gray: #6b7280;
    --border: #e5e7eb;
    --success: #10b981;
    --whatsapp: #25D366;
    --call: #007bff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating Contact Icons */
.floating-contact-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.floating-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.call-icon {
    background: linear-gradient(135deg, var(--call), #0056b3);
}

.whatsapp-icon {
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-button {
    background: var(--dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.nav-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.2s both;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.btn-whatsapp.large {
    padding: 18px 48px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-align: center;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 2rem;
}

.element-1 { top: 20%; left: 10%; animation-delay: 0s; }
.element-2 { top: 10%; right: 20%; animation-delay: 1s; }
.element-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.element-4 { bottom: 20%; right: 10%; animation-delay: 3s; }

.hero-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.pulse-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 { width: 100px; height: 100px; animation: pulse 3s infinite; }
.circle-2 { width: 150px; height: 150px; animation: pulse 3s infinite 0.5s; }
.circle-3 { width: 200px; height: 200px; animation: pulse 3s infinite 1s; }

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave .shape-fill {
    fill: #FFFFFF;
}

/* Trust Metrics */
.trust-metrics {
    padding: 5rem 0;
    background: white;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.metric-item {
    padding: 2rem 1rem;
    border-radius: 12px;
    background: var(--light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.metric-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.metric-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.metric-item p {
    color: var(--gray);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Stages Section */
.stages-section {
    padding: 6rem 0;
    background: white;
}

.stages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Stages Slider */
.stages-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-card {
    flex: 0 0 100%;
    padding: 4rem 3rem;
    text-align: center;
    background: white;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.stage-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
}

.stage-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.1);
}

.stage-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stage-card p {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 2rem;
    font-weight: 800;
}

.stage-card ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.stage-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--gray);
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.stage-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 2rem;
}

.slider-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Home Experience Section */
.home-experience-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.home-experience-section .container {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-experience-section h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: #2c3e50;
}

.home-experience-section .main-text {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 40px 0 60px;
    color: #34495e;
    line-height: 1.5;
}

.home-experience-section .highlight {
    color: #ff6f31;
    font-weight: 900;
}

.icons-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
}

.dream-home-card, .happy-family-card {
    width: 220px;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dream-home-card {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    animation: float 4s ease-in-out infinite;
}

.happy-family-card {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    animation: float 4s ease-in-out infinite 1s;
}

.dream-home-icon, .happy-family-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.dream-home-icon { color: #ff6f31; }
.happy-family-icon { color: #3498db; }

.dream-home-label, .happy-family-label {
    background: linear-gradient(135deg, #ff6f31, #ff9e7d);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 900;
}

.happy-family-label {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.cta-section-inner {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 70px;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ff6f31;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
}

/* Difference Section */
.difference-section {
    padding: 6rem 0;
    background: var(--light);
}

.comparison-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.tab-btn.active {
    color: var(--primary);
    background: white;
}

.tab-btn.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    margin-top: 1rem;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.comparison-table {
    width: 100%;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.table-header {
    background: var(--primary);
    color: white;
    font-weight: 800;
    border-radius: 10px 10px 0 0;
}

.table-cell.highlight {
    color: var(--success);
    font-weight: 800;
}

.table-cell.highlight::before {
    content: '✓';
    margin-right: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.service-card p {
    color: var(--gray);
}

/* CTA Section */
.cta-section.global-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
}

.cta-section.global-cta h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.cta-section.global-cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary.large {
    padding: 18px 48px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

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

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact-icons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu .nav-button {
        margin-top: 1rem;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
    
    .hero {
        margin-top: 60px;
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stage-card {
        padding: 3rem 2rem;
        min-height: 400px;
    }
    
    .stage-card h3 {
        font-size: 1.5rem;
    }
    
    .slider-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 1rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .table-header, .table-row {
        min-width: 600px;
    }
    
    .home-experience-section h1 {
        font-size: 2rem;
    }
    
    .home-experience-section .main-text {
        font-size: 1.6rem;
    }
    
    .icons-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .cta-section.global-cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .metrics-container {
        grid-template-columns: 1fr;
    }
    
    .floating-elements {
        display: none;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        max-width: 280px;
    }
}
