/* =====================================================
   와와학습코칭센터
   수강료 tuition.css 최종 정리본
===================================================== */


/* =========================
   기본 설정
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        "SUIT",
        "Noto Sans KR",
        Arial,
        sans-serif;

    color: #222222;
    background: #ffffff;

    word-break: keep-all;
}

a {
    color: inherit;
}


/* =========================
   브랜드 컬러
========================= */

:root {
    --orange: #FF7A00;
    --orange-dark: #E96B00;
    --orange-light: #FFF1E2;
    --cream: #FFF8F1;
    --black: #222222;
    --gray: #737373;
}


/* =====================================================
   상단 헤더
===================================================== */

.header {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;
}


.header-inner {
    width: 100%;
    max-width: 1380px;

    min-height: 96px;

    margin: 0 auto;
    padding: 18px 32px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;
}


/* =========================
   왼쪽 로고
========================= */

.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    text-decoration: none;

    white-space: nowrap;
}


.logo-mark {
    display: block;

    width: 72px;
    height: auto;

    max-height: 38px;

    object-fit: contain;
}


.logo-text {
    display: block;

    color: var(--orange);

    font-size: 27px;
    font-weight: 850;

    line-height: 1;

    letter-spacing: -0.8px;
}


/* =========================
   상단 메뉴
========================= */

.nav {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 25px;

    flex-wrap: nowrap;
}


.nav a {
    position: relative;

    color: #222222;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.2s,
        transform 0.2s;
}


.nav a:hover {
    color: var(--orange);

    transform: translateY(-1px);
}


.nav a.active {
    color: var(--orange);
}


.nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -11px;

    width: 6px;
    height: 6px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--orange);
}


/* =====================================================
   HERO
===================================================== */

.tuition-hero {
    position: relative;

    min-height: 670px;

    padding: 100px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(255, 248, 241, 0.02) 0%,
            rgba(255, 248, 241, 0.06) 30%,
            rgba(255, 248, 241, 0.16) 50%,
            rgba(255, 248, 241, 0.28) 72%,
            rgba(255, 248, 241, 0.38) 100%
        ),
        url("images/tuition1.png");

    background-size: cover;

    background-position: left center;

    background-repeat: no-repeat;
}


/* 뒤쪽 큰 원화 표시 */

.tuition-hero::after {
    content: "₩";

    position: absolute;

    right: 8%;
    top: 15px;

    color:
        rgba(255, 122, 0, 0.055);

    font-size: 330px;
    font-weight: 900;

    line-height: 1;
}


.tuition-hero-inner {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    text-align: center;
}


/* 작은 영문 */

.eyebrow {
    margin: 0 0 18px;

    color: var(--orange);

    font-size: 14px;
    font-weight: 850;

    letter-spacing: 2.5px;
}


/* 큰 제목 */

.tuition-hero h1 {
    margin: 0;

    color: #202020;

    font-size: 58px;
    font-weight: 850;

    line-height: 1.22;

    letter-spacing: -2.3px;
}


.tuition-hero h1 span {
    color: var(--orange);
}


/* 설명 */

.hero-description {
    margin: 25px 0 0;

    color: #707070;

    font-size: 18px;

    line-height: 1.75;
}


/* 수강료 확인 버튼 */

.hero-button {
    display: inline-block;

    margin-top: 38px;

    padding: 16px 29px;

    color: #ffffff;

    background: var(--orange);

    border-radius: 12px;

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.2s,
        transform 0.2s;
}


.hero-button:hover {
    background: var(--orange-dark);

    transform: translateY(-2px);
}


/* =====================================================
   공통 영역
===================================================== */

.section-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}


.section-title {
    margin-bottom: 48px;

    text-align: center;
}


.section-title > p {
    margin: 0 0 11px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 850;

    letter-spacing: 2px;
}


.section-title h2 {
    margin: 0;

    color: #222222;

    font-size: 42px;
    font-weight: 850;

    letter-spacing: -1.7px;
}


.section-title > span {
    display: block;

    margin-top: 13px;

    color: #7a7a7a;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   수강료 SECTION
===================================================== */

.price-section {
    padding: 110px 25px;

    background: #ffffff;
}


/* 지방 / 수도권 */

.region-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 22px;
}


/* =========================
   지역 카드
========================= */

.region-card {
    padding: 32px;

    background: #ffffff;

    border: 1px solid #ededed;

    border-radius: 26px;

    box-shadow:
        0 18px 55px
        rgba(0, 0, 0, 0.055);

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.region-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 23px 60px
        rgba(0, 0, 0, 0.075);
}


.premium-card {
    border:
        2px solid
        rgba(255, 122, 0, 0.30);
}


/* 지역 카드 제목 */

.region-card-header {
    margin-bottom: 26px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;
}


.region-card-header p {
    margin: 0 0 6px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 1.7px;
}


.region-card-header h3 {
    margin: 0;

    color: #222222;

    font-size: 31px;
    font-weight: 850;

    letter-spacing: -1px;
}


.region-badge {
    padding: 8px 13px;

    color: var(--orange);

    background: var(--orange-light);

    border-radius: 50px;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}


/* =====================================================
   가격 한 줄
===================================================== */

.price-row {
    position: relative;

    margin-top: 11px;

    padding: 22px 18px;

    display: grid;

    grid-template-columns:
        0.85fr
        repeat(3, 1fr);

    gap: 10px;

    align-items: center;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 17px;
}


/* 추천 행 */

.featured-row {
    background:
        linear-gradient(
            135deg,
            #FFF6EB,
            #FFF9F4
        );

    border-color:
        rgba(255, 122, 0, 0.22);
}


/* =========================
   주 5회 / 주 4회 / 주 3회
========================= */

.frequency {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.frequency > span {
    width: fit-content;

    padding: 4px 8px;

    color: #ffffff;

    background: var(--orange);

    border-radius: 30px;

    font-size: 10px;
    font-weight: 850;
}


.frequency strong {
    color: #222222;

    font-size: 18px;
    font-weight: 850;
}


/* =========================
   초등 / 중등 / 고등 가격
========================= */

.school-price {
    min-width: 0;

    padding-left: 12px;

    border-left:
        1px solid #e6e6e6;
}


.school-price small {
    display: block;

    margin-bottom: 5px;

    color: #898989;

    font-size: 12px;
    font-weight: 700;
}


.school-price strong {
    color: #252525;

    font-size: 21px;
    font-weight: 850;

    letter-spacing: -0.5px;
}


.school-price > span {
    margin-left: 2px;

    color: #777777;

    font-size: 12px;
}


.unavailable strong {
    color: #bbbbbb;
}


/* =====================================================
   수강료 안내문
===================================================== */

.price-notice {
    max-width: 900px;

    margin: 32px auto 0;

    padding: 19px 23px;

    display: flex;

    align-items: flex-start;

    gap: 13px;

    color: #6e6258;

    background: #FFF7EF;

    border-radius: 15px;
}


.price-notice > span {
    flex-shrink: 0;

    width: 25px;
    height: 25px;

    display: flex;

    justify-content: center;
    align-items: center;

    color: #ffffff;

    background: var(--orange);

    border-radius: 50%;

    font-size: 13px;
    font-weight: 850;
}


.price-notice p {
    margin: 1px 0 0;

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   FAQ
===================================================== */

.faq-section {
    padding: 115px 25px;

    background: #FFF9F3;
}


.faq-title {
    margin-bottom: 40px;
}


.faq-list {
    max-width: 900px;

    margin: 0 auto;
}


.faq-item {
    margin-bottom: 13px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 18px;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.faq-item[open] {
    border-color:
        rgba(255, 122, 0, 0.35);

    box-shadow:
        0 10px 30px
        rgba(255, 122, 0, 0.06);
}


/* FAQ 질문 */

.faq-item summary {
    position: relative;

    padding:
        25px
        65px
        25px
        27px;

    display: flex;

    align-items: center;

    gap: 18px;

    cursor: pointer;

    list-style: none;

    color: #292929;

    font-size: 17px;
    font-weight: 800;
}


.faq-item summary::-webkit-details-marker {
    display: none;
}


.faq-item summary::after {
    content: "+";

    position: absolute;

    right: 27px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--orange);

    font-size: 26px;
    font-weight: 400;
}


.faq-item[open] summary::after {
    content: "−";
}


.faq-item summary > span {
    color: var(--orange);

    font-size: 13px;
    font-weight: 900;
}


/* FAQ 답변 */

.faq-answer {
    padding:
        0
        65px
        28px
        58px;

    color: #6e6e6e;

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   마지막 상담 CTA
===================================================== */

.tuition-cta {
    padding: 110px 25px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #FF8615,
            #EF6900
        );
}


.tuition-cta-inner {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


.tuition-cta-inner > p {
    margin: 0 0 14px;

    font-size: 16px;
    font-weight: 700;
}


.tuition-cta h2 {
    margin: 0;

    font-size: 46px;
    font-weight: 850;

    line-height: 1.35;

    letter-spacing: -1.8px;
}


.tuition-cta-inner > span {
    display: block;

    margin-top: 17px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 16px;
}


/* CTA 버튼 */

.cta-buttons {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    gap: 11px;
}


.cta-buttons a {
    min-width: 180px;

    padding: 16px 25px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 850;

    text-decoration: none;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.cta-buttons a:hover {
    transform: translateY(-2px);
}


.cta-light {
    color: var(--orange);

    background: #ffffff;
}


.cta-dark {
    color: #ffffff;

    background: #222222;
}


/* =====================================================
   중간 화면
===================================================== */

@media (max-width: 1150px) {

    .header-inner {
        padding: 16px 22px;

        gap: 20px;
    }


    .logo-mark {
        width: 62px;

        max-height: 34px;
    }


    .logo-text {
        font-size: 23px;
    }


    .nav {
        gap: 16px;
    }


    .nav a {
        font-size: 14px;
    }

}


/* =====================================================
   태블릿
===================================================== */

@media (max-width: 1000px) {

    /* 헤더 */

    .header-inner {
        flex-direction: column;

        justify-content: center;

        gap: 18px;
    }


    .nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 15px 20px;
    }


    /* 가격 카드 */

    .region-grid {
        grid-template-columns: 1fr;

        max-width: 760px;

        margin: 0 auto;
    }

}


/* =====================================================
   모바일
===================================================== */

@media (max-width: 768px) {

    /* =========================
       헤더
    ========================= */

    .header-inner {
        min-height: auto;

        padding: 17px 15px;

        flex-direction: column;

        gap: 17px;
    }


    .logo {
        justify-content: center;

        gap: 10px;
    }


    .logo-mark {
        width: 58px;

        max-height: 30px;
    }


    .logo-text {
        font-size: 22px;
    }


    .nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 13px 16px;
    }


    .nav a {
        font-size: 14px;
    }


    .nav a.active::after {
        bottom: -8px;
    }


    /* =========================
       HERO
    ========================= */

    .tuition-hero {
        padding:
            85px
            20px
            95px;
    }


    .tuition-hero::after {
        right: -25px;

        font-size: 190px;
    }


    .tuition-hero h1 {
        font-size: 40px;

        letter-spacing: -1.4px;
    }


    .hero-description {
        font-size: 16px;
    }


    /* =========================
       공통
    ========================= */

    .price-section,
    .faq-section {
        padding:
            80px
            18px;
    }


    .section-title h2 {
        font-size: 33px;
    }


    /* =========================
       지역 카드
    ========================= */

    .region-card {
        padding:
            21px
            14px;
    }


    .region-card-header {
        padding:
            5px
            5px
            0;
    }


    .region-card-header h3 {
        font-size: 27px;
    }


    /* =========================
       가격 행
    ========================= */

    .price-row {
        padding:
            19px
            10px;

        grid-template-columns:
            0.72fr
            repeat(3, 1fr);

        gap: 4px;
    }


    .frequency strong {
        font-size: 15px;
    }


    .school-price {
        padding-left: 7px;
    }


    .school-price strong {
        font-size: 15px;

        letter-spacing: -0.7px;
    }


    .school-price > span {
        display: block;

        margin:
            2px
            0
            0;
    }


    /* =========================
       FAQ
    ========================= */

    .faq-item summary {
        padding:
            22px
            55px
            22px
            20px;

        gap: 12px;

        font-size: 15px;
    }


    .faq-item summary::after {
        right: 19px;
    }


    .faq-answer {
        padding:
            0
            22px
            23px
            48px;

        font-size: 14px;
    }


    /* =========================
       CTA
    ========================= */

    .tuition-cta {
        padding:
            85px
            20px;
    }


    .tuition-cta h2 {
        font-size: 35px;
    }


    .cta-buttons {
        flex-direction: column;

        align-items: center;
    }


    .cta-buttons a {
        width: 100%;

        max-width: 310px;
    }

}


/* =====================================================
   아주 작은 휴대폰
===================================================== */

@media (max-width: 430px) {

    /* 로고 */

    .logo-mark {
        width: 52px;
    }


    .logo-text {
        font-size: 20px;
    }


    /* 메뉴 */

    .nav {
        gap: 11px 13px;
    }


    .nav a {
        font-size: 13px;
    }


    /* HERO */

    .tuition-hero h1 {
        font-size: 35px;
    }


    /* 가격 */

    .price-row {
        grid-template-columns:
            0.70fr
            repeat(3, 1fr);

        padding:
            17px
            7px;
    }


    .frequency strong {
        font-size: 14px;
    }


    .school-price {
        padding-left: 5px;
    }


    .school-price small {
        font-size: 11px;
    }


    .school-price strong {
        font-size: 13px;

        letter-spacing: -0.8px;
    }


    .school-price > span {
        font-size: 10px;
    }


    /* FAQ */

    .faq-item summary {
        font-size: 14px;
    }


    /* CTA */

    .tuition-cta h2 {
        font-size: 31px;
    }

}

.tuition-hero::before,
.tuition-hero::after {
    opacity: 0;
}

/* =====================================================
   MOBILE PHOTO FIX - TUITION
===================================================== */

@media (max-width: 768px) {

    .tuition-hero {
        min-height: 680px;

        padding:
            310px 20px
            75px;

        align-items: flex-start;
        justify-content: center;

        background-color: #FFF8F1;

        background-image:
            linear-gradient(
                180deg,
                rgba(255, 248, 241, 0.02) 0%,
                rgba(255, 248, 241, 0.08) 42%,
                rgba(255, 248, 241, 0.92) 68%,
                #FFF8F1 100%
            ),
            url("images/tuition1.png");

        background-size:
            100% auto;

        background-position:
            top center;

        background-repeat:
            no-repeat;
    }

}
