/* ============================================================
   Shidae 2026 Design System — (주)시대전기
   전 페이지 공용 단일 스타일시트
   ------------------------------------------------------------
   1. Tokens          2. Reset & Base       3. Typography
   4. Layout          5. Buttons            6. Header / Nav
   7. Mobile Menu     8. Hero (Main)        9. Page Hero (Sub)
   10. Cards & Grids  11. Products Bento    12. Strengths
   13. Certifications 14. Support Quick     15. CTA Banner
   16. Footer         17. Tables            18. Timeline
   19. Forms          20. Reveal Motion     21. Utilities
   22. Responsive
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root{
  --ink:#0b0d12;
  --bg:#ffffff;
  --surface:#f4f5f7;
  --line:#e6e8eb;
  --gold:#b58a3a;
  --gold-light:#d4af5e;
  --gold-text:#7e6128; /* 소형 텍스트용 골드 — 흰/서피스 배경 대비 4.5:1 이상 */
  --navy:#10141c;
  --muted:#697077;
  --footer-text:#9aa0a6;

  --header-h:64px;
  --container:1320px;
  --radius-card:24px;
  --radius-pill:999px;
  --ease-soft:cubic-bezier(.2,.6,.2,1);
  --shadow-card:0 18px 44px rgba(11,13,18,.10);
  --shadow-header:0 6px 24px rgba(11,13,18,.07);
  --section-pad:clamp(72px,10vw,140px);
}

/* ---------- 2. Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  -webkit-text-size-adjust:100%;
  scroll-padding-top:calc(var(--header-h) + 20px);
}
body{
  margin:0;
  font-family:"Pretendard Variable",Pretendard,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  word-break:keep-all;
}
h1,h2,h3,h4,h5,h6,p,ul,ol,figure,blockquote,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
table{border-collapse:collapse}
address{font-style:normal}

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:4px;
}
[tabindex="-1"]:focus{outline:none}

::selection{background:rgba(181,138,58,.22)}

.skip-link{
  position:fixed;top:-48px;left:16px;z-index:2000;
  padding:10px 18px;border-radius:var(--radius-pill);
  background:var(--ink);color:#fff;font-weight:600;font-size:14px;
  transition:top .25s ease;
}
.skip-link:focus{top:12px}

/* ---------- 3. Typography ---------- */
.hero-title{
  font-size:clamp(40px,6vw,72px);
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.12;
}
.section-title{
  font-size:clamp(28px,4vw,44px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.25;
}
.section-desc{
  margin-top:16px;
  font-size:17px;
  color:var(--muted);
  max-width:640px;
}
.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold-text);
}
.lead{font-size:18px;line-height:1.75}

/* ---------- 4. Layout ---------- */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.section{padding:var(--section-pad) 0}
.section-surface{background:var(--surface)}
.section-dark{background:var(--navy);color:#fff}
.section-dark .section-desc{color:rgba(255,255,255,.66)}
.section-dark .eyebrow{color:var(--gold-light)}
.section-dark .card-label{color:var(--gold-light)}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:clamp(36px,5vw,60px);
}
.section-head-link{
  display:inline-flex;align-items:center;gap:8px;
  flex-shrink:0;margin-bottom:6px;
  font-weight:600;font-size:15px;color:var(--ink);
  transition:color .25s ease;
}
.section-head-link svg{width:18px;height:18px;transition:transform .3s var(--ease-soft)}
.section-head-link:hover{color:var(--gold)}
.section-head-link:hover svg{transform:translateX(4px)}

/* ---------- 5. Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:var(--radius-pill);
  font-weight:600;
  font-size:16px;
  line-height:1.3;
  border:1.5px solid transparent;
  transition:transform .3s var(--ease-soft),box-shadow .3s ease,background-color .25s ease,color .25s ease,border-color .25s ease;
  cursor:pointer;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn svg{width:18px;height:18px}

.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{box-shadow:0 12px 28px rgba(11,13,18,.22)}

.btn-gold{background:var(--gold);color:#fff}
.btn-gold:hover{background:var(--gold-light);box-shadow:0 12px 28px rgba(181,138,58,.32)}

.btn-outline{border-color:rgba(11,13,18,.28);color:var(--ink);background:transparent}
.btn-outline:hover{border-color:var(--ink)}

.btn-outline-light{border-color:rgba(255,255,255,.42);color:#fff;background:transparent}
.btn-outline-light:hover{border-color:#fff;background:rgba(255,255,255,.08)}

.btn-sm{padding:10px 22px;font-size:14px}
.btn-lg{padding:17px 38px;font-size:17px}

/* ---------- 6. Header / Nav ---------- */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:var(--header-h);
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
.site-header.is-scrolled{box-shadow:var(--shadow-header)}

.header-inner{
  display:flex;
  align-items:center;
  gap:24px;
  height:var(--header-h);
}
.logo{display:inline-flex;align-items:center;flex-shrink:0}
.logo img{height:34px;width:auto}

.main-nav{margin-left:auto}
.main-nav ul{display:flex;align-items:center;gap:4px}
.main-nav a{
  display:inline-block;
  padding:9px 16px;
  border-radius:var(--radius-pill);
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  transition:background-color .25s ease,color .25s ease;
}
.main-nav a:hover{background:rgba(11,13,18,.05)}
.main-nav a[aria-current="page"]{color:var(--gold)}

.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}

/* 햄버거 */
.nav-toggle{
  display:none;
  position:relative;
  width:44px;height:44px;
  border-radius:12px;
}
.nav-toggle-bar{
  position:absolute;left:11px;
  width:22px;height:2px;
  background:var(--ink);
  border-radius:2px;
  transition:transform .35s var(--ease-soft),opacity .25s ease,top .35s var(--ease-soft);
}
.nav-toggle-bar:nth-child(1){top:15px}
.nav-toggle-bar:nth-child(2){top:21px}
.nav-toggle-bar:nth-child(3){top:27px}
body.nav-open .nav-toggle-bar:nth-child(1){top:21px;transform:rotate(45deg)}
body.nav-open .nav-toggle-bar:nth-child(2){opacity:0}
body.nav-open .nav-toggle-bar:nth-child(3){top:21px;transform:rotate(-45deg)}

/* ---------- 7. Mobile Menu Overlay ---------- */
.mobile-menu{
  position:fixed;
  inset:0;
  z-index:900;
  display:none;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
  padding:calc(var(--header-h) + 32px) 24px 40px;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease,visibility .35s ease;
  overflow-y:auto;
}
body.nav-open .mobile-menu{opacity:1;visibility:visible}
body.nav-open{overflow:hidden}

.mobile-links li{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .45s ease,transform .5s var(--ease-soft);
}
body.nav-open .mobile-links li{opacity:1;transform:none}
body.nav-open .mobile-links li:nth-child(1){transition-delay:.06s}
body.nav-open .mobile-links li:nth-child(2){transition-delay:.12s}
body.nav-open .mobile-links li:nth-child(3){transition-delay:.18s}
body.nav-open .mobile-links li:nth-child(4){transition-delay:.24s}
body.nav-open .mobile-links li:nth-child(5){transition-delay:.30s}

.mobile-links a{
  display:block;
  padding:16px 4px;
  font-size:28px;
  font-weight:700;
  letter-spacing:-0.02em;
  border-bottom:1px solid var(--line);
  transition:color .25s ease;
}
.mobile-links a:hover{color:var(--gold)}

.mobile-menu-cta{margin-top:28px}
.mobile-menu-contact{
  margin-top:32px;
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
}
.mobile-menu-contact strong{color:var(--ink)}

/* ---------- 8. Hero (Main) ---------- */
.hero{
  position:relative;
  background:
    radial-gradient(900px 480px at 86% 8%,rgba(181,138,58,.17),transparent 62%),
    radial-gradient(720px 460px at 6% 96%,rgba(181,138,58,.08),transparent 60%),
    var(--navy);
  color:#fff;
  padding:calc(var(--header-h) + clamp(72px,11vw,136px)) 0 clamp(72px,10vw,128px);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(40px,6vw,88px);
  align-items:center;
}
.hero .eyebrow{color:var(--gold-light)}
.hero-title em{font-style:normal;color:var(--gold-light)}
.hero-sub{
  margin-top:24px;
  max-width:520px;
  font-size:18px;
  line-height:1.75;
  color:rgba(255,255,255,.72);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:40px;
}
.hero-facts{
  display:flex;
  flex-wrap:wrap;
  gap:0 40px;
  row-gap:20px;
  margin-top:clamp(40px,6vw,64px);
}
.hero-facts > div{
  padding-left:20px;
  border-left:2px solid rgba(212,175,94,.45);
}
.hero-facts strong{
  display:block;
  font-size:clamp(19px,2.4vw,24px);
  font-weight:800;
  letter-spacing:-0.01em;
  color:#fff;
}
.hero-facts span{
  display:block;
  margin-top:4px;
  font-size:13px;
  color:rgba(255,255,255,.56);
}

.hero-visual{position:relative}
.hero-visual-card{
  display:grid;
  place-items:center;
  animation:hero-float 5.5s ease-in-out infinite alternate;
}
.hero-visual-card img{width:100%;max-width:520px;border-radius:24px}
.hero-visual-caption{
  margin-top:18px;
  text-align:center;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.6);
}
@keyframes hero-float{
  from{transform:translateY(0)}
  to{transform:translateY(-14px)}
}

/* ---------- 9. Page Hero (서브페이지 공통) ---------- */
.page-hero{
  background:
    radial-gradient(820px 420px at 88% 0%,rgba(181,138,58,.16),transparent 62%),
    var(--navy);
  color:#fff;
  padding:calc(var(--header-h) + clamp(56px,9vw,104px)) 0 clamp(48px,7vw,88px);
}
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  font-size:13px;
  color:rgba(255,255,255,.55);
}
.breadcrumb a{transition:color .25s ease}
.breadcrumb a:hover{color:#fff}
.breadcrumb .sep{color:rgba(255,255,255,.3)}
.breadcrumb [aria-current="page"]{color:var(--gold-light);font-weight:600}
.page-hero-title{
  font-size:clamp(34px,5vw,56px);
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.15;
}
.page-hero-desc{
  margin-top:18px;
  max-width:620px;
  font-size:17px;
  color:rgba(255,255,255,.68);
}

/* 서브페이지 인페이지 탭/앵커 내비 */
.anchor-nav{
  position:sticky;
  top:var(--header-h);
  z-index:50;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.anchor-nav ul{
  display:flex;
  gap:6px;
  padding:10px 0;
  white-space:nowrap;
}
.anchor-nav a{
  display:inline-block;
  padding:8px 18px;
  border-radius:var(--radius-pill);
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  transition:color .25s ease,background-color .25s ease;
}
.anchor-nav a:hover{color:var(--ink);background:var(--surface)}
.anchor-nav a.is-active{background:var(--ink);color:#fff}

/* ---------- 10. Cards & Grids ---------- */
.card{
  background:var(--surface);
  border-radius:var(--radius-card);
  transition:transform .35s var(--ease-soft),box-shadow .35s ease;
}
a.card:hover,.card.is-hoverable:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card);
}
.card-body{padding:clamp(24px,3vw,32px)}
.card h3,.product-card h3{font-size:20px;font-weight:700;letter-spacing:-0.01em}
.card-label{
  display:block;
  margin-bottom:10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold-text);
}
.card-desc{margin-top:10px;font-size:15px;color:var(--muted)}
.card-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:18px;
  font-size:14px;
  font-weight:600;
  color:var(--ink);
}
.card-link svg{width:16px;height:16px;color:var(--gold);transition:transform .3s var(--ease-soft)}
a.card:hover .card-link svg,.card:hover .card-link svg{transform:translateX(4px)}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}

/* ---------- 11. Products Bento ---------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.product-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:var(--surface);
  border-radius:var(--radius-card);
  transition:transform .35s var(--ease-soft),box-shadow .35s ease;
}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.product-card .card-body{flex-grow:1}
.product-media{
  position:relative;
  height:190px;
  overflow:hidden;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 100%; /* 원본 상단의 베이크된 텍스트 크롭 */
  transition:transform .6s var(--ease-soft);
}
.product-card:hover .product-media img{transform:scale(1.045)}

/* 피처 카드 (삼상유도) — 가로형, 밝은 카드 + main_slide2 렌더링 */
.product-card.is-feature{
  grid-column:1 / -1;
  flex-direction:row;
  background:#fff;
  border:1px solid var(--line);
}
.product-card.is-feature .card-body{
  flex:0 0 46%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(28px,4vw,52px);
}
.product-card.is-feature h3{font-size:clamp(24px,2.6vw,30px)}
.product-card.is-feature .card-desc{font-size:16px;max-width:420px}
.product-card.is-feature .product-media{
  flex:1;
  height:auto;
  min-height:280px;
}
.product-card.is-feature .product-media img{
  object-position:50% 50%; /* main_slide2(베이크 텍스트 없는 렌더링) 중앙 노출 */
}

/* ---------- 12. Strengths (기술·강점) ---------- */
.strength-card{padding:clamp(26px,3vw,34px)}
.icon-badge{
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  margin-bottom:22px;
  border-radius:16px;
  background:rgba(181,138,58,.10);
  color:var(--gold);
}
.icon-badge svg{width:28px;height:28px}

/* ---------- 13. Certifications ---------- */
.cert-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(36px,5vw,72px);
  align-items:start;
}
.cert-list{margin-top:32px}
.cert-list li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:14px 2px;
  border-bottom:1px solid var(--line);
  font-size:15px;
}
.cert-list li:first-child{border-top:1px solid var(--line)}
.cert-list .cert-name{font-weight:600}
.cert-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.cert-item{
  transition:transform .35s var(--ease-soft);
}
.cert-item:hover{transform:translateY(-4px)}
.cert-item img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  object-position:50% 0%;
  border-radius:16px;
  background:var(--surface);
}
.cert-item figcaption{
  margin-top:12px;
  font-size:13px;
  font-weight:600;
  text-align:center;
  color:var(--muted);
}

/* ---------- 14. Support Quick Links ---------- */
.quick-card{display:block;padding:clamp(28px,3vw,36px)}
.quick-card h3{margin-top:0}

/* ---------- 15. CTA Banner ---------- */
.cta-banner{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(640px 320px at 82% 0%,rgba(181,138,58,.22),transparent 60%),
    radial-gradient(520px 300px at 8% 100%,rgba(181,138,58,.10),transparent 60%),
    var(--navy);
  color:#fff;
  border-radius:32px;
  padding:clamp(56px,8vw,96px) clamp(24px,6vw,80px);
  text-align:center;
}
.cta-banner .section-title{color:#fff}
.cta-banner p{
  margin:18px auto 0;
  max-width:560px;
  font-size:17px;
  color:rgba(255,255,255,.7);
}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-top:36px;
}
.cta-note{
  margin-top:22px;
  font-size:13px;
  color:rgba(255,255,255,.5);
}

/* ---------- 16. Footer ---------- */
.site-footer{
  background:var(--navy);
  color:var(--footer-text);
  font-size:14px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;
  gap:40px;
  padding:clamp(56px,7vw,80px) 0 clamp(40px,5vw,56px);
}
.footer-logo{
  display:inline-block;
  font-size:20px;
  font-weight:800;
  letter-spacing:.08em;
  color:#fff;
}
.footer-brand p{margin-top:14px;line-height:1.8;max-width:300px}
.footer-contact{margin-top:22px;line-height:2.0}
.footer-contact a{color:var(--footer-text);transition:color .25s ease}
.footer-contact a:hover{color:#fff}
.footer-contact strong{color:#d8dadd;font-weight:600}

.footer-col h4{
  margin-bottom:16px;
  font-size:14px;
  font-weight:700;
  color:#fff;
}
.footer-col li + li{margin-top:10px}
.footer-col a{color:var(--footer-text);transition:color .25s ease}
.footer-col a:hover{color:#fff}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px 24px;
  padding:24px 0 32px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:13px;
  color:#7a8087;
}
.footer-bottom .divider{margin:0 8px;color:rgba(255,255,255,.18)}

/* ---------- 17. Tables (사양표 등) ---------- */
.table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:16px;
}
.spec-table{
  width:100%;
  min-width:560px;
  font-size:14px;
  line-height:1.5;
}
.spec-table caption{
  padding:14px 18px;
  text-align:left;
  font-weight:700;
  font-size:15px;
  border-bottom:1px solid var(--line);
}
.spec-table th,.spec-table td{
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  text-align:center;
  white-space:nowrap;
}
.spec-table thead th{
  background:var(--surface);
  font-weight:700;
  color:var(--ink);
}
.spec-table tbody th{background:#fafbfc;font-weight:600}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td{border-bottom:0}
.spec-table tbody tr:hover td{background:rgba(181,138,58,.04)}

/* ---------- 18. Timeline (연혁) ---------- */
.timeline{
  position:relative;
  padding-left:32px;
}
.timeline::before{
  content:"";
  position:absolute;
  top:8px;bottom:8px;left:7px;
  width:2px;
  background:var(--line);
}
.timeline-item{position:relative;padding-bottom:clamp(32px,4vw,48px)}
.timeline-item:last-child{padding-bottom:0}
.timeline-item::before{
  content:"";
  position:absolute;
  top:8px;left:-32px;
  width:16px;height:16px;
  border-radius:50%;
  background:#fff;
  border:3px solid var(--gold);
}
.timeline-year{
  font-size:clamp(22px,2.6vw,28px);
  font-weight:800;
  letter-spacing:-0.01em;
  line-height:1.2;
}
.timeline-item ul{margin-top:12px}
.timeline-item li{
  padding:6px 0;
  font-size:15px;
  color:var(--ink);
}

/* ---------- 19. Forms ---------- */
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px 16px;
}
.form-field{display:flex;flex-direction:column;gap:8px}
.form-field.is-full{grid-column:1 / -1}
.form-field label{font-size:14px;font-weight:600}
.form-field .required{color:var(--gold);margin-left:2px}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  padding:14px 16px;
  font:inherit;
  font-size:15px;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.form-field textarea{min-height:140px;resize:vertical}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(181,138,58,.14);
}
.form-field input::placeholder,
.form-field textarea::placeholder{color:#a8adb3}
.form-help{font-size:13px;color:var(--muted)}

/* 지도 임베드 (오시는길) */
.map-embed{
  overflow:hidden;
  border-radius:var(--radius-card);
  border:1px solid var(--line);
}
.map-embed iframe{display:block;width:100%;height:440px;border:0}

/* ---------- 20. Reveal Motion ---------- */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease,transform .6s ease;
}
.reveal.visible{opacity:1;transform:none}
.reveal.d1{transition-delay:.08s}
.reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s}
.reveal.d4{transition-delay:.32s}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{opacity:1;transform:none}
  .hero-visual-card{animation:none}
}

/* ---------- 21. Utilities ---------- */
.text-center{text-align:center}
.mt-0{margin-top:0}
.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;border:0;
  clip:rect(0 0 0 0);
  overflow:hidden;
  white-space:nowrap;
}

/* ---------- 22. Responsive ---------- */
@media (max-width:1100px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:960px){
  .main-nav{display:none}
  .nav-toggle{display:block}
  .mobile-menu{display:block}

  .hero-grid{grid-template-columns:1fr}
  .hero-visual{max-width:540px}
  .hero-sub{max-width:none}

  .cert-layout{grid-template-columns:1fr}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}

  .footer-top{grid-template-columns:repeat(2,1fr)}
  .footer-brand{grid-column:1 / -1}
}

@media (max-width:720px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr}
  .product-media{height:auto;aspect-ratio:4/3} /* 단일 컬럼에서 세로형 원본 과잉 크롭 방지 */
  .product-card.is-feature{flex-direction:column}
  .product-card.is-feature .card-body{flex-basis:auto}
  .product-card.is-feature .product-media{min-height:220px;width:100%}

  .cert-gallery{grid-template-columns:repeat(2,1fr)}
  .section-head{flex-direction:column;align-items:flex-start;gap:16px}
  .hero-facts{gap:0 28px}
  .hero-facts > div{padding-left:14px}
  .form-grid{grid-template-columns:1fr}
  .map-embed iframe{height:340px}
  .footer-bottom{flex-direction:column;gap:8px}
}

@media (max-width:480px){
  .header-cta{display:none}
  .hero-actions .btn{flex:1 1 auto;justify-content:center}
  .cert-gallery{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr}
}
