/* --- Variables de Color (Crianza Respetuosa) --- */
:root {
    --primary-blue: #A2D2FF;
    --primary-pink: #FFC8DD;
    --primary-yellow: #FFF3B0;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --btn-color: #74b9ff;
    --btn-hover: #0984e3;
    --alert-color: #ff7675;
    --soft-green: #b8e994;
}

/* --- Reset Básico --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fafafa;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }

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

/* --- Header --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-size: 1.4rem; color: var(--btn-hover); margin-bottom: 0; line-height: 1.2; }
.logo span { font-size: 0.85rem; color: var(--text-light); display: block; font-weight: 600; }
.main-header nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
.btn-nav {
    background-color: var(--btn-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-nav:hover { background-color: var(--btn-hover); }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #fff5f8 0%, #f0f8ff 100%);
    padding: 60px 0;
    text-align: center;
}
.badge {
    background-color: var(--soft-green);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #4b6584;
    display: inline-block;
    margin-bottom: 15px;
}
.hero h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-dark); }
.hero-text { font-size: 1.1rem; max-width: 700px; margin: 0 auto 20px auto; }

.university-tag {
    font-weight: 700;
    color: var(--btn-hover);
    font-size: 1rem;
    margin: 10px 0 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--primary-blue);
}
.hero-details { margin: 20px 0; font-weight: 600; color: var(--text-light); }
.hero-details p { margin-bottom: 8px; }

.btn-primary {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
    transition: transform 0.2s;
}
.btn-primary:hover { transform: scale(1.05); }
.cta-subtext { font-size: 0.8rem; color: var(--text-light); margin-top: 10px; }

/* --- Coverage --- */
.coverage-bar {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

/* --- Experiencia --- */
.experience-section {
    padding: 60px 0;
    background-color: white;
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.exp-item {
    text-align: left;
    padding: 20px;
    border-left: 4px solid var(--primary-blue);
    background: #fdfdfd;
}
.exp-icon { font-size: 2rem; color: var(--btn-color); margin-bottom: 15px; }
.exp-item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.exp-item p { font-size: 0.95rem; color: var(--text-light); }

/* --- Servicios --- */
.services { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.subtitle { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; font-style: italic; }
.card-yellow { border-top: 5px solid var(--primary-yellow); }
.card-blue { border-top: 5px solid var(--primary-blue); }
.card-pink { border-top: 5px solid var(--primary-pink); }
.card-star { border: 2px solid var(--primary-yellow); background-color: #fffae6; }

/* --- Educacion (Quiz + Blog) --- */
.education-section { padding: 60px 0; background-color: #eefbfb; }
.quiz-box {
    background-color: white;
    border: 2px solid var(--primary-pink);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    box-shadow: 0 10px 30px rgba(255, 175, 204, 0.2);
}
.quiz-box h3 { color: #e84393; font-size: 1.8rem; margin-bottom: 20px; }
.quiz-list { text-align: left; list-style: none; margin: 20px 0; font-size: 1.1rem; }
.quiz-list li { margin-bottom: 15px; padding-left: 10px; border-left: 4px solid var(--primary-pink); }
.quiz-cta { font-weight: bold; color: var(--text-dark); margin-top: 20px; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.info-card {
    background: white; padding: 25px; border-radius: 15px;
    border: 1px solid #eee; transition: 0.3s;
}
.info-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.icon-header { font-size: 2rem; color: var(--primary-pink); margin-bottom: 15px; }
.info-card h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark); }
.info-card p { font-size: 0.95rem; color: var(--text-light); }

/* --- Sobre Mí --- */
.about { padding: 60px 0; background-color: white; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.profile-photo {
    width: 100%; max-width: 350px; height: auto;
    border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: block; margin: 0 auto; object-fit: cover;
}

/* --- Contacto & Footer --- */
.contact { padding: 60px 0; text-align: center; background: #f0f8ff; }
.contact-options { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.contact-box {
    background: white; padding: 20px; border-radius: 15px;
    min-width: 200px; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.whatsapp-box i { color: #25D366; font-size: 2rem; margin-bottom: 10px; }
.email-box i { color: var(--btn-color); font-size: 2rem; margin-bottom: 10px; }

footer { background-color: var(--text-dark); color: var(--white); text-align: center; padding: 30px 0; }
.legal { margin-top: 10px; color: #b2bec3; font-size: 0.8rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .logo h1 { font-size: 1.2rem; }
    .hero h2 { font-size: 2rem; }
    .about-container { grid-template-columns: 1fr; }
    .contact-options { flex-direction: column; }
    .quiz-box { padding: 20px; }
}
