:root {
  --blue-950: #03183d;
  --blue-900: #06275f;
  --blue-800: #0a3f92;
  --blue-600: #1365c5;
  --blue-100: #e4f0ff;
  --green-600: #4aae3f;
  --green-500: #73c94f;
  --green-100: #ecf8e9;
  --ink: #102033;
  --muted: #647184;
  --line: #dce7f1;
  --white: #ffffff;
  --surface: #f6faff;
  --shadow: 0 18px 44px rgba(3, 24, 61, 0.11);
  --soft-shadow: 0 10px 28px rgba(3, 24, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  min-height: 92px;
  padding: 0 clamp(18px, 4vw, 64px);
  color: var(--blue-950);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.86) 48%, rgba(228, 240, 255, 0.34) 78%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16));
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(145%);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  height: 78px;
  min-height: 78px;
  color: var(--blue-950);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92)),
    var(--white);
  border-bottom-color: rgba(10, 63, 146, 0.12);
  box-shadow: 0 16px 42px rgba(3, 24, 61, 0.12);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  width: 172px;
  padding: 10px 22px 10px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 72%, rgba(255, 255, 255, 0));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  left: auto;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, transparent, rgba(10, 63, 146, 0.28), rgba(74, 174, 63, 0.34), transparent);
  opacity: 1;
}

.brand img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 8px 14px rgba(3, 24, 61, 0.18));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover img {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 10px 18px rgba(3, 24, 61, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 7px 10px;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-cta {
  color: var(--white);
  background: var(--blue-900);
  outline: none;
}

.nav-cta {
  color: var(--blue-950);
  background: var(--green-500);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--green-500);
  border: 0;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--blue-950);
}

.hero-slider {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.hero-slide {
  min-height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 650ms ease, transform 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 24, 61, 0.82) 0%, rgba(3, 24, 61, 0.55) 44%, rgba(3, 24, 61, 0.1) 100%),
    linear-gradient(0deg, rgba(3, 24, 61, 0.62), transparent 54%);
}

.hero-content {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  z-index: 4;
  max-width: 720px;
  padding: 0 clamp(18px, 5vw, 76px);
  color: var(--white);
  opacity: 1;
  transform: translateY(-50%);
  animation: heroReveal 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--green-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  opacity: 1;
  transform: translateY(0);
  animation: heroRevealActions 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both;
}

.hero.is-visible .hero-content {
  animation: heroReveal 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero.is-visible .hero-actions {
  animation: heroRevealActions 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 22px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes heroRevealActions {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--blue-950);
  background: var(--green-500);
  box-shadow: 0 14px 24px rgba(115, 201, 79, 0.2);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-controls {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button,
.testimonial-shell > button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-controls button:hover,
.testimonial-shell > button:hover {
  background: var(--green-500);
  color: var(--blue-950);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  border: 0;
  border-radius: 99px;
}

.hero-dots button.is-active {
  background: var(--green-500);
}

.hero-signature {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  bottom: 28px;
  z-index: 4;
  width: min(250px, 42vw);
  padding: 11px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.about,
.services,
.clients,
.news,
.contact {
  position: relative;
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 76px);
  overflow: hidden;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 760px;
}

h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about {
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
}

.story-panel,
.value-tabs,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.story-panel {
  min-height: 390px;
  padding: clamp(24px, 3.6vw, 40px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(228, 240, 255, 0.9)),
    var(--white);
}

.story-panel span {
  color: var(--green-600);
  font-weight: 900;
  text-transform: uppercase;
}

.story-panel h3,
.document-zone h3 {
  margin: 14px 0 18px;
  color: var(--blue-950);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.story-panel p,
.tab-panel p,
.service-card p,
.news-card p {
  color: var(--muted);
}

.value-tabs {
  padding: 14px;
}

.photo-frame {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.34), rgba(74, 174, 63, 0.2)),
    var(--photo, linear-gradient(135deg, var(--blue-900), var(--green-600)));
  background-size: cover;
  background-position: var(--photo-position, center);
  background-repeat: no-repeat;
  border: 1px solid rgba(220, 231, 241, 0.9);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 5px;
}

.photo-frame::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 11px;
  color: var(--blue-950);
  background: rgba(236, 248, 233, 0.88);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-about {
  min-height: 390px;
}

.department-gallery {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  margin-top: 28px;
  padding: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  border: 1px solid rgba(10, 63, 146, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(228, 240, 255, 0.82)),
    var(--white);
  box-shadow: 0 18px 44px rgba(3, 24, 61, 0.1);
}

.department-gallery::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.4vw, 16px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  pointer-events: none;
}

.department-slide {
  position: absolute;
  inset: clamp(10px, 1.4vw, 16px);
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  overflow: hidden;
  border-radius: 7px;
  transition: opacity 520ms ease, transform 760ms ease;
}

.department-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.department-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.department-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 24, 61, 0.84));
}

.department-slide figcaption {
  position: absolute;
  right: clamp(18px, 4vw, 46px);
  bottom: clamp(18px, 4vw, 42px);
  left: clamp(18px, 4vw, 46px);
  z-index: 2;
  color: var(--white);
}

.department-slide figcaption span {
  display: block;
  color: var(--green-500);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.department-slide figcaption strong {
  display: block;
  max-width: 560px;
  margin-top: 5px;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.18;
}

.department-controls {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.department-controls button {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.department-controls button.is-active {
  background: var(--green-500);
}

.lab-highlight {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
  margin-top: 28px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(228, 240, 255, 0.74)),
    var(--white);
  border: 1px solid rgba(10, 63, 146, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(3, 24, 61, 0.08);
}

.lab-highlight figure {
  min-height: 260px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(3, 24, 61, 0.08), rgba(3, 24, 61, 0.28)),
    var(--photo) var(--photo-position, center) / cover;
  border-radius: 8px;
}

.lab-highlight-copy {
  display: grid;
  align-content: center;
}

.lab-highlight-copy span {
  width: fit-content;
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-highlight-copy h3 {
  max-width: 720px;
  margin: 12px 0;
  color: var(--blue-950);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.lab-highlight-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.lab-highlight-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.lab-highlight-badges small {
  padding: 8px 11px;
  color: var(--blue-900);
  background: rgba(10, 63, 146, 0.08);
  border: 1px solid rgba(10, 63, 146, 0.14);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.values-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 24px;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 24, 61, 0.96), rgba(10, 63, 146, 0.88)),
    var(--blue-950);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(3, 24, 61, 0.12);
}

.values-heading h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.values-showcase .section-kicker {
  color: var(--green-500);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.values-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.values-grid span {
  color: var(--green-500);
  font-weight: 900;
}

.values-grid h4 {
  margin: 10px 0 8px;
  color: var(--white);
}

.values-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.tab-buttons button {
  min-height: 40px;
  color: var(--blue-950);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.tab-buttons button.is-active {
  color: var(--white);
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.tab-panel {
  display: none;
  min-height: 270px;
  padding: clamp(22px, 3.6vw, 32px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 39, 95, 0.96), rgba(10, 63, 146, 0.88)),
    var(--blue-900);
  border-radius: 8px;
}

.tab-panel.is-active {
  display: grid;
  align-content: center;
}

.tab-panel h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 2rem;
}

.tab-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-flip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(3, 24, 61, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.flip-card {
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  min-height: 326px;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-front {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.94)),
    var(--white);
}

.flip-back {
  display: grid;
  align-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(115, 201, 79, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(3, 24, 61, 0.72), rgba(10, 63, 146, 0.5) 50%, rgba(3, 24, 61, 0.68)),
    var(--service-photo) var(--service-position, center) / cover no-repeat;
  transform: rotateY(180deg);
}

.flip-back::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.flip-back::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 3px;
  background:
    linear-gradient(135deg, var(--green-500), #9add63);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(74, 174, 63, 0.22);
}

.flip-back strong {
  max-width: 78%;
  font-size: 1.35rem;
  line-height: 1.12;
  position: relative;
  z-index: 1;
}

.flip-back p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  max-width: 82%;
  color: rgba(255, 255, 255, 0.78);
}

.service-card:hover {
  border-color: rgba(74, 174, 63, 0.58);
  box-shadow: var(--soft-shadow);
  transform: translateY(-4px);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue-900);
  border-radius: 6px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--blue-950);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.22;
}

.service-card h3.service-title-long {
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.18;
}

.flip-front p {
  margin: 0;
  padding: 13px 14px;
  color: var(--blue-900);
  background: rgba(10, 63, 146, 0.06);
  border-left: 4px solid var(--green-500);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 650;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.service-tags small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--blue-900);
  background: rgba(10, 63, 146, 0.08);
  border: 1px solid rgba(10, 63, 146, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-self: start;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 13px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-norms-strip {
  margin-top: 28px;
}

.service-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.service-proof-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.96), rgba(10, 63, 146, 0.88)),
    var(--blue-950);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(3, 24, 61, 0.1);
}

.service-proof-strip strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 46px;
  padding: 0 10px;
  color: var(--blue-950);
  background: var(--green-500);
  border-radius: 6px;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-proof-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.norm-panel {
  align-content: start;
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.98), rgba(10, 63, 146, 0.92) 58%, rgba(5, 89, 82, 0.88)),
    var(--blue-950);
}

.norm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.norm-grid a {
  display: grid;
  align-content: center;
  min-height: 64px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.norm-grid strong {
  color: var(--white);
  font-size: 0.9rem;
}

.norm-grid small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
}

.norm-grid a:hover {
  transform: translateY(-2px);
  background: rgba(115, 201, 79, 0.18);
  border-color: rgba(115, 201, 79, 0.45);
}

.document-zone {
  --document-pad: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 24px;
  padding: var(--document-pad);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(228, 240, 255, 0.82), rgba(246, 250, 255, 0.98) 52%, rgba(236, 248, 233, 0.56)),
    var(--blue-100);
  border: 1px solid rgba(10, 63, 146, 0.15);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(3, 24, 61, 0.08);
}

.document-zone-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: calc(0px - var(--document-pad)) calc(0px - var(--document-pad)) 0;
  padding: clamp(24px, 3.4vw, 34px) var(--document-pad);
  background:
    linear-gradient(110deg, rgba(3, 24, 61, 0.98), rgba(10, 63, 146, 0.9));
  border-bottom: 1px solid rgba(115, 201, 79, 0.42);
  border-radius: 8px 8px 0 0;
}

.document-count {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-visual-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  margin: 24px 0;
}

.photo-frame.wide {
  min-height: 320px;
}

.visual-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 3.4vw, 36px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.96), rgba(10, 63, 146, 0.82)),
    var(--blue-950);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.visual-copy span {
  color: var(--green-500);
  font-weight: 900;
  text-transform: uppercase;
}

.visual-copy h3 {
  margin: 12px 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.visual-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.document-zone h3,
.document-zone .section-kicker {
  color: var(--white);
}

.document-zone .section-kicker {
  color: var(--green-500);
}

.document-zone h3 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.document-card {
  display: grid;
  align-content: space-between;
  min-height: 144px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease;
}

.document-card:hover {
  transform: translateY(-4px);
  background: rgba(115, 201, 79, 0.2);
}

.document-card strong {
  color: var(--white);
  font-size: 1.05rem;
}

.document-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.branch-document-grid {
  align-items: stretch;
}

.branch-document-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 200px;
  padding: 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(228, 240, 255, 0.72));
  border: 1px solid rgba(10, 63, 146, 0.14);
  border-top: 4px solid var(--blue-800);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(3, 24, 61, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.branch-document-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 63, 146, 0.24);
  box-shadow: 0 16px 38px rgba(3, 24, 61, 0.13);
}

.branch-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 0;
  color: var(--blue-800);
  background: transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.branch-document-card h4 {
  margin: 0 0 10px;
  color: var(--blue-950);
  font-size: 1.35rem;
  line-height: 1.1;
}

.branch-document-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.document-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.document-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border: 1px solid rgba(10, 63, 146, 0.24);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.document-actions a:hover {
  color: var(--blue-950);
  background: var(--green-500);
  transform: translateY(-2px);
}

.document-actions a.is-disabled {
  color: #8a96a6;
  background: #eef2f6;
  border-color: #e2e8ef;
  cursor: default;
}

.document-actions a.is-disabled:hover {
  transform: none;
}

.clients {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 24, 61, 0.96), rgba(6, 39, 95, 0.92)),
    var(--blue-950);
}

.clients h2,
.clients .section-kicker {
  color: var(--white);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 16px;
  align-items: center;
}

.testimonial-track {
  position: relative;
  min-height: 250px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4.4vw, 48px);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.client-logo {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: var(--blue-950);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 233, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial p {
  max-width: 920px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(1.18rem, 2.55vw, 2rem);
  line-height: 1.24;
}

.testimonial strong {
  color: var(--green-500);
  font-size: 1.1rem;
}

.client-photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.client-photo-row .photo-frame {
  min-height: 210px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.testimonial span {
  color: rgba(255, 255, 255, 0.68);
}

.news {
  background: var(--surface);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 18px;
}

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.social-card {
  min-height: 320px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.94), rgba(10, 63, 146, 0.78)),
    var(--blue-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.social-embed-card {
  display: grid;
  align-content: start;
  min-height: 560px;
  padding: 18px;
  color: var(--blue-950);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.92)),
    var(--white);
  border: 1px solid rgba(10, 63, 146, 0.14);
  box-shadow: 0 18px 44px rgba(3, 24, 61, 0.08);
}

.social-embed-card .social-card-head {
  margin-bottom: 14px;
}

.social-embed-card .social-card-head a {
  color: var(--blue-900);
}

.social-embed-frame {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: 440px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(228, 240, 255, 0.7));
  border: 1px solid rgba(10, 63, 146, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.social-embed-frame .instagram-media,
.social-embed-frame iframe {
  position: relative;
  z-index: 2;
  max-width: 100% !important;
  min-width: 0 !important;
}

.facebook-post-frame {
  width: 100%;
  min-height: 560px;
}

.social-embed-frame blockquote {
  margin: 0 !important;
}

.social-embed-fallback {
  position: absolute;
  inset: 12px;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.94), rgba(10, 63, 146, 0.78)),
    var(--blue-950);
  border-radius: 8px;
}

.social-embed-fallback strong {
  font-size: 1.2rem;
}

.social-embed-fallback p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.social-embed-fallback a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 4px;
  padding: 8px 12px;
  color: var(--blue-950);
  background: var(--green-500);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.social-card-head span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--blue-950);
  background: var(--green-500);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card-head a,
.social-card-head small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
}

.social-preview {
  display: grid;
  align-content: start;
  min-height: 440px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  border-color: var(--line);
}

.social-preview .social-card-head small {
  color: var(--blue-900);
}

.social-preview-media {
  min-height: 255px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(3, 24, 61, 0.06), rgba(3, 24, 61, 0.28)),
    var(--social-photo) center / cover;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(3, 24, 61, 0.1);
}

.social-preview h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.social-preview p {
  margin: 0;
  color: var(--muted);
}

.impact,
.location-section {
  position: relative;
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 76px);
  overflow: hidden;
}

.impact {
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.impact-grid article {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(3, 24, 61, 0.1), rgba(3, 24, 61, 0.88)),
    var(--impact-photo) center / cover;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.impact-grid article > span,
.impact-grid article > h3,
.impact-grid article > p {
  position: relative;
  z-index: 2;
}

.impact-photo-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.impact-photo-carousel i {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(3, 24, 61, 0.1), rgba(3, 24, 61, 0.88)),
    var(--impact-photo) center / cover;
  transition: opacity 900ms ease;
}

.impact-photo-carousel i.is-active {
  opacity: 1;
}

.impact-carousel-card {
  background: var(--blue-950);
}

.impact-grid span {
  color: var(--green-500);
  font-weight: 900;
}

.impact-grid h3 {
  margin: 10px 0;
  font-size: 1.35rem;
}

.impact-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(420px, 1.45fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(228, 240, 255, 0.56));
}

.location-copy p {
  color: var(--muted);
}

.location-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.location-details span {
  display: grid;
  gap: 2px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid rgba(10, 63, 146, 0.1);
  border-left: 3px solid var(--green-500);
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-size: 0.9rem;
}

.location-details strong {
  color: var(--blue-950);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.map-card {
  position: relative;
  min-height: 430px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(3, 24, 61, 0.12);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.map-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 7;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-900), var(--green-500), var(--blue-600));
}

.map-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(3, 24, 61, 0.16);
}

.map-mascot {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 6;
  width: 66px;
  height: 66px;
  padding: 4px;
  object-fit: cover;
  object-position: center 24%;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--green-500);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(3, 24, 61, 0.2);
}

.map-status {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 63, 146, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(3, 24, 61, 0.14);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 900;
}

.map-status span {
  width: 9px;
  height: 9px;
  background: var(--green-500);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(115, 201, 79, 0.16);
}

.map-embed {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 8px;
}

.map-embed iframe {
  width: 100%;
  height: 410px;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -78%);
  pointer-events: none;
}

.map-pin span {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  background: var(--green-500);
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 10px 24px rgba(3, 24, 61, 0.26);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 34px;
  height: 10px;
  background: rgba(3, 24, 61, 0.22);
  border-radius: 50%;
  transform: translateX(-50%);
}

.map-pin span::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(115, 201, 79, 0.42);
  border-radius: 50%;
  animation: mapPulse 2.2s ease-out infinite;
}

@keyframes mapPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.map-actions {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 231, 241, 0.9);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(3, 24, 61, 0.12);
  backdrop-filter: blur(12px);
}

.map-actions strong {
  display: block;
  color: var(--blue-950);
  font-size: 0.9rem;
}

.map-actions small {
  display: block;
  margin-bottom: 2px;
  color: var(--green-600);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-action-links {
  display: flex;
  gap: 8px;
}

.map-actions a {
  padding: 8px 11px;
  color: var(--blue-950);
  background: var(--green-500);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.map-actions a.map-contact-link {
  color: var(--blue-900);
  background: var(--white);
  border: 1px solid rgba(10, 63, 146, 0.16);
}

.map-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(3, 24, 61, 0.12);
}

.news-card {
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(6, 39, 95, 0.92), rgba(10, 63, 146, 0.72)),
    url("assets/hero-field.png") center / cover;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease;
}

.news-card:nth-child(2) {
  background:
    linear-gradient(150deg, rgba(3, 24, 61, 0.9), rgba(74, 174, 63, 0.55)),
    url("assets/hero-treatment.png") center / cover;
}

.news-card:nth-child(3) {
  background:
    linear-gradient(150deg, rgba(3, 24, 61, 0.9), rgba(10, 63, 146, 0.55)),
    url("assets/hero-lab.png") center / cover;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card.featured {
  min-height: 330px;
}

.news-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--blue-950);
  background: var(--green-500);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.news-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.instagram-card {
  gap: 12px;
}

.instagram-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 4px;
}

.instagram-gallery i {
  display: block;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(3, 24, 61, 0.16), rgba(115, 201, 79, 0.12)),
    var(--post, url("assets/hero-lab.png")) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.instagram-gallery i:nth-child(1) {
  --post: url("assets/hero-lab.png");
}

.instagram-gallery i:nth-child(2) {
  --post: url("assets/hero-field.png");
}

.instagram-gallery i:nth-child(3) {
  --post: url("assets/hero-treatment.png");
}

.instagram-gallery i:nth-child(4) {
  --post: url("assets/mascot.png");
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3.5vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-600);
  outline: 3px solid rgba(74, 174, 63, 0.18);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--blue-900);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(460px, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 34px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(110deg, var(--blue-950), var(--blue-900));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer img {
  width: 108px;
  padding: 7px;
  background: var(--white);
  border-radius: 4px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.92rem;
}

.footer-contact div {
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.footer-contact small,
.footer-contact strong {
  display: block;
}

.footer-contact small {
  margin-bottom: 4px;
  color: var(--green-500);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: 340px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--blue-950);
  border-left: 5px solid var(--green-500);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mascot-peek {
  position: absolute;
  z-index: 3;
  width: clamp(86px, 10vw, 132px);
  border-radius: 999px;
  filter: drop-shadow(0 18px 28px rgba(3, 24, 61, 0.24));
  pointer-events: none;
}

.mascot-about {
  right: clamp(10px, 3vw, 32px);
  top: 90px;
  transform: rotate(-6deg);
}

.mascot-services {
  right: clamp(12px, 4vw, 44px);
  top: 48px;
  transform: rotate(5deg);
}

.mascot-clients {
  right: clamp(12px, 5vw, 64px);
  bottom: -24px;
  transform: rotate(-4deg);
}

.mascot-news {
  right: clamp(12px, 5vw, 60px);
  top: 38px;
  transform: rotate(7deg);
}

.assistant-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.assistant-launcher {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 8px 16px 8px 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(115, 201, 79, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(3, 24, 61, 0.98), rgba(10, 63, 146, 0.92)),
    var(--blue-950);
  border: 1px solid rgba(115, 201, 79, 0.5);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(3, 24, 61, 0.24);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.assistant-launcher strong,
.assistant-launcher small {
  display: block;
  line-height: 1.05;
}

.assistant-launcher small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.assistant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 248, 233, 0.86));
  border: 2px solid rgba(115, 201, 79, 0.85);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 12px 26px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.assistant-avatar::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 10px;
  height: 10px;
  background: var(--green-500);
  border: 2px solid var(--white);
  border-radius: 999px;
}

.assistant-avatar.large {
  width: 62px;
  height: 62px;
}

.assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.assistant-panel {
  display: none;
  width: min(430px, calc(100vw - 36px));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.97));
  border: 1px solid rgba(220, 231, 241, 0.92);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(3, 24, 61, 0.24);
}

.assistant-panel.is-open {
  display: block;
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 12%, rgba(115, 201, 79, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(3, 24, 61, 0.98), rgba(10, 63, 146, 0.9)),
    var(--blue-950);
}

.assistant-head strong,
.assistant-head span {
  display: block;
}

.assistant-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.assistant-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 16px 0;
}

.assistant-capabilities span {
  padding: 6px 9px;
  color: var(--blue-900);
  background: rgba(228, 240, 255, 0.72);
  border: 1px solid rgba(10, 63, 146, 0.1);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  min-height: 190px;
  max-height: 290px;
  padding: 14px 16px 16px;
  overflow: auto;
}

.bot-message,
.user-message {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.bot-message {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(228, 240, 255, 0.7));
  border: 1px solid var(--line);
}

.user-message {
  justify-self: end;
  color: var(--white);
  background: var(--blue-900);
}

.assistant-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 12px;
}

.assistant-quick button {
  min-height: 42px;
  color: var(--blue-900);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(228, 240, 255, 0.72));
  border: 1px solid rgba(10, 63, 146, 0.12);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.assistant-quick button:hover {
  color: var(--blue-950);
  background: var(--green-100);
  border-color: rgba(74, 174, 63, 0.36);
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 12px;
}

.assistant-form input {
  min-height: 44px;
  border-radius: 999px;
  background: var(--white);
}

.assistant-form button,
.assistant-whatsapp {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

.assistant-form button {
  padding: 0 14px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border: 0;
  cursor: pointer;
}

.assistant-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px 16px;
  padding: 10px 14px;
  color: var(--blue-950);
  background:
    linear-gradient(135deg, var(--green-500), #9add63);
  box-shadow: 0 12px 28px rgba(74, 174, 63, 0.2);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .service-grid,
  .document-grid,
  .news-grid,
  .social-feed-grid,
  .values-grid,
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-zone,
  .section-visual-strip,
  .about-layout,
  .lab-highlight,
  .values-showcase,
  .location-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
    min-height: 74px;
    padding: 0 16px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.88)),
      var(--white);
    border-bottom-color: rgba(10, 63, 146, 0.12);
  }

  .brand {
    width: 126px;
    padding: 8px 14px 8px 0;
  }

  .brand::after {
    top: 12px;
    right: 0;
    bottom: 12px;
    left: auto;
  }

  .nav-toggle {
    display: block;
    border-radius: 8px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    color: var(--blue-950);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(3, 24, 61, 0.16);
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-slide {
    transform: scale(1.01);
  }

  .hero-slide img {
    object-position: center 32%;
  }

  .slide-overlay {
    background:
      linear-gradient(180deg, rgba(3, 24, 61, 0.32), rgba(3, 24, 61, 0.9)),
      linear-gradient(90deg, rgba(3, 24, 61, 0.74), rgba(3, 24, 61, 0.22));
  }

  .hero-content {
    top: 48%;
    padding: 0 18px;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.95rem);
    line-height: 1.04;
  }

  .hero p {
    margin-top: 16px;
    font-size: 0.98rem;
    max-width: 92%;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.7rem;
    gap: 8px;
  }

  .eyebrow::before,
  .section-kicker::before {
    width: 24px;
  }

  .hero-actions,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-controls {
    right: 18px;
    left: 18px;
    bottom: 22px;
    justify-content: space-between;
  }

  .about,
  .services,
  .clients,
  .news,
  .impact,
  .location-section,
  .contact {
    padding: 52px 18px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.4rem);
  }

  .service-grid,
  .document-grid,
  .news-grid,
  .social-feed-grid,
  .values-grid,
  .impact-grid,
  .service-proof-strip,
  .client-photo-row,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .value-tabs,
  .contact-form,
  .service-card {
    box-shadow: 0 8px 24px rgba(3, 24, 61, 0.08);
  }

  .story-panel,
  .tab-panel {
    min-height: auto;
  }

  .story-panel,
  .service-card,
  .visual-copy,
  .document-zone,
  .contact-form {
    --document-pad: 22px;
    padding: 22px;
  }

  .photo-frame,
  .photo-about,
  .lab-highlight figure,
  .department-gallery,
  .photo-frame.wide {
    min-height: 240px;
  }

  .department-gallery {
    min-height: 320px;
  }

  .values-showcase,
  .map-card {
    padding: 22px;
  }

  .document-zone-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .document-count {
    font-size: 0.7rem;
  }

  .branch-document-card {
    min-height: 190px;
    padding: 20px;
  }

  .flip-card-inner {
    min-height: 340px;
  }

  .norm-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client-logo {
    width: 70px;
    height: 70px;
  }

  .instagram-embed-card,
  .social-card,
  .impact-grid article,
  .map-card {
    min-height: 260px;
  }

  .map-mascot {
    top: 20px;
    right: auto;
    bottom: auto;
    left: 20px;
    width: 56px;
    height: 56px;
    opacity: 1;
  }

  .map-embed,
  .map-embed iframe {
    min-height: 330px;
    height: 330px;
  }

  .map-actions {
    right: 18px;
    bottom: 18px;
    left: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .map-action-links {
    width: 100%;
  }

  .map-actions a {
    width: 100%;
    text-align: center;
  }

  .map-status {
    top: 20px;
    right: 20px;
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .footer-brand,
  .footer-contact {
    justify-content: flex-start;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .photo-frame::before {
    inset: 10px;
  }

  .photo-frame::after {
    right: 12px;
    bottom: 12px;
    font-size: 0.68rem;
  }

  .document-card,
  .news-card,
  .news-card.featured {
    min-height: 220px;
  }

  .testimonial-track {
    min-height: 320px;
  }

  .testimonial {
    position: absolute;
    padding: 24px;
  }

  .testimonial p {
    font-size: 1.12rem;
  }

  .assistant-widget {
    right: 14px;
    bottom: 14px;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-shell > button {
    display: none;
  }

  .testimonial-track {
    min-height: 320px;
  }

  .assistant-launcher {
    min-height: 52px;
    padding: 7px 12px 7px 7px;
  }

  .assistant-launcher img {
    width: 42px;
    height: 42px;
  }

  .assistant-panel {
    width: calc(100vw - 28px);
    max-height: calc(100svh - 96px);
    border-radius: 12px;
  }

  .assistant-messages {
    min-height: 150px;
    max-height: 34svh;
    padding: 14px;
  }

  .assistant-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 14px 10px;
  }

  .assistant-form {
    grid-template-columns: 1fr;
    padding: 0 14px 12px;
  }

  .assistant-form button {
    min-height: 42px;
  }

  .assistant-whatsapp {
    margin: 0 14px 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin span::after {
    animation: none;
  }

  .map-card {
    transition: none;
  }
}

@media (max-width: 420px) {
  .hero-slide {
    transform: scale(1);
  }

  .hero-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 9.4vw, 2.45rem);
  }

  .btn {
    min-height: 46px;
  }

  .about,
  .services,
  .clients,
  .news,
  .impact,
  .location-section,
  .contact {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-footer {
    padding-right: 14px;
    padding-left: 14px;
  }
}
