:root {
  --color-primary: #0e2a52;
  --color-accent: #ea7a1f;
  --primary-95: color-mix(in srgb, var(--color-primary) 95%, black);
  --primary-85: color-mix(in srgb, var(--color-primary) 85%, black);
  --primary-70: color-mix(in srgb, var(--color-primary) 70%, white);
  --primary-45: color-mix(in srgb, var(--color-primary) 45%, white);
  --primary-15: color-mix(in srgb, var(--color-primary) 15%, white);
  --primary-08: color-mix(in srgb, var(--color-primary) 8%, white);
  --primary-04: color-mix(in srgb, var(--color-primary) 4%, white);
  --accent-85: color-mix(in srgb, var(--color-accent) 85%, black);
  --accent-15: color-mix(in srgb, var(--color-accent) 15%, white);
  --accent-10: color-mix(in srgb, var(--color-accent) 10%, white);
  --ink: var(--primary-95);
  --body: var(--primary-70);
  --muted: var(--primary-45);
  --line: var(--primary-15);
  --paper: #fbfaf8;
  --surface: var(--primary-04);
  --white: #ffffff;
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--color-primary) 8%, transparent);
  --shadow-md: 0 12px 32px -12px color-mix(in srgb, var(--color-primary) 25%, transparent);
  --shadow-lg: 0 24px 60px -20px color-mix(in srgb, var(--color-primary) 35%, transparent);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 104px;
}

@media (max-width: 768px) {
  .section {
    padding-block: 64px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-inline: 18px;
  }
  .section {
    padding-block: 52px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--color-accent);
  display: block;
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16.5px;
  color: var(--muted);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 600px) {
  .section-head {
    margin-bottom: 36px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--accent-85);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid color-mix(in srgb, var(--white) 35%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--primary-04);
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}

.brand {
  width: 10%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-text span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s var(--ease);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.2s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-cta .btn-primary {
  padding: 11px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.burger {
  position: relative;
  width: 20px;
  height: 14px;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 6px;
}

.burger span:nth-child(3) {
  top: 12px;
}

.nav-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 33, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
  z-index: 97;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease);
}

.mobile-close:hover {
  background: var(--primary-08);
}

.mobile-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

@media (max-width: 860px) {
  .nav-links,
  .header-cta .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .brand-text span {
    display: none;
  }
  .mobile-panel-head {
    display: flex;
  }
  .mobile-panel-head .brand-text {
    display: flex;
  }
  .mobile-panel-head .brand-text span {
    display: block;
  }
  .mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 84vw);
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    padding: 20px 24px 28px;
    overflow-y: auto;
    box-shadow: -20px 0 60px -20px rgba(6, 16, 33, 0.35);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 98;
  }
  .mobile-panel.open {
    transform: translateX(0);
  }
  .mobile-panel a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
  }
  .mobile-panel a.active {
    color: var(--color-accent);
  }
  .mobile-panel .btn {
    margin-top: 20px;
    width: 100%;
  }
}

@media (min-width: 861px) {
  .mobile-panel,
  .mobile-backdrop {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 15px;
  }
  
  .brand {
  width: 20%;
}
}

.page-header {
  background: var(--color-primary);
  padding-block: 76px 68px;
  position: relative;
  overflow: hidden;
}

.page-header.has-media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header.has-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--color-primary) 92%, black) 28%,
    color-mix(in srgb, var(--color-primary) 55%, transparent) 100%
  );
}

.page-header .wrap {
  position: relative;
  z-index: 1;
}

.page-header .eyebrow {
  color: var(--color-accent);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 50px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 640px;
}

.page-header p {
  color: color-mix(in srgb, var(--white) 68%, transparent);
  font-size: 17px;
  max-width: 520px;
}

@media (max-width: 600px) {
  .page-header {
    padding-block: 52px 44px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: url("../src/hero-banner.png") no-repeat center center/cover;
  padding-block: 88px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.hero-eyebrow {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero p.lead {
  color: color-mix(in srgb, var(--white) 72%, transparent);
  font-size: 17px;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  margin-bottom: 40px;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-trust strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14.5px;
}

.hero-trust span {
  color: color-mix(in srgb, var(--white) 55%, transparent);
  font-size: 12px;
}

.hero-art {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-art .arc-path {
  stroke: var(--color-accent);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

.hero-art .bld {
  fill: color-mix(in srgb, var(--white) 10%, transparent);
}

.hero-art .bld-line {
  stroke: color-mix(in srgb, var(--white) 30%, transparent);
  stroke-width: 1;
}

.hero-art .window {
  fill: var(--color-accent);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .hero-art {
    max-width: 280px;
    margin-top: 8px;
  }
}

.hero-floor {
  height: 56px;
}

@media (max-width: 600px) {
  .hero {
    padding-block: 56px 0;
  }
  .hero-floor {
    height: 36px;
  }
}

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  justify-content: space-between;
  padding-block: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.trust-item span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card-link {
  display: block;
  color: inherit;
}

.service-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 22px 22px 6px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.7;
}

.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.service-card-actions {
  display: flex;
  gap: 10px;
  padding: 18px 22px 22px;
  margin-top: auto;
}

.service-card-actions .btn {
  flex: 1;
}

.services-cta-row {
  margin-top: 44px;
  text-align: center;
}

.why {
  background: var(--surface);
}

.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.why-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  margin-inline: auto;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-visual svg {
  width: 66%;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-row {
  display: flex;
  gap: 18px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.why-row:last-child {
  border-bottom: 1px solid var(--line);
}

.why-num {
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--color-accent);
  font-weight: 600;
  padding-top: 2px;
  min-width: 26px;
}

.why-row h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.why-row p {
  font-size: 14px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.process-step {
  padding-right: 24px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: var(--line);
  transform: translateX(50%);
}

@media (max-width: 900px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
  .process-step {
    padding-right: 0;
  }
}

.process-num {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  background: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 860px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.story-inner p {
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 16px;
}

.story-inner p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.value-card svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.7;
  margin-bottom: 14px;
}

.value-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.industries {
  background: var(--color-primary);
}

.industries .section-head h2,
.industries .page-header h1 {
  color: var(--white);
}

.industries .eyebrow {
  color: var(--color-accent);
}

.industries .section-head p {
  color: color-mix(in srgb, var(--white) 62%, transparent);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-cell {
  background: var(--primary-95);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 0.25s var(--ease);
}

.industry-cell:hover {
  background: var(--primary-85);
}

.industry-cell svg {
  width: 23px;
  height: 23px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.7;
}

.industry-cell h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.industry-cell p {
  color: color-mix(in srgb, var(--white) 55%, transparent);
  font-size: 13px;
}

.cta-banner-wrap {
  padding-block: 104px;
}

@media (max-width: 768px) {
  .cta-banner-wrap {
    padding-block: 64px;
  }
}

.cta-banner {
  max-width: 1180px;
  margin-inline: auto;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  max-width: 480px;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--color-primary);
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 560px) {
  .cta-banner {
    padding: 34px 24px;
  }
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-row {
  display: flex;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.contact-info-row:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-info-row svg {
  width: 19px;
  height: 19px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 3px;
}

.contact-info-row span {
  font-size: 13.5px;
  color: var(--muted);
  display: block;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}

@media (max-width: 480px) {
  .contact-form {
    padding: 22px 18px;
  }
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--accent-10);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: color-mix(in srgb, #1e8e5a 12%, white);
  border: 1px solid color-mix(in srgb, #1e8e5a 35%, transparent);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #14603d;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 22px;
  height: 22px;
  stroke: #1e8e5a;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.form-thankyou {
  display: flex;
  flex-direction: column;
}

.form-error {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: color-mix(in srgb, #c0392b 10%, white);
  border: 1px solid color-mix(in srgb, #c0392b 30%, transparent);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #96271b;
}

.form-error.show {
  display: flex;
}

.map-note {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 28px;
}

.service-detail-banner {
  position: relative;
  padding-block: 96px 76px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.service-detail-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--color-primary) 94%, black) 30%,
    color-mix(in srgb, var(--color-primary) 45%, transparent) 100%
  );
}

.service-detail-banner .wrap {
  position: relative;
  z-index: 1;
}

.service-detail-banner .eyebrow {
  color: var(--color-accent);
}

.service-detail-banner h1 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 640px;
}

.service-detail-banner p {
  color: color-mix(in srgb, var(--white) 70%, transparent);
  font-size: 16.5px;
  max-width: 540px;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.service-detail-body p {
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 28px;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.service-feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-feature-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: sticky;
  top: 100px;
}

.service-sidebar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-sidebar p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.service-sidebar .btn {
  width: 100%;
  margin-bottom: 12px;
}

.service-sidebar-contact {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-sidebar-contact a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-sidebar-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .related-services-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: var(--primary-95);
  color: color-mix(in srgb, var(--white) 60%, transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 64px 44px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .footer-top .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
}

.footer p.desc {
  font-size: 13.5px;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer h5 {
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 11px;
  font-size: 13.5px;
}

.footer ul li a {
  transition: color 0.2s var(--ease);
}

.footer ul li a:hover {
  color: var(--color-accent);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.social-row a:hover {
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
}

.social-row svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.7;
}

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
