:root {
  --navy-950: #071b2f;
  --navy-900: #0b2947;
  --navy-800: #103b63;
  --blue-700: #1666a8;
  --blue-600: #1b78c5;
  --blue-100: #e8f3fb;
  --blue-50: #f4f9fd;
  --slate-900: #172536;
  --slate-700: #40546a;
  --slate-500: #708196;
  --slate-300: #cbd6e2;
  --slate-200: #e3eaf1;
  --slate-100: #f1f5f8;
  --white: #ffffff;
  --gold: #d7a32a;
  --success: #167a57;
  --shadow-sm: 0 10px 30px rgba(11, 41, 71, 0.08);
  --shadow-lg: 0 28px 70px rgba(11, 41, 71, 0.15);
  --radius-sm: 0.7rem;
  --radius-md: 1.2rem;
  --radius-lg: 2rem;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(27, 120, 197, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 2.2rem), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-950);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.28rem;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 68ch;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section--soft {
  background: var(--blue-50);
}

.section--navy {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.6rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(11, 41, 71, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.contact-strip {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-950);
  font-size: 0.86rem;
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.7rem;
}

.contact-strip__links,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.contact-strip a {
  text-decoration: none;
}

.contact-strip a:hover {
  color: var(--white);
}

.language-switcher a {
  padding-block: 0.15rem;
  border-bottom: 2px solid transparent;
  font-weight: 800;
}

.language-switcher a[aria-current="true"] {
  border-color: var(--gold);
  color: var(--white);
}

.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.3rem;
  min-height: 5.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-950);
  text-decoration: none;
}

.brand img {
  width: 3.35rem;
  height: 3.35rem;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.02;
}

.brand__text strong {
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__text span {
  margin-top: 0.35rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.6rem;
}

.primary-nav a {
  position: relative;
  padding-block: 0.45rem;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-600);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--navy-950);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.8rem;
  color: var(--white);
  background: var(--navy-900);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 30px rgba(22, 102, 168, 0.25);
}

.button--primary:hover {
  background: var(--navy-800);
}

.button--light {
  border-color: var(--slate-200);
  color: var(--navy-950);
  background: var(--white);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button svg,
.text-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.header-cta {
  min-height: 2.85rem;
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 8.3rem));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.035), 0 0 0 10rem rgba(255, 255, 255, 0.02);
  content: "";
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(7, 27, 47, 0.96) 0%, rgba(7, 27, 47, 0.88) 38%, rgba(7, 27, 47, 0.3) 72%, rgba(7, 27, 47, 0.18) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-block: 6rem;
}

.hero__copy {
  max-width: 730px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #8dd1ff;
}

.hero h1 {
  color: var(--white);
}

.hero__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__proof div {
  padding-right: 1.5rem;
}

.hero__proof strong {
  display: block;
  color: var(--white);
  font-size: 1.3rem;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.quick-actions {
  position: relative;
  z-index: 4;
  margin-top: -2.2rem;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.quick-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding: 1.3rem 1.6rem;
  text-decoration: none;
}

.quick-action + .quick-action {
  border-left: 1px solid var(--slate-200);
}

.quick-action:hover {
  background: var(--blue-50);
}

.quick-action__icon,
.card-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
}

.quick-action__icon svg,
.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.quick-action small {
  display: block;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-action strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.03rem;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

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

.media-frame {
  position: relative;
}

.media-frame::before {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 1.5rem 0 0 0;
  background: var(--blue-100);
  content: "";
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.media-frame__badge {
  position: absolute;
  z-index: 2;
  right: -1.1rem;
  bottom: 2rem;
  max-width: 220px;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.media-frame__badge strong {
  display: block;
  font-size: 1.4rem;
}

.copy-block p {
  color: var(--slate-700);
}

.check-list,
.plain-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--slate-700);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 0.27rem;
  left: 0;
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--success);
  content: "\2713";
  font-size: 0.75rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--navy-950);
}

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

.service-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 1.65rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card__media {
  display: block;
  height: 190px;
  margin: -1.65rem -1.65rem 1.35rem;
  overflow: hidden;
  background: var(--blue-100);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  background: var(--blue-100);
  content: "";
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #a8cde8;
  box-shadow: var(--shadow-lg);
}

.service-card .card-icon {
  margin-bottom: 1.6rem;
}

.service-card p {
  color: var(--slate-700);
}

.service-card .text-link {
  margin-top: auto;
}

.principal-card {
  border-top: 4px solid var(--blue-600);
}

.service-number {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  padding: 0.32rem 0.48rem;
  border-radius: 0.45rem;
  color: var(--white);
  background: rgba(7, 27, 47, 0.8);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.diagnostic-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.media-frame.diagnostic-showcase img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-md) - 0.25rem);
  object-fit: cover;
  box-shadow: none;
}

.diagnostics-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.diagnostics-band__media {
  position: absolute;
  inset: 0 0 0 56%;
}

.diagnostics-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagnostics-band__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900), rgba(11, 41, 71, 0.08));
  content: "";
}

.diagnostics-band__content {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.diagnostics-band h2 {
  color: var(--white);
}

.diagnostics-band p {
  color: rgba(255, 255, 255, 0.74);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 2rem;
}

.service-pills span {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.value-card {
  padding: 1.7rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.value-card strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--navy-950);
  font-size: 1.1rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--slate-700);
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-700), var(--navy-900));
}

.contact-cta::after {
  position: absolute;
  top: -5rem;
  right: 4%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, 0.045);
  content: "";
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-cta h2 {
  max-width: 700px;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.contact-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.7rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.page-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 78% 28%, rgba(141, 209, 255, 0.65), transparent 24%), linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, 0.08));
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.page-hero h1 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.16rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb span::before {
  margin-right: 0.45rem;
  content: "/";
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.detail-main > img {
  width: 100%;
  max-height: 480px;
  margin-bottom: 2.4rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.detail-main h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.detail-main p,
.detail-main li,
.legal-content p,
.legal-content li {
  color: var(--slate-700);
}

.sidebar-card {
  position: sticky;
  top: 10rem;
  padding: 1.6rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--blue-50);
}

.sidebar-card h3 {
  font-size: 1.2rem;
}

.sidebar-card .button {
  width: 100%;
  margin-top: 0.55rem;
}

.notice {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--slate-700);
  background: #fff9e9;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.35rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.contact-card small {
  display: block;
  color: var(--slate-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  color: var(--navy-950);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--blue-700);
}

.form-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

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

.field label,
.field > span {
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 0.75rem;
  color: var(--slate-900);
  background: var(--white);
}

.field input,
.field select {
  min-height: 3.2rem;
  padding: 0.65rem 0.85rem;
}

.field textarea {
  min-height: 9rem;
  padding: 0.85rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(27, 120, 197, 0.13);
  outline: 0;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--slate-700);
  font-size: 0.86rem;
}

.checkbox-field input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
}

.form-note {
  margin-bottom: 0;
  color: var(--slate-500);
  font-size: 0.83rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.legal-content {
  max-width: 840px;
}

.legal-content h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-content h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.65rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 0.8fr 0.8fr;
  gap: 4rem;
  padding-block: 4.5rem 3.2rem;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand__text span {
  color: #8dd1ff;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 1.2rem;
}

.site-footer h3 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.empty-state {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.empty-state__card {
  max-width: 680px;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1040px) {
  .nav-row {
    gap: 1rem;
  }

  .primary-nav {
    gap: 1rem;
  }

  .primary-nav a {
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }

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

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .contact-strip__inner {
    min-height: 2.5rem;
  }

  .contact-strip__links a:first-child,
  .contact-strip__links span {
    display: none;
  }

  .nav-row {
    grid-template-columns: 1fr auto;
    min-height: 4.8rem;
  }

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

  .primary-nav {
    position: absolute;
    z-index: 101;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    min-height: calc(100dvh - 7.3rem);
    align-content: start;
    align-items: stretch;
    justify-content: start;
    gap: 0;
    padding: 1.1rem;
    overflow-y: auto;
    background: rgba(7, 27, 47, 0.98);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.05rem;
  }

  .primary-nav a[aria-current="page"] {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

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

  .hero {
    min-height: 700px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(7, 27, 47, 0.94), rgba(7, 27, 47, 0.7));
  }

  .quick-actions__grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .quick-action + .quick-action {
    border-top: 1px solid var(--slate-200);
    border-left: 0;
  }

  .split,
  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .media-frame img {
    min-height: 360px;
  }

  .diagnostics-band__media {
    inset: 0;
    opacity: 0.17;
  }

  .diagnostics-band__media::after {
    background: rgba(7, 27, 47, 0.72);
  }

  .contact-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar-card {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand__text span {
    display: none;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .contact-strip__links {
    gap: 0.6rem;
  }

  .language-switcher {
    gap: 0.7rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero__content {
    padding-block: 4rem;
  }

  .hero__actions,
  .contact-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .button,
  .contact-cta__actions .button {
    width: 100%;
  }

  .hero__proof {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero__proof div {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
  }

  .quick-actions {
    margin-top: -1rem;
  }

  .card-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 460px;
  }

  .service-card__media {
    height: 210px;
  }

  .media-frame img {
    min-height: 300px;
  }

  .media-frame__badge {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }
}

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