:root {
  --ink: #202822;
  --muted: #535e56;
  --green: #214934;
  --deep: #193126;
  --line: #dce2dc;
  --soft: #f5f7f4;
  --accent: #fa8c50;
  --rust: #8e431f;
  --header: 71px;
  --section-space: clamp(58px, 6.8vw, 97px);
  --gutter: clamp(19px, 5.5vw, 84px);
  color-scheme: light;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.7;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.24; word-break: keep-all; }
p, address { overflow-wrap: break-word; word-break: keep-all; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b05021; outline-offset: 4px; }
.container { width: min(100% - var(--gutter) * 2, 1180px); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 4; transform: translateY(-145%); padding: 7px 16px; background: white; border-radius: 4px; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid #e0e4df;
  background: #fff;
}
.header-inner { position: relative; min-height: calc(var(--header) - 1px); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; margin-right: auto; font-size: 1.37rem; font-weight: 650; letter-spacing: -.05em; }
.brand img { width: 35px; height: 37px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); padding-top: 3px; white-space: nowrap; }
.primary-nav a { font-size: .94rem; line-height: 1.2; min-height: 44px; align-content: center; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--rust); }
.nav-toggle { display: none; }
.button {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .94rem;
  font-weight: 550;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s;
}
.header-contact, .button-outline { background: white; border-color: #bac8bd; color: var(--green); }
.header-contact:hover, .button-outline:hover { background: var(--soft); border-color: var(--green); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #242e29; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,24,21,.81), rgba(17,26,22,.66) 35%, rgba(18,26,23,.22) 70%, rgba(19,27,24,.08)); }
.hero-image { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 54%; }
.hero-inner { display: grid; align-items: center; min-height: clamp(465px, 43vw, 605px); padding-block: 50px; }
.hero-copy { max-width: 600px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; color: #ffc6a6; font-size: .98rem; font-weight: 600; margin-bottom: 14px; }
.hero-kicker::before { content: ""; width: 23px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.45rem, 4.1vw, 3.65rem); font-weight: 500; letter-spacing: -.067em; line-height: 1.18; }
.hero-summary { color: #e6ebe7; font-size: clamp(.98rem, 1.48vw, 1.16rem); margin-top: 19px; letter-spacing: -.023em; }
.hero-actions, .contact-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hero-actions { margin-top: 27px; }
.button-primary { background: var(--accent); color: #241b16; }
.button-primary:hover { background: #ffab7d; }
.button-on-dark { background: #fff2; color: #fff; border-color: #ffffff80; }
.button-on-dark:hover { background: #ffffff38; border-color: #ffffffba; }
.hero-phone { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 9px; margin-top: 18px; color: #fff; min-height: 34px; }
.hero-phone span { color: #e6ebe7; font-size: .91rem; }
.hero-phone strong { font-size: 1.23rem; font-weight: 550; letter-spacing: -.018em; font-variant-numeric: tabular-nums; }
.hero a:focus-visible, .bank-feature a:focus-visible { outline-color: #ffc6a6; }

.section { padding-block: var(--section-space); border-bottom: 1px solid var(--line); }
.section-label { color: var(--rust); font-size: .9rem; font-weight: 620; margin-bottom: 8px; }
.section h2 { font-size: clamp(1.83rem, 3.25vw, 2.65rem); font-weight: 500; letter-spacing: -.063em; }
.section h3 { font-weight: 625; letter-spacing: -.04em; }
.section-heading { margin-bottom: clamp(22px, 3vw, 33px); }
.split { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.intro-body { max-width: 690px; }
.intro-body > p { font-size: clamp(1rem, 1.6vw, 1.13rem); color: #48534c; line-height: 1.85; }
.principles { margin-top: 20px; padding: 0; display: flex; gap: 8px 24px; flex-wrap: wrap; list-style: none; }
.principles li { display: flex; align-items: center; gap: 8px; font-size: .91rem; font-weight: 570; color: var(--green); }
.principles li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #5c8569; }

.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(19px, 2.55vw, 30px); }
.service-icon { color: var(--green); width: 28px; height: 28px; margin-bottom: 13px; display: block; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service-card p { color: var(--muted); line-height: 1.75; }

.feature-section { border-bottom: 0; padding-bottom: 0; }
.bank-feature { display: grid; grid-template-columns: 1fr 1.04fr; overflow: hidden; background: var(--deep); border-radius: 9px; color: #fff; }
.bank-copy { padding: clamp(28px, 4.3vw, 61px); }
.bank-copy .section-label { color: #ffbe99; }
.bank-copy > p:not(.section-label) { color: #dbe5de; margin-top: 12px; max-width: 420px; }
.bank-list { padding: 0; margin-block: 19px 21px; list-style: none; }
.bank-list li { position: relative; padding: 7px 0 7px 15px; border-top: 1px solid #ffffff28; word-break: keep-all; font-size: .94rem; }
.bank-list li::before { content: ""; position: absolute; left: 1px; top: 1.07em; width: 4px; height: 4px; border-radius: 50%; background: #ffab7d; }
.bank-image { width: 100%; height: 100%; min-height: 370px; object-fit: cover; object-position: center; }

.gallery-description { margin-top: 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; padding: 0; list-style: none; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--soft); }
.gallery-grid .gallery-image-left { object-position: 25% center; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.process-grid li { padding: 14px 8px 0 0; border-top: 1px solid #a9bbad; }
.process-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-grid p { color: var(--muted); }

.contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 78px); align-items: center; }
.contact-copy > p:not(.section-label) { color: var(--muted); margin-top: 13px; max-width: 400px; }
.contact-number { display: inline-block; color: var(--green); padding-block: 2px; margin-top: 13px; font-size: clamp(1.64rem, 3.3vw, 2.16rem); font-weight: 580; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.contact-actions { margin-top: 11px; }
.button-dark { color: white; background: var(--green); }
.button-dark:hover { background: #326043; }
.phone-button { display: none; }
.location { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.location-header { padding: 15px 17px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 16px; }
.location h3 { font-size: 1rem; }
.location address { color: var(--muted); margin-top: 4px; font-size: .9rem; }
.location iframe { display: block; width: 100%; height: 248px; border: 0; background: #e9eee9; }

.site-footer { padding-block: 31px 26px; color: #566058; }
.footer-info { display: flex; flex-wrap: wrap; gap: 10px 29px; align-items: baseline; }
.footer-name { color: var(--ink); font-weight: 650; }
.footer-info dl { display: flex; flex-wrap: wrap; gap: 5px 18px; font-size: .85rem; }
.footer-info dl div { display: flex; align-items: baseline; gap: 6px; }
.footer-info dt { color: #3e4b43; font-weight: 565; }
.copyright { margin-top: 2lh; font-size: .82rem; }

@media (max-width: 780px) {
  :root { --header: 62px; --section-space: clamp(46px, 7.5vw, 58px); }
  .header-inner { gap: 10px; }
  .brand { font-size: 1.2rem; gap: 7px; }
  .brand img { width: 29px; height: 31px; }
  .header-contact, .button { min-height: 42px; }
  .header-contact { min-height: 40px; padding-inline: 9px; font-size: .88rem; }
  .primary-nav { gap: 14px; padding-top: 1px; }
  .hero-inner { min-height: 435px; padding-block: 39px; }
  .hero h1 { font-size: clamp(2.2rem, 6.4vw, 3rem); }
  .hero::after { background: linear-gradient(90deg, #101912de, #111a16a1 66%, #17231c69); }
  .hero-image { object-position: 60% center; }
  .contact-grid { grid-template-columns: 1fr; }
  .phone-button { display: inline-flex; }
  .bank-feature { grid-template-columns: 1fr; }
  .bank-image { height: clamp(195px, 44vw, 300px); min-height: auto; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 22px 15px; }
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root {
    --header-brand-row: 3.375rem;
    --header-menu-row: 2.75rem;
    --header: calc(var(--header-brand-row) + var(--header-menu-row) + 1px);
  }
  .header-inner {
    display: grid;
    grid-template:
      "brand contact" var(--header-brand-row)
      "menu menu" var(--header-menu-row) / 1fr auto;
    column-gap: 10px;
    row-gap: 0;
  }
  .brand { grid-area: brand; }
  .header-contact { grid-area: contact; }
  .primary-nav {
    grid-area: menu;
    align-self: stretch;
    justify-content: safe flex-end;
    gap: clamp(6px, calc(8vw - 20px), 18px);
    padding: 0;
    border-top: 1px solid var(--line);
  }
  .primary-nav a { display: flex; align-items: center; min-height: 100%; font-size: .88rem; }
  .primary-nav a:focus-visible { outline-offset: 0; }
}

@media (max-width: 19rem) {
  :root { --header: calc(var(--header-brand-row) + 1px); }
  .header-inner { display: flex; gap: 6px; }
  .brand { gap: 5px; font-size: 1.1rem; }
  .header-contact { padding-inline: 5px; }
  .nav-toggle { display: inline-grid; place-items: center; flex: none; width: 40px; height: 42px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); cursor: pointer; }
  .nav-toggle .icon { width: 20px; height: 20px; }
  .primary-nav { flex-wrap: wrap; justify-content: normal; gap: 0 10px; }
  .primary-nav a { min-height: 44px; }
  .has-js .primary-nav { display: none; position: absolute; inset: calc(100% + 1px) 0 auto; background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px #19261a14; border-radius: 0 0 7px 7px; }
  .has-js .header-inner:has(.nav-toggle[aria-expanded="true"]) .primary-nav { display: grid; }
  .has-js .primary-nav a { padding: 0 13px; }
  .has-js .primary-nav a + a { border-top: 1px solid var(--line); }
  html:not(.has-js) { scroll-padding-top: calc(var(--header) + 5.5rem + 7px); }
  html:not(.has-js) .header-inner { flex-wrap: wrap; }
  html:not(.has-js) .primary-nav { flex-basis: 100%; order: 1; }
}

@media (max-width: 570px) {
  .split, .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .principles { margin-top: 15px; column-gap: 16px; }
  .service-card { display: grid; grid-template-columns: 26px 1fr; column-gap: 11px; }
  .service-card h3 { align-self: center; margin-bottom: 0; }
  .service-card p { grid-column: 2; margin-top: 5px; }
  .service-icon { width: 23px; height: 23px; margin-bottom: 0; }
}

@media (max-width: 340px) {
  .header-contact { gap: 4px; }
  .hero h1 { font-size: 2rem; }
}

@media (max-height: 540px) {
  .hero-inner { min-height: 0; padding-block: 20px; }
  .hero-kicker { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
  .hero-summary { margin-top: 9px; }
  .hero-actions { margin-top: 13px; }
  .hero-phone { margin-top: 8px; }
}

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