/*--------------------------------------------------------------
# Tokens
--------------------------------------------------------------*/
:root {
  /* Palette sampled from the logo: navy "Neuro" (#2A5472), slate "Diagnostic"
     (#487284) and the teal EEG wave (#8ACCCC). Warmth comes from the photos. */
  --navy: #2A5472;
  --navy-900: #183A52;
  --slate: #487284;
  --teal: #0E8C93;
  --teal-700: #0A6A70;
  --teal-50: #E4F2F2;
  --wave: #8ACCCC;
  --mist: #E6EFF4;
  --ink: #1B2E3B;
  --muted: #566A77;
  --line: #DCE6EC;
  --bg: #FFFFFF;
  --bg-soft: #F1F6F9;
  --whatsapp: #1FAF54;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(24, 58, 82, .04), 0 10px 30px rgba(24, 58, 82, .07);
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1100;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

body.mobile-nav-open {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Building blocks
--------------------------------------------------------------*/
section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 400;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: .75rem;
}

.section-head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid var(--teal);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.button:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.button--ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.button--sm {
  padding: .55rem 1.1rem;
  font-size: .9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--teal-700);
}

.text-link i {
  transition: transform .2s;
}

.text-link:hover i {
  transform: translateX(3px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
}

.chips--sm li {
  background: var(--mist);
  border-color: transparent;
  font-size: .82rem;
  padding: .3rem .75rem;
}

.icon-tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 1.45rem;
}

.icon-tile--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Header & navigation
--------------------------------------------------------------*/
#header {
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  z-index: 997;
}

/* The blur lives on a pseudo-element: backdrop-filter on #header itself would
   make it the containing block for the fixed full-screen mobile menu. */
#header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

#header > .container {
  height: 100%;
}

#header.header-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(24, 58, 82, .06);
}

#header .logo img {
  height: 46px;
  width: auto;
  display: block;
}

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: .25rem;
}

.navbar .nav-link {
  display: block;
  padding: .5rem .8rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--teal-700);
  background: var(--teal-50);
}

.navbar .nav-cta {
  margin-left: .75rem;
}

.mobile-nav-toggle {
  display: none;
  color: var(--navy);
  font-size: 30px;
  line-height: 0;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 8px;
}

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

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  background: rgba(24, 58, 82, .55);
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #fff;
}

.navbar-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .25rem;
  position: absolute;
  top: 70px;
  right: 16px;
  left: 16px;
  max-height: calc(100% - 86px);
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.navbar-mobile .nav-link {
  font-size: 1.05rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
}

.navbar-mobile .nav-cta {
  margin: .5rem 0 0;
}

.navbar-mobile .nav-cta .button {
  width: 100%;
  justify-content: center;
  padding: .85rem 1.5rem;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  padding: calc(var(--header-h) + 64px) 0 72px;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(138, 204, 204, .30), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero .lead {
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero__media {
  position: relative;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

.hero__media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero__wave {
  position: absolute;
  width: 70%;
  left: -32%;
  top: 40%;
  color: var(--wave);
  opacity: .9;
}

.hero__badge {
  position: absolute;
  left: -32px;
  bottom: 32px;
  display: flex;
  gap: .75rem;
  align-items: center;
  max-width: 340px;
  padding: .9rem 1.1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: .85rem;
  line-height: 1.35;
}

.hero__badge i {
  font-size: 1.4rem;
  color: var(--teal);
}

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

.hero__badge strong {
  color: var(--navy-900);
}

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

/*--------------------------------------------------------------
# Why us
--------------------------------------------------------------*/
.why-us {
  padding: 0 0 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature h3 {
  font-size: 1.05rem;
  margin: .2rem 0 .35rem;
}

.feature p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 28px;
}

.about__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 2rem;
}

.mv__item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mv__item h3 {
  font-size: 1.1rem;
  margin: 1rem 0 .5rem;
}

.mv__item p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(24, 58, 82, .05), 0 18px 40px rgba(24, 58, 82, .1);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  background: var(--teal-50);
  overflow: hidden;
}

.service-card__media img,
.service-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  flex: 1;
  padding: 24px;
}

.service-card__body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.service-card__body p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.service-card__body > .text-link {
  margin-top: auto;
}

.guide-links {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.1rem;
}

.service-card--wide {
  grid-column: span 2;
  flex-direction: row;
}

.service-card--wide .service-card__media {
  flex: 0 0 46%;
  aspect-ratio: auto;
}

.service-card--wide .service-card__body {
  padding: 32px;
}

/*--------------------------------------------------------------
# Values
--------------------------------------------------------------*/
.values {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(138, 204, 204, .22), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  color: #fff;
}

.section-head--light h2 {
  color: #fff;
}

.section-head--light .eyebrow {
  color: var(--wave);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.value i {
  font-size: 1.6rem;
  color: var(--wave);
}

.value h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 1rem 0 .6rem;
}

.value p {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  margin: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team-group {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.team-grid + .team-group,
.doctor-grid + .team-group {
  margin-top: 48px;
}

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

.member {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.member:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.member__photo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--teal-50);
}

.member h4 {
  font-size: 1.02rem;
  margin: 0 0 .3rem;
}

.member__role {
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0;
  line-height: 1.4;
}

/* Flex (not grid) so an incomplete last row is centered */
.doctor-grid {
  --cols: 4;
  --gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.doctor {
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.doctor:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(24, 58, 82, .05), 0 18px 40px rgba(24, 58, 82, .1);
}

.doctor__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist);
}

.doctor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.doctor:hover .doctor__photo img {
  transform: scale(1.04);
}

.doctor__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.doctor__body h4 {
  font-size: 1rem;
  margin: 0 0 .35rem;
}

.doctor__role {
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0;
}

.doctor__note {
  font-size: .82rem;
  color: var(--muted);
  margin: .35rem 0 0;
  line-height: 1.45;
}

.doctor__id {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: auto 0 0;
  padding-top: .85rem;
  font-size: .78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.doctor__id i {
  color: var(--teal);
}

.member__photo--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  color: var(--navy);
  font-size: 2rem;
}

.member__id {
  font-size: .8rem;
  color: var(--muted);
  margin: .45rem 0 0;
  font-variant-numeric: tabular-nums;
}

.member__note {
  font-size: .85rem;
  color: var(--muted);
  margin: .35rem 0 0;
  line-height: 1.45;
}

/*--------------------------------------------------------------
# Guides (accordion)
--------------------------------------------------------------*/
.guides__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.guides__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.guides__intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.guides__intro > p {
  color: var(--muted);
}

.help-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.help-card i {
  font-size: 1.8rem;
  color: var(--teal);
}

.help-card strong {
  display: block;
  color: var(--navy-900);
}

.accordion {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: var(--radius);
  --bs-accordion-btn-padding-x: 1.4rem;
  --bs-accordion-btn-padding-y: 1.2rem;
  --bs-accordion-btn-color: var(--navy-900);
  --bs-accordion-active-color: var(--teal-700);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-btn-focus-border-color: var(--teal);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(14, 140, 147, .25);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23183A52'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A6A70'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-body-padding-x: 1.4rem;
  --bs-accordion-body-padding-y: .25rem;
}

.accordion-item {
  margin-bottom: 12px;
  border-radius: var(--radius) !important;
  overflow: hidden;
  border: 1px solid var(--line) !important;
}

.accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-body {
  padding-bottom: 1.4rem;
}

.accordion-body h4 {
  font-size: .98rem;
  margin: 1.1rem 0 .4rem;
}

.accordion-body p,
.accordion-body li {
  color: var(--muted);
  font-size: .95rem;
}

.prep-note {
  display: flex;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--navy-900) !important;
  margin: 1rem 0 0;
}

.prep-note i {
  color: var(--teal-700);
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--teal-50);
}

/* Wide tile spans two columns; its height follows the square tiles in its row
   (the image is taken out of flow so it can't stretch the row) */
.gallery-grid a.is-wide {
  grid-column: span 2;
  aspect-ratio: auto;
  position: relative;
}

.gallery-grid a.is-wide img {
  position: absolute;
  inset: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Reviews
--------------------------------------------------------------*/
.reviews {
  padding-top: 0;
}

.reviews__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(138, 204, 204, .22), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  color: #fff;
}

.reviews__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 2rem;
}

.reviews__copy h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: .5rem;
}

.reviews__copy .eyebrow {
  color: var(--wave);
}

.reviews__copy p:last-child {
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

.reviews__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.reviews__actions .button {
  justify-content: center;
}

.reviews__actions .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.reviews__actions .button--ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: #fff;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.08rem;
  margin: 0 0 .4rem;
}

.step p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: .75rem;
}

.contact__info > p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list li > div > strong,
.contact-list li > div > span {
  display: block;
}

.contact-list strong {
  color: var(--navy-900);
}

.contact-list li > div > span {
  color: var(--muted);
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.contact__map {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--mist);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .75);
  padding: 64px 0 32px;
  font-size: .92rem;
}

.footer a {
  color: rgba(255, 255, 255, .85);
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
}

.footer__brand {
  margin-bottom: 1rem;
}

.footer__brand img {
  height: 64px;
  width: auto;
}

.footer__title {
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}

/*--------------------------------------------------------------
# Floating WhatsApp
--------------------------------------------------------------*/
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(31, 175, 84, .35);
  transition: transform .2s;
}

.whatsapp-btn:hover {
  color: #fff;
  transform: scale(1.06);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .doctor-grid {
    --cols: 3;
  }
}

@media (max-width: 991px) {
  section {
    padding: 72px 0;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 0 56px;
  }

  .hero__grid,
  .about__grid,
  .guides__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__media {
    justify-self: center;
    max-width: 420px;
  }

  .hero__badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero__wave {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .about__media {
    max-width: 480px;
  }

  .about__media img {
    aspect-ratio: 4 / 3;
  }

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

  .guides__intro {
    position: static;
  }

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

  .doctor-grid {
    --cols: 2;
  }

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

  .reviews__card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 32px 24px;
  }

  .reviews__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 68px;
  }

  #header .logo img {
    height: 40px;
  }

  section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero__actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero__media img {
    aspect-ratio: 1;
  }

  .mv,
  .steps,
  .service-grid,
  .value-grid,
  .team-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card--wide {
    grid-column: auto;
    flex-direction: column;
  }

  .service-card--wide .service-card__media {
    flex: none;
    aspect-ratio: 4 / 3;
  }

  .service-card--wide .service-card__body {
    padding: 24px;
  }

  .member__photo {
    width: 80px;
    height: 80px;
  }

  .doctor-grid {
    --gap: 12px;
  }

  .doctor__body {
    padding: 12px 14px 14px;
  }

  .doctor__body h4 {
    font-size: .9rem;
  }

  .doctor__role {
    font-size: .82rem;
  }

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

  /* alone on its row at two columns, so it needs its own shape */
  .gallery-grid a.is-wide {
    aspect-ratio: 2 / 1;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 320px;
  }
}

/*--------------------------------------------------------------
# Scroll reveal
--------------------------------------------------------------*/
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
