@charset "utf-8";

/* ============================================================
   건축기사 김기사 — design tokens
   ============================================================ */
:root {
  --ink:        #12171d;
  --ink-2:      #2b343d;
  --ink-3:      #5a666f;
  --ink-4:      #8b959d;
  --line:       #e3e7ea;
  --line-2:     #f0f2f4;
  --bg:         #ffffff;
  --bg-soft:    #f6f8f9;
  --bg-dark:    #12171d;

  --brand:      #1257a5;
  --brand-dark: #0e457f;
  --brand-soft: #eaf1f9;
  --accent:     #d24b3e;

  --wrap: 1200px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --radius: 4px;

  --h1: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
  --h2: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem);
  --h3: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);

  --shadow: 0 1px 2px rgba(18, 23, 29, .05), 0 8px 24px rgba(18, 23, 29, .06);
  --shadow-lg: 0 24px 60px rgba(18, 23, 29, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
               'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.28; margin: 0; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: flex; align-items: baseline; gap: .55rem; margin-right: auto; }
.brand__mark { font-size: 1.3rem; font-weight: 800; letter-spacing: -.045em; color: var(--ink); }
.brand__mark b { color: var(--brand); }
.brand__sub {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-4); text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative; padding: .6rem .95rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.hdr__tel {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .58rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .95rem; letter-spacing: 0;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.hdr__tel:hover { background: var(--brand); transform: translateY(-1px); }
.hdr__tel svg { width: 15px; height: 15px; }

.burger {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  align-items: center; justify-content: center;
}
.burger span {
  display: block; position: relative; width: 18px; height: 2px;
  background: var(--ink); transition: background .2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .hdr__in { height: 64px; gap: .75rem; }
  .burger { display: flex; }
  .hdr__tel { padding: .5rem .8rem; font-size: .85rem; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(88vh, 780px); display: grid; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.hero__slide[data-active="true"] { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9, 14, 20, .88) 0%, rgba(9, 14, 20, .62) 45%, rgba(9, 14, 20, .3) 100%);
}

.hero__in {
  position: relative; z-index: 2;
  align-self: center; padding: 6rem 0 7.5rem; color: #fff;
}
.hero__eyebrow {
  display: inline-block; margin-bottom: 1.5rem; padding: .4rem 1rem;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: var(--h1); font-weight: 800; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: #7fb4ee; }
.hero__lead {
  margin-top: 1.5rem; max-width: 42ch;
  font-size: clamp(1rem, .93rem + .35vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

.hero__meta {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(to top, rgba(9, 14, 20, .55), transparent);
}
.hero__meta-in { display: flex; align-items: center; gap: 1.25rem; color: #fff; }
.hero__caption { margin-right: auto; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.hero__caption b { display: block; font-size: 1.02rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero__dots { display: flex; gap: .5rem; }
.hero__dots button {
  width: 28px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .3); transition: background .25s var(--ease);
}
.hero__dots button[aria-current="true"] { background: #fff; }

@media (max-width: 700px) {
  .hero { min-height: 76vh; }
  .hero__in { padding: 4rem 0 8rem; }
  .hero__meta-in { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ============================================================
   Section shell
   ============================================================ */
.sec { padding: clamp(3.5rem, 6vw, 6.5rem) 0; }
.sec--soft { background: var(--bg-soft); }
.sec--dark { background: var(--bg-dark); color: #fff; }

.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block; margin-bottom: .85rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.sec--dark .eyebrow { color: #7fb4ee; }
.sec__head h2 { font-size: var(--h2); }
.sec__head p { margin-top: 1rem; color: var(--ink-3); font-size: 1.03rem; }
.sec--dark .sec__head p { color: rgba(255, 255, 255, .68); }

/* ============================================================
   Page hero (sub pages)
   ============================================================ */
.phero {
  position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: var(--ink); color: #fff; overflow: hidden;
}
.phero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--phero-img); background-size: cover; background-position: center;
  opacity: .28;
}
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 14, 20, .9), rgba(9, 14, 20, .5));
}
.phero__in { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 800; }
.phero p { margin-top: .9rem; color: rgba(255, 255, 255, .75); max-width: 46ch; }

.crumbs { display: flex; gap: .5rem; margin-bottom: 1.1rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: rgba(255, 255, 255, .3); }

/* ============================================================
   Pillars (사업소개 5요소)
   ============================================================ */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(5, 1fr); } }

.pillar { padding: 2rem 1.5rem; background: #fff; transition: background .2s var(--ease); }
.pillar:hover { background: var(--brand-soft); }
.pillar__no {
  display: block; margin-bottom: 1.25rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand);
}
.pillar h3 { font-size: 1.08rem; }
.pillar p { margin-top: .6rem; font-size: .92rem; color: var(--ink-3); }

/* ============================================================
   Process (공사관리 4단계)
   ============================================================ */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 720px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative; padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.step:hover { border-color: rgba(127, 180, 238, .5); background: rgba(255, 255, 255, .07); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 1.1rem;
  font-size: 1.8rem; font-weight: 800; letter-spacing: -.04em; color: #7fb4ee;
}
.step h3 { font-size: 1.12rem; color: #fff; }
.step p { margin-top: .6rem; font-size: .92rem; color: rgba(255, 255, 255, .66); }

/* ============================================================
   Category cards (시공분야)
   ============================================================ */
.cats { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }

.cat {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--ink); isolation: isolate;
  aspect-ratio: 16 / 10;
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
  opacity: .72;
}
.cat:hover img { transform: scale(1.06); opacity: .85; }
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9, 14, 20, .92) 8%, rgba(9, 14, 20, .35) 55%, rgba(9, 14, 20, .1) 100%);
}
.cat__in { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.5rem; color: #fff; }
.cat__in h3 { font-size: 1.3rem; }
.cat__in p { margin-top: .5rem; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.cat__more {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem;
  font-size: .85rem; font-weight: 700; color: #7fb4ee;
}
.cat__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.cat:hover .cat__more svg { transform: translateX(3px); }

/* ============================================================
   Works gallery
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 600;
  transition: all .18s var(--ease);
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .count { margin-left: .35rem; font-size: .8rem; opacity: .6; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.work {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-soft);
  aspect-ratio: 4 / 3; border: 0; padding: 0; width: 100%; text-align: left;
}
.work img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.work:hover img { transform: scale(1.05); }
.work__ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(9, 14, 20, .9) 0%, rgba(9, 14, 20, .25) 50%, transparent 80%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.work:hover .work__ov, .work:focus-visible .work__ov { opacity: 1; }
.work__tag {
  align-self: flex-start; margin-bottom: .5rem; padding: .18rem .55rem;
  border-radius: 3px; background: var(--brand); color: #fff;
  font-size: .7rem; font-weight: 700;
}
.work__ttl {
  color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.grid__empty { padding: 4rem 0; text-align: center; color: var(--ink-4); }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9, 14, 20, .94);
  backdrop-filter: blur(6px);
}
.lb[data-open="true"] { display: grid; }
.lb__fig { position: relative; max-width: 1100px; width: 100%; }
.lb__fig img {
  width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--radius);
}
.lb__cap {
  margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  color: #fff;
}
.lb__cap .tag {
  padding: .2rem .6rem; border-radius: 3px; background: var(--brand);
  font-size: .72rem; font-weight: 700;
}
.lb__cap .ttl { font-size: 1rem; font-weight: 600; }
.lb__cap .idx { margin-left: auto; font-size: .85rem; color: rgba(255, 255, 255, .5); }

.lb__btn {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: rgba(9, 14, 20, .5); color: #fff;
  transition: background .18s var(--ease);
}
.lb__btn:hover { background: var(--brand); border-color: var(--brand); }
.lb__btn svg { width: 18px; height: 18px; }
.lb__prev { left: -60px; }
.lb__next { right: -60px; }
.lb__close {
  position: absolute; top: -52px; right: 0;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
}
.lb__close:hover { background: var(--accent); }
@media (max-width: 1100px) {
  .lb__prev { left: 4px; }
  .lb__next { right: 4px; }
  .lb__close { top: -48px; }
}

/* ============================================================
   History timeline
   ============================================================ */
.tl { position: relative; padding-left: 1.5rem; }
.tl::before {
  content: ""; position: absolute; left: 0; top: .6rem; bottom: .6rem;
  width: 2px; background: linear-gradient(to bottom, var(--brand), var(--line));
}
.tl__row { position: relative; display: grid; gap: .5rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 760px) { .tl__row { grid-template-columns: 8rem 1fr; } }
.tl__row:last-child { border-bottom: 0; }
.tl__row::before {
  content: ""; position: absolute; left: calc(-1.5rem - 4px); top: 2rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.tl__yr { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.tl__list li {
  position: relative; padding-left: .9rem; color: var(--ink-2); font-size: .96rem;
}
.tl__list li + li { margin-top: .35rem; }
.tl__list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4);
}

/* ============================================================
   Info table (회사개요)
   ============================================================ */
.info { border-top: 2px solid var(--ink); }
.info__row { display: grid; gap: .25rem 1.5rem; padding: 1.1rem .5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .info__row { grid-template-columns: 10rem 1fr; align-items: baseline; } }
.info__k { font-weight: 700; color: var(--ink); font-size: .95rem; }
.info__v { color: var(--ink-2); }

/* ============================================================
   Greeting
   ============================================================ */
.greet { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .greet { grid-template-columns: 1fr 1.1fr; } }
.greet__hl { font-size: var(--h2); }
.greet__hl em { font-style: normal; display: block; color: var(--brand); }
.greet__body p + p { margin-top: 1.15rem; }
.greet__body p { color: var(--ink-2); font-size: 1.02rem; }
.greet__sign {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-3);
}
.greet__sign b { font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }

/* ============================================================
   Contact
   ============================================================ */
.ccards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .ccards { grid-template-columns: repeat(3, 1fr); } }
.ccard {
  padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.ccard:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.ccard__ico {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}
.ccard__ico svg { width: 20px; height: 20px; }
.ccard h3 { font-size: 1.05rem; }
.ccard p { margin-top: .5rem; font-size: .93rem; color: var(--ink-3); }
.ccard strong { display: block; margin-top: .75rem; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }

.contact-band {
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(2.25rem, 4vw, 3.5rem); border-radius: var(--radius);
  background: var(--ink); color: #fff;
}
@media (min-width: 880px) { .contact-band { grid-template-columns: 1fr auto; } }
.contact-band h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); }
.contact-band p { margin-top: .75rem; color: rgba(255, 255, 255, .72); }
.contact-band__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.mapbox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mapbox .root_daum_roughmap { width: 100% !important; }
.mapbox .wrap_map { height: clamp(300px, 45vw, 440px) !important; }

/* Address panel (used where a live map embed is not yet configured) */
.addr-panel {
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft);
}
@media (min-width: 860px) { .addr-panel { grid-template-columns: 1fr auto; } }
.addr-panel__pin {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--brand); color: #fff;
}
.addr-panel__pin svg { width: 20px; height: 20px; }
.addr-panel h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); letter-spacing: -.03em; }
.addr-panel p { margin-top: .6rem; color: var(--ink-3); font-size: .95rem; }
.addr-panel__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   Stats
   ============================================================ */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2rem 1.5rem; background: #fff; text-align: center; }
.stat__n {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800;
  letter-spacing: -.04em; color: var(--brand); line-height: 1.1;
}
.stat__n span { font-size: .55em; margin-left: .1em; }
.stat__l { margin-top: .5rem; font-size: .92rem; color: var(--ink-3); }

/* ============================================================
   Footer
   ============================================================ */
.ftr { padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; background: var(--bg-dark); color: rgba(255, 255, 255, .6); }
.ftr__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 880px) { .ftr__top { grid-template-columns: 1.2fr 1fr 1fr; } }

.ftr__brand .brand__mark { color: #fff; font-size: 1.4rem; }
.ftr__brand .brand__mark b { color: #7fb4ee; }
.ftr__brand p { margin-top: 1rem; font-size: .92rem; max-width: 32ch; }

.ftr h4 { margin-bottom: 1rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.ftr__links li + li { margin-top: .55rem; }
.ftr__links a { font-size: .93rem; color: rgba(255, 255, 255, .75); transition: color .18s var(--ease); }
.ftr__links a:hover { color: #fff; }

.ftr__addr { font-style: normal; font-size: .93rem; line-height: 1.85; }
.ftr__addr b { color: #fff; font-weight: 600; }

.sns { display: flex; gap: .6rem; margin-top: 1.25rem; }
.sns a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
  font-size: .75rem; font-weight: 700; color: rgba(255, 255, 255, .7);
  transition: all .18s var(--ease);
}
.sns a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.ftr__btm {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center;
  padding-top: 2rem; font-size: .85rem; color: rgba(255, 255, 255, .42);
}
.ftr__btm .biz { margin-right: auto; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* Float call button (mobile) */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 70; display: none;
  align-items: center; gap: .5rem; padding: .9rem 1.3rem; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
}
.fab svg { width: 17px; height: 17px; }
@media (max-width: 700px) { .fab { display: inline-flex; } }
