:root {
  --brand: #0023d2;
  --brand-soft: #eef1ff;
  --ink: #111315;
  --muted: #646a70;
  --line: #dfe3e7;
  --surface: #ffffff;
  --surface-alt: #f5f7f8;
  /* 2026-08-09: 초록 계열을 브랜드 파랑 계열로 통일 (구: --green #0c7a55 / --dark #17231e) */
  --green: #0e6ea6;
  --dark: #0b1440;
  --brand-deep: #0a1a6b;
  --brand-mint: #93b4ff;
  --section-pad: clamp(72px, 7.6vw, 110px);
  --page-pad: 48px;
  --header-height: 76px;
  --max-width: 1320px;
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  word-break: keep-all;
}

svg {
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-shell {
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.section-kicker,
.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--brand) 83%, #000);
}

.button-secondary {
  border-color: #cfd5d9;
  color: var(--ink);
  background: #fff;
}

.button-large {
  min-height: 54px;
  padding-inline: 22px;
}

.button-block {
  width: 100%;
}

.text-link {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 750;
}

.icon-button {
  align-items: center;
  display: inline-flex;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 4px;
  background: transparent;
}

.notice-bar {
  min-height: 34px;
  padding: 7px var(--page-pad);
  color: #fff;
  background: var(--brand);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(20, 25, 28, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  align-items: center;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 150px;
  gap: 28px;
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  height: 100%;
  margin: 0 auto;
}

.site-logo {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  width: fit-content;
}

.logo-image {
  display: block;
  width: auto;
  height: 26px;
  max-width: 100%;
  /* 원본 927x80. 헤더 폭 제한(max-width)에 걸리면 height 고정과 겹쳐 가로가 눌린다.
     contain 으로 비율을 고정해 늘어나 보이는 현상을 막는다. */
  object-fit: contain;
  object-position: left center;
}

.footer-logo .logo-image {
  height: 24px;
}

.logo-mark {
  align-items: center;
  display: inline-flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.logo-type {
  display: flex;
  flex-direction: column;
}

.logo-type strong {
  font-size: 17px;
  line-height: 1.05;
}

.logo-type small {
  margin-top: 4px;
  color: #6f7478;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  min-height: 42px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.site-nav a svg {
  width: 14px;
  height: 14px;
}

.header-contact {
  min-width: 150px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  padding: 0 0 96px;
  overflow: hidden;
  background: var(--brand);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0 0;
  height: 150px;
  background: var(--surface);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.hero-copy {
  min-width: 0;
  color: #fff;
}

.hero-copy .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-wordmark {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

.hero-lead {
  max-width: 30ch;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.hero-body {
  max-width: 46ch;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.button-hero-primary {
  color: var(--brand);
  background: #ffd21e;
}

.button-hero-primary:hover {
  background: #ffdf5c;
}

.hero-text-link {
  color: #fff;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 26px 0 30px 26px;
}

.hero-accent {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 58%;
  height: 62%;
  background: #ffd21e;
}

.hero-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(3, 14, 60, 0.34);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
}

.hero-phone {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  align-items: center;
  display: inline-flex;
  gap: 9px;
  padding: 12px 20px;
  color: #fff;
  background: #04125e;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-chips {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: 10px 18px;
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

.hero-finder {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px;
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  min-height: 88px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #d7dce0;
  border-top: 4px solid var(--brand);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(18, 35, 55, 0.18);
}

.hero-finder label {
  display: block;
  min-width: 0;
  padding: 3px 22px;
  border-right: 1px solid #dfe3e6;
}

.hero-finder label > span {
  display: block;
  margin-bottom: 2px;
  color: #737a80;
  font-size: 10px;
  font-weight: 800;
}

.hero-finder select {
  width: 100%;
  min-height: 38px;
  padding: 0 28px 0 0;
  border: 0;
  outline: 0;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero-finder .button {
  align-self: stretch;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.quick-services > a {
  align-items: center;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 9px;
  min-height: 80px;
  padding: 12px 22px;
  border-right: 1px solid var(--line);
}

.quick-services > a:first-child {
  border-left: 1px solid var(--line);
}

.quick-services > a > svg:first-child {
  width: 23px;
  height: 23px;
  color: var(--brand);
}

.quick-services strong,
.quick-services small {
  display: block;
}

.quick-services strong {
  font-size: 15px;
  white-space: nowrap;
}

.quick-services small {
  margin-top: 2px;
  color: #777e83;
  font-size: 11px;
}

.quick-services > a:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 4%, #fff);
}

.about-section {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 90px;
  padding-block: 110px;
}

.about-media {
  position: relative;
  min-width: 0;
}

.about-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-stat {
  position: absolute;
  right: -28px;
  bottom: -28px;
  align-items: center;
  display: flex;
  width: 150px;
  height: 120px;
  padding: 20px;
  justify-content: center;
  color: #fff;
  background: var(--brand);
}

.about-stat strong {
  margin-right: 9px;
  font-size: 44px;
  line-height: 1;
}

.about-stat span {
  font-size: 12px;
  font-weight: 700;
}

.about-copy h2,
.services-heading h2,
.advantage-heading h2,
.contact-copy h2 {
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 1.35;
}

.about-copy > p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  word-break: keep-all;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.about-facts > div {
  padding: 18px 16px 0 0;
}

.about-facts dt {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.about-facts dd {
  color: #41484c;
  font-size: 12px;
  word-break: keep-all;
}

.services-section {
  color: #f4f7f5;
  background: var(--dark);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
  padding-block: 100px;
}

.services-heading .section-kicker {
  color: #71dbaf;
}

.services-heading img {
  aspect-ratio: 16 / 9;
  margin-top: 34px;
  object-fit: cover;
}

.service-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #49534e;
  list-style: none;
}

.service-list li {
  align-items: start;
  display: grid;
  grid-template-columns: 44px 48px minmax(0, 1fr);
  gap: 20px;
  min-height: 150px;
  padding: 28px 0;
  border-bottom: 1px solid #49534e;
}

.service-list li > span {
  color: #7a8580;
  font-size: 11px;
  font-weight: 800;
}

.service-list li > svg {
  width: 28px;
  height: 28px;
  color: #71dbaf;
}

.service-list h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.service-list p {
  margin: 0;
  color: #bdc5c1;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

.advantage-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 88px;
  padding-block: 110px;
}

.advantage-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #cad0d4;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 178px;
  padding: 26px;
  border-right: 1px solid #cad0d4;
  border-bottom: 1px solid #cad0d4;
}

.process-list li:nth-child(odd) {
  border-left: 1px solid #cad0d4;
}

.process-list li > span {
  display: block;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.process-list li > svg {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 22px;
  height: 22px;
  color: #949ba0;
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.process-list p {
  margin: 0;
  color: #70777c;
  font-size: 13px;
}

.branch-preview {
  padding-block: 96px;
  background: var(--surface-alt);
}

.section-heading-inline {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-heading-inline h2 {
  margin: 0;
  font-size: 34px;
}

.branch-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.branch-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce1e4;
  border-radius: 6px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.branch-card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 32px rgba(20, 30, 40, 0.1);
  transform: translateY(-3px);
}

.branch-card > img {
  aspect-ratio: 4 / 2.6;
  object-fit: cover;
}

.branch-card-body {
  position: relative;
  min-height: 145px;
  padding: 20px 48px 20px 20px;
}

.branch-card-body > span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
}

.branch-card-body h3 {
  margin: 5px 0 7px;
  font-size: 19px;
}

.branch-card-body p {
  margin: 0;
  overflow: hidden;
  color: #747b80;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-card-body > svg {
  position: absolute;
  right: 20px;
  bottom: 22px;
}

.contact-section {
  padding-block: 110px;
  background: #fff;
}

.contact-layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy > p {
  max-width: 430px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-phone {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  padding: 16px 20px;
  border-left: 4px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.contact-phone > svg {
  color: var(--brand);
}

.contact-phone small,
.contact-phone strong {
  display: block;
}

.contact-phone small {
  color: #767d82;
  font-size: 10px;
}

.contact-phone strong {
  font-size: 20px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid #dbe0e4;
  border-top: 4px solid var(--brand);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(23, 32, 42, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd5d9;
  border-radius: 4px;
  outline: 0;
  background: #fff;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 126px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent);
}

.privacy-consent-row {
  align-items: start;
  display: flex;
  gap: 9px;
}

.privacy-check {
  align-items: start;
  display: flex;
  flex: 1 1 auto;
  gap: 9px;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.privacy-check > span {
  margin: 0 !important;
  color: #575f64;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.privacy-detail-button {
  flex: 0 0 auto;
  padding: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #575f64;
  font-size: 12px;
  font-weight: 600;
}

.form-note {
  align-items: center;
  display: flex;
  gap: 7px;
  margin: 0;
  color: #727a80;
  font-size: 11px;
}

.form-note svg {
  color: var(--green);
}

.submit-button {
  justify-content: space-between;
  min-height: 54px;
  margin-top: 2px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  display: none;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  color: #075b3f;
  background: #e9f7f1;
}

.form-status.is-error {
  color: #9c2323;
  background: #fff0f0;
}

.site-footer {
  padding: 54px max(var(--page-pad), calc((100% - var(--max-width)) / 2)) 28px;
  color: #e9eeeb;
  background: var(--dark);
}

.footer-primary {
  align-items: center;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 160px;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #40504a;
}

.footer-logo .logo-type small {
  color: #a8b1ad;
}

.footer-message {
  display: flex;
  flex-direction: column;
}

.footer-message strong {
  font-size: 17px;
}

.footer-message span {
  margin-top: 3px;
  color: #a8b1ad;
  font-size: 12px;
}

.footer-contact {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.footer-meta {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding-top: 26px;
  color: #a7b0ac;
  font-size: 11px;
}

.footer-meta p {
  margin: 0;
}

.footer-meta > div {
  align-items: center;
  display: flex;
  gap: 16px;
}

.footer-meta button,
.footer-meta a {
  align-items: center;
  display: inline-flex;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.footer-meta button:hover,
.footer-meta a:hover {
  color: #fff;
}

.privacy-dialog,
.branch-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.privacy-dialog::backdrop,
.branch-dialog::backdrop {
  background: rgba(10, 14, 16, 0.62);
}

.dialog-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: 19px;
}

.dialog-content {
  padding: 24px;
  color: #4f585e;
  font-size: 14px;
  line-height: 1.85;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px 22px;
}

.channel-button {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 58px;
  height: 58px;
  padding: 7px 0 5px;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--brand) 30%, transparent);
}

.channel-button svg {
  width: 21px;
  height: 21px;
}

.channel-button span {
  margin-top: 1px;
  font-size: 9px;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 220;
  right: 24px;
  bottom: 94px;
  max-width: min(360px, calc(100% - 48px));
  padding: 12px 16px;
  visibility: hidden;
  border: 1px solid #d6dce0;
  border-radius: 5px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 15px 38px rgba(20, 28, 34, 0.18);
  font-size: 13px;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Branch finder */
.branches-main {
  min-height: 70vh;
  background: #fff;
}

.branches-hero {
  align-items: end;
  display: flex;
  width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
  min-height: 360px;
  margin: 0 auto;
  padding: 70px 0 62px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.branches-hero h1 {
  margin-bottom: 14px;
  font-size: 48px;
  line-height: 1.25;
}

.branches-hero p {
  margin: 0;
  color: var(--muted);
}

.branch-total {
  align-items: center;
  display: flex;
  width: 190px;
  height: 120px;
  padding: 24px;
  justify-content: center;
  color: #fff;
  background: var(--brand);
}

.branch-total strong {
  margin-right: 10px;
  font-size: 46px;
  line-height: 1;
}

.branch-total span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.branch-finder {
  padding-block: 54px 100px;
}

.branch-toolbar {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.branch-search {
  align-items: center;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 40px;
  width: min(620px, 100%);
  min-height: 54px;
  padding: 0 7px 0 18px;
  border: 1px solid #ccd2d6;
  border-radius: 5px;
  background: #fff;
}

.branch-search > svg {
  color: var(--brand);
}

.branch-search input {
  width: 100%;
  height: 50px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.branch-search [data-clear-search] {
  visibility: hidden;
}

.branch-search.has-value [data-clear-search] {
  visibility: visible;
}

.result-count {
  color: #697176;
  font-size: 13px;
}

.result-count strong {
  color: var(--brand);
  font-size: 19px;
}

.region-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.region-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #d4d9dc;
  border-radius: 4px;
  color: #565e63;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.region-filters button.is-active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.branch-catalog {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
}

.branch-list {
  border-top: 1px solid #cfd5d8;
}

.branch-row {
  align-items: center;
  display: grid;
  grid-template-columns: 46px minmax(190px, 1fr) minmax(180px, 0.9fr) 76px 20px;
  gap: 16px;
  width: 100%;
  min-height: 116px;
  padding: 18px 18px 18px 14px;
  border-bottom: 1px solid #dfe3e6;
  background: #fff;
  text-align: left;
}

.branch-row:hover,
.branch-row.is-selected {
  background: color-mix(in srgb, var(--brand) 5%, #fff);
}

.branch-row.is-selected {
  box-shadow: inset 4px 0 0 var(--brand);
}

.row-pin {
  align-items: center;
  display: inline-flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, #fff);
}

.row-main small,
.row-main strong,
.row-main em {
  display: block;
}

.row-main small {
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
}

.row-main strong {
  margin: 3px 0 2px;
  font-size: 17px;
}

.row-main em {
  overflow: hidden;
  color: #70777c;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-services {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.row-services b {
  padding: 4px 7px;
  border: 1px solid #d7dcdf;
  border-radius: 3px;
  color: #687075;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
}

.row-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.branch-detail {
  position: sticky;
  top: 106px;
  overflow: hidden;
  border: 1px solid #d7dcdf;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(21, 30, 38, 0.1);
}

.branch-detail-image {
  position: relative;
}

.branch-detail-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.branch-detail-image > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.branch-detail-body {
  padding: 26px;
}

.branch-detail-body > small {
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
}

.branch-detail-body h2 {
  margin: 4px 0 9px;
  font-size: 25px;
}

.branch-detail-body > p {
  min-height: 48px;
  margin-bottom: 20px;
  color: #667076;
  font-size: 13px;
  line-height: 1.7;
}

.branch-detail-body dl {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.branch-detail-body dl > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.branch-detail-body dt {
  color: #858c91;
  font-weight: 700;
}

.branch-detail-body dd {
  margin: 0;
  word-break: keep-all;
}

.empty-state {
  padding: 70px 20px;
  border-bottom: 1px solid var(--line);
  color: #6b7378;
  text-align: center;
}

.empty-state svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.empty-state p {
  margin-bottom: 18px;
  font-size: 13px;
}

@media (max-width: 1120px) {
  :root {
    --page-pad: 32px;
  }

  .header-inner {
    grid-template-columns: 190px minmax(0, 1fr) 132px;
    gap: 18px;
  }

  .site-nav {
    gap: 17px;
  }

  .header-contact {
    min-width: 132px;
  }

  .hero-inner {
    gap: 38px;
  }

  .about-section,
  .services-layout,
  .advantage-section,
  .contact-layout {
    gap: 54px;
  }

  .branch-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branch-catalog {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .branch-row {
    grid-template-columns: 42px minmax(170px, 1fr) 76px 18px;
  }

  .row-services {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 22px;
    --header-height: 68px;
  }

  html {
    scroll-padding-top: 92px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: calc(34px + var(--header-height));
    right: 0;
    bottom: 0;
    left: 0;
    align-items: stretch;
    display: none;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 22px var(--page-pad);
    background: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 56px;
    padding: 0 4px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .hero {
    padding-bottom: 78px;
  }

  .hero::after {
    height: 120px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 44px 0 52px;
  }

  .hero-visual {
    padding: 20px 0 26px 20px;
  }

  .hero-shot img {
    height: clamp(240px, 54vw, 360px);
  }

  .hero-phone {
    padding: 10px 15px;
    font-size: 16px;
  }

  .hero-chips {
    right: 14px;
  }

  .hero-chips li {
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 14px 18px;
  }

  .button-large {
    min-height: 48px;
  }

  .hero-finder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 134px;
    padding: 10px;
  }

  .hero-finder label {
    padding: 2px 10px;
  }

  .hero-finder label:nth-child(2) {
    border-right: 0;
  }

  .hero-finder .button {
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 7px;
  }

  .quick-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 0;
  }

  .quick-services > a {
    min-height: 76px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .quick-services > a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .about-section,
  .services-layout,
  .advantage-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 58px;
    padding-block: 80px;
  }

  .about-stat {
    right: 18px;
  }

  .services-layout {
    gap: 42px;
    padding-block: 78px;
  }

  .services-heading img {
    max-height: 350px;
  }

  .advantage-section {
    gap: 38px;
    padding-block: 80px;
  }

  .contact-layout {
    gap: 42px;
  }

  .contact-copy {
    position: static;
  }

  .footer-primary {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .footer-message {
    display: none;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .branch-catalog {
    display: flex;
    flex-direction: column;
  }

  .branch-detail {
    position: static;
    order: -1;
    width: 100%;
  }

  .branch-detail-image img {
    max-height: 380px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 18px;
  }

  .notice-bar {
    padding-inline: 14px;
    font-size: 10px;
  }

  .logo-image {
    height: 22px;
  }

  .hero {
    padding-bottom: 66px;
  }

  .hero::after {
    height: 104px;
  }

  .hero-inner {
    width: calc(100% - 36px);
    gap: 28px;
    padding: 34px 0 42px;
  }

  .hero-wordmark {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-body {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .hero-visual {
    padding: 16px 0 22px 14px;
  }

  .hero-shot img {
    height: clamp(200px, 56vw, 280px);
  }

  .hero-phone {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero-chips {
    right: 10px;
    gap: 7px;
  }

  .hero-chips li {
    padding: 6px 11px;
    font-size: 12px;
  }

  .hero-actions .text-link {
    font-size: 14px;
  }

  .hero-finder {
    grid-template-columns: 1fr;
    min-height: 154px;
  }

  .hero-finder label {
    min-height: 44px;
    padding-inline: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-finder select {
    min-height: 26px;
    font-size: 12px;
  }

  .hero-finder .button {
    grid-column: auto;
    min-height: 38px;
    margin-top: 5px;
  }

  .quick-services strong {
    font-size: 13px;
  }

  .quick-services small {
    font-size: 9px;
  }

  .about-section {
    padding-block: 66px;
  }

  .about-copy h2,
  .services-heading h2,
  .advantage-heading h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .about-stat {
    right: 12px;
    bottom: -32px;
    width: 126px;
    height: 96px;
  }

  .about-stat strong {
    font-size: 36px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts > div {
    display: grid;
    grid-template-columns: 72px 1fr;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .service-list li {
    grid-template-columns: 34px 34px minmax(0, 1fr);
    gap: 10px;
    min-height: 136px;
    padding: 22px 0;
  }

  .service-list h3 {
    font-size: 18px;
  }

  .service-list p {
    font-size: 12px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 132px;
    border-left: 1px solid #cad0d4;
  }

  .branch-preview {
    padding-block: 70px;
  }

  .section-heading-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-heading-inline h2 {
    font-size: 28px;
  }

  .branch-card-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid .branch-card:nth-child(n + 4) {
    display: none;
  }

  .branch-card > img {
    aspect-ratio: 16 / 8.5;
  }

  .contact-section {
    padding-block: 72px;
  }

  .contact-form {
    gap: 15px;
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-inline: var(--page-pad);
  }

  .footer-primary {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-meta > div {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .channel-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .toast {
    right: 16px;
    bottom: 80px;
    max-width: calc(100% - 32px);
  }

  .branches-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 330px;
    padding-block: 56px 40px;
  }

  .branches-hero h1 {
    font-size: 36px;
  }

  .branches-hero p {
    font-size: 13px;
  }

  .branch-total {
    width: 142px;
    height: 80px;
    margin-top: 26px;
  }

  .branch-total strong {
    font-size: 35px;
  }

  .branch-finder {
    padding-block: 34px 70px;
  }

  .branch-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .branch-search {
    min-height: 50px;
  }

  .region-filters {
    width: calc(100% + 18px);
    margin-right: -18px;
  }

  .branch-detail-body {
    padding: 22px 18px;
  }

  .branch-row {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    min-height: 105px;
    padding: 14px 10px;
  }

  .row-status {
    display: none;
  }

  .row-main strong {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------------
   2026-08-07 수정 반영 (인케이션 대표님 요청)
   - 본문 글자 크기 상향
   - 모바일 가로 잘림 방지
   - 문의폼 선택 항목 표기
   ------------------------------------------------------------------ */

body {
  font-size: 17px;
}

.site-nav a {
  font-size: 16px;
}

.quick-services span strong {
  font-size: 17px;
}

.quick-services span small {
  font-size: 14px;
}

.about-copy > p,
.advantage-heading > p,
.contact-copy > p {
  font-size: 17px;
  line-height: 1.8;
}

.about-facts dt {
  font-size: 14px;
}

.about-facts dd {
  font-size: 16px;
}

.service-list h3 {
  font-size: 20px;
}

.service-list p {
  font-size: 16px;
  line-height: 1.75;
}

.process-list strong {
  font-size: 17px;
}

.process-list p {
  font-size: 15px;
}

.branch-card-body h3 {
  font-size: 19px;
}

.branch-card-body p {
  font-size: 15px;
}

.contact-form label > span {
  font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-size: 16px;
}

.hero-finder label > span {
  font-size: 12px;
}

.hero-finder select {
  font-size: 15px;
}

.footer-meta p {
  font-size: 14px;
}

.label-optional {
  color: #8b9299;
  font-size: 0.85em;
  font-style: normal;
  font-weight: 600;
}

/* 모바일 가로 스크롤·잘림 방지 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero,
.hero-inner,
.hero-copy,
.hero-visual,
.section-shell,
.contact-layout,
.about-section,
.services-layout,
.advantage-section {
  min-width: 0;
}

.hero-wordmark,
.hero-lead,
.hero-body {
  overflow-wrap: anywhere;
}

img,
video,
canvas,
svg.full-bleed {
  max-width: 100%;
}

@media (max-width: 820px) {
  .contact-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================================================================
   2026-08-08 개편
   1) 모바일 메뉴 겹침 수정
   2) 상단 흰 배경 전환 (파랑은 포인트로만)
   3) 최상단 롤링 배너
   ========================================================================= */

/* ---- 1) 모바일 메뉴 겹침 ----------------------------------------------
   .site-header 의 backdrop-filter 가 position:fixed 자식의 컨테이닝 블록을
   만들어 .site-nav 가 44px 로 찌부러졌다. 모바일에서는 blur 를 끄고
   메뉴 패널을 뷰포트 기준으로 되돌린다. */
@media (max-width: 820px) {
  .site-header {
    z-index: 130;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  /* 메뉴 패널(.site-nav)은 헤더 안에 있어서 형제인 로고·토글보다 위에 깔린다.
     둘을 패널보다 위로 올려야 열린 상태에서도 로고와 닫기 버튼이 보인다. */
  .site-logo,
  .nav-toggle {
    position: relative;
    z-index: 140;
  }

  .notice-bar {
    position: relative;
    z-index: 130;
  }

  .site-nav {
    top: 0;
    height: 100%;
    height: 100dvh;
    padding-top: calc(34px + var(--header-height) + 12px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 24px 48px rgba(18, 35, 55, 0.16);
    -webkit-overflow-scrolling: touch;
  }
}

/* ---- 2) 상단 흰 배경 --------------------------------------------------- */
.hero {
  padding-top: 8px;
  background: var(--surface);
}

.hero::after {
  content: none;
}

.hero-inner {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: 46px 0 40px;
}

.hero-copy {
  color: var(--ink);
}

.hero-copy .eyebrow {
  color: var(--brand);
  background: var(--brand-soft);
}

.hero-wordmark {
  color: var(--brand);
  font-size: clamp(46px, 6.4vw, 88px);
}

.hero-lead {
  max-width: 34ch;
  color: var(--ink);
}

.hero-body {
  color: var(--muted);
}

.hero-text-link {
  color: var(--brand);
}

.button-hero-primary {
  color: #fff;
  background: var(--brand);
}

.button-hero-primary:hover {
  background: #0019a3;
}

/* 건물 이미지는 최상단 배너로 옮겼고, 여기에는 대표번호와 서비스 배지만 남긴다 */
.hero-visual {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 0;
}

.hero-phone {
  position: static;
  padding: 11px 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--brand);
  font-size: 17px;
}

.hero-chips {
  position: static;
  gap: 8px;
}

.hero-chips li {
  padding: 9px 15px;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 14px;
}

/* ---- 3) 최상단 롤링 배너 ----------------------------------------------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
}

.banner-viewport {
  position: relative;
  width: 100%;
  height: clamp(300px, 47vw, 700px);
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide > a.banner-link,
.banner-slide > img {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide img {
  object-fit: cover;
  object-position: center;
}

.banner-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px var(--page-pad) 34px;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 12, 34, 0.78), rgba(6, 12, 34, 0));
  text-align: left;
}

.banner-caption strong {
  font-size: clamp(21px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  word-break: keep-all;
}

.banner-caption span {
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.92;
  word-break: keep-all;
}

.banner-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(12, 22, 48, 0.22);
  cursor: pointer;
}

.banner-arrow:hover {
  background: #fff;
}

.banner-arrow.is-prev {
  left: 16px;
}

.banner-arrow.is-next {
  right: 16px;
}

.banner-arrow svg {
  width: 22px;
  height: 22px;
}

.banner-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(12, 22, 48, 0.18);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.banner-dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: #fff;
}

@media (max-width: 820px) {
  .banner-viewport {
    height: clamp(220px, 62vw, 360px);
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
  }

  .banner-arrow.is-prev {
    left: 8px;
  }

  .banner-arrow.is-next {
    right: 8px;
  }

  .banner-caption {
    padding: 20px var(--page-pad) 30px;
  }

  .hero-inner {
    padding: 30px 0 34px;
  }
}

@media (min-width: 821px) {
  .hero-inner {
    align-items: end;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 40px;
  }

  .hero-visual {
    justify-content: flex-end;
    padding-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide {
    transition: none;
  }
}


/* =========================================================================
   2026-08-09 디자인 통일
   같은 사이트로 읽히도록 색 계열과 섹션 리듬을 하나로 맞춘다.
   - 초록 계열(민트 아이콘, 초록 상태색) → 브랜드 파랑 계열
   - 섹션 상하 여백을 --section-pad 하나로 통일
   ========================================================================= */

/* ---- 색 계열 통일: 서비스 섹션(짙은 남색 배너) ---- */
.services-section {
  color: #eef2ff;
}

.services-heading .section-kicker,
.service-list li > svg {
  color: var(--brand-mint);
}

.service-list li > span {
  color: #93a0c4;
}

.service-list p {
  color: #c3cbe4;
}

/* ---- 푸터도 같은 남색 계열 ---- */
.site-footer {
  color: #e6ebfa;
}

/* ---- 섹션 상하 리듬 통일 ---- */
.about-section.section-shell,
.advantage-section.section-shell,
.branch-preview,
.contact-section {
  padding-block: var(--section-pad);
}

.services-layout {
  padding-block: var(--section-pad);
}

.branch-finder.section-shell {
  padding-block: var(--section-pad);
}

.branches-hero {
  /* 여백을 --section-pad로 잡았으므로 min-height로 인한 빈 공간을 없앤다 */
  min-height: 0;
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.62);
}

/* ---- 하위 페이지도 메인과 같은 도입부 리듬 ---- */
.branches-hero .section-kicker,
.branches-hero .eyebrow {
  color: var(--brand);
}

/* ---- 상태 배지: 초록 대신 파랑 계열 ---- */
.row-status {
  color: var(--green);
}

.branch-detail-image > span {
  background: var(--green);
}

/* ---- 남은 노랑 잔재 제거 (배너로 이동하면서 쓰지 않는 규칙) ---- */
.hero-accent {
  display: none;
}

@media (max-width: 820px) {
  .services-layout {
    gap: 40px;
  }
}

/* 2026-08-14 고객 요청: 메인 배너 하단 WORK24 워드마크를 한 줄로.
   기존 .hero-wordmark 는 display:flex + flex-direction:column 이라 WORK / 24 로 쌓였다. */
.hero-wordmark {
  flex-direction: row;
  align-items: baseline;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* ---- 지점 상세 사진 여러 장 (2026-08-14) ---- */
.branch-detail-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.branch-detail-thumbs[hidden] {
  display: none;
}

.branch-thumb {
  flex: 0 0 auto;
  width: 84px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
}

.branch-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.branch-thumb.is-active {
  border-color: var(--brand);
}

@media (max-width: 560px) {
  .branch-thumb {
    width: 68px;
  }
}

/* =========================================================================
   2026-08-14 모바일 배너 좌우 잘림 수정 (고객 요청)
   좁은 화면에서 배너 영역 높이를 62vw 로 고정해 두는 바람에,
   가로가 긴 배너(1870x841 = 약 2.22:1)가 두 가지로 어긋나 있었다.
     - 링크 없는 배너: object-fit: cover 가 이미지를 키워 좌우를 잘라냄
       (390px 기준 가로의 25.8% 손실. 그림 안에 넣은 문구가 잘려 나갔다)
     - 링크 있는 배너: 이미지는 제 비율로 들어가지만 영역을 다 못 채워
       아래쪽에 27.5% 만큼 빈 띠가 남음
   높이를 고정하지 않고 첫 배너 이미지의 원래 비율이 영역 높이를 정하게 하고,
   나머지 슬라이드는 contain 으로 맞춰 어느 배너도 잘리지 않게 한다.
   821px 이상(태블릿·PC)은 기존 레이아웃 그대로 둔다.
   ========================================================================= */
@media (max-width: 820px) {
  .banner-viewport {
    height: auto;
  }

  /* 첫 슬라이드만 문서 흐름에 두어 원래 비율대로 영역 높이를 잡게 한다.
     opacity 로만 숨기므로 다른 슬라이드가 보일 때도 높이는 유지된다. */
  .banner-slide:first-child {
    position: relative;
  }

  .banner-slide:first-child > a.banner-link,
  .banner-slide:first-child > img,
  .banner-slide:first-child > a.banner-link > img {
    height: auto;
  }

  /* 비율이 다른 배너를 올리더라도 잘라내지 않고 안에 맞춘다. */
  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .banner-slide:first-child img {
    height: auto;
  }
}
