@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;800&display=swap');

:root {
  --primary: #0a1628;
  --primary-deep: #091628;
  --secondary: #1a2942;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --text-light: #ffffff;
  --text-muted: #64748b;
  --text-muted-dark: #94a3b8;
  --bg-light: #ffffff;
  --bg-gray: #f1f5f9;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --font-main: 'Inter', Arial, Helvetica, sans-serif;
  --container-width: 1280px;
  --header-height: 80px;
  --shadow-soft: 0 20px 40px rgba(10, 22, 40, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.mobile-menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid #fca5a5;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: 2rem;
}

.container-narrow {
  max-width: 1080px;
}

.section {
  padding: 6rem 0;
}

.bg-light { background: var(--bg-light); }
.bg-gray { background: var(--bg-gray); }
.bg-primary { background: var(--primary); color: #fff; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted-dark); }
.text-center { text-align: center; }
.section-title { margin-bottom: 1.5rem; font-size: 2.5rem; }
.display-title { margin-bottom: 1.5rem; font-size: 3rem; font-weight: 800; }
.lead-text { max-width: 800px; margin-bottom: 2rem; color: var(--text-muted-dark); font-size: 1.25rem; }
.gradient-text {
  padding-right: 0.5rem;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4rem;
}

.grid-2-col-lg {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
}

.grid-2-col-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

/* Header and navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

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

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav .nav-cta-item a {
  margin-top: -10px;
  padding: 10px 30px;
  background: #f00;
  color: #fff;
}

.main-nav .nav-cta-item a:hover,
.main-nav .nav-cta-item a:focus-visible {
  background: var(--accent-dark);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.05);
  background: #f0f1f3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .main-nav a { color: #000; }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--accent); }
.site-header.scrolled .nav-cta-item a { color: #fff; }
.site-header.scrolled .mobile-menu-toggle span { background: #000; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}
.btn-outline { border: 1px solid #fff; background: transparent; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-full { width: 100%; }

/* Homepage hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--primary);
  color: #fff;
}

.hero-bg,
.hero-static-img,
.hero-video,
.hero-bg .overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg { z-index: 0; }
.hero-static-img { z-index: 1; object-fit: cover; opacity: 0.4; }
.hero-video {
  z-index: 2;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1.5s ease;
}
.hero-video.hidden { opacity: 0; }
.hero-bg .overlay {
  z-index: 3;
  background: linear-gradient(to right, var(--primary), rgba(10, 22, 40, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
}

.hero-text { max-width: 800px; }
.hero h1 { margin-bottom: 1.5rem; font-size: 5rem; line-height: 1; }
.hero-desc {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-weight: 300;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

/* Homepage sections */
.divider {
  width: 72px;
  height: 4px;
  margin: 0 0 1.5rem;
  background: var(--accent);
}

.content-block > p { color: #64748b; }
.content-block + .content-block { margin-top: 2rem; }

.card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-gray);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #64748b; font-size: 0.95rem; }

.icon-box {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: #fff;
  font-size: 1.5rem;
}

.icon-box img { width: 48px; height: 48px; object-fit: contain; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-header p { color: #64748b; }
.link-arrow { display: inline-flex; color: var(--accent); font-weight: 700; }
.link-arrow:hover { transform: translateX(5px); color: var(--accent-dark); }

.service-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-card .img-wrapper { height: 200px; overflow: hidden; }
.service-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .img-wrapper img { transform: scale(1.05); }
.service-card .card-body {
  display: flex;
  min-height: 230px;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.service-card h3 { margin-bottom: 0.5rem; color: var(--primary); font-size: 1.25rem; }
.service-card p { flex: 1; margin-bottom: 1.5rem; color: #64748b; font-size: 0.875rem; }
.learn-more {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-section {
  display: flex;
  min-height: 600px;
  flex-wrap: wrap;
  background: var(--primary);
}

.split-image,
.split-content { min-width: 300px; flex: 1 1 50%; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  color: #fff;
}
.split-content h2 { margin-bottom: 1.5rem; font-size: 2.5rem; }
.split-content .lead-text { max-width: 90%; margin-bottom: 3rem; font-size: 1.125rem; }
.split-content .btn { max-width: 300px; }
.section-eyebrow,
.section-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stats-row { display: flex; gap: 4rem; margin-bottom: 3rem; }
.stat-num { display: block; margin-bottom: 0.5rem; color: #fff; font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-desc { display: block; color: var(--text-muted-dark); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.home-cta { background: #fcfcfc; color: #343434; text-align: center; }
.home-cta h2 { color: #092148; }
.home-cta p { max-width: 600px; margin: 0 auto 1.5rem; }

/* Shared interior page header */
.page-header {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background: var(--primary);
  color: #fff;
}

.page-header h1 { margin-bottom: 1.5rem; font-size: 4rem; }
.page-header .lead-text {
  margin-bottom: 0;
  padding-left: 1.5rem;
  border-left: 5px solid #f00;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  font-weight: 300;
}

/* About */
.text-block p + p { margin-top: 1rem; }
.image-stack { position: relative; height: 500px; }
.img-bg-1,
.img-bg-2,
.img-main { position: absolute; inset: 0; }
.img-bg-1 { z-index: 1; transform: rotate(3deg); border: 1px solid rgba(0, 0, 0, 0.1); background: var(--secondary); }
.img-bg-2 { z-index: 0; transform: rotate(-3deg); border: 1px solid rgba(0, 0, 0, 0.1); background: rgba(10, 22, 40, 0.05); }
.img-main { z-index: 2; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.img-main > img { width: 100%; height: 100%; object-fit: cover; }
.img-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.94), transparent);
  color: #fff;
}
.img-overlay h3 { margin-bottom: 0.35rem; }
.value-intro { margin-bottom: 3rem; }
.value-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.icon-box-sm { margin-bottom: 1rem; font-size: 2rem; }
.location-section .lead-text { color: var(--text-muted-dark); }
.address-block address { margin-bottom: 2rem; padding-left: 1.5rem; border-left: 5px solid #f00; }
.map-frame {
  width: 100%;
  min-height: 450px;
  border: 0;
  filter: saturate(0.75) contrast(1.05);
}

/* Services overview */
.service-detail-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-detail-card:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: var(--shadow-soft); }
.service-detail-card .icon-box { background: var(--bg-gray); }
.service-detail-card p { color: #64748b; }
.feature-list { margin: 1.25rem 0 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  color: #64748b;
  font-size: 0.9rem;
}
.feature-list li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin: 0.58em 0.75rem 0 0;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}
.service-detail-card .link-arrow { margin-top: auto; }
.services-featured { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--border); }
.services-featured-header { margin-bottom: 2rem; }
.services-cta .lead-text { margin-inline: auto; color: var(--text-muted-dark); }

/* Individual service template */
.service-page { background: #f7f7f7; }
.service-hero {
  padding: calc(var(--header-height) + 6rem) 0 6rem;
  background: var(--primary-deep);
  color: #fff;
}
.service-hero-content { max-width: 800px; }
.service-hero h1 { margin-bottom: 1.75rem; font-size: 3.5rem; }
.service-hero p {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
}
.service-content { padding: 4rem 0 6rem; background: #f7f7f7; }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr);
  gap: 5.5%;
  align-items: start;
}
.service-main-column { padding-inline: 1.25rem; }
.service-feature { margin-bottom: 2.5rem; }
.service-feature:last-child { margin-bottom: 0; }
.service-feature-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.service-feature-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  padding: 10px;
  border: 1px solid #c1c1c1;
  background: #f3f3f3;
  object-fit: contain;
}
.service-feature h2 { margin: 0; font-size: 1.25rem; }
.service-feature p { color: #334155; }
.service-feature ul { margin: 1rem 0 0 1.25rem; list-style: disc; }
.service-feature li { margin-bottom: 0.35rem; }
.service-feature li::marker { color: var(--accent); }
.service-sidebar {
  padding: 1.875rem 1.5rem;
  border-left: 4px solid #e02b20;
  background: var(--primary-deep);
  color: #fff;
}
.service-sidebar h2 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.capability-list { margin-bottom: 2rem; }
.capability-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.capability-list li::before { color: #e02b20; font-size: 1.2rem; line-height: 1; content: '◆'; }
.service-sidebar p { color: rgba(255, 255, 255, 0.82); font-size: 0.875rem; }
.service-sidebar .btn { margin-top: 1.5rem; background: #e02b20; padding: 1rem 0rem; }

/* Work */
.case-title { font-size: 2.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-label { margin-bottom: 0.5rem; color: var(--accent); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.stat-value { color: var(--primary); font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
.stats-grid .stat-desc { color: #64748b; }
.strategy-block + .strategy-block { margin-top: 1.5rem; }
.quote-box {
  margin: 2rem 0 0;
  padding: 2rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-gray);
  color: var(--primary);
  font-size: 1.125rem;
  font-style: italic;
}
.quote-box cite { display: block; margin-top: 1rem; font-size: 0.875rem; font-style: normal; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.img-wrapper-lg { position: relative; height: 400px; margin-bottom: 2rem; overflow: hidden; }
.img-wrapper-lg > img { width: 100%; height: 100%; object-fit: cover; }
.tags-overlay { position: absolute; bottom: 1.5rem; left: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags-overlay span {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
.grid-2-col-sm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.grid-2-col-sm img { width: 100%; height: 150px; object-fit: cover; }
.success-intro { margin-bottom: 2.5rem; }
.case-card-full {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: #fff;
  text-align: left;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.case-card-full:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.case-card-full .img-col { position: relative; min-height: 300px; overflow: hidden; }
.case-card-full .img-col img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.case-card-full .text-col { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.case-card-full .category { margin-bottom: 1rem; color: var(--accent); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.case-card-full p { margin-bottom: 2rem; color: #475569; }
.work-cta { text-align: center; }

/* Case study detail */
.back-link { display: inline-block; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.back-link:hover { transform: translateX(-5px); color: #fff; }
.check-list { margin-top: 1rem; }
.check-list li { display: flex; align-items: flex-start; margin-bottom: 0.75rem; }
.check-list li::before { margin-right: 10px; color: var(--accent); font-weight: 700; content: '✓'; }
.results-card { margin-bottom: 2rem; padding: 2rem; border: 1px solid var(--border); border-top: 4px solid var(--accent); background: #fff; }
.result-item { margin-bottom: 1.5rem; }
.result-item:last-child { margin-bottom: 0; }
.result-value { margin-bottom: 0.5rem; color: var(--primary); font-size: 2rem; font-weight: 800; line-height: 1; }
.result-desc { color: #64748b; font-size: 0.875rem; font-weight: 500; }
.testimonial-card { margin-bottom: 2rem; padding: 2rem; background: var(--bg-gray); font-style: italic; }
.testimonial-card cite { display: block; margin-top: 1rem; color: var(--primary); font-size: 0.9rem; font-style: normal; }
.sidebar-col .img-wrapper img { width: 100%; }

/* Contact */
.contact-form-wrapper,
.contact-info-wrapper { padding: 2rem; }
.contact-form-wrapper { max-width: 900px; }
.contact-info-wrapper { margin-top: 2rem; padding-left: 4rem; border-left: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label,
.field-legend {
  display: block;
  margin-bottom: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.required { color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-gray);
  color: var(--primary);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
.form-group textarea { min-height: 150px; resize: vertical; }
.field-hint { display: block; margin-top: 0.35rem; color: #64748b; font-size: 0.8rem; }
.contact-submit { background: #066aab; color: #fff; }
.contact-submit:hover { background: #05598f; transform: translateY(-2px); }
.form-status { margin-top: 1rem; padding: 1rem; border-left: 4px solid var(--accent); background: var(--bg-gray); }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; }
.info-item .icon-box { margin-bottom: 0; background: var(--bg-gray); }
.info-item h3 { margin-bottom: 0.25rem; }
.info-item a:hover { color: var(--accent); }
.careers-box { max-width: 700px; margin-top: 3rem; padding: 2rem; background: var(--primary); color: #fff; }
.careers-box p { margin-bottom: 1.875rem; color: rgba(255, 255, 255, 0.75); }

/* Legal marketing */
.legal-marketing-page { background: var(--bg-soft); }
.legal-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: calc(var(--header-height) + 6rem) 0 6rem;
  background:
    radial-gradient(circle at 82% 30%, rgba(220, 38, 38, 0.17), transparent 28%),
    linear-gradient(125deg, #07101e 0%, var(--primary) 64%, #111d31 100%);
  color: #fff;
}
.legal-hero::after {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: '';
}
.legal-hero-track {
  position: absolute;
  right: 8%;
  bottom: -10%;
  width: 440px;
  height: 140%;
  transform: rotate(24deg);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  background: repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.025) 78px 80px);
}
.legal-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: 5rem;
}
.legal-hero-copy { max-width: 820px; }
.legal-kicker {
  margin: 2rem 0 0.75rem;
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.legal-hero h1 span { color: #f05248; }
.legal-hero-lead { max-width: 760px; color: #cbd5e1; font-size: 1.18rem; line-height: 1.75; }
.legal-hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.5rem; }
.legal-marketing-page .btn { padding: 1em 1em; }
.legal-text-link { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-text-link span { display: inline-block; margin-left: 0.35rem; color: #f05248; transition: transform 0.25s ease; }
.legal-text-link:hover span { transform: translateY(4px); }
.legal-hero-proof {
  position: relative;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 4px solid var(--accent);
  background: rgba(6, 14, 26, 0.76);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.legal-proof-eyebrow {
  margin-bottom: 1.4rem;
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.legal-proof-stat { display: flex; align-items: flex-start; flex-direction: column; gap: 0.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.legal-proof-stat strong { color: #fff; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.legal-proof-stat span { color: #94a3b8; font-size: 0.82rem; line-height: 1.35; text-transform: uppercase; }
.legal-proof-caption { margin-top: 1.25rem; color: #cbd5e1; font-size: 0.82rem; }
.legal-story { background: #fff; }
.legal-story-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 7rem; }
.legal-story-heading { position: relative; }
.legal-story-heading::after { display: block; width: 70px; height: 5px; margin-top: 2rem; background: var(--accent); content: ''; }
.legal-story-heading h2 { max-width: 520px; font-size: clamp(2.5rem, 4vw, 4rem); }
.legal-story-copy { color: #475569; font-size: 1.08rem; }
.legal-story-copy p + p { margin-top: 1.5rem; }
.legal-dropcap::first-letter { float: left; margin: 0.12em 0.12em 0 0; color: var(--accent); font-size: 4.4rem; font-weight: 800; line-height: 0.72; }
.legal-milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 5rem; border: 1px solid var(--border); }
.legal-milestones article { position: relative; min-height: 290px; padding: 2.25rem; background: var(--bg-soft); }
.legal-milestones article + article { border-left: 1px solid var(--border); }
.legal-milestones .legal-milestone-featured { background: var(--primary); color: #fff; }
.legal-milestone-number { position: absolute; top: 1.5rem; right: 1.5rem; color: #cbd5e1; font-size: 2.8rem; font-weight: 800; line-height: 1; opacity: 0.58; }
.legal-milestone-featured .legal-milestone-number { color: rgba(255, 255, 255, 0.2); }
.legal-milestone-label { margin-bottom: 2.2rem; color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.legal-milestones h3 { max-width: 280px; font-size: 1.6rem; }
.legal-milestones article > p:last-child { color: #64748b; font-size: 0.92rem; }
.legal-milestone-featured > p:last-child { color: #cbd5e1; }
.legal-disclaimer { margin-top: 1rem; color: #94a3b8; font-size: 0.72rem; text-align: right; }
.legal-competitive-section { position: relative; overflow: hidden; background: #07101e; color: #fff; }
.legal-competitive-section::before {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  border: 80px solid rgba(220, 38, 38, 0.06);
  border-radius: 50%;
  content: '';
}
.legal-competitive-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 7rem; }
.section-label-light { color: #f87171; }
.legal-competitive-section h2 { max-width: 630px; font-size: clamp(2.5rem, 4vw, 4rem); }
.legal-competitive-lead { max-width: 600px; color: #94a3b8; font-size: 1.13rem; }
.legal-market-card { padding: 3rem; border-left: 5px solid var(--accent); background: #111d30; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25); }
.legal-market-card-label { color: #f87171; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-market-card > p:nth-child(2) { margin: 1.5rem 0; color: #e2e8f0; font-size: 1.28rem; line-height: 1.65; }
.legal-market-emphasis { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font-weight: 700; }
.legal-identity-section { background: #fff; }
.legal-identity-intro { max-width: 880px; margin: 0 auto 4rem; text-align: center; }
.legal-identity-intro h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.legal-identity-intro > p { color: #475569; font-size: 1.18rem; }
.legal-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.legal-identity-card { min-height: 280px; padding: 2.75rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background-color 0.3s ease, transform 0.3s ease; }
.legal-identity-card:hover { z-index: 1; transform: translateY(-4px); background: var(--bg-soft); box-shadow: var(--shadow-soft); }
.legal-identity-card > span { display: block; margin-bottom: 2.5rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; }
.legal-identity-card h3 { max-width: 390px; font-size: 1.8rem; }
.legal-identity-card p { max-width: 520px; color: #64748b; }
.legal-system-section { background: var(--bg-soft); }
.legal-system-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 7rem; }
.legal-system-copy { position: sticky; top: calc(var(--header-height) + 2rem); }
.legal-system-copy h2 { max-width: 560px; font-size: clamp(2.4rem, 4vw, 3.7rem); }
.legal-system-copy > p { max-width: 590px; margin-bottom: 2rem; color: #64748b; font-size: 1.05rem; }
.legal-system-steps { counter-reset: none; border-top: 1px solid #cbd5e1; }
.legal-system-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid #cbd5e1; }
.legal-system-steps li > span { color: var(--accent); font-size: 0.78rem; font-weight: 800; }
.legal-system-steps h3 { margin-bottom: 0.5rem; font-size: 1.45rem; }
.legal-system-steps p { color: #64748b; }
.legal-services-section .section-header { margin-bottom: 3rem; }
.legal-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.legal-service-link { display: flex; min-height: 330px; flex-direction: column; align-items: flex-start; padding: 2.25rem; border: 1px solid var(--border); background: #fff; }
.legal-service-link:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: var(--shadow-soft); }
.legal-service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 2.2rem; place-items: center; background: var(--primary); color: #fff; font-size: 1.4rem; }
.legal-service-link h3 { font-size: 1.45rem; }
.legal-service-link p { color: #64748b; }
.legal-service-link .link-arrow { margin-top: auto; }
.legal-final-cta { position: relative; overflow: hidden; padding: 8rem 0; background: var(--primary); color: #fff; text-align: center; }
.legal-final-cta::before,
.legal-final-cta::after { position: absolute; top: 0; width: 28%; height: 100%; background: repeating-linear-gradient(45deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 24px 26px); content: ''; }
.legal-final-cta::before { left: 0; }
.legal-final-cta::after { right: 0; transform: scaleX(-1); }
.legal-final-cta .container { position: relative; z-index: 1; }
.legal-final-cta h2 { max-width: 900px; margin: 0 auto 1.5rem; font-size: clamp(2.8rem, 5vw, 5rem); }
.legal-final-cta p:not(.legal-kicker) { max-width: 720px; margin: 0 auto 2.5rem; color: #94a3b8; font-size: 1.08rem; }
.legal-final-cta .legal-kicker { margin-top: 0; }

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050b14;
  color: #fff;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.footer-logo img { width: auto; height: 30px; margin-bottom: 1rem; }
.footer-logo p { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* Motion */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .grid-4-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-content { padding: 3rem; }
  .main-nav ul { gap: 1.25rem; }
  .main-nav .nav-cta-item a { padding-inline: 20px; }
}

@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }
  .section { padding-block: 3.75rem; }
  .mobile-menu-toggle { display: block; }
  .site-header .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 2rem;
    transform: translateY(-120%);
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .site-header .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: #fff; }
  .main-nav .nav-cta-item a { margin: 1rem 0 0; padding: 12px 20px; border: 0; text-align: center; }
  .site-header.scrolled .main-nav a { color: #fff; }
  .site-header.scrolled .main-nav a.active { color: var(--accent); }
  .grid-2-col,
  .grid-2-col-lg { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: 1fr; gap: 3rem; }
  .service-main-column { padding-inline: 0; }
  .service-sidebar { width: 100%; }
  .contact-info-wrapper { padding-left: 2rem; }
  .legal-hero { min-height: auto; padding-block: calc(var(--header-height) + 4rem) 4rem; }
  .legal-hero-grid,
  .legal-story-grid,
  .legal-competitive-grid,
  .legal-system-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .legal-hero-proof { max-width: 620px; }
  .legal-story-heading h2,
  .legal-competitive-section h2 { max-width: 760px; }
  .legal-milestones { grid-template-columns: 1fr; }
  .legal-milestones article { min-height: 0; }
  .legal-milestones article + article { border-top: 1px solid var(--border); border-left: 0; }
  .legal-system-copy { position: static; }
  .legal-services-grid { grid-template-columns: 1fr; }
  .legal-service-link { min-height: 280px; }
}

@media (max-width: 768px) {
  .container { padding-inline: 1.25rem; }
  .logo-img { height: 62px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-desc { font-size: 1.125rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .grid-3-col,
  .grid-4-col,
  .grid-2-col-inner,
  .grid-2-col-sm,
  .case-card-full { grid-template-columns: 1fr; }
  .split-section { flex-direction: column; }
  .split-image { height: 300px; flex-basis: 300px; }
  .split-content { max-width: none; padding: 2rem 1.25rem; }
  .split-content .lead-text { max-width: none; }
  .stats-row { gap: 2rem; }
  .page-header { padding-top: calc(var(--header-height) + 3rem); padding-bottom: 3rem; }
  .page-header h1 { font-size: 3rem; }
  .page-header .lead-text { font-size: 1.125rem; }
  .image-stack { height: 380px; }
  .map-frame { min-height: 340px; }
  .service-hero { padding: calc(var(--header-height) + 3rem) 0 3rem; }
  .service-hero h1 { font-size: 2.5rem; }
  .service-hero p { font-size: 1.125rem; }
  .service-content { padding: 3rem 0; }
  .service-feature-title { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .case-card-full .img-col { min-height: 260px; }
  .case-card-full .text-col { padding: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrapper,
  .contact-info-wrapper { padding: 0; }
  .contact-info-wrapper { margin-top: 4rem; border-left: 0; }
  .footer-content { flex-direction: column; gap: 2rem; }
  .footer-links { flex-direction: column; gap: 1rem; }
  .legal-hero h1 { font-size: 3.2rem; }
  .legal-hero-actions { align-items: stretch; flex-direction: column; }
  .legal-hero-actions .btn { width: 100%; }
  .legal-text-link { align-self: center; }
  .legal-story-grid { gap: 2.5rem; }
  .legal-identity-grid { grid-template-columns: 1fr; }
  .legal-identity-card { min-height: 0; padding: 2rem; }
  .legal-market-card { padding: 2rem; }
  .legal-final-cta { padding: 6rem 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.7rem; }
  .page-header h1 { font-size: 2.5rem; }
  .section-title,
  .case-title { font-size: 2rem; }
  .display-title { font-size: 2rem; }
  .grid-3-col,
  .grid-4-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
  .legal-hero h1 { font-size: 2.65rem; }
  .legal-hero-proof { padding: 1.5rem; }
  .legal-proof-stat strong { font-size: 2rem; }
  .legal-milestones article { padding: 1.75rem; }
  .legal-system-steps li { grid-template-columns: 42px 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-in-section { opacity: 1; transform: none; }
}
