/* Nalopa School — landing */
.nl-landing {
    --ink: #0c1630;
    --navy: #1c3566;
    --royal: #3d5d94;
    --gold: #c9a227;
    --gold-soft: #e8d48b;
    --cream: #f6f1e6;
    --paper: #fbf8f2;
    --muted: #5c6578;
    --line: rgba(12, 22, 48, 0.08);
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(12, 22, 48, 0.12);
    font-family: "Outfit", "Poppins", sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

.nl-landing h1, .nl-landing h2, .nl-landing h3, .nl-landing .nl-serif {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: -0.02em;
}

.nl-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

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

.nl-hero__slides, .nl-hero__slide {
    position: absolute;
    inset: 0;
}

.nl-hero__slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s ease, transform 8s ease;
}

.nl-hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.nl-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 14, 32, 0.25) 0%, rgba(8, 14, 32, 0.55) 45%, rgba(8, 14, 32, 0.88) 100%),
        radial-gradient(1200px 500px at 80% 10%, rgba(201, 162, 39, 0.22), transparent 55%);
    z-index: 1;
}

.nl-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 0 120px;
}

.nl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 22px;
}

.nl-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.nl-hero h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.92;
    font-weight: 600;
    max-width: 14ch;
    margin: 0 0 22px;
    color: #fff;
}

.nl-hero p.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 36rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
}

.nl-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 0;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.nl-btn:hover { transform: translateY(-2px); text-decoration: none; }

.nl-btn--gold {
    background: linear-gradient(135deg, #e8d48b, #c9a227);
    color: #1a1404;
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35);
}

.nl-btn--gold:hover { color: #1a1404; }

.nl-btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
}

.nl-btn--ghost:hover { color: #fff; background: rgba(255,255,255,0.16); }

.nl-btn--navy {
    background: var(--navy);
    color: #fff;
}

.nl-btn--navy:hover { color: #fff; }

.nl-hero__dots {
    position: absolute;
    z-index: 3;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nl-hero__dots button {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    border: 0;
    background: rgba(255,255,255,0.35);
    padding: 0;
}

.nl-hero__dots button.is-active {
    height: 28px;
    background: var(--gold);
}

.nl-hero__meta {
    display: flex;
    gap: 28px;
    margin-top: 48px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
}

.nl-hero__meta strong { display: block; color: #fff; font-size: 16px; }

/* Stats */
.nl-stats {
    position: relative;
    z-index: 4;
    margin-top: -64px;
    margin-bottom: 24px;
}

.nl-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.nl-stat {
    padding: 32px 24px;
    border-right: 1px solid var(--line);
}

.nl-stat:last-child { border-right: 0; }

.nl-stat span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.nl-stat b {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

/* Sections */
.nl-section { padding: 96px 0; }

.nl-section--cream { background: var(--cream); }

.nl-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0 0 16px;
    color: var(--ink);
}

.nl-section h2 em {
    font-style: italic;
    color: var(--royal);
}

.nl-intro {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 38rem;
    line-height: 1.75;
}

.nl-about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.nl-photo {
    position: relative;
    min-height: 460px;
}

.nl-photo img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.nl-photo__card {
    position: absolute;
    right: -18px;
    bottom: 28px;
    background: var(--navy);
    color: #fff;
    padding: 22px 24px;
    border-radius: 18px;
    width: 210px;
    box-shadow: var(--shadow);
}

.nl-photo__card b {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    display: block;
}

.nl-list { list-style: none; padding: 0; margin: 28px 0 32px; }

.nl-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.nl-list i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(61, 93, 148, 0.1);
    color: var(--royal);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.nl-list strong { display: block; color: var(--ink); }
.nl-list span { color: var(--muted); font-size: 14px; }

/* Programs bento */
.nl-bento {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
}

.nl-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid var(--line);
    min-height: 220px;
    transition: transform .25s ease, box-shadow .25s ease;
}

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

.nl-card--feature {
    background: linear-gradient(160deg, #1c3566, #3d5d94);
    color: #fff;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.nl-card--feature h3, .nl-card--feature p { color: #fff; }

.nl-card h3 {
    font-size: 1.7rem;
    margin: 12px 0 10px;
}

.nl-card p { color: var(--muted); margin: 0; line-height: 1.65; }

.nl-card--feature p { color: rgba(255,255,255,0.8); }

.nl-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(201, 162, 39, 0.16);
    color: var(--gold);
    display: grid;
    place-items: center;
}

.nl-stack { display: grid; gap: 18px; }

/* Values */
.nl-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nl-value {
    padding: 36px 28px;
    border-radius: 22px;
    background: #0f1c3a;
    color: #fff;
    min-height: 280px;
}

.nl-value:nth-child(2) { background: #1c3566; }
.nl-value:nth-child(3) { background: #3d5d94; }

.nl-value .num {
    font-family: "Cormorant Garamond", serif;
    color: var(--gold);
    font-size: 2rem;
}

.nl-value h3 { color: #fff; font-size: 1.8rem; margin: 16px 0; }
.nl-value p { color: rgba(255,255,255,0.78); margin: 0; line-height: 1.7; }
.nl-value .motto { color: var(--gold-soft); font-style: italic; margin-bottom: 12px; }

/* News / events */
.nl-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}

.nl-news {
    display: grid;
    gap: 16px;
}

.nl-news a {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
}

.nl-news a:hover { box-shadow: var(--shadow); }

.nl-news img {
    width: 140px;
    height: 110px;
    object-fit: cover;
}

.nl-news h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    margin: 14px 14px 6px 0;
    color: var(--ink);
}

.nl-news small { color: var(--muted); }

.nl-event {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.nl-event:last-child { border-bottom: 0; }

.nl-event time {
    display: block;
    color: var(--royal);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.nl-event a {
    color: var(--ink);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    text-decoration: none;
}

.nl-panel {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    border: 1px solid var(--line);
}

/* Gallery */
.nl-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
    gap: 12px;
}

.nl-gallery a:first-child { grid-column: span 2; grid-row: span 2; }

.nl-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* CTA */
.nl-cta {
    background: linear-gradient(135deg, #0c1630 0%, #1c3566 55%, #3d5d94 100%);
    color: #fff;
    border-radius: 28px;
    padding: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nl-cta h2 { color: #fff; margin-bottom: 8px; }
.nl-cta p { color: rgba(255,255,255,0.78); margin: 0; max-width: 36rem; }

/* Contact strip */
.nl-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.nl-contact article {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--line);
}

.nl-contact h4 {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.nl-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 32px;
}

.nl-empty { color: var(--muted); padding: 12px 0; }

@media (max-width: 991px) {
    .nl-about, .nl-bento, .nl-split, .nl-cta, .nl-stats__grid, .nl-values, .nl-contact {
        grid-template-columns: 1fr;
    }
    .nl-hero__dots { display: none; }
    .nl-photo img { height: 360px; }
    .nl-photo__card { right: 12px; }
    .nl-gallery { grid-template-columns: 1fr 1fr; }
    .nl-gallery a:first-child { grid-column: span 2; grid-row: span 1; }
    .nl-cta { padding: 36px 24px; }
    .nl-stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .nl-hero__content { padding: 120px 0 90px; }
}

/* Site chrome */
.header_area.nl-nav {
    box-shadow: 0 10px 30px rgba(12, 22, 48, 0.08);
}

.header_area .header_topbar_area.nl-topbar {
    background: linear-gradient(90deg, #0b142b 0%, #1c3566 58%, #3d5d94 100%) !important;
    border-bottom: 1px solid rgba(232, 212, 139, 0.28);
}

.header_area .header_topbar_area.nl-topbar .container {
    background: transparent !important;
}

.nl-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
    padding: 5px 0;
}

.nl-topbar__left,
.nl-topbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nl-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.88) !important;
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.nl-chip i { color: #e8d48b; font-size: 10px; }
.nl-chip:hover { background: rgba(255,255,255,0.12); color: #fff !important; }
.nl-chip--mute { pointer-events: none; }

.nl-social { display: flex; gap: 6px; }
.nl-social a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0b142b !important;
    background: #e8d48b;
    font-size: 11px;
    text-decoration: none !important;
}
.nl-social a:hover { background: #fff; }

.nl-login {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(232, 212, 139, 0.55);
    color: #e8d48b !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none !important;
}
.nl-login:hover { background: #e8d48b; color: #0b142b !important; }

.nl-lang .nice-select,
.nl-lang .nice_Select {
    height: 24px !important;
    line-height: 24px !important;
    min-height: 24px !important;
    padding: 0 22px 0 8px !important;
    font-size: 12px !important;
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 999px !important;
}
.nl-lang .nice-select::after {
    width: 6px !important;
    height: 6px !important;
    right: 8px !important;
    margin-top: -4px !important;
    border-color: #e8d48b !important;
}

.nl-nav {
    background: rgba(251, 248, 242, 0.94);
    backdrop-filter: blur(16px);
}

.nl-nav .header__wrapper {
    min-height: 62px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.nl-nav .logo_img img {
    max-height: 42px !important;
    width: auto !important;
}

.nl-nav .main_menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nl-nav .main_menu ul li a {
    font-family: "Outfit", sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #0c1630 !important;
    padding: 8px 12px !important;
    border-radius: 999px;
    position: relative;
}

.nl-nav .main_menu ul li a::before { display: none !important; }

.nl-nav .main_menu ul li a:hover,
.nl-nav .main_menu ul li a.active {
    background: rgba(61, 93, 148, 0.08);
    color: #1c3566 !important;
}

.nl-nav .theme_btn,
.nl-nav .theme_btn.small_btn3 {
    background: linear-gradient(135deg, #e8d48b, #c9a227) !important;
    color: #1a1404 !important;
    border-radius: 999px !important;
    border: 0 !important;
    padding: 9px 18px !important;
    min-width: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}

@media (max-width: 767.98px) {
    .nl-topbar__inner { justify-content: center; }
    .nl-topbar__left { display: none; }
}

.nl-footer {
    background: #0c1630 !important;
    color: rgba(255,255,255,0.78);
}

.nl-footer .footer_title h3,
.nl-footer .copy_right_text p { color: #fff; }

.nl-footer a { color: rgba(255,255,255,0.78); }
.nl-footer a:hover { color: #e8d48b; }
