:root {
    --primary-color: #137fec;
    /* Azul principal suave */
    --secondary-color: #308ce8;
    /* Azul secundario */
    --accent-green: #34d399;
    /* Verde pastel para éxito/botones */
    --accent-yellow: #fbbf24;
    /* Amarillo suave para pendientes */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f3f4f6;
    --bg-card: #ffffff;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
    --font-family: 'Lexend', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================
   COMPONENTS
   ========================================= */

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0f6bd1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: #e0f2fe;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #bae6fd;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* =========================================
   LANDING PAGE (INDEX)
   ========================================= */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Therapies Grid */
.therapies-section {
    padding: 60px 0;
}

.therapies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.therapy-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

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

.therapy-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.therapy-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.therapy-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
        padding: 0;
        margin: 0;
    }

    .nav-links a {
        padding: 5px 0;
        display: inline-block;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

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

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
        font-size: 0.8rem;
    }
}