/* SOLUTIONS EA LLC - Global Styles */
html {
  scroll-behavior: smooth;
}

:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --text: #111318;
  --muted: #5b6670;
  --text-on-surface: #111318;
  --muted-on-surface: #5b6670;
  --text-on-dark: #f8fafc;
  --muted-on-dark: #cbd2d9;
  --text-muted: #5b6670;
  --text-inverse: #f8fafc;
  --border: #d8dee4;
  --accent: #f2b100;
  --accent-dark: #c59200;
  --dark: #0f1720;
  --shadow: 0 14px 28px rgba(15, 23, 32, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1220px;
  --section-pad: clamp(3.5rem, 7vw, 7rem);
  --top-bar-height: 36px;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

p {
  color: var(--muted-on-surface);
}

h1 {
  background-clip: unset;
  -webkit-background-clip: unset;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(242, 177, 0, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-muted,
.section-light {
  background: #f4f6f8;
}

.section-themed {
  position: relative;
  background: url("../images/1000s.jpg") center / cover no-repeat;
  color: #f8fafc;
}

.home .section-themed,
.home .cta-band {
  background: url("../images/background-hero.jpg") center / cover no-repeat;
}

.section-themed::before,
.cta-band::before,
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 32, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

.home .section-themed::before,
.home .cta-band::before {
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.section-themed > .container,
.cta-band > .container,
.legal-hero > .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  background-color: rgba(61, 63, 87, 1);
  background-image: none;
  color: #f4f6f8;
}

.section-dark .section-title {
  color: var(--text-on-dark);
}

.section-dark .section-subtitle {
  color: var(--muted-on-dark);
}

.section-dark .card {
  background: #ffffff;
  color: var(--text);
}

.section-dark .card-title {
  color: var(--text);
}

.section-dark .btn-outline {
  border-color: #98a1ab;
  color: #f4f6f8;
}

.section-dark .btn-outline:hover {
  border-color: var(--accent);
  color: #1a1a1a;
  background: #fff7e0;
}

.section-themed .section-title,
.section-themed .section-subtitle {
  color: var(--text-on-dark);
}

.section-themed .section-subtitle {
  color: var(--muted-on-dark);
}

.legal-hero > .container > .section-title {
  color: var(--text-on-dark);
}

.legal-hero > .container > p {
  color: var(--muted-on-dark);
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(0, 0, 0, 1);
  background-clip: unset;
  -webkit-background-clip: unset;
}

.section-subtitle {
  color: var(--muted-on-surface);
  margin: 0 0 2rem;
  max-width: 760px;
  font-size: 1.02rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  color: var(--text-on-surface);
}

.card p,
.card .section-subtitle {
  color: var(--muted-on-surface);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-bg {
  background-position: center 0;
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff7e0;
  color: #7a5a00;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0) 75%
  );
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 32, 0.18);
}

.btn-primary:hover {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-accent {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(197, 146, 0, 0.2);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #111318;
}

.btn-outline {
  border-color: var(--border);
  color: var(--accent);
  background: transparent;
  background-clip: unset;
  -webkit-background-clip: unset;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #1a1a1a;
  background: #fff7e0;
}

.site-header {
  position: sticky;
  top: var(--top-bar-height);
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 32, 0.08);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.scrolled {
  box-shadow: 0 14px 28px rgba(15, 23, 32, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  transition: padding 220ms ease;
}

.site-header.scrolled .nav {
  padding: 0.95rem 0;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 101;
  height: var(--top-bar-height);
  background: var(--accent);
  color: #1a1a1a;
}

.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.top-bar-spacer {
  flex: 1;
}

.top-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 19, 24, 0.2);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.35);
  transition: background 200ms ease, box-shadow 200ms ease, transform 160ms ease;
}

.top-bar-link:hover,
.top-bar-link:focus-visible {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 14px rgba(15, 23, 32, 0.18);
}

.top-bar-link-accent {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.top-bar-link-accent:hover,
.top-bar-link-accent:focus-visible {
  background: #0f1720;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  height: 70px;
  width: 40px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.brand .accent {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a,
.nav-links button {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover,
.nav-links button.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

a.nav-cta {
  margin-left: 1rem;
  border: 0;
  border-image: none;
  color: var(--dark);
  background-clip: unset;
  -webkit-background-clip: unset;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(15, 23, 32, 0.12);
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 100;
}

.nav-submenu.mega-menu {
  min-width: min(860px, 92vw);
  padding: 1rem;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.mega-group {
  display: grid;
  gap: 0.6rem;
}

.mega-title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.nav-submenu.mega-menu a {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: var(--muted);
}

.nav-submenu.mega-menu a small {
  font-weight: 500;
  color: #6c7782;
  line-height: 1.4;
}

.nav-submenu.mega-menu a.active {
  background: #fff7e0;
  color: var(--text);
}

.nav-submenu a {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: #fff7e0;
  color: var(--text);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  display: flex;
}

.nav-dropdown:hover .nav-submenu.mega-menu,
.nav-dropdown:focus-within .nav-submenu.mega-menu,
.nav-dropdown.open .nav-submenu.mega-menu {
  display: grid;
}

@media (hover: hover) {
  .card,
  .dept-card,
  .project-card,
  .media-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .card:hover,
  .dept-card:hover,
  .project-card:hover,
  .media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 32, 0.16);
  }

  .btn-primary:hover::before,
  .btn-accent:hover::before {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.home .home-hero {
  position: relative;
  background: url("../images/background-hero.jpg") center / cover no-repeat;
  color: var(--text-on-dark);
  overflow: hidden;
}

.home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.home .home-hero > .container {
  position: relative;
  z-index: 1;
}

.home .home-hero h1 {
  color: var(--text-on-dark);
}

.home .home-hero p {
  color: var(--muted-on-dark);
}

.home .home-hero .section-subtitle {
  color: var(--muted-on-dark);
}

.home .home-hero .pill {
  background: rgba(15, 23, 32, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.home .home-hero .hero-panel {
  background: rgba(15, 23, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-on-dark);
  backdrop-filter: blur(8px);
}

.home .home-hero .hero-panel h3,
.home .home-hero .hero-panel .card-title {
  color: var(--text-on-dark);
}

.home .home-hero .hero-panel p,
.home .home-hero .hero-panel .section-subtitle {
  color: var(--muted-on-dark);
}

.home .home-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.home .home-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  max-width: 32rem;
}

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

.hero-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  color: var(--text-on-surface);
}

.hero-panel p {
  color: var(--muted-on-surface);
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

.mini-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  background: var(--surface);
  font-weight: 600;
  color: var(--text-on-surface);
  letter-spacing: 0.01em;
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

.feature-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.feature-block p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.feature-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.executive-grid {
  gap: 0;
}

.executive-grid .feature-block:first-child {
  border-top: none;
}

.deliverables {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.deliverables li {
  list-style: disc;
}

.principle-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.principle-list li {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.principle-list p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.editorial-block {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.manifesto {
  gap: 3rem;
}

.manifesto .section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.manifesto .section-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
}

.manifesto p {
  font-size: 1.02rem;
}

.editorial-block .section-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.editorial-block .section-subtitle {
  margin-bottom: 1.5rem;
}

.editorial-block p + p {
  margin-top: 1.25rem;
}

.section-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.section-split.reverse {
  grid-auto-flow: row;
}

.tagline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  border-left: 4px solid var(--accent);
  padding-left: 1.2rem;
}

.cta-band {
  position: relative;
  background: url("../images/1000s.jpg") center / cover no-repeat;
  color: #fff;
  padding: 2.5rem 0;
}

.cta-band .container {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta-band .section-title {
  color: var(--text-on-dark);
}

.cta-band .section-subtitle {
  color: var(--muted-on-dark);
}

.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-band .btn {
  justify-self: start;
}

.page-hero {
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 2.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.service-detail .page-hero {
  position: relative;
  background: url("../images/background-hero-2.jpg") center / cover no-repeat;
  border-bottom: 0;
  color: var(--text-on-dark);
  overflow: hidden;
}

.service-detail .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.service-detail .page-hero > .container {
  position: relative;
  z-index: 1;
}

.service-detail .page-hero h1 {
  color: var(--text-on-dark);
}

.service-detail .page-hero p {
  color: var(--muted-on-dark);
}

.service-detail .page-hero .section-subtitle {
  color: var(--muted-on-dark);
}

.service-detail .page-hero .pill {
  background: rgba(15, 23, 32, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.about .page-hero {
  position: relative;
  overflow: hidden;
}

.about .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/image 1.jpg") center / cover no-repeat;
  filter: blur(14px);
  transform: scale(1.05);
  z-index: 0;
}

.about .page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: rgba(242, 177, 0, 1);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 1.05rem;
}

.legal-hero {
  position: relative;
  background: url("../images/1000s.jpg") center / cover no-repeat;
  color: #f8fafc;
}

.legal-hero-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.legal-hero-card,
.legal-meta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.legal-hero-card h3,
.legal-meta-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.legal-hero-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.legal-meta {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-meta strong {
  color: var(--text);
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-shell {
  background: var(--bg);
}

.legal-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.legal-sidebar {
  display: grid;
  gap: 1.5rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.legal-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.legal-toc {
  display: grid;
  gap: 0.6rem;
}

.legal-toc a {
  color: var(--muted);
  font-weight: 600;
  padding-left: 0.75rem;
  border-left: 3px solid transparent;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--text);
  border-left-color: var(--accent);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: var(--shadow);
}

.legal-effective {
  margin-bottom: 2.25rem;
}

.legal-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 6rem;
}

.legal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.legal-note {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--muted);
  margin-top: 1rem;
}

.about .section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.about .section + .section {
  border-top: 1px solid var(--border);
}

.about .section:not(.section-dark):not(.section-light) {
  background: transparent;
  color: var(--text);
}

.about .section:not(.section-dark):not(.section-light) .section-title {
  color: var(--text);
}

.about .section:not(.section-dark):not(.section-light) .section-subtitle {
  color: var(--muted);
}

.about .section-dark {
  background-color: rgba(61, 63, 87, 1);
  background-image: none;
  color: #f4f6f8;
}

.about .section-dark .section-title {
  color: #f4f6f8;
}

.about .section-dark .section-subtitle {
  color: #cbd2d9;
}

.about .section-dark .principle-list p {
  color: #cbd2d9;
}

.principles-bold li {
  border-left-width: 4px;
  padding-left: 1.25rem;
}

.principles-bold .card-title {
  font-size: 1.3rem;
}

.principles-bold p {
  margin-top: 0.35rem;
  max-width: 32rem;
}

.about .cta-band {
  background: #f4f6f8;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.about .cta-band .section-title {
  color: var(--text);
}

.about .cta-band .section-subtitle {
  color: var(--muted);
}

.service-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.service-stack {
  display: grid;
  gap: 2.5rem;
}

.service-block {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.service-block:first-child {
  border-top: none;
  padding-top: 0;
}

.service-content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.service-highlights {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.service-highlights li::marker {
  color: var(--accent-dark);
}

.service-highlights li {
  margin-bottom: 0.65rem;
}

.service-image {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero .hero-actions {
  margin-top: 1.5rem;
}

.pricing-card {
  border-left: 3px solid var(--accent);
}

.pricing-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--muted-on-surface);
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.pricing-note {
  color: var(--muted-on-surface);
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.media-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}

.media-placeholder {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #f4f6f8, #ffffff);
  min-height: 260px;
}

.sidebar {
  display: grid;
  gap: 1.25rem;
}

.sidebar-card {
  background: rgba(43, 45, 66, 1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  color: var(--text-on-dark);
}

.sidebar-card p {
  color: var(--muted-on-dark);
}

.sidebar-card h3 {
  margin-top: 0;
}

.sidebar-cta .btn {
  margin-top: 0.75rem;
}

.project-grid {
  margin-top: 1.5rem;
  grid-auto-rows: 1fr;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.project-card:hover,
.project-card:focus-within {
  box-shadow: 0 18px 36px rgba(15, 23, 32, 0.12);
  border-color: rgba(15, 23, 32, 0.18);
}

.project-featured {
  background: #fff7e0;
  border-color: rgba(197, 146, 0, 0.3);
}

.project-featured .project-badge {
  background: #ffffff;
  border-color: rgba(197, 146, 0, 0.4);
}

.project-body {
  display: grid;
  gap: 0.65rem;
}

.project-flag {
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.project-badge {
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-detail {
  color: var(--muted);
  font-size: 0.95rem;
}

.project-detail strong {
  color: var(--text);
}

.project-deliverables {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.project-meta {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.project-card .card-title {
  margin-top: 0.35rem;
  font-size: 1.25rem;
}

.project-card p {
  margin: 0;
}

.project-deliverables li {
  margin: 0;
}

.project-note {
  margin-top: 0.75rem;
  max-width: 580px;
}

.project-authority {
  margin: 0.75rem 0 0;
  max-width: 680px;
}

.project-bridge {
  margin-top: 2.5rem;
  max-width: 760px;
}

.capability-grid {
  display: grid;
  gap: 1rem;
}

.capability-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--text);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.list {
  display: grid;
  gap: 0.75rem;
}

.list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.list li span {
  color: var(--accent-dark);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  color: var(--text-on-surface);
}

.contact-card .footer-links {
  color: var(--text-on-surface);
}

.contact-card .section-subtitle,
.contact-card p {
  color: var(--muted-on-surface);
}

form {
  display: grid;
  gap: 1rem;
}

.wizard {
  display: grid;
  gap: 1.5rem;
}

.wizard-layout {
  display: grid;
  gap: 2rem;
}

.wizard-progress {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.wizard-progress-list {
  display: grid;
  gap: 0.35rem;
}

.wizard-progress-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--muted-on-surface);
  font-size: 0.95rem;
}

.wizard-progress-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-on-surface);
  background: #fff;
}

.wizard-progress-step.is-active {
  color: var(--text-on-surface);
}

.wizard-progress-step.is-active span {
  border-color: var(--accent);
  color: #1a1a1a;
  background: rgba(242, 177, 0, 0.3);
}

.wizard-progress-step.is-complete {
  color: var(--text-on-surface);
}

.wizard-progress-step.is-complete span {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
}

.wizard-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.wizard-card.is-hidden {
  display: none;
}

.wizard-step {
  display: none;
  gap: 1.25rem;
}

.wizard-step.is-active {
  display: grid;
}

.wizard-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.wizard-fieldset legend {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-on-surface);
}

.wizard-options {
  display: grid;
  gap: 0.75rem;
}

.wizard-options.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wizard-option {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.wizard-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wizard-option strong {
  font-weight: 700;
  color: var(--text-on-surface);
}

.wizard-option small {
  color: var(--muted-on-surface);
  font-size: 0.9rem;
}

.wizard-option:focus-within {
  outline: 3px solid rgba(242, 177, 0, 0.45);
  outline-offset: 2px;
}

.wizard-option.is-selected {
  border-color: rgba(242, 177, 0, 0.9);
  box-shadow: 0 12px 24px rgba(15, 23, 32, 0.12);
  transform: translateY(-2px);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.wizard-actions .btn {
  min-width: 140px;
}

.wizard-actions .btn-secondary {
  background: #fff;
  color: var(--text-on-surface);
  border: 1px solid var(--border);
}

.wizard-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wizard-success {
  display: none;
  text-align: left;
  gap: 0.75rem;
}

.wizard-success.is-visible {
  display: grid;
}

.wizard-helper {
  color: var(--muted-on-surface);
  font-size: 0.95rem;
}

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

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-surface);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

::placeholder {
  color: var(--muted-on-surface);
  opacity: 1;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f4f6f8;
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
}

.footer-mark img {
  height: 24px;
  width: auto;
}

.footer-muted {
  color: #9aa5b1;
  margin: 0.3rem 0 0;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  color: #cbd2d9;
}

.footer-links a {
  color: inherit;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.9rem;
  color: #9aa5b1;
}

.footer-note {
  flex-basis: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa5b1;
}

.footer-legal a {
  color: inherit;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-copyright {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #9aa5b1;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

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

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

  .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
  }

  .section-split {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .section-split.reverse > :first-child {
    order: 2;
  }

  .section-split.reverse > :last-child {
    order: 1;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-band .container {
    grid-template-columns: 1.2fr auto;
  }

  .service-layout {
    grid-template-columns: 2.2fr 1fr;
  }

  .service-block {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .service-block.reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .service-block.reverse .service-content {
    order: 2;
  }

  .service-block.reverse .service-image {
    order: 1;
  }

  .about-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .legal-hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

@media (max-width: 640px) {
  :root {
    --top-bar-height: 40px;
  }

  .top-bar-link {
    height: 28px;
    font-size: 0.82rem;
  }
}

@media (min-width: 900px) {
  .legal-layout {
    grid-template-columns: 0.85fr 2.15fr;
  }

  .legal-sidebar {
    position: sticky;
    top: 6.5rem;
  }

  .project-featured {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    gap: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .nav-submenu {
    position: static;
    min-width: auto;
    box-shadow: none;
    border-radius: 8px;
    display: none;
  }

  .nav-dropdown.open .nav-submenu {
    display: flex;
  }

  .nav-dropdown.open .nav-submenu.mega-menu {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .top-bar-actions {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .top-bar-link {
    white-space: nowrap;
    padding: 0 0.65rem;
  }

  .nav-links.open {
    max-height: calc(100vh - var(--top-bar-height) - 72px);
    overflow-y: auto;
  }

  .hero-grid,
  .section-split,
  .section-split.reverse,
  .service-layout,
  .service-block,
  .service-block.reverse,
  .about-grid,
  .contact-grid,
  .legal-hero-grid,
  .wizard-layout,
  .feature-grid,
  .process-steps,
  .grid-2,
  .grid-3,
  .grid-4,
  .mini-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section-split.reverse > :first-child,
  .service-block.reverse .service-content {
    order: 0;
  }

  .section-split.reverse > :last-child,
  .service-block.reverse .service-image {
    order: 0;
  }

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

  input,
  select,
  textarea {
    font-size: 16px;
  }

  p,
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.7;
  }

  .home .home-hero::before,
  .section-themed::before,
  .cta-band::before,
  .legal-hero::before,
  .service-detail .page-hero::before {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .home .home-hero .hero-panel {
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 480px) {
  .top-bar-link {
    font-size: 0.8rem;
    height: 28px;
    padding: 0 0.6rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .wizard-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .wizard-progress {
    padding: 0.9rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
