:root {
  --primary: #2347a6;
  --primary-dark: #15327d;
  --secondary: #1b89d1;
  --accent: #6eb8e6;
  --accent-soft: #eaf6ff;
  --deep: #0c1736;
  --deep-2: #101f49;
  --text: #21304d;
  --muted: #66748f;
  --line: rgba(35, 71, 166, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(10, 29, 78, 0.14);
  --shadow-lg: 0 30px 90px rgba(9, 29, 79, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --nav-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 184, 230, 0.14), transparent 28%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 34%, #f6f9ff 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.section-pad { padding: 100px 0; position: relative; }
.container { position: relative; z-index: 2; }

.topbar {
  background: linear-gradient(90deg, var(--deep) 0%, var(--primary-dark) 100%);
  color: rgba(255,255,255,.92);
  font-size: .92rem;
  padding: 14px 0;
}
.topbar-info i { color: #8fd0ff; margin-right: 8px; }

.navbar {
  top: 0;
  padding: 18px 0;
  transition: all .35s ease;
  background: rgba(8, 24, 69, .08);
  backdrop-filter: blur(14px);
}
.navbar.scrolled {
  background: rgba(9, 26, 73, .88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  padding: 12px 0;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.navbar-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}
.navbar-brand small {
  display: block;
  letter-spacing: .26em;
  font-size: .68rem;
  opacity: .72;
}
.navbar-brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.navbar .nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  margin: 0 6px;
  position: relative;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #8fd0ff, #fff);
  transform: scaleX(0);
  transform-origin: center;
  transition: .3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { background: #fff; border-radius: 12px; padding: 10px 12px; }
.btn-nav {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 0;
  background: linear-gradient(135deg, #56b9ff 0%, #2f79e8 100%);
  box-shadow: 0 16px 32px rgba(54, 117, 225, .34);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 170px 0 140px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(123, 207, 255, .25), transparent 24%),
    radial-gradient(circle at 90% 20%, rgba(80, 155, 255, .18), transparent 28%),
    linear-gradient(135deg, rgba(6, 22, 60, .96), rgba(15, 41, 105, .94) 45%, rgba(18, 96, 165, .88));
}
.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .36;
  pointer-events: none;
}
.hero-shape-1 {
  width: 390px;
  height: 390px;
  top: -50px;
  right: -110px;
  background: radial-gradient(circle, rgba(101,194,255,.95), transparent 62%);
  animation: pulseGlow 10s infinite ease-in-out;
}
.hero-shape-2 {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(45,95,222,.95), transparent 62%);
  animation: pulseGlow 11s infinite ease-in-out reverse;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #0994ff;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  margin: 20px 0 20px;
  font-weight: 800;
}
.hero-copy p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.84);
  max-width: 690px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}
.btn-lg-custom {
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 800;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-width: 2px;
}
.btn-primary.btn-lg-custom,
.btn-primary {
  background: linear-gradient(135deg, #79d1ff 0%, #2b7af0 100%);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(46, 118, 237, .34);
}
.btn-outline-light.btn-lg-custom {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
}
.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
}
.glass-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 18px;
}
.mini-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mini-stat i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(137,212,255,.24), rgba(255,255,255,.06));
  font-size: 1.25rem;
}
.mini-stat strong { display:block; font-size: 1rem; }
.mini-stat span { display:block; color: rgba(255,255,255,.72); font-size: .92rem; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-main-card {
  position: relative;
  width: min(100%, 470px);
  min-height: 620px;
  padding: 38px 30px 30px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,250,255,.96));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-logo-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border-radius: 28px;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.hero-logo-wrap img {
  width: 100%;
  max-width: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(31, 74, 164, .18));
}
.hero-info-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(35,71,166,.06), rgba(16,137,203,.08));
}
.panel-label {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-bottom: 4px;
}
.hero-badge-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(13, 40, 95, .18);
  z-index: 3;
}
.hero-badge-card span,
.hero-badge-card strong { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); display: block; }
.hero-badge-card small { color: var(--muted); display: block; }
.badge-top-right { right: -22px; top: 34px; }
.badge-bottom-left { left: -22px; bottom: 104px; }
.badge-bottom-left i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.floating-card { animation: floatCard 6.8s ease-in-out infinite; }
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 120px; fill: #f5f9ff; }

.trust-strip {
  margin-top: -30px;
  position: relative;
  z-index: 5;
}
.trust-item {
  background: #fff;
  border-radius: 24px;
  padding: 26px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  height: 100%;
}
.trust-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.trust-item span { color: var(--muted); font-weight: 600; }

.section-heading { max-width: 780px; }
.section-heading h2,
.offer-panel h2,
.cta-box h2,
.contact-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.1;
  margin: 16px 0;
  color: var(--deep);
}
.section-heading p,
.lead-copy,
.contact-card p,
.offer-panel p,
.cta-box p { color: var(--muted); font-size: 1.05rem; }

.image-stack {
  position: relative;
  min-height: 560px;
}
.image-card {
  position: absolute;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
}
.image-card-lg {
  inset: 0 80px 40px 0;
}
.image-card-sm {
  width: 300px;
  height: 250px;
  right: 0;
  bottom: 0;
}
.image-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(35,71,166,.94), rgba(25,148,210,.86)),
    linear-gradient(180deg, #eef7ff, #d6ebff);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.image-placeholder.alt {
  background: linear-gradient(135deg, rgba(7,22,63,.96), rgba(30,74,172,.85));
}
.image-placeholder i {
  font-size: 3.2rem;
  margin-bottom: auto;
}
.image-placeholder span {
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 280px;
}
.feature-list { display: grid; gap: 20px; margin-top: 28px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.feature-item i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(35,71,166,.12), rgba(27,137,209,.12));
  color: var(--primary);
}
.feature-item strong { display:block; margin-bottom: 4px; font-size: 1.02rem; }
.feature-item p { margin: 0; color: var(--muted); }

.services-section {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
}
.service-card {
  height: 100%;
  padding: 30px 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(35, 71, 166, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 55px rgba(17, 46, 101, .16);
  border-color: rgba(27,137,209,.26);
}
.service-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 35px rgba(35,71,166,.24);
}
.service-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; color: var(--deep); }
.service-card p { margin: 0; color: var(--muted); }
.wide-card { min-height: 100%; }
.accent-card {
  background: linear-gradient(135deg, rgba(14,28,75,.98), rgba(34,74,171,.95));
  color: #fff;
}
.accent-card h3, .accent-card p { color: #fff; }
.accent-card p { opacity: .84; }

.offer-panel {
  border-radius: 36px;
  padding: 46px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(113, 203, 255, .28), transparent 25%),
    linear-gradient(135deg, rgba(8,23,64,.98), rgba(15,39,96,.97) 55%, rgba(14,113,176,.95));
  box-shadow: var(--shadow-lg);
}
.offer-panel h2 { color: #fff; }
.offer-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 16px 18px;
  margin-top: 24px;
}
.offer-note i { margin-top: 3px; color: #8fd0ff; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.offer-grid span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 700;
}

.doctors-section { background: #fff; }
.doctor-card {
  position: relative;
  height: 100%;
  padding: 28px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.doctor-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.doctor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 20px 34px rgba(21,50,125,.2);
}
.doctor-card h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 8px; color: var(--deep); }
.doctor-role {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: .95rem;
}
.doctor-card p { color: var(--muted); }
.doctor-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text);
}
.doctor-card li { margin-bottom: 8px; }

.gallery-section { background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%); }
.gallery-card {
  position: relative;
  min-height: 310px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.gallery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,16,39,.08) 10%, rgba(7,16,39,.68) 100%);
  z-index: -1;
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
}
.gallery-card span,
.gallery-card small {
  color: #fff;
  display: block;
}
.gallery-card span { font-size: 1.5rem; font-weight: 800; }
.gallery-card small { opacity: .8; margin-top: 6px; }
.large-card { min-height: 360px; }
.gallery-style-1 { background: linear-gradient(135deg, rgba(35,71,166,.9), rgba(96,188,235,.55)), url('material/img/logo.png') center/cover no-repeat; }
.gallery-style-2 { background: linear-gradient(135deg, rgba(13,26,73,.92), rgba(49,112,203,.62)), url('material/img/logo.png') center/cover no-repeat; }
.gallery-style-3 { background: linear-gradient(135deg, rgba(18,101,168,.9), rgba(130,211,255,.5)), url('material/img/logo.png') center/cover no-repeat; }
.gallery-style-4 { background: linear-gradient(135deg, rgba(11,33,83,.94), rgba(27,137,209,.55)), url('material/img/logo.png') center/cover no-repeat; }
.gallery-style-5 { background: linear-gradient(135deg, rgba(35,71,166,.88), rgba(11,33,83,.62)), url('material/img/logo.png') center/cover no-repeat; }

.cta-box {
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, #f2f8ff);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-card,
.map-card {
  background: #fff;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card { padding: 34px; }
.contact-list { display: grid; gap: 18px; margin: 26px 0 30px; }
.contact-list div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #f6faff;
  border-radius: 18px;
}
.contact-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  flex: 0 0 42px;
}
.contact-list a,
.footer-link { color: var(--accent); font-weight: 700; }
.contact-hours {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(35,71,166,.06), rgba(27,137,209,.08));
}
.contact-hours h3 { font-size: 1.2rem; margin-bottom: 14px; color: var(--deep); }
.contact-hours ul { margin: 0; padding-left: 18px; color: var(--text); }
.contact-hours li + li { margin-top: 10px; }
.map-card iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 30px;
}

.footer {
  padding: 28px 0 34px;
  background: linear-gradient(135deg, #091738, #132d73);
  color: rgba(255,255,255,.84);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
}
.footer-brand strong { display: block; color: #fff; font-size: 1.08rem; }
.footer-brand p { margin: 4px 0 0; }

.whatsapp-fancy {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18b759, #0f9f49);
  color: #fff;
  box-shadow: 0 18px 30px rgba(24, 183, 89, .28);
  font-weight: 800;
  transition: transform .3s ease, box-shadow .3s ease;
}
.whatsapp-fancy i { font-size: 1.3rem; }
.whatsapp-fancy:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 24px 40px rgba(24, 183, 89, .36);
  color: #fff;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .30; }
  50% { transform: scale(1.08); opacity: .48; }
}

@media (max-width: 1399px) {
  .badge-top-right { right: 4px; }
  .badge-bottom-left { left: 4px; }
}

@media (max-width: 1199px) {
  .navbar { background: rgba(9, 26, 73, .88); }
  .hero-section { min-height: auto; }
  .hero-mini-grid { max-width: 100%; }
  .image-stack { min-height: 480px; }
}

@media (max-width: 991px) {
  .section-pad { padding: 80px 0; }
  .hero-section { padding-top: 140px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
  .hero-main-card { min-height: auto; }
  .badge-top-right,
  .badge-bottom-left {
    position: static;
    margin-bottom: 14px;
  }
  .hero-info-panel,
  .cta-box { flex-direction: column; align-items: flex-start; }
  .image-card,
  .image-card-sm,
  .image-card-lg { position: relative; inset: auto; width: 100%; height: auto; }
  .image-stack { min-height: auto; display: grid; gap: 18px; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .navbar-brand img { width: 56px; height: 56px; }
  .navbar-brand strong { font-size: .95rem; }
  .hero-buttons,
  .cta-actions,
  .hero-mini-grid { grid-template-columns: 1fr; display: grid; }
  .hero-buttons .btn,
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-copy p { font-size: 1rem; }
  .hero-main-card { padding: 24px 18px 20px; border-radius: 24px; }
  .hero-logo-wrap { min-height: 300px; border-radius: 22px; }
  .trust-item { padding: 22px 14px; }
  .offer-panel,
  .cta-box,
  .contact-card { padding: 28px 22px; }
  .gallery-card,
  .large-card { min-height: 270px; }
  .map-card iframe { min-height: 380px; }
  .whatsapp-fancy { left: 14px; right: 14px; justify-content: center; }
}

.gallery-card {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 27, 73, .82), rgba(3, 27, 73, .18));
}

.gallery-card span,
.gallery-card small {
  position: relative;
  z-index: 2;
}

.gallery-card span {
  font-size: 1.35rem;
  font-weight: 700;
}

.gallery-card small {
  font-size: .95rem;
  opacity: .9;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
}

.large-card {
  min-height: 380px;
}

.gallery-overlay-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  z-index: 2;
}