/* =====================================================
   와와학습코칭센터
   학원 소개 about.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: #FFF0DF;
    --cream: #FFF8F1;
    --black: #222222;
    --gray: #707070;
}


/* =====================================================
   상단 헤더
===================================================== */

.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
===================================================== */

.about-hero {
    position: relative;

    width: 100%;
    min-height: 720px;

    padding: 110px 30px;

    display: flex;
    align-items: center;

    overflow: hidden;


    /* 어두운 필터 + 소개 배경사진 */

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.50),
            rgba(0, 0, 0, 0.50)
        ),
        url("./images/about1.png");


    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


/* HERO 안쪽 */

.about-hero-inner {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* HERO 글 영역 */

.hero-copy {
    width: 100%;
    max-width: 900px;

    text-align: left;
}


/* =========================
   작은 영어 문구
========================= */

.eyebrow {
    margin: 0 0 20px;

    color: #FF9A3D;

    font-size: 15px;
    font-weight: 850;

    letter-spacing: 2.4px;
}


.about-hero .eyebrow {
    text-shadow:
        0 2px 10px
        rgba(0, 0, 0, 0.25);
}


/* =========================
   HERO 큰 제목
========================= */

.hero-copy h1 {
    margin: 0;

    color: #ffffff;

    font-size: 62px;
    font-weight: 850;

    line-height: 1.2;

    letter-spacing: -2.5px;

    text-shadow:
        0 4px 20px
        rgba(0, 0, 0, 0.35);
}


.hero-copy h1 span {
    color: #FF8A1F;
}


/* =========================
   HERO 설명
========================= */

.hero-description {
    max-width: 720px;

    margin: 32px 0 0;

    color:
        rgba(255, 255, 255, 0.93);

    font-size: 18px;

    line-height: 1.9;

    text-shadow:
        0 2px 12px
        rgba(0, 0, 0, 0.35);
}


/* =====================================================
   HERO 버튼
===================================================== */

.hero-buttons {
    margin-top: 42px;

    display: flex;

    justify-content: flex-start;

    gap: 13px;
}


.button {
    display: inline-block;

    min-width: 175px;

    padding: 16px 26px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 800;

    text-align: center;

    text-decoration: none;

    transition:
        transform 0.2s,
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}


.button:hover {
    transform: translateY(-2px);
}


/* 가까운 센터 찾기 */

.button-primary {
    color: #ffffff;

    background: var(--orange);

    border: 2px solid var(--orange);
}


.button-primary:hover {
    background: var(--orange-dark);

    border-color: var(--orange-dark);
}


/* 수강료 확인하기 */

.button-secondary {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        2px solid
        rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(5px);
}


.button-secondary:hover {
    color: var(--orange);

    background: #ffffff;
}


/* =====================================================
   공통 SECTION
===================================================== */

.section-inner {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
}


.section-title {
    margin-bottom: 50px;
}


.center-title {
    text-align: center;
}


.section-title > p {
    margin: 0 0 12px;

    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;

    line-height: 1.35;

    letter-spacing: -1.7px;
}


.section-title > span {
    display: block;

    margin-top: 15px;

    color: #777777;

    font-size: 17px;

    line-height: 1.7;
}


/* =====================================================
   교육 철학
===================================================== */

.philosophy {
    padding: 120px 25px;

    background: #ffffff;
}


.philosophy-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.philosophy-card {
    min-height: 350px;

    padding: 38px 32px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 24px;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.philosophy-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.07);
}


/* 가운데 오렌지 카드 */

.philosophy-card.featured {
    color: #ffffff;

    background: var(--orange);

    border-color: var(--orange);
}


.card-number {
    margin-bottom: 65px;

    color: var(--orange);

    font-size: 15px;
    font-weight: 900;
}


.featured .card-number {
    color: #ffffff;
}


.philosophy-card h3 {
    margin: 0 0 18px;

    font-size: 27px;
    font-weight: 850;

    letter-spacing: -0.8px;
}


.philosophy-card p {
    margin: 0;

    color: #707070;

    font-size: 16px;

    line-height: 1.8;
}


.philosophy-card.featured p {
    color:
        rgba(255, 255, 255, 0.92);
}


/* =====================================================
   핵심 메시지
===================================================== */

.statement {
    position: relative;


    padding: 140px 25px;

    color: #ffffff;

    background-image: 
        linear-gradient(
            90deg,
            rgba(20, 20, 20, 0.90) 0%,
            rgba(20, 20, 20, 0.78) 42%,
            rgba(20, 20, 20, 0.48) 70%,
            rgba(20, 20, 20, 0.34) 100%

        ),
        url("images/about2.png");

        background-size: cover;

        background-position: center;

        background-repeat: no-repeat;
}


.statement-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
}


.statement-inner > p:first-child {
    margin: 0 0 25px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 850;

    letter-spacing: 2px;
}


.statement h2 {
    margin: 0;

    font-size: 55px;
    font-weight: 850;

    line-height: 1.35;

    letter-spacing: -2.2px;
}


.statement h2 span {
    color: #FF942D;
}


.statement-line {
    width: 70px;
    height: 4px;

    margin: 42px 0;

    background: var(--orange);

    border-radius: 20px;
}


.statement-description {
    margin: 0;

    color: rgba(255, 255. 255, 0.78);

    font-size: 19px;

    line-height: 1.9;
}


/* =====================================================
   학습 과정
===================================================== */

.learning-flow {
    padding: 120px 25px;

    background: #ffffff;
}


.flow-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.flow-card {
    position: relative;

    min-height: 345px;

    padding: 31px 27px;

    overflow: hidden;

    background: #FFF9F3;

    border-radius: 22px;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.flow-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(255, 122, 0, 0.08);
}


/* 뒤에 흐릿하게 보이는 숫자 */

.flow-number {
    position: absolute;

    right: 20px;
    top: 15px;

    color:
        rgba(255, 122, 0, 0.12);

    font-size: 60px;
    font-weight: 900;
}


/* 작은 오렌지 아이콘 */

.flow-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 35px;

    display: flex;

    justify-content: center;
    align-items: center;

    color: #ffffff;

    background: var(--orange);

    border-radius: 16px;

    font-size: 20px;
    font-weight: 900;
}


.flow-card h3 {
    margin: 0 0 8px;

    color: var(--orange);

    font-size: 17px;
    font-weight: 850;
}


.flow-card strong {
    display: block;

    margin-bottom: 15px;

    color: #222222;

    font-size: 21px;

    line-height: 1.45;
}


.flow-card p {
    margin: 0;

    color: #777777;

    font-size: 15px;

    line-height: 1.75;
}


/* =====================================================
   TEACHING + COACHING
===================================================== */

.balance-section {
    padding: 130px 25px;

    background: #FFF6EC;
}


.balance-inner {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}


.balance-copy .eyebrow {
    color: var(--orange);

    text-shadow: none;
}


.balance-copy h2 {
    margin: 0;

    color: #222222;

    font-size: 43px;

    font-weight: 850;

    line-height: 1.4;

    letter-spacing: -1.8px;
}


.balance-copy > p:not(.eyebrow) {
    max-width: 470px;

    margin: 25px 0 0;

    color: #6e6e6e;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================
   Teaching + Coaching 카드
========================= */

.balance-visual {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;
}


.balance-card {
    width: 230px;

    padding: 35px 30px;

    border-radius: 25px;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.balance-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.08);
}


.balance-card span {
    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.balance-card h3 {
    margin: 13px 0 22px;

    font-size: 27px;
    font-weight: 850;
}


.balance-card p {
    margin: 0;

    font-size: 16px;

    line-height: 2;
}


/* Teaching */

.teaching {
    color: #333333;

    background: #ffffff;

    border:
        2px solid var(--orange);
}


.teaching span {
    color: var(--orange);
}


/* Coaching */

.coaching {
    color: #ffffff;

    background: var(--orange);
}


.plus-symbol {
    color: var(--orange);

    font-size: 35px;
    font-weight: 300;
}


/* =====================================================
   마지막 CTA
===================================================== */

.final-cta {
    padding: 110px 25px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #FF850F,
            #F36A00
        );
}


.final-cta-inner {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


.final-cta-inner > p {
    margin: 0 0 16px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 2px;
}


.final-cta h2 {
    margin: 0;

    font-size: 47px;
    font-weight: 850;

    line-height: 1.35;

    letter-spacing: -1.8px;
}


.final-cta-inner > span {
    display: block;

    margin-top: 19px;

    color:
        rgba(255, 255, 255, 0.9);

    font-size: 17px;
}


.cta-buttons {
    margin-top: 38px;

    display: flex;

    justify-content: center;

    gap: 12px;
}


.cta-buttons a {
    min-width: 180px;

    padding: 17px 27px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 850;

    text-decoration: none;

    transition:
        transform 0.2s,
        background 0.2s;
}


.cta-buttons a:hover {
    transform:
        translateY(-2px);
}


.cta-white {
    color: var(--orange);

    background: #ffffff;
}


.cta-dark {
    color: #ffffff;

    background: #242424;
}


/* =====================================================
   중간 크기 화면
===================================================== */

@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;
    }


    /* HERO */

    .about-hero {
        min-height: 700px;
    }


    .hero-copy {
        max-width: 850px;
    }


    /* 교육 철학 */

    .philosophy-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    /* 학습 과정 */

    .flow-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* Teaching + Coaching */

    .balance-inner {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .balance-copy {
        text-align: center;
    }


    .balance-copy > p:not(.eyebrow) {
        margin-left: auto;
        margin-right: 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
    ========================= */

    .about-hero {
        min-height: 680px;

        padding: 80px 20px;

        background-position:
            center center;
    }


    .hero-copy {
        max-width: 100%;

        text-align: center;
    }


    .about-hero .eyebrow {
        font-size: 13px;
    }


    .hero-copy h1 {
        font-size: 42px;

        line-height: 1.3;

        letter-spacing: -1.5px;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 16px;

        line-height: 1.8;
    }


    .hero-buttons {
        justify-content: center;

        flex-direction: column;

        align-items: center;
    }


    .button {
        width: 100%;

        max-width: 320px;
    }


    /* =========================
       공통 제목
    ========================= */

    .section-title h2 {
        font-size: 33px;
    }


    /* =========================
       교육 철학
    ========================= */

    .philosophy {
        padding: 85px 20px;
    }


    .philosophy-grid {
        grid-template-columns: 1fr;
    }


    .philosophy-card {
        min-height: auto;
    }


    .card-number {
        margin-bottom: 40px;
    }


    /* =========================
       핵심 메시지
    ========================= */

    .statement {
        padding: 90px 20px;
    }


    .statement h2 {
        font-size: 38px;
    }


    .statement-description {
        font-size: 17px;
    }


    /* =========================
       학습 과정
    ========================= */

    .learning-flow {
        padding: 85px 20px;
    }


    .flow-grid {
        grid-template-columns: 1fr;
    }


    .flow-card {
        min-height: auto;
    }


    /* =========================
       Teaching + Coaching
    ========================= */

    .balance-section {
        padding: 90px 20px;
    }


    .balance-copy h2 {
        font-size: 34px;
    }


    .balance-visual {
        flex-direction: column;
    }


    .balance-card {
        width: 100%;
        max-width: 330px;
    }


    .plus-symbol {
        transform:
            rotate(90deg);
    }


    /* =========================
       CTA
    ========================= */

    .final-cta {
        padding: 85px 20px;
    }


    .final-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-copy h1 {
        font-size: 36px;
    }


    .statement h2 {
        font-size: 33px;
    }


    .final-cta h2 {
        font-size: 31px;
    }

}

/* =====================================================
   MOBILE PHOTO FIX - ABOUT
===================================================== */

/* =====================================================
   MOBILE PHOTO FIX - ABOUT 최종
===================================================== */

@media (max-width: 768px) {

    .statement {
        position: relative;

        min-height: 680px !important;

        padding:
            310px 20px
            80px !important;

        background-color: #202020 !important;

        background-image:
            linear-gradient(
                180deg,
                rgba(20, 20, 20, 0.02) 0%,
                rgba(20, 20, 20, 0.08) 35%,
                rgba(20, 20, 20, 0.82) 64%,
                #202020 100%
            ),
            url("images/about2.png") !important;

        background-size:
            100% auto !important;

        background-position:
            top center !important;

        background-repeat:
            no-repeat !important;
    }


    .statement-inner {
        position: relative;
        z-index: 2;
    }


    .statement h2 {
        font-size: 38px;
    }


    .statement-description {
        font-size: 16px;
    }

}

/* =====================================================
   MOBILE PHOTO FIX - ABOUT TOP HERO
===================================================== */

@media (max-width: 768px) {

    .about-hero {
        min-height: 760px !important;

        padding:
            330px 20px
            80px !important;

        align-items: flex-start !important;

        background-color: #202020 !important;

        background-image:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.12) 32%,
                rgba(0, 0, 0, 0.75) 58%,
                #202020 100%
            ),
            url("./images/about1.png") !important;

        background-size:
            100% 100%,
            100% auto !important;

        background-position:
            center,
            top center !important;

        background-repeat:
            no-repeat !important;
    }


    .about-hero-inner {
        width: 100%;
    }


    .about-hero .hero-copy {
        max-width: 100%;

        text-align: center;
    }

}