/* --- Common Styles for TasarMiPiso Landing --- */
/* CSS Variables - CalcularPrecioCasa Theme */
:root {
    --primary: #059669;
    --primary-light: #10b981;
    --primary-medium: #047857;
    --primary-dark: #065f46;
    --error: #f04747;
    --success: #3ca475;
    --warning: #fd9126;
    --info: #07a6fd;
    --base100: #f2f2f2;
    --base200: #d6d6d6;
    --base300: #a6a6a6;
    --base400: #959595;
    --base500: #7a7a7a;
    --base600: #575757;
    --base700: #434343;
    --base800: #333333;
    --base900: #161616;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    margin: 0;
}

/* Base Styles */
.landing {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* FontAwesome Icon Styling */
.solution-icon i {
    color: var(--primary);
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.free-badge i {
    color: #047857;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.faq-icon i {
    color: #64748b;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-open .faq-icon i {
    color: white;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    padding: 16px 0;
    z-index: 1000;
}

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

.nav-brand .logo {
    height: 32px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.nav-link:hover {
    color: #059669;
}

.nav-cta-btn {
    background: #059669;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-cta-btn:hover {
    background: #047857;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background: #059669;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary:hover, .btn-primary-large:hover {
    background: #047857;
}

.btn-secondary-large {
    background: transparent;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary-large:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #666;
    margin: 0;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: #059669;
}

.footer-logo {
        max-height: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 24px;
    }

    /* Adjust logo text size on mobile instead of hiding */
    .logo-text {
        font-size: 16px;
        letter-spacing: -0.02em;
    }

    /* Make navigation more compact on mobile */
    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}
