/* ENFOCAKIDS — Landing Page Styles */
/*
Palette (Kid-Friendly):
GRASS  #2BB39B  |  SKY    #82B3E1
CANDY  #F5B5CC  |  CRAYON #EB5E5A
SUN    #FBB92A  |  STAR   #FAF5EE
*/
/* Fonts: Outfit (headings), Nunito (body) */

/* ---------- CSS Variables ---------- */
:root {
    --grass: #2BB39B;
    --sky: #82B3E1;
    --candy: #F5B5CC;
    --crayon: #EB5E5A;
    --sun: #FBB92A;
    --star: #FAF5EE;
    --primary: #2BB39B;
    --secondary: #82B3E1;
    --deep-green: #1E8A73;
    --light-mint: #D4F0EA;
    --bg-light: #FFF5F0;
    --neutral-cream: #FAF5EE;
    --soft-sky: #D6E6F7;
    --white: #ffffff;
    --text-dark: #2D3436;
    --text-muted: #636E72;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 20px rgba(43, 179, 155, 0.10);
    --shadow-hover: 0 8px 32px rgba(43, 179, 155, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--neutral-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--deep-green);
    line-height: 1.25;
}

p { color: var(--text-muted); margin-bottom: 1rem; }
a { transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ---------- Utility ---------- */
.section-padding { padding: 50px 0; }

.section-title {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--deep-green);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--grass), var(--sun));
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-subtitle {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ============================
   HEADER / NAVBAR
   ============================ */
.navbar-enfocakids {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(43,179,155,0.08);
    padding: 10px 0;
    transition: var(--transition);
    z-index: 1050;
}
.navbar-enfocakids.scrolled {
    box-shadow: 0 2px 20px rgba(43,179,155,0.12);
}

.navbar-enfocakids .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--grass);
    letter-spacing: 0.03em;
}
.navbar-enfocakids .navbar-brand span { color: var(--sun); }

.navbar-enfocakids .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.navbar-enfocakids .nav-link:hover,
.navbar-enfocakids .nav-link.active {
    color: var(--grass);
    background: rgba(43,179,155,0.06);
}
.navbar-enfocakids .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--grass);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.navbar-enfocakids .nav-link:hover::after { width: 50%; }

.btn-cta {
    background: var(--grass);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 24px !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(43,179,155,0.25);
    transition: var(--transition);
}
.btn-cta:hover {
    background: var(--sun);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(251,185,42,0.35);
    color: var(--white) !important;
}

.navbar-toggler {
    border: 1px solid rgba(43,179,155,0.2);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(43,179,155,0.15); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232BB39B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* HERO */
.hero-section {
    background: linear-gradient(140deg, var(--star) 0%, var(--light-mint) 40%, var(--soft-sky) 100%);
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251,185,42,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -15%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,181,204,0.10) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}
.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-green);
    margin-bottom: 16px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, var(--sun), var(--crayon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content .lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.hero-buttons .btn {
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
    max-width: 280px;
}
.hero-buttons .btn-primary {
    background: var(--grass);
    border-color: var(--grass);
    box-shadow: 0 4px 20px rgba(43,179,155,0.3);
}
.hero-buttons .btn-primary:hover {
    background: var(--sun);
    border-color: var(--sun);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(251,185,42,0.35);
}
.hero-buttons .btn-outline-primary {
    color: var(--grass);
    border: 2px solid var(--grass);
    background: transparent;
}
.hero-buttons .btn-outline-primary:hover {
    background: var(--grass);
    color: var(--white);
    transform: translateY(-3px);
}

/* ¿QUÉ ES? */
.que-es-section { background: var(--white); }

.que-es-text h2 { font-size: 1.6rem; margin-bottom: 20px; }
.que-es-text p { font-size: 0.95rem; line-height: 1.75; text-align: justify; hyphens: auto; }

.info-article {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(251,185,42,0.15);
    text-align: center;
}
.info-article .info-icon { font-size: 1.8rem; color: var(--sun); flex-shrink: 0; line-height: 1; }
.info-article p { margin: 0; font-size: 0.9rem; font-style: italic; color: var(--text-muted); line-height: 1.7; }

/* Feature Cards */
.feature-card {
    background: var(--white);
    border: 1px solid rgba(43,179,155,0.08);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sky);
}
.feature-card .card-header-inline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.feature-card .card-icon-wrapper {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, var(--light-mint), var(--soft-sky));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--grass);
    transition: var(--transition);
}
.feature-card:hover .card-icon-wrapper { background: linear-gradient(135deg, var(--grass), var(--sky)); color: var(--white); }
.feature-card h4 { font-size: 0.95rem; margin: 0; color: var(--deep-green); line-height: 1.3; }
.feature-card p { font-size: 0.85rem; margin: 0; color: var(--text-muted); line-height: 1.6; text-align: justify; }

/* CAROUSEL */
.carousel-section { background: var(--bg-light); }

.carousel-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(43,179,155,0.10);
    border: 1px solid rgba(43,179,155,0.08);
    max-width: 900px;
    margin: 0 auto;
}
.carousel-wrapper .carousel-item { position: relative; }
.carousel-wrapper .carousel-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.carousel-wrapper .carousel-control-prev,
.carousel-wrapper .carousel-control-next { display: none !important; }
.carousel-wrapper .carousel-indicators { bottom: 12px; margin-bottom: 0; }
.carousel-wrapper .carousel-indicators [data-bs-target] {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5); border: none;
    margin: 0 4px; transition: var(--transition);
}
.carousel-wrapper .carousel-indicators .active { background: var(--sun); width: 24px; border-radius: 4px; }

.slide-overlay-text {
    position: static;
    max-width: 100%;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 0;
    box-shadow: none;
}
.slide-overlay-text h5 { font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--deep-green); margin-bottom: 2px; }
.slide-overlay-text p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.carousel-placeholder {
    width: 100%; height: 240px;
    background: linear-gradient(135deg, var(--light-mint), var(--soft-sky), var(--candy));
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px; color: var(--grass);
    overflow: hidden;
}
.carousel-placeholder img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.carousel-placeholder i { font-size: 2.5rem; opacity: 0.4; }
.carousel-placeholder span { font-size: 0.88rem; opacity: 0.5; font-family: 'Outfit', sans-serif; }

/* TEAM */
.team-section { background: var(--white); }

.team-grid-custom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 340px;
    margin: 0 auto;
}
.team-card-v2 {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(43,179,155,0.06);
}
.team-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-card-v2 .card-photo { width: 100%; height: 240px; object-fit: cover; object-position: top center; display: block; background: var(--bg-light); }
.team-card-v2 .card-info { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; background: var(--white); }
.team-card-v2 .card-info .info-text h5 { font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin: 0 0 2px 0; line-height: 1.3; }
.team-card-v2 .card-info .info-text span { font-size: 0.78rem; color: var(--text-muted); }
.team-card-v2 .card-info .info-badge {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--grass); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; flex-shrink: 0; transition: var(--transition);
}
.team-card-v2:hover .card-info .info-badge { background: var(--sky); transform: scale(1.05); }
.team-card-v2.is-advisor .card-info .info-badge { background: var(--crayon); }
.team-card-v2.is-advisor:hover .card-info .info-badge { background: #D94E4A; }
.team-description { max-width: 800px; margin: 36px auto 0; text-align: justify; font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }

/* PROJECT INFO */
.project-section { background: var(--bg-light); }
.info-block {
    background: var(--white); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
    border: 1px solid rgba(43,179,155,0.06); transition: var(--transition);
    height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.info-block:hover { box-shadow: var(--shadow-hover); }
.info-block .block-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.info-block .block-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, var(--light-mint), var(--soft-sky));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--grass);
}
.info-block h3 { font-size: 1.1rem; margin: 0; color: var(--deep-green); }
.info-block p { font-size: 0.88rem; line-height: 1.7; margin: 0; text-align: justify; }
.info-block-alt { background: var(--neutral-cream); }

/* VISION */
.vision-section {
    background: linear-gradient(135deg, var(--grass) 0%, var(--sky) 100%);
    position: relative; overflow: hidden;
}
.vision-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: rgba(251,185,42,0.06); border-radius: 50%; }
.vision-section::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 200px; height: 200px; background: rgba(245,181,204,0.05); border-radius: 50%; }
.vision-section .section-title { color: var(--white); }
.vision-section .section-title::after { background: linear-gradient(90deg, var(--sun), rgba(255,255,255,0.2)); }
.vision-section .section-subtitle { color: rgba(255,255,255,0.85); }

.vision-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px; margin-bottom: 16px; padding: 18px 20px;
    background: rgba(255,255,255,0.10); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.12); transition: var(--transition);
}
.vision-item:hover { background: rgba(255,255,255,0.18); }
.vision-item .vision-icon {
    width: 40px; height: 40px; min-width: 40px; flex-shrink: 0;
    background: rgba(255,255,255,0.15); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--white);
}
.vision-item h5 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.vision-item p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }

/* FOOTER */
.footer-enfocakids { background: #2D3436; padding: 40px 0 24px; text-align: center; }
.footer-logo {
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.6rem;
    color: var(--white); letter-spacing: 0.03em; margin-bottom: 8px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.footer-logo span { color: var(--sun); }
.footer-socials {
    display: flex; justify-content: center; gap: 14px; margin-bottom: 24px;
}
.footer-socials a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border-radius: 50%;
    color: rgba(255,255,255,0.7); font-size: 1.1rem;
    transition: var(--transition); border: 1px solid rgba(255,255,255,0.1);
}
.footer-socials a:hover {
    background: var(--grass); color: var(--white);
    transform: translateY(-4px); box-shadow: 0 4px 16px rgba(43,179,155,0.4);
    border-color: var(--grass);
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }

/* RESPONSIVE */

/* >= 576px */
@media (min-width: 576px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content .lead { font-size: 1.05rem; }
    .hero-buttons { flex-direction: row; justify-content: center; }
    .hero-buttons .btn { width: auto; max-width: none; padding: 14px 36px; }
    .section-title { font-size: 1.85rem; }
    .que-es-text h2 { font-size: 1.85rem; }
    .info-article { flex-direction: row; text-align: left; padding: 24px 28px; }
    .carousel-wrapper .carousel-item img, .carousel-placeholder { height: 320px; }
    .slide-overlay-text {
        position: absolute; bottom: 40px; right: 0; max-width: 280px;
        border-radius: var(--radius) 0 0 var(--radius);
        background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .team-grid-custom { grid-template-columns: repeat(2, 1fr); max-width: none; }
    .team-card-v2 .card-photo { height: 260px; }
    .vision-item { flex-direction: row; text-align: left; gap: 18px; }
    .vision-item p { text-align: justify; }
}

/* >= 768px */
@media (min-width: 768px) {
    .section-padding { padding: 70px 0; }
    .hero-section { padding: 140px 0 100px; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content .lead { font-size: 1.15rem; margin-bottom: 36px; }
    .section-title { font-size: 2.1rem; }
    .que-es-text h2 { font-size: 2.1rem; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 50px; }
    .feature-card { padding: 28px 24px; min-height: 180px; }
    .feature-card .card-icon-wrapper { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; font-size: 1.3rem; }
    .feature-card h4 { font-size: 1rem; }
    .carousel-wrapper .carousel-item img, .carousel-placeholder { height: 400px; }
    .carousel-wrapper .carousel-indicators [data-bs-target] { width: 10px; height: 10px; }
    .carousel-wrapper .carousel-indicators .active { width: 28px; }
    .slide-overlay-text { padding: 16px 22px; max-width: 340px; bottom: 44px; }
    .slide-overlay-text h5 { font-size: 0.95rem; }
    .slide-overlay-text p { font-size: 0.82rem; }
    .info-article { padding: 28px 32px; gap: 20px; }
    .info-block { padding: 32px; }
    .info-block .block-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; font-size: 1.3rem; }
    .info-block h3 { font-size: 1.25rem; }
    .info-block p { font-size: 0.92rem; }
    .vision-item { padding: 18px 24px; gap: 20px; margin-bottom: 20px; }
    .vision-item .vision-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; }
    .vision-item h5 { font-size: 1.05rem; }
    .team-card-v2 .card-photo { height: 280px; }
    .team-card-v2 .card-info .info-text h5 { font-size: 0.95rem; }
    .footer-logo { font-size: 1.8rem; }
    .footer-socials a { width: 46px; height: 46px; font-size: 1.2rem; }
    .footer-socials { gap: 20px; margin-bottom: 30px; }
    .footer-enfocakids { padding: 50px 0 30px; }
}

/* >= 992px */
@media (min-width: 992px) {
    .section-padding { padding: 90px 0; }
    .hero-section { padding: 160px 0 120px; }
    .hero-content h1 { font-size: 4rem; margin-bottom: 24px; }
    .hero-content .lead { font-size: 1.25rem; margin-bottom: 40px; line-height: 1.8; }
    .section-title { font-size: 2.5rem; margin-bottom: 20px; }
    .section-title::after { width: 60px; margin-top: 16px; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 60px; }
    .que-es-text h2 { font-size: 2.5rem; margin-bottom: 28px; }
    .que-es-text p { font-size: 1.05rem; line-height: 1.85; }
    .feature-card { height: 200px; padding: 32px 24px; }
    .feature-card h4 { font-size: 1.05rem; }
    .feature-card p { font-size: 0.88rem; }
    .carousel-wrapper { border-radius: var(--radius-lg); }
    .carousel-wrapper .carousel-item img, .carousel-placeholder { height: 480px; }
    .slide-overlay-text { max-width: 380px; padding: 18px 24px; bottom: 50px; }
    .slide-overlay-text h5 { font-size: 1rem; }
    .team-grid-custom { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .team-description { margin-top: 50px; font-size: 1.05rem; line-height: 1.8; }
    .info-block { padding: 40px; }
    .info-block h3 { font-size: 1.3rem; }
    .info-block p { font-size: 0.95rem; line-height: 1.8; }
    .info-article p { font-size: 0.95rem; line-height: 1.75; }
    .navbar-enfocakids .navbar-brand { font-size: 1.6rem; }
    .btn-cta { padding: 10px 28px !important; font-size: 0.95rem; }
    .hero-section::before { width: 800px; height: 800px; }
    .hero-section::after { width: 600px; height: 600px; }
    .vision-section::before { width: 400px; height: 400px; }
    .vision-section::after { width: 300px; height: 300px; }
    .vision-item:hover { transform: translateX(8px); }
    .vision-item { margin-bottom: 24px; }
}

/* ---------- AOS ---------- */
[data-aos] { transition-timing-function: cubic-bezier(0.4,0,0.2,1) !important; }

/* ---------- Scrollbar (hidden) ---------- */
html { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
