/* ============================================================
   WIDE · simwide.com · Main Stylesheet
   Fonts: Barlow Condensed (display) + Barlow (body)
   Self-hosted in /assets/vendor/fonts/
   Bootstrap 5.3 required via /assets/vendor/bootstrap/
   Font Awesome 6 required via /assets/vendor/font-awesome/
   ============================================================ */

/* --- Font faces (files go in /assets/vendor/fonts/) -------- */
@font-face {
  font-family: 'Barlow';
  src: url('../vendor/fonts/Barlow-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../vendor/fonts/Barlow-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../vendor/fonts/Barlow-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../vendor/fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../vendor/fonts/BarlowCondensed-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../vendor/fonts/BarlowCondensed-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Design tokens — Light (default) ----------------------- */
:root {
  --wide-red: #c8222a;
  --wide-red-dark: #9e1a20;
  --wide-blue: #1a2b6b;
  --wide-blue-mid: #2e4099;
  --wide-ink: #111214;
  --wide-ink-soft: #3a3d42;
  --wide-muted: #6b6f76;
  --wide-line: #e2e4e8;
  --wide-bg: #f7f8fa;
  --wide-white: #ffffff;
  --wide-accent-bg: #f0f2f5;

  /* surface aliases — used throughout, inverted in dark */
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --surface-nav: rgba(255, 255, 255, 0.96);

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;

  --nav-h: 64px;
  --section-py: 5rem;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
}

/* --- Design tokens — Dark ---------------------------------- */
[data-theme="dark"] {
  --wide-ink: #f0f1f3;
  --wide-ink-soft: #b8bcc4;
  --wide-muted: #7a7f88;
  --wide-line: #2a2d33;
  --wide-bg: #181a1e;
  --wide-white: #1e2026;
  --wide-accent-bg: #23262d;

  --surface: #1e2026;
  --surface-alt: #181a1e;
  --surface-nav: rgba(22, 24, 28, 0.97);
}

/* Dark: logo invert to white wordmark (nav only — footer is always dark, already inverted) */
[data-theme="dark"] .nav-logo img {
  filter: brightness(0) invert(1);
}

/* Dark: hero bg accent stays subtle */
[data-theme="dark"] .hero-bg-accent {
  background: radial-gradient(ellipse at 70% 30%, rgba(200, 34, 42, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 30% 70%, rgba(26, 43, 107, 0.07) 0%, transparent 60%);
}

/* Dark: hero large logo needs invert */
[data-theme="dark"] .hero-logo-large {
  filter: brightness(0) invert(1) drop-shadow(0 8px 40px rgba(200, 34, 42, 0.18));
}

/* Dark: stat numbers keep red */
[data-theme="dark"] .stat-number {
  color: var(--wide-red);
}

/* Dark: industry/product cards */
[data-theme="dark"] .industry-card,
[data-theme="dark"] .product-card {
  background: var(--surface);
}

[data-theme="dark"] .industries-grid {
  background: var(--wide-line);
  border-color: var(--wide-line);
}

[data-theme="dark"] .industry-card:hover,
[data-theme="dark"] .product-card:hover {
  background: var(--wide-accent-bg);
}

/* Dark: form inputs */

[data-theme="dark"] .philosophy-block {
  border-color: var(--wide-red);
}

/* Dark: lang select */
[data-theme="dark"] .lang-switch select {
  color: var(--wide-ink-soft);
  border-color: var(--wide-line);
  background: var(--wide-accent-bg);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--wide-ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  transition: background var(--transition), color var(--transition);
}

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

a {
  color: var(--wide-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--wide-red-dark);
}

/* --- Typography -------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--wide-ink);
  margin-top: 0;
}

.display-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wide-red);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--wide-ink-soft);
  line-height: 1.7;
  max-width: 58ch;
}

/* --- Navigation -------------------------------------------- */
#wide-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--surface-nav);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

#wide-nav.scrolled {
  border-color: var(--wide-line);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

/* Right-side group: links + lang + theme + cta + hamburger */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--wide-ink-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--wide-ink);
  background: var(--wide-accent-bg);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--wide-line);
  margin: 0 0.5rem;
  flex-shrink: 0;
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--wide-muted);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--wide-ink);
  background: var(--wide-accent-bg);
}

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-switch select {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--wide-ink-soft);
  background: transparent;
  border: 1px solid var(--wide-line);
  border-radius: var(--radius);
  padding: 0.3rem 1.6rem 0.3rem 0.6rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition), color var(--transition);
}

.lang-switch::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--wide-muted);
  pointer-events: none;
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--wide-red);
  color: var(--wide-white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--wide-red-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--wide-ink);
  margin-left: 0.25rem;
}

/* --- Hero -------------------------------------------------- */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 55vw;
  max-width: 780px;
  aspect-ratio: 1;
  background: radial-gradient(ellipse at 70% 30%, rgba(200, 34, 42, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 30% 70%, rgba(26, 43, 107, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .badge-since {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wide-muted);
  background: var(--wide-accent-bg);
  border: 1px solid var(--wide-line);
  border-radius: 2rem;
  padding: 0.25rem 0.8rem;
}

.hero-eyebrow .sep {
  width: 1px;
  height: 1rem;
  background: var(--wide-line);
}

.hero-eyebrow .badge-naples {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wide-muted);
}

.hero-title {
  font-size: 2.72rem !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--wide-ink);
  margin-bottom: 0.5rem;
}

.hero-title .accent {
  color: var(--wide-red);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 400;
  color: var(--wide-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--wide-ink-soft);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-wide {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--wide-red);
  color: var(--wide-white);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary-wide:hover {
  background: var(--wide-red-dark);
  color: var(--wide-white);
}

.btn-ghost-wide {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wide-ink-soft);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--wide-line);
  background: transparent;
  transition: border-color var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-ghost-wide:hover {
  border-color: var(--wide-ink-soft);
  color: var(--wide-ink);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 100%;
  max-width: 380px;
  opacity: 0.92;
  filter: drop-shadow(0 8px 40px rgba(200, 34, 42, 0.12));
}

/* Stats row under hero */
.hero-stats {
  border-top: 1px solid var(--wide-line);
  background: var(--surface);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--wide-red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--wide-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* --- Sections common --------------------------------------- */
section {
  padding: var(--section-py) 0;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Alternating bg */
section.bg-alt {
  background: var(--surface-alt);
}

/* bg-dark: theme-aware — dark in dark mode, light-gray in light mode */
section.bg-dark {
  background: var(--dark-section-bg);
  color: var(--dark-section-fg);
  transition: background var(--transition), color var(--transition);
}

section.bg-dark h1,
section.bg-dark h2,
section.bg-dark h3,
section.bg-dark h4 {
  color: var(--dark-section-fg);
}

section.bg-dark .section-label {
  color: var(--wide-red);
}

section.bg-dark .lead {
  color: var(--dark-section-sub);
}

section.bg-dark p {
  color: var(--dark-section-sub);
}

/* Contact section — all colors via theme tokens, no hardcoded values */
.contact-intro {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: var(--dark-section-sub);
}

.contact-ext-link {
  color: var(--dark-section-sub);
  transition: color var(--transition);
}

.contact-ext-link:hover {
  color: var(--dark-section-fg);
}

.req-star {
  color: var(--wide-red);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-notice {
  font-size: 0.78rem;
  color: var(--dark-section-sub);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Form inputs inside bg-dark — always use surface tokens so they stay readable */
/* placeholder inherits from base .form-control */

/* --- About ------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.philosophy-block {
  border-left: 3px solid var(--wide-red);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.philosophy-block p {
  font-size: 1.0rem;
  color: var(--wide-ink-soft);
  font-style: italic;
  margin: 0;
}

/* --- Industries -------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--wide-line);
  border: 1px solid var(--wide-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.industry-card {
  background: var(--surface);
  padding: 1.75rem;
  transition: background var(--transition);
}

.industry-card:hover {
  background: var(--surface-alt);
}

.industry-icon {
  font-size: 1.4rem;
  color: var(--wide-red);
  margin-bottom: 0.75rem;
}

.industry-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--wide-ink);
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--wide-muted);
  margin: 0;
  line-height: 1.55;
}

/* --- Ecosystem / Products ---------------------------------- */
.ecosystem-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  border: 1px solid var(--wide-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--wide-red);
  box-shadow: 0 4px 24px rgba(200, 34, 42, 0.08);
}

.product-card .product-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wide-muted);
  background: var(--wide-accent-bg);
  border-radius: 2rem;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.product-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--wide-ink);
}

.product-card p {
  font-size: 0.88rem;
  color: var(--wide-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.product-card .product-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--wide-red);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card .product-link:hover {
  color: var(--wide-red-dark);
}

/* --- Contact ----------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h4 {
  font-family: var(--font-display);
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--wide-ink);
}

.contact-info-block p {
  font-size: 0.9rem;
  color: var(--wide-muted);
  margin: 0;
}

.contact-info-block a {
  color: var(--wide-ink-soft);
  font-weight: 500;
}

.contact-info-block a:hover {
  color: var(--wide-red);
}

/* Form */
.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wide-ink-soft);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.contact-form .form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--wide-ink) !important;
  background: var(--surface) !important;
  border: 1px solid var(--wide-line);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  outline: none;
}

[data-theme="dark"] .contact-form .form-control {
  background: var(--wide-accent-bg) !important;
  color: var(--wide-ink) !important;
  border-color: var(--wide-line);
  color-scheme: dark;
}

.contact-form .form-control:focus {
  border-color: var(--wide-red);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-notice {
  font-size: 0.78rem;
  color: var(--wide-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: #edf7f0;
  border: 1px solid #a8d8b4;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #1e5f37;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* --- Footer + bg-dark palette — theme-aware ---------------- */
/* Default (light): declared in :root so they apply before JS runs */
:root {
  --footer-bg: #f0f2f5;
  --footer-text: #3a3d42;
  --footer-text-dim: #6b6f76;
  --footer-text-sub: #6b6f76;
  --footer-line: #e2e4e8;
  --footer-head: #6b6f76;
  --footer-hover: #111214;

  --dark-section-bg: #f0f2f5;
  --dark-section-fg: #111214;
  --dark-section-sub: #3a3d42;
}

[data-theme="dark"] {
  --footer-bg: #111214;
  --footer-text: rgba(255, 255, 255, 0.62);
  --footer-text-dim: rgba(255, 255, 255, 0.35);
  --footer-text-sub: rgba(255, 255, 255, 0.5);
  --footer-line: rgba(255, 255, 255, 0.1);
  --footer-head: rgba(255, 255, 255, 0.4);
  --footer-hover: #ffffff;

  --dark-section-bg: #111214;
  --dark-section-fg: rgba(255, 255, 255, 0.85);
  --dark-section-sub: rgba(255, 255, 255, 0.65);
}

/* --- Footer ------------------------------------------------ */
#wide-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--footer-line);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--footer-line);
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  /* light mode: logo as-is (dark on light bg) */
}

[data-theme="dark"] .footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--footer-text-sub);
  max-width: 28ch;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-head);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--footer-text);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--footer-text-dim);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--footer-text-dim);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--footer-hover);
}

.footer-partner-link {
  color: var(--footer-text-dim);
  transition: color var(--transition);
}

.footer-partner-link:hover {
  color: var(--footer-hover);
}

/* --- Divider ----------------------------------------------- */
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--wide-red);
  border: none;
  margin: 1.25rem 0 1.75rem;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-large {
    max-width: 220px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  :root {
    --section-py: 3.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu */
  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--wide-line);
    padding: 1rem 1.5rem 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--wide-ink-soft);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--wide-line);
    display: block;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .mobile-menu .mobile-cta {
    background: var(--wide-red);
    color: var(--wide-white);
    text-align: center;
    border-radius: var(--radius);
    padding: 0.7rem;
    margin-top: 0.5rem;
    border-bottom: none;
    font-weight: 600;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* --- Utilities --------------------------------------------- */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.text-red {
  color: var(--wide-red);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-heading {
  font-size: 1em;
}