/* ==========================================================================
   Kalpatech (KEILIND) — Design System
   Industrial, global, professional. Brand blue + steel navy.
   ========================================================================== */

:root {
  --blue: #0a8fd6;
  --blue-dark: #0671ac;
  --blue-tint: #e8f5fc;
  --navy: #0c1f2c;
  --navy-2: #122b3c;
  --steel: #5a6b78;
  --steel-light: #8a99a4;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --ink: #16242e;
  --ink-soft: #44545f;
  --white: #ffffff;
  --amber: #f5a623;
  --copper: #c4561f;
  --copper-bright: #ec8049;
  --copper-dark: #a3440f;
  --copper-tint: #fbede4;
  --success: #1f9d6b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(12, 31, 44, .08);
  --shadow: 0 6px 24px rgba(12, 31, 44, .10);
  --shadow-lg: 0 18px 50px rgba(12, 31, 44, .16);
  --maxw: 1280px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d7e2ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px;
}
.section--navy .eyebrow { color: #6fc7f0; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 8px;
  border: 2px solid transparent; transition: .18s ease; text-decoration: none; line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--blue-tint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; justify-content: center; }

/* Header ----------------------------------------------------------------- */
.topbar { background: var(--navy); color: #aebecb; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cfdce5; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .tb-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-certs { color: #7f93a2; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { line-height: 1.1; }
.brand .brand-name { font-weight: 800; color: var(--navy); font-size: 1.18rem; letter-spacing: .02em; }
.brand .brand-tag { font-size: .72rem; color: var(--steel); letter-spacing: .04em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .96rem; padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); background: var(--blue-tint); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-links { flex-wrap: nowrap; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: #e7eef3; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,31,44,.96) 0%, rgba(12,31,44,.86) 45%, rgba(10,143,214,.30) 100%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .5; }
.hero .container { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #c4d3de; font-size: 1.22rem; max-width: 60ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust div { font-size: .9rem; color: #9fb3c2; }
.hero-trust strong { display: block; font-size: 1.7rem; color: #fff; font-weight: 800; }

/* Page header (interior) ------------------------------------------------- */
.page-head { background: var(--navy); color: #cddae3; padding: 64px 0 58px; position: relative; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #b8c8d4; }
.breadcrumb { font-size: .85rem; color: #8aa0b0; margin-bottom: 16px; }
.breadcrumb a { color: #b9cad6; }

/* Grid utilities --------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Cards ------------------------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card .card-img.contain { background: linear-gradient(160deg, #ffffff 0%, #eef3f6 100%); }
.card .card-img.contain img { object-fit: contain; padding: 22px; }
.card:hover .card-img.contain img { transform: scale(1.04); }
.card .card-body { padding: 22px 24px 26px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1rem; }
.card .card-link { font-weight: 700; color: var(--blue-dark); font-size: .94rem; }
.card .card-link::after { content: " \2192"; }

/* Feature / icon list ---------------------------------------------------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feature .ic { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-tint); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li { position: relative; padding: 0 0 14px 34px; color: var(--ink-soft); }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230671ac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--copper); line-height: 1; }
.section--navy .stat .num { color: var(--copper-bright); }
.stat .lbl { font-size: .95rem; color: var(--steel); margin-top: 8px; }
.section--navy .stat .lbl { color: #9fb3c2; }

/* Logos / clients (framed logo wall) ------------------------------------- */
.client-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: stretch; }
.client-row span { display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 66px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-top: 3px solid #d9e0e5;
  border-radius: 10px; font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.25;
  box-shadow: var(--shadow-sm); transition: .18s ease; }
.client-row span:hover { border-top-color: var(--copper); color: var(--copper-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .client-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .client-row { grid-template-columns: repeat(2, 1fr); } }

/* Certification badge cards ---------------------------------------------- */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: 14px;
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: .2s ease; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-card .cert-ic { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--copper-tint); color: var(--copper-dark); display: flex; align-items: center; justify-content: center; }
.cert-card .cert-ic svg { width: 26px; height: 26px; }
.cert-card h3 { font-size: 1.02rem; margin: 0 0 4px; color: var(--navy); }
.cert-card p { font-size: .82rem; color: var(--steel); margin: 0; }
.cert-features .feature { border-top: 3px solid var(--copper); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cert-grid { grid-template-columns: 1fr; } }

/* Testimonials ----------------------------------------------------------- */
.quote { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 28px 30px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.04rem; color: var(--ink); font-style: italic; }
.quote .who { margin-top: 14px; font-style: normal; }
.quote .who strong { color: var(--navy); display: block; }
.quote .who span { color: var(--steel); font-size: .9rem; }

/* Spec table ------------------------------------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.spec-table th { background: var(--navy); color: #fff; font-weight: 600; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; color: var(--navy); }

/* Process steps ---------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.step .step-no { counter-increment: step; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step .step-no::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.08rem; margin-bottom: .2em; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Badges ----------------------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 50px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: linear-gradient(115deg, var(--navy) 0%, var(--blue-dark) 130%); color: #fff; border-radius: var(--radius-lg); padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0ec; max-width: 600px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Forms ------------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
  font-size: .98rem; background: #fff; color: var(--ink); transition: .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,143,214,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--steel); margin-top: 8px; }
.form-error { color: #c0392b; font-size: .85rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .form-error { display: block; }

/* Info / contact items --------------------------------------------------- */
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint);
  color: var(--blue-dark); display: flex; align-items: center; justify-content: center; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Media object ----------------------------------------------------------- */
.media-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-img img { width: 100%; height: 100%; object-fit: cover; }
.kicker-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #9fb3c2; padding: 64px 0 28px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer a { color: #b6c6d2; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand img { height: 44px; margin-bottom: 16px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-brand p { color: #8ba0b0; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7d93a3; }

/* Floating quote button -------------------------------------------------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; gap: 10px; }
.float-cta a { box-shadow: var(--shadow-lg); }
.wa-btn { background: #25d366; color: #fff; border-color: #25d366; }
.wa-btn:hover { background: #1eb556; border-color: #1eb556; }

/* Events schedule + filter ----------------------------------------------- */
.evt-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.evt-filter button { border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit;
  font-weight: 600; font-size: .92rem; padding: 9px 20px; border-radius: 50px; cursor: pointer; transition: .15s; }
.evt-filter button:hover { border-color: var(--blue); color: var(--blue-dark); }
.evt-filter button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.evt-list { display: grid; gap: 16px; }
.evt-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; box-shadow: var(--shadow-sm); transition: .2s; }
.evt-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.evt-date { text-align: center; min-width: 76px; padding-right: 26px; border-right: 1px solid var(--line); }
.evt-date .d-mon { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-dark); }
.evt-date .d-day { display: block; font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1.05; }
.evt-date .d-yr { display: block; font-size: .82rem; color: var(--steel); }
.evt-main h3 { margin: 0 0 4px; font-size: 1.15rem; }
.evt-meta { color: var(--steel); font-size: .92rem; }
.evt-status { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 13px; border-radius: 50px; white-space: nowrap; }
.evt-status.upcoming { background: var(--blue-tint); color: var(--blue-dark); }
.evt-status.past { background: #eef1f3; color: var(--steel); }
.evt-cta { white-space: nowrap; }
.evt-empty { color: var(--steel); padding: 26px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
@media (max-width: 720px) {
  .evt-item { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .evt-date { display: flex; gap: 10px; align-items: baseline; text-align: left; border-right: 0;
    border-bottom: 1px solid var(--line); padding: 0 0 12px; min-width: 0; }
  .evt-date .d-day { font-size: 1.2rem; }
  .evt-status { justify-self: start; }
}

/* Photo gallery + lightbox ----------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 0; background: #eef3f6; border-radius: 12px; overflow: hidden;
  cursor: pointer; aspect-ratio: 4 / 3; display: block; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery-note { font-size: .85rem; color: var(--steel); margin-top: 12px; }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lb-overlay { position: fixed; inset: 0; background: rgba(8,18,26,.92); display: none;
  align-items: center; justify-content: center; z-index: 210; padding: 24px; }
.lb-overlay.open { display: flex; }
.lb-overlay img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.7rem; cursor: pointer; transition: .15s; }
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@media (max-width: 680px) { .lb-nav { width: 42px; height: 42px; } }

/* Download gate (lead capture) ------------------------------------------- */
.gate-overlay { position: fixed; inset: 0; background: rgba(12,31,44,.62); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.gate-overlay.open { display: flex; }
.gate-dialog { background: #fff; border-radius: var(--radius-lg); max-width: 470px; width: 100%;
  box-shadow: var(--shadow-lg); padding: 32px; position: relative; animation: gateIn .24s ease; }
@keyframes gateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gate-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: none; font-size: 1.6rem; line-height: 1; color: var(--steel); cursor: pointer; }
.gate-close:hover { background: var(--bg-soft); color: var(--navy); }
.gate-dialog .eyebrow { margin-bottom: 8px; }
.gate-dialog h3 { font-size: 1.35rem; margin-bottom: 6px; }
.gate-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.gate-file { display: flex; align-items: center; gap: 10px; background: var(--blue-tint); border-radius: 8px;
  padding: 11px 14px; font-size: .9rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 20px; }
.gate-file svg { width: 20px; height: 20px; flex: 0 0 auto; }
.gate-note { font-size: .8rem; color: var(--steel); margin-top: 12px; text-align: center; }

/* Helpers ---------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--steel); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
/* Hide the long brand suffix until there is plenty of room for the full nav */
@media (max-width: 1400px) { .brand .brand-tag { display: none; } }

/* Collapse navigation to a menu button before the links crowd the brand */
@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .brand .brand-tag { display: none; }
  .brand img { height: 40px; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: .92rem; }
  .nav { gap: 10px; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px; box-shadow: var(--shadow); z-index: 60; }
  .nav.open .nav-links a { display: block; padding: 12px 8px; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar .tb-certs { display: none; }
  .section { padding: 60px 0; }
  .cta-band { padding: 38px 24px; }
  .form-card { padding: 24px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  body { font-size: 16px; }
  .brand .brand-name { font-size: 1rem; }
  .topbar .tb-contact { gap: 14px; font-size: .8rem; }
}
@media (max-width: 400px) {
  .brand .brand-text { display: none; }
}
