:root {
  --navy: #081a42;
  --ink: #14213d;
  --green: #0d8b65;
  --leaf: #6fbd3f;
  --red: #c82424;
  --line: #dbe4e0;
  --mist: #edf7f3;
  --paper: #fffdf8;
  --sun: #f5c35d;
  --shadow: 0 22px 60px rgba(8, 26, 66, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  color: white;
  background: rgba(8, 26, 66, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  background: linear-gradient(135deg, var(--green), var(--leaf));
  color: white;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

nav {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.7rem);
  font-size: 0.95rem;
}

nav a {
  color: rgba(255, 255, 255, 0.84);
}

nav a:hover {
  color: white;
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.header-call {
  color: var(--navy);
  background: white;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("clinic-board.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 26, 66, 0.92) 0%, rgba(8, 26, 66, 0.76) 42%, rgba(8, 26, 66, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 26, 66, 0.8), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  padding: 9rem 0 8rem clamp(1rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 6.7rem);
  text-transform: uppercase;
}

h2 {
  max-width: 850px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy {
  max-width: 630px;
  margin: 1.1rem 0 1.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button.primary {
  color: white;
  background: var(--red);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info article {
  display: flex;
  gap: 1rem;
  min-height: 8.7rem;
  padding: 2rem clamp(1rem, 3vw, 2.6rem);
  background: white;
}

.quick-info svg {
  width: 2rem;
  height: 2rem;
  color: var(--green);
}

.quick-info span {
  display: block;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.quick-info strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
}

.quick-info small {
  color: #52606d;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4.5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.4rem;
}

.services-section {
  background:
    linear-gradient(180deg, var(--mist), #ffffff 72%);
}

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

.services-grid article {
  min-height: 9.2rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(8, 26, 66, 0.06);
}

.services-grid span {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.1rem;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.services-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.doctor-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: white;
}

.doctor-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 1.3rem 0 1.8rem;
  color: #40505e;
  font-size: 1.09rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.credentials span {
  padding: 0.65rem 0.85rem;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid #cce7dc;
  border-radius: 8px;
  font-weight: 800;
}

.clinic-photo {
  margin: 0;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.clinic-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.clinic-photo figcaption {
  padding: 1rem 1.1rem;
  font-weight: 800;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4.5rem);
  color: white;
  background:
    linear-gradient(135deg, rgba(8, 26, 66, 0.98), rgba(13, 139, 101, 0.9)),
    var(--navy);
}

.contact-section h2 {
  color: white;
}

address {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-actions a {
  display: flex;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.9rem 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .quick-info,
  .services-grid,
  .doctor-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.65rem 0.8rem;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .header-call {
    min-height: 2.4rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 26, 66, 0.94), rgba(8, 26, 66, 0.66)),
      linear-gradient(0deg, rgba(8, 26, 66, 0.9), transparent 52%);
  }

  .hero-content {
    width: 100%;
    padding: 7.8rem 1rem 5.5rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-info article {
    min-height: auto;
  }

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

  .services-grid article {
    min-height: 7rem;
  }
}
