:root {
  color-scheme: light;
  --ink: #153044;
  --ink-soft: #496578;
  --muted: #6e8290;
  --surface: #ffffff;
  --surface-soft: #f5fbff;
  --surface-cool: #edf8ff;
  --mist: #dcedff;
  --mint: #e1f4d9;
  --teal: #0878c9;
  --teal-dark: #00599e;
  --blue: #58a934;
  --sun: #65b73f;
  --rose: #2c8ed8;
  --line: rgba(21, 48, 68, 0.13);
  --shadow: 0 24px 70px rgba(0, 89, 158, 0.16);
  --shadow-soft: 0 16px 44px rgba(21, 48, 68, 0.12);
  --radius: 8px;
  --radius-lg: 28px;
  --container: 1160px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfefd;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #ffffff;
  background: var(--teal);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 254, 253, 0.86);
  border-bottom: 1px solid rgba(21, 48, 68, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 38px rgba(0, 89, 158, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  width: 232px;
  max-width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 900;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 12px 28px rgba(8, 120, 201, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav > a,
.dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: var(--ink-soft);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible,
.site-nav > a.is-active,
.dropdown-toggle.is-active {
  color: var(--teal-dark);
  background: rgba(8, 120, 201, 0.09);
}

.site-nav > a:focus-visible,
.dropdown-toggle:focus-visible,
.nav-toggle:focus-visible,
.carousel-control:focus-visible,
.carousel-dot:focus-visible,
.button:focus-visible,
.filter-button:focus-visible,
.form-control:focus-within {
  outline: 3px solid rgba(101, 183, 63, 0.55);
  outline-offset: 3px;
}

.nav-cta {
  color: #ffffff !important;
  background: var(--teal) !important;
  box-shadow: 0 12px 28px rgba(8, 120, 201, 0.2);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: var(--teal-dark) !important;
}

.nav-dropdown {
  position: relative;
}

.dropdown-icon {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .dropdown-icon {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(760px, calc(100vw - 32px));
  max-height: min(72vh, 620px);
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  padding: 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.25;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropdown-menu a span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.is-active {
  color: var(--teal-dark);
  background: var(--surface-cool);
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-carousel {
  position: relative;
  min-height: min(760px, 86svh);
  overflow: hidden;
  color: #ffffff;
  background: #04365f;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media {
  z-index: 0;
}

.hero-slide img {
  transform: scale(1.06);
  transition: transform 7200ms ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-shade,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 42, 78, 0.86), rgba(3, 63, 112, 0.58) 46%, rgba(7, 112, 54, 0.16)),
    linear-gradient(0deg, rgba(4, 35, 63, 0.68), rgba(5, 90, 158, 0.1) 45%);
}

.page-hero::before {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(88, 169, 52, 0.22), transparent 32%),
    radial-gradient(circle at 18% 78%, rgba(8, 120, 201, 0.26), transparent 34%),
    linear-gradient(90deg, rgba(1, 24, 45, 0.82), rgba(0, 69, 124, 0.64) 48%, rgba(4, 73, 42, 0.26)),
    linear-gradient(0deg, rgba(1, 20, 38, 0.68), rgba(1, 20, 38, 0.12) 52%, rgba(1, 20, 38, 0.42));
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 32%, rgba(0, 0, 0, 0.14)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  padding-top: var(--header-h);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.page-hero-content .eyebrow {
  color: #c9f6ec;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}

.hero-content h1,
.hero-content h2,
.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 5.8vw, 4.35rem);
  max-width: 900px;
  text-transform: uppercase;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 48%, #9dd8ff 67%, #0878c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 34px rgba(0, 42, 86, 0.28);
}

.hero-content p:not(.eyebrow),
.page-hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.65vw, 1.12rem);
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(8, 120, 201, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--teal-dark);
  box-shadow: 0 22px 40px rgba(8, 120, 201, 0.28);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.button-light {
  color: var(--teal-dark);
  border-color: rgba(8, 120, 201, 0.18);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button-light:hover,
.button-light:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(8, 120, 201, 0.35);
}

.hero-controls {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-control,
.carousel-dot {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.carousel-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-control:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.carousel-dots {
  display: flex;
  gap: 7px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}

.carousel-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--sun);
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-sm {
  padding: clamp(48px, 6vw, 78px) 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(237, 248, 255, 0.8), rgba(255, 255, 255, 0.92));
}

.section-ink {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 89, 158, 0.96), rgba(88, 169, 52, 0.9)),
    #00599e;
}

.section-ink h2,
.section-ink h3,
.section-ink p,
.section-ink li {
  color: #ffffff;
}

.section-ink .eyebrow {
  color: #c9f6ec;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.split-copy h2,
.story-copy h2,
.form-panel h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
}

.section-head p,
.split-copy p,
.story-copy p,
.form-panel p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-ink .section-head p,
.section-ink .split-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -38px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.97fr) minmax(0, 1.03fr);
}

.split.reverse .split-media {
  order: -1;
}

.split-copy > * + * {
  margin-top: 18px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.check-list,
.soft-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.soft-list li {
  position: relative;
  min-height: 44px;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(8, 120, 201, 0.12);
  border-radius: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.74);
}

.check-list li::before,
.soft-list li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.82);
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.stack-img {
  position: absolute;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.stack-img:hover img {
  transform: scale(1.045);
}

.stack-img.one {
  top: 12px;
  left: 4%;
  width: 66%;
  height: 330px;
}

.stack-img.two {
  right: 0;
  bottom: 18px;
  width: 58%;
  height: 300px;
}

.stack-img.three {
  left: 0;
  bottom: 54px;
  width: 42%;
  height: 230px;
  border-color: rgba(220, 237, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(8, 120, 201, 0.1), 0 24px 70px rgba(8, 120, 201, 0.22);
}

.floating-note {
  position: absolute;
  right: 8%;
  top: 52px;
  max-width: 240px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(21, 48, 68, 0.13);
  backdrop-filter: blur(12px);
}

.floating-note strong {
  display: block;
  color: var(--teal-dark);
  line-height: 1.2;
}

.floating-note span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.value-card,
.team-card,
.process-card,
.contact-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(21, 48, 68, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.value-card:hover,
.team-card:hover,
.process-card:hover,
.contact-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 120, 201, 0.25);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.service-card-body,
.value-card,
.process-card,
.contact-card,
.info-card {
  padding: 22px;
}

.service-card h3,
.value-card h3,
.team-card h3,
.process-card h3,
.contact-card h3,
.info-card h3 {
  font-size: 1.15rem;
}

.service-card p,
.value-card p,
.team-card p,
.process-card p,
.contact-card p,
.info-card p {
  color: var(--ink-soft);
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  min-height: 178px;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.wide-band {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0;
  color: #ffffff;
  background: #04365f;
}

.wide-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.wide-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 69, 124, 0.97), rgba(0, 89, 158, 0.72), rgba(72, 150, 46, 0.86));
}

.wide-band-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.wide-band h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
}

.wide-band p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 74px;
  color: #ffffff;
  background: #04365f;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  text-shadow: 0 3px 16px rgba(0, 24, 48, 0.46);
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
}

.breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.breadcrumb a {
  color: #ffffff;
}

.breadcrumb span {
  color: #c9f6ec;
}

.story-panel {
  display: flow-root;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.wrap-image {
  width: min(44%, 430px);
  float: left;
  margin: 0 28px 14px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.wrap-image img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.story-panel p {
  color: var(--ink-soft);
}

.quote-panel {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 120, 201, 0.94), rgba(88, 169, 52, 0.92));
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.3rem, 3vw, 2.05rem);
  line-height: 1.35;
}

.quote-panel strong {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  padding: 16px;
  text-align: center;
}

.team-photo {
  width: min(100%, 210px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(220, 237, 255, 0.85), 0 18px 40px rgba(21, 48, 68, 0.14);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card p {
  margin: 7px 0 0;
  font-size: 0.95rem;
}

.service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(8, 120, 201, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #ffffff;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  color: #ffffff;
  border-color: var(--teal);
  background: var(--teal);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.service-detail-main > * + * {
  margin-top: 22px;
}

.service-detail-main p {
  color: var(--ink-soft);
}

.service-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 16px;
}

.aside-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 48, 68, 0.08);
}

.aside-panel h3 {
  font-size: 1.15rem;
}

.aside-panel ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.aside-panel li {
  padding: 11px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(21, 48, 68, 0.08);
}

.aside-panel li:last-child {
  border-bottom: 0;
}

.mini-stack {
  position: relative;
  min-height: 430px;
  margin-top: 18px;
}

.mini-stack img {
  position: absolute;
  width: 63%;
  height: 250px;
  object-fit: cover;
  border: 6px solid #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mini-stack img:nth-child(1) {
  top: 0;
  left: 0;
}

.mini-stack img:nth-child(2) {
  right: 0;
  top: 88px;
}

.mini-stack img:nth-child(3) {
  left: 12%;
  bottom: 0;
  width: 54%;
  height: 205px;
  box-shadow: 0 0 0 1px rgba(8, 120, 201, 0.1), 0 26px 72px rgba(8, 120, 201, 0.24);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid rgba(8, 120, 201, 0.13);
  border-radius: 16px;
  color: var(--ink-soft);
  background: var(--surface-soft);
}

.detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-items: stretch;
}

.gallery-item {
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item:nth-child(6n + 1) {
  grid-column: span 7;
  min-height: 360px;
}

.gallery-item:nth-child(6n + 2) {
  grid-column: span 5;
  transform: translateY(28px);
}

.gallery-item:nth-child(6n + 3),
.gallery-item:nth-child(6n + 4),
.gallery-item:nth-child(6n + 5),
.gallery-item:nth-child(6n + 6) {
  grid-column: span 3;
}

.gallery-item:nth-child(6n + 4) {
  transform: translateY(-18px);
}

.gallery-item:nth-child(6n + 5) {
  box-shadow: 0 0 0 1px rgba(8, 120, 201, 0.1), 0 24px 64px rgba(8, 120, 201, 0.22);
}

.request-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 26px;
  align-items: start;
}

.form-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-control {
  display: grid;
  gap: 7px;
}

.form-control.full {
  grid-column: 1 / -1;
}

.form-control label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 48, 68, 0.16);
  border-radius: 14px;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-control textarea {
  min-height: 150px;
  resize: vertical;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(8, 120, 201, 0.12);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-weight: 800;
}

.notice.success {
  color: #075e59;
  background: #daf5ed;
}

.notice.error {
  color: #8b2d28;
  background: #fbe7e4;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 76px);
  border-radius: var(--radius-lg);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 120, 201, 0.94), rgba(88, 169, 52, 0.92));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #062f52;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) repeat(4, minmax(150px, 0.75fr));
  gap: 34px;
  padding: 58px 0;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand p,
.footer-col a,
.footer-col li {
  color: rgba(255, 255, 255, 0.76);
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 166px;
    height: 46px;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .nav-toggle span {
    width: 18px;
  }

  .nav-toggle span + span {
    margin-top: 4px;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-inner {
    gap: 12px;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 12px;
    right: 12px;
    bottom: auto;
    z-index: 1200;
    width: auto;
    max-height: calc(100svh - var(--header-h) - 22px);
    align-items: stretch;
    display: block;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 58px rgba(21, 48, 68, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav > a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    margin-bottom: 4px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: min(48svh, 430px);
    overflow: auto;
    grid-template-columns: 1fr;
    padding: 6px;
    margin: 0 0 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border-radius: 14px;
    background: var(--surface-soft);
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: grid;
    transform: none;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-controls {
    left: 16px;
    right: auto;
    bottom: 20px;
  }

  .trust-grid,
  .card-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .split.reverse,
  .service-detail-layout,
  .request-panel,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .service-aside {
    position: static;
  }

  .detail-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero-carousel {
    min-height: 600px;
  }

  .hero-content h1,
  .hero-content h2,
  .page-hero h1 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero-content {
    padding-bottom: 74px;
  }

  .page-hero {
    min-height: 390px;
    padding-bottom: 48px;
  }

  .trust-grid,
  .card-grid,
  .service-grid,
  .feature-list,
  .process-grid,
  .team-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .image-stack,
  .mini-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .stack-img,
  .mini-stack img,
  .floating-note {
    position: static;
    width: 100% !important;
    height: auto !important;
    min-height: auto;
  }

  .stack-img img,
  .mini-stack img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .wrap-image {
    width: 100%;
    float: none;
    margin: 0 0 22px;
  }

  .wrap-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .service-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: auto;
    min-height: 260px;
    transform: none;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 138px;
    height: 40px;
  }

  .brand-name {
    max-width: 180px;
  }

  .hero-actions,
  .section-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 122px;
    height: 36px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .hero-content h1,
  .hero-content h2,
  .page-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
