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

:root {
    --sage-green: #4A7C5E;
    --gold: #D4A843;
    --dark-green: #2D5A3F;
    --cream: #F5F0E1;
    --text: #2D2D2D;
    --light-gray: #F9F7F4;
    --border-color: #E8E3DB;
    --jardin-pink: #E8A0BF;
    --jardin-blue: #7EC8E3;
    --primaria-orange: #E8853D;
    --secundaria-blue: #2E5C8A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 500;
}

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

/* ═══════════ NAVIGATION ═══════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-green);
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-green);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sage-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sage-green);
    border-radius: 2px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--sage-green);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(74, 124, 94, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--sage-green);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ═══════════ HERO (HOME) ═══════════ */
.hero {
    height: 75vh;
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.62) 100%), url('img/fachada.webp');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 2rem;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 0.65rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════ HERO SMALL (Subpages) ═══════════ */
.hero-small {
    height: 35vh;
    min-height: 280px;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--dark-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Texture overlay for hero-small */
.hero-small::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-small::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    pointer-events: none;
    z-index: 1;
}

.hero-small .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-small .hero-title {
    text-shadow: none;
}

/* ═══════════ TRUST BADGES ═══════════ */
.trust-badges {
    background: var(--cream);
    padding: 3rem 0;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.badge {
    text-align: center;
    padding: 1rem 0.5rem;
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.badge h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    color: var(--dark-green);
    margin-bottom: 0.3rem;
}

.badge p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* ═══════════ WHY SECTION (Benefits) ═══════════ */
.why-section {
    padding: 5rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
}

.benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 0.6rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* ═══════════ QUIÉNES SOMOS ═══════════ */
.quienes-somos {
    padding: 5rem 0;
}

.quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quienes-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 72%;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.quienes-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

.quienes-content p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: #555;
}

.text-link {
    display: inline-block;
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--dark-green);
    transform: translateX(4px);
}

/* ═══════════ NIVELES PREVIEW (Home cards) ═══════════ */
.niveles-preview {
    padding: 5rem 0;
    background: var(--light-gray);
}

.niveles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nivel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.nivel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.nivel-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.nivel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nivel-card:hover .nivel-image img {
    transform: scale(1.06);
}

.nivel-content {
    padding: 1.5rem;
}

.nivel-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--dark-green);
}

.nivel-content p {
    font-size: 0.9rem;
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-weight: 500;
}

.discover-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nivel-card:hover .discover-link {
    color: var(--sage-green);
}

/* ═══════════ CTA BANNER ═══════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Texture on CTA banners */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.015) 10px, rgba(255, 255, 255, 0.015) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.015) 10px, rgba(255, 255, 255, 0.015) 20px);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════ LEVEL SECTIONS (Niveles page) ═══════════ */
.level-section {
    padding: 5rem 0;
}

.level-section:nth-child(odd) {
    background: white;
}

.level-section:nth-child(even) {
    background: var(--light-gray);
}

.level-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.level-grid.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.level-grid.reversed > * {
    direction: ltr;
}

.level-images {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.accent-bar {
    height: 4px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.jardin-accent {
    background: linear-gradient(90deg, var(--jardin-pink) 0%, var(--jardin-blue) 100%);
}

.primaria-accent {
    background: linear-gradient(90deg, var(--primaria-orange) 0%, #F5A962 100%);
}

.secundaria-accent {
    background: linear-gradient(90deg, var(--secundaria-blue) 0%, #4A7C9E 100%);
}

.level-main-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.level-secondary-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.level-content h2 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.level-subtitle {
    color: var(--sage-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.level-text {
    color: #555;
    line-height: 1.85;
    margin-bottom: 2rem;
    font-size: 0.98rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.feature {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding: 0.5rem 0.8rem;
    background: var(--cream);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature:hover {
    background: #e8e1cc;
}

.feature svg {
    color: var(--sage-green);
    flex-shrink: 0;
}

.feature span {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
}

/* ═══════════ CONTACT CTAs ═══════════ */
.contact-ctas {
    padding: 5rem 0;
}

.cta-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 16px 32px rgba(74, 124, 94, 0.15);
    transform: translateY(-4px);
    border-color: var(--sage-green);
}

.card-icon {
    color: var(--sage-green);
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.card-icon.phone-icon {
    color: var(--dark-green);
}

.cta-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
}

.cta-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sage-green);
    margin-bottom: 0.3rem;
}

.cta-description {
    font-size: 0.88rem;
    color: #888;
}

/* ═══════════ CONTACT INFO ═══════════ */
.contact-info {
    padding: 4rem 0;
    background: var(--light-gray);
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.info-icon {
    color: var(--sage-green);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--dark-green);
}

/* ═══════════ LOCATIONS ═══════════ */
.locations {
    padding: 5rem 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.location-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.location-card h3 {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.location-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.location-link {
    display: inline-flex;
}

/* ═══════════ CLOSING SECTION ═══════════ */
.closing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--dark-green) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.closing-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.015) 10px, rgba(255, 255, 255, 0.015) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.015) 10px, rgba(255, 255, 255, 0.015) 20px);
    pointer-events: none;
}

.closing-section .container {
    position: relative;
    z-index: 2;
}

.closing-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials {
    padding: 80px 0;
    background: var(--cream);
}

.testimonials .section-title {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 12px;
    left: 20px;
    line-height: 1;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-source {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-source svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ═══════════ FAQs ═══════════ */
.faqs {
    padding: 5rem 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--sage-green);
}

.faq-question {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-green);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(74, 124, 94, 0.04);
}

.faq-question.active {
    background: var(--sage-green);
    color: white;
    border-radius: 12px 12px 0 0;
}

.toggle {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-question.active .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.faq-answer.active {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ═══════════ FLOATING WHATSAPP ═══════════ */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0.5rem 24px 1.5rem;
        gap: 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero {
        height: 65vh;
        padding-top: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .badges-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .quienes-grid,
    .level-grid,
    .level-grid.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .level-grid.reversed > * {
        direction: ltr;
    }

    .quienes-image img,
    .level-main-image {
        height: 280px;
    }

    .niveles-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .level-content h2 {
        font-size: 1.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .cta-cards-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .faq-list {
        max-width: 100%;
    }

    .whatsapp-btn {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .nav-logo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        height: 55vh;
        min-height: 400px;
        padding-top: 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.55rem 1.45rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .level-content h2 {
        font-size: 1.3rem;
    }

    .level-text {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .badges-container {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility, privacy-friendly embeds and campaign refinements */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: white;
    color: var(--dark-green);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

img {
    max-width: 100%;
}

.hero-content {
    width: min(900px, calc(100% - 32px));
}

.hero .hero-subtitle {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
}

.legal-page {
    padding: 4rem 0 6rem;
}

.legal-page h1,
.legal-page h2 {
    color: var(--dark-green);
}

.legal-page h1 {
    margin-bottom: 1.5rem;
}

.legal-page h2 {
    margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
    max-width: 760px;
    margin-bottom: 0.9rem;
}

.legal-page ul {
    padding-left: 1.25rem;
}

@media (max-width: 480px) {
    .hero {
        min-height: 520px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero .hero-subtitle {
        font-size: 0.95rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
