/* --- VARIABLES Y RESET --- */
:root {--primary-dark: #0f172a; /* Azul oscuro principal */--primary-light: #1e293b;--accent: #06b6d4; /* Cian/Turquesa vibrante */--accent-hover: #0891b2;--text-main: #334155;--indigo:#723edb;--purple:#483290;--orange:#ff7223;--blue:#0e9aff;--lila:#c61fa1;--green:#9cc624;--text-light: #64748b;--bg-light: #f8fafc;--white: #ffffff;--border-radius: 8px;--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--font-heading: "Fredoka", sans-serif;--font-body: "Fredoka", sans-serif;--header-height: 70px;--subnav-height: 60px;}
section[id] {scroll-margin-top: calc(var(--header-height) + var(--subnav-height));}
* {box-sizing: border-box;margin: 0;padding: 0;}
body {font-family: var(--font-body);color: var(--text-main);line-height: 1.6;background-color: var(--white);overflow-x: hidden;}
h1, h4 {font-family: var(--font-heading);font-weight: 700;color: var(--primary-dark);margin-bottom: 1rem;}
h2 {font-family: var(--font-heading);font-weight: 700;color: var(--lila);margin-bottom: 1rem;}
h3 {font-family: var(--font-heading);font-weight: 700;color: var(--purple);margin-bottom: 1rem;}
footer h3{color:var(--white)}
p {margin-bottom: 1.5rem;color: var(--text-main);}
a {text-decoration: none;color: inherit;transition: all 0.3s ease;}
ul {list-style: none;}
img {max-width: 100%;height: auto;display: block;border-radius: var(--border-radius);}
.container {width: 90%;max-width: 1200px;margin: 0 auto;padding: 0 1rem;}
.section-padding {padding: 4rem 0;}
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
body,h1,h2,h3{font-family: }
/*section, .container {content-visibility: auto; contain-intrinsic-size: 1px 1000px; }*/
.fredoka-7{font-family: "Fredoka", sans-serif;font-weight: 700}
.text-indigo{color:var(--indigo)}
.text-purple{color:var(--purple)}
.text-orange{color:var(--orange)}
.text-blue{color:var(--blue)}
.text-lila{color:var(--lila)}
.text-green{color:var(--green)}
.bg-cuadros {background-image: url(img/bg-cuadros.png);}
.bg-orange{background:var(--orange)}
.bg-green{background:var(--green)}
/* --- BOTONES --- */
.btn {display: inline-block;padding: 0.8rem 1.5rem;border-radius: 50px;font-weight: 600;font-size: 0.95rem;cursor: pointer;text-align: center;border: none;transition: transform 0.2s, box-shadow 0.2s;margin-bottom:.5rem}
.btn-primary {background-color: var(--accent);color: var(--white);}
.btn-primary:hover {background-color: var(--accent-hover);transform: translateY(-2px);box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);}
.btn-outline {border: 2px solid var(--accent);color: var(--accent);background: transparent;}
.btn-outline:hover {background-color: var(--accent);color: var(--white);}
.btn-group {display: flex;gap: 1rem;justify-content: center;flex-wrap: wrap;margin-top: 2rem;}

/* --- HEADER --- */
header {background-color: rgba(10, 25, 47, 0.95);box-shadow: var(--shadow);position: sticky;top: 0;z-index: 1000;padding: 1rem 0;}
.header-content {display: flex;justify-content: space-between;align-items: center;width:90%;margin:0 auto;}
.logos {
font-family: var(--font-heading);font-weight: 800;font-size: 1.5rem;color: var(--primary-dark);display: flex;align-items: center;gap: 0.5rem;}
.logo span { color: var(--accent); }
.logo-img {width: 200px;height: auto;}
.nav-desktop {display: none;}
.nav-desktop a{color:var(--white);font-weight:700}
.nav-mobile {position: absolute;top: 100%;left: 0;width: 100%;background: var(--white);box-shadow: var(--shadow);display: flex;flex-direction: column;gap: 1rem;max-height: 0;overflow: hidden;transition: max-height 0.3s ease;}
.nav-mobile.active {max-height: 800px;}
.nav-mobile a {font-weight: 600;padding: 1rem;}


@media (min-width: 768px) {
.nav-mobile {display: none;}
}

.mobile-menu-btn {background: none;border: none;font-size: 1.5rem;color: var(--blue);cursor: pointer;}

/* --- HERO SECTION --- */
.hero {padding: 6rem 0 4rem;text-align: center;}
.hero h1 {color: var(--orange);font-size: 2.5rem;line-height: 1.2;margin-bottom: 1.5rem;}
.hero p {color: var(--purple);font-size: 1.1rem;max-width: 800px;margin: 0 auto 2rem;}

/* --- SUB-NAV STICKY --- */
.sub-nav {background-color: var(--lila);padding: 1rem 0;position: sticky;top: 0px; /* Ajuste según altura del header */z-index: 900;overflow-x: auto;white-space: nowrap;-webkit-overflow-scrolling: touch;}
.sub-nav ul {display: flex;gap: 2rem;padding: 0 1rem;}
.sub-nav li a {font-size: 0.9rem;font-weight: 600;color: var(--white);padding: 0.5rem 0;border-bottom: 2px solid transparent;}
.sub-nav li a.active, .sub-nav li a:hover {color: var(--white);border-bottom-color: var(--white);}

/* --- SECCIONES DE CONTENIDO --- */
.fullbox{width:100%;background:#f2f2f2;position:relative;padding-top:3rem}
.fullbox::before{content:"";position:absolute;top:0;display:block;width:100%;height:200px;background:var(--lila)}
.first{margin-top:0px;}
.first>.article{padding-top:1.5rem}
.cta-suave>.article{padding-top:3rem;padding-bottom:3rem;background:#ecfeff}
.article{position:relative;background:var(--white);padding:1.5rem 3rem;max-width:850px;margin:0 auto;z-index:2}
.article.bg-light{background-color: var(--bg-light);text-align:center}
.article img{margin:0 auto 1.5rem}
.article ul{margin: 2rem 0rem 2rem 2rem;text-align:left}
.article ul li{list-style-type:disc}
.article strong{color:var(--purple);font-weight:600}
@media (min-width: 768px) {
.fullbox{padding-bottom:5rem}
.first>.article{padding-top:5rem}
.cta-suave>.article{padding-top:5rem;padding-bottom:5rem}
.article p,.article ul li,footer a{font-size:1.2rem;line-height:2rem}
h2{font-size:2.4rem}
h3{font-size:1.8rem}
.article{padding:2rem 5rem;}
}
/* Grid Layouts */
.grid-2 {display: grid;grid-template-columns: 1fr;gap: 3rem;align-items: center;}
.grid-3 {display: grid;grid-template-columns: 1fr;gap: 2rem;}
.card {background: var(--white);padding: 2rem;border-radius: var(--border-radius);box-shadow: var(--shadow);border-top: 4px solid var(--accent);transition: transform 0.3s ease;}
.card:hover {transform: translateY(-5px);}
.card-icon {font-size: 2rem;color: var(--accent);margin-bottom: 1rem;}
.card h3 {font-size: 1.25rem;margin-bottom: 1rem;}
.highlight-box {background-color: #ecfeff; /* Cyan muy claro */border-left: 5px solid var(--accent);padding: 2rem;margin: 2rem 0;border-radius: 0 var(--border-radius) var(--border-radius) 0;}
.first ul, #bloque-destacado ul{padding:0;text-align:center}
.first ul li, #bloque-destacado ul li{position:relative;display: inline-block;padding:1rem 1.25rem 1rem 3rem;background:var(--green);border-radius:1.3rem;font-size:1rem;line-height:1rem;margin:.25rem;color:var(--white)}
.first ul li:before, #bloque-destacado ul li:before{position:absolute;content:"";display:block;background:url(img/check-mark.svg);top:15px;left:15px;width:16px;height:16px}
.quote-block {background:var(--purple);color: var(--white);padding: 4rem 2rem;border-radius: var(--border-radius);text-align: center;margin-bottom: 3rem;position: relative;overflow: hidden;}
.quote-block::before {content: '"';position: absolute;top: -20px;left: 20px;font-size: 15rem;opacity: 0.1;font-family: serif;}
.quote-block h2 {color: var(--white);font-size: 1.8rem;margin-bottom: 1.5rem;}
.quote-block p {color: #cbd5e1;font-size: 1.2rem;max-width: 800px;margin: 0 auto;}

/* FAQ Accordion */
.accordion-item {border-bottom: 1px solid #e2e8f0;}
.accordion-header {width: 100%;text-align: left;padding: 1.5rem 0;background: none;border: none;font-size: 1.1rem;font-weight: 600;color: var(--primary-dark);cursor: pointer;display: flex;justify-content: space-between;align-items: center;}
.accordion-header::after {content: '+';font-size: 1.5rem;color: var(--accent);transition: transform 0.3s;}
.accordion-item.active .accordion-header::after {transform: rotate(45deg);}
.accordion-content {max-height: 0;overflow: hidden;transition: max-height 0.3s ease-out;color: var(--text-light);}
.accordion-content p {padding-bottom: 1.5rem;}

/* --- FOOTER --- */
footer {background-color: var(--accent);color: #94a3b8;padding: 4rem 0 2rem;font-size: 0.9rem;}
.footer-grid {display: grid;grid-template-columns: 1fr;gap: 2rem;margin-bottom: 3rem;}
.footer-col h4 {color: var(--white);margin-bottom: 1.5rem;font-size:1.5rem}
.footer-links li {margin-bottom: 0.8rem;padding:1.5rem;background:var(--white);border-radius:.7rem}
.footer-links a {color: var(--primary-dark);line-height:1rem}
.footer-links a:hover {color: var(--orange);}
.copyright {border-top: 1px solid #334155;padding-top: 2rem;text-align: center;}
footer h1{color:var(--white);padding-bottom:3rem;text-align:center}
.display-3 {
    line-height: 1.2;
    font-size: calc(1.525rem + 3.3vw);
}
/* --- MEDIA QUERIES --- */
@media (max-width: 767px) {
.logo-img {width: 140px;}
}
@media (min-width: 768px) {
.nav-desktop {display: flex;gap: 2rem;}
.mobile-menu-btn {display: none;}
.hero h1 {font-size: 3.5rem;}
.grid-2 {grid-template-columns: 1fr 1fr;}
.grid-3 {grid-template-columns: repeat(3, 1fr);}
.footer-grid {grid-template-columns: repeat(4, 1fr);}
.order-md-2 { order: 2; }
.order-md-1 { order: 1; }
}
@media (min-width: 1200px) {
    .display-3 {
        font-size: 4rem;
    }
}