:root {
  --blue: #0074bc;
  --blue-dark: #003f70;
  --blue-soft: #eaf6fd;
  --green: #1a9b82;
  --ink: #153245;
  --muted: #607587;
  --line: #d9e7ef;
  --surface: #ffffff;
  --surface-soft: #f7fbfe;
  --shadow: 0 18px 55px rgba(0, 63, 112, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

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

.brand strong {
  font-size: 19px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue-dark);
}

.nav .nav-cta {
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px) 44px;
  background:
    linear-gradient(120deg, rgba(234, 246, 253, 0.78), rgba(255, 255, 255, 0) 44%),
    #fff;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 20px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.split-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--line);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 18px;
  color: #fff;
  background: rgba(0, 63, 112, 0.92);
  border-radius: 8px;
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  margin-bottom: 8px;
  color: #9ee5d8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats div {
  padding: 22px;
  background: var(--surface);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--blue);
  font-size: 26px;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.split-heading {
  justify-content: space-between;
  max-width: none;
}

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

.service-grid article,
.testimonial-grid article,
.blog-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 63, 112, 0.05);
}

.service-grid article {
  padding: 22px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.service-grid p,
.testimonial-grid p,
.blog-grid p,
.care-grid p,
.surgical-copy p {
  color: var(--muted);
}

.surgical-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: start;
  background: var(--surface-soft);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 0 8px 8px 0;
}

.steps span {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-grid figure:first-child img {
  height: 520px;
}

.gallery-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.gallery-grid span {
  color: var(--muted);
  font-size: 14px;
}

.care-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1fr;
  gap: clamp(26px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.care-grid p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.testimonials {
  background: #fff;
}

.testimonial-grid article {
  padding: 22px;
}

.testimonial-grid p {
  font-size: 18px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid span {
  color: var(--muted);
  font-size: 14px;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 56px);
}

.contact-note {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.appointment-panel {
  display: grid;
  gap: 16px;
}

.whatsapp-card,
.location-card,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 63, 112, 0.05);
}

.whatsapp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.whatsapp-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.whatsapp-button {
  color: #fff;
  background: var(--green);
  white-space: nowrap;
}

.location-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.location-card > a:first-child {
  display: block;
}

.location-card img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.location-card p {
  color: var(--muted);
}

.location-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.appointment-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.appointment-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: #fff;
  background: var(--blue-dark);
}

.footer .brand,
.footer a {
  color: #fff;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .surgical-band,
  .care-band,
  .appointment {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav a {
    padding: 8px 9px;
  }

  .hero-note {
    position: static;
    max-width: none;
    border-radius: 0 0 8px 8px;
  }

  .hero-media img {
    border-radius: 8px 8px 0 0;
  }

  .stats,
  .service-grid,
  .testimonial-grid,
  .blog-grid,
  .gallery-grid,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin: 0 18px;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }

  .gallery-grid img,
  .gallery-grid figure:first-child img {
    height: 260px;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .whatsapp-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-card img {
    width: 180px;
    height: 180px;
  }
}
