/* ============================================================
   이수미 스튜디오 — Design System
   Palette: Deep Navy + Gold (financial / professional)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Navy scale */
  --navy-900: #060C1B;
  --navy-800: #0A1430;
  --navy-700: #0E1D42;
  --navy-600: #142A5C;
  --navy-500: #1B3878;
  --navy-400: #2A4E9B;

  /* Gold scale */
  --gold-600: #A8802A;
  --gold-500: #C9A24A;
  --gold-400: #DDBB6B;
  --gold-300: #EBD2A0;
  --gold-100: #F7EFDA;

  /* Neutrals */
  --white: #FFFFFF;
  --paper: #F7F8FB;
  --paper-2: #EEF1F7;
  --line: #E1E6EF;
  --line-dark: rgba(255, 255, 255, .12);

  --ink-900: #0B1224;
  --ink-700: #2C3550;
  --ink-500: #5A6580;
  --ink-400: #7C87A0;
  --ink-300: #9AA4BA;

  /* Semantic */
  --bg: var(--white);
  --fg: var(--ink-900);
  --muted: var(--ink-500);
  --brand: var(--navy-700);
  --accent: var(--gold-500);

  /* Typography */
  --font: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: "Pretendard", "Inter", system-ui, sans-serif;

  /* Space */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 88px; --sp-10: 120px;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(11, 18, 36, .06), 0 2px 8px rgba(11, 18, 36, .04);
  --sh-md: 0 4px 12px rgba(11, 18, 36, .07), 0 12px 32px rgba(11, 18, 36, .06);
  --sh-lg: 0 12px 28px rgba(11, 18, 36, .10), 0 32px 64px rgba(11, 18, 36, .10);
  --sh-gold: 0 8px 24px rgba(201, 162, 74, .28);

  --maxw: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.28; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--gold-300); color: var(--navy-900); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.section { padding: var(--sp-10) 0; }
.section-sm { padding: var(--sp-9) 0; }
.section-tint { background: var(--paper); }
.section-navy { background: var(--navy-800); color: var(--white); }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(11, 18, 36, .05);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
  display: grid; place-items: center;
  color: var(--gold-400); font-weight: 800; font-size: 15px;
  letter-spacing: -.04em;
  box-shadow: 0 4px 14px rgba(10, 20, 48, .28);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, transparent 40%, rgba(221, 187, 107, .22));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.045em; color: var(--navy-800); }
.brand-sub { font-size: 10.5px; color: var(--ink-400); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; color: var(--ink-700);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: var(--navy-700); background: var(--paper-2); }
.nav-links a.active { color: var(--navy-800); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold-500);
}
.nav-cta {
  margin-left: 10px;
  padding: 11px 22px !important;
  border-radius: var(--r-full) !important;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800)) !important;
  color: var(--white) !important;
  font-weight: 700; font-size: 14.5px;
  box-shadow: 0 4px 16px rgba(14, 29, 66, .22);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14, 29, 66, .3); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  place-items: center; color: var(--navy-800);
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { transform: rotate(45deg); }
.nav-toggle.is-open span::before { top: 0; transform: rotate(-90deg); }
.nav-toggle.is-open span::after { top: 0; opacity: 0; }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 890;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0 var(--sp-6);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  box-shadow: var(--sh-md);
}
.drawer.is-open { transform: none; opacity: 1; pointer-events: auto; }
.drawer a {
  display: block; padding: 14px 4px; font-size: 17px; font-weight: 650;
  color: var(--ink-700); border-bottom: 1px solid var(--line);
}
.drawer a:last-child { border-bottom: 0; }
.drawer a.active { color: var(--navy-800); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: var(--r-full);
  font-size: 15.5px; font-weight: 700; letter-spacing: -.02em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  box-shadow: var(--sh-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201, 162, 74, .4); }
.btn-navy {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(14, 29, 66, .24);
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14, 29, 66, .32); }
.btn-ghost {
  border: 1.5px solid var(--line); color: var(--navy-800); background: var(--white);
}
.btn-ghost:hover { border-color: var(--navy-600); background: var(--paper); transform: translateY(-3px); }
.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, .3); color: var(--white);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 16.5px; }

/* ---------- 6. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-500);
}
.eyebrow.light { color: var(--gold-400); }
.eyebrow.center-b::before { display: none; }
.eyebrow.center-b::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-500);
}

.h-display { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; line-height: 1.16; letter-spacing: -.045em; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.h2 { font-size: clamp(1.65rem, 3.1vw, 2.4rem); font-weight: 800; line-height: 1.26; letter-spacing: -.04em; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 750; letter-spacing: -.03em; }
.h4 { font-size: 1.06rem; font-weight: 750; letter-spacing: -.025em; }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); line-height: 1.8; }
.lead-light { color: rgba(255, 255, 255, .72); }
.small { font-size: 14px; color: var(--ink-400); }
.gold { color: var(--gold-500); }
.navy { color: var(--navy-700); }
.gradient-text {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-600) 55%, var(--gold-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head .h2 { margin-top: 4px; }
.section-head p { margin-top: 14px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 84px) 0 100px;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(201, 162, 74, .16), transparent 62%),
    radial-gradient(900px 560px at 8% 108%, rgba(42, 78, 155, .34), transparent 60%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-800) 42%, var(--navy-700) 100%);
  color: var(--white);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 80%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--sp-8); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: 20px 0 0; }
.hero .lead-light { margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px;
  padding-top: 30px; border-top: 1px solid var(--line-dark);
}
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .74); font-weight: 600; }
.hero-badge svg { color: var(--gold-400); flex: none; }

/* Hero visual — layered stat card */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 30px 70px rgba(3, 8, 20, .5), 0 0 0 1px rgba(255, 255, 255, .09) inset;
  aspect-ratio: 4 / 3.35;
  background: var(--navy-600);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; left: -26px; bottom: -30px;
  background: var(--white); color: var(--ink-900);
  border-radius: var(--r-lg); padding: 20px 24px;
  box-shadow: 0 24px 54px rgba(3, 8, 20, .34);
  display: flex; align-items: center; gap: 18px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-float-icon {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  display: grid; place-items: center; color: var(--navy-900);
}
.hero-float-num { font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.hero-float-label { font-size: 12.5px; color: var(--ink-400); font-weight: 600; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 8. Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 74px) 0 78px;
  background:
    radial-gradient(900px 500px at 88% -20%, rgba(201, 162, 74, .15), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 40% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 0%, #000 10%, transparent 78%);
}
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero h1 { margin-top: 18px; }
.page-hero p { margin-top: 18px; max-width: 620px; color: rgba(255, 255, 255, .72); font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 26px; font-weight: 600; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span.sep { opacity: .5; }
.crumbs .now { color: var(--gold-400); }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
  color: var(--gold-400);
  box-shadow: 0 8px 20px rgba(14, 29, 66, .22);
  transition: transform .3s var(--ease);
}
.card:hover .icon-box { transform: scale(1.07) rotate(-3deg); }
.icon-box.gold {
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(201, 162, 74, .32);
}
.icon-box.soft {
  background: var(--gold-100); color: var(--gold-600); box-shadow: none;
}
.card h3 { margin-top: 22px; }
.card p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.78; }
.card-tag {
  position: absolute; top: 22px; right: 24px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  color: var(--gold-600); background: var(--gold-100);
  padding: 4px 11px; border-radius: var(--r-full);
}

/* Service card variant */
.service-card { padding: 34px 30px 30px; }
.service-card .svc-num {
  font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--gold-500);
}
.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.service-list li {
  position: relative; padding-left: 22px; font-size: 14.2px; color: var(--ink-700);
}
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg);
  background: var(--gold-500);
}
.card-link {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--navy-700);
  transition: gap .25s var(--ease), color .25s;
}
.card-link:hover { gap: 12px; color: var(--gold-600); }

/* ---------- 10. Feature row (alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 16 / 11; background: var(--paper-2);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body .h2 { margin-top: 16px; }
.feature-body p { margin-top: 16px; color: var(--muted); }
.checks { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-700); }
.checks svg { color: var(--gold-500); flex: none; margin-top: 3px; }
.checks b { color: var(--navy-800); font-weight: 750; }

/* ---------- 11. Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
}
.stat {
  padding: 42px 28px; text-align: center;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.05em;
  line-height: 1; color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .68); font-weight: 600; }

/* ---------- 12. Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: s; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--gold-500);
}
.step-line {
  position: absolute; top: 8px; left: 46px; right: -24px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgba(201, 162, 74, .1));
}
.step:last-child .step-line { display: none; }
.step h4 { margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 13. Testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 30px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.quote-mark { font-size: 2.6rem; line-height: 1; color: var(--gold-400); font-family: Georgia, serif; }
.quote-text { font-size: 15.5px; color: var(--ink-700); line-height: 1.85; }
.quote-who { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: var(--r-full); flex: none;
  background: linear-gradient(140deg, var(--navy-500), var(--navy-800));
  color: var(--gold-400); display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
}
.quote-name { font-weight: 750; font-size: 14.5px; }
.quote-role { font-size: 13px; color: var(--ink-400); }
.stars { display: flex; gap: 3px; color: var(--gold-500); }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: 68px 56px;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(201, 162, 74, .22), transparent 62%),
    linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-7);
  flex-wrap: wrap;
  box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; bottom: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(221, 187, 107, .18);
}
.cta-band h2 { max-width: 560px; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .7); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- 15. News ---------- */
.news-feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: var(--white); box-shadow: var(--sh-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.news-feature:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.news-feature-media { min-height: 340px; background: var(--paper-2); }
.news-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.news-feature-body .h3 { margin-top: 18px; }
.news-feature-body p { margin-top: 14px; color: var(--muted); font-size: 15px; }

.pill {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 750; letter-spacing: -.01em;
  padding: 5px 13px; border-radius: var(--r-full);
  background: var(--gold-100); color: var(--gold-600);
}
.pill.navy { background: rgba(27, 56, 120, .09); color: var(--navy-500); }
.pill.line { background: transparent; border: 1px solid var(--line); color: var(--ink-500); }

.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-400); margin-top: 16px; font-weight: 600; }
.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-6); }
.filter-btn {
  padding: 10px 22px; border-radius: var(--r-full);
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 14px; font-weight: 650; color: var(--ink-500);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--navy-500); color: var(--navy-700); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border-color: transparent; color: var(--white);
  box-shadow: 0 4px 16px rgba(14, 29, 66, .22);
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.news-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-body h4 { margin-top: 16px; font-size: 1.05rem; line-height: 1.5; }
.news-body p { margin-top: 12px; font-size: 14.3px; color: var(--muted); line-height: 1.75; }
.news-hidden { display: none !important; }

/* Article / list page */
.article-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.article-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: var(--sp-5);
  align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.article-row:hover { background: var(--paper); padding-left: 20px; }
.article-date { text-align: center; }
.article-date .d { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy-800); line-height: 1.1; }
.article-date .m { font-size: 12.5px; color: var(--ink-400); font-weight: 650; }
.article-row h4 { font-size: 1.04rem; }
.article-row .exc { margin-top: 8px; font-size: 14.2px; color: var(--muted); }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--sp-8); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-item {
  display: flex; gap: 18px; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .25s, box-shadow .25s;
}
.info-item:hover { border-color: var(--gold-300); box-shadow: var(--sh-sm); }
.info-item .icon-box { width: 46px; height: 46px; border-radius: 13px; }
.info-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-300); }
.info-value { margin-top: 5px; font-size: 15.2px; font-weight: 650; color: var(--ink-900); line-height: 1.6; }
.info-value small { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-400); }

.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 42px 40px; box-shadow: var(--sh-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-700); }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 15px; transition: border-color .22s, background .22s, box-shadow .22s;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 74, .14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 13.6px; color: var(--ink-500); line-height: 1.7; }
.check-row input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold-500); flex: none; }
.form-note {
  margin-top: 18px; padding: 14px 18px; border-radius: var(--r-sm);
  background: var(--gold-100); color: var(--gold-600);
  font-size: 13.6px; font-weight: 650; display: none;
}
.form-note.show { display: block; }

.hours { display: flex; flex-direction: column; gap: 2px; }
.hours-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.6px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--ink-500); font-weight: 600; }
.hours-row .time { font-weight: 750; color: var(--ink-900); }
.hours-row .time.off { color: var(--ink-300); }
.map-embed {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 8; background: var(--paper-2); position: relative;
}
.map-embed img { width: 100%; height: 100%; object-fit: cover; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--navy-900); color: rgba(255, 255, 255, .62);
  padding: var(--sp-9) 0 var(--sp-5);
  font-size: 14.5px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7);
  padding-bottom: var(--sp-7); border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .4); }
.footer-brand p { margin-top: 20px; max-width: 320px; line-height: 1.8; font-size: 14.2px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72);
  transition: background .25s, color .25s, transform .25s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-col h5 { color: var(--white); font-size: 14.5px; font-weight: 750; margin-bottom: 20px; letter-spacing: -.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.2px; }
.footer-col a { transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--gold-400); padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.65; }
.footer-contact svg { color: var(--gold-500); flex: none; margin-top: 4px; }
.footer-bottom {
  padding-top: var(--sp-5); display: flex; justify-content: space-between; gap: var(--sp-5);
  flex-wrap: wrap; font-size: 13.2px; color: rgba(255, 255, 255, .42);
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- 18. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 19. Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 50px; height: 50px; border-radius: 15px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--gold-400); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(10, 20, 48, .34);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 20. Misc ---------- */
.svc-detail {
  display: grid; grid-template-columns: 84px 1fr; gap: 26px;
  padding: 34px 34px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.svc-detail:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent; }
.svc-detail .icon-box { width: 64px; height: 64px; border-radius: 18px; }
.dl-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.dl-grid div { display: flex; gap: 9px; font-size: 14.2px; color: var(--ink-700); align-items: flex-start; }
.dl-grid svg { color: var(--gold-500); flex: none; margin-top: 4px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  padding: 8px 16px; border-radius: var(--r-full); background: var(--paper);
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 650; color: var(--ink-500);
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-copy { max-width: 100%; }
  .hero-visual { max-width: 560px; }
  .hero-float { left: auto; right: 16px; bottom: -24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature-media { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; --sp-10: 88px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .step-line { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: var(--sp-6); }
  .feature-row.reverse .feature-media { order: 0; }
  .cta-band { padding: 48px 34px; }
  .form-card { padding: 32px 26px; }
  .svc-detail { grid-template-columns: 1fr; gap: 20px; padding: 28px 26px; }
  .article-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 6px; }
  .article-date { text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --sp-10: 68px; --sp-9: 64px; }
  .wrap { padding: 0 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 76px; }
  .hero-float { position: static; margin-top: 18px; left: auto; right: auto; bottom: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-band { padding: 40px 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .btn { padding: 14px 24px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .to-top { right: 16px; bottom: 16px; }
}
