:root {
  --navy: #1d1d45;
  --blue: #176fc2;
  --cyan: #37b6c9;
  --mint: #dff7f3;
  --ink: #15172d;
  --muted: #667085;
  --line: #e5eaf0;
  --paper: #ffffff;
  --soft: #f6f9fc;
  --shadow: 0 22px 60px rgba(29, 29, 69, .12);
}

* {
  box-sizing: border-box;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  color: #fff;
  background: var(--navy);
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar svg {
  width: 17px;
  height: 17px;
}

.topbar-phone {
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(229, 234, 240, .8);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand img {
  width: 206px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #30344d;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: #eef7ff;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(23, 111, 194, .22);
  font-weight: 800;
  cursor: pointer;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-ghost {
  color: var(--navy);
  background: #fff;
  border: 1px solid #cbdbea;
  box-shadow: none;
}

.btn-dark {
  background: var(--navy);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #eef7fb;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 250, 253, .98) 0%, rgba(246, 250, 253, .9) 37%, rgba(246, 250, 253, .28) 66%, rgba(246, 250, 253, .08) 100%);
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(620px, 100%);
  padding: 80px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 21px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p {
  max-width: 560px;
  font-size: 18px;
}

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

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

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

.trust-grid div {
  min-height: 108px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.trust-grid strong {
  color: var(--navy);
  margin-bottom: 8px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 94px 0;
}

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

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 680px;
  margin: 16px auto 0;
}

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

.service-card,
.post-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover,
.post-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 26px;
}

.service-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef7ff;
}

.service-card svg {
  width: 28px;
  height: 28px;
}

.service-card a,
.post-card a,
.contact-info a {
  color: var(--blue);
  font-weight: 800;
}

.split-section {
  background: linear-gradient(180deg, #fff 0%, #f3fbfb 100%);
}

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

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

.feature-list div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 22px;
  border: 1px solid #d7eef0;
  border-radius: 8px;
  background: #fff;
}

.feature-list svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: var(--cyan);
}

.page-hero {
  padding: 78px 0;
  background: linear-gradient(135deg, #eef8ff 0%, #f7fbfb 52%, #e7fbf5 100%);
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.prose {
  max-width: 860px;
  font-size: 18px;
  color: #3d4358;
  line-height: 1.9;
}

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

.team-list-section {
  padding-top: 46px;
}

.team-card {
  padding: 34px;
  color: inherit;
}

.avatar {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  font-size: 46px;
  font-weight: 800;
}

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

.team-card strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
}

.team-card-link {
  display: block;
}

.team-card-link h3 {
  font-size: 25px;
}

.team-more {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

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

.post-card {
  min-height: 240px;
  padding: 28px;
}

.post-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
}

.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 34px;
}

.contact-info a {
  display: block;
  margin-top: 14px;
}

.contact-form {
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.flash {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  color: #075b4c;
  background: #dff7f3;
  font-weight: 800;
}

.site-footer {
  padding: 64px 0 26px;
  color: #dfe6f3;
  background: var(--navy);
}

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

.footer-logo {
  width: 210px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  color: #dfe6f3;
  margin: 0 0 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #b8c3d8;
  font-size: 14px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #19b96f;
  box-shadow: 0 18px 34px rgba(22, 169, 105, .34);
  font-weight: 900;
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
}

.service-detail-hero {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(238, 248, 255, .96), rgba(232, 251, 246, .92)),
    radial-gradient(circle at 80% 20%, rgba(55, 182, 201, .16), transparent 34%);
}

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.service-detail-hero h1 {
  max-width: 760px;
}

.service-detail-hero p {
  max-width: 650px;
  font-size: 18px;
}

.service-detail-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow);
  background: #dfeaf2;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-section {
  background: #fff;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.service-content {
  min-width: 0;
}

.service-lead,
.appointment-sticky,
.service-benefits div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(29, 29, 69, .08);
}

.service-lead {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 24px;
}

.service-lead .icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #eef7ff;
}

.service-lead svg {
  width: 30px;
  height: 30px;
}

.service-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.service-benefits div {
  padding: 20px;
}

.service-benefits strong,
.service-benefits span {
  display: block;
}

.service-benefits strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.service-benefits span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.appointment-sticky {
  position: sticky;
  top: 112px;
  padding: 24px;
}

.appointment-sticky h2 {
  font-size: 25px;
}

.appointment-sticky p {
  margin-top: 8px;
}

.appointment-sticky .btn {
  width: 100%;
}

.doctor-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #eef8ff 0%, #f9fcff 48%, #e8fbf6 100%);
}

.doctor-hero-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.doctor-photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  box-shadow: var(--shadow);
  font-size: 92px;
  font-weight: 900;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-title {
  margin: 12px 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.doctor-detail-section {
  background: #fff;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 180px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .header-inner > .btn {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 590px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(246, 250, 253, .98) 0%, rgba(246, 250, 253, .88) 48%, rgba(246, 250, 253, .28) 100%);
  }

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

  .trust-grid,
  .service-grid,
  .team-grid,
  .post-grid,
  .split-grid,
  .contact-grid,
  .service-detail-hero-grid,
  .service-detail-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .appointment-sticky {
    position: static;
  }

  .service-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 9px 0;
    gap: 14px;
    font-size: 11px;
    line-height: 1.25;
  }

  .topbar svg {
    width: 14px;
    height: 14px;
  }

  .brand img {
    width: 158px;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 16px;
    background: #fff;
  }

  .trust-grid,
  .service-grid,
  .team-grid,
  .post-grid,
  .split-grid,
  .contact-grid,
  .service-detail-hero-grid,
  .service-detail-layout,
  .doctor-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doctor-hero {
    padding: 54px 0;
  }

  .doctor-photo {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .service-detail-hero {
    padding: 50px 0;
  }

  .service-lead {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 15px;
  }

  .section {
    padding: 66px 0;
  }

  .team-list-section {
    padding-top: 34px;
  }

  .page-hero {
    padding: 58px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
