/* ===================================================
   DABOGO Inc. — Common Design System
   파일: assets/css/common.css
   역할: 변수, 리셋, 타이포그래피, 공통 컴포넌트
=================================================== */

/* ── 1. Google Fonts / Pretendard ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ── 2. Design Tokens (:root) ── */
:root {
    /* Colors */
    --color-bg-main: #FFFFFF;
    --color-bg-sub: #fcf7f7ff;
    --color-primary: #1a1a2cff;
    --color-primary-rgb: 26, 26, 44;
    --color-point: #ce3131ff;
    --color-point-dark: #aa2424;
    --color-text-main: #482d2dff;
    --color-text-sub: #967171ff;
    --color-border: #f0e2e2ff;
    --color-white: #ffffff;

    /* Spacing  (8px grid) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.13);

    /* Z-index */
    --z-sticky: 100;
    --z-dropdown: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* Transition */
    --transition: all 0.3s ease;

    /* Layout */
    --max-width: 1600px;
    --container: 1200px;

    /* Typography */
    --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lh-tight: 1.2;
    --lh-snug: 1.3;
    --lh-base: 1.6;
    --ls-tight: -0.03em;
    --ls-base: -0.01em;
}

/* ── 3. Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: var(--lh-base);
    color: var(--color-text-main);
    background: var(--color-bg-main);
    letter-spacing: var(--ls-base);
    word-break: keep-all;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: var(--font-base);
    font-size: 1rem;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ── 4. Typography Scale ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
    letter-spacing: var(--ls-tight);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: var(--lh-tight);
}

h2 {
    font-size: 2.0rem;
    font-weight: 600;
    line-height: var(--lh-snug);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--lh-base);
    color: var(--color-text-main);
}

small {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-sub);
}

/* ── 5. Layout Helpers ── */
.l-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.l-section {
    padding: var(--space-xl) 0;
}

.l-section--sub {
    padding: var(--space-lg) 0;
    background: var(--color-bg-sub);
}

/* ── 6. Section Heading ── */
.c-section-head {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.c-section-head__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-point);
    margin-bottom: var(--space-xs);
}

.c-section-head__label::before,
.c-section-head__label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-point);
}

.c-section-head__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: var(--lh-snug);
}

.c-section-head__desc {
    margin-top: var(--space-xs);
    color: var(--color-text-sub);
    font-size: 0.95rem;
    line-height: var(--lh-base);
}

/* ── 7. Buttons ── */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-base);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.c-btn--primary {
    background: var(--color-point);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.c-btn--primary:hover {
    background: var(--color-point-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.c-btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.c-btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.c-btn--ghost {
    color: var(--color-point);
    border: 2px solid var(--color-point);
    background: transparent;
}

.c-btn--ghost:hover {
    background: var(--color-point);
    color: var(--color-white);
}

.c-btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.c-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ── 8. Cards ── */
.c-card {
    background: var(--color-bg-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.c-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.c-card__body {
    padding: var(--space-md);
}

.c-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.c-card__text {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    line-height: var(--lh-base);
}

/* ── 9. Tag / Badge ── */
.c-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(206, 49, 49, 0.08);
    color: var(--color-point);
    white-space: nowrap;
}

/* ── 10. Header ── */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.l-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    /* GNB absolute 중앙 정렬의 기준점 */
}

.l-header__logo img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.l-header__logo span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: var(--ls-tight);
}

/* ── 11. GNB Navigation ── */

/* GNB를 헤더 정중앙에 고정 (로고/CTA로부터 독립) */
.l-gnb {
    display: none;
    /* 모바일포트 기본 숨김 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 72px;
    align-items: center;
}

.l-gnb__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.l-gnb__item {
    position: relative;
}

.l-gnb__link {
    display: block;
    padding: 0 1.2rem;
    height: 72px;
    line-height: 72px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    transition: var(--transition);
    white-space: nowrap;
}

.l-gnb__link:hover,
.l-gnb__link.is-active {
    color: var(--color-point);
}

.l-gnb__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--color-point);
    border-radius: 2px 2px 0 0;
}

/* CTA in header */
.l-header__cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* 전화 아이콘 링크 (텍스트 없이 구형 아이콘만) */
.l-header__tel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-base);
    background: rgba(206, 49, 49, 0.08);
    color: var(--color-point);
    font-size: 1rem;
    line-height: 1;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}

.l-header__tel-icon:hover {
    background: rgba(206, 49, 49, 0.20);
    transform: scale(1.1);
}

/* ── 12. Mobile Menu Toggle ── */
.l-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    cursor: pointer;
    padding: 4px;
}

.l-hamburger__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.l-hamburger.is-open .l-hamburger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.l-hamburger.is-open .l-hamburger__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.l-hamburger.is-open .l-hamburger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 13. Mobile Drawer ── */
.l-mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-main);
    z-index: var(--z-dropdown);
    overflow-y: auto;
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.l-mobile-nav.is-open {
    transform: translateX(0);
}

.l-mobile-nav__list {
    display: flex;
    flex-direction: column;
}

.l-mobile-nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.l-mobile-nav__link:hover,
.l-mobile-nav__link.is-active {
    color: var(--color-point);
}

.l-mobile-nav__footer {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ── 14. Page Offset (header height) ── */
.l-page-wrap {
    padding-top: 72px;
}

/* ── 15. Page Hero (Sub pages) ── */
.c-page-hero {
    position: relative;
    background: var(--color-primary);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.c-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(206, 49, 49, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(206, 49, 49, 0.10) 0%, transparent 60%);
}

.c-page-hero__inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.c-page-hero__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(206, 49, 49, 0.85);
    margin-bottom: var(--space-xs);
}

.c-page-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.c-page-hero__desc {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: var(--lh-base);
    max-width: 540px;
}

/* Breadcrumb */
.c-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.c-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
}

.c-breadcrumb a:hover {
    color: var(--color-white);
}

.c-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.3);
}

.c-breadcrumb .is-current {
    color: rgba(255, 255, 255, 0.8);
}

/* ── 16. Footer ── */
.l-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-xl) 0 var(--space-md);
}

.l-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.l-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.l-footer__logo img {
    height: 32px;
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.l-footer__logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.l-footer__desc {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.l-footer__head {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.l-footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.l-footer__list a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.l-footer__list a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.l-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.l-footer__contact-icon {
    font-size: 0.95rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.l-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.l-footer__bottom-links {
    display: flex;
    gap: 1.2rem;
}

.l-footer__bottom-links a {
    color: rgba(255, 255, 255, 0.65);
}

.l-footer__bottom-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ── 17. Stat Counter ── */
.c-stat {
    text-align: center;
    padding: var(--space-md);
}

.c-stat__num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-point);
    line-height: 1;
    letter-spacing: -0.03em;
}

.c-stat__unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-point);
}

.c-stat__label {
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-sub);
}

/* ── 18. Service Icon Card ── */
.c-service-card {
    background: var(--color-bg-main);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.c-service-card:hover {
    border-color: var(--color-point);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.c-service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-base);
    background: rgba(206, 49, 49, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.c-service-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.c-service-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-sub);
    line-height: var(--lh-base);
}

/* ── 19. Client Logo Grid ── */
.c-client-logo {
    background: var(--color-bg-main);
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition);
    overflow: hidden;
    aspect-ratio: 2 / 1;
}

.c-client-logo:hover {
    border-color: var(--color-point);
    box-shadow: var(--shadow-md);
}

.c-client-logo img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.c-client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ── 20. Result Card ── */
.c-result-card {
    background: var(--color-bg-main);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--color-point);
}

.c-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.c-result-card__industry {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-point);
    background: rgba(206, 49, 49, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xs);
}

.c-result-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.c-result-card__highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-point);
    margin-bottom: var(--space-xs);
}

.c-result-card__process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-sub);
}

.c-result-card__arrow {
    color: var(--color-point);
    font-weight: 700;
}

.c-result-card__final {
    font-weight: 700;
    color: var(--color-point);
}

/* ── 21. Form ── */
.c-form__group {
    margin-bottom: var(--space-sm);
}

.c-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.c-form__label span {
    color: var(--color-point);
    margin-left: 2px;
}

.c-form__input,
.c-form__textarea,
.c-form__select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-base);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background: var(--color-bg-main);
    transition: var(--transition);
    appearance: none;
}

.c-form__input:focus,
.c-form__textarea:focus,
.c-form__select:focus {
    border-color: var(--color-point);
    box-shadow: 0 0 0 3px rgba(206, 49, 49, 0.10);
}

.c-form__input::placeholder,
.c-form__textarea::placeholder {
    color: var(--color-text-sub);
}

.c-form__textarea {
    resize: vertical;
    min-height: 140px;
}

.c-form__error {
    font-size: 0.8rem;
    color: var(--color-point);
    margin-top: 0.3rem;
}

/* ── 22. Divider ── */
.c-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-md) 0;
}

/* ── 23. Toast ── */
.c-toast {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: var(--z-toast);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}

.c-toast.is-show {
    transform: translateY(0);
    opacity: 1;
}

/* ── 24. Utility ── */
.u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.u-text-center {
    text-align: center;
}

.u-text-point {
    color: var(--color-point);
}

.u-text-primary {
    color: var(--color-primary);
}

.u-flex {
    display: flex;
}

.u-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.u-grid {
    display: grid;
}

.u-gap-sm {
    gap: var(--space-sm);
}

.u-gap-md {
    gap: var(--space-md);
}

.u-mt-sm {
    margin-top: var(--space-sm);
}

.u-mt-md {
    margin-top: var(--space-md);
}

.u-mb-sm {
    margin-bottom: var(--space-sm);
}

.u-mb-md {
    margin-bottom: var(--space-md);
}

/* ── 25. Fade-in Animation ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 26. Page Section Nav (모든 페이지 공용 섹션 이동 바) ── */
.s-page-nav {
    background: var(--color-primary);
    position: sticky;
    top: 72px;
    z-index: calc(var(--z-sticky) - 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.s-page-nav__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 모바일 가로 스크롤 잘림 방지 */
    overflow-x: auto;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    scrollbar-width: none;
    /* Firefox */
}

@media (min-width: 1025px) {
    .s-page-nav__inner {
        justify-content: center;
    }
}

.s-page-nav__inner::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

.s-page-nav__link {
    display: block;
    padding: 0.85rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

/* ─ hover ─ */
.s-page-nav__link:hover {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

/* ─ 현재 섹션 (scroll spy로 JS가 부여) ─ */
.s-page-nav__link.is-active {
    color: var(--color-white);
    border-bottom-color: var(--color-point);
    background: rgba(206, 49, 49, 0.12);
}

/* 모바일: 가로 스크롤 가능하게, 폰트 약간 축소 */
@media (max-width: 1024px) {
    .s-page-nav__link {
        padding: 0.7rem 0.85rem;
        font-size: 0.78rem;
    }
}