/* montserrat-700 - latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/montserrat-v29-latin-ext-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-900 - latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/montserrat-v29-latin-ext-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --navy: #142243;
    --sky: #63b7e6;
    --mint: #48d2c6;
    --bg: #f6fafc;
    --white: #fff;
    --soft: #ecf2f8;
    --shadow: 0 4px 18px rgba(20, 34, 67, 0.08);
    --shadow-table: 0 6px 20px 0 rgba(35, 64, 142, 0.07);
    --radius-lg: 1.15rem;
    --radius-md: 0.7rem;
    --transition: 0.23s cubic-bezier(.53, 0, .31, 1);
}

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

section {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--navy);
    line-height: 1.85;
    font-size: 1.08rem;
}

a {
    color: var(--sky);
    text-decoration: none;
    transition: color .18s;
}

a:hover {
    color: var(--mint);
}

.trial-pricing {
    color: var(--mint);
}

.wrapper {
    width: min(64rem, 92%);
    margin-inline: auto;
    overflow: hidden;
}

.site-header {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
    border-bottom: 1.5px solid #e5eaf3;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1rem 1.1rem 1rem;
    gap: 1rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* 로고 아이콘과 텍스트 사이 간격 축소 */
    margin-right: 1rem;
    /* 메뉴와 간격 */
    max-width: 130px;
    /* ✅ 폭 줄이기 */
}


.logo-mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: .85em;
    box-shadow: var(--shadow);
    border: 2.5px solid var(--navy);
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.logo-text-main {
    display: block;
    font-weight: 800;
    text-align: left;
    line-height: normal;
}

.logo-text-main span {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sky);
}

.logo-en {
    font-weight: 900;
    /* ✅ 더 두껍게 */
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: -0.1px;
}


.logo-cs {
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: -0.1px;
    max-width: 140px;
    /* ✅ 충분한 가로폭을 확보해서 줄바꿈 방지 */
    font-weight: 900;
}



.logo-cs div {
    line-height: 1.05;
    /* 매우 정밀한 줄 간격 조절 */
    margin: 0;
    padding: 0;
}




nav {
    display: flex;
    gap: 2.1rem;
}

nav a {
    font-weight: 700;
    padding: 0.8px;
    font-size: 1rem;
    color: var(--navy);
    opacity: 0.92;
    position: relative;
    padding-block: 0.15rem;
}

nav a.active,
nav a:hover {
    color: var(--mint);
    opacity: 1;
}

nav a.active::after,
nav a:hover::after {
    opacity: 1;
}

.progress-nav {
    display: none;
}

.hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-content {
    position: relative;
    max-width: 500px;
    margin-left: 1.2rem;
    color: #fff;
    text-align: left;
    padding-bottom: 0.5em;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw + 1rem, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.hero-content h2 {
    /* visual hierarchy ↓ */
    margin: .25rem 0 1.2rem 0;
    /* tight to h1, extra space below */
    font-size: clamp(1.05rem, 2vw + .4rem, 1.6rem);
    font-weight: 600;
    letter-spacing: .5px;
    color: #63b7e6;
    /* accent blue from logo */
    text-transform: uppercase;
    /* optional – matches logo vibe */
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2.0rem;
    color: #eaf8f7;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(35, 64, 142, 0.08);
}

.section-gap {
    height: 4.5rem;
    width: 100%;
    display: block;
}

.btn-primary {
    background: var(--mint);
    color: var(--navy);
    font-family: inherit;
    font-weight: 900;
    border-radius: 2em;
    font-size: 1.04rem;
    border: none;
    padding: .92em 2.2em;
    box-shadow: 0 3px 14px 0 rgba(35, 64, 142, .07);
    transition: background 0.16s, color 0.16s, transform 0.13s;
    margin-top: 0.2rem;
}

.btn-primary:hover {
    background: var(--sky);
    color: var(--white);
    transform: scale(1.03);
}

.class-section {
    margin-top: 4rem;
}

/* ---- TABLE DESIGN ---- */
.tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 1.3em 0;
    font-size: 1.07rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-table);
    margin-top: 1.1em;
    margin-bottom: 1.6em;
}

.tbl th,
.tbl td {
    padding: 1.2em 1em;
    text-align: center;
    border-bottom: 1px solid #e1e8f2;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.tbl thead th {
    background: linear-gradient(90deg, #e9f0fa 70%, #fafdff 100%);
    color: var(--navy);
    font-size: 1.13rem;
    font-weight: 900;
    border-bottom: 2.2px solid var(--sky);
    letter-spacing: 0.01em;
}

.tbl tbody tr {
    background: #fff;
    transition: background .2s;
}

.tbl tbody tr:nth-child(even) {
    background: #fafdff;
}

.tbl tbody tr:hover {
    background: #e5f6fb;
}

.tbl td {
    font-weight: 500;
}

.tbl-title {
    font-size: 1.26rem;
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 1.25em;
    margin-top: 0;
    letter-spacing: 0.01em;
    text-align: center;
}

.info-list {
    list-style: none;
    margin: 1.5em 0 2.7em 0;
    padding: 0;
    font-size: 1.03rem;
    font-weight: 400;
    color: #425377;
    line-height: 1.85;
}

.info-list li {
    margin-bottom: 1.15em;
    padding-left: 1.1em;
    position: relative;
    font-weight: 400;
}

.info-list li::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    top: .44em;
    width: .6em;
    height: .6em;
    background: var(--mint);
    border-radius: 50%;
    opacity: 0.75;
}

.info-list strong,
.info-list span {
    font-weight: 500;
    color: #294373;
}

.about-content {
    display: flex;
    gap: 2.2rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

/* Make sure the image doesn’t shrink and the text fills the rest */
.profile-photo {
    flex: 0 0 250px;
    width: 250px;
    border-radius: 1.1rem;
}

.about-content>div {
    flex: 1;
    /* take up remaining space */
}

.stairs-note {
    font-size: 1.14rem;
    margin: 4.3em 1rem;
    background: #eaf6fa;
    color: #142243;
    border-left: 5px solid #48d2c6;
    border-radius: .6em;
    padding: 1.6em 1.6em 1.5em 1.5em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 9px 0 rgba(76, 191, 203, .04);
    line-height: 1.8;
    word-break: keep-all;
}

.stairs-note .icon {
    font-size: 1.9em;
    margin-right: 0.3em;
    flex-shrink: 0;
}

.classroom-gallery-title {
    font-size: 1.28rem;
    margin-bottom: 2.1rem;
    margin-top: 1.6rem;
    text-align: center;
    font-weight: 900;
    color: #142243;
}

.info-list {
    margin-bottom: 1.5em;
    /* 클래스 설명 아래 간격 */
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery picture {
    width: 30%;
}

.gallery img {
    width: 100%;
    border-radius: 1.3rem;
    box-shadow: 0 2px 12px 0 rgba(35, 64, 142, .08);
    background: #fff;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform .18s;
}

.gallery img:hover {
    transform: scale(1.025) translateY(-4px);
    box-shadow: 0 8px 30px 0 rgba(35, 64, 142, 0.10);
    z-index: 2;
}

.contact-section {
    margin: 4.5rem auto 3.5rem auto;
    /* ← auto on the sides */
    max-width: 42rem;
    /* ← pick any width you like */
    background: #fafdff;
    border-radius: var(--radius-lg);
    padding: 2.6rem 1.6rem;
    box-shadow: var(--shadow-table);
}

.lang-switch {
    font-size: 0.9rem;
    margin-left: auto;
}

.lang-switch .lang-btn {
    all: unset;
    /* resets all default button styles */
    cursor: pointer;
    font-size: inherit;
    color: var(--navy);
    text-decoration: none;
    padding: 0.2em 0.5em;
    transition: color 0.18s;
}

.lang-switch .lang-btn:hover,
.lang-switch .lang-btn.active {
    color: var(--mint);
}

.map-container {
    margin: 3rem auto 8rem;
    max-width: 64rem;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-table);
}

/* Signup form layout & field styling */
#signup-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

#signup-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    color: var(--navy);
}

#signup-form input,
#signup-form select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    margin-top: 0.3rem;
    border: 1px solid #e1e8f2;
    border-radius: var(--radius-md);
    font-size: 1rem;
    box-sizing: border-box;
}

#signup-form button {
    justify-self: center;
}

#schedule-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
}

#schedule-table th,
#schedule-table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
}

#schedule-table th {
    background-color: #f7f9fc;
    color: #425377;
}


#activity {
    scroll-margin-top: 100px;
    /* 헤더 높이에 맞게 조절 */
}


#faq-main-toggle {
    display: block;
    width: 100%;
    background-color: #f2f4f8;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 1rem;
    text-align: left;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
}

#faq-main-content {
    display: none;
    background: #fff;
    padding: 1rem;
    border-left: 3px solid #63b7e6;
    border-radius: 0.6rem;
    margin-top: 0.7rem;
}

.faq-q {
    cursor: pointer;
    padding: 0.8rem 1rem;
    background-color: #f2f4f8;
    border: none;
    border-radius: 0.4rem;
    margin-bottom: 0.4rem;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 1.02rem;
}

.faq-q:hover {
    background-color: #e6ecf2;
}

.faq-a {
    display: none;
    padding: 0.8rem 1.2rem 1rem;
    background-color: #ffffff;
    border-left: 3px solid #63b7e6;
    border-radius: 0 0 0.4rem 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.96rem;
    line-height: 1.6;
}

.contact-heading {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 1.3rem;
}

.contact-description {
    text-align: center;
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 1rem;
    line-height: 1.75;
}

#contact-email {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
}

.map-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.map-frame {
    border: 1px solid #ccc;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-table);
}

.map-caption {
    text-align: center;
    font-size: 0.95rem;
    color: #425377;
    margin-top: 0.5rem;
}

.footer-content {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #425377;
}

.activity-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.activity-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.activity-info {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.classroom-note {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
    color: #425377;
}

/* subtle hover / focus style */
.cookie-btn {
    padding: .5rem 1.25rem;
    border: none;
    font-weight: 700;
    background: #63b7e6;
    color: #142243;
    cursor: pointer;

    /* smooth effect */
    transition: background-color .25s ease,
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
    background: #82c4e8;
    /* 10 % lighter */
}

.cookie-btn:active {
    background: #55a8d4;
    /* slightly darker when pressed */
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #142243;
    color: #fff;
    gap: 1rem;
    justify-content: center;
    z-index: 1000;
}

/* optional polish for the buttons */
.cookie-btn {
    background: #63b7e6;
    /* light blue */
    color: #142243;
    border: none;
    border-radius: 4px;
    padding: .55rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.cookie-btn:hover,
.cookie-btn:focus {
    background: #4aa0d1;
}

#content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.lesson-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-table);
    text-align: center;
    margin: 2.2rem 1.5rem;
}

/* tidy price list */
.price-list {
    list-style: none;
    margin: 1.2rem 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    font: 900 1.15rem "Montserrat";
    color: var(--navy);
}

.mode-line {
    font-weight: 700;
    margin: 1rem 0 .5rem;
}

.dot-label {
    display: none;
}
