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

:root {
  --primary: #083f5f;
  --secondary: #00a6a6;
  --accent: #f3b33d;
  --dark: #102a43;
  --text: #334155;
  --muted: #64748b;
  --soft: #f1fbfb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.13);
  --radius: 28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

.container { width: min(1160px, 92%); margin: auto; }

.topbar {
  background: var(--dark);
  color: #e2e8f0;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0,166,166,.28);
}
.brand h2 { color: var(--dark); line-height: 1; letter-spacing: -.5px; }
.brand p { color: var(--secondary); font-size: 13px; font-weight: 700; }

nav { display: flex; gap: 22px; align-items: center; }
nav a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 15px; }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 11px 18px;
  border-radius: 999px;
}
.menu-btn { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, rgba(0, 166, 166, .22), transparent 26%),
    radial-gradient(circle at 8% 90%, rgba(243, 179, 61, .18), transparent 30%),
    linear-gradient(135deg, #e9fbfb, #ffffff 58%);
  padding: 105px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(8,63,95,.07);
  top: 90px;
  right: -110px;
}

.hero-grid,
.about-grid,
.payment-grid,
.appointment-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  color: var(--secondary);
  background: rgba(0,166,166,.09);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
}

.center { text-align: center; justify-content: center; }

h1 {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--dark);
  line-height: 1.04;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.14;
  letter-spacing: -1px;
}

h3 { color: var(--dark); margin-bottom: 10px; }

.hero-content p {
  font-size: 19px;
  margin-bottom: 26px;
  color: #475569;
}

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

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--primary), #0f6f8d);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(8,63,95,.22);
}

.secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid #dbeafe;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.trust-row div {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,166,166,.16);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.trust-row strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}

.trust-row span { font-size: 13px; font-weight: 700; color: var(--muted); }

.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-card, .about-panel, .service-card, .doctor-card, .journey-step, .testimonial-card, form, .map-box, .signature-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass {
  width: min(420px, 100%);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.7);
}

.hero-icon { font-size: 88px; margin-bottom: 18px; }

.floating-card {
  position: absolute;
  left: 0;
  bottom: 38px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
}

.floating-card span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.floating-card p { font-weight: 700; color: var(--dark); }

.quick-contact {
  margin-top: -36px;
  position: relative;
  z-index: 3;
}

.quick-grid {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
}

.quick-grid div {
  border-right: 1px solid #e2e8f0;
  padding-right: 14px;
}

.quick-grid strong { display: block; color: var(--dark); }
.quick-grid span { color: var(--muted); font-size: 14px; }

.section { padding: 88px 0; }
.soft { background: var(--soft); }

.section-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

.about-panel {
  border-top: 6px solid var(--secondary);
}

.about-panel ul { padding-left: 20px; }
.about-panel li { margin-bottom: 9px; }

.signature-box {
  margin-top: 24px;
  background: linear-gradient(135deg, #ffffff, #e9fbfb);
  border-left: 5px solid var(--accent);
}

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

.service-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease;
}

.service-card:hover, .doctor-card:hover, .journey-step:hover {
  transform: translateY(-7px);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #e9fbfb;
  color: var(--primary);
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.premium::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(0,166,166,.08);
  border-radius: 50%;
  right: -40px;
  bottom: -40px;
}

.journey-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.journey-step div {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.doctor-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doctor-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(0,166,166,.25);
}

.role {
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 10px;
}

.doctor-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.featured {
  border: 2px solid rgba(0, 166, 166, 0.28);
  background: linear-gradient(180deg, #ffffff, #f4ffff);
}

.featured::before {
  content: "Featured Dentist";
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--dark);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
}

.highlight {
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
}

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

.gallery-grid div {
  min-height: 190px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(8,63,95,.82), rgba(0,166,166,.78)),
    radial-gradient(circle at top right, rgba(255,255,255,.2), transparent 35%);
  color: white;
  font-size: 20px;
  font-weight: 900;
  display: grid;
  place-items: end start;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.testimonial-card p {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
}

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

.payment-boxes div {
  background: var(--white);
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 900;
  color: var(--primary);
}

.appointment-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(0,166,166,.12), transparent 30%),
    linear-gradient(135deg, #f2fbfb, #ffffff);
}

form { display: grid; gap: 14px; }

input, select, textarea {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
  outline-color: var(--secondary);
}

textarea { min-height: 110px; }

.contact-mini {
  margin-top: 24px;
  background: var(--white);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.whatsapp { margin-top: 18px; }

.map-box {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
  background: linear-gradient(135deg, #e9fbfb, #ffffff);
}

footer {
  background: #0c2438;
  color: #cbd5e1;
  padding-top: 56px;
}

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

footer h3, footer h4 { color: white; margin-bottom: 12px; }
.copy {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding: 18px;
}

@media (max-width: 1100px) {
  .service-grid, .doctor-grid, .journey-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar-inner { flex-direction: column; gap: 4px; text-align: center; }
  .hero-grid, .about-grid, .payment-grid, .appointment-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid div { border-right: 0; }
  .menu-btn { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow);
  }
  nav.show { display: flex; }
  .hero-visual { min-height: 360px; }
  .floating-card { left: 20px; }
}

@media (max-width: 640px) {
  .hero { padding: 76px 0 70px; }
  .quick-grid, .service-grid, .doctor-grid, .journey-grid, .testimonial-grid, .gallery-grid, .payment-boxes {
    grid-template-columns: 1fr;
  }
  .trust-row { grid-template-columns: 1fr; }
  h1 { letter-spacing: -1px; }
  .featured::before {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }
}

.hero-image-card {
  width: min(460px, 100%);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid rgba(255,255,255,.85);
  background: var(--white);
}

.hero-image-card img {
  width: 100%;
  display: block;
}

.image-gallery article {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.image-gallery article:hover {
  transform: translateY(-6px);
}

.image-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.image-gallery h3 {
  padding: 18px 20px 22px;
  margin: 0;
}

.gallery-grid.image-gallery div {
  min-height: auto;
  background: none;
  color: inherit;
  display: block;
  padding: 0;
}
