:root {
  --navy-950: #071a33;
  --navy-900: #0b2545;
  --navy-800: #103762;
  --blue-700: #185b8f;
  --teal-500: #35b7ac;
  --teal-100: #dff6f3;
  --warm-100: #f7f2ec;
  --rose-100: #f8e8e3;
  --white: #ffffff;
  --ink: #152234;
  --muted: #617087;
  --line: rgba(9, 37, 72, 0.14);
  --shadow: 0 24px 70px rgba(5, 20, 40, 0.18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfdff;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: 0;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(8, 31, 60, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(16, 55, 98, 0.18);
  background: var(--teal-100);
  color: var(--navy-900);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 66% 28%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.92) 0%, rgba(7, 26, 51, 0.74) 43%, rgba(7, 26, 51, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 26, 51, 0.52), rgba(7, 26, 51, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 40px));
  min-height: 88svh;
  margin-inline: clamp(20px, 4vw, 64px) auto;
  padding: calc(var(--header-height) + 56px) 0 64px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  text-transform: none;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 + .eyebrow {
  margin-bottom: 18px;
}

.hero-motto {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.intro-grid div {
  padding: 26px clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--line);
}

.intro-grid div:last-child {
  border-right: 1px solid var(--line);
}

.intro-grid span,
.contact-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-grid strong {
  color: var(--navy-900);
  font-size: 1.08rem;
}

.intro-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.intro-list li + li {
  margin-top: 4px;
}

.intro-item-specialty .intro-list {
  font-size: 1.08rem;
  line-height: 1.6;
}

.intro-item-specialty .intro-list li + li {
  margin-top: 10px;
}

.intro-item-monitoring .intro-list {
  font-size: 1.04rem;
  line-height: 1.52;
}

.intro-item-monitoring .intro-list li + li {
  margin-top: 7px;
}

.intro-grid .stacked-detail {
  display: grid;
  gap: 2px;
}

.intro-grid .stacked-detail span {
  margin: 0;
  color: var(--navy-900);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.two-column,
.contact-grid,
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 460px);
  gap: clamp(34px, 6vw, 72px);
}

.section-heading h2,
.contact-copy h2,
.approach h2 {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.centered h2,
.section-heading.centered p:last-child {
  margin-inline: auto;
}

.services .section-heading.centered {
  max-width: 920px;
}

.section-heading.centered p:last-child {
  margin-top: 16px;
  color: var(--muted);
}

.text-stack {
  display: grid;
  gap: 18px;
  color: #3f4e63;
  font-size: 1.08rem;
}

.services {
  background:
    linear-gradient(180deg, #f2f8fb 0%, #ffffff 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(14, 47, 85, 0.08);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--teal-100);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card h3,
.approach-list h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.13rem;
  line-height: 1.25;
}

.service-card p,
.approach-list p,
.contact-copy p,
.contact-panel p {
  color: var(--muted);
}

.approach {
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 26, 51, 0.97), rgba(16, 55, 98, 0.95));
}

.approach h2,
.approach .eyebrow {
  color: var(--white);
}

.approach .eyebrow {
  color: var(--teal-100);
}

.approach-list {
  display: grid;
  gap: 18px;
}

.approach-list article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.approach-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal-500);
  font-weight: 900;
}

.approach-list h3,
.approach-list p {
  color: var(--white);
}

.approach-list p {
  opacity: 0.78;
}

.contact {
  background: linear-gradient(180deg, var(--white), var(--warm-100));
}

.contact-copy p {
  max-width: 600px;
  margin: 18px 0 28px;
  font-size: 1.08rem;
}

.contact .button-secondary,
.contact .button-primary {
  color: var(--navy-950);
}

.appointment-options {
  display: none;
  gap: 10px;
  margin-top: 12px;
}

.appointment-options a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel a,
.contact-panel p {
  font-weight: 800;
}

.contact-panel a,
.contact-panel p {
  color: var(--navy-900);
}

.whatsapp-link {
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e4f8ed;
  color: #128c4a;
  font-size: 0.78rem;
  line-height: 1.2;
}

.contact-panel p + p {
  margin-top: 10px;
}

.contact-panel p strong {
  display: block;
  color: var(--navy-900);
}

.address-layout {
  display: grid;
  grid-template-columns: max-content 172px;
  gap: 12px;
  align-items: center;
}

.map-card {
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbfb;
  transition: border-color 160ms ease, transform 160ms ease;
}

.map-card:hover,
.map-card:focus-visible {
  border-color: rgba(53, 183, 172, 0.7);
  transform: translateY(-1px);
}

.map-card strong,
.map-card small {
  display: block;
}

.map-card strong {
  color: var(--navy-900);
  line-height: 1.25;
}

.map-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.map-preview {
  position: relative;
  display: block;
  height: 58px;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(24, 91, 143, 0.22) 49%, rgba(24, 91, 143, 0.22) 51%, transparent 52%),
    linear-gradient(0deg, transparent 46%, rgba(24, 91, 143, 0.18) 47%, rgba(24, 91, 143, 0.18) 50%, transparent 51%),
    linear-gradient(135deg, rgba(53, 183, 172, 0.32) 0 24%, transparent 24% 44%, rgba(247, 232, 227, 0.9) 44% 64%, transparent 64%),
    var(--teal-100);
}

.map-pin {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--teal-500);
  box-shadow: 0 8px 18px rgba(7, 26, 51, 0.2);
  transform: translateX(-50%) rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  content: "";
  background: var(--white);
}

@media (max-width: 520px) {
  .address-layout {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy-950);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 170ms ease, transform 170ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: 760px;
  }

  .hero-image {
    object-position: 58% 26%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 26, 51, 0.94), rgba(7, 26, 51, 0.66)),
      linear-gradient(0deg, rgba(7, 26, 51, 0.35), transparent);
  }

  .intro-grid,
  .service-grid,
  .two-column,
  .contact-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid div,
  .intro-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid div:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  :root {
    --header-height: 68px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    min-height: 720px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .appointment-options:not([hidden]) {
    display: grid;
  }

  .contact-panel,
  .service-card,
  .approach-list article {
    padding: 20px;
  }

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

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

  .footer-grid {
    align-items: flex-start;
  }
}
