/* 강남복합기렌탈 파트너스 사이트 스타일. 색·간격·글자 기준은 DESIGN.md에 있습니다. */

/* Pretendard를 받기 전 Windows의 맑은 고딕을 Pretendard 글자 폭(약 88.7%)에 맞춰 줄여, 글꼴이 바뀔 때 줄바꿈 이동을 줄입니다. */
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic"); font-weight: 400; size-adjust: 88.7%; }
@font-face { font-family: "Pretendard Fallback"; src: local("Malgun Gothic Bold"); font-weight: 700; size-adjust: 88.7%; }

:root {
  /* 남색은 제목·링크·가격·흰 바탕 버튼·첫 화면·마무리 띠에, 하늘색은 남색 바탕 위 버튼과 강조에만 씁니다.
     흰 바탕 위 하늘색(대비 1.88:1)은 장식선에만 쓰고, 흰 바탕 글자에는 진한 하늘(--sky-text, 5.06:1)을 씁니다. */
  --navy: #0b1f3a;
  --navy-hover: #16325a;
  --sky: #5cc8ff;
  --sky-hover: #8fd9ff;
  --sky-soft: #e6f5ff;
  --sky-text: #0673b8;
  --on-navy: #ffffff;
  --on-navy-text: #d6dde6;
  --on-navy-muted: #aab6c5;
  --on-navy-line: #2a4163;
  --text: #2b3440;
  --muted: #5a6472;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --line: #e3e6ea;
  --input: #8a939e;
  --error: #b3261e;
  --error-bg: #fdeceb;
  --ok: #1f6b2e;
  --ok-bg: #eaf6ec;
  --wrap: 1200px;
  --gutter: 20px;
  --section: 64px;
  --radius: 6px;
  --radius-lg: 8px;
  --header: 64px;
  --font: "Pretendard", "Pretendard Fallback", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 96px; --header: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sky-text); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--navy); text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffffff;
  border-radius: 2px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: 28px; font-weight: 700; margin-top: 0; }
h3 { font-size: 20px; font-weight: 700; margin-top: 32px; }
h2 + h3, .split h3:first-child { margin-top: 0; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: 60px; }
  h2 { font-size: 40px; margin-bottom: 20px; }
  h3 { font-size: 22px; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 42em; }
.narrow > .facts, .narrow > .table-wrap { max-width: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -64px; z-index: 50;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; color: #fff; }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 40; background: #ffffff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: var(--header); padding-top: 8px; padding-bottom: 8px; }
.brand { color: var(--navy); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; padding: 10px 0; }
.brand:hover { color: var(--navy); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px; text-decoration-color: var(--sky); }
.header-phone { margin-left: auto; }
.header-phone.button { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.nav-toggle {
  display: none;
  margin-left: auto; min-height: 44px; min-width: 64px; padding: 0 16px;
  font: inherit; font-weight: 600; color: var(--navy); background: #ffffff;
  border: 1px solid var(--navy); border-radius: var(--radius); cursor: pointer;
}

@media (max-width: 767px) {
  .site-header .header-phone { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 8px; }
  .site-nav a { width: 100%; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { margin-left: 8px; }
}

.breadcrumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); display: inline-block; padding: 10px 0; }
.breadcrumbs span { display: inline-block; padding: 10px 0; }

/* 첫 화면: 남색 단색 띠에 흰 대형 제목. 그라데이션·장식 칩은 쓰지 않습니다. */
.hero { padding: 48px 0 var(--section); background: var(--navy); color: var(--on-navy-text); }
.hero h1 { color: var(--on-navy); }
.hero h1 .accent { color: var(--sky); }
.hero a { color: var(--on-navy); }
.hero :focus-visible { outline-color: var(--sky); box-shadow: 0 0 0 6px var(--navy); }
.hero-grid { display: grid; gap: 40px; }
.hero .lead { font-size: 18px; line-height: 1.7; max-width: 34em; color: var(--on-navy-text); margin-bottom: 24px; }
.hero-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 2px; color: var(--on-navy); font-weight: 600; }
.hero-prices { list-style: none; margin: 0 0 24px; padding: 4px 20px; display: grid; background: #ffffff; border-radius: var(--radius-lg); color: var(--text); }
.hero-prices li { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; padding: 12px 0; }
.hero-prices li + li { border-top: 1px solid var(--line); }
.hero .hero-prices a { font-weight: 700; color: var(--navy); }
.hero-prices strong { font-size: 20px; font-weight: 800; color: var(--sky-text); font-variant-numeric: tabular-nums; }
.hero-prices span { flex-basis: 100%; font-size: 15px; color: var(--muted); }
.hero-price { font-size: 16px; margin-bottom: 12px; }
.hero-price strong { display: block; font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; color: var(--sky); font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-extra { border: 1px solid var(--on-navy-line); padding: 8px 14px; border-radius: var(--radius); display: inline-block; color: var(--on-navy); }
/* 전화 상담: 버튼 줄 안에 두고, 작은 안내 글자 아래에 번호를 크게 표시합니다. */
.hero .hero-phone { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; margin-left: 8px; line-height: 1.3; }
.hero-phone span { font-size: 14px; font-weight: 600; color: var(--on-navy-text); }
.hero-phone strong { font-size: 24px; font-weight: 800; color: var(--sky); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hero .hero-phone:hover { text-decoration: none; }
.hero-phone:hover strong { color: var(--sky-hover); text-decoration: underline; }
.hero-figure { margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.hero-figure img { width: 100%; background: #ffffff; border-radius: var(--radius-lg); }
.hero-figure figcaption { margin-top: 12px; font-size: 15px; color: var(--on-navy-muted); text-align: center; }
.hero-figure figcaption a { font-weight: 500; }

.hero-gallery { margin: 0; }
.hero-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hero-gallery li:first-child { grid-column: 1 / -1; }
.hero .hero-gallery a {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  background: #ffffff; border-radius: var(--radius-lg); padding: 12px 12px 14px;
  text-decoration: none; color: var(--navy);
}
.hero .hero-gallery a:hover { color: var(--navy); text-decoration: underline; }
.hero-gallery img { width: 100%; max-width: 240px; }
.hero-gallery li:first-child img { max-width: 260px; }
.hero-gallery span { font-weight: 700; text-align: center; line-height: 1.4; }
.hero-gallery small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--on-navy-muted); text-align: center; }

@media (min-width: 768px) {
  .hero { padding-top: 72px; }
  .hero .lead { font-size: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; }
  .hero-figure { max-width: 352px; justify-self: end; }
  .hero-gallery li:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .hero-gallery li:first-child a { justify-content: center; }
  .hero-gallery li:first-child img { max-width: 300px; }
  .hero-gallery li:not(:first-child) img { max-width: 170px; }
}
@media (min-width: 1024px) {
  .hero-points { grid-auto-flow: column; justify-content: start; gap: 0; }
  .hero-points li + li { border-left: 1px solid var(--on-navy-line); margin-left: 16px; padding-left: 16px; }
}

/* 메인 배너: 이미지 위에 실제 제목·설명·버튼을 겹쳐 표시합니다. */
.hero-banner { position: relative; isolation: isolate; overflow: hidden; background: #082540; padding-bottom: clamp(200px, 55vw, 360px); }
.hero-banner-image { position: absolute; right: 0; bottom: 16px; width: 160%; max-width: none; height: auto; pointer-events: none; }
.hero-banner .hero-grid { position: relative; z-index: 1; }

@media (min-width: 768px) {
  .hero-banner { padding-bottom: var(--section); }
  .hero-banner-image { top: 50%; bottom: auto; right: max(0px, calc((100% - 1200px) / 2 - 60px)); width: 82%; max-width: 1100px; transform: translateY(-50%); }
}

/* 버튼: 흰 바탕에서는 남색 버튼, 남색 바탕(첫 화면·마무리 띠)에서는 하늘색 버튼 */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 10px 24px; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.button:hover { text-decoration: none; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--navy); color: var(--on-navy); }
.button-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: var(--on-navy); }
.button-secondary { background: #ffffff; color: var(--navy); }
.button-secondary:hover { background: var(--soft); color: var(--navy); }
.button-large { min-height: 56px; padding: 14px 32px; font-size: 18px; }
.button[disabled], .button[aria-disabled="true"] { cursor: progress; background: var(--muted); border-color: var(--muted); color: #fff; transform: none; }
.hero .button-primary, .cta-band .button-primary { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.hero .button-primary:hover, .cta-band .button-primary:hover { background: var(--sky-hover); border-color: var(--sky-hover); color: var(--navy); }
.hero .button-secondary, .cta-band .button-secondary { background: transparent; color: var(--on-navy); border-color: var(--on-navy); }
.hero .button-secondary:hover, .cta-band .button-secondary:hover { background: var(--on-navy); color: var(--navy); }

/* 구획: 흰 배경 구획이 이어지면 위 여백을 줄이고, 배경이 바뀌는 구획은 위아래 여백을 모두 둡니다. */
.section { padding: var(--section) 0; }
.section-compact { padding: 32px 0; }
.section + .section { padding-top: 0; }
.section-soft, .section-tint, .section-soft + .section, .section-tint + .section, .section-form + .section,
.section + .section-soft, .section + .section-tint { padding-top: var(--section); }
.section-soft, .section-tint { background: var(--soft); }
.section-lead { max-width: 42em; color: var(--text); font-size: 18px; margin-bottom: 28px; }
.section-lead strong { font-weight: 700; color: var(--navy); }

/* 렌탈 설명: 넓은 화면에서는 설치 사진을 오른쪽에, 작은 화면에서는 설명 아래에 둡니다. */
.rental-intro { display: grid; gap: 28px; align-items: center; }
.rental-intro .section-lead { max-width: none; margin-bottom: 0; }
.rental-intro-photo { width: 100%; max-width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 20% center; border-radius: var(--radius-lg); justify-self: center; }
@media (min-width: 1024px) {
  .rental-intro { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
}

.page-head { padding: 40px 0 16px; }
.page-head .lead { font-size: 19px; }
@media (min-width: 768px) { .page-head { padding-top: 64px; } }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }

.check-list { list-style: disc; margin: 0 0 16px; padding-left: 1.2em; display: grid; gap: 8px; max-width: 42em; }
.check-list li::marker { color: var(--sky-text); }
.check-list strong { display: inline-block; min-width: 5.5em; color: var(--navy); }

/* 기종 선택 기준: 제목 칸 옆에 굵은 윗선과 가는 구분선으로 네 항목을 둡니다. */
.criteria-grid { display: grid; gap: 24px; }
.criteria { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--sky); }
.criteria > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.criteria dt { font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 6px; }
.criteria dd { margin: 0; }
@media (min-width: 768px) {
  .criteria { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1024px) {
  .criteria-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
}

.facts { margin: 0 0 16px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--muted); }
.facts { border-top-color: var(--sky); }
.facts dd { margin: 0; }
@media (max-width: 479px) { .facts > div { grid-template-columns: 1fr; gap: 0; } }

/* 요금표 */
.table-wrap { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #ffffff; }
.price-table { width: 100%; border-collapse: collapse; background: #ffffff; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; font-weight: 600; padding: 14px 20px; color: var(--muted); background: #ffffff; font-size: 15px; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 14px 20px; border-top: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: var(--on-navy); font-weight: 700; border-top: 0; }
.price-table .group-row td { background: var(--soft); color: var(--navy); }
.price-table tbody th { font-weight: 700; color: var(--navy); }
.price-table tbody th a { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--navy); }
.price-table tbody th a:hover { color: var(--navy-hover); }
.price-table .price { font-weight: 800; white-space: nowrap; color: var(--sky-text); }
.price-table .vat { font-weight: 400; color: var(--muted); }
/* 메인 용도별 추천 가이드: 구성은 다른 요금표와 같고, 머리글 글자를 키우고 유형 구분 행과 썸네일 칸을 정리합니다. */
#pricing-summary .section-lead { max-width: none; }
.rental-guide-table thead th { background: var(--navy); color: var(--on-navy); font-size: 17px; font-weight: 700; padding-top: 18px; padding-bottom: 18px; }
.rental-guide-table th, .rental-guide-table td { padding: 16px 24px; }
.rental-guide-table tbody td { vertical-align: middle; }
.rental-guide-table .group-row td { position: relative; padding: 12px 24px; background: var(--sky-soft); font-size: 15px; }
/* 표가 border-collapse라 칸 테두리로 선을 그리면 절반이 표 바깥으로 나가 머리글보다 왼쪽에 보입니다. 칸 안쪽에 그립니다. */
.rental-guide-table .group-row td::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--sky); }
.rental-guide-table tbody th a { font-size: 17px; }
.rental-guide-table .rental-guide-thumbnail { display: block; width: 100px; height: 100px; object-fit: contain; margin-top: 10px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #ffffff; box-sizing: content-box; }
.rental-guide-table .price > span { font-size: 18px; }
.rental-guide-table .tag-recommend { font-size: 13px; padding: 2px 9px; border-color: var(--navy); background: var(--navy); color: #ffffff; vertical-align: 2px; }
.check-table tbody th { width: 22%; }
.check-table td:last-child { color: var(--navy); font-weight: 600; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; line-height: 1.4; padding: 1px 7px; border: 1px solid var(--navy); border-radius: 3px; color: var(--navy); background: #ffffff; white-space: nowrap; }
.tag-promo { background: var(--sky); border-color: var(--sky); color: var(--navy); }

@media (max-width: 767px) {
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .price-table tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .price-table th, .price-table td { border: 0; padding: 4px 16px; }
  .price-table .group-row { padding: 0; }
  .price-table .group-row td { padding: 12px 16px; }
  .price-table caption { display: block; width: 100%; padding: 12px 16px; }
  .price-table td[data-label], .price-table tbody th[data-label] { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; }
  .price-table td[data-label]::before, .price-table tbody th[data-label]::before {
    content: attr(data-label); font-size: 14px; font-weight: 500; color: var(--muted);
  }
  .price-table .price { white-space: normal; }
  .check-table tbody th { width: 100%; }
}

/* 상품 상세 월 요금: 공통 조건 표와 기본 매수별 요금표. 요금표는 칸이 적어 모바일에서도 표 형태를 유지합니다. */
.plan-terms { margin: 0 0 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.plan-terms > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); background: #ffffff; }
.plan-terms dt { padding: 12px 16px; background: var(--soft); font-weight: 600; color: var(--navy); }
.plan-terms dd { margin: 0; padding: 12px 16px; }
.plan-terms-note { display: block; font-size: 15px; color: var(--muted); }
@media (min-width: 768px) {
  .plan-terms { grid-template-columns: 1fr 1fr; }
  .plan-terms > div { grid-template-columns: 10em minmax(0, 1fr); }
  .plan-terms > .plan-terms-wide { grid-column: 1 / -1; }
}
.plan-sheet { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plan-sheet .vat { font-weight: 400; color: var(--muted); }
.plan-sheet th, .plan-sheet td { text-align: left; vertical-align: middle; padding: 14px 16px; border-top: 1px solid var(--line); }
.plan-sheet thead th { background: var(--navy); color: var(--on-navy); font-weight: 700; border-top: 0; white-space: nowrap; }
.plan-sheet tbody th { font-weight: 600; }
.plan-sheet tbody th, .plan-sheet tbody td:not(.price):not(.plan-option) { white-space: nowrap; }
.plan-sheet .plan-option { overflow-wrap: normal; }
.plan-sheet .price .amount { font-weight: 800; color: var(--sky-text); white-space: nowrap; }
.plan-sheet .is-promo th, .plan-sheet .is-promo td { background: var(--sky-soft); }
.plan-sheet tfoot td { font-size: 15px; color: var(--muted); }
@media (max-width: 767px) {
  /* 추가 옵션 열까지 네 칸이 320px 안에 들어가도록 여백과 글자를 줄이고 머리글 줄바꿈을 허용합니다. */
  .plan-sheet { font-size: 15px; }
  .plan-sheet th, .plan-sheet td { padding: 12px 6px; }
  .plan-sheet th:first-child, .plan-sheet td:first-child { padding-left: 12px; }
  .plan-sheet thead th { white-space: normal; }
  .plan-sheet .tag { margin-top: 4px; }
}
/* 팩스 추가 옵션(+10,000원)과 6,000매·129,000원이 한 행에 있는 기종도 320px에 들어가게 합니다. */
@media (max-width: 374px) {
  .plan-sheet { font-size: 14px; }
  .plan-sheet th, .plan-sheet td { padding-left: 5px; padding-right: 5px; }
  .plan-sheet th:first-child, .plan-sheet td:first-child { padding-left: 10px; }
}

.pricing-model { margin-bottom: 40px; }
.pricing-model h3 { margin-top: 0; }

/* 상품 카드 */
.product-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.product-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; transition: border-color 150ms ease; }
.product-card:hover { border-color: var(--navy); }
.product-card[hidden] { display: none; }
.product-card img { width: 170px; margin: 0 auto 12px; }
.product-card h2, .product-card h3 { font-size: 20px; margin: 0 0 4px; }
.product-card h2 a, .product-card h3 a { display: inline-block; padding: 8px 0; margin: -8px 0; color: var(--navy); }
.product-card .type { color: var(--muted); margin-bottom: 8px; }
.product-card .price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--sky-text); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.product-card .plan-conditions { font-size: 15px; margin-bottom: 4px; color: var(--muted); }
#featured h2 .accent { color: var(--sky-text); }
.product-cards-featured { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
/* 기종 이름 링크의 클릭 영역을 카드 전체로 넓힙니다. 링크 이름은 기종 이름 그대로 둡니다. */
.product-cards-featured .product-card { position: relative; }
.product-cards-featured .product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-cards-featured .product-card h3 a:hover { text-decoration: none; }
.product-cards-featured .product-card h3 a:focus-visible { outline: none; box-shadow: none; }
.product-cards-featured .product-badge { position: absolute; top: 16px; left: 16px; background: var(--navy); color: #ffffff; }
.product-cards-featured .product-card:has(a:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (min-width: 900px) {
  .product-cards-featured { grid-template-columns: 5fr 4fr 4fr; gap: 20px; }
  /* 첫 카드 사진만 크게 두되, 사진 칸 높이를 같게 하여 사진 아래 글자 위치를 카드끼리 맞춥니다. */
  .product-cards-featured .product-card img { height: 220px; object-fit: contain; }
  .product-cards-featured .product-card:first-child img { width: 220px; }
}

/* 필터·검색 */
.filters { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; margin-bottom: 16px; }
.filters fieldset { border: 0; margin: 0; padding: 0; }
.filters legend { font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--navy); }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--navy); border-radius: var(--radius); background: #ffffff; font-weight: 500; color: var(--navy); }
.segmented label:hover span { background: var(--soft); }
.segmented input:checked + span { background: var(--navy); color: #fff; font-weight: 700; }
.segmented input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.js [data-filter-submit] { display: none; }
.result-count { font-weight: 600; }

.search-box { display: none; max-width: 40em; margin-bottom: 24px; }
.js .search-box { display: block; }
.search-box label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-row input { flex: 1 1 14em; }

.empty-state { background: var(--soft); border: 1px dashed var(--muted); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; max-width: 42em; }
.empty-state[hidden] { display: none; }

.region-group h2 { font-size: 24px; margin-top: 24px; }
.region-links { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(8.5em, 1fr)); }
.region-links[hidden], .region-links li[hidden], .region-group[hidden] { display: none; }
.region-links a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--navy); transition: border-color 150ms ease; }
.region-links a:hover { border-color: var(--navy); text-decoration: underline; }
.inline-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.inline-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 절차: 번호는 하늘색 굵은 숫자로만 표시합니다. 순서는 목록 순서와 단계 제목으로도 전달되므로 번호는 장식으로 보고 흰 바탕 대비 기준을 적용하지 않습니다. 넓은 화면에서는 다섯 단계를 가로로 둡니다. */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--sky); }
.steps li { counter-increment: step; position: relative; padding: 20px 0 20px 64px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-size: 36px; font-weight: 800; line-height: 1.1; color: var(--sky); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 4px 0 6px; font-size: 19px; }
.steps p { margin: 0; font-size: 16px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; }
  .steps li { padding: 20px 0 0; border-bottom: 0; }
  .steps li::before { position: static; display: block; margin-bottom: 12px; }
  .steps h3 { margin-top: 0; }
}

/* 자주 묻는 질문: 답을 모두 펼쳐 둡니다. */
.faq { display: grid; gap: 0; border-top: 3px solid var(--sky); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 18px; margin: 0 0 8px; }
.faq-item p { margin: 0; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* 파트너 사업장: 왼쪽 위치 지도(누르면 네이버 지도), 오른쪽 지역명·상호·행동 버튼 */
.partner-group { font-size: 20px; margin: 32px 0 12px; }
.partner-group:first-of-type { margin-top: 8px; }
.partner-cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.partner-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center; }
.partner-map { display: flex; align-items: center; justify-content: center; width: 128px; height: 128px; background: var(--soft); border-radius: var(--radius); transition: background-color 150ms ease; }
.partner-map:hover { background: var(--sky-soft); }
.partner-map img { max-width: 116px; max-height: 116px; width: auto; height: auto; }
.partner-body p { margin: 0; }
.partner-area { font-size: 14px; font-weight: 700; color: var(--sky-text); }
.partner-name { font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 10px !important; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.partner-actions .button { min-height: 44px; padding: 6px 14px; font-size: 15px; }
@media (max-width: 479px) {
  .partner-card { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .partner-map { width: 100px; height: 100px; }
  .partner-map img { max-width: 90px; max-height: 90px; }
  .partner-actions .button { padding: 6px 12px; }
}
.map-credit { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.map-credit a { color: var(--muted); }

/* 마무리 행동 띠 */
.cta-band { background: var(--navy); color: var(--on-navy-text); padding: var(--section) 0; }
.section + .cta-band { padding-top: var(--section); }
.cta-band h2 { color: var(--on-navy); }
.cta-band h2 .accent { color: var(--sky); }
.cta-band p { font-size: 18px; }
.cta-band :focus-visible { outline-color: var(--sky); box-shadow: 0 0 0 6px var(--navy); }

.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 8px; }

.case { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 24px; }
.case-date { color: var(--muted); }

/* 상담 폼 */
.section-form { background: var(--soft); padding-top: var(--section); }
.section + .section-form { padding-top: var(--section); }
.form-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; } }
.inquiry-form { max-width: 40em; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; }
@media (min-width: 768px) { .inquiry-form { padding: 32px; } }
.field-group { border: 0; margin: 0 0 24px; padding: 0; }
.field-group legend { font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 8px; color: var(--navy); }
.field { margin-bottom: 24px; }
.field-group .field { margin-bottom: 0; }
.field label, .field-group legend { display: block; }
.field label { font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.field-row { display: grid; gap: 12px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req, .opt { font-size: 13px; font-weight: 600; margin-left: 4px; padding: 1px 6px; border-radius: 3px; vertical-align: 1px; }
.req { background: var(--navy); color: #fff; }
.opt { border: 1px solid var(--muted); color: var(--muted); }
.hint { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
input[type="tel"], input[type="search"], input[type="text"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: #fff;
  min-height: 48px; padding: 10px 12px; border: 1px solid var(--input); border-radius: var(--radius);
}
input[type="tel"]:hover, input[type="search"]:hover, input[type="text"]:hover, select:hover, textarea:hover { border-color: var(--navy); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid var(--error); }
.field-error { color: var(--error); font-weight: 500; margin: 8px 0 0; }
.field-error::before { content: "오류: "; font-weight: 700; }
.choice-list { display: grid; gap: 4px; margin-bottom: 12px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); flex: none; }
.choice-consent { align-items: flex-start; padding: 8px 0; }
.choice-consent input { margin-top: 3px; }
.field-group [data-model-field] { margin-bottom: 16px; }
.js [data-model-field].is-hidden { display: none; }
.note-toggle { margin-bottom: 24px; }
.note-toggle summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 4px; color: var(--navy); }
.note-toggle .field { margin: 8px 0 0; }
.consent-terms { margin: 0 0 8px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 16px; font-size: 15px; }
.consent-terms > div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 6px 0; }
.consent-terms dt { font-weight: 600; color: var(--navy); }
.consent-terms dd { margin: 0; }
@media (max-width: 479px) { .consent-terms > div { grid-template-columns: 1fr; gap: 0; } }
.hp-field { display: none; }
.button-submit { width: 100%; min-height: 56px; font-size: 18px; }
@media (min-width: 480px) { .button-submit { width: auto; min-width: 16em; } }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status:empty { display: none; }

.form-message { border: 2px solid var(--error); background: var(--error-bg); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; }
.form-message[hidden] { display: none; }
.form-message.is-pending { border-color: var(--navy); background: var(--sky-soft); }
.form-message ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-message p:last-child { margin-bottom: 0; }

.notice { border-radius: var(--radius); padding: 12px 16px; }
.notice-test { background: var(--sky-soft); border: 1px solid var(--navy); margin-bottom: 24px; }
.notice-wait { background: var(--sky-soft); border: 2px solid var(--navy); }
.notice-test strong, .notice-wait strong { margin-right: 6px; }

.result { border-radius: var(--radius); padding: 16px 20px; border: 2px solid var(--ok); background: var(--ok-bg); }
.result h2 { color: var(--ok); font-size: 22px; margin-bottom: 8px; }
.result-pending { border-color: var(--navy); background: var(--sky-soft); }
.result-pending h2 { color: var(--navy); }
.result strong { font-size: 18px; font-variant-numeric: tabular-nums; }

/* 바닥글 */
.site-footer { background: var(--soft); color: var(--text); padding: 48px 0; margin-top: 0; border-top: 1px solid var(--line); font-size: 16px; }
.footer-info { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.footer-info a { color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 모바일 하단 행동 영역 */
.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: #ffffff; border-top: 1px solid var(--line);
}
.mobile-actions .button { padding: 6px 8px; min-height: 52px; line-height: 1.3; flex-wrap: wrap; column-gap: 4px; }
@media (min-width: 768px) { .mobile-actions { display: none; } }
@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* 채팅 상담(카카오톡·네이버 톡톡) 고정 버튼. 아이콘 바탕의 노랑·초록은 두 서비스를 알아보게 하는 식별색이라 사이트 색 기준의 예외로 둡니다.
   768px 미만은 하단 행동 영역 위(body 아래 여백과 같은 88px)에 아이콘만, 768px 이상은 오른쪽 아래에 아이콘과 이름을 둡니다.
   하단 행동 영역은 전화 버튼이 두 줄이 되는 폭에서 높이가 77px까지 늘어납니다. */
.chat-links {
  position: fixed; z-index: 40;
  right: max(12px, env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 8px;
}
.chat-link {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.chat-link:hover { text-decoration: none; }
.chat-kakao { background: #fee500; }
.chat-naver { background: #03c75a; }
.chat-icon { display: flex; align-items: center; justify-content: center; }
.chat-icon svg { width: 28px; height: 28px; }
.chat-kakao svg { fill: #191919; }
.chat-naver svg { fill: #ffffff; width: 24px; height: 24px; }
.chat-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* 고정 버튼이 바닥글 마지막 줄을 가리지 않도록 버튼 높이만큼 바닥글 아래 여백을 늘립니다. */
.site-footer { padding-bottom: 168px; }

@media (min-width: 768px) {
  .chat-links { right: 24px; bottom: 24px; }
  .chat-link {
    width: auto; height: auto; min-height: 48px; justify-content: flex-start; gap: 10px;
    padding: 6px 16px 6px 8px; border-radius: var(--radius);
    background: #ffffff; border: 1px solid var(--line); color: var(--navy);
    font-size: 15px; font-weight: 700; line-height: 1.2;
    transition: border-color 150ms ease;
  }
  .chat-link:hover { color: var(--navy); border-color: var(--navy); }
  .chat-icon { width: 34px; height: 34px; border-radius: 50%; }
  .chat-kakao .chat-icon { background: #fee500; }
  .chat-naver .chat-icon { background: #03c75a; }
  .chat-icon svg { width: 22px; height: 22px; }
  .chat-naver svg { width: 18px; height: 18px; }
  .chat-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
}

@media print {
  .chat-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .button:active { transform: none; }
}
.nowrap { white-space: nowrap; }
@media (min-width: 768px) {
  .plan-table tbody th, .plan-table td:nth-child(4) { white-space: nowrap; }
}
.price-table thead th { white-space: nowrap; }
