/* ============================================================
   CAMAS / ATC Training Bolivia — Landing Stylesheet
   Colores: Azul aeronáutico / Amarillo / Blanco / Gris claro
   ============================================================ */

:root {
    --navy-900: #060d1f;
    --navy-800: #0a1530;
    --navy-700: #0d1f3c;
    --navy-600: #102a52;
    --navy-500: #153a6b;
    --gold-500: #f5b301;
    --gold-400: #ffc933;
    --gold-gradient: linear-gradient(135deg, #f5b301, #ffcf4d);
    --white: #ffffff;
    --gray-100: #f4f6fb;
    --gray-200: #e8ecf4;
    --gray-300: #d3dae7;
    --gray-600: #5a6a85;
    --gray-800: #23314d;
    --whatsapp: #25d366;
    --header-height: 76px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 40px rgba(6, 13, 31, 0.12);
    --shadow-lg: 0 20px 60px rgba(6, 13, 31, 0.18);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}
.header__logo-img,
.footer__logo-img {
    height: 44px;
    width: auto;
    display: block;
}
.text-accent {
    color: var(--gold-500);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    will-change: transform;
}

.btn i {
    font-size: 1rem;
}

.btn--primary {
    background: var(--gold-gradient);
    color: var(--navy-900);
    box-shadow: 0 8px 24px rgba(245, 179, 1, 0.35);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(245, 179, 1, 0.45);
}

.btn--outline {
    border: 2px solid var(--navy-800);
    color: var(--navy-800);
    background: transparent;
}

.btn--outline:hover {
    background: var(--navy-800);
    color: var(--white);
    transform: translateY(-3px);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.btn--lg {
    padding: 19px 40px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 21, 48, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    background: var(--navy-800);
    box-shadow: 0 6px 30px rgba(6, 13, 31, 0.4);
}

.header__container {
    width: min(1200px, 92%);
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(245, 179, 1, 0.4);
    transform: rotate(-8deg);
    transition: transform 0.3s var(--ease);
}

.header:hover .logo-icon {
    transform: rotate(0deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--white);
    letter-spacing: 0.08em;
}

.logo-sub {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.header__nav {
    display: flex;
    gap: 28px;
}

.nav__link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.3s;
    position: relative;
    padding: 6px 0;
    text-transform: uppercase;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gold-500);
    transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header__cta {
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 13px 26px;
    border-radius: 999px;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.header__cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 26px rgba(245, 179, 1, 0.45);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.header__burger span {
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.header__burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__burger.open span:nth-child(2) {
    opacity: 0;
}

.header__burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero__bg,
.hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__bg img {
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    to { transform: scale(1.15); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 13, 31, 0.92) 0%, rgba(10, 21, 48, 0.72) 45%, rgba(10, 21, 48, 0.35) 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-120vh); opacity: 0; }
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(1200px, 92%);
    margin-inline: auto;
    padding-top: var(--header-height);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
}

.hero__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin-bottom: 38px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
}

.hero__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.hero__stat i {
    color: var(--gold-500);
    font-size: 1.25rem;
}

.hero__scroll {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero__scroll span {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    writing-mode: vertical-rl;
}

.hero__scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-500);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    60%, 100% { top: 100%; }
}

/* ============ STATS ============ */
.stats {
    background: var(--navy-800);
    color: var(--white);
    padding: 46px 0;
    border-top: 3px solid var(--gold-500);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats__item {
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.stats__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--gold-500);
}

.stats__plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--gold-500);
}

.stats__label {
    width: 100%;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 8px;
}

/* ============ SECTION HEADER ============ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--navy-600);
    background: rgba(21, 58, 107, 0.08);
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-tag--light {
    color: var(--gold-500);
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-900);
    text-transform: uppercase;
}

.section-title--light {
    color: var(--white);
}

.section-desc {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--gray-600);
    font-size: 1.02rem;
}

/* ============ WHY US ============ */
.why-us {
    padding: 96px 0;
    background: var(--gray-100);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.why-us__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    border-top: 4px solid transparent;
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
}

.why-us__card:hover {
    transform: translateY(-10px);
    border-top-color: var(--gold-500);
    box-shadow: var(--shadow-lg);
}

.why-us__icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: all 0.3s var(--ease);
}

.why-us__card:hover .why-us__icon {
    background: var(--gold-gradient);
    color: var(--navy-900);
    transform: rotate(-8deg);
}

.why-us__card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.why-us__card p {
    font-size: 0.93rem;
    color: var(--gray-600);
}

/* ============ PROGRAMS ============ */
.programs {
    padding: 96px 0;
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.program-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-card--featured {
    transform: scale(1.03);
    border: 2px solid var(--gold-500);
}

.program-card--featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.program-card__badge {
    position: absolute;
    top: 18px;
    left: -12px;
    z-index: 3;
    background: var(--gold-gradient);
    color: var(--navy-900);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 8px 22px;
    border-radius: 0 999px 999px 0;
    box-shadow: 0 6px 16px rgba(245, 179, 1, 0.5);
}

.program-card__img {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.program-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.program-card:hover .program-card__img img {
    transform: scale(1.08);
}

.program-card__cat {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(6, 13, 31, 0.85);
    color: var(--gold-500);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 7px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.program-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.12rem;
    color: var(--navy-900);
    line-height: 1.25;
    margin-bottom: 12px;
}

.program-card__title i {
    color: var(--gold-500);
    margin-right: 4px;
}

.program-card__meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-600);
    margin-bottom: 14px;
}

.program-card__meta i {
    color: var(--gold-500);
    margin-right: 6px;
}

.program-card__desc {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 18px;
}

.program-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.program-card__features span {
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    padding: 6px 12px;
    border-radius: 999px;
}

.program-card__features i {
    color: var(--gold-500);
    margin-right: 4px;
    font-size: 0.65rem;
}

.program-card .btn {
    margin-top: auto;
}

/* ============ PROGRAM DETAIL / TABS ============ */
.program-detail {
    padding: 96px 0;
    background: var(--gray-100);
}

.tabs {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs__nav {
    display: flex;
    background: var(--navy-800);
    overflow-x: auto;
}

.tabs__btn {
    flex: 1;
    min-width: 200px;
    padding: 20px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 3px solid transparent;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.tabs__btn:hover {
    color: var(--white);
}

.tabs__btn.active {
    color: var(--gold-500);
    border-bottom-color: var(--gold-500);
    background: rgba(255, 255, 255, 0.05);
}

.tabs__panel {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s var(--ease);
}

.tabs__panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: start;
}

.detail-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.detail-meta__item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-800);
}

.detail-meta__item i {
    color: var(--gold-500);
    font-size: 1rem;
}

.detail-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--navy-800);
    margin-bottom: 14px;
    margin-top: 8px;
}

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    color: var(--gray-800);
}

.detail-list li i {
    color: var(--gold-500);
}

.detail-info .btn {
    margin-top: 24px;
}

.detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 380px;
}

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

/* ============ EXPERIENCE ============ */
.experience {
    padding: 96px 0;
}

.experience__main {
    position: relative;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

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

.experience__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 13, 31, 0.9) 0%, rgba(6, 13, 31, 0.5) 50%, rgba(6, 13, 31, 0.2) 100%);
}

.experience__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: var(--white);
}

.experience__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.experience__content p {
    max-width: 520px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.experience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.experience__item {
    position: relative;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.experience__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.experience__item:hover img {
    transform: scale(1.1);
}

.experience__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 13, 31, 0.75), transparent 60%);
}

.experience__item span {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 2;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============ LEARN ============ */
.learn {
    padding: 96px 0;
    background: var(--navy-800);
    position: relative;
    overflow: hidden;
}

.learn::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 58, 107, 0.5), transparent 70%);
    top: -150px;
    right: -150px;
}

.learn__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 2;
}

.learn__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s var(--ease);
}

.learn__item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--gold-500);
}

.learn__icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--gold-gradient);
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.learn__item span {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--white);
}

/* ============ GALLERY ============ */
.gallery {
    padding: 96px 0;
}

.gallery__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery__filter {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-800);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}

.gallery__filter:hover,
.gallery__filter.active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--gold-500);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 31, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item.hide {
    display: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 13, 31, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox__img {
    max-width: 88vw;
    max-height: 82vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: lightboxIn 0.4s var(--ease);
}

@keyframes lightboxIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

.lightbox__close {
    top: 22px;
    right: 22px;
}

.lightbox__prev {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============ PARTNERS ============ */
.partners {
    padding: 80px 0;
    background: var(--gray-100);
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.partners__item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    transition: all 0.3s var(--ease);
}

.partners__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.partners__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--navy-800);
}

.partners__logo i {
    font-size: 1.9rem;
    color: var(--gold-500);
}

.partners__logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}

.partners__item--placeholder span {
    color: var(--gray-300);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: 96px 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}

.testimonial-card__stars {
    color: var(--gold-500);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-500);
    flex-shrink: 0;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-900);
}

.testimonial-card__program {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-600);
}

/* ============ UPCOMING ============ */
.upcoming {
    position: relative;
    padding: 110px 0;
    color: var(--white);
    overflow: hidden;
}

.upcoming__bg,
.upcoming__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.upcoming__bg img {
    object-fit: cover;
}

.upcoming__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 13, 31, 0.9), rgba(10, 21, 48, 0.85));
}

.upcoming__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.upcoming__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.upcoming__dates {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 34px;
}

.upcoming__date {
    display: flex;
    align-items: center;
    gap: 18px;
}

.upcoming__date-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gold-500);
    text-shadow: 0 0 40px rgba(245, 179, 1, 0.4);
}

.upcoming__date-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upcoming__date-sep {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

.upcoming__date-month {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.upcoming__text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

/* ============ FAQ ============ */
.faq {
    padding: 96px 0;
    background: var(--gray-100);
}

.faq__list {
    max-width: 820px;
    margin-inline: auto;
}

.faq__item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq__item.active {
    box-shadow: var(--shadow-lg);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 26px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-900);
    text-align: left;
}

.faq__question i {
    color: var(--gold-500);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq__answer p {
    padding: 0 26px 22px;
    color: var(--gray-600);
    font-size: 0.92rem;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

/* ============ CTA FINAL ============ */
.cta-final {
    position: relative;
    padding: 130px 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-final__bg,
.cta-final__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cta-final__bg img {
    object-fit: cover;
}

.cta-final__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 13, 31, 0.92), rgba(10, 21, 48, 0.75));
}

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

.cta-final h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.cta-final__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ============ FORM ============ */
.contact-form {
    padding: 96px 0;
    background: var(--gray-100);
}

.alert {
    max-width: 820px;
    margin: 0 auto 28px;
    padding: 18px 24px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert ul {
    margin: 0;
}

.alert--success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid var(--whatsapp);
    color: #0c7a3a;
}

.alert--error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid #dc3545;
    color: #b02a37;
}

.form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 44px;
    max-width: 820px;
    margin-inline: auto;
}

.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-800);
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--gray-800);
    background: var(--gray-100);
    transition: all 0.3s;
    width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.15);
}

.form__group textarea {
    resize: vertical;
}

/* ============ CONTACT ============ */
.contact {
    padding: 96px 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: stretch;
}

.contact__info {
    background: var(--navy-800);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
}

.contact__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.contact__items {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact__item > i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact__item-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2px;
}

.contact__item a,
.contact__item span {
    font-weight: 600;
    color: var(--white);
}

.contact__item a:hover {
    color: var(--gold-500);
}

.contact__socials {
    display: flex;
    gap: 12px;
}

.contact__social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    font-size: 1rem;
}

.contact__social:hover {
    background: var(--gold-gradient);
    color: var(--navy-900);
    transform: translateY(-4px);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--gray-100);
}

.contact__map-placeholder {
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--gray-300);
    border: 3px dashed var(--gray-300);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8ecf4' fill-opacity='0.6'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h4zm-20 30H4v2h12V34zm44-12v2h-12v-2h12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact__map-placeholder i {
    font-size: 2.6rem;
    color: var(--gray-300);
}

.contact__map-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 70px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 50px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    margin-bottom: 22px;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.footer__socials a:hover {
    background: var(--gold-gradient);
    color: var(--navy-900);
    transform: translateY(-3px);
}

.footer__links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer__links ul li {
    margin-bottom: 12px;
}

.footer__links ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s;
}

.footer__links ul a:hover {
    color: var(--gold-500);
    padding-left: 6px;
}

.footer__links ul a i {
    margin-right: 8px;
    color: var(--gold-500);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
    color: var(--gold-500);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 1500;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--whatsapp);
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 1500;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s var(--ease);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .program-card--featured {
        transform: none;
    }

    .program-card--featured:hover {
        transform: translateY(-10px);
    }

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

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

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

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

    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

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

@media (max-width: 900px) {
    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--navy-800);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 22px;
        border-bottom: 3px solid var(--gold-500);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease);
        box-shadow: var(--shadow-lg);
    }

    .header__nav.open {
        transform: translateY(0);
    }

    .header__burger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .hero__content {
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__scroll {
        display: none;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px;
    }

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

@media (max-width: 640px) {
    .hero__stat {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .why-us__grid,
    .programs__grid,
    .learn__grid {
        grid-template-columns: 1fr;
    }

    .experience__main {
        height: 380px;
    }

    .experience__content {
        padding: 32px;
    }

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

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

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

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .tabs__panel {
        padding: 24px;
    }

    .form {
        padding: 28px 20px;
    }

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

    .form__group--full {
        grid-column: auto;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .upcoming__dates {
        flex-direction: column;
        gap: 24px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
    }

    .cta-final {
        padding: 100px 0;
    }

    .detail-image {
        min-height: 260px;
    }
}