/* ==========================================================================
   Soluna Solutions LLC — Design System
   Identity: Sun (gold) + Moon (deep violet-silver) — disciplined, B2B-grade
   ========================================================================== */

/* -------- Design Tokens -------- */
:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #FAF8F3;
  --color-surface: #FFFFFF;
  --color-surface-2: #F4F1EA;
  --color-surface-offset: #EFEBE2;
  --color-divider: #E2DED4;
  --color-border: #D4CFC2;

  /* Text */
  --color-text: #1A1A2E;
  --color-text-muted: #4A5568;
  --color-text-faint: #8B8F9A;
  --color-text-inverse: #FAF8F3;

  /* Brand — Moon (Luna) */
  --color-moon: #6900FF;
  --color-moon-deep: #662D91;
  --color-moon-silver: #C4A0FF;
  --color-moon-glow: #8B35FF;

  /* Brand — Sun (Sol) */
  --color-sun: #FFC200;
  --color-sun-deep: #F15A24;
  --color-sun-glow: #FFD84D;

  /* Semantic */
  --color-primary: var(--color-moon);
  --color-primary-hover: var(--color-moon-deep);
  --color-accent: var(--color-sun);
  --color-accent-hover: var(--color-sun-glow);

  /* Status */
  --color-success: #2F7A3F;
  --color-warning: #B57A1A;
  --color-error: #A62828;

  /* Radius */
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 26, 46, 0.12);
  --shadow-moon: 0 12px 40px rgba(105, 0, 255, 0.18);

  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 5vw, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 1040px;
  --content-wide: 1240px;

  /* Fonts */
  --font-display: 'Boska', 'Playfair Display', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Gradient signature (sol + luna) — used sparingly */
  --gradient-soluna: linear-gradient(135deg, #662D91 0%, #6900FF 35%, #8B35FF 65%, #FFC200 100%);
  --gradient-hero: linear-gradient(160deg, #0D0020 0%, #3D0099 45%, #6900FF 85%, #7A1FFF 100%);
  --gradient-gold: linear-gradient(135deg, #FFC200 0%, #FFD84D 100%);
}

[data-theme='dark'] {
  --color-bg: #0F0B1F;
  --color-surface: #16112B;
  --color-surface-2: #1C1635;
  --color-surface-offset: #221B3F;
  --color-divider: #2A2248;
  --color-border: #3A3060;

  --color-text: #E8E4F0;
  --color-text-muted: #9A93B0;
  --color-text-faint: #6B6385;
  --color-text-inverse: #1A1A2E;

  --color-moon: #9B45FF;
  --color-moon-silver: #C4A0FF;
  --color-moon-glow: #8B35FF;

  --color-sun: #FFC200;
  --color-sun-glow: #FFD84D;

  --color-primary: var(--color-moon);
  --color-accent: var(--color-sun);
}

/* -------- Base -------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--color-text);
}

p, li { text-wrap: pretty; }

a {
  color: var(--color-moon);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-sun-deep); }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--color-sun);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--color-moon-silver); color: var(--color-moon-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.container-default { max-width: var(--content-default); margin: 0 auto; padding: 0 var(--space-6); }

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.bg-surface { background: var(--color-surface); }
.bg-surface-2 { background: var(--color-surface-2); }
.bg-dark { background: var(--gradient-hero); color: var(--color-text-inverse); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--color-text-inverse); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-4);
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-moon-deep);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--color-moon); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
/* Logo 2026 — isotipo SVG + wordmark texto */
.brand-logo-2026 { width: 44px; height: 44px; flex-shrink: 0; display: block; }
.brand-logo-2026--footer { width: 44px; height: 44px; }
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-moon-deep);
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-wordmark--footer { color: var(--color-moon-deep); }
.brand-text-llc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}
.brand-text-llc--footer { color: var(--color-text-faint); }
.brand-stack { display: flex; flex-direction: column; line-height: 1.1; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.primary-nav a {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
}
.primary-nav a:hover { color: var(--color-moon); }
.primary-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-dropdown-trigger::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
  margin-top: -3px;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(225deg); margin-top: 3px; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.nav-dropdown-menu a:hover { background: var(--color-surface-2); color: var(--color-moon); }
.nav-dropdown-menu .dropdown-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sun-deep);
  padding: var(--space-2) var(--space-3) var(--space-1);
}
.nav-dropdown-menu small {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-utility { display: flex; align-items: center; gap: var(--space-4); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
}
.lang-toggle button {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  font-weight: 600;
}
.lang-toggle button.active {
  background: var(--color-moon);
  color: var(--color-text-inverse);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #1A1A2E;
  box-shadow: 0 4px 12px rgba(212, 165, 58, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 165, 58, 0.35);
  color: #1A1A2E;
}

.btn-outline {
  background: transparent;
  color: var(--color-moon);
  border-color: var(--color-moon);
}
.btn-outline:hover {
  background: var(--color-moon);
  color: var(--color-text-inverse);
}

/* Outline button placed on dark surfaces — hero, cta-band, bg-dark */
.hero .btn-outline,
.cta-band .btn-outline,
.bg-dark .btn-outline {
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}
.hero .btn-outline:hover,
.cta-band .btn-outline:hover,
.bg-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-sun-glow);
  color: var(--color-sun-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-moon);
  color: var(--color-moon);
}

.btn-on-dark {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255,255,255,0.4);
}
.btn-on-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-sun);
  color: var(--color-sun-glow);
}

.btn-lg { padding: var(--space-5) var(--space-8); font-size: var(--text-base); }

/* -------- Hero -------- */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184, 163, 217, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(212, 165, 58, 0.12) 0%, transparent 50%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-soluna);
  opacity: 0.8;
}
.hero-content { max-width: 900px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sun-glow);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-sun-glow);
}
.hero h1 {
  font-size: var(--text-hero);
  color: var(--color-text-inverse);
  line-height: 1.02;
  margin-bottom: var(--space-6);
  max-width: 18ch;
}
.hero h1 .accent {
  color: var(--color-sun-glow);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(232, 228, 240, 0.85);
  max-width: 62ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Hero trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 900px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(232, 228, 240, 0.75);
  letter-spacing: 0.03em;
}
.hero-trust-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-sun);
  border-radius: 50%;
  flex-shrink: 0;
}

/* -------- Section Headings -------- */
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sun-deep);
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  max-width: 22ch;
}
.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-12);
  line-height: 1.55;
}
.section-header { margin-bottom: var(--space-12); }
.section-header.centered { text-align: center; margin-inline: auto; }
.section-header.centered .section-title,
.section-header.centered .section-lead { margin-inline: auto; }

/* -------- Pillars (3 core values) -------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}
.pillar {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}
.pillar:hover {
  border-color: var(--color-moon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-moon);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-sun);
  margin-bottom: var(--space-3);
  display: block;
  font-weight: 500;
}
.pillar h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* -------- Divisions (2 cards) -------- */
.divisions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.division-card {
  position: relative;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text-inverse);
  transition: all var(--transition);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.division-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.division-card.commerce::before {
  background: linear-gradient(145deg, #662D91 0%, #6900FF 50%, #8B35FF 100%);
}
.division-card.construction::before {
  background: linear-gradient(145deg, #8B35FF 0%, #F15A24 60%, #FFC200 100%);
}
.division-card:hover::before { transform: scale(1.05); }
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--color-text-inverse); }
.division-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  align-self: flex-start;
  backdrop-filter: blur(8px);
}
.division-card h3 {
  color: var(--color-text-inverse);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.division-card p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  max-width: 40ch;
}
.division-services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.division-services span {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
}
.division-card .cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-sun-glow);
}
.division-card .cta-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.division-card:hover .cta-arrow::after { transform: translateX(4px); }

/* -------- Services grid (5 cards) -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.service-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: var(--color-moon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: var(--space-5);
  color: var(--color-moon);
}
.service-card:hover .service-icon { color: var(--color-sun-deep); }
.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}
.service-card .service-link {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sun-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.service-card .service-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .service-link::after { transform: translateX(3px); }

/* -------- Process (5 steps) -------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  counter-increment: step;
}
.process-step::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 500;
  color: var(--color-sun-deep);
  display: block;
  margin-bottom: var(--space-3);
}
.process-step h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}
.process-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -------- Proof / credentials -------- */
.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}
.credential {
  padding: var(--space-6);
  background: var(--color-surface);
  border-left: 3px solid var(--color-sun);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.credential-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sun-deep);
  margin-bottom: var(--space-2);
}
.credential-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}
.credential-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* -------- CTA band -------- */
.cta-band {
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(212, 165, 58, 0.2) 0%, transparent 60%);
  z-index: -1;
}
.cta-band-inner { max-width: 780px; }
.cta-band h2 {
  color: var(--color-text-inverse);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.cta-band p {
  font-size: var(--text-base);
  color: rgba(232, 228, 240, 0.85);
  margin-bottom: var(--space-8);
  max-width: 58ch;
}
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* -------- Forms -------- */
.form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-moon);
  background: var(--color-surface);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field-hint { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-1); }

.form-footer {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.form-consent {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 40ch;
  line-height: 1.5;
}

/* -------- Footer -------- */
.site-footer {
  background: #0F0B1F;
  color: rgba(232, 228, 240, 0.7);
  padding-block: var(--space-16) var(--space-8);
  border-top: 2px solid var(--color-sun);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { color: var(--color-text-inverse); margin-bottom: var(--space-4); }
.footer-brand .brand-text-llc { color: var(--color-sun); }
.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: var(--space-6);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sun);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
  color: rgba(232, 228, 240, 0.7);
  font-size: var(--text-sm);
}
.footer-col a:hover { color: var(--color-sun-glow); }
.footer-contact {
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--color-sun-glow); }
.footer-address { margin-top: var(--space-4); font-size: var(--text-xs); line-height: 1.6; color: rgba(232, 228, 240, 0.55); }
.footer-address strong { color: var(--color-sun-glow); letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--text-xs); display: block; margin-bottom: 2px; font-weight: 600; }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(232, 228, 240, 0.5);
}

/* -------- Interior page hero -------- */
.page-hero {
  background: var(--color-surface-2);
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  border-bottom: 1px solid var(--color-divider);
}
.page-hero .section-eyebrow { color: var(--color-sun-deep); }
.page-hero h1 {
  font-size: var(--text-2xl);
  max-width: 24ch;
  margin-bottom: var(--space-4);
}
.page-hero p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-moon); }
.breadcrumb span { color: var(--color-text-faint); }

/* -------- Content prose -------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-8); margin-bottom: var(--space-3); font-family: var(--font-body); font-weight: 700; }
.prose p { margin-bottom: var(--space-4); color: var(--color-text); line-height: 1.7; }
.prose ul, .prose ol { margin-left: var(--space-6); margin-bottom: var(--space-6); }
.prose li { margin-bottom: var(--space-2); line-height: 1.65; }
.prose strong { color: var(--color-text); font-weight: 600; }

/* -------- Feature list -------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.feature-list li {
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-moon);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.feature-list li strong {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-moon-deep);
}

/* -------- Utilities -------- */
.text-center { text-align: center; }
.text-gold { color: var(--color-sun-deep); }
.text-moon { color: var(--color-moon); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------- Mobile nav -------- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition);
}

@media (max-width: 960px) {
  .mobile-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 85vw);
    height: 100dvh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-20) var(--space-6) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a, .nav-dropdown-trigger {
    font-size: var(--text-base);
    padding: var(--space-3) 0;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-4);
    min-width: 0;
    background: transparent;
    margin-top: var(--space-2);
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-utility .lang-toggle { margin-left: auto; }
}

/* Large screen polish */
@media (min-width: 1400px) {
  .hero { padding-block: var(--space-32); }
}

/* ================================================================
   VISUAL LAYER — image-backed hero, image cards, inline icons
   ================================================================ */

/* Image-backed home hero */
.hero--with-image {
  background-image:
    linear-gradient(180deg, rgba(42, 20, 80, 0.78) 0%, rgba(42, 20, 80, 0.90) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Interior page-hero with background image */
.page-hero--with-image {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(42, 20, 80, 0.82) 0%, rgba(42, 20, 80, 0.95) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  border-bottom: none;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}
.page-hero--with-image .breadcrumb,
.page-hero--with-image .breadcrumb a,
.page-hero--with-image .breadcrumb span {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero--with-image .breadcrumb a:hover { color: #fff; }
.page-hero--with-image h1 { color: #fff; }
.page-hero--with-image p { color: rgba(255, 255, 255, 0.88); }
.page-hero--with-image .section-eyebrow,
.page-hero--with-image .eyebrow { color: var(--color-sun-glow); }

/* Image card — for home divisions */
.image-card {
  position: relative;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 20, 80, 0.30) 0%,
    rgba(42, 20, 80, 0.70) 55%,
    rgba(42, 20, 80, 0.92) 100%
  );
  z-index: 0;
}
.image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(0, 0, 0, 0.2));
}
.image-card > * {
  position: relative;
  z-index: 1;
}
.image-card__body {
  padding: var(--space-8);
  color: #fff;
}
.image-card__body h3,
.image-card__body p { color: #fff; }
.image-card__body .division-badge {
  background: rgba(212, 165, 58, 0.20);
  color: var(--color-sun-glow);
  border-color: rgba(212, 165, 58, 0.35);
}
.image-card__body .division-services span {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.image-card__body .cta-arrow {
  color: var(--color-sun-glow);
}

/* Inline icon (sprite use) */
.icon {
  flex-shrink: 0;
  color: currentColor;
  vertical-align: middle;
  display: inline-block;
}
.icon--sun { color: var(--color-sun); }
.icon--inverse { color: var(--color-sun-glow); }

/* default icon color in feature lists */
.feature-item .icon { color: var(--color-sun); }

.feature-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.feature-item .icon { margin-top: 2px; }

/* Icon inside pillar-num area (replace number with icon optionally) */
.pillar .pillar-icon,
.service-card .service-icon .icon-sprite {
  color: var(--color-sun);
}

/* Division card with background image (overrides gradient when --card-bg set) */
.division-card[style*="--card-bg"]::before {
  background-image:
    linear-gradient(160deg, rgba(42, 20, 80, 0.55) 0%, rgba(42, 20, 80, 0.88) 100%),
    var(--card-bg) !important;
  background-size: cover;
  background-position: center;
}
.division-card.construction[style*="--card-bg"]::before {
  background-image:
    linear-gradient(160deg, rgba(42, 20, 80, 0.45) 0%, rgba(166, 125, 31, 0.75) 100%),
    var(--card-bg) !important;
}
