:root {
    --bg: #f3f7f8;
    --surface: #ffffff;
    --surface-soft: #edf4f7;
    --surface-alt: #e2edf1;
    --text: #153244;
    --muted: #5e7585;
    --line: rgba(21, 50, 68, 0.11);
    --primary: #19a774;
    --primary-dark: #0f8d63;
    --secondary: #2c6a87;
    --secondary-soft: #d9eaf2;
    --accent: #f2b56f;
    --shadow: 0 24px 60px rgba(11, 35, 48, 0.12);
    --shadow-soft: 0 18px 44px rgba(11, 35, 48, 0.08);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: 1180px;
    --header-h: 90px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, rgba(217, 234, 242, 0.45), transparent 30%), var(--bg);
    color: var(--text);
    line-height: 1.72;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

textarea,
input {
    color: var(--text);
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 18px);
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section {
    padding: 6.75rem 0;
}

.topbar {
    background: #0f2635;
    color: rgba(255, 255, 255, 0.84);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.topbar p {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 247, 248, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(21, 50, 68, 0.08);
}

.nav-shell {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.36rem;
    box-shadow: 0 16px 36px rgba(10, 30, 40, 0.08);
}

.brand strong,
.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.brand span,
.footer-brand span {
    display: block;
    color: var(--muted);
    font-size: 0.94rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.site-nav > a:not(.btn) {
    color: var(--muted);
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn):focus-visible {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.36rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 54px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 18px 34px rgba(25, 167, 116, 0.28);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(21, 50, 68, 0.09);
    box-shadow: var(--shadow-soft);
}

.hero-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: none;
}

.btn-block {
    width: 100%;
}

.hero-section {
    padding: 0 0 2rem;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.hero-slide.is-active {
    display: block;
    animation: heroFade 0.7s ease;
}

@keyframes heroFade {
    from { opacity: 0; transform: scale(1.01); }
    to { opacity: 1; transform: scale(1); }
}

.hero-inner {
    min-height: min(880px, calc(100vh - var(--header-h) - 44px));
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 2.5rem;
    padding: clamp(5.4rem, 10vw, 8rem) 0 4.75rem;
}

.hero-copy {
    color: #fff;
    max-width: 700px;
}

.eyebrow,
.section-tag,
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.eyebrow {
    margin-bottom: 1.3rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-tag,
.badge-soft {
    background: rgba(25, 167, 116, 0.12);
    color: var(--primary-dark);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-copy h1,
.section-heading h2,
.about-content h2,
.contact-copy h2,
.private-social-wrap .section-heading h2 {
    margin: 0 0 1rem;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    text-wrap: balance;
}

.section-heading h2,
.about-content h2,
.contact-copy h2,
.private-social-wrap .section-heading h2 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.hero-copy p,
.section-heading p,
.about-content p,
.contact-copy p {
    margin: 0;
    font-size: 1.12rem;
    color: inherit;
}

.hero-copy p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.hero-chip-row span {
    padding: 0.68rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-glass-card {
    width: min(100%, 430px);
    padding: 1.65rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 54px rgba(6, 18, 30, 0.22);
    color: #fff;
}

.hero-glass-card h2 {
    margin: 1rem 0 0.8rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.95rem, 3vw, 3rem);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.hero-glass-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.35rem;
}

.hero-stat {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-footer {
    margin-top: 1.25rem;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.3rem;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(21, 50, 68, 0.2);
    transition: transform 0.22s ease, background 0.22s ease, width 0.22s ease;
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trust-card {
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 50, 68, 0.06);
    box-shadow: var(--shadow-soft);
}

.trust-card strong,
.contact-cards strong,
.about-highlights strong,
.benefit-card h3,
.course-card h3,
.facebook-card h3,
.contact-panel-box h3,
.site-footer h4,
.panel-header h3 {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.trust-card span,
.contact-cards article a,
.about-highlights span,
.benefit-card p,
.course-card p,
.facebook-card p,
.contact-panel-box p,
.site-footer li a,
.about-content p,
.section-heading p,
.empty-state,
.contact-panel-box small {
    color: var(--muted);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 2.3rem;
}

.section-heading.light {
    color: #fff;
}

.section-heading.light p {
    color: rgba(255, 255, 255, 0.82);
}

.about-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(21, 50, 68, 0.06);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-media {
    min-height: 100%;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 247, 0.84));
}

.about-content p + p {
    margin-top: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem 0;
}

.about-highlights article {
    padding: 1.2rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(217, 234, 242, 0.45);
    border: 1px solid rgba(44, 106, 135, 0.08);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.2rem;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(21, 50, 68, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.benefit-card:nth-child(-n+3) {
    grid-column: span 4;
}

.benefit-card:nth-child(n+4) {
    grid-column: span 3;
}

.benefit-image {
    height: 210px;
    overflow: hidden;
}

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

.benefit-card:hover .benefit-image img {
    transform: scale(1.04);
}

.benefit-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.3rem 1.3rem 1.4rem;
}

.benefit-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 0.85rem;
    border-radius: 16px;
    background: rgba(25, 167, 116, 0.12);
    color: var(--primary-dark);
    font-weight: 800;
}

.benefit-card h3 {
    margin-bottom: 0.55rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    color: var(--secondary);
    font-weight: 800;
}

.text-link::after {
    content: '→';
}

.courses-section {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.courses-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 21, 32, 0.94), rgba(9, 30, 45, 0.86)), url('../images/contacto.jpg') center/cover;
}

.courses-shell {
    position: relative;
}

.carousel-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.carousel-buttons {
    display: inline-flex;
    gap: 0.7rem;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.carousel-btn span {
    font-size: 1.65rem;
    line-height: 1;
}

.courses-carousel {
    overflow: hidden;
}

.courses-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1.3rem) / 2);
    gap: 1.3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
}

.courses-track::-webkit-scrollbar {
    display: none;
}

.course-card {
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(6, 19, 30, 0.18);
}

.course-image-wrap {
    position: relative;
    height: 250px;
}

.course-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    background: rgba(21, 50, 68, 0.82);
    color: #fff;
    font-weight: 800;
}

.course-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.5rem;
}

.course-purpose {
    margin: 0;
    font-weight: 800;
    color: #345165;
}

.course-meta {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(21, 50, 68, 0.08);
}

.social-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
}

.social-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.facebook-stack {
    display: grid;
    gap: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
}

.facebook-card,
.card-panel,
.contact-panel-box {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(21, 50, 68, 0.06);
    box-shadow: var(--shadow-soft);
}

.facebook-card {
    padding: 1.35rem;
}

.facebook-card-head,
.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-header.stacked {
    display: block;
}

.facebook-card-head h3,
.panel-header h3 {
    margin-top: 0.6rem;
}

.facebook-embed-shell {
    display: flex;
    justify-content: center;
    padding: 0.9rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(217, 234, 242, 0.42), rgba(255, 255, 255, 0.8));
    overflow: hidden;
}

.facebook-embed-shell iframe {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 18px;
}

.facebook-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.facebook-card-foot p {
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.7rem;
}

.page-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(21, 50, 68, 0.08);
    color: var(--text);
    font-weight: 800;
}

.page-link.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.private-social-wrap {
    margin-top: 3rem;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.card-panel {
    padding: 1.4rem;
}

.testimonial-list {
    display: grid;
    gap: 0.9rem;
}

.testimonial-item {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(217, 234, 242, 0.34);
}

.testimonial-item p,
.testimonial-item strong {
    margin: 0;
}

.testimonial-item strong {
    display: block;
    margin-top: 0.55rem;
}

.testimonial-form {
    display: grid;
    gap: 1rem;
}

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

.testimonial-form label,
.testimonial-form label span {
    display: block;
}

.testimonial-form label span {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-form input,
.testimonial-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(21, 50, 68, 0.12);
    background: rgba(255, 255, 255, 0.9);
    resize: vertical;
}

.alert {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.alert.success {
    background: rgba(25, 167, 116, 0.12);
    color: #0c6c4d;
}

.alert.error {
    background: rgba(187, 61, 61, 0.12);
    color: #8e2f2f;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.3rem;
    padding: clamp(1.25rem, 3vw, 1.5rem);
    border-radius: 36px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.contact-copy,
.contact-box {
    position: relative;
}

.contact-copy {
    color: #fff;
    padding: clamp(1.2rem, 2vw, 1.4rem);
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.86);
}

.contact-cards {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.contact-cards article {
    padding: 1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.contact-cards article a {
    color: #fff;
    font-weight: 700;
}

.contact-panel-box {
    padding: 1.45rem;
    min-height: 100%;
}

.contact-actions {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0.8rem;
}

.site-footer {
    padding-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 1.4rem;
    padding-bottom: 1.6rem;
}

.site-footer p,
.site-footer li a {
    color: var(--muted);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-bottom {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(21, 50, 68, 0.08);
    color: var(--muted);
}

.floating-socials {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-social {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 18px 34px rgba(11, 35, 48, 0.20);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.floating-social:hover,
.floating-social:focus-visible {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 38px rgba(11, 35, 48, 0.26);
    filter: saturate(1.06);
}

.floating-social svg {
    width: 28px;
    height: 28px;
    display: block;
}

.floating-social--whatsapp {
    background: linear-gradient(135deg, #24d366, #128c7e);
}

.floating-social--facebook {
    background: linear-gradient(135deg, #1877f2, #0f5cc0);
}

.floating-social--tiktok {
    background: linear-gradient(135deg, #111111, #2a2a2a);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

@media (max-width: 1120px) {
    .hero-inner,
    .about-shell,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
        padding-bottom: 3.6rem;
    }

    .hero-side {
        justify-content: flex-start;
    }

    .hero-glass-card {
        width: min(100%, 560px);
    }

    .about-media {
        min-height: 360px;
    }

    .benefit-card:nth-child(-n+3),
    .benefit-card:nth-child(n+4) {
        grid-column: span 6;
    }

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

@media (max-width: 920px) {
    :root {
        --header-h: 82px;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        background: rgba(243, 247, 248, 0.98);
        border-bottom: 1px solid rgba(21, 50, 68, 0.08);
        box-shadow: 0 20px 40px rgba(9, 25, 35, 0.08);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
    }

    .site-nav a:not(.btn) {
        padding: 0.95rem 0.35rem;
        border-bottom: 1px solid rgba(21, 50, 68, 0.06);
    }

    .site-nav .btn {
        margin-top: 0.75rem;
    }

    .site-header.menu-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 8vw, 4.8rem);
    }

    .hero-trust-grid,
    .reviews-layout,
    .footer-grid,
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .courses-track {
        grid-auto-columns: 78%;
    }

    .benefit-card:nth-child(-n+3),
    .benefit-card:nth-child(n+4) {
        grid-column: span 12;
    }

    .facebook-card-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 5.25rem 0;
    }

    .hero-slide {
        border-radius: 0 0 30px 30px;
    }

    .hero-inner {
        padding-top: 4.7rem;
        padding-bottom: 3rem;
        gap: 1.5rem;
    }

    .hero-copy p,
    .section-heading p,
    .about-content p,
    .contact-copy p {
        font-size: 1rem;
    }

    .hero-actions,
    .social-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .social-actions .btn {
        width: 100%;
    }

    .hero-chip-row {
        gap: 0.55rem;
    }

    .hero-chip-row span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about-content h2,
    .contact-copy h2,
    .private-social-wrap .section-heading h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .benefit-image {
        height: 240px;
    }

    .courses-track {
        grid-auto-columns: 100%;
    }

    .course-image-wrap {
        height: 230px;
    }

    .facebook-card,
    .card-panel,
    .contact-panel-box {
        padding: 1.1rem;
    }

    .facebook-embed-shell {
        padding: 0.45rem;
    }

    .facebook-card-head,
    .panel-header {
        flex-direction: column;
    }

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

    .contact-shell {
        padding: 1rem;
    }

    .floating-socials {
        right: 0.8rem;
        bottom: 0.8rem;
        gap: 0.6rem;
    }

    .floating-social {
        width: 52px;
        height: 52px;
    }

    .floating-social svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 520px) {
    .topbar {
        font-size: 0.84rem;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .brand span {
        font-size: 0.84rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 12vw, 3.6rem);
    }

    .hero-glass-card {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .trust-card,
    .benefit-body,
    .course-body,
    .contact-cards article {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


.testimonial-item-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.8rem;
}

.testimonial-item-head div {
    min-width: 0;
}

.testimonial-item-head span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    object-fit: cover;
    flex: 0 0 60px;
    border: 3px solid rgba(25, 167, 116, 0.14);
    box-shadow: 0 14px 28px rgba(11, 35, 48, 0.08);
    background: #fff;
}

.testimonial-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-dark);
    background: rgba(25, 167, 116, 0.12);
}

.file-field input[type=file] {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(21, 50, 68, 0.22);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.file-field small {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.87rem;
}

.testimonial-upload-preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(217, 234, 242, 0.34);
}

.testimonial-upload-preview img {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
    flex: 0 0 72px;
}

.testimonial-upload-preview strong,
.testimonial-upload-preview span {
    display: block;
}

.testimonial-upload-preview span {
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 720px) {
    .testimonial-upload-preview {
        align-items: flex-start;
    }

    .testimonial-avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
}
