@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #070b12;
  --panel: #101720;
  --panel-2: #0d131b;
  --ink: #f3f7fb;
  --muted: #8d98a8;
  --soft: #697586;
  --line: #26313d;
  --blue: #0099e0;
  --blue-2: #26b4ff;
  --glow: 0 0 20px rgba(0, 153, 224, 0.25), 0 0 60px rgba(0, 153, 224, 0.1);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  --radius: 12px;
  --max: 1280px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, black 0%, transparent 64%);
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin: 0 auto;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  border-bottom: 1px solid rgba(38, 49, 61, 0.5);
  background: rgba(7, 11, 18, 0.8);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-logo {
  width: 150px;
  height: 54px;
  max-width: 34vw;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 153, 224, 0.22));
}

.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;
}

.brand > span:not(.sr-only) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: white;
  background: var(--blue);
  box-shadow: var(--glow);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand > span:not(.sr-only)::first-letter {
  color: inherit;
}

.brand small {
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue-2);
}

.nav-links a::after {
  display: none;
}

.header-phone {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 10px;
  color: white;
  background: var(--blue);
  box-shadow: var(--glow);
  font-size: 13px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.mobile-menu {
  display: none;
}

main {
  outline: none;
}

.hero,
.section,
.split,
.why,
.dual,
.final-cta,
.detail-grid,
.process,
.story,
.values,
.testimonials,
.quote,
.contact-layout,
.article {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 76vh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.12);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 11, 18, 0.8) 48%, rgba(7, 11, 18, 0.4) 100%),
    linear-gradient(180deg, transparent 44%, var(--bg) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  max-width: 610px;
  margin-right: auto;
  margin-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding: clamp(122px, 15vh, 168px) 0 74px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 7px 16px;
  border: 1px solid rgba(0, 153, 224, 0.3);
  border-radius: 999px;
  background: rgba(0, 153, 224, 0.1);
  color: var(--blue-2);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.split h2,
.why h2,
.dual h2,
.final-cta h2,
.detail-grid h2,
.process h2,
.story h2,
.contact-panel h2 {
  margin: 0;
  color: white;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero p:not(.eyebrow),
.section p,
.split p,
.why p,
.dual p,
.final-cta p,
.detail-grid p,
.process p,
.story p,
.contact-panel p,
.article p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: transform 170ms ease, border-color 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: white;
  background: var(--blue);
  box-shadow: var(--glow);
}

.btn.ghost {
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue-2);
}

.split,
.dual,
.detail-grid,
.story,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.split figure,
.split > div,
.dual article,
.detail-grid article,
.story article,
.contact-panel,
.contact-form,
.section,
.why,
.final-cta,
.process,
.values article,
.testimonials blockquote,
.quote blockquote,
.article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 32, 0.92), rgba(7, 11, 18, 0.96));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.split figure {
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

.split > div,
.dual article,
.detail-grid article,
.story article,
.contact-panel,
.article {
  padding: clamp(28px, 5vw, 48px);
}

.section {
  margin-top: 0;
  padding: 96px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 64px;
}

.section-head a {
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}

.cards,
.services-grid,
.project-grid,
.plan-grid,
.blog-grid,
.solution-grid,
.bullet-grid,
.why-grid,
.values {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card,
.plan-card,
.blog-card,
.project-card,
.why-grid article,
.bullet-grid article,
.process article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover,
.plan-card:hover,
.blog-card:hover,
.project-card:hover,
.why-grid article:hover,
.bullet-grid article:hover,
.process article:hover {
  border-color: rgba(0, 153, 224, 0.42);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.service-card,
.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.plan-card {
  padding: 24px;
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #05080d;
}

.service-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.04), rgba(4, 8, 14, 0.74));
}

.service-card-media img {
  transition: transform 420ms ease, filter 420ms ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.service-card .icon,
.why-grid span,
.bullet-grid svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: white;
  border-radius: 12px;
  background: rgba(0, 153, 224, 0.1);
  color: var(--blue-2);
  box-shadow: none;
  transition: background 160ms ease, color 160ms ease;
}

.service-card:hover .icon,
.why-grid article:hover span {
  background: var(--blue);
  color: white;
}

.service-card-media .icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border: 1px solid rgba(0, 153, 224, 0.34);
  background: rgba(6, 10, 16, 0.78);
  backdrop-filter: blur(16px);
}

.service-card svg,
.why-grid svg {
  width: 24px;
  height: 24px;
}

.service-card h3,
.plan-card h3,
.project-card h3,
.blog-card h3,
.why-grid h3,
.bullet-grid h3,
.process h3,
.values h3 {
  margin: 18px 0 0;
  color: white;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}

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

.service-card p,
.plan-card p,
.project-card p,
.blog-card p,
.why-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card b,
.plan-card b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 600;
}

.why {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  margin-top: 0;
  padding: clamp(28px, 5vw, 46px);
}

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

.why-grid article,
.bullet-grid article,
.process article {
  padding: 22px;
}

.dual article:first-child {
  background:
    linear-gradient(180deg, rgba(9, 16, 28, 0.84), rgba(5, 8, 13, 0.96)),
    url("/images/heroes/home-luxury-smart-home-night.webp") center / cover;
}

.dual article:last-child {
  background:
    linear-gradient(180deg, rgba(9, 16, 28, 0.84), rgba(5, 8, 13, 0.96)),
    url("/images/heroes/business-it-networking.webp") center / cover;
}

.location-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-list a {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #edf5ff;
  font-size: 13px;
  font-weight: 850;
}

.location-list.large {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.location-tools,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: -28px auto 34px;
}

.location-tools label {
  display: grid;
  gap: 8px;
  min-width: min(100%, 260px);
  color: #dbe8fa;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-tools input,
.location-tools select {
  min-height: 44px;
  color: white;
  border: 1px solid rgba(132, 170, 220, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0 14px;
  outline: none;
}

.location-tools input:focus,
.location-tools select:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.16);
}

.filter-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe8fa;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.filter-tabs button:hover,
.filter-tabs button.is-active {
  border-color: rgba(0, 153, 224, 0.5);
  background: rgba(0, 153, 224, 0.15);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.service-groups article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 23, 32, 0.95), rgba(8, 12, 19, 0.95));
}

.service-groups h3 {
  margin: 0 0 8px;
  color: white;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
}

.service-groups p {
  margin: 0;
  font-size: 14px;
}

.is-filtered-out {
  display: none !important;
}

.location-list span,
.project-card span,
.blog-card span,
.plan-card span {
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.project-card,
.blog-card {
  position: relative;
  overflow: hidden;
}

.project-card img,
.blog-card img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.project-card img {
  transition: transform 420ms ease, filter 420ms ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(1.12);
}

.project-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 153, 224, 0.18));
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card div,
.blog-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
}

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

.plan-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 74px;
}

.testimonials blockquote {
  transition: opacity 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.testimonials[data-active="0"] blockquote:nth-child(1),
.testimonials[data-active="1"] blockquote:nth-child(2),
.testimonials[data-active="2"] blockquote:nth-child(3) {
  border-color: rgba(0, 153, 224, 0.48);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

blockquote {
  margin: 0;
  color: white;
  font-size: 22px;
  line-height: 1.25;
}

blockquote span {
  display: block;
  margin-top: 16px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonials blockquote,
.quote blockquote {
  padding: 28px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  cursor: pointer;
  color: white;
  font-weight: 850;
}

.process > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.process {
  margin-top: 74px;
  padding: clamp(28px, 5vw, 46px);
}

.process span {
  color: var(--blue-2);
  font-size: 28px;
  font-weight: 950;
}

.bullet-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.bullet-grid article {
  display: grid;
  gap: 16px;
}

.bullet-grid svg {
  width: 42px;
  height: 42px;
  padding: 10px;
}

.values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.values article {
  padding: 24px;
}

.values svg {
  width: 34px;
  height: 34px;
  color: var(--blue-2);
}

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

.contact-layout {
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 13px;
}

.contact-panel a,
.contact-panel span {
  color: #e7f1ff;
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dbe8fa;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: white;
  border: 1px solid rgba(132, 170, 220, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.16);
}

.wide {
  grid-column: 1 / -1;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 74px;
  margin-bottom: 72px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.96), rgba(7, 11, 18, 0.8)),
    url("/images/heroes/services-network-rack-blue.webp") center / cover;
  box-shadow: var(--shadow);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.75fr;
  gap: 28px;
  align-items: start;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--panel);
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.site-footer p,
.footer-contact span {
  color: var(--soft);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: #d9e5f5;
  font-size: 13px;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: #eaf3ff;
  font-size: 13px;
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 330px;
  padding: 14px 18px;
  color: white;
  border: 1px solid rgba(69, 168, 255, 0.42);
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.lead-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.lead-success::after {
  position: fixed;
  inset: 0;
  z-index: 120;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(38, 180, 255, 0.42), transparent 8%),
    radial-gradient(circle at 68% 34%, rgba(0, 153, 224, 0.36), transparent 7%),
    radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.16), transparent 10%);
  animation: leadSuccessPulse 1200ms ease forwards;
}

@keyframes leadSuccessPulse {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.admin-leads {
  min-height: 70vh;
  padding-top: 128px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.lead-list {
  display: grid;
  gap: 14px;
}

.lead-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 20, 32, 0.94), rgba(7, 11, 18, 0.98));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.lead-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 153, 224, 0.34);
  border-radius: 999px;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-card h3 {
  margin: 0;
  color: white;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 20px;
}

.lead-card p,
.lead-card small,
.lead-card time {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.lead-card a {
  display: block;
  color: #f7fbff;
  font-weight: 800;
  line-height: 1.6;
}

.reveal-item,
.section,
.split,
.why,
.dual,
.final-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-item.is-visible,
.section.is-visible,
.split.is-visible,
.why.is-visible,
.dual.is-visible,
.final-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top,
.mobile-call {
  position: fixed;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 153, 224, 0.45);
  color: white;
  background: rgba(0, 153, 224, 0.92);
  box-shadow: var(--glow);
  backdrop-filter: blur(18px);
}

.back-to-top {
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-call {
  right: 16px;
  bottom: 16px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  display: none;
}

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

@media (max-width: 1040px) {
  .hero h1 {
    font-size: clamp(38px, 6vw, 48px);
    line-height: 1.1;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .mobile-menu {
    position: fixed;
    top: 78px;
    right: 22px;
    left: 22px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4, 7, 12, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-logo {
    justify-content: flex-start;
    padding: 8px 12px 14px !important;
  }

  .mobile-menu a {
    padding: 13px 12px;
    border-radius: 10px;
    color: #eff6ff;
    font-size: 14px;
    font-weight: 850;
  }

  .mobile-menu a.is-active,
  .mobile-menu a:hover {
    color: var(--blue-2);
    background: rgba(22, 119, 255, 0.16);
  }

  .services-grid,
  .project-grid,
  .blog-grid,
  .plan-grid,
  .values,
  .bullet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process > div,
  .location-list.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .split,
  .why,
  .dual,
  .final-cta,
  .detail-grid,
  .process,
  .story,
  .values,
  .testimonials,
  .quote,
  .contact-layout,
  .article,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    width: 100%;
  }

  .hero {
    width: 100%;
    min-height: 72vh;
  }

  .hero-copy {
    width: calc(100% - 44px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding: 132px 0 76px;
  }

  .hero h1,
  .section h2,
  .split h2,
  .why h2,
  .dual h2,
  .final-cta h2,
  .detail-grid h2,
  .process h2,
  .story h2,
  .contact-panel h2 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
  }

  .hero h1 {
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.12;
  }

  .split,
  .why,
  .dual,
  .detail-grid,
  .story,
  .contact-layout,
  .location-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .project-grid,
  .blog-grid,
  .plan-grid,
  .values,
  .bullet-grid,
  .why-grid,
  .process > div,
  .testimonials,
  .location-list.large,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .section {
    margin-top: 0;
    padding: 64px 0;
  }

  .why,
  .process {
    margin-top: 46px;
    padding: 28px 20px;
  }

  .split > div,
  .dual article,
  .detail-grid article,
  .story article,
  .contact-panel,
  .article {
    padding: 24px 20px;
  }

  .section-head,
  .final-cta {
    display: block;
  }

  .section-head {
    margin-bottom: 36px;
  }

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

  .service-card-media {
    height: auto;
  }

  .project-card img,
  .blog-card img,
  .split figure {
    height: 230px;
    min-height: 230px;
  }

  .footer-contact {
    justify-items: start;
  }

  .back-to-top {
    bottom: 74px;
  }

  .mobile-call {
    display: inline-flex;
  }
}

/* Contact page compact hero */
.contact-hero {
  min-height: 260px;
  max-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.contact-hero .hero-bg::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 11, 18, 0.86) 52%, rgba(7, 11, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.24), var(--bg) 100%);
}

.contact-hero .hero-copy {
  padding-top: 78px;
  padding-bottom: 26px;
}

.contact-hero h1 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.contact-hero p:not(.eyebrow) {
  max-width: 620px;
}

.contact-hero + .contact-layout {
  margin-top: 0;
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 180px;
    max-height: 180px;
    margin-bottom: 16px;
  }

  .contact-hero .hero-copy {
    padding-top: 76px;
    padding-bottom: 18px;
  }

  .contact-hero .eyebrow {
    margin-bottom: 10px;
  }

  .contact-hero h1 {
    font-size: clamp(25px, 7vw, 30px);
  }

  .contact-hero p:not(.eyebrow) {
    display: none;
  }

  .lead-card {
    grid-template-columns: 1fr;
  }

  .admin-leads {
    padding-top: 92px;
  }
}

/* Contact page compact hero - final override */
.contact-hero {
  min-height: 260px;
  max-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.contact-hero .hero-bg::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 11, 18, 0.86) 52%, rgba(7, 11, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.24), var(--bg) 100%);
}

.contact-hero .hero-copy {
  padding-top: 78px;
  padding-bottom: 26px;
}

.contact-hero h1 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.contact-hero p:not(.eyebrow) {
  max-width: 620px;
}

.contact-hero + .contact-layout {
  margin-top: 0;
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 180px;
    max-height: 180px;
    margin-bottom: 16px;
  }

  .contact-hero .hero-copy {
    padding-top: 76px;
    padding-bottom: 18px;
  }

  .contact-hero .eyebrow {
    margin-bottom: 10px;
  }

  .contact-hero h1 {
    font-size: clamp(25px, 7vw, 30px);
  }

  .contact-hero p:not(.eyebrow) {
    display: none;
  }
}

@media (min-width: 1281px) {
  .site-header {
    padding-right: calc((100vw - var(--max)) / 2 + 24px);
    padding-left: calc((100vw - var(--max)) / 2 + 24px);
  }
}

/* UI refinement pass */
.hero {
  min-height: 70vh;
}

.hero-copy {
  max-width: 680px;
  padding-top: clamp(112px, 13vh, 148px);
  padding-bottom: 62px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.section h2,
.split h2,
.why h2,
.dual h2,
.final-cta h2,
.detail-grid h2,
.process h2,
.story h2,
.contact-panel h2 {
  max-width: 850px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.014em;
}

.section p,
.split p,
.why p,
.dual p,
.final-cta p,
.detail-grid p,
.process p,
.story p,
.contact-panel p,
.article p,
.hero p:not(.eyebrow) {
  max-width: 780px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.split,
.dual,
.detail-grid,
.story,
.contact-layout {
  gap: 22px;
  margin-top: 18px;
}

.split figure {
  min-height: 280px;
}

.split > div,
.dual article,
.detail-grid article,
.story article,
.contact-panel,
.article {
  padding: clamp(26px, 4vw, 40px);
}

.about-preview > div,
.story article {
  max-width: 850px;
}

.btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 12px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 0 18px rgba(0, 153, 224, 0.28), 0 0 44px rgba(0, 153, 224, 0.12);
}

.btn:disabled,
.btn[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.service-card h3,
.plan-card h3,
.project-card h3,
.blog-card h3,
.why-grid h3,
.bullet-grid h3,
.process h3,
.values h3,
.service-groups h3 {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.2;
}

.service-card p,
.plan-card p,
.project-card p,
.blog-card p,
.why-grid p,
.service-groups p {
  font-size: 14.5px;
  line-height: 1.65;
}

.contact-form {
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.contact-form label,
.location-tools label {
  gap: 10px;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.location-tools input,
.location-tools select {
  min-height: 46px;
  border: 1px solid rgba(38, 180, 255, 0.28);
  border-radius: 12px;
  color: #f7fbff;
  background:
    linear-gradient(180deg, rgba(12, 27, 48, 0.96), rgba(7, 17, 31, 0.98)),
    #07111f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 0 0 rgba(0, 153, 224, 0);
  color-scheme: dark;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.location-tools input::placeholder {
  color: #b8c7dc;
}

.contact-form select,
.location-tools select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #26b4ff 50%),
    linear-gradient(135deg, #26b4ff 50%, transparent 50%),
    linear-gradient(180deg, rgba(12, 27, 48, 0.96), rgba(7, 17, 31, 0.98));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

.contact-form select option,
.location-tools select option {
  color: white;
  background: #07111f;
}

.contact-form select option:checked,
.location-tools select option:checked {
  color: white;
  background: #0099e0;
}

.contact-form select option:hover,
.location-tools select option:hover {
  color: white;
  background: #0ea5ff;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.location-tools input:hover,
.location-tools select:hover {
  border-color: rgba(38, 180, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.location-tools input:focus,
.location-tools select:focus {
  border-color: var(--blue-2);
  background:
    linear-gradient(180deg, rgba(13, 32, 58, 0.98), rgba(7, 17, 31, 1)),
    #07111f;
  box-shadow: 0 0 0 3px rgba(0, 153, 224, 0.16), 0 0 26px rgba(0, 153, 224, 0.12);
  transform: translateY(-1px);
}

.contact-form .btn.primary {
  min-height: 44px;
}

.final-cta {
  margin-top: 62px;
  margin-bottom: 62px;
  padding: clamp(28px, 4.6vw, 46px);
}

.service-card,
.plan-card,
.blog-card,
.project-card,
.why-grid article,
.bullet-grid article,
.process article,
.location-list a {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover,
.plan-card:hover,
.blog-card:hover,
.project-card:hover,
.why-grid article:hover,
.bullet-grid article:hover,
.process article:hover,
.location-list a:hover {
  transform: translateY(-5px);
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: clamp(36px, 5.2vw, 48px);
  }

  .section h2,
  .split h2,
  .why h2,
  .dual h2,
  .final-cta h2,
  .detail-grid h2,
  .process h2,
  .story h2,
  .contact-panel h2 {
    font-size: clamp(29px, 4.2vw, 38px);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 62vh;
  }

  .hero-copy {
    padding-top: 112px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.13;
  }

  .section h2,
  .split h2,
  .why h2,
  .dual h2,
  .final-cta h2,
  .detail-grid h2,
  .process h2,
  .story h2,
  .contact-panel h2 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.18;
  }

  .section p,
  .split p,
  .why p,
  .dual p,
  .final-cta p,
  .detail-grid p,
  .process p,
  .story p,
  .contact-panel p,
  .article p,
  .hero p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .contact-form {
    gap: 14px;
    padding: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .location-tools input,
  .location-tools select {
    min-height: 44px;
    font-size: 16px;
  }

  .split > div,
  .dual article,
  .detail-grid article,
  .story article,
  .contact-panel,
  .article {
    padding: 22px 18px;
  }

  .btn {
    min-height: 40px;
  }

  .service-card h3,
  .plan-card h3,
  .project-card h3,
  .blog-card h3,
  .why-grid h3,
  .bullet-grid h3,
  .process h3,
  .values h3,
  .service-groups h3 {
    font-size: 18px;
  }
}

/* Contact page compact hero - final override */
.contact-hero {
  min-height: 260px;
  max-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.contact-hero .hero-bg::after {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 11, 18, 0.86) 52%, rgba(7, 11, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.24), var(--bg) 100%);
}

.contact-hero .hero-copy {
  padding-top: 78px;
  padding-bottom: 26px;
}

.contact-hero h1 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.contact-hero p:not(.eyebrow) {
  max-width: 620px;
}

.contact-hero + .contact-layout {
  margin-top: 0;
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 180px;
    max-height: 180px;
    margin-bottom: 16px;
  }

  .contact-hero .hero-copy {
    padding-top: 76px;
    padding-bottom: 18px;
  }

  .contact-hero .eyebrow {
    margin-bottom: 10px;
  }

  .contact-hero h1 {
    font-size: clamp(25px, 7vw, 30px);
  }

  .contact-hero p:not(.eyebrow) {
    display: none;
  }
}
