/* =============================================
   클린앤파트너즈 브랜드 스타일 (공개 페이지 공통)
   관리자 페이지는 style.css 를 그대로 사용
   ============================================= */
:root {
    --bg: #FFFFFF;
    --bg-sub: #F6F7F9;
    --title: #111111;
    --body: #4A4F57;
    --caption: #8A9099;
    --point: #0066CC;
    --point-dark: #0057AD;
    --btn: #F76707;        /* 채움 버튼 (오렌지) */
    --btn-dark: #E8590C;
    --line: #E5E7EB;
    --radius: 8px;
    --max: 1080px;
    --gutter: 20px;
    --section-y: 80px;
    --bar-h: 64px;
}
@media (min-width: 900px) {
    :root { --gutter: 32px; --section-y: 120px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
body.no-mbar { padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ── 타이포 ── */
.label { display: block; font-size: 14px; font-weight: 600; color: var(--point); margin-bottom: 12px; letter-spacing: -0.01em; }
.h-section { font-size: 24px; font-weight: 700; color: var(--title); line-height: 1.35; letter-spacing: -0.02em; }
.lead { margin-top: 16px; max-width: 34em; }
.caption { font-size: 14px; color: var(--caption); }
@media (min-width: 900px) { .h-section { font-size: 36px; } }

/* ── 버튼 (2종) ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 52px; padding: 0 24px; border-radius: var(--radius);
    font-size: 16px; font-weight: 600; white-space: nowrap;
    transition: background-color .15s, border-color .15s;
}
.btn-fill { background: var(--btn); color: #fff; border: 1px solid var(--btn); }
.btn-fill:hover { background: var(--btn-dark); border-color: var(--btn-dark); }
.btn-fill:disabled { background: var(--line); border-color: var(--line); color: var(--caption); cursor: default; }
.btn-line { background: #fff; color: var(--title); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--title); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.text-link { color: var(--title); font-weight: 600; border-bottom: 1px solid var(--title); padding-bottom: 2px; }

/* ── 사진 / placeholder ── */
.photo {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: var(--bg-sub); border: 1px solid var(--line);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
    position: absolute; inset: 0; display: flex; align-items: flex-end;
    padding: 16px; font-size: 13px; color: var(--caption);
}
.photo-tag {
    position: absolute; left: 12px; top: 12px; z-index: 1;
    background: #fff; color: var(--title); font-size: 13px; font-weight: 600;
    padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line);
}

/* ── 헤더 ── */
header.gnb {
    position: sticky; top: 0; z-index: 100; background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 !important; box-shadow: none !important; /* main.js 스크롤 스타일 무시 */
}
.gnb-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.gnb-logo { font-size: 19px; font-weight: 800; color: var(--title); letter-spacing: -0.03em; white-space: nowrap; }
.gnb-sub { font-size: 14px; font-weight: 500; color: var(--caption); margin-left: -20px; white-space: nowrap; }
.gnb-menu { display: none; list-style: none; gap: 28px; margin-right: auto; }
.gnb-menu a { font-size: 15px; font-weight: 500; color: var(--body); }
.gnb-menu a:hover, .gnb-menu a[aria-current="page"] { color: var(--title); }
.gnb-menu a[aria-current="page"] { font-weight: 700; }
.gnb-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.gnb-tel { display: none; font-size: 15px; font-weight: 600; color: var(--title); }
.gnb-right .btn { display: none; }
.gnb-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-right: -8px; }
.gnb-toggle span { width: 20px; height: 1.5px; background: var(--title); }
.gnb-drawer { display: none; border-top: 1px solid var(--line); background: #fff; }
.gnb-drawer.open { display: block; }
.gnb-drawer ul { list-style: none; }
.gnb-drawer a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); color: var(--title); font-weight: 500; }
.gnb-drawer a[aria-current="page"] { font-weight: 700; }
@media (min-width: 900px) {
    .gnb-in { height: 72px; }
    .gnb-menu { display: flex; margin-left: 24px; }
    .gnb-right { margin-left: 0; }
    .gnb-tel, .gnb-right .btn { display: inline-flex; }
    .gnb-toggle, .gnb-drawer, .gnb-drawer.open { display: none; }
}
@media (min-width: 900px) and (max-width: 1080px) {
    .gnb-menu { gap: 18px; }
    .gnb-menu li.opt { display: none; }
}
/* 제휴 랜딩: 메뉴 없는 헤더 */
.gnb-plain .gnb-right .btn { display: inline-flex; }

/* ── 섹션 공통 ── */
.sec { padding-block: var(--section-y); }
.sec-sub { background: var(--bg-sub); }
.sec-line { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 40px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 56px; } }
.sec-head-row { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .sec-head-row { grid-template-columns: 1fr auto; } }

/* 좌측 제목 + 우측 본문 (4:7) */
.side { display: grid; gap: 40px; }
@media (min-width: 900px) {
    .side { grid-template-columns: 4fr 7fr; gap: 72px; }
    .side-sticky { position: sticky; top: 112px; align-self: start; }
}

/* 좌문 우사진 */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }

/* ── 서브 페이지 머리 ── */
.page-head { position: relative; padding-block: 56px 48px; }
.page-head::after { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 28px; font-weight: 800; color: var(--title); line-height: 1.3; letter-spacing: -0.03em; }
.page-head p { margin-top: 12px; max-width: 36em; }
.page-head .tag { display: inline-block; margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--point); letter-spacing: 0; vertical-align: 6px; }
@media (min-width: 900px) {
    .page-head { padding-block: 88px 64px; }
    .page-head h1 { font-size: 44px; }
    .page-head p { font-size: 17px; }
}

/* ── 정보 리스트 (가로 구분선) ── */
.line-list { list-style: none; border-top: 1px solid var(--title); }
.line-list > li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-list b, .line-list strong { color: var(--title); font-weight: 600; }
.def-list { list-style: none; border-top: 1px solid var(--line); }
.def-list > li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.def-list b { color: var(--title); font-weight: 600; }
@media (min-width: 900px) { .def-list > li { grid-template-columns: 160px 1fr; } }

/* ── 숫자 타임라인 ── */
.steps { list-style: none; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-no { font-size: 32px; font-weight: 700; line-height: 1; color: var(--title); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--title); line-height: 1.4; }
.step p { margin-top: 6px; font-size: 15px; }
@media (min-width: 900px) {
    .step { grid-template-columns: 112px 1fr; padding: 36px 0; }
    .step-no { font-size: 48px; }
    .step h3 { font-size: 20px; }
    .step p { font-size: 16px; }
}

/* ── 가격표 ── */
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--title); }
.ptable th, .ptable td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: 13px; font-weight: 500; color: var(--caption); padding: 12px 0; }
.ptable td:first-child { color: var(--title); font-weight: 600; padding-right: 16px; white-space: nowrap; }
.ptable td.desc { font-size: 15px; padding-right: 16px; }
.ptable .price { text-align: right; font-weight: 700; color: var(--title); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .price small { font-size: 14px; font-weight: 500; color: var(--caption); margin-left: 2px; }
.ptable thead th:last-child { text-align: right; }
@media (max-width: 599px) {
    .ptable td.desc, .ptable thead th.desc { display: none; }
}
.ptable-sub { margin-top: 56px; }
.ptable-sub h3 { font-size: 18px; font-weight: 700; color: var(--title); margin-bottom: 16px; }
.note { margin-top: 24px; font-size: 14px; color: var(--caption); }
.note li { list-style: none; }
.note li + li { margin-top: 4px; }

/* ── FAQ: 테두리 없는 아코디언 ── */
.faq-list { border-top: 1px solid var(--title); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    text-align: left; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--title); line-height: 1.5;
}
.faq-q::after, .chev::after {
    content: ''; flex: none; width: 10px; height: 10px; margin-right: 4px;
    border-right: 1.5px solid var(--title); border-bottom: 1.5px solid var(--title);
    transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.faq-a { padding: 0 0 24px; font-size: 15px; max-width: 40em; }
/* 자바스크립트가 켜진 화면에서만 답을 접어 둠 — HTML 에는 답이 그대로 있어 검색·AI 수집기가 읽을 수 있음 */
.js .faq-q[aria-expanded="false"] + .faq-a { display: none; }

/* ── 화살표 (아이콘 대신 1.5px 선) ── */
.arrow { position: relative; display: inline-block; width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.arrow.prev { transform: rotate(45deg); margin-left: 3px; }
.arrow.next { transform: rotate(-135deg); margin-right: 3px; }

/* ── 폼 ── */
.form { display: grid; gap: 24px; }
.field label, .input-group > label:not(.check) { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--title); }
.field input, .field select, .field textarea,
.input-group input:not([type="checkbox"]), .input-group select, .input-group textarea {
    width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; font-size: 16px; color: var(--title); transition: border-color .15s;
    -webkit-appearance: none; appearance: none;
}
.field textarea, .input-group textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.field select, .input-group select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E");
    background-position: right 16px center; background-size: 12px 8px; background-repeat: no-repeat;
}
.field input::placeholder, .input-group input::placeholder, .input-group textarea::placeholder { color: var(--caption); }
.field input:focus, .field select:focus, .field textarea:focus,
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--title); }
.input-group { margin-bottom: 24px; }
.field-hint { margin-top: 8px; font-size: 14px; color: var(--caption); line-height: 1.6; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 1.6; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--point); flex: none; }
.check a { color: var(--title); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.check small { display: block; font-size: 13px; color: var(--caption); }
.req { color: var(--title); font-weight: 600; }
.info-box { background: var(--bg-sub); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; line-height: 1.7; }
.info-box p + p { margin-top: 6px; }
.info-box strong { color: var(--title); }

/* ── 예약 달력 (main.js 렌더링 구조) ── */
.reservation-container { width: 100%; }
.calendar-wrapper { border-top: 1px solid var(--title); padding-top: 8px; }
.calendar-controls { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 20px; }
.calendar-controls h3 { font-size: 20px; font-weight: 700; color: var(--title); font-variant-numeric: tabular-nums; }
.calendar-controls button {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--title);
}
.calendar-controls button:hover { border-color: var(--title); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 13px; color: var(--caption); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.calendar-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day-cell {
    min-height: 64px; border: 1px solid transparent; border-radius: var(--radius); padding: 8px 6px;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2px;
    cursor: pointer; transition: border-color .15s, background-color .15s;
}
.day-cell:hover:not(.disabled):not(.empty) { border-color: var(--title); }
.day-cell.today .day-num { text-decoration: underline; text-underline-offset: 4px; }
.day-cell.active { background: var(--point); border-color: var(--point); }
.day-cell.active .day-num, .day-cell.active .day-status { color: #fff !important; }
.day-cell.disabled { cursor: default; }
.day-cell.disabled .day-num { color: #C9CDD3; }
.day-cell.empty { cursor: default; }
.day-cell .day-num { font-weight: 600; font-size: 16px; color: var(--title); font-variant-numeric: tabular-nums; }
.day-cell .day-status { font-size: 11px; line-height: 1.3; }
.day-cell .day-status.avail { color: var(--body); }
.day-cell .day-status.full { color: var(--caption); }
.day-cell .day-status.past { display: none; }
.calendar-legend { display: flex; gap: 16px; padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--caption); }
.calendar-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.calendar-legend .dot.avail { background: var(--title); }
.calendar-legend .dot.full { background: var(--line); }
@media (min-width: 900px) {
    .day-cell { min-height: 84px; padding: 12px 8px; }
    .day-cell .day-status { font-size: 12px; }
}
.booking-form-wrapper { margin-top: 48px; }
.form-card { border-top: 1px solid var(--title); padding-top: 32px; }
.form-card h3 { font-size: 20px; font-weight: 700; color: var(--title); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.submit-booking-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin-top: 8px;
    background: var(--btn); color: #fff; border: 0; border-radius: var(--radius);
    font-size: 17px; font-weight: 600; cursor: pointer; transition: background-color .15s;
}
.submit-booking-btn:hover { background: var(--btn-dark); }

/* ── 최근 접수 목록 (정지 리스트) ── */
.rolling-wrapper { border-top: 1px solid var(--title); overflow-x: auto; }
.rolling-header, .rolling-item {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr 1.4fr; gap: 12px; min-width: 560px;
    padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center;
}
.rolling-header { font-size: 13px; color: var(--caption); padding: 12px 0; }
.rolling-item { font-variant-numeric: tabular-nums; }
.rolling-item .col:nth-child(3) { color: var(--title); font-weight: 600; }
.rolling-container { max-height: 392px; overflow-y: auto; }
.rolling-list { animation: none !important; }
.status-badge { font-size: 13px; font-weight: 600; color: var(--body); }
.status-badge.confirmed { color: var(--title); }
.rolling-empty { padding: 32px 0; color: var(--caption); font-size: 15px; }

/* ── 이벤트 배너 (관리자 등록 이미지) ── */
.res-banner-slider { position: relative; width: 100%; aspect-ratio: 1080 / 240; min-height: 140px; border-radius: var(--radius); overflow: hidden; background: var(--bg-sub); border: 1px solid var(--line); }
.res-banner-slider:has(.res-banner-inner:empty) { display: none; }
.res-banner-inner { position: relative; width: 100%; height: 100%; }
.res-banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; padding: 0 32px; opacity: 0; transition: opacity .4s ease; }
.res-banner-slide.active { opacity: 1; }
.res-banner-content { position: relative; z-index: 1; max-width: 70%; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
/* 밝은 사진 위에서도 흰 글씨가 묻히지 않도록 글씨 쪽을 한 번 더 어둡게 */
.res-banner-slider .res-banner-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.45) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,0) 85%); pointer-events: none; }
.res-banner-badge { display: inline-block; background: #fff; color: var(--title); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.res-banner-content h4 { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.35; }
.res-banner-content p { color: #fff; font-size: 15px; font-weight: 500; margin-top: 4px; }
.res-banner-arrow, .banner-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--title); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.res-banner-prev, .banner-btn-prev { left: 12px; }
.res-banner-next, .banner-btn-next { right: 12px; }
.res-banner-dots, .banner-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.res-banner-dots .dot, .banner-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; cursor: pointer; }
.res-banner-dots .dot.active, .banner-dots .dot.active { opacity: 1; }
@media (max-width: 599px) {
    .res-banner-slide { padding: 0 20px; }
    .res-banner-content { max-width: 85%; }
    .res-banner-content h4 { font-size: 16px; }
    .res-banner-content p { display: none; }
    .res-banner-arrow { display: none; }
}

/* 이미지 전용 배너 슬라이더 (제휴 페이지) */
.banner-slider-container { position: relative; width: 100%; height: 100%; }
.banner-slider-container .res-banner-slide { padding: 0; }

/* ── 서비스 지역 (지도는 services.html 의 .amap) ── */
.service-area-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .service-area-layout { grid-template-columns: 1fr 280px; gap: 56px; align-items: start; } }
.district-legend { display: flex; flex-direction: column; gap: 20px; }
.legend-items { list-style: none; border-top: 1px solid var(--title); }
.legend-row { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 15px; }
.legend-row b { color: var(--title); font-weight: 600; }

/* ── 마무리 CTA ── */
.cta-grid { display: grid; gap: 32px; align-items: end; }
.cta-tel { display: block; margin-top: 20px; font-size: 32px; font-weight: 700; color: var(--title); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cta-hours { font-size: 14px; color: var(--caption); }
.cta-side { display: flex; flex-direction: column; gap: 8px; }
.cta-side .btn { width: 100%; }
.cta-talk { margin-top: 12px; font-size: 14px; color: var(--caption); }
.cta-talk a { color: var(--body); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
    .cta-grid { grid-template-columns: 1fr 320px; }
    .cta-tel { font-size: 40px; }
}

/* ── 푸터 ── */
.foot { background: var(--bg-sub); border-top: 1px solid var(--line); padding-block: 48px; font-size: 13px; color: var(--caption); line-height: 1.8; }
.foot strong { color: var(--title); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0; }
.foot-links a { color: var(--body); }

/* ── 모바일 하단 고정 바 ── */
.mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line);
}
.mbar .btn { height: 48px; width: 100%; }
@media (min-width: 900px) { .mbar { display: none; } }

/* ── 모션: 스크롤 페이드인 1종 ── */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ── PWA 설치 배너(main.js 주입) 톤 맞춤 ── */
#pwa-banner { box-shadow: none !important; border-top: 1px solid var(--line) !important; animation: none !important; }
#pwa-banner-inner img { border-radius: var(--radius) !important; }
#pwa-install-btn { background: var(--btn) !important; border-radius: var(--radius) !important; }

/* ── 보정 ── */
.gnb-plain .gnb-right { margin-left: auto; }
.sec-sub .info-box { background: #fff; }
.banner-slider-container:empty ~ .banner-btn,
.banner-slider-container:empty ~ .banner-dots { display: none; }
.photo:has(> .banner-slider-container:empty)::after {
    content: '시공 사진'; position: absolute; left: 16px; bottom: 16px; font-size: 13px; color: var(--caption);
}
.gnb-in { min-width: 0; }
.gnb-logo { flex: none; }
@media (max-width: 599px) { .gnb-sub { display: none; } }
.side > * { min-width: 0; }
.calendar-weekdays, .calendar-days-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day-cell { min-width: 0; }
.day-cell .day-status { text-align: center; }
@media (max-width: 359px) { .day-cell .day-status { font-size: 10px; letter-spacing: -0.04em; } }
@media (max-width: 599px) { [data-fit] .banner-btn { display: none; } }

/* ── 상단 로고: 아래로 스크롤하면 버튼 오렌지 ── */
.gnb-logo { transition: color .2s; }
.gnb.is-scrolled .gnb-logo { color: var(--btn); }
