﻿/* Care First Home Health Care — Premium Design System */
:root {
  /* Logo-based palette: deep navy + vibrant teal */
  --navy: #0d2b4a;
  --navy-deep: #071a2e;
  --teal: #00b4a6;
  --teal-dark: #009688;
  --teal-soft: #e4f9f7;
  --white: #ffffff;
  --bg: #f4faf9;
  --text: #1c3349;
  --muted: #526a80;
  --border: #d5e3ea;
  --shadow: 0 10px 28px rgba(13, 43, 74, 0.08);
  --shadow-lg: 0 20px 48px rgba(13, 43, 74, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 72px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
}

.section--bg {
  background: var(--bg);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.section__title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  max-width: 18ch;
}

.section__lead {
  font-size: 1.05rem;
  max-width: 58ch;
  margin-top: 0.75rem;
}

.section__header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
}

.section__title,
.section__header--center .section__title,
.hero__title,
.page-hero h1 {
  text-align: left;
}

.section__header--center .section__title {
  text-align: center;
}

.section__header--center .section__lead {
  text-align: center;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__header--center .section__title,
.section__header--center .section__lead {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(22, 166, 163, 0.28);
}

.btn--primary:hover {
  background: var(--teal-dark);
}

.btn--secondary {
  background: var(--navy);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--navy-deep);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(16, 42, 67, 0.08);
  border-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand__logo {
  height: 56px;
  width: auto;
  max-width: min(260px, 58vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  display: block;
  background: transparent;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
  display: grid;
  place-items: center;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand__name .accent {
  color: var(--teal);
}

.brand__tag {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a,
.nav .nav__btn {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a:hover,
.nav a.is-active,
.nav__item:hover > .nav__btn,
.nav__item.is-open > .nav__btn {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  display: none;
  z-index: 50;
}

.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown,
.nav__item.is-open > .nav__dropdown {
  display: grid;
}

.nav__dropdown a {
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav__dropdown a:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border);
}

.breadcrumbs a:hover {
  color: var(--teal-dark);
}

/* Hero — split banner (reference style) */
.hero {
  --hero-bg: #00657d;
  --hero-accent: #2af0f2;
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--hero-bg);
  background-image: linear-gradient(125deg, #00586e 0%, #007a92 48%, #0093a8 100%);
  padding: clamp(3rem, 7vw, 5rem) 0 4.75rem;
}

.hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #00506a 0%, #00657d 28%, rgba(0, 101, 125, 0.78) 42%, rgba(0, 122, 146, 0.35) 55%, transparent 72%),
    linear-gradient(180deg, rgba(0, 79, 99, 0.12) 0%, transparent 22%, transparent 80%, rgba(0, 79, 99, 0.14) 100%);
}

.hero__visual {
  position: absolute;
  inset: 0 0 0 22%;
  z-index: 0;
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 28%, #000 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 640px);
  max-width: 640px;
  margin-left: max(1.25rem, calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding: 0;
}

.hero__label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--hero-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(1.575rem, 4vw, 2.925rem);
  max-width: 13.5em;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: left;
  line-height: 1.15;
}

.hero__desc {
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  hyphens: manual;
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.hero .trust-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

.hero__wave-accent {
  fill: var(--hero-accent);
}

.hero__wave-base {
  fill: var(--white);
}

/* Legacy split hero support */
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.7rem;
  align-items: center;
  max-width: 240px;
}

.hero__badge strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.hero__badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(3.25rem, 7vw, 4.75rem) 0;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(115deg, rgba(7, 26, 46, 0.9) 0%, rgba(7, 26, 46, 0.7) 48%, rgba(0, 180, 166, 0.28) 100%),
    url("../images/client/female-nurse.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero--about,
.page-hero--services,
.page-hero--icu,
.page-hero--gallery,
.page-hero--contact {
  --page-hero-bg: #00657d;
  --page-hero-accent: #2af0f2;
  align-items: stretch;
  min-height: clamp(420px, 58vw, 560px);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 4.75rem;
  background-color: var(--page-hero-bg);
  background-image: linear-gradient(125deg, #00586e 0%, #007a92 48%, #0093a8 100%);
  overflow: hidden;
}

.page-hero--about .page-hero__visual,
.page-hero--services .page-hero__visual,
.page-hero--icu .page-hero__visual,
.page-hero--gallery .page-hero__visual,
.page-hero--contact .page-hero__visual {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: 0;
  pointer-events: none;
}

.page-hero--about .page-hero__visual img,
.page-hero--services .page-hero__visual img,
.page-hero--icu .page-hero__visual img,
.page-hero--gallery .page-hero__visual img,
.page-hero--contact .page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 38%, #000 100%);
}

.page-hero--about::before,
.page-hero--services::before,
.page-hero--icu::before,
.page-hero--gallery::before,
.page-hero--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #00586e 0%, #006f86 34%, rgba(0, 122, 146, 0.72) 48%, rgba(0, 147, 168, 0.28) 62%, transparent 82%),
    linear-gradient(180deg, rgba(0, 79, 99, 0.18) 0%, transparent 26%, transparent 78%, rgba(0, 79, 99, 0.2) 100%);
}

.page-hero--about .page-hero__inner,
.page-hero--services .page-hero__inner,
.page-hero--icu .page-hero__inner,
.page-hero--gallery .page-hero__inner,
.page-hero--contact .page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: min(100% - 2.5rem, 620px);
  margin-left: max(1.25rem, calc((100% - var(--container)) / 2));
  margin-right: auto;
  width: 100%;
}

.page-hero--about .breadcrumbs,
.page-hero--services .breadcrumbs,
.page-hero--icu .breadcrumbs,
.page-hero--gallery .breadcrumbs,
.page-hero--contact .breadcrumbs {
  padding-top: 0;
  margin-bottom: 1rem;
}

.page-hero--about .breadcrumbs ol,
.page-hero--services .breadcrumbs ol,
.page-hero--icu .breadcrumbs ol,
.page-hero--gallery .breadcrumbs ol,
.page-hero--contact .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-hero--about .breadcrumbs a,
.page-hero--services .breadcrumbs a,
.page-hero--icu .breadcrumbs a,
.page-hero--gallery .breadcrumbs a,
.page-hero--contact .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-hero--about .breadcrumbs li:not(:last-child)::after,
.page-hero--services .breadcrumbs li:not(:last-child)::after,
.page-hero--icu .breadcrumbs li:not(:last-child)::after,
.page-hero--gallery .breadcrumbs li:not(:last-child)::after,
.page-hero--contact .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero--about .page-hero__label,
.page-hero--services .page-hero__label,
.page-hero--icu .page-hero__label,
.page-hero--gallery .page-hero__label,
.page-hero--contact .page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 500;
}

.page-hero--about .page-hero__label::before,
.page-hero--services .page-hero__label::before,
.page-hero--icu .page-hero__label::before,
.page-hero--gallery .page-hero__label::before,
.page-hero--contact .page-hero__label::before {
  content: "";
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--page-hero-accent);
  flex-shrink: 0;
}

.page-hero--about h1,
.page-hero--services h1,
.page-hero--icu h1,
.page-hero--gallery h1,
.page-hero--contact h1 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  margin-bottom: 0.9rem;
  color: var(--white);
}

.page-hero--about h1 span,
.page-hero--services h1 span,
.page-hero--icu h1 span,
.page-hero--gallery h1 span,
.page-hero--contact h1 span {
  color: var(--page-hero-accent);
}

.page-hero--about p,
.page-hero--services p,
.page-hero--icu p,
.page-hero--gallery p,
.page-hero--contact p {
  max-width: 46ch;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  hyphens: manual;
}

.page-hero--about .page-hero__highlights,
.page-hero--services .page-hero__highlights,
.page-hero--icu .page-hero__highlights,
.page-hero--gallery .page-hero__highlights,
.page-hero--contact .page-hero__highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 520px;
}

.page-hero--about .page-hero__highlights li,
.page-hero--services .page-hero__highlights li,
.page-hero--icu .page-hero__highlights li,
.page-hero--gallery .page-hero__highlights li,
.page-hero--contact .page-hero__highlights li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 92px;
  padding: 0.55rem 0.35rem 0.6rem;
  border: 1.5px solid rgba(42, 240, 242, 0.85);
  border-radius: 12px;
  background: rgba(0, 70, 90, 0.35);
  box-shadow: 0 0 0 1px rgba(42, 240, 242, 0.12), inset 0 0 18px rgba(42, 240, 242, 0.08);
  text-align: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

.page-hero--about .page-hero__icon,
.page-hero--services .page-hero__icon,
.page-hero--icu .page-hero__icon,
.page-hero--gallery .page-hero__icon,
.page-hero--contact .page-hero__icon {
  display: inline-flex;
  color: var(--page-hero-accent);
  filter: drop-shadow(0 0 6px rgba(42, 240, 242, 0.35));
}

.page-hero--about .page-hero__icon i,
.page-hero--about .page-hero__icon svg,
.page-hero--services .page-hero__icon i,
.page-hero--services .page-hero__icon svg,
.page-hero--icu .page-hero__icon i,
.page-hero--icu .page-hero__icon svg,
.page-hero--gallery .page-hero__icon i,
.page-hero--gallery .page-hero__icon svg,
.page-hero--contact .page-hero__icon i,
.page-hero--contact .page-hero__icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.85;
}

.page-hero--about .page-hero__wave,
.page-hero--services .page-hero__wave,
.page-hero--icu .page-hero__wave,
.page-hero--gallery .page-hero__wave,
.page-hero--contact .page-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.page-hero--about .page-hero__wave svg,
.page-hero--services .page-hero__wave svg,
.page-hero--icu .page-hero__wave svg,
.page-hero--gallery .page-hero__wave svg,
.page-hero--contact .page-hero__wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

.page-hero--about .page-hero__wave-accent,
.page-hero--services .page-hero__wave-accent,
.page-hero--icu .page-hero__wave-accent,
.page-hero--gallery .page-hero__wave-accent,
.page-hero--contact .page-hero__wave-accent {
  fill: var(--page-hero-accent);
}

.page-hero--about .page-hero__wave-base,
.page-hero--services .page-hero__wave-base,
.page-hero--icu .page-hero__wave-base,
.page-hero--gallery .page-hero__wave-base,
.page-hero--contact .page-hero__wave-base {
  fill: var(--white);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero h1 {
  text-align: left;
  max-width: 18ch;
}

.page-hero p {
  opacity: 0.92;
  max-width: 58ch;
  text-align: left;
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.video-panel {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body p {
  text-align: justify;
}

.service-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card__body p {
  flex: 1;
  font-size: 0.95rem;
}

.service-card__link {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
}

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-frame img,
.media-frame video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
  text-align: left;
}

.checklist i {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.85rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.85rem 0 0.2rem;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-display);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

.gallery-item__tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(16, 42, 67, 0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.gallery-item.is-hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 46, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img,
.lightbox video {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  border-radius: 16px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 166, 163, 0.15);
  background: var(--white);
}

.form-field .error {
  color: #c81e1e;
  font-size: 0.82rem;
  display: none;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #c81e1e;
}

.form-field.is-invalid .error {
  display: block;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status--info {
  background: var(--teal-soft);
  color: var(--navy);
}

.contact-info-list {
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.contact-info-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
}

.contact-info-item span,
.contact-info-item a {
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep), #1a3d5c 55%, #127572);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  opacity: 0.88;
  max-width: 46ch;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer .brand__logo {
  background: #ffffff;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  height: 52px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer a:hover {
  color: var(--teal);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 36ch;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer__social a {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__social a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social i,
.footer__social svg {
  width: 1.05rem;
  height: 1.05rem;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer__bottom a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info-item a + a {
  display: block;
  margin-top: 0.2rem;
}

/* Floating actions */
.float-actions {
  position: fixed;
  right: 1rem;
  bottom: 5.2rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.float-btn--wa {
  background: #25d366;
}

.float-btn--call {
  background: var(--teal);
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  box-shadow: 0 -8px 30px rgba(16, 42, 67, 0.1);
}

.mobile-bar .btn {
  min-height: 46px;
  width: 100%;
  font-size: 0.88rem;
}

/* Motion system */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes soft-zoom {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__visual img {
  animation: soft-zoom 1.4s var(--ease) both;
}

.hero__content > * {
  opacity: 0;
  animation: fade-up 0.85s var(--ease) forwards;
}

.hero__content > *:nth-child(1) { animation-delay: 0.08s; }
.hero__content > *:nth-child(2) { animation-delay: 0.18s; }
.hero__content > *:nth-child(3) { animation-delay: 0.28s; }
.hero__content > *:nth-child(4) { animation-delay: 0.38s; }
.hero__content > *:nth-child(5) { animation-delay: 0.48s; }

.page-hero__inner > * {
  opacity: 0;
  animation: fade-up 0.8s var(--ease) forwards;
}

.page-hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero__inner > *:nth-child(2) { animation-delay: 0.14s; }
.page-hero__inner > *:nth-child(3) { animation-delay: 0.24s; }
.page-hero__inner > *:nth-child(4) { animation-delay: 0.34s; }
.page-hero__inner > *:nth-child(5) { animation-delay: 0.44s; }

.page-hero__highlights li {
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-hero__highlights li:hover {
  transform: translateY(-4px);
  background: rgba(0, 90, 110, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right,
.reveal.is-visible.reveal-scale {
  transform: none;
}

.media-frame {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(13, 43, 74, 0.14);
}

.media-frame img,
.media-frame video {
  transition: transform 0.7s var(--ease);
}

.media-frame:hover img,
.media-frame:hover video {
  transform: scale(1.03);
}

.cta-band {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cta-band:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(13, 43, 74, 0.18);
}

.faq details {
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq details:hover {
  border-color: rgba(0, 180, 166, 0.35);
}

.faq details[open] {
  border-color: rgba(0, 180, 166, 0.45);
  box-shadow: 0 12px 28px rgba(13, 43, 74, 0.08);
}

.faq details p {
  animation: fade-up 0.35s var(--ease);
}

.gallery-item {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(13, 43, 74, 0.12);
}

.filter-btn {
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.trust-pill {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.trust-pill:hover {
  transform: translateY(-2px);
}

.prepare__list li {
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.prepare__list li:hover {
  transform: translateX(4px);
  border-color: rgba(0, 180, 166, 0.45);
  box-shadow: 0 10px 24px rgba(13, 43, 74, 0.06);
}

.float-btn {
  animation: float-soft 3.8s ease-in-out infinite;
}

.float-btn--call {
  animation-delay: 0.6s;
}

.brand__logo {
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand__logo {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero__content > *,
  .page-hero__inner > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Prepare / discuss checklist */
.section--prepare {
  background:
    radial-gradient(circle at top left, rgba(0, 180, 166, 0.1), transparent 40%),
    linear-gradient(180deg, #f4faf9 0%, #eef7f6 100%);
}

.prepare {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.35rem;
  align-items: stretch;
}

.prepare__main,
.prepare__note {
  border-radius: 22px;
  border: 1px solid rgba(0, 180, 166, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(13, 43, 74, 0.06);
}

.prepare__main {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.prepare__main .section__title {
  max-width: 16ch;
}

.prepare__intro {
  max-width: 48ch;
  margin: 0.35rem 0 1.25rem;
  text-align: left;
  hyphens: manual;
}

.prepare__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prepare__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(213, 227, 234, 0.9);
  background: linear-gradient(180deg, #ffffff, #f7fbfb);
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.prepare__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--teal-dark);
  background: rgba(0, 180, 166, 0.12);
}

.prepare__icon i,
.prepare__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.prepare__note {
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(160deg, rgba(0, 180, 166, 0.12), transparent 42%),
    linear-gradient(180deg, #0d2b4a, #123a5c);
  border-color: transparent;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.prepare__note-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(42, 240, 242, 0.14);
  color: #7ef3f4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prepare__note h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.prepare__note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  hyphens: manual;
}

.prepare__note .btn {
  margin-top: 0.45rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .prepare {
    grid-template-columns: 1fr;
  }
}

/* Process steps */
.section--process {
  background:
    radial-gradient(circle at top right, rgba(0, 180, 166, 0.12), transparent 42%),
    radial-gradient(circle at bottom left, rgba(13, 43, 74, 0.06), transparent 46%),
    linear-gradient(180deg, #f2fbfa 0%, #ffffff 100%);
}

.section--process .section__title {
  max-width: 22ch;
  margin-inline: auto;
}

.section--process .section__lead {
  margin-inline: auto;
  text-align: center;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process--steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  position: relative;
}

.process--steps::before {
  content: "";
  position: absolute;
  top: 2.55rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 166, 0.35), transparent);
  z-index: 0;
  pointer-events: none;
}

.process__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem;
  position: relative;
}

.process--steps .process__item {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.55rem 1.35rem 1.45rem;
  border: 1px solid rgba(0, 180, 166, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 249, 0.98));
  box-shadow: 0 14px 34px rgba(13, 43, 74, 0.06);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.process--steps .process__item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 166, 0.45);
  box-shadow: 0 20px 42px rgba(13, 43, 74, 0.12);
}

.process__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.7rem;
}

.process--steps .process__item::before {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 0 0.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--white);
  background: linear-gradient(145deg, #00b4a6, #008f84);
  box-shadow: 0 8px 18px rgba(0, 180, 166, 0.28);
}

.process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  color: var(--teal-dark);
  background: rgba(0, 180, 166, 0.12);
  margin-bottom: 0.15rem;
}

.process__icon i,
.process__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.process--steps .process__item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.process--steps .process__item p {
  margin: 0;
  text-align: left;
  hyphens: manual;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.75rem;
}

.mt-2 {
  margin-top: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.content-prose h3 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.content-prose p,
.content-prose li {
  color: var(--muted);
}

.content-prose ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.content-prose li {
  padding-left: 1.1rem;
  position: relative;
}

.content-prose li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .grid-2,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 0;
    padding-bottom: 5rem;
    align-items: flex-end;
  }

  .hero__visual {
    inset: 0;
    opacity: 0.42;
  }

  .hero__visual img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center top;
  }

  .hero--split::before {
    background:
      linear-gradient(180deg, rgba(0, 88, 110, 0.92) 0%, rgba(0, 122, 146, 0.88) 48%, rgba(0, 104, 128, 0.94) 100%);
  }

  .hero__content {
    width: min(100% - 2.5rem, var(--container));
    max-width: var(--container);
    margin-inline: auto;
  }

  .page-hero--about,
  .page-hero--services,
  .page-hero--icu,
  .page-hero--gallery,
  .page-hero--contact {
    min-height: 0;
    padding-bottom: 5rem;
  }

  .page-hero--about .page-hero__visual,
  .page-hero--services .page-hero__visual,
  .page-hero--icu .page-hero__visual,
  .page-hero--gallery .page-hero__visual,
  .page-hero--contact .page-hero__visual {
    inset: 0;
    opacity: 0.42;
  }

  .page-hero--about .page-hero__visual img,
  .page-hero--services .page-hero__visual img,
  .page-hero--icu .page-hero__visual img,
  .page-hero--gallery .page-hero__visual img,
  .page-hero--contact .page-hero__visual img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center top;
  }

  .page-hero--about::before,
  .page-hero--services::before,
  .page-hero--icu::before,
  .page-hero--gallery::before,
  .page-hero--contact::before {
    background:
      linear-gradient(180deg, rgba(0, 88, 110, 0.92) 0%, rgba(0, 122, 146, 0.88) 48%, rgba(0, 104, 128, 0.94) 100%);
  }

  .page-hero--about .page-hero__inner,
  .page-hero--services .page-hero__inner,
  .page-hero--icu .page-hero__inner,
  .page-hero--gallery .page-hero__inner,
  .page-hero--contact .page-hero__inner {
    max-width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
  }

  .page-hero--about h1,
  .page-hero--services h1,
  .page-hero--icu h1,
  .page-hero--gallery h1,
  .page-hero--contact h1 {
    max-width: 16ch;
  }

  .page-hero--about .page-hero__highlights,
  .page-hero--services .page-hero__highlights,
  .page-hero--icu .page-hero__highlights,
  .page-hero--gallery .page-hero__highlights,
  .page-hero--contact .page-hero__highlights {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__phone {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a,
  .nav .nav__btn {
    padding: 0.85rem 1rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav__item {
    width: 100%;
  }

  .nav__dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.35rem 0.75rem;
    min-width: 0;
  }

  .nav__item.is-open > .nav__dropdown {
    display: grid;
  }

  .nav__item:hover > .nav__dropdown {
    display: none;
  }

  .nav__item.is-open:hover > .nav__dropdown {
    display: grid;
  }

  .grid-3,
  .process,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process--steps {
    grid-template-columns: 1fr 1fr;
  }

  .process--steps::before {
    display: none;
  }

  .brand__logo {
    height: 46px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .form-grid,
  .grid-3,
  .grid-4,
  .process,
  .process--steps,
  .gallery-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__media img {
    aspect-ratio: 5 / 4;
    border-radius: 20px;
  }

  .float-actions {
    bottom: 5.6rem;
    right: 0.75rem;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: 72px;
  }

  .page-hero--about,
  .page-hero--services,
  .page-hero--icu,
  .page-hero--gallery,
  .page-hero--contact {
    padding: 2.25rem 0 4.5rem;
  }

  .page-hero--about .page-hero__inner,
  .page-hero--services .page-hero__inner,
  .page-hero--icu .page-hero__inner,
  .page-hero--gallery .page-hero__inner,
  .page-hero--contact .page-hero__inner {
    max-width: min(100% - 1.5rem, var(--container));
  }

  .page-hero--about .page-hero__highlights,
  .page-hero--services .page-hero__highlights,
  .page-hero--icu .page-hero__highlights,
  .page-hero--gallery .page-hero__highlights,
  .page-hero--contact .page-hero__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .page-hero--about .page-hero__highlights li,
  .page-hero--services .page-hero__highlights li,
  .page-hero--icu .page-hero__highlights li,
  .page-hero--gallery .page-hero__highlights li,
  .page-hero--contact .page-hero__highlights li {
    min-height: 84px;
    font-size: 0.7rem;
  }

  .page-hero--about .page-hero__wave svg,
  .page-hero--services .page-hero__wave svg,
  .page-hero--icu .page-hero__wave svg,
  .page-hero--gallery .page-hero__wave svg,
  .page-hero--contact .page-hero__wave svg {
    height: 52px;
  }
}
