/* =========================================================
 * 클린더디테일 - 계단 정기청소 랜딩페이지
 * 디자인 컨셉: 레퍼런스 페이지의 라임/그린 톤 모던 디자인 차용
 * 구조: 변수 → 리셋 → 레이아웃 → 헤더 → 섹션 → 반응형
 * ========================================================= */

/* ---------- 1. CSS 변수 ---------- */
:root {
    /* 포인트 컬러: 로고 #1E50A2 기반 블루 톤 */
    --color-primary: #1E50A2;        /* 메인 딥 블루 */
    --color-primary-dark: #163E80;   /* 진한 블루 (호버, 강조) */
    --color-primary-light: #E6EFF9;  /* 옅은 블루 배경 */
    --color-primary-soft: #C5D7EC;   /* 중간 톤 (보더, 태그) */
    --color-accent: #F4B400;         /* 골드 포인트 (안내·CTA 강조) */
    --color-dark: #0E2A52;           /* 네이비 (헤딩, 푸터) */
    --color-text: #1F2937;
    --color-text-muted: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F4F7FB;        /* 옅은 블루-그레이 섹션 배경 */
    --color-border: #E5E7EB;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(31, 58, 46, 0.06);
    --shadow-md: 0 8px 24px rgba(31, 58, 46, 0.08);
    --shadow-lg: 0 20px 50px rgba(31, 58, 46, 0.12);

    --container: 100%;
    --container-pad: 150px;
    --header-h: 88px;

    --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

/* ---------- 2. 리셋 & 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: 0; background: none; cursor: pointer; font-family: inherit; }

/* ---------- 3. 레이아웃 유틸 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section { padding: 100px 0; }
.section--soft { background: var(--color-bg-soft); }
.section--contact {
    position: relative;
    background: linear-gradient(135deg, var(--color-dark) 0%, #163E80 100%);
    color: #fff;
    overflow: hidden;
}
.section--contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(244, 180, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.section--contact > .container { position: relative; z-index: 1; }
.section--contact .section-title { color: #fff; }
.section--contact .section-desc { color: rgba(255, 255, 255, 0.75); }

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-dark);
    display: inline-block;
}
.section-head { text-align: center; margin-bottom: 56px; }

/* 등장 애니메이션 */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 4. 공통 헤더 ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: 100;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); background: rgba(255,255,255,0.98); }
.header-inner {
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.header-inner > .logo { justify-self: start; }
.header-inner > .gnb { justify-self: center; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }

/* 우측 문의하기 버튼 */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px 11px 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 14px rgba(30, 80, 162, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: #fff;
}
.btn-contact__icon svg { width: 16px; height: 16px; }
.btn-contact:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 80, 162, 0.32);
}
.logo { display: inline-flex; align-items: center; height: 100%; }
.logo-img {
    display: block;
    height: var(--header-h);
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}
.logo:hover .logo-img { opacity: 0.85; }

.gnb > ul { display: flex; gap: 40px; height: 100%; align-items: center; }
.gnb__item { position: relative; height: 100%; display: flex; align-items: center; }
.gnb__link {
    position: relative;
    font-size: 16px; font-weight: 600;
    color: var(--color-text);
    padding: 8px 0;
    transition: color 0.2s;
}
.gnb__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
}
.gnb__item:hover .gnb__link,
.gnb__item.is-active .gnb__link { color: var(--color-primary); }
.gnb__item:hover .gnb__link::after,
.gnb__item.is-active .gnb__link::after { transform: scaleX(1); }

/* 드롭다운 */
.gnb__dropdown {
    position: absolute;
    left: 50%; top: 100%;
    transform: translate(-50%, 8px);
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(14, 42, 82, 0.12), 0 2px 6px rgba(14, 42, 82, 0.04);
    padding: 9px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 50;
    display: block;
}
.gnb__item--has-dropdown:hover .gnb__dropdown,
.gnb__item--has-dropdown:focus-within .gnb__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.gnb__dropdown li { display: block; }
.gnb__dropdown a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.gnb__dropdown a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--color-dark);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. 히어로 섹션 - 풀스크린 시네마틱 ---------- */
.hero {
    position: relative;
    margin-top: var(--header-h);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
/* 배경 이미지 레이어 (Ken Burns 줌인 애니메이션) */
.hero-bg {
    position: absolute;
    inset: -20px;
    background: url('../img/stair/section1.jpg') center/cover no-repeat;
    z-index: -2;
    animation: heroZoom 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}
/* 시네마틱 다크 그라데이션 오버레이 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(14, 42, 82, 0.45) 0%, rgba(14, 42, 82, 0.85) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 40%, rgba(14, 42, 82, 0.9) 100%);
}
/* 상하 비네팅 라인 */
.hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    width: 1px; height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4));
    z-index: 0;
    display: none; /* 스크롤 인디케이터로 대체 */
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}
.hero-inner--center { text-align: center; }

/* 영문 이브라우 */
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
    font-size: clamp(40px, 6.5vw, 78px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-lead {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* 스크롤 인디케이터 */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    writing-mode: horizontal-tb;
}
.hero-scroll__line {
    position: relative;
    display: block;
    width: 1px; height: 48px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.hero-scroll__line::after {
    content: '';
    position: absolute;
    left: 0; top: -100%;
    width: 100%; height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { top: -100%; }
    60%  { top: 100%; }
    100% { top: 100%; }
}

/* ---------- 6. 서비스 소개(Intro) 섹션 - 잡지 스타일 ---------- */
.intro-magazine {
    width: 100%;
}
.intro-magazine__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* 비주얼 이미지 (좌측 정방형 가까운 비율) */
.intro-magazine__visual {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.intro-magazine__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.intro-magazine__visual:hover img { transform: scale(1.05); }
.intro-magazine__visual-tag {
    position: absolute;
    left: 24px; top: 24px;
    background: rgba(14, 42, 82, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* 본문 영역 */
.intro-magazine__body {
    display: flex;
    flex-direction: column;
}
.intro-magazine__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}
.intro-magazine__body h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.intro-magazine__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 720px;
}
/* 체크리스트: 2열 그리드 */
.intro-magazine__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}
.intro-magazine__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-bg-soft);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-dark);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.intro-magazine__list li:hover {
    border-color: var(--color-primary-soft);
    background: #fff;
    transform: translateX(4px);
}
.intro-magazine__list li::before {
    content: '✓';
    flex: 0 0 24px; height: 24px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-grid; place-items: center;
    font-size: 13px; font-weight: 700;
}

/* ---------- 7. 시공범위(Scope) 섹션 - 4장 가로 일자 + 하단 캡션 ---------- */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.scope-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    cursor: pointer;
}
.scope-card__image {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.scope-card:hover .scope-card__image {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(14, 42, 82, 0.18);
}
.scope-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.scope-card:hover .scope-card__image img { transform: scale(1.08); }

/* 사진 아래 캡션 */
.scope-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.scope-card:hover .scope-card__title { color: var(--color-primary); }

.scope-list {
    margin-top: 40px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 32px;
    border: 1px solid var(--color-border);
}
.scope-list ul {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px;
}
.scope-list li {
    position: relative; padding-left: 24px;
    font-size: 15px; color: var(--color-text);
}
.scope-list li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 12px; height: 12px;
    background: var(--color-primary);
    border-radius: 3px;
    transform: rotate(45deg);
}

.notice-box {
    margin-top: 28px;
    background: #FFF9E6;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    font-size: 14px; color: #5C4A00; line-height: 1.75;
}
.notice-box strong { color: #8B6F00; }
.notice-box em { font-style: normal; font-weight: 700; color: #8B6F00; }

/* ---------- 8. 추가옵션(Options) 섹션 - 컴팩트 알약 태그 ---------- */
.options-wrap { width: 100%; text-align: center; }
.options-caption {
    text-align: center;
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}
.options-caption::before,
.options-caption::after {
    content: ''; display: inline-block;
    width: 28px; height: 1px;
    background: var(--color-primary-soft);
    vertical-align: middle;
    margin: 0 14px;
}

.option-pills {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.option-pills li {
    display: flex;
}
.option-pills span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 16px;
    background: #fff;
    border: 1.5px solid var(--color-primary-soft);
    color: var(--color-dark);
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.option-pills li:hover span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(30, 80, 162, 0.25);
}

.options-warn {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #C0392B;
}

/* ---------- 9. 진행안내(Process) - 가로 타임라인 ---------- */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 12px;
    max-width: 1200px;
    margin: 0 auto;
}
/* 단계들을 연결하는 가로 라인 (원의 중앙을 통과) */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 42px; /* 원의 세로 중앙(노드 높이 76 / 2 + padding-top 12 ≈ 50, 실제 보정값) */
    left: calc(100% / 8);
    right: calc(100% / 8);
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--color-primary-soft) 0,
        var(--color-primary-soft) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.process-step__node {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-primary-soft);
    display: grid; place-items: center;
    margin-bottom: 22px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 8px var(--color-bg-soft); /* 라인을 가려서 원이 라인 위에 떠있는 효과 */
}
.process-step__num {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}
/* 호버 시 노드가 채워짐 */
.process-step:hover .process-step__node {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 0 0 8px var(--color-bg-soft), 0 12px 22px rgba(30, 80, 162, 0.3);
}
.process-step:hover .process-step__num { color: #fff; }

/* 첫 단계는 기본 강조 */
.process-step:first-child .process-step__node {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.process-step:first-child .process-step__num { color: #fff; }

.process-step__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.process-step__content p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- 10. 문의하기 폼 ---------- */
.section-desc {
    margin-top: 14px;
    font-size: 15px;
    color: var(--color-text-muted);
}

.contact-form {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 22px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}
.form-field label .req { color: #C0392B; margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #FAFBFC;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--color-text);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #B0B6BB; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 80, 162, 0.10);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231F2937' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}

.form-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 28px;
    font-size: 14px;
    color: var(--color-text-muted);
    cursor: pointer;
}
.form-agree input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.btn-submit {
    min-width: 240px;
    padding: 16px 36px;
    background: var(--color-primary);
    color: #fff;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30, 80, 162, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 80, 162, 0.4);
}
.btn-submit:disabled {
    background: #B0B6BB;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin: 0;
    font-size: 14px;
    min-height: 1.2em;
    text-align: center;
}
.form-status.is-success { color: #2E7D32; }
.form-status.is-error { color: #C0392B; }

/* ---------- 11. 플로팅 버튼 (문의하기 + 전화) ---------- */
.floating-cta {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.floating-cta.is-visible {
    opacity: 1; transform: none; pointer-events: auto;
}

/* 공통 플로팅 버튼 */
.floating-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 22px 14px 18px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.floating-btn:hover { transform: translateY(-3px); }
.floating-btn__icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}
.floating-btn__icon svg { width: 20px; height: 20px; }
.floating-btn__label {
    display: inline-block;
    font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1;
}
.floating-btn__num {
    display: inline-block;
    font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1;
}

/* 전화 버튼 (블루 + 펄스) */
.floating-btn--tel {
    background: var(--color-primary);
    box-shadow: 0 14px 30px rgba(30, 80, 162, 0.4), 0 4px 12px rgba(14, 42, 82, 0.2);
}
.floating-btn--tel:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 18px 36px rgba(30, 80, 162, 0.5), 0 6px 14px rgba(14, 42, 82, 0.25);
}
/* 펄스 링 애니메이션 (전화 버튼에만) */
.floating-btn--tel .floating-btn__icon::before,
.floating-btn--tel .floating-btn__icon::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.55);
    animation: floatingPulse 2s ease-out infinite;
}
.floating-btn--tel .floating-btn__icon::after { animation-delay: 1s; }
@keyframes floatingPulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.8); }
}

/* 문의하기 버튼 (다크 네이비) */
.floating-btn--contact {
    background: var(--color-dark);
    box-shadow: 0 14px 30px rgba(14, 42, 82, 0.35), 0 4px 12px rgba(14, 42, 82, 0.18);
}
.floating-btn--contact:hover {
    background: #163E80;
    box-shadow: 0 18px 36px rgba(14, 42, 82, 0.45), 0 6px 14px rgba(14, 42, 82, 0.22);
}

/* 네이버 블로그 버튼 (네이버 그린) */
.floating-btn--naver {
    background: #03C75A;
    box-shadow: 0 14px 30px rgba(3, 199, 90, 0.35), 0 4px 12px rgba(3, 130, 60, 0.18);
}
.floating-btn--naver:hover {
    background: #02B350;
    box-shadow: 0 18px 36px rgba(3, 199, 90, 0.45), 0 6px 14px rgba(3, 130, 60, 0.22);
}
.floating-btn--naver .floating-btn__icon {
    background: #fff;
}
.floating-btn--naver .floating-btn__icon img {
    width: 24px; height: 24px; object-fit: contain; display: block;
}

/* ---------- 12. 푸터 ---------- */
.site-footer {
    background: #1A1F1C;
    color: #B7BFB9;
    padding: 48px 0 36px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.logo--footer { display: inline-flex; }
.logo-img--footer {
    height: 100px;
    opacity: 1;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: #A0A8A2;
}
.footer-info__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
}
.footer-info strong {
    color: #E5E7E5;
    font-weight: 600;
    margin-right: 6px;
}
.footer-info a { transition: color 0.2s ease; }
.footer-info a:hover { color: #fff; }
.footer-info__row .sep {
    display: inline-block;
    width: 1px; height: 11px;
    background: #3D453F;
}

.copyright {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #2A302C;
    width: 100%;
    font-size: 12.5px;
    color: #6B746E;
    letter-spacing: 0.01em;
}
.copyright__designed { color: #4A524C; margin-left: 6px; }

/* ---------- 13. 반응형 ---------- */
/* 와이드 데스크탑(~1440px): 패딩 축소 */
@media (max-width: 1440px) {
    :root { --container-pad: 80px; }
}

@media (max-width: 1024px) {
    :root { --container-pad: 48px; }
    .scope-list ul { grid-template-columns: repeat(2, 1fr); }
    /* 진행안내: 2x2 그리드, 가로 라인 제거 */
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .process-timeline::before { display: none; }
    .process-step__node { box-shadow: var(--shadow-sm); }
    /* 서비스 소개: 이미지 위 / 텍스트 아래 */
    .intro-magazine__content { grid-template-columns: 1fr; gap: 36px; }
    .intro-magazine__visual { aspect-ratio: 16 / 9; }
    /* 시공범위: 2x2 */
    .scope-grid { grid-template-columns: repeat(2, 1fr); }
    .scope-card__image { aspect-ratio: 4 / 3; }
    /* 추가옵션: 3x2 */
    .option-pills { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; --container-pad: 24px; }
    .section { padding: 70px 0; }
    .section-head { margin-bottom: 40px; }

    /* 헤더 모바일 — flex로 변경 (로고 좌, 햄버거 우 대칭) */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;     /* 좌우 동일한 16px → 로고/햄버거 대칭 */
        gap: 8px;
    }
    .btn-contact { display: none; }
    .header-actions { gap: 0; }
    .nav-toggle {
        display: flex;
        width: 40px; height: 40px;
        margin: 0;            /* 음수 마진 제거 → 우측 패딩(16px)만큼 끝에서 떨어져 로고와 대칭 */
    }

    /* 모바일 메뉴 — 헤더 아래 풀스크린 패널로 깔림 */
    .gnb {
        position: fixed;                    /* fixed로 변경: 항상 viewport 기준 풀너비 */
        left: 0; right: 0;
        top: var(--header-h);                /* 헤더 바로 아래 */
        width: 100%;
        background: #fff;
        box-shadow: 0 16px 28px rgba(0,0,0,0.12);
        max-height: 0; overflow: hidden auto;
        transition: max-height 0.35s ease;
        border-top: 1px solid var(--color-border);
    }
    .gnb.is-open { max-height: calc(100vh - var(--header-h)); }
    .gnb > ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        height: auto;
        width: 100%;
        align-items: stretch;
        text-align: left;                    /* 좌측 정렬 강제 */
    }
    .gnb__item {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        width: 100%;
        border-top: 1px solid var(--color-border);
    }
    .gnb__item:first-child { border-top: 0; }
    .gnb__link {
        display: block;
        width: 100%;
        padding: 18px 20px;
        font-size: 15px;
        font-weight: 700;
        text-align: left;                    /* 좌측 정렬 강제 */
    }
    .gnb__link::after { display: none; }
    .gnb__item.is-active .gnb__link {
        background: var(--color-primary-light);
        color: var(--color-primary-dark);
    }
    /* 모바일 드롭다운 — 상시 펼침 */
    .gnb__dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        min-width: 0;
        width: 100%;
        padding: 4px 0 10px;
        background: #F7F8FA;
        left: auto; top: auto;       /* 데스크탑 좌표 무효화 */
    }
    /* 호버/포커스 시에도 데스크탑 translate(-50%) 규칙 차단 — 옆으로 밀림 방지 */
    .gnb__item--has-dropdown:hover .gnb__dropdown,
    .gnb__item--has-dropdown:focus-within .gnb__dropdown {
        transform: none;
        left: auto;
    }
    .gnb__dropdown li { width: 100%; }
    .gnb__dropdown li + li { border-top: 1px solid rgba(0,0,0,0.04); }
    .gnb__dropdown a {
        display: block;
        width: 100%;
        padding: 12px 20px 12px 36px;
        font-size: 14px;
        font-weight: 500;
        color: var(--color-text-muted);
        text-align: left;                    /* 좌측 정렬 강제 */
    }
    .gnb__dropdown a:hover,
    .gnb__dropdown a:active { background: var(--color-primary-light); color: var(--color-primary-dark); }

    /* 히어로: 모바일은 55vh */
    .hero { min-height: 55vh; }
    .hero-inner { padding: 48px 24px; max-width: 100%; }
    .hero-eyebrow { font-size: 10px; gap: 12px; margin-bottom: 20px; letter-spacing: 0.32em; }
    .hero-eyebrow::before, .hero-eyebrow::after { width: 24px; }
    .hero h1 { font-size: clamp(32px, 9vw, 48px); margin-bottom: 18px; }
    .hero-lead { font-size: 14px; padding: 0 8px; }
    .hero-scroll { bottom: 24px; }
    .hero-scroll__line { height: 36px; }
    .hero-scroll__label { font-size: 10px; }

    /* Intro 잡지 스타일 모바일 */
    .intro-magazine__content { gap: 24px; }
    .intro-magazine__visual { aspect-ratio: 16 / 9; }
    .intro-magazine__visual-tag { left: 16px; top: 16px; font-size: 11px; padding: 6px 12px; }
    .intro-magazine__desc { font-size: 14px; margin-bottom: 22px; }
    .intro-magazine__list { grid-template-columns: 1fr; gap: 10px; }
    .intro-magazine__list li { padding: 12px 14px; font-size: 14px; }

    /* Scope: 모바일 2열 유지 */
    .scope-grid { gap: 14px; }
    .scope-card { gap: 12px; }
    .scope-card__title { font-size: 14px; }
    .scope-list { padding: 22px; }
    .scope-list ul { grid-template-columns: 1fr; }

    /* Options 알약 태그: 2x3 */
    .option-pills { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .option-pills span {
        padding: 14px 14px;
        font-size: 14px;
    }

    /* 문의폼 모바일 */
    .contact-form { padding: 28px 22px; }
    .form-grid { grid-template-columns: 1fr; gap: 16px; }
    .form-field input,
    .form-field select,
    .form-field textarea { font-size: 15px; padding: 12px 14px; }
    .form-agree { font-size: 13px; }
    .btn-submit { min-width: 0; width: 100%; padding: 14px 24px; font-size: 15px; }

    /* 진행안내: 모바일은 1열 세로 */
    .process-timeline { grid-template-columns: 1fr; gap: 24px; }
    .process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 18px;
    }
    .process-step__node {
        width: 56px; height: 56px;
        margin-bottom: 0;
        flex-shrink: 0;
        box-shadow: var(--shadow-sm);
    }
    .process-step__num { font-size: 18px; }
    .process-step__content h3 { font-size: 16px; margin-bottom: 6px; }
    .process-step__content p { font-size: 13.5px; }
    .process-step__content br { display: none; }
}

@media (max-width: 768px) {
    /* 플로팅 버튼: 모바일에서는 더 컴팩트하게 */
    .floating-cta { right: 16px; bottom: 16px; gap: 10px; }
    .floating-btn { padding: 12px 18px 12px 14px; gap: 10px; }
    .floating-btn__icon { width: 36px; height: 36px; }
    .floating-btn__icon svg { width: 18px; height: 18px; }
    .floating-btn__label { font-size: 14px; }
    .floating-btn__num { font-size: 14px; }
}

@media (max-width: 768px) {
    /* 로고/푸터 모바일 (헤더 로고는 var(--header-h)로 자동 조정) */
    .logo-img--footer { height: 78px; }
    .footer-info { font-size: 12.5px; }
    .footer-info__row { flex-direction: column; gap: 4px; }
    .footer-info__row .sep { display: none; }
    .copyright { font-size: 11.5px; padding-top: 14px; }
    .copyright__designed { display: block; margin-left: 0; margin-top: 4px; }
}

@media (max-width: 480px) {
    :root { --container-pad: 18px; }
    .scope-grid { grid-template-columns: 1fr; }
    .scope-card__image { aspect-ratio: 16 / 10; }
    .option-pills { grid-template-columns: 1fr; }
}
