/* =========================================================
   알엔헬스케어 기업 홈페이지 — 스타일시트
   Design tokens → Base → Layout → Components → Sections → Responsive
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #111A3F;
  --navy-800: #1E2B63;
  --navy-700: #2F4295;
  --navy-600: #4255A6;
  --teal-600: #0E7C9B;
  --teal-500: #189BBD;
  --teal-300: #86D5E8;

  /* Neutrals */
  --ink: #131a22;
  --ink-soft: #46525f;
  --ink-mute: #6b7887;
  --line: #e2e7ec;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-tint: #f5f8fa;
  --bg-card: #ffffff;

  /* Type */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-serif: "Noto Serif KR", Georgia, "Nanum Myeongjo", serif;

  /* Space & shape */
  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(30, 43, 99, .06), 0 2px 8px rgba(30, 43, 99, .05);
  --shadow-md: 0 6px 24px rgba(30, 43, 99, .09);
  --shadow-lg: 0 18px 48px rgba(30, 43, 99, .14);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.br-pc { display: inline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(30, 43, 99, .05);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: -.04em; color: var(--navy-800); }
.brand-text em {
  font-style: normal; font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-mute);
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; padding: 10px 14px; font-size: 15.5px; font-weight: 600;
  color: var(--ink-soft); border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--navy-800); background: var(--bg-tint); }
.site-nav a.is-active { color: var(--navy-800); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--teal-600); border-radius: 2px;
}
.site-nav .nav-cta {
  margin-left: 8px; padding: 11px 20px; color: #fff;
  background: var(--navy-800); border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--navy-700); color: #fff; }
.site-nav .nav-cta.is-active::after { display: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; padding: 0; place-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; font-size: 16px; font-weight: 600; font-family: inherit;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-outline {
  background: #fff; color: var(--navy-800); border-color: var(--line);
  padding: 12px 22px; font-size: 15px; box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 0; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(24, 155, 189, .42) 0%, transparent 58%),
    radial-gradient(90% 70% at 12% 100%, rgba(14, 124, 155, .30) 0%, transparent 60%),
    linear-gradient(158deg, var(--navy-900) 0%, var(--navy-800) 48%, #2B3D86 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
}
.hero-inner { text-align: center; padding-bottom: 76px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--teal-300); text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 26px; }
.hero h1 .accent {
  background: linear-gradient(96deg, #ffffff 12%, var(--teal-300) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255, 255, 255, .82); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* ---------- Section shell ---------- */
.section { padding: 110px 0; }
#about { padding-top: 170px; }
.section-tinted { background: var(--bg-tint); }
.section-dark { background: linear-gradient(165deg, var(--navy-900), var(--navy-800) 70%); color: #fff; }

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; color: var(--teal-600);
  margin-bottom: 14px;
}
.section-dark .section-eyebrow { color: var(--teal-300); }
.section-head h2 { font-size: clamp(27px, 3.6vw, 41px); font-weight: 800; letter-spacing: -.04em; }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--ink-mute); }
.section-dark .section-sub { color: rgba(255, 255, 255, .68); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: start; }
.about-text p { color: var(--ink-soft); font-size: 17px; }
.about-facts {
  margin-top: 34px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.about-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: 13.5px; font-weight: 700; color: var(--teal-600); letter-spacing: .02em; }
.about-facts dd { font-size: 16px; font-weight: 600; color: var(--navy-800); margin-top: 3px; }

.value-list { display: grid; gap: 16px; }
.value-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dce4; }
.value-num {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--teal-600);
  display: block; margin-bottom: 8px;
}
.value-card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.value-card h3 em {
  font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--ink-mute); margin-left: 6px;
}
.value-card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Greeting ---------- */
.greeting-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.greeting-head h2 { font-size: clamp(27px, 3.6vw, 41px); }
.greeting-sub { margin-top: 16px; color: var(--ink-mute); font-size: 16.5px; }
.greeting-body blockquote {
  margin: 0; padding-left: 30px; border-left: 3px solid var(--teal-600);
  font-family: var(--font-serif); font-size: 17.5px; line-height: 2.05; color: #26313d;
}
.greeting-body blockquote p:last-child { margin-bottom: 0; }
.signature {
  margin: 34px 0 0; padding-left: 30px; font-size: 16px; color: var(--ink-mute);
}
.signature strong { font-size: 20px; color: var(--navy-800); margin-left: 8px; letter-spacing: -.02em; }

/* ---------- Business ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.biz-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfdae3; }
.biz-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(150deg, #E9EEF9, #DEE8F6); color: var(--teal-600); margin-bottom: 22px;
}
.biz-icon svg { width: 26px; height: 26px; }
.biz-card h3 { font-size: 21px; color: var(--navy-800); margin-bottom: 12px; }
.biz-card > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }
.biz-points { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-points li {
  font-size: 13.5px; font-weight: 600; color: var(--navy-700);
  background: var(--bg-tint); border: 1px solid var(--line-soft);
  padding: 6px 13px; border-radius: 999px;
}

/* ---------- History ---------- */
.timeline { position: relative; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 132px; top: 10px; bottom: 10px;
  width: 1px; background: rgba(255, 255, 255, .18);
}
.timeline > li { position: relative; display: grid; grid-template-columns: 124px 1fr; gap: 56px; padding: 22px 0; }
.timeline > li::before {
  content: ""; position: absolute; left: 118px; top: 32px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 5px rgba(134, 213, 232, .16);
}
.tl-year {
  font-size: 27px; font-weight: 800; color: var(--teal-300);
  letter-spacing: -.03em; text-align: right; line-height: 1.5;
}
.tl-body h3 { font-size: 20px; margin-bottom: 12px; }
.tl-body ul li {
  position: relative; padding-left: 15px; color: rgba(255, 255, 255, .72);
  font-size: 16px; line-height: 1.9;
}
.tl-body ul li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px;
  border-radius: 50%; background: rgba(255, 255, 255, .42);
}

/* ---------- Credentials ---------- */
.cred-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.cert-list { display: grid; gap: 14px; }
.cert-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.cert-badge {
  display: grid; place-items: center; width: 50px; height: 50px; flex: none;
  border-radius: 50%; background: var(--navy-800); color: var(--teal-300);
}
.cert-badge svg { width: 24px; height: 24px; }
.cert-card h3 { font-size: 18px; color: var(--navy-800); }
.cert-card p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-mute); }

.clients { background: var(--bg-tint); border-radius: var(--radius); padding: 34px 34px 30px; }
.clients-title { font-size: 17px; color: var(--navy-800); margin-bottom: 18px; }
.client-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.client-tags li {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 15px; font-size: 14.5px; font-weight: 600; color: var(--navy-700);
}
.clients-note { margin: 22px 0 0; font-size: 14px; color: var(--ink-mute); line-height: 1.7; }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: stretch; }
.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); background: #dfe5ea; min-height: 420px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.loc-info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 34px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.loc-info dl > div { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.loc-info dl > div:first-child { padding-top: 0; }
.loc-info dt { font-size: 13px; font-weight: 700; color: var(--teal-600); letter-spacing: .04em; }
.loc-info dd { margin-top: 5px; font-size: 16px; color: var(--ink); line-height: 1.7; }
.loc-info dd a:hover { color: var(--teal-600); text-decoration: underline; }
.loc-links { display: flex; gap: 10px; margin-top: auto; padding-top: 26px; flex-wrap: wrap; }

/* ---------- Contact form ---------- */
.contact-form {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 44px 40px; box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--navy-800); }
.req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfdfe; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a7b1bd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(24, 155, 189, .12);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: #d0553f; box-shadow: 0 0 0 4px rgba(208, 85, 63, .1); }

.checkbox { flex-direction: row; align-items: center; gap: 10px; display: flex; font-weight: 500; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--teal-600); flex: none; }
.checkbox span { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.checkbox a { color: var(--teal-600); text-decoration: underline; }

.form-actions { flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { min-width: 190px; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.form-status.is-ok { color: var(--teal-600); }
.form-status.is-error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .68); padding: 66px 0 0; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 44px; padding-bottom: 44px; }
.footer-brand strong { display: block; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 10px; }
.footer-brand p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.footer-info { display: grid; gap: 8px; font-size: 14.5px; line-height: 1.6; }
.footer-info span { display: inline-block; min-width: 96px; color: rgba(255, 255, 255, .42); font-weight: 600; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-nav a { color: rgba(255, 255, 255, .74); transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .42); letter-spacing: .01em; }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; border-radius: 50%; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-600); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal { padding: 132px 0 96px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--navy-800); margin-bottom: 14px; }
.legal .legal-meta { color: var(--ink-mute); font-size: 15px; margin-bottom: 46px; }
.legal article { max-width: 820px; }
.legal h2 { font-size: 20px; color: var(--navy-800); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul { margin: 0 0 1em; }
.legal ul li { position: relative; padding-left: 16px; line-height: 1.85; }
.legal ul li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--teal-500);
}
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.legal th { background: var(--bg-tint); color: var(--navy-800); font-weight: 700; }
.legal .back-link { display: inline-block; margin-top: 48px; font-weight: 600; color: var(--teal-600); }
.legal .back-link:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.notfound .code { font-size: 78px; font-weight: 800; color: var(--navy-800); letter-spacing: -.05em; line-height: 1; }
.notfound h1 { font-size: 26px; margin: 20px 0 12px; color: var(--navy-800); }
.notfound p { color: var(--ink-mute); margin-bottom: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid, .greeting-grid, .cred-grid, .loc-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 18px; grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }
  .header-inner { height: 66px; }
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed; inset: 66px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px; box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 66px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 15px 6px; font-size: 16.5px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .site-nav a.is-active::after { display: none; }
  .site-nav .nav-cta {
    margin: 16px 0 0; border-radius: 999px; text-align: center;
    justify-content: center; border-bottom: 0; padding: 15px;
  }

  .hero { padding-top: 84px; }
  .hero-inner { padding-bottom: 60px; }
  .br-pc { display: none; }
  .hero-actions .btn { width: 100%; max-width: 320px; }


  .section { padding: 76px 0; }
  #about { padding-top: 122px; }
  .section-head { margin-bottom: 40px; }

  .biz-grid { grid-template-columns: 1fr; gap: 16px; }
  .biz-card { padding: 30px 26px; }
  .value-card { padding: 24px 24px 22px; }

  .timeline::before { left: 5px; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; padding: 16px 0 16px 30px; }
  .timeline > li::before { left: 0; top: 26px; }
  .tl-year { text-align: left; font-size: 23px; }

  .greeting-body blockquote { padding-left: 20px; font-size: 16.5px; line-height: 1.95; }
  .signature { padding-left: 20px; }

  .contact-form { grid-template-columns: 1fr; padding: 30px 24px 28px; gap: 18px; }
  .form-actions .btn { width: 100%; }
  .form-status { text-align: center; width: 100%; }

  .loc-info { padding: 28px 24px; }
  .map-frame, .map-frame iframe { min-height: 300px; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .about-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .biz-card:hover, .value-card:hover, .cert-card:hover { transform: none; }
}

@media print {
  .site-header, .to-top, .hero-actions, .nav-toggle, .contact-form { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .hero { color: #000; padding-top: 20px; }
  .hero-bg, .section-dark { background: none !important; color: #000 !important; }
}

/* ---------- 공식 로고 ---------- */
.brand-mark { width: 38px; height: 38px; flex: none; display: block; }
.footer-logo { width: auto; height: 42px; display: block; margin-bottom: 14px; }

@media (max-width: 860px) {
  .footer-logo { height: 38px; }
}

/* 활성 섹션 표시(.is-active)가 CTA 버튼의 흰 글자를 덮어쓰지 않도록 */
.site-nav .nav-cta.is-active { color: #fff; }

/* =========================================================
   실제 콘텐츠용 추가 스타일
   ========================================================= */

/* 사업영역 3열 */
.biz-grid-3 { grid-template-columns: repeat(3, 1fr); }
.biz-grid-3 .biz-card { padding: 32px 28px; }
.biz-card .biz-en {
  margin: -6px 0 12px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; color: var(--teal-600); text-transform: uppercase;
}
.biz-card .biz-en + p { font-size: 15.5px; margin-bottom: 0; }

/* 대표 경력 */
.ceo-career {
  margin-top: 30px; border-top: 1px solid var(--line);
}
.ceo-career > div {
  display: grid; grid-template-columns: 62px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.ceo-career dt {
  font-size: 14px; font-weight: 800; color: var(--teal-600); letter-spacing: -.01em;
}
.ceo-career dd { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* 글로벌 파트너사 */
.partner-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.partner-card {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdae3; }
.partner-card strong {
  font-size: 18px; font-weight: 700; color: var(--navy-800); letter-spacing: -.02em;
}
.partner-card span {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-mute); background: var(--bg-tint);
  border-radius: 4px; padding: 3px 7px; flex: none;
}

@media (max-width: 1024px) {
  .biz-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .biz-grid-3 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-card { padding: 18px 18px; }
  .partner-card strong { font-size: 16px; }
  .ceo-career > div { grid-template-columns: 54px 1fr; gap: 12px; padding: 11px 0; }
  .ceo-career dd { font-size: 14.5px; }
}

@media (max-width: 420px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* 이메일 주소 — 소문자 rn 이 m 으로 붙어 보여 대문자로 표기한다 */
.email { letter-spacing: .02em; }
