/* =========================================================
   창돈엔지니어링 - 포 소화 설비 전문기업
   Bold Safety Color Theme: Red + Black + Yellow Accent
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
    'Malgun Gothic', '맑은 고딕', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Safety palette */
  --primary: #C8102E;          /* 소방 레드 */
  --primary-dark: #8B0E22;
  --primary-light: #E04055;
  --accent: #FFC72C;           /* 옐로우 포인트 */
  --accent-dark: #E0AB12;
  --black: #0A0A0A;
  --dark: #161616;
  --dark-2: #1F1F1F;

  --gray-900: #1A1F2B;
  --gray-800: #2B313D;
  --gray-700: #4A5160;
  --gray-600: #6B7280;
  --gray-500: #9CA3AF;
  --gray-400: #C2C8D1;
  --gray-300: #DDE1E8;
  --gray-200: #EDEFF3;
  --gray-100: #F6F7F9;
  --white: #FFFFFF;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15);

  --container: 1200px;
  --header-h: 80px;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--gray-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--dark); color: var(--gray-200); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--gray-400); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--primary);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 720px;
  margin-bottom: 56px;
}
.section-dark .section-subtitle { color: var(--gray-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(200,16,46,.35);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 28px rgba(200,16,46,.45); }
.btn-accent {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(255,199,44,.35);
}
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: background .2s, box-shadow .2s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header.scrolled { background: rgba(10,10,10,.98); box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .ko { color: var(--white); font-size: 1.15rem; }
.brand-text .en { color: var(--gray-500); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: var(--primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.header-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.75) 55%, rgba(200,16,46,.4) 100%),
    radial-gradient(circle at 80% 30%, rgba(255,199,44,.18), transparent 50%),
    var(--dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.4);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(200,16,46,.25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,.4); }
  50% { box-shadow: 0 0 0 8px rgba(200,16,46,0); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 14px;
  background: var(--primary);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255,199,44,.2), transparent 60%);
  z-index: -1;
}

.hero-stats {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat .num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .num small { font-size: 0.55em; color: var(--gray-400); margin-left: 4px; font-weight: 600; }
.hero-stat .label {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ---------- Page Hero (sub pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background:
    linear-gradient(120deg, rgba(10,10,10,.95), rgba(10,10,10,.75)),
    linear-gradient(45deg, var(--primary-dark), var(--dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  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 at center, black, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--gray-300); font-size: 1.1rem; max-width: 720px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { opacity: 0.5; }

/* ---------- Feature Cards (3-up) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  position: relative;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 4px;
  background: var(--primary);
  transition: width .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.feature-card:hover::before { width: 100%; }
.feature-card .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(200,16,46,.08);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-card .icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; }

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.product-thumb svg { width: 50%; height: 50%; }
.product-thumb .badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product-body .model {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.product-body p { font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.product-body .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.product-body .specs span {
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > div:first-child { order: 2; }
.split-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.split-visual svg { width: 60%; height: 60%; opacity: 0.85; }
.split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,199,44,.2), transparent 50%);
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  position: relative;
  padding: 64px 0;
  background:
    linear-gradient(120deg, rgba(0,0,0,.6), rgba(0,0,0,.3)),
    var(--primary);
  color: var(--white);
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,199,44,.25), transparent 60%);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cta-strip h2 { color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.85); max-width: 560px; }

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.section-dark .stat-num { color: var(--accent); }
.stat-label {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-top: 8px;
  font-weight: 600;
}
.section-dark .stat-label { color: var(--gray-400); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.tl-item {
  position: relative;
  padding-bottom: 32px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--primary);
}
.tl-year {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}
.tl-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.tl-item p { font-size: 0.95rem; color: var(--gray-600); }

/* ---------- Cert grid ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.cert-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-card .seal {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #FFAA00);
  color: var(--black);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 18px rgba(255,199,44,.4);
}
.cert-card h4 { font-size: 1rem; margin-bottom: 6px; }
.cert-card p { font-size: 0.85rem; color: var(--gray-600); }

/* ---------- Project gallery ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  cursor: pointer;
}
.project-card .visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.4;
  transition: transform .4s var(--ease), opacity .3s;
}
.project-card:hover .visual { transform: scale(1.08); opacity: 0.5; }
.project-card .visual svg { width: 50%; height: 50%; }
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.project-card .info { position: relative; z-index: 1; }
.project-card .category {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.project-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.project-card .meta {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* ---------- Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(200,16,46,.08);
  color: var(--primary);
  border-radius: 10px;
}
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; text-transform: uppercase; }
.info-item p { font-size: 1.05rem; color: var(--gray-900); font-weight: 600; }
.info-item p small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }

.form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
}
.form-field label .req { color: var(--primary); margin-left: 2px; }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200,16,46,.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.checkbox-line a { color: var(--primary); text-decoration: underline; }

.form-feedback {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
  font-size: 0.9rem;
  display: none;
}
.form-feedback.show { display: block; }

/* ---------- Map placeholder ---------- */
.map-box {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(200,16,46,.1), rgba(255,199,44,.1)),
    var(--gray-100);
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.map-box svg { width: 80px; height: 80px; color: var(--primary); }
.map-box .pin-label {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 64px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: var(--gray-500); font-size: 0.9rem; max-width: 320px; line-height: 1.7; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .links { display: flex; gap: 20px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > div:first-child { order: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 28px; margin-top: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 0;
    transform: translateY(-120%);
    transition: transform .25s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.04); }
  .main-nav a.active::after { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-strip-inner { flex-direction: column; text-align: center; align-items: center; }
}
