:root {
    --navy: #101f3d;
    --navy2: #1b3157;
    --red: #d94b4b;
    --coral: #f7e8e6;
    --ink: #202b3b;
    --muted: #687386;
    --soft: #f5f7fa;
    --line: #e6eaf0
}

* {
    box-sizing: border-box
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    line-height: 1.7
}

a {
    text-decoration: none
}

.navbar {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    z-index: 1000
}

.navbar-brand {
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .04em;
    font-size: 1.12rem;
    line-height: 1.1
}

.navbar-brand small {
    display: block;
    font-size: .53rem;
    letter-spacing: .12em;
    color: var(--muted);
    margin-top: 4px
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px
}

.nav-link {
    font-size: .86rem;
    font-weight: 600;
    color: #485366 !important;
    padding: .75rem .65rem !important
}

.nav-link:hover,
.nav-link.active {
    color: var(--red) !important
}

.btn {
    border-radius: 8px;
    font-weight: 700
}

.btn-accent {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red)
}

.btn-accent:hover {
    background: #bd3939;
    color: #fff;
    border-color: #bd3939
}

.btn-dark {
    background: var(--navy);
    border-color: var(--navy)
}

.hero-section {
    padding: 82px 0 76px;
    background: linear-gradient(120deg, #fff 45%, #f8f1f0 100%);
    overflow: hidden
}

.eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 15px
}

.eyebrow.light {
    color: #ffd0cb
}

.hero-section h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 22px
}

.hero-section h1 span {
    color: var(--red)
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 550px;
    margin-bottom: 28px
}

.hero-image-wrap {
    position: relative
}

.hero-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 25px 60px #101f3d20
}

.hero-stamp {
    position: absolute;
    bottom: 22px;
    left: -25px;
    background: #fff;
    padding: 17px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 35px #101f3d20;
    display: flex;
    align-items: center;
    gap: 14px
}

.hero-stamp strong {
    font-size: 1.8rem;
    color: var(--red)
}

.hero-stamp span {
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 600
}

.hero-note {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 28px
}

.hero-note i {
    color: #26936f;
    margin-right: 7px
}

.stats-strip {
    background: var(--navy);
    padding: 27px 0;
    color: #fff
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2
}

.stat-label {
    font-size: .8rem;
    color: #c5cede
}

.section-pad {
    padding: 88px 0
}

.section-soft {
    background: var(--soft)
}

.section-photo {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 18px
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 20px
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 42px
}

.section-heading p,
.section-pad p {
    color: var(--muted)
}

.text-link {
    color: var(--red);
    font-size: .88rem;
    font-weight: 800
}

.text-link i {
    margin-left: 5px
}

.feature-card,
.program-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.feature-card:hover,
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px #101f3d12
}

.feature-card>img {
    width: 100%;
    height: 260px;
    object-fit: cover
}

.feature-card-body,
.program-card-body {
    padding: 25px
}

.feature-card h3,
.program-card h3,
.benefit-card h3,
.testimonial-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--navy)
}

.card-kicker {
    font-size: .65rem;
    color: var(--red);
    font-weight: 800;
    letter-spacing: .13em
}

.benefit-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff
}

.benefit-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--coral);
    color: var(--red);
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 20px
}

.benefit-card p,
.program-card p,
.feature-card p {
    font-size: .88rem;
    margin-bottom: 16px
}

.mini-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.mini-steps>div {
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--navy)
}

.mini-steps b {
    font-size: 1.4rem;
    color: var(--red)
}

.gallery-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px
}

.testimonial-card {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    height: 100%
}

.testimonial-card img {
    width: 105px;
    height: 105px;
    object-fit: cover;
    border-radius: 12px
}

.testimonial-card p {
    font-size: .85rem;
    margin-bottom: 0
}

.cta-section {
    padding: 30px 0 88px
}

.cta-box {
    background: var(--navy);
    border-radius: 18px;
    padding: 42px 48px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800
}

.cta-box p {
    color: #c5cede;
    margin: 0
}

.site-footer {
    background: #0b172d;
    color: #c5cede;
    padding: 60px 0 20px;
    font-size: .85rem
}

.footer-brand {
    font-size: 1.7rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: .1em
}

.site-footer h6 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px
}

.footer-copy {
    max-width: 360px;
    margin-top: 15px
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin-bottom: 8px
}

.site-footer a {
    color: #c5cede
}

.site-footer a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    margin-top: 38px;
    padding-top: 18px;
    font-size: .75rem;
    color: #8996aa
}

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #20a66b;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 25px #0003;
    z-index: 900
}

.page-hero {
    padding: 75px 0;
    background: linear-gradient(120deg, var(--navy), #263e68);
    color: #fff
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.05em
}

.page-hero p {
    color: #d0d8e5;
    max-width: 650px;
    margin: 0
}

.statement-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--line);
    height: 100%
}

.statement-card h2 {
    font-size: 1.45rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--navy)
}

.mission-list {
    padding-left: 1.2rem;
    color: var(--muted)
}

.mission-list li {
    padding: 5px 0
}

.program-card>img {
    width: 100%;
    height: 190px;
    object-fit: cover
}

.program-card-body {
    padding: 20px
}

.program-card h3 {
    margin: 7px 0
}

.notice {
    background: #fff7f4;
    border: 1px solid #f4d8d2;
    padding: 17px 20px;
    border-radius: 10px;
    color: #75514d;
    font-size: .88rem
}

.timeline {
    max-width: 800px;
    margin: auto;
    position: relative
}

.timeline:before {
    content: "";
    position: absolute;
    left: 29px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #f0c7c1
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 25px;
    padding: 0 0 32px
}

.timeline-number {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
    z-index: 1
}

.timeline-item h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin: 8px 0 5px
}

.timeline-item p {
    margin: 0
}

.gallery-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover
}

.gallery-card figcaption {
    padding: 15px 17px;
    font-weight: 800;
    color: var(--navy)
}

.gallery-card small {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    color: var(--muted)
}

.contact-line {
    display: flex;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line)
}

.contact-line>i {
    font-size: 1.3rem;
    color: var(--red)
}

.contact-line b {
    color: var(--navy)
}

.contact-line p {
    margin: 3px 0 0
}

.contact-line a {
    color: var(--red);
    font-weight: 700
}

.map-placeholder {
    height: 100%;
    min-height: 350px;
    background: var(--soft);
    border: 1px dashed #b7c1d0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px
}

.map-placeholder>i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 15px
}

.map-placeholder h3 {
    font-weight: 800;
    color: var(--navy)
}

.map-placeholder p {
    max-width: 320px
}

@media(max-width:991px) {
    .navbar-nav {
        padding: 12px 0
    }

    .nav-link {
        padding: .5rem 0 !important
    }

    .hero-section {
        padding: 55px 0
    }

    .hero-image {
        height: 350px
    }

    .hero-stamp {
        left: 12px
    }

    .section-pad {
        padding: 65px 0
    }

    .cta-box {
        padding: 32px;
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:575px) {
    .hero-section h1 {
        font-size: 2.65rem
    }

    .hero-image {
        height: 270px
    }

    .hero-stamp {
        bottom: 12px;
        padding: 12px
    }

    .section-photo {
        height: 270px
    }

    .mini-steps {
        grid-template-columns: 1fr
    }

    .testimonial-card {
        flex-direction: column
    }

    .testimonial-card img {
        width: 100%;
        height: 160px
    }

    .cta-box {
        padding: 27px 23px
    }

    .gallery-preview img {
        height: 155px
    }

    .timeline-item {
        gap: 15px
    }

    .timeline-number {
        flex-basis: 52px;
        height: 52px
    }

    .timeline:before {
        left: 25px
    }
}

/* Testimoni geser horizontal */
.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: -18px 0 18px
}

.testimonial-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    transition: .2s
}

.testimonial-arrow:hover {
    background: var(--navy);
    color: #fff
}

.testimonial-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 2px 14px;
    scrollbar-width: thin
}

.testimonial-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    scroll-snap-align: start
}

.testimonial-slide .testimonial-card {
    height: 100%
}

.testimonial-track:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
    border-radius: 12px
}

/* Tim: tiga kolom pada layar desktop, satu kolom pada ponsel */
.team-grid {
    max-width: 1000px;
    margin-inline: auto
}

.team-card {
    height: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff
}

.team-card .section-photo {
    height: 280px
}

.team-card p {
    margin-bottom: 0
}

/* Filter galeri */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px
}

.gallery-filter {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    padding: 10px 17px;
    border-radius: 999px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    transition: .2s
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.gallery-item[hidden] {
    display: none !important
}

/* Peta Google Maps */
.contact-map-wrap {
    height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px #101f3d0b
}

.contact-map-heading h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 5px
}

.contact-map-heading p,
.map-note {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 14px
}

.contact-map {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
    border-radius: 12px
}

.map-open-link {
    display: inline-block;
    margin-top: 15px
}

.map-note {
    margin: 12px 0 0;
    font-size: .72rem
}

@media(max-width:767px) {
    .testimonial-slide {
        flex-basis: 100%
    }

    .testimonial-controls {
        margin-top: -15px
    }

    .team-grid {
        max-width: 520px
    }

    .team-card .section-photo {
        height: 270px
    }

    .contact-map {
        height: 320px
    }
}

/* Popup gambar untuk Galeri dan halaman Program Jepang/Korea */
.popup-image-trigger {
    cursor: zoom-in;
}
.popup-image-trigger:focus-visible {
    outline: 3px solid var(--gold, #d6a84f);
    outline-offset: 3px;
}
.image-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(8, 18, 38, .82);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.image-popup.show {
    opacity: 1;
    visibility: visible;
}
.image-popup-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
    transform: translateY(12px) scale(.98);
    transition: transform .2s ease;
}
.image-popup.show .image-popup-panel {
    transform: translateY(0) scale(1);
}
.image-popup-photo {
    display: block;
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
    background: #f1f3f7;
}
.image-popup-caption {
    padding: 20px 24px 22px;
}
.image-popup-title {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
}
.image-popup-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}
.image-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 18, 38, .72);
}
.image-popup-close:hover {
    background: var(--navy);
}
body.popup-open {
    overflow: hidden;
}
@media (max-width: 575px) {
    .image-popup { padding: 12px; }
    .image-popup-panel { border-radius: 14px; }
    .image-popup-caption { padding: 16px 18px 19px; }
    .image-popup-photo { max-height: 55vh; }
}


/* Galeri: tampilkan foto saja tanpa teks di bawahnya */
.gallery-card {
    border: 0;
    background: transparent;
    box-shadow: none;
}
.gallery-card figcaption {
    display: none;
}
.gallery-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

/* ==========================================================
   HANIL UI REFRESH — modern, calm, Japanese & Korean accents
   ========================================================== */
:root {
    --navy: #142640;
    --navy2: #203e63;
    --red: #d94b50;
    --coral: #fff0ee;
    --ink: #233044;
    --muted: #69778b;
    --soft: #f6f8fb;
    --line: #e7ebf1;
    --blue: #3d6f9f;
    --gold: #cda96b;
    --surface: #ffffff;
    --shadow-sm: 0 8px 24px rgba(20, 38, 64, .06);
    --shadow-md: 0 18px 48px rgba(20, 38, 64, .11);
    --shadow-lg: 0 28px 70px rgba(20, 38, 64, .15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    background: #fff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    color: #fff;
    background: var(--navy2);
}

:focus-visible {
    outline: 3px solid rgba(61, 111, 159, .55);
    outline-offset: 3px;
}

/* Header & navigation */
.navbar {
    min-height: 78px;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(224, 230, 238, .9);
    box-shadow: 0 5px 24px rgba(20, 38, 64, .045);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.navbar > .container {
    min-height: 78px;
}

.navbar-brand {
    gap: 11px !important;
    font-size: 1.08rem;
    letter-spacing: .08em;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(20, 38, 64, .12);
}

.navbar-brand small {
    font-size: .55rem;
    letter-spacing: .16em;
    font-weight: 700;
}

.navbar-nav {
    gap: 3px;
}

.navbar .nav-link {
    position: relative;
    border-radius: 999px;
    padding: .62rem .78rem !important;
    color: #4b596d !important;
    font-size: .81rem;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.navbar .nav-link:hover {
    color: var(--navy) !important;
    background: #f1f4f8;
}

.navbar .nav-link.active {
    color: var(--red) !important;
    background: rgba(217, 75, 80, .085);
}

.navbar .nav-item:last-child .nav-link {
    margin-left: 5px;
    padding-inline: 1.05rem !important;
    color: #fff !important;
    background: var(--navy);
    box-shadow: 0 6px 16px rgba(20, 38, 64, .13);
}

.navbar .nav-item:last-child .nav-link:hover,
.navbar .nav-item:last-child .nav-link.active {
    color: #fff !important;
    background: var(--red);
}

.navbar-toggler {
    padding: .48rem .62rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none !important;
}

/* Hero sections: Japanese rising-sun disc + Korean fan-like linework */
.hero-section {
    position: relative;
    isolation: isolate;
    padding: clamp(58px, 7vw, 104px) 0 clamp(62px, 7vw, 92px);
    background:
        radial-gradient(ellipse at 7% 8%, rgba(205, 169, 107, .10), transparent 31%),
        linear-gradient(115deg, #fff 0%, #fffdfb 47%, #f5f8fc 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: clamp(250px, 34vw, 470px);
    aspect-ratio: 1;
    right: -105px;
    top: -135px;
    border-radius: 50%;
    opacity: .58;
    background:
        radial-gradient(circle at center, rgba(217, 75, 80, .14) 0 17%, transparent 17.5%),
        repeating-radial-gradient(circle at center, transparent 0 27px, rgba(61, 111, 159, .12) 28px 29px, transparent 30px 48px);
    pointer-events: none;
}

.hero-section::after {
    content: "日本 · 한국";
    position: absolute;
    z-index: -1;
    right: 4.5%;
    bottom: 24px;
    color: rgba(20, 38, 64, .12);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .28em;
    writing-mode: vertical-rl;
    pointer-events: none;
}

.hero-section > .container,
.page-hero > .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--red);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.hero-section h1 {
    max-width: 690px;
    font-size: clamp(2.45rem, 5.4vw, 4.75rem);
    letter-spacing: -.065em;
    line-height: 1.08;
}

.hero-section h1 span {
    color: var(--red);
}

.hero-lead {
    max-width: 520px;
    font-size: clamp(.98rem, 1.2vw, 1.1rem);
    line-height: 1.85;
}

.hero-section .btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding-inline: 1.35rem;
    border-radius: 999px;
    font-size: .9rem;
}

.hero-image-wrap {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 30px;
    background: rgba(255,255,255,.45);
    box-shadow: 0 24px 64px rgba(20, 38, 64, .10);
}

.hero-image {
    height: clamp(330px, 38vw, 470px);
    border-radius: 22px;
    box-shadow: none;
}

.hero-stamp {
    left: -24px;
    bottom: 28px;
    min-width: 185px;
    border: 1px solid rgba(231, 235, 241, .9);
    border-radius: 17px;
    box-shadow: var(--shadow-md);
}

.hero-stamp strong {
    color: var(--red);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
}

/* Stats strip */
.stats-strip {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    background: linear-gradient(105deg, #142640, #203e63 70%, #315b7f);
}

.stats-strip::after {
    content: "";
    position: absolute;
    right: -25px;
    top: -95px;
    width: 250px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.025);
}

.stat-number {
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    letter-spacing: -.04em;
}

.stat-label {
    font-weight: 600;
    letter-spacing: .02em;
}

/* General content rhythm */
.section-pad {
    position: relative;
    padding: clamp(64px, 7.5vw, 100px) 0;
}

.section-soft {
    background:
        radial-gradient(circle at 96% 12%, rgba(217, 75, 80, .045), transparent 22%),
        radial-gradient(circle at 3% 90%, rgba(61, 111, 159, .05), transparent 24%),
        #f7f9fc;
}

.section-title {
    letter-spacing: -.05em;
    line-height: 1.16;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading p,
.section-pad p {
    line-height: 1.8;
}

.section-heading p {
    max-width: 590px;
    margin-inline: auto;
}

.section-photo {
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-accent {
    background: linear-gradient(135deg, #df5559, #c83f49);
    border-color: #d94b50;
    box-shadow: 0 9px 22px rgba(217, 75, 80, .2);
}

.btn-accent:hover {
    background: #c83f49;
    border-color: #c83f49;
    box-shadow: 0 13px 26px rgba(217, 75, 80, .25);
}

.btn-dark {
    box-shadow: 0 8px 20px rgba(20, 38, 64, .14);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap .2s ease, color .2s ease;
}

.text-link:hover {
    gap: 11px;
    color: #b93640;
}

/* Cards */
.feature-card,
.program-card,
.benefit-card,
.team-card,
.statement-card {
    border: 1px solid rgba(224, 230, 238, .9);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(20, 38, 64, .035);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover,
.program-card:hover,
.benefit-card:hover,
.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(61, 111, 159, .2);
    box-shadow: var(--shadow-md);
}

.feature-card > img {
    height: 245px;
    transition: transform .55s ease;
}

.feature-card:hover > img {
    transform: scale(1.035);
}

.feature-card {
    overflow: hidden;
}

.feature-card-body,
.program-card-body {
    padding: 25px;
}

.program-card {
    overflow: hidden;
}

.program-card > img {
    height: 205px;
    transition: transform .55s ease;
}

.program-card:hover > img {
    transform: scale(1.045);
}

.program-card h3,
.feature-card h3,
.benefit-card h3,
.testimonial-card h3 {
    letter-spacing: -.025em;
}

.card-kicker {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(217, 75, 80, .08);
    color: #c34349;
    font-size: .61rem;
    letter-spacing: .14em;
}

.benefit-card {
    padding: 28px;
    background: rgba(255,255,255,.92);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff0ee, #f8e7e6);
    color: var(--red);
}

.mini-steps > div {
    min-height: 82px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(20, 38, 64, .035);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mini-steps > div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.mini-steps b {
    color: var(--red);
}

/* Testimonial carousel */
.testimonial-card {
    gap: 20px;
    padding: 24px;
    border-radius: 18px;
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.testimonial-card img {
    flex: 0 0 105px;
    border-radius: 15px;
}

.testimonial-track {
    padding: 5px 4px 18px;
    scrollbar-color: #c9d2df transparent;
}

.testimonial-slide {
    flex-basis: calc(50% - 10px);
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-color: #dce3ec;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.testimonial-arrow:hover {
    transform: translateY(-2px);
    background: var(--red);
    border-color: var(--red);
}

/* Inner page header — deep indigo with subtle taegeuk / sun geometry */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(58px, 7vw, 88px) 0;
    background:
        radial-gradient(circle at 83% 15%, rgba(217, 75, 80, .22), transparent 22%),
        linear-gradient(112deg, #142640, #203e63 68%, #2d587a);
}

.page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 7%;
    top: -125px;
    width: 340px;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255,255,255,.035), 0 0 0 50px rgba(255,255,255,.025), 0 0 0 78px rgba(255,255,255,.02);
}

.page-hero::after {
    content: "日本  ·  대한민국";
    position: absolute;
    right: 4%;
    bottom: 16px;
    color: rgba(255,255,255,.18);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .25em;
}

.page-hero h1 {
    max-width: 800px;
    margin: 4px 0 14px;
    letter-spacing: -.065em;
    line-height: 1.08;
}

.page-hero p {
    font-size: 1rem;
    line-height: 1.8;
}

.eyebrow.light {
    color: #ffb9b6;
}

/* About / statement and timeline */
.statement-card {
    padding: clamp(25px, 3vw, 38px);
}

.statement-card h2 {
    letter-spacing: -.035em;
}

.timeline:before {
    background: linear-gradient(var(--red), rgba(61, 111, 159, .22));
}

.timeline-number {
    background: linear-gradient(145deg, var(--navy), #315b7f);
    box-shadow: 0 5px 16px rgba(20, 38, 64, .15);
}

.timeline-item > div:last-child {
    padding: 7px 0 0;
}

/* Gallery */
.gallery-filters {
    gap: 9px;
    margin-bottom: 38px;
}

.gallery-filter {
    padding: 10px 18px;
    border-color: #e0e6ee;
    box-shadow: 0 4px 14px rgba(20, 38, 64, .035);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 7px 18px rgba(20, 38, 64, .15);
}

.gallery-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #e9eef4;
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    height: clamp(190px, 21vw, 280px);
    border-radius: 18px;
    transition: transform .55s ease, filter .3s ease;
}

.gallery-card:hover img {
    transform: scale(1.055);
    filter: saturate(1.06);
}

/* Contact */
.contact-line {
    padding: 19px 0;
    border-color: #e9edf3;
}

.contact-line > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff0ee;
}

.contact-map-wrap {
    padding: 25px;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.contact-map {
    height: 410px;
    border-radius: 16px;
}

/* CTA and footer */
.cta-section {
    padding: 22px 0 clamp(65px, 8vw, 96px);
}

.cta-box {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(30px, 4.2vw, 52px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 4%, rgba(217, 75, 80, .25), transparent 25%),
        linear-gradient(115deg, #142640, #203e63);
    box-shadow: 0 20px 50px rgba(20, 38, 64, .16);
}

.cta-box::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 240px;
    aspect-ratio: 1;
    right: -55px;
    bottom: -160px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    box-shadow: 0 0 0 23px rgba(255,255,255,.04), 0 0 0 48px rgba(255,255,255,.03);
}

.cta-box h2 {
    letter-spacing: -.045em;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: #0e1b30;
    padding: 66px 0 22px;
}

.site-footer::before {
    content: "日本 · 한국";
    position: absolute;
    top: 35px;
    right: 5%;
    color: rgba(255,255,255,.07);
    font-size: clamp(1.7rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: .16em;
    pointer-events: none;
}

.footer-brand {
    letter-spacing: .12em;
}

.footer-links a {
    display: inline-block;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Floating WhatsApp: more visible, still unobtrusive */
.wa-float {
    right: max(20px, calc((100vw - 1200px) / 2));
    bottom: 22px;
    width: 58px;
    height: 58px;
    border: 3px solid rgba(255,255,255,.92);
    box-shadow: 0 10px 28px rgba(15, 40, 32, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 32px rgba(15, 40, 32, .3);
}

/* Image popup polish */
.image-popup {
    padding: 24px;
    background: rgba(8, 18, 38, .78);
    backdrop-filter: blur(8px);
}

.image-popup-panel {
    width: min(820px, 100%);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.image-popup-photo {
    background: #edf1f6;
}

.image-popup-close {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,255,255,.28);
    transition: transform .2s ease, background .2s ease;
}

.image-popup-close:hover {
    transform: rotate(90deg);
}

/* Responsive refinements */
@media (max-width: 1199px) {
    .navbar .nav-link {
        padding-inline: .58rem !important;
        font-size: .76rem;
    }
}

@media (max-width: 991px) {
    .navbar,
    .navbar > .container {
        min-height: 72px;
    }

    .navbar-collapse {
        padding: 8px 0 16px;
    }

    .navbar-nav {
        gap: 4px;
        align-items: stretch !important;
    }

    .navbar .nav-link {
        padding: .72rem .9rem !important;
        border-radius: 12px;
        font-size: .88rem;
    }

    .navbar .nav-item:last-child .nav-link {
        margin: 5px 0 0;
        text-align: center;
    }

    .hero-section::before {
        right: -160px;
        top: -115px;
    }

    .hero-stamp {
        left: 12px;
    }

    .page-hero::before {
        right: -100px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 52px 0 62px;
    }

    .hero-section h1 {
        font-size: clamp(2.3rem, 9vw, 3.15rem);
        letter-spacing: -.06em;
    }

    .hero-section::after {
        right: 12px;
        bottom: 12px;
        font-size: .58rem;
    }

    .hero-image-wrap {
        padding: 8px;
        border-radius: 22px;
    }

    .hero-image {
        height: 290px;
        border-radius: 16px;
    }

    .hero-stamp {
        bottom: 16px;
        padding: 11px 14px;
        min-width: 160px;
        border-radius: 13px;
    }

    .hero-stamp strong {
        font-size: 1.5rem;
    }

    .section-pad {
        padding: 62px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .feature-card > img {
        height: 220px;
    }

    .program-card > img {
        height: 195px;
    }

    .testimonial-slide {
        flex-basis: 100%;
    }

    .testimonial-card {
        padding: 19px;
    }

    .contact-map-wrap {
        padding: 16px;
    }

    .contact-map {
        height: 320px;
    }

    .page-hero {
        padding: 56px 0 62px;
    }

    .page-hero::before {
        width: 240px;
        right: -120px;
        top: -90px;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: .98rem;
    }

    .brand-logo {
        width: 41px;
        height: 41px;
    }

    .navbar-brand small {
        font-size: .48rem;
    }

    .hero-section h1 {
        font-size: 2.45rem;
    }

    .hero-lead {
        font-size: .95rem;
    }

    .hero-section .btn {
        width: 100%;
        min-height: 49px;
    }

    .hero-image {
        height: 245px;
    }

    .hero-stamp {
        left: 12px;
        bottom: 12px;
    }

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

    .mini-steps > div {
        padding: 18px;
    }

    .testimonial-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .testimonial-card img {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .testimonial-controls {
        margin: -5px 0 14px;
    }

    .gallery-filter {
        padding: 9px 13px;
        font-size: .76rem;
    }

    .gallery-card img {
        height: 210px;
    }

    .cta-box {
        padding: 27px 22px;
        border-radius: 19px;
    }

    .wa-float {
        width: 54px;
        height: 54px;
        right: 15px;
        bottom: 15px;
    }

    .image-popup {
        padding: 12px;
    }

    .image-popup-panel {
        border-radius: 16px;
    }
}

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

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


/* Language selector — styled to match Hanil's indigo and vermilion identity. */
.language-switch-item {
    margin-left: .8rem;
    padding-left: .8rem;
    border-left: 1px solid var(--line);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    padding: .22rem;
    border: 1px solid #dce3ed;
    border-radius: 999px;
    background: #f6f8fb;
    box-shadow: 0 3px 10px rgba(16, 31, 61, .06);
}

.language-btn {
    min-width: 38px;
    padding: .34rem .62rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.language-btn:hover {
    color: var(--red);
    transform: translateY(-1px);
}

.language-btn.active {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 2px 7px rgba(16, 31, 61, .18);
}

.language-divider {
    width: 1px;
    height: 14px;
    background: #d8deea;
}

@media (max-width: 991.98px) {
    .language-switch-item {
        margin: .55rem 0 .25rem;
        padding: .65rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .language-switch {
        width: fit-content;
    }
}

@media (prefers-reduced-motion: reduce) {
    .language-btn { transition: none; }
}
