:root {
  --bg: #ffffff;
  --bg-soft: #f3f8ff;
  --ink: #0f2038;
  --ink-muted: #4e627f;
  --brand: #1f5fbf;
  --brand-2: #2a7be4;
  --card: #ffffff;
  --line: #d7e4f6;
  --radius: 18px;
  --shadow: 0 18px 44px rgba(31, 95, 191, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(42, 123, 228, 0.1), transparent 35%),
    radial-gradient(circle at 84% 20%, rgba(31, 95, 191, 0.09), transparent 34%),
    var(--bg);
}

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

.topbar {
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
  background: #1c4b93;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  backdrop-filter: blur(9px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(31, 95, 191, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-text span {
  font-family: "Spectral", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
}

.brand-text small {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.brand-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #ffffff, #f1f7ff);
  border: 1px solid rgba(31, 95, 191, 0.22);
  box-shadow: 0 10px 24px rgba(31, 95, 191, 0.14);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.28rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

nav a {
  position: relative;
  font-size: 0.95rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s;
}

nav a:hover::after {
  width: 100%;
}

.cta-small,
.btn {
  border-radius: 999px;
  font-weight: 600;
}

.cta-small {
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1rem;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 5.5rem 0 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.35fr 0.9fr;
}

.hero h1,
h2 {
  font-family: "Spectral", serif;
  line-height: 0.98;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.hero-copy > p {
  color: var(--ink-muted);
  max-width: 60ch;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #2f6bc4;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.8rem 1.3rem;
}

.btn-primary {
  background: linear-gradient(120deg, #1f5fbf, #2f7de7);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #f8fbff;
}

.hero-points {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
}

.hero-media {
  position: relative;
  align-self: end;
  padding: 1rem;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% 7% auto auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 123, 228, 0.2), transparent 70%);
  z-index: 0;
}

.hero-photo-wrap {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(31, 95, 191, 0.2);
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  box-shadow: 0 24px 44px rgba(31, 95, 191, 0.2);
  padding: 0.55rem;
  overflow: hidden;
  z-index: 1;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 28px;
  display: block;
}

.hero-float {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 95, 191, 0.16);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  box-shadow: 0 12px 30px rgba(31, 95, 191, 0.16);
}

.hero-float p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.hero-float strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
}

.hero-float-top {
  top: -0.1rem;
  left: -0.55rem;
}

.hero-float-bottom {
  right: -0.35rem;
  bottom: 3.5rem;
}

.hero-pill {
  position: absolute;
  right: 1.4rem;
  bottom: 0.45rem;
  z-index: 2;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(110deg, #1f5fbf, #2f7de7);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  box-shadow: 0 10px 28px rgba(31, 95, 191, 0.38);
}

.trust-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin: 1rem 0 5rem;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-strip article {
  text-align: center;
  border-right: 1px dashed var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  font-size: 1.12rem;
}

.trust-strip span {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.doctor {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 5rem;
}

.doctor-photo {
  background: linear-gradient(160deg, rgba(20, 61, 122, 0.96), rgba(42, 123, 228, 0.9));
  border-radius: var(--radius);
  min-height: 360px;
  padding: 1.5rem;
  display: grid;
  align-content: center;
  gap: 1rem;
  color: #f7fbfb;
}

.doctor-logo {
  width: min(230px, 100%);
  border-radius: 18px;
  background: #fff;
  padding: 0.5rem;
}

.doctor-photo p {
  margin: 0;
  color: rgba(247, 251, 251, 0.92);
}

.doctor-photo ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(247, 251, 251, 0.94);
}

.doctor-copy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.doctor-copy p {
  color: var(--ink-muted);
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.doctor-tags span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.credentials {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.credentials article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fffefb;
}

.credentials h3 {
  margin: 0;
  font-size: 1rem;
}

.credentials p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
}

.credentials strong {
  font-size: 0.82rem;
  color: var(--brand);
}

.services,
.process,
.doctoralia,
.seo-content,
.faq,
.testimonials,
.contact {
  margin-bottom: 5rem;
}

.section-head {
  margin-bottom: 1.3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
}

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

.seo-content {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(140deg, #ffffff, #f6faff);
  padding: 1.4rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
}

.seo-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.seo-grid p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.seo-grid h3 {
  margin-top: 0;
}

.seo-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.45rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff, #f3f8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quotes {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-2);
  border-radius: 10px;
  padding: 1.3rem;
  color: var(--ink-muted);
}

.doctoralia-reel {
  position: relative;
}

.doctoralia-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
}

.doctoralia-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.review-card {
  background: linear-gradient(180deg, #fffefb, #f8f4ea);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(24, 35, 38, 0.06);
  flex: 0 0 calc((100% - 2rem) / 3);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.review-badge {
  border-radius: 999px;
  background: rgba(31, 95, 191, 0.12);
  color: var(--brand);
  border: 1px solid rgba(31, 95, 191, 0.2);
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  white-space: nowrap;
}

.review-card p {
  margin: 0 0 0.7rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-stars {
  color: #ffb321;
  letter-spacing: 0.16rem;
  font-size: 0.96rem;
  margin-bottom: 0.65rem;
}

.review-card small {
  color: var(--ink-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

.doctoralia-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.doctoralia-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #b9cbe8;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.doctoralia-dots button.active {
  background: var(--brand);
  transform: scale(1.25);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.faq-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}

.faq-grid p {
  margin: 0;
  color: var(--ink-muted);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.contact-copy {
  background: linear-gradient(130deg, #f7fbff, #eef5ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-copy ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 14px;
  display: block;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  background: linear-gradient(130deg, #25d366, #18a853);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  box-shadow: 0 14px 28px rgba(24, 168, 83, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.01em;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(24, 168, 83, 0.4);
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(170deg, #0f2e5c, #1f5fbf);
  color: #eaf2ff;
  padding: 2.4rem clamp(1rem, 4vw, 4rem) 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(234, 242, 255, 0.22);
}

.footer-brand img {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
  margin-bottom: 0.7rem;
}

.footer-brand p {
  margin: 0 0 0.9rem;
  color: rgba(234, 242, 255, 0.9);
  line-height: 1.55;
}

.footer-cta {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #1f5fbf;
  font-weight: 700;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: #ffffff;
}

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

.site-footer li,
.site-footer li a {
  color: rgba(234, 242, 255, 0.9);
  font-size: 0.92rem;
}

.site-footer li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: rgba(234, 242, 255, 0.86);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
}

.footer-credit {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(234, 242, 255, 0.14);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(234, 242, 255, 0.8);
}

.footer-credit a {
  color: #ffffff;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .doctor,
  .seo-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .faq-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    position: fixed;
    inset: 4.2rem 1rem auto 1rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.95rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
    justify-self: end;
  }

  .cta-small {
    display: none;
  }

  .brand-logo-wrap {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .brand-text small {
    display: none;
  }

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

  .hero-media {
    margin-top: 0.6rem;
  }

  .hero-float-top {
    top: 0.35rem;
    left: 0.35rem;
  }

  .hero-float-bottom {
    right: 0.45rem;
    bottom: 4rem;
  }

  .hero-pill {
    right: 1rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 680px) {
  .topbar {
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
  }

  .cards,
  .steps,
  .faq-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 0.7rem;
  }

  .trust-strip article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text span {
    font-size: 1.1rem;
  }

  .hero-float {
    position: static;
    margin-top: 0.65rem;
  }

  .hero-pill {
    position: static;
    display: inline-flex;
    margin-top: 0.75rem;
  }

  .map-card iframe {
    min-height: 320px;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.72rem 0.95rem;
    font-size: 0.92rem;
  }
}
