/* =====================================================
   WAWA CENTER FINDER
===================================================== */


/* =========================
   BASIC
========================= */

* {
    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;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
}

:root {
    --orange: #FF7A00;
    --orange-dark: #E96D00;

    --cream: #FFF7EF;
    --cream2: #FFF0E1;

    --black: #202020;

    --gray: #777777;
    --light-gray: #F6F6F6;
    --line: #EAEAEA;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: relative;

    z-index: 100;

    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 */

.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 */

.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);
}


/* =====================================================
   INTRO
===================================================== */

.center-intro {
    padding:
        65px 28px 48px;

    background:
        linear-gradient(
            135deg,
            #FFF9F3,
            #FFF0DF
        );
}

.center-intro-inner {
    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.intro-label {
    margin:
        0 0 14px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2.3px;
}

.center-intro h1 {
    margin: 0;

    font-size:
        clamp(
            42px,
            5vw,
            62px
        );

    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -2.5px;
}

.intro-description {
    margin: 0 0 8px;

    color: #777777;

    font-size: 16px;

    line-height: 1.75;
}


/* =====================================================
   FINDER
===================================================== */

.finder-section {
    padding:
        32px 28px
        100px;

    background: #ffffff;
}

.finder-shell {
    width: 100%;
    max-width: 1380px;

    min-height: 760px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        390px minmax(0, 1fr);

    overflow: hidden;

    border:
        1px solid #eaeaea;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.07);
}


/* =====================================================
   SIDEBAR
===================================================== */

.finder-sidebar {
    min-width: 0;

    background: #ffffff;

    border-right:
        1px solid #ececec;
}

.sidebar-top {
    padding:
        30px 26px 22px;

    border-bottom:
        1px solid #eeeeee;
}

.sidebar-title {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}

.sidebar-title p {
    margin:
        0 0 5px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.7px;
}

.sidebar-title h2 {
    margin: 0;

    font-size: 27px;
    font-weight: 900;

    letter-spacing: -1px;
}

.sidebar-title > span {
    min-width: 55px;

    padding:
        8px 10px;

    color: var(--orange);

    background: var(--cream);

    border-radius: 999px;

    text-align: center;

    font-size: 12px;
    font-weight: 900;
}


/* SEARCH */

.search-form {
    position: relative;

    margin-top: 24px;
}

.search-form input {
    width: 100%;
    height: 54px;

    padding:
        0 65px 0 17px;

    outline: none;

    border:
        1.5px solid #dddddd;

    border-radius: 14px;

    background: #ffffff;

    color: #222222;

    font-size: 14px;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.search-form input:focus {
    border-color:
        var(--orange);

    box-shadow:
        0 0 0 4px
        rgba(255, 122, 0, 0.08);
}

.search-form input::placeholder {
    color: #aaaaaa;
}

.search-form button {
    position: absolute;

    right: 6px;
    top: 6px;

    width: 42px;
    height: 42px;

    cursor: pointer;

    background:
        var(--orange);

    border-radius: 11px;
}

.search-form button:hover {
    background:
        var(--orange-dark);
}


/* 검색 아이콘 */

.search-form button span {
    position: absolute;

    left: 13px;
    top: 12px;

    width: 14px;
    height: 14px;

    border:
        2px solid #ffffff;

    border-radius: 50%;
}

.search-form button span::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -5px;
    bottom: -3px;

    transform:
        rotate(45deg);

    background: #ffffff;

    border-radius: 10px;
}


/* QUICK */

.quick-search {
    margin-top: 14px;

    display: flex;

    align-items: center;

    gap: 7px;

    flex-wrap: wrap;
}

.quick-search > span {
    margin-right: 3px;

    color: #999999;

    font-size: 11px;
    font-weight: 700;
}

.keyword-btn {
    padding:
        7px 10px;

    cursor: pointer;

    color: var(--orange);

    background: #ffffff;

    border:
        1px solid #FFD4AE;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.keyword-btn:hover {
    color: #ffffff;

    background: var(--orange);

    border-color:
        var(--orange);
}


/* FILTER */

.filter-row {
    margin-top: 25px;

    padding-top: 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-top:
        1px solid #eeeeee;
}

.result-count {
    display: flex;

    align-items: baseline;

    gap: 3px;
}

.result-count strong {
    color: var(--orange);

    font-size: 22px;
    font-weight: 900;
}

.result-count span {
    color: #555555;

    font-size: 13px;
    font-weight: 750;
}

#regionFilter {
    min-width: 118px;
    height: 40px;

    padding:
        0 34px 0 12px;

    cursor: pointer;

    outline: none;

    color: #444444;

    background: #ffffff;

    border:
        1px solid #dddddd;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;
}

.result-message {
    margin:
        12px 0 0;

    color: #9a9a9a;

    font-size: 11px;

    line-height: 1.5;
}


/* =====================================================
   CENTER LIST
===================================================== */

.center-list {
    height: 565px;

    overflow-y: auto;

    overscroll-behavior:
        contain;
}

.center-list::-webkit-scrollbar {
    width: 7px;
}

.center-list::-webkit-scrollbar-track {
    background: #f4f4f4;
}

.center-list::-webkit-scrollbar-thumb {
    background: #dddddd;

    border-radius: 999px;
}


/* ITEM */

.center-list-item {
    position: relative;

    padding:
        24px 25px;

    cursor: pointer;

    border-bottom:
        1px solid #eeeeee;

    background: #ffffff;

    transition:
        background 0.2s;
}

.center-list-item:hover {
    background: #FFFBF7;
}

.center-list-item.selected {
    background: #FFF5EA;
}

.center-list-item.selected::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--orange);
}

.center-item-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}

.center-item-region {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.5px;
}

.center-list-item h3 {
    margin: 0;

    color: #222222;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: -0.6px;
}

.center-select-arrow {
    color: #cccccc;

    font-size: 20px;
    font-weight: 500;
}

.center-list-item.selected
.center-select-arrow {
    color: var(--orange);
}

.center-item-address {
    margin:
        10px 0 0;

    color: #888888;

    font-size: 13px;

    line-height: 1.55;
}

.center-item-meta {
    margin-top: 14px;

    display: flex;

    align-items: center;

    gap: 6px;

    flex-wrap: wrap;
}

.center-item-meta span {
    padding:
        5px 8px;

    color: #777777;

    background: #f5f5f5;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 700;
}


/* empty */

.no-result {
    padding:
        80px 28px;

    text-align: center;
}

.no-result strong {
    display: block;

    color: #333333;

    font-size: 18px;
    font-weight: 900;
}

.no-result p {
    margin:
        10px 0 0;

    color: #999999;

    font-size: 13px;

    line-height: 1.65;
}


/* =====================================================
   LOCATION PANEL
===================================================== */

.location-panel {
    min-width: 0;

    padding: 34px;

    background:
        #FCFCFC;
}

.location-panel-head {
    margin-bottom: 21px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.location-panel-head p {
    margin:
        0 0 6px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.location-panel-head h2 {
    margin: 0;

    font-size: 27px;
    font-weight: 900;

    letter-spacing: -1px;
}

.location-region {
    padding:
        8px 12px;

    color: var(--orange);

    background:
        #FFF0E1;

    border-radius:
        999px;

    font-size: 11px;
    font-weight: 850;
}

/* =====================================================
   LOCATION VISUAL
===================================================== */

.location-visual {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    border:
        1px solid #F0E1D2;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #FFF9F3 0%,
            #FFF1E3 100%
        );

    box-shadow:
        0 18px 50px
        rgba(70, 45, 20, 0.07);
}


/* 배경 장식 */

.location-visual::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -140px;
    top: -160px;

    border:
        70px solid
        rgba(255, 122, 0, 0.055);

    border-radius: 50%;
}


.location-visual::after {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    left: -100px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(255, 122, 0, 0.05);
}


.location-watermark {
    position: absolute;

    right: 38px;
    bottom: 18px;

    color:
        rgba(255, 122, 0, 0.055);

    font-size: 105px;
    font-weight: 950;

    letter-spacing: -7px;

    pointer-events: none;
}


/* =========================
   실제 내용
========================= */

.location-content {
    position: relative;
    z-index: 2;

    min-height: 560px;

    padding: 48px;

    display: flex;
    flex-direction: column;
}


.location-content-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;
}


.location-label {
    margin: 0 0 10px;

    color: #FF7A00;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}


.location-content h3 {
    margin: 0;

    color: #202020;

    font-size: 42px;
    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -1.7px;
}


.location-area-badge {
    flex-shrink: 0;

    padding: 9px 15px;

    color: #FF7A00;

    background: #ffffff;

    border:
        1px solid #FFD4AE;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 850;
}


.location-address {
    max-width: 720px;

    margin: 21px 0 0;

    color: #696969;

    font-size: 17px;

    line-height: 1.7;
}


.location-divider {
    width: 100%;
    height: 1px;

    margin: 35px 0;

    background:
        rgba(0, 0, 0, 0.08);
}


/* =========================
   SUBJECT / SCHOOL / LEVEL
========================= */

.location-stats {
    display: grid;

    grid-template-columns:
        0.8fr 0.8fr 1.4fr;

    gap: 12px;
}


.location-stat {
    min-height: 135px;

    padding: 23px;

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid
        rgba(0, 0, 0, 0.05);

    border-radius: 18px;
}


.location-stat span {
    display: block;

    margin-bottom: 12px;

    color: #FF7A00;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;
}


.location-stat strong {
    display: block;

    color: #202020;

    font-size: 34px;
    font-weight: 900;

    line-height: 1.1;
}


.location-stat strong.level-value {
    font-size: 18px;

    line-height: 1.45;
}


.location-stat p {
    margin: 10px 0 0;

    color: #999999;

    font-size: 11px;
}


/* =========================
   센터 기본 정보
========================= */

.location-detail-grid {
    margin-top: 12px;

    display: grid;

    grid-template-columns:
        1.1fr 1fr 1fr;

    gap: 12px;
}


.location-detail-item {
    min-width: 0;

    min-height: 100px;

    padding: 19px 20px;

    background:
        rgba(255, 255, 255, 0.68);

    border:
        1px solid
        rgba(0, 0, 0, 0.045);

    border-radius: 15px;
}


.location-detail-item span {
    display: block;

    margin-bottom: 8px;

    color: #A1A1A1;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}


.location-detail-item strong {
    display: block;

    color: #444444;

    font-size: 12px;
    font-weight: 750;

    line-height: 1.55;
}


/* =========================
   버튼
========================= */

.location-buttons {
    margin-top: auto;
    padding-top: 28px;

    display: flex;

    gap: 10px;
}


.location-buttons a {
    min-width: 180px;

    padding:
        15px 20px;

    border-radius: 12px;

    text-align: center;

    font-size: 13px;
    font-weight: 850;

    text-decoration: none;

    transition:
        transform 0.2s,
        background 0.2s;
}


.location-buttons a:hover {
    transform:
        translateY(-2px);
}


.location-primary {
    color: #ffffff;

    background: #FF7A00;
}


.location-primary:hover {
    background: #E96D00;
}


.location-secondary {
    color: #333333;

    background: #ffffff;

    border:
        1px solid #E5E5E5;
}


.location-secondary:hover {
    background: #F7F7F7;
}


/* =====================================================
   LOCATION RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .location-content {
        padding: 38px;
    }

}


@media (max-width: 768px) {

    .location-visual,
    .location-content {
        min-height: auto;
    }


    .location-content {
        padding: 30px 22px;
    }


    .location-content h3 {
        font-size: 34px;
    }


    .location-address {
        font-size: 15px;
    }


    .location-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .location-stat:last-child {
        grid-column:
            1 / -1;
    }


    .location-detail-grid {
        grid-template-columns: 1fr;
    }


    .location-buttons {
        margin-top: 25px;

        flex-direction: column;
    }


    .location-buttons a {
        width: 100%;
    }


    .location-watermark {
        font-size: 70px;
    }

}

/* =====================================================
   SELECTED SUMMARY
===================================================== */

.selected-summary {
    margin-top: 15px;

    display: grid;

    grid-template-columns:
        1.2fr 1fr 1fr;

    gap: 10px;
}

.summary-item {
    min-width: 0;

    padding:
        18px 17px;

    background: #ffffff;

    border:
        1px solid #eeeeee;

    border-radius: 14px;
}

.summary-item span {
    display: block;

    margin-bottom: 6px;

    color: #aaaaaa;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.7px;
}

.summary-item strong {
    display: block;

    overflow: hidden;

    color: #444444;

    font-size: 11px;
    font-weight: 750;

    line-height: 1.5;
}


/* =====================================================
   CTA
===================================================== */

.center-cta {
    padding:
        90px 28px;

    background:
        #1E1E1E;
}

.center-cta-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.center-cta p {
    margin:
        0 0 10px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.7px;
}

.center-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    font-weight: 900;

    line-height: 1.3;

    letter-spacing: -1.6px;
}

.center-cta a {
    flex-shrink: 0;

    padding:
        17px 25px;

    color: #ffffff;

    background:
        var(--orange);

    border-radius: 12px;

    font-size: 14px;
    font-weight: 850;

    text-decoration: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1150px) {

    .header-inner {
        padding:
            16px 22px;
    }

    .logo-mark {
        width: 62px;

        max-height: 34px;
    }

    .logo-text {
        font-size: 23px;
    }

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 14px;
    }


    .finder-shell {
        grid-template-columns:
            340px minmax(0, 1fr);
    }

    .location-panel {
        padding: 25px;
    }

}


/* =====================================================
   MID
===================================================== */

@media (max-width: 950px) {

    .header-inner {
        flex-direction: column;

        justify-content: center;

        gap: 17px;
    }

    .nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }


    .center-intro-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }


    .finder-shell {
        display: block;
    }

    .finder-sidebar {
        border-right: 0;

        border-bottom:
            1px solid #eeeeee;
    }

    .center-list {
        height: 420px;
    }

    .location-panel {
        padding: 28px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@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;
    }


    /* intro */

    .center-intro {
        padding:
            55px 20px 40px;
    }

    .center-intro h1 {
        font-size: 40px;

        letter-spacing: -1.7px;
    }

    .intro-description {
        font-size: 14px;
    }


    /* finder */

    .finder-section {
        padding:
            20px 14px
            70px;
    }

    .finder-shell {
        border-radius: 19px;
    }

    .sidebar-top {
        padding:
            25px 20px
            20px;
    }

    .center-list {
        height: 390px;
    }

    .center-list-item {
        padding:
            21px 20px;
    }


    /* panel */

    .location-panel {
        padding:
            25px 18px;
    }

    .location-panel-head h2 {
        font-size: 23px;
    }

    .map-visual {
        min-height: 570px;
    }

    .map-center-pin {
        left: 50%;
        top: 24%;
    }

    .map-info-card {
        left: 18px;
        bottom: 18px;

        width:
            calc(100% - 36px);

        padding: 23px;
    }

    .map-note {
        display: none;
    }

    .selected-summary {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .center-cta {
        padding:
            70px 20px;
    }

    .center-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 430px) {

    .logo-mark {
        width: 52px;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav {
        gap:
            11px 13px;
    }

    .nav a {
        font-size: 13px;
    }


    .center-intro h1 {
        font-size: 34px;
    }


    .filter-row {
        align-items: flex-start;

        flex-direction: column;
    }

    #regionFilter {
        width: 100%;
    }


    .map-mini-stats {
        grid-template-columns: 1fr 1fr;
    }

    .map-mini-stats div:last-child {
        grid-column:
            1 / -1;
    }

    .map-buttons {
        flex-direction: column;
    }

}

/* =====================================================
   LOCATION DARK STYLE
   오른쪽 선택 센터 영역
===================================================== */

.location-visual {
    background:
        linear-gradient(
            145deg,
            #242424 0%,
            #171717 100%
        );

    border-color:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 22px 60px
        rgba(0, 0, 0, 0.18);
}


/* 오른쪽 위 원형 장식 */

.location-visual::before {
    border-color:
        rgba(255, 122, 0, 0.10);
}

.location-visual::after {
    background:
        rgba(255, 122, 0, 0.07);
}


/* WAWA 워터마크 */

.location-watermark {
    color:
        rgba(255, 122, 0, 0.07);
}


/* LOCATION */

.location-label {
    color: #FF7A00;
}


/* 센터명 */

.location-content h3 {
    color: #ffffff;
}


/* 주소 */

.location-address {
    color:
        rgba(255, 255, 255, 0.68);
}


/* 지역 뱃지 */

.location-area-badge {
    color: #FF8A1E;

    background:
        rgba(255, 122, 0, 0.10);

    border-color:
        rgba(255, 122, 0, 0.40);
}


/* 구분선 */

.location-divider {
    background:
        rgba(255, 255, 255, 0.10);
}


/* =====================================================
   SUBJECT / SCHOOL / LEVEL
===================================================== */

.location-stat {
    background:
        rgba(255, 255, 255, 0.065);

    border-color:
        rgba(255, 255, 255, 0.09);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.03);
}


.location-stat span {
    color: #FF8A1E;
}


.location-stat strong {
    color: #ffffff;
}


.location-stat p {
    color:
        rgba(255, 255, 255, 0.48);
}


/* =====================================================
   ADDRESS / ACADEMY / REGISTRATION
===================================================== */

.location-detail-item {
    background:
        rgba(255, 255, 255, 0.045);

    border-color:
        rgba(255, 255, 255, 0.08);
}


.location-detail-item span {
    color:
        rgba(255, 255, 255, 0.38);
}


.location-detail-item strong {
    color:
        rgba(255, 255, 255, 0.82);
}


/* =====================================================
   BUTTONS
===================================================== */

.location-primary {
    color: #ffffff;

    background: #FF7A00;

    border:
        1px solid #FF7A00;
}


.location-primary:hover {
    background: #E96D00;

    border-color: #E96D00;
}


.location-secondary {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);
}


.location-secondary:hover {
    background:
        rgba(255, 255, 255, 0.14);
}