/* ============================================================
   Godot Packaging - B2B Industrial Brand Style
   Main Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy:        #0d2b45;
  --navy-deep:   #081e31;
  --blue:        #1479c9;
  --blue-hover:  #0f68ae;
  --blue-light:  #e8f3fb;
  --steel:       #5b7185;
  --ink:         #1b2b3a;
  --muted:       #64798a;
  --line:        #e4ebf1;
  --bg:          #ffffff;
  --bg-soft:     #f5f8fb;
  --white:       #ffffff;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 10px 30px rgba(13, 43, 69, 0.08);
  --shadow-lg:   0 20px 50px rgba(13, 43, 69, 0.14);
  --maxw:        1200px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: #7dc4f5; }
.section-navy p { color: #b8c9d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,121,201,0.3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--blue);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.05em;
}
.logo-img { height: 36px; width: auto; object-fit: contain; }
.footer .logo-img { filter: brightness(0) invert(1); height: 32px; }
.logo-text strong { display: block; font-size: 1.35rem; color: var(--navy); letter-spacing: 0.08em; line-height: 1; }
.logo-text span { display: block; font-size: 0.62rem; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink); transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,49,0.94) 0%, rgba(8,30,49,0.78) 45%, rgba(8,30,49,0.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 90px 0; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.14; }
.hero h1 .accent { color: #6fc0f5; }
.hero-lead { font-size: 1.12rem; color: #d3e2ee; margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-trust .item strong { display: block; font-size: 1.5rem; color: #fff; line-height: 1; }
.hero-trust .item span { font-size: 0.8rem; color: #a9c1d3; }

/* ---------- Feature / Value Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; }

/* ---------- Product Cards ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 10px; border-radius: 20px;
  letter-spacing: 0.04em;
}
.product-body { padding: 22px; }
.product-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.product-specs span { font-size: 0.72rem; background: var(--bg-soft); color: var(--steel); padding: 4px 9px; border-radius: 4px; }
.product-body .btn { width: 100%; }

/* ---------- Image + Text Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-text h2 { margin-bottom: 18px; }
.split-text > p { margin-bottom: 18px; }
.check-list { margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  display: grid; place-items: center;
  font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-size: 2.6rem; color: #fff; line-height: 1; font-weight: 800; }
.stat-item span { color: #b8c9d6; font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 12px; }
.step-num {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 800;
  background: #fff;
  position: relative; z-index: 2;
}
.step:not(:last-child)::after {
  content: ""; position: absolute;
  top: 30px; left: calc(50% + 36px); right: calc(-50% + 36px);
  height: 2px; background: var(--line); z-index: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  background: none; border: none;
  font-weight: 700; font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 0 22px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA Band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-band p { color: #d7ecfb; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #c2d3e0; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 52px; }
.footer .logo-mark { background: var(--blue); }
.footer .logo-text strong { color: #fff; }
.footer .logo-text span { color: #8fa9bd; }
.footer-about p { font-size: 0.9rem; margin-top: 18px; color: #9db3c5; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: #9db3c5; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { font-size: 0.9rem; color: #9db3c5; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 0.82rem; color: #7f97aa; flex-wrap: wrap; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute;
  right: -100px; top: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(20,121,201,0.18);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.page-hero p { color: #b8c9d6; margin-top: 14px; max-width: 680px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.82rem; color: #8fa9bd; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Product Filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Contact / Form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group label .req { color: #e0533d; }
.form-control {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8e2ea;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,121,201,0.12); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.form-error { color: #d64545; font-size: 0.78rem; margin-top: 5px; display: none; }
.form-group.invalid .form-control { border-color: #d64545; }
.form-group.invalid .form-error { display: block; }

.contact-info-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-icon { width: 42px; height: 42px; flex-shrink: 0; background: #fff; color: var(--blue); border-radius: 10px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.info-icon svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 3px; }
.info-item p { font-size: 0.88rem; }

/* ---------- Success Message ---------- */
.form-success {
  display: none;
  background: #eaf7ee;
  border: 1px solid #bfe3cb;
  color: #1d6b3a;
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.form-success.show { display: block; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,30,49,0.7);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.9);
  border: none; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer;
  color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.modal-img { background: var(--bg-soft); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.modal-body { padding: 40px; }
.modal-body h2 { font-size: 1.6rem; margin-bottom: 10px; }
.modal-body .spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 0.88rem; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { color: var(--navy); font-weight: 600; }

/* ---------- Product Detail Page ---------- */
.pd-main { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.pd-hero-img { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; }
.pd-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 78px; height: 78px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--bg-soft); padding: 0; }
.pd-thumb.active { border-color: var(--blue); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.pd-sku { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.pd-intro { font-size: 1.02rem; line-height: 1.8; margin-bottom: 26px; }
.pd-key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.pd-key-spec { background: var(--bg-soft); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 0 6px 6px 0; }
.pd-key-spec span { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pd-key-spec strong { display: block; font-size: 1rem; color: var(--navy); margin-top: 2px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.pd-assurance { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--steel); }
.pd-assurance span::before { content: "✓ "; color: var(--blue); font-weight: 700; }
.pd-feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: all 0.3s; }
.pd-feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pd-feature-num { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--blue-light); color: var(--blue); border-radius: 8px; font-weight: 800; margin-bottom: 16px; }
.pd-feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pd-feature-card p { font-size: 0.9rem; }
.pd-spec-table-wrap { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px; }
.pd-spec-table td { padding: 13px 0; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.pd-spec-table td:first-child { color: var(--muted); width: 45%; }
.pd-spec-table tr:last-child td { border-bottom: none; }
.pd-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pd-app { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.pd-app-icon { width: 48px; height: 48px; margin: 0 auto 16px; background: rgba(255,255,255,0.1); border-radius: 12px; display: grid; place-items: center; color: #7dc4f5; }
.pd-app-icon svg { width: 24px; height: 24px; }
.pd-app h3 { font-size: 1rem; margin-bottom: 6px; }
.pd-app p { font-size: 0.85rem; color: #b8c9d6; }
.pd-inquiry-wrap { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
.pd-side-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 30px; }
.pd-side-card h3 { margin-bottom: 18px; font-size: 1.1rem; }
.pd-summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.pd-summary-item span { color: var(--muted); }
.pd-summary-item strong { color: var(--navy); text-align: right; }
@media (max-width: 992px) {
  .pd-main { grid-template-columns: 1fr; gap: 36px; }
  .pd-apps { grid-template-columns: repeat(2, 1fr); }
  .pd-inquiry-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-apps { grid-template-columns: 1fr; }
  .pd-key-specs { grid-template-columns: 1fr; }
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 6px 20px rgba(20,121,201,0.35);
  opacity: 0; visibility: hidden;
  transition: 0.3s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-hover); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 24px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .grid-4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-img img { min-height: 240px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .form-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .hero-content { padding: 64px 0; }
  .hero-trust { gap: 18px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card, .contact-info-card { padding: 26px; }
  .modal-body { padding: 26px; }
  .step:not(:last-child)::after { display: none; }
}
