:root {
  --navy: #071422;
  --navy-2: #0c1f36;
  --navy-3: #12304f;
  --blue: #3b9bff;
  --blue-soft: #7ec0ff;
  --gold: #c9a44a;
  --gold-2: #e8d48a;
  --white: #f7fbff;
  --ink: #122033;
  --muted: #5b6d82;
  --line: #d7e4f2;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(7, 20, 34, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: #f3f7fb;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #050b14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand img, .brand svg {
  width: 44px;
  height: 48px;
  color: #fff;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.05;
}

.brand-name span {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9eb3c9;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #e8eef6;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }

.btn-call {
  background: #eef4fb;
  color: #071422;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #3b9bff, #1d6fd4);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 111, 212, 0.28);
}

.btn-ghost {
  background: transparent;
  color: #12304f;
  border: 1px solid #9eb8d4;
}

.btn-whatsapp {
  background: #1fad5a;
  color: #fff;
}

.btn-light {
  background: #edf4ff;
  color: #071422;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #f4f8fc;
  color: #122033;
  padding: 56px 0;
  overflow: hidden;
}

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

.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 64%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 78% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #f4f8fc 0%,
    #f4f8fc 34%,
    rgba(244, 248, 252, 0.86) 48%,
    rgba(244, 248, 252, 0.42) 64%,
    rgba(244, 248, 252, 0.08) 80%,
    transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy { max-width: min(560px, 100%); }

.hero-kicker {
  color: #5b6d82;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--gold-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: #1d6fd4;
  display: block;
}

.tagline {
  color: #5b6d82;
  margin: 0 0 28px;
  font-size: 1.05rem;
  max-width: min(520px, 100%);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin-top: 34px;
  color: #12304f;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.hero-points svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  color: #1d6fd4;
  flex: 0 0 22px;
  display: block;
  overflow: visible;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.trust-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px 20px;
}

.trust-card small { color: var(--blue-soft); display: block; margin-bottom: 4px; }

/* Sections */
section { padding: 84px 0; }

.section-head { max-width: 680px; margin-bottom: 36px; }

.section-head h2,
.panel h2,
.doctor-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-head p { color: var(--muted); margin-top: 10px; }

#about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 90% at 0% 45%, rgba(59, 155, 255, 0.24), transparent 68%),
    linear-gradient(90deg, #d7ebff 0%, #e4f2ff 32%, #eaf5ff 100%);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.panel.dark {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
}

.panel.dark p, .panel.dark li { color: #c9d8e8; }

.facts { display: grid; gap: 14px; margin-top: 22px; }

.facts li {
  list-style: none;
  padding-left: 18px;
  position: relative;
}

.facts a {
  color: #14529a;
  font-weight: 700;
  word-break: break-word;
}

.facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 9px;
}

/* Services */
.services {
  background: #ffffff;
}

.facilities-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
  margin: 22px 0 28px;
}

.services-head { max-width: 820px; margin-bottom: 0; }

.services-head h2 {
  font-family: "Cormorant Garamond", serif;
}

.en-lead {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
  margin-top: 12px;
}

.rct-highlight,
.kids-highlight {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid #3b9bff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.rct-highlight {
  border-color: #c9a44a;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.rct-highlight .focus-badge { background: #9a7420; }

.rct-highlight img,
.kids-highlight img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #dceeff;
}

.rct-highlight img { border-color: #ead9a8; }

.rct-highlight .highlight-doctor {
  object-position: center top;
}

.rct-highlight h3,
.kids-highlight h3 { font-size: 1.08rem; margin: 6px 0 4px; }

.rct-highlight p,
.kids-highlight p { color: var(--muted); font-size: 0.92rem; }

.rct-highlight a,
.kids-highlight a {
  display: inline-block;
  margin-top: 8px;
  color: #14529a;
  font-weight: 700;
  font-size: 0.9rem;
}

.facilities-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d6fd4;
  margin: 8px 0 14px;
}

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

.featured-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
}

.rct-featured {
  height: 280px;
}

.compact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.overlay-card {
  position: relative;
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff;
  display: block;
}

.overlay-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.overlay-card:hover img { transform: scale(1.06); }

.overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(7,20,34,0.08) 15%, rgba(7,20,34,0.78) 100%);
}

.overlay span {
  align-self: flex-start;
  background: rgba(59,155,255,0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 9px;
  margin-bottom: 10px;
}

.overlay h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.overlay p { color: #d5e4f4; font-size: 0.9rem; }

.compact-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #e4eef7;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: #3b9bff;
}

.compact-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}

.compact-card h3 { font-size: 0.98rem; line-height: 1.3; }

.compact-card p { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #b9d8f6;
}

.photo-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.service-body { padding: 18px 18px 20px; }

.service-body h3 { font-size: 1.12rem; }

.service-body a {
  display: inline-block;
  margin-top: 10px;
  color: #14529a;
  font-weight: 700;
  font-size: 0.9rem;
}

.rct-line {
  color: #e8d48a !important;
  font-weight: 700;
  margin: 8px 0 12px !important;
}

.badge-rct {
  background: #c9a44a;
  color: #071422;
  border-color: #c9a44a;
}

/* Doctor */
.doctor {
  background: linear-gradient(180deg, #102844, #071422);
  color: #fff;
  padding: 48px 0;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.doctor-card {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: center;
  box-shadow: none;
}

.doctor-focus {
  max-width: 180px;
}

.doctor-photo {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: #000;
  border: 3px solid rgba(59, 155, 255, 0.55);
  box-shadow: 0 0 0 6px rgba(59, 155, 255, 0.12);
}

.doctor-card h3 { font-size: 1.05rem; }

.doctor-card p { font-size: 0.82rem; color: #c9d8e8; }

.doctor-card a {
  color: #7ec0ff;
  font-weight: 700;
  word-break: break-word;
}

.doctor-copy p { color: #c9d8e8; margin: 10px 0 16px; }

.doctor-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: #d7e6f6;
}

.gallery { background: #f7fbff; }

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

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

/* Reviews */
.reviews { background: #eef5fb; }

.reviews-head { max-width: 720px; }

.review-summary {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
}

.review-score strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d6fd4;
  margin-bottom: 6px;
}

.stars {
  color: #f5b301;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 10px;
}

.review-score p { color: var(--muted); }

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.btn-ghost.dark {
  color: var(--ink);
  border: 1px solid var(--line);
}

.review-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 16px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #12304f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.review-card .stars {
  font-size: 1rem;
  margin: 4px 0 0;
}

.review-featured {
  position: relative;
  margin-top: 22px;
  padding: 28px;
  border: 2px solid #3b9bff;
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.review-featured .btn { margin-top: 16px; }

.focus-badge {
  display: inline-block;
  background: #1d6fd4;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.kids-card {
  border: 2px solid #3b9bff;
}

.review-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card h3 { font-size: 1.05rem; }

.review-card p { color: var(--muted); font-size: 0.95rem; }

.review-source {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d6fd4;
  font-weight: 700;
}

/* Contact */
.form { display: grid; gap: 12px; }

.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.form textarea { min-height: 110px; resize: vertical; }

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}

.map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.contact-meta { display: grid; gap: 12px; margin-top: 18px; }

.contact-meta a { color: #14529a; font-weight: 700; word-break: break-word; }

.form a { color: #14529a; font-weight: 700; word-break: break-word; }

/* Footer */
.site-footer {
  background: #050d16;
  color: #b7c7d8;
  padding: 36px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 { color: #fff; margin-bottom: 10px; }

.site-footer a {
  color: #7ec0ff;
  font-weight: 700;
  word-break: break-word;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.88rem;
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 40;
  font-size: 1.6rem;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.92rem;
  color: #1f7a43;
}

@media (max-width: 1100px) {
  .featured-grid, .compact-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-top { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    gap: 12px;
  }
  .brand img, .brand svg {
    width: 36px;
    height: 40px;
  }
  .brand-name { font-size: 0.95rem; letter-spacing: 0.08em; }
  .brand-name span { font-size: 0.52rem; }
  .menu-toggle { display: block; }
  .btn-call { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #050b14;
    flex-direction: column;
    padding: 20px;
    align-items: flex-start;
    gap: 16px;
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  section { padding: 48px 0; }

  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 36px;
  }
  .hero-media {
    position: relative;
    height: 240px;
    inset: auto;
  }
  .hero-media img {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-position: 80% center;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(244,248,252,0.08) 30%, #f4f8fc 100%);
  }
  .hero-copy { max-width: none; padding-top: 8px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .tagline { font-size: 0.98rem; }
  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .rct-highlight, .kids-highlight { grid-template-columns: 72px 1fr; }
  .rct-featured { height: 260px; }
  .overlay-card { height: 240px; }

  .about-grid,
  .contact-grid,
  .doctor-grid,
  .service-grid,
  .featured-grid,
  .compact-grid,
  .facilities-top,
  .trust-bar,
  .footer-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .doctor-grid { justify-items: center; text-align: center; }
  .doctor-copy { text-align: left; }
  .badge-row { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 160px; }
}

@media (max-width: 560px) {
  .hero-media { height: 210px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .compact-card { grid-template-columns: 64px 1fr; }
  .compact-card img { width: 64px; height: 64px; }
}
