/* =========================================================
   미래페인트(MIRAE PAINT) — 회사소개형 홈페이지 초안
   Shared stylesheet. Design language: 시원한 블루 그리드 (1a).
   ========================================================= */

@font-face {
  font-family: "Pretendard Variable";
  src: url("fonts/PretendardVariable-site-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  /* Brand */
  --navy:   #0f2a50;
  --navy-2: #1e4d94;
  --green:   #00393C;
  --green-2: #0a5a52;
  --blue:   #FF4E1C; /* name kept from pre-rebrand navy/blue theme; value is now 삼화 Innovation Orange */
  --blue-l: #ff7a4d;
  --blue-xl:#ffb08c;
  --tint:   #fff1ec;
  --cta:    #C2410C;

  /* Accents */
  --yellow: #ffd21e;
  --orange: #ff7a00;
  --teal:   #12a294;
  --purple: #7c3aed;
  --red:    #ff4d4d;

  /* Neutrals */
  --bg:      #ffffff;
  --bg-soft: #f6f2ea;
  --ink:     #0f2a50;
  --text:    #334155;
  --muted:   #5a6b84;
  --muted-2: #64748b; /* darkened from #8090a6 — old value was ~3.9:1 on white, fails WCAG AA 4.5:1 */
  --border:  #e8edf4;
  --border-2:#eef2f7;
  --border-3:#d5dfec;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: 160ms ease;
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px;
  padding: 12px 18px; border-radius: 10px; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible {
  outline: 3px solid #0f2a50;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}
body {
  margin: 0;
  background: var(--bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
/* Keep <picture> responsive-source semantics while preserving the existing
   grid/flex relationship and image sizing rules of its rendered <img>. */
picture { display: contents; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 800; border-radius: var(--radius-sm);
  padding: 15px 26px; cursor: pointer; border: 2px solid transparent;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: #9A3412; transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(255,78,28,.7); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #12356a; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border-3); }
.btn-outline:hover { border-color: var(--cta); color: var(--cta); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0,0,0,.35); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow { font-size: 13px; font-weight: 800; color: var(--cta); letter-spacing: 1.5px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 34px; font-weight: 900; letter-spacing: -1px; margin: 12px 0 10px; line-height: 1.25; }
.section-head p { font-size: 16px; color: var(--muted); font-weight: 500; }

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }

/* =========================================================
   Utility bar
   ========================================================= */
.utilbar { background: var(--green); color: #c7d8d3; font-size: 12.5px; font-weight: 500; }
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.utilbar .wrap > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utilbar b { color: #fff; }
.utilbar .util-right { display: flex; gap: 22px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.utilbar a:hover { color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-2);
}
.site-header .wrap { display: flex; align-items: center; gap: 36px; padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-name { font-size: 20px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.brand-sub  { font-size: 10.5px; font-weight: 700; color: var(--cta); letter-spacing: 2px; margin-top: 3px; }

/* SP SAMHWA dealer lockup (placeholder logo — swap for official SP SAMHWA asset).
   Uses 삼화 Innovation Orange #FF4E1C. */
.samhwa-logo { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.samhwa-logo svg { width: 27px; height: 27px; flex-shrink: 0; }
.sw-word { font-family: Arial, Helvetica, sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .2px; color: #1c1c1c; white-space: nowrap; }
.brand-txt { display: flex; flex-direction: column; gap: 3px; line-height: 1; padding-left: 11px; margin-left: 3px; border-left: 1px solid var(--border); min-width: 0; overflow: hidden; }
.brand-dealer { font-size: 11px; font-weight: 700; color: var(--muted-2); letter-spacing: .2px; }
.brand-dealer, .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .sw-word { display: none; }
  .brand-txt { padding-left: 9px; }
  .brand-dealer { font-size: 10.5px; }
}

.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 600; color: var(--text); }
.nav-links a { padding: 6px 0; position: relative; transition: color var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--cta); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.naver-store-link {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: #08783E; color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.naver-store-link:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(8,120,62,.65); }
.naver-store-link:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px #fff;
}
.naver-store-link .n-mark {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #08783E;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 12px; font-weight: 900;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}

/* 태블릿: 데스크톱 네비 전체 폭(브랜드+메뉴7개+네이버버튼+상담버튼)이 들어가지
   않는 구간에서 조기에 햄버거로 접어 CJK 글자 단위 줄바꿈(깨짐)을 방지한다. */
@media (max-width: 1180px) {
  .nav-links, .header-actions .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px; box-shadow: 0 20px 30px -20px rgba(15,42,80,.3);
  }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--border-2); font-size: 16px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; padding-left: 0; padding-right: 0; }
.hero-copy { padding: 84px 44px 84px 24px; display: flex; flex-direction: column; justify-content: center; }
.badge-pill {
  align-self: flex-start; background: var(--tint); color: var(--cta);
  font-size: 12.5px; font-weight: 800; padding: 7px 14px; border-radius: 999px; letter-spacing: .3px;
}
.hero-copy h1 { font-size: 52px; line-height: 1.14; font-weight: 900; letter-spacing: -1.8px; margin: 22px 0 18px; }
.hero-copy .lead { font-size: 17px; line-height: 1.65; color: var(--muted); font-weight: 500; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.stat .num { font-size: 26px; font-weight: 900; color: var(--navy); }
.stat .num small { font-size: 15px; color: var(--muted-2); font-weight: 800; }
.stat .lbl { font-size: 12.5px; color: var(--muted-2); font-weight: 600; margin-top: 2px; }

.hero-media {
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-l) 55%, var(--blue-xl) 100%);
  position: relative; overflow: hidden; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
/* Hero: 전체 매장 파노라마 배경 + 좌측 텍스트 오버레이 (KCC~삼화 간판 전부 노출) */
.hero.hero-photo { position: relative; overflow: hidden; background: #0b1c39; }
.hero.hero-photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 0;
}
.hero.hero-photo .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,20,42,.92) 0%, rgba(8,20,42,.74) 32%, rgba(8,20,42,.34) 58%, rgba(8,20,42,.10) 100%),
    linear-gradient(0deg, rgba(8,20,42,.5), transparent 42%);
}
.hero.hero-photo .wrap { position: relative; z-index: 2; display: block; }
.hero.hero-photo .hero-copy { max-width: 640px; padding: 92px 24px 84px; }
.hero.hero-photo .hero-copy h1 { color: #fff; }
.hero.hero-photo .hero-copy .lead { color: rgba(255,255,255,.92); }
.hero.hero-photo .hero-stats .num { color: #fff; }
.hero.hero-photo .hero-stats .lbl { color: rgba(255,255,255,.74); }
.hero.hero-photo .hero-stats { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.hero-media .blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); }
.hero-media .blob.b1 { width: 280px; height: 280px; top: -60px; right: -50px; }
.hero-media .blob.b2 { width: 170px; height: 170px; bottom: -30px; left: 20px; }
.cans { position: relative; display: flex; gap: 16px; align-items: flex-end; }
.can { background: #fff; border-radius: 14px 14px 8px 8px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.can .lid { border-radius: 4px; margin-top: -8px; }
.can .body { border-radius: 8px; }
.can .cap { font-size: 11px; font-weight: 800; margin-top: 10px; padding-bottom: 14px; }
.can.c1 { width: 118px; height: 158px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.4); }
.can.c1 .lid { width: 62px; height: 16px; background: var(--green); }
.can.c1 .body { width: 78px; height: 74px; background: linear-gradient(var(--green-2), var(--green)); margin-top: 14px; }
.can.c2 { width: 128px; height: 200px; box-shadow: 0 22px 50px -12px rgba(0,0,0,.45); }
.can.c2 .lid { width: 70px; height: 18px; background: var(--orange); }
.can.c2 .body { width: 90px; height: 102px; background: linear-gradient(#ff9d3d, var(--orange)); margin-top: 16px; }
.can.c3 { width: 106px; height: 146px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.4); }
.can.c3 .lid { width: 56px; height: 14px; background: var(--navy); }
.can.c3 .body { width: 72px; height: 66px; background: linear-gradient(#2ec4b6, var(--teal)); margin-top: 12px; }

/* page hero (sub pages) */
.page-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%); color: #fff; }
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { font-size: 40px; font-weight: 900; letter-spacing: -1.2px; margin: 12px 0 10px; }
.page-hero p { font-size: 16px; color: #b9cae4; font-weight: 500; max-width: 640px; line-height: 1.65; }
.crumbs { font-size: 13px; color: #8ba0c0; margin-top: 18px; }
.crumbs a:hover { color: #fff; }

/* =========================================================
   About summary (index)
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1.25; margin: 12px 0 20px; }
.about-grid p { font-size: 16px; line-height: 1.8; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.about-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.about-visual .cell {
  border-radius: var(--radius-md); padding: 26px; color: #fff; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.about-visual .cell .k { font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.about-visual .cell .v { font-size: 13.5px; font-weight: 600; opacity: .92; margin-top: 4px; }
.about-visual .cell.c1 { background: linear-gradient(150deg, var(--cta), #9A3412); }
.about-visual .cell.c2 { background: linear-gradient(150deg, var(--green), var(--green-2)); }
.about-visual .cell.c3 { background: linear-gradient(150deg, #0C7A70, #075A54); }
.about-visual .cell.c4 { background: linear-gradient(150deg, var(--navy), var(--navy-2)); }

/* =========================================================
   Feature cards (강점)
   ========================================================= */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.feature-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(255,78,28,.5); }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-box.blue   { background: var(--tint); }
.icon-box.orange { background: #fff1e6; }
.icon-box.teal   { background: #e6f7f4; }
.icon-box.purple { background: #f0ecfe; }
.feature-card h3 { font-size: 17px; font-weight: 800; }
.feature-card p { font-size: 13.5px; color: #64748b; font-weight: 500; line-height: 1.6; margin-top: 8px; }

/* =========================================================
   Products (취급 품목)
   ========================================================= */
.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 12px 12px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(255,78,28,.6); }
.tile-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tile:hover .tile-photo img { transform: scale(1.06); }
.tile span { font-size: 13.5px; font-weight: 700; color: var(--text); }

/* =========================================================
   Services (index summary)
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card {
  border: 1px solid var(--border-2); border-radius: 20px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(15,42,80,.45); }
.svc-media { height: 200px; position: relative; display: flex; align-items: center; justify-content: center; }
.svc-media.m1 { background: linear-gradient(150deg, var(--tint), #cfe1ff); }
.svc-media.m2 { background: linear-gradient(150deg, #e6f7f4, #bfeee7); }
.svc-media > picture { position: absolute; inset: 0; display: block; z-index: 0; }
.svc-media > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-media .tag {
  position: absolute; top: 16px; left: 16px; background: rgba(15,42,80,.9); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 8px; z-index: 2;
}
.svc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 21px; font-weight: 900; letter-spacing: -.4px; }
.svc-body p { font-size: 14.5px; color: var(--muted); font-weight: 500; line-height: 1.65; margin: 10px 0 20px; }
.svc-body .more { margin-top: auto; color: var(--cta); font-weight: 800; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more { gap: 10px; }

/* =========================================================
   Values band (품질·신뢰·고객만족)
   ========================================================= */
.values { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.value-item { text-align: center; padding: 0 56px; position: relative; }
.value-item + .value-item::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border);
}
.value-item .vk { font-size: 30px; font-weight: 900; color: var(--navy); letter-spacing: -.5px; }
.value-item .vv { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 8px; }

/* =========================================================
   Stats / trust strip
   ========================================================= */
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.trust-metrics { display: flex; gap: 48px; flex-wrap: wrap; }
.trust-metrics .m .k { font-size: 34px; font-weight: 900; color: var(--navy); }
.trust-metrics .m .k small { font-size: 18px; }
.trust-metrics .m .v { font-size: 13px; color: var(--muted-2); font-weight: 600; margin-top: 4px; }

/* =========================================================
   Contact / CTA band
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--green), var(--green-2)); border-radius: var(--radius-lg);
  padding: 48px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band .glow { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band .glow.g1 { width: 240px; height: 240px; top: -80px; right: -40px; }
.cta-band .glow.g2 { width: 160px; height: 160px; bottom: -60px; left: 40px; }
.cta-band .cta-txt { position: relative; }
.cta-band .k { font-size: 12.5px; font-weight: 800; color: var(--yellow); letter-spacing: 1px; margin-bottom: 8px; }
.cta-band h2 { font-size: 27px; font-weight: 900; letter-spacing: -.6px; }
.cta-band p { font-size: 14.5px; color: #b9cae4; margin-top: 8px; font-weight: 500; }
.cta-band .cta-act { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band.teal { background: linear-gradient(120deg, var(--cta), #9A3412 55%, #7C2D12); }
.cta-band .band-chips { position: relative; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; max-width: 640px; }
.cta-band .band-chips span { background: rgba(255,255,255,.16); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(2px); }

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-info .ci-item:last-child { border-bottom: 0; }
.contact-info .ci-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .ci-k { font-size: 12.5px; color: var(--muted-2); font-weight: 700; }
.contact-info .ci-v { font-size: 15.5px; color: var(--ink); font-weight: 700; margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: 0 30px 70px -40px rgba(15,42,80,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--border-3); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; line-height: 1.4; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
/* Normalize input & select to the exact same box height (mobile + desktop) */
.field input, .field select { height: 48px; }
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select::-ms-expand { display: none; }
.field textarea { resize: vertical; min-height: 120px; height: auto; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(255,78,28,.12);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid #0f2a50;
  outline-offset: 2px;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b91c1c; }
.field-help { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.field-error {
  display: block; min-height: 1.25em; color: #b91c1c; font-size: 12.5px;
  font-weight: 700; margin-top: 6px;
}
.visually-hidden-field {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.privacy-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.privacy-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; }
.privacy-consent label { color: var(--text); font-size: 12.5px; line-height: 1.65; }
.privacy-consent a, .form-note a { color: var(--navy-2); text-decoration: underline; font-weight: 800; }
#turnstile-widget { min-height: 65px; max-width: 100%; overflow: hidden; margin: 12px 0 0; }
.turnstile-retry {
  margin: 8px 0 4px; padding: 9px 12px; border: 1px solid var(--border-3);
  border-radius: 8px; background: #fff; color: var(--navy); font: inherit;
  font-size: 13px; font-weight: 800; cursor: pointer;
}
.turnstile-retry:hover { border-color: var(--cta); color: var(--cta); }
.turnstile-retry[hidden] { display: none; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; text-align: center; }
.form-status { min-height: 0; font-size: 13.5px; font-weight: 700; }
.form-status:not(:empty) { margin-bottom: 16px; padding: 13px 16px; border-radius: 10px; }
.form-status[data-state="submitting"] { background: #eff6ff; color: #1e40af; }
.form-status[data-state="success"] { background: #e6f7ef; border: 1px solid #b7e6cd; color: #166534; }
.form-status[data-state="error"] { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-status a { text-decoration: underline; font-weight: 900; }
.form-noscript {
  margin-bottom: 16px; padding: 13px 16px; border: 1px solid #f59e0b;
  border-radius: 10px; background: #fffbeb; color: #78350f;
  font-size: 13.5px; font-weight: 700;
}
.form-noscript a { text-decoration: underline; font-weight: 900; }

/* =========================================================
   Location / map
   ========================================================= */
.location-route-card {
  overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; box-shadow: 0 20px 45px -34px rgba(15,42,80,.5);
}
.location-route-card > picture { display: block; }
.location-route-card > picture img,
.location-route-card > .location-map-embed { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 0; display: block; }
.location-route-copy { padding: 24px; }
.location-route-copy h2 { font-size: 21px; line-height: 1.35; margin: 8px 0; }
.location-route-copy p { color: var(--muted); font-size: 14px; }
.route-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.route-links a {
  display: inline-flex; padding: 10px 14px; border: 1px solid var(--border-3);
  border-radius: 10px; color: var(--navy); font-size: 13.5px; font-weight: 800;
}
.route-links a:hover { border-color: var(--cta); color: var(--cta); }

/* =========================================================
   Service detail (services page)
   ========================================================= */
.svc-detail { display: grid; grid-template-columns: 1fr; gap: 0; }
.svc-block { padding: 64px 0; border-bottom: 1px solid var(--border-2); }
.svc-block:last-child { border-bottom: 0; }
.svc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.svc-num { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.svc-head h2 { font-size: 28px; font-weight: 900; letter-spacing: -.8px; }
.svc-head .oneline { font-size: 15px; color: var(--muted); font-weight: 500; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }

/* Real-photo banner inside a service block */
.svc-photo { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 28px; height: 260px; background: var(--bg-soft); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .svc-photo { height: 190px; } }
.pane { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; background: #fff; }
.pane .pane-k { font-size: 12.5px; font-weight: 800; letter-spacing: .5px; color: var(--cta); margin-bottom: 10px; }
.pane p { font-size: 14.5px; color: var(--text); line-height: 1.75; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--tint); color: var(--cta); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; background: #fff; position: relative; }
.step .sn { font-size: 13px; font-weight: 900; color: var(--cta); }
.step .st { font-size: 15px; font-weight: 800; margin-top: 8px; }
.faq { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 18px 20px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--cta); font-weight: 400; transition: transform var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.subhead { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }

/* =========================================================
   Info table (about)
   ========================================================= */
.info-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 16px 20px; font-size: 14.5px; border-bottom: 1px solid var(--border-2); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { background: var(--bg-soft); color: var(--muted); font-weight: 700; width: 180px; white-space: nowrap; }
.info-table td { color: var(--ink); font-weight: 600; }

.prose p { font-size: 16px; line-height: 1.85; color: var(--text); font-weight: 500; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--green); color: #9bb2ad; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 40px; padding-top: 48px; padding-bottom: 40px; flex-wrap: wrap; font-size: 12.8px; line-height: 1.95; }
.site-footer .f-brand { font-size: 19px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.site-footer .dim { color: #AFC9C3; }
.f-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.f-cols .f-h { font-weight: 800; color: #fff; margin-bottom: 8px; }
.f-cols a { display: block; transition: color var(--ease); }
.f-cols a:hover { color: #fff; }

/* =========================================================
   삼화 인증 대리점 배지
   ========================================================= */
.dealer-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,78,28,.1); color: var(--cta);
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,78,28,.25);
}
.dealer-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.dealer-badge.on-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.dealer-badge.on-dark .dot { background: var(--yellow); }

/* =========================================================
   취급 브랜드 스트립
   ========================================================= */
.brands { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border-2); }
.brands .brand-head { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: .5px; margin-bottom: 20px; }
.brand-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.brand-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 150px; padding: 18px 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.brand-chip .bc-name { font-size: 18px; font-weight: 900; color: var(--muted); letter-spacing: -.3px; } /* was #94a3b8, ~2.5:1 on white — fails WCAG AA */
.brand-chip .bc-sub  { font-size: 11px; font-weight: 700; color: var(--muted-2); letter-spacing: 1px; margin-top: 2px; }
.brand-chip.primary {
  border: 2px solid var(--blue); background: linear-gradient(160deg, #fff, var(--tint));
  box-shadow: 0 18px 34px -22px rgba(255,78,28,.6); position: relative; min-width: 210px; padding: 22px 28px;
}
.brand-chip.primary .bc-name { color: var(--cta); font-size: 24px; }
.brand-chip.primary .bc-sub  { color: var(--cta); opacity: 1; }
/* 공식 대리점(비주력) 등급 — 삼화의 주력 오렌지와 구분되는 그린 톤 */
.brand-chip.dealer {
  border: 2px solid var(--green); background: linear-gradient(160deg, #fff, #eaf3f2);
  box-shadow: 0 16px 30px -22px rgba(0,57,60,.5); position: relative; min-width: 190px; padding: 20px 26px;
}
.brand-chip.dealer .bc-name { color: var(--green); font-size: 20px; }
.brand-chip.dealer .bc-sub  { color: var(--green); opacity: .8; }
.brand-chip .bc-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--cta); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.brand-chip.dealer .bc-flag { background: var(--green); }

/* =========================================================
   시공사례 (portfolio)
   ========================================================= */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  border: 1px solid var(--border-2); border-radius: var(--radius-md); overflow: hidden; background: #fff;
  transition: box-shadow var(--ease), transform var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(15,42,80,.5); }
/* Real completed-work photo (single "완공" image, no before shot) */
.case-photo { position: relative; height: 210px; overflow: hidden; background: var(--bg-soft); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.case-card:hover .case-photo img { transform: scale(1.05); }
.done-tag {
  position: absolute; top: 12px; left: 12px; background: var(--cta); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .5px; padding: 5px 11px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.ba { display: grid; grid-template-columns: 1fr 1fr; height: 190px; }
.ba .ba-half { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ba .ba-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .ba-half .ba-tag {
  position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 800; color: #fff;
  padding: 3px 8px; border-radius: 6px; letter-spacing: .5px;
}
.ba .before { background: linear-gradient(150deg, #cfd6e0, #9aa6b6); }
.ba .before .ba-tag { background: rgba(15,42,80,.55); }
.ba .after  { }
.ba .after.a-blue   { background: linear-gradient(150deg, var(--tint), #ffc9b0); }
.ba .after.a-teal   { background: linear-gradient(150deg, #e6f7f4, #a9e6dd); }
.ba .after.a-orange { background: linear-gradient(150deg, #fff1e6, #ffcfa1); }
.ba .after.a-navy   { background: linear-gradient(150deg, #dbe5f5, #9fb6d8); }
.ba .after .ba-tag { background: var(--cta); }
.ba .ba-ic { opacity: .55; }
.case-body { padding: 20px; }
.case-body .cat { font-size: 11.5px; font-weight: 800; color: var(--cta); letter-spacing: .5px; }
.case-body h3 { font-size: 16.5px; font-weight: 800; margin: 6px 0 8px; letter-spacing: -.3px; }
.case-body p { font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.6; }
.case-meta { display: flex; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--muted-2); font-weight: 600; flex-wrap: wrap; }
.case-meta span { background: var(--bg-soft); padding: 5px 10px; border-radius: 6px; }

/* =========================================================
   Floating quick-consult
   ========================================================= */
.quick-consult {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.qc-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 800; color: #fff; box-shadow: 0 12px 26px -10px rgba(15,42,80,.5);
  transition: transform var(--ease), box-shadow var(--ease); cursor: pointer; border: none;
}
.qc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(15,42,80,.6); }
.qc-btn svg { flex-shrink: 0; }
.qc-call  { background: var(--navy); }
.qc-quote { background: var(--cta); }
.qc-btn .qc-label { white-space: nowrap; }
@media (max-width: 720px) {
  .quick-consult { right: 14px; bottom: 14px; gap: 8px; }
  .qc-btn { padding: 12px; }
  .qc-btn .qc-label { display: none; }
  .qc-btn svg { width: 22px; height: 22px; }
}

/* =========================================================
   Modern layer — ~20% futuristic (motion · glass · fluid)
   Progressive enhancement: degrades cleanly to the base design.
   ========================================================= */

/* Fluid, responsive typography */
.hero-copy h1 { font-size: clamp(31px, 4.4vw, 50px); }
.section-head h2, .about-grid h2 { font-size: clamp(26px, 3.2vw, 36px); }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 42px); }
.cta-band h2 { font-size: clamp(21px, 2.6vw, 28px); }

/* Gradient accent text */
.grad {
  background: linear-gradient(100deg, #FF4E1C 0%, #ff7a4d 42%, #00393C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Top scroll-progress bar (injected by JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #FF4E1C, #ff7a4d, #ffb08c);
  box-shadow: 0 0 10px rgba(255,78,28,.55);
}

/* Header condense + glass on scroll */
.site-header { transition: background .25s ease, box-shadow .25s ease; }
.site-header .wrap { transition: padding .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.82); box-shadow: 0 10px 30px -20px rgba(15,42,80,.5); }
.site-header.scrolled .wrap { padding-top: 10px; padding-bottom: 10px; }

/* Hero: floating blobs + slow conic sheen */
.hero-media .blob { animation: mp-floaty 16s ease-in-out infinite; }
.hero-media .blob.b2 { animation-duration: 12s; animation-direction: reverse; }
.hero-media::after {
  content: ""; position: absolute; inset: -45%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255,255,255,.12) 34%, transparent 52% 100%);
  animation: mp-spin 24s linear infinite;
}
.hero-media .cans { z-index: 1; }
@keyframes mp-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes mp-spin { to { transform: rotate(360deg); } }

/* Primary brand chip: animated glow ring */
.brand-chip.primary::before {
  content: ""; position: absolute; inset: -2px; border-radius: 16px; z-index: -1;
  background: linear-gradient(120deg, #FF4E1C, #ffb08c, #12a294, #FF4E1C);
  background-size: 300% 300%; animation: mp-hue 6s ease infinite; filter: blur(7px); opacity: .5;
}
@keyframes mp-hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Button sheen sweep on hover */
.btn-primary, .btn-yellow { position: relative; overflow: hidden; }
.btn-primary::after, .btn-yellow::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after, .btn-yellow:hover::after { animation: mp-sheen .8s ease; }
@keyframes mp-sheen { to { left: 150%; } }

/* Scroll reveal — .reveal is added by JS, so no-JS keeps everything visible */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }

/* Responsive breakpoints the base sheet didn't cover */
@media (max-width: 980px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-chip { min-width: 130px; padding: 14px 18px; }
  .brand-chip.primary { min-width: 178px; }
}
@media (max-width: 720px) {
  .case-grid { grid-template-columns: 1fr; }
  .brand-row { gap: 12px; }
  .brand-chip { min-width: 42%; flex: 1 1 42%; }
  .brand-chip.primary { min-width: 100%; flex-basis: 100%; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media .blob, .hero-media::after, .brand-chip.primary::before,
  .btn-primary::after, .btn-yellow::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { order: 1; padding: 56px 24px 44px; }
  .hero-media { order: 2; min-height: 340px; }
  .hero-copy h1 { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-item { padding: 12px 32px; }
}
@media (max-width: 720px) {
  .site-header .wrap { gap: 16px; }
  .naver-store-link { padding: 9px; }
  .naver-store-link .link-label { display: none; }
  .utilbar .util-right span:first-child { display: none; }
  .section { padding: 60px 0; }
  .section-head h2, .about-grid h2 { font-size: 28px; }
  .hero-copy h1 { font-size: 34px; }
  .page-hero h1 { font-size: 30px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .value-item + .value-item::before { display: none; }

}
