/* ==========================================================================
   HORLAS TRADING ENTERPRISE — Global Stylesheet
   Palette: Navy (primary) · Gold (accent) · White / Slate neutrals
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-800: #13315c;
  --navy-700: #1d3b66;
  --gold: #c9a227;
  --gold-light: #e4c05b;
  --white: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #eef2f7;
  --text: #14202e;
  --muted: #566573;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06), 0 1px 3px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 6px 18px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 20px 45px rgba(11, 37, 69, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 76px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-800); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

ul { list-style: none; padding: 0; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #d7e0ec; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold-light); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #b9c6d8; }

.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #c7d3e2;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #c7d3e2; }
.topbar a:hover { color: var(--gold-light); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold-light); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 42px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--gold); background: var(--surface); }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.82), rgba(11, 37, 69, 0.9)), url("../images/hero.png") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11, 37, 69, 0.55), rgba(11, 37, 69, 0));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; padding: 96px 0 104px; }
.hero h1 { color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero p { font-size: 1.2rem; color: #d8e1ee; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 26px;
  margin-top: 46px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-badge { display: flex; align-items: center; gap: 12px; }
.hero-badge svg { width: 26px; height: 26px; color: var(--gold-light); flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #fff; }
.hero-badge span { font-size: 0.86rem; color: #b9c6d8; }

/* Page banner (interior pages) */
.page-banner {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.86), rgba(11, 37, 69, 0.92)), url("../images/industries.png") center/cover no-repeat;
  padding: 66px 0;
}
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.breadcrumb { font-size: 0.9rem; color: #c7d3e2; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: #c7d3e2; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.section--navy .stat .num { color: var(--gold-light); }
.stat .label { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.section--navy .stat .label { color: #b9c6d8; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd8e6; }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Service card with image */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); margin-bottom: 16px; }
.service-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.service-card .more:hover { color: var(--gold); }

/* Media split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }

.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- Feature (why) ---------- */
.feature { display: flex; gap: 16px; }
.feature .fnum {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  border: 2px solid var(--gold);
  border-radius: 10px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature h3 { margin-bottom: 6px; font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.section--navy .feature p { color: #b9c6d8; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex; flex-direction: column;
}
.testimonial .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 14px; }
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote { color: var(--text); font-size: 1.02rem; margin-bottom: 20px; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 13px; }
.testimonial .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.98rem; }
.testimonial .who span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.acc-trigger svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; transition: transform 0.25s ease; }
.acc-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-panel .acc-panel-inner { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.88), rgba(11, 37, 69, 0.92)), url("../images/cta.png") center/cover no-repeat;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cdd8e6; max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Form Status (UPDATED) ---------- */
.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-status.success {
  display: block;
  background: #e8f5ec;
  color: #1e6b3a;
  border: 1px solid #b6dcc2;
}

.form-status.error {
  display: block;
  background: #fdecea;
  color: #a5342a;
  border: 1px solid #f2c1bc;
}

/* ---------- Contact info blocks ---------- */
.info-block { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.info-block .ib-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-block .ib-icon svg { width: 24px; height: 24px; }
.info-block h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-block p, .info-block a { color: var(--muted); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Legal / article ---------- */
.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal ul li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ---------- Values / mission cards ---------- */
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); }
.mv-card h3 { margin-bottom: 10px; }
.mv-card p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d8; padding-top: 66px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: #b9c6d8; font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #d7e0ec;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-bottom .reg { color: #93a3b8; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 90;
  max-width: 560px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }
.cookie-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; }
.notfound .code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; color: var(--surface-2); line-height: 1; }
.notfound h1 { margin: 0 0 14px; }
.notfound p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.9), rgba(11, 37, 69, 0.94)), url("../images/industries.png") center/cover no-repeat;
  padding: 74px 0 60px;
}
.page-hero h1 { color: #fff; margin: 18px 0 12px; }
.page-hero p { color: #c7d3e2; max-width: 660px; margin: 0; }

/* ---------- Info cards (mission/vision/values) ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  height: 100%;
}
.info-card h3 { margin: 20px 0 10px; }
.info-card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-light);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Facts strip ---------- */
.fact {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
}
.fact-label { display: block; color: #b9c6d8; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.fact-value { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--gold-light); margin-top: 10px; }

/* ---------- Service detail rows ---------- */
.service-detail { padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; }
.service-detail .icon-badge { margin-bottom: 20px; }
.service-detail h3 { margin: 0 0 12px; }
.service-detail p { color: var(--muted); margin: 0 0 16px; }
.service-detail .check-list { margin: 0; }
.service-detail .check-list li { font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.step .snum { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.step h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Contact info blocks ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 42px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { display: flex; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card .icon-badge { flex: none; width: 46px; height: 46px; border-radius: 12px; }
.contact-card .icon-badge svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.96rem; margin: 0; }
.contact-card a:hover { color: var(--navy); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text); line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 30px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .split-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 82vw);
    height: calc(100dvh - var(--header-h));
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    padding: 22px;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 12px; border-radius: 10px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--surface); }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-info { gap: 14px; }
  .topbar-social { display: none; }
  .hero-inner { padding: 66px 0 72px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .topbar-info .tb-hide { display: none; }
}