/* Paleta de colores basada en el logo */
:root {
    --dark-blue: #2c3e50;
    --main-blue: #3498db;
    --light-blue: #ebf5fb;
    --accent: #2ecc71;
    --white: #ffffff;
    --gray: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
}

.logo span { color: var(--main-blue); }

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-blue);
    margin: 0 1rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu li a:hover { color: var(--main-blue); }

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: var(--light-blue);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight { color: var(--main-blue); }

.hero-btns {
    margin-top: 2rem;
}

.btn-primary {
    background: var(--main-blue);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary {
    margin-left: 1rem;
    color: var(--main-blue);
    text-decoration: underline;
    font-weight: bold;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--main-blue);
}

/* Sections */
.section { padding: 8rem 0; }
.bg-alt { background: #fdfdfd; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tag {
    background: var(--light-blue);
    color: var(--main-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Cards de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
}

/* Psicolog¨Şa Flex */
.psychology-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.psychology-content, .psychology-img { flex: 1; }

.psychology-img img {
    width: 100%;
    border-radius: 15px;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i { color: var(--accent); margin-right: 10px; }

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.course-img img { width: 100%; height: 200px; object-fit: cover; }
.course-body { padding: 1.5rem; }

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.socials { margin-top: 2rem; font-size: 1.5rem; }
.socials a { color: white; margin: 0 1rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid, .psychology-flex, .services-grid, .course-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}