:root {
  --ink: #081a3e;
  /* Deep Navy Blue */
  --muted: #4c607a;
  /* Muted Slate Blue */
  --teal: #0b57bc;
  /* Brand Indigo/Blue */
  --teal-dark: #051976;
  /* Dark Brand Navy */
  --green: #249489;
  /* Brand Teal-Green */
  --cream: #f0f7f7;
  /* Soft Light Mint/Cream */
  --white: #ffffff;
  --line: #d5e3e6;
  /* Light Teal-Grey Line */
  --shadow: 0 24px 60px rgba(8, 26, 62, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(8, 26, 62, 0.36);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.solid,
.site-header.is-scrolled {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(8, 26, 62, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.brand img {
  height: 77px;
  width: auto;
  max-width: 48vw;
}

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

.site-nav a {
  padding: 10px 11px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(11, 87, 188, 0.12);
  outline: none;
}

.nav-cta {
  color: var(--white);
  background: var(--teal);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible,
.site-nav .nav-cta.active {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 38px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-main {
  padding-top: 92px;
}

.page-hero {
  padding: 86px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 26, 62, 0.78), rgba(8, 26, 62, 0.52)),
    url("assets/clinic-hero.png") center / cover;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 54px;
  align-items: end;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

.page-hero p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 26, 62, 0.75) 0%, rgba(22, 74, 177, 0.45) 42%, rgba(8, 26, 62, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 26, 62, 0.5) 0%, rgba(8, 26, 62, 0) 46%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 48px;
}

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

.hero .eyebrow {
  color: #bce3b2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

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

.button.light {
  border-color: var(--line);
  background: var(--white);
}

.button.whatsapp {
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
}

.button.whatsapp:hover,
.button.whatsapp:focus-visible {
  background: #20ba5a;
  border-color: #20ba5a;
}

.info-strip {
  padding: 24px 0;
  background: var(--cream);
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.info-grid article,
.summary-card,
.detail-panel,
.values-grid article,
.service-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-grid article {
  padding: 18px;
  flex: 1 1 auto;
}

.info-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.info-grid strong {
  display: block;
  line-height: 1.25;
  white-space: nowrap;
}

.clinic-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.clinic-highlights div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.clinic-highlights dt {
  font-size: 1.3rem;
  font-weight: 900;
}

.clinic-highlights dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section,
.section-band,
.split-section,
.contact-section {
  padding: 92px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-band {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: end;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.split-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
}

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

.service-card,
.process-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  min-height: 310px;
  padding: 24px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card h3,
.summary-card h3,
.process-grid h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  line-height: 1.18;
}

.service-card p,
.summary-card p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
}

.service-row .card-icon {
  margin: 0;
}

.service-row h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.service-row p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split-section {
  background: #ecf4f8;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 900;
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.condition-list span {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.process-grid article {
  padding: 28px;
  box-shadow: none;
}

.process-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.values-grid article,
.detail-panel {
  padding: 28px;
}

.values-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.values-grid h3,
.detail-panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.values-grid p,
.detail-panel p {
  margin: 0;
  color: var(--muted);
}

.detail-panel dl {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.detail-panel dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-panel dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.testimonial-band {
  padding: 78px 0;
  color: var(--white);
  background: var(--ink);
}

.quote-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}

blockquote {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
}

.quote-wrap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 56px;
  align-items: start;
}

address {
  margin-top: 22px;
  color: var(--muted);
  font-style: normal;
  font-size: 1.08rem;
}

.contact-card {
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-card label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-card button {
  width: 100%;
  margin-top: 18px;
}

.appointment-card h2 {
  margin-bottom: 20px;
}

.send-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.send-option {
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  margin-top: 0;
}

.send-option:hover,
.send-option:focus-visible {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 122, 120, 0.16);
}

.send-option.whatsapp {
  color: var(--white);
  border-color: #25d366;
  ;
  background: #25d366;
  ;
}

.send-option.whatsapp:hover,
.send-option.whatsapp:focus-visible {
  background: var(--teal-dark);
}

.send-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}

.send-icon svg {
  width: 28px;
  height: 28px;
  fill: #25d366;
}

.send-option.email .send-icon {
  color: var(--white);
  background: var(--ink);
}

.send-option.email .send-icon svg {
  fill: var(--white);
}

.map-wrap {
  margin-top: 34px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .hero {
    min-height: min(700px, calc(100vh - 36px));
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 26, 62, 0.78) 0%, rgba(8, 26, 62, 0.45) 100%),
      linear-gradient(0deg, rgba(8, 26, 62, 0.5) 0%, rgba(8, 26, 62, 0) 52%);
  }

  .hero-content {
    padding-top: 132px;
  }

  .intro-grid,
  .split-grid,
  .contact-grid,
  .quote-wrap,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card-grid,
  .process-grid,
  .summary-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 70px;
    width: auto;
    max-width: 67vw;
  }

  .hero {
    min-height: min(760px, calc(100vh - 34px));
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .button {
    width: 100%;
  }

  .send-options {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 330px;
  }

  .clinic-highlights,
  .card-grid,
  .summary-grid,
  .condition-list,
  .process-grid,
  .values-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .page-main {
    padding-top: 82px;
  }

  .page-hero {
    padding: 62px 0 54px;
  }

  .section,
  .section-band,
  .split-section,
  .contact-section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .info-grid article {
    flex: 1 1 100%;
  }
}

/* Team/Doctor Section Styles */
.team-grid {
  display: grid;
  gap: 34px;
}

.doctor-card {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 40px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-photo-placeholder {
  aspect-ratio: 1 / 1;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--muted);
  padding: 20px;
  text-align: center;
}

.doctor-photo-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  stroke: var(--teal);
}

.doctor-photo-placeholder span {
  font-size: 0.88rem;
  font-weight: 800;
}

.doctor-details h3 {
  margin: 0 0 6px;
  font-size: 1.8rem;
  color: var(--ink);
}

.doctor-title {
  color: var(--teal);
  font-weight: 800;
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.doctor-bio {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.doctor-credentials strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.doctor-credentials ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

@media (max-width: 768px) {
  .doctor-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .doctor-photo-placeholder {
    max-width: 240px;
    margin: 0 auto;
  }

  .doctor-credentials ul {
    grid-template-columns: 1fr;
  }
}