/* ============ VARIABLES ============ */
:root {
  /* Blue -> light blue palette */
  --blue: #2563eb;            /* primary */
  --blue-dark: #1d4ed8;       /* hover / text accents */
  --sky: #38bdf8;             /* light blue accent */
  --sky-soft: #e8f3ff;        /* soft tinted backgrounds */
  --sky-softer: #f3f9ff;      /* very light section background */
  --sky-border: #cfe3fa;

  --navy: #0b2545;
  --navy-light: #4a5d7a;
  --fb-blue: #0084ff;         /* Messenger brand blue */
  --fb-blue-dark: #006fd6;

  --off-white: #f6faff;
  --gray-200: #dbe6f3;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --white: #ffffff;
  --danger: #ef4444;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.07);
  --shadow-md: 0 10px 30px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.18);
  --header-h: 68px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-messenger {
  background: var(--fb-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 132, 255, 0.35);
}
.btn-messenger:hover { background: var(--fb-blue-dark); }
.btn-messenger i { font-size: 1.3rem; }

.btn-outline {
  background: var(--white);
  color: var(--blue-dark);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-call-nav {
  background: var(--blue);
  color: var(--white);
  padding: 11px 20px;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.btn-call-nav:hover { background: var(--blue-dark); }

.btn-large { padding: 18px 32px; font-size: 1.1rem; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.logo-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  color: var(--white);
  border-radius: 14px;
  font-size: 1.1rem;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text { font-weight: 500; }
.logo-text strong { color: var(--blue); font-weight: 800; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }

.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a {
  display: block;
  padding: 12px 8px;
  font-weight: 600;
  color: var(--navy-light);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--sky-soft); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(56, 189, 248, 0.25), transparent 60%),
    linear-gradient(180deg, var(--sky-soft) 0%, var(--white) 100%);
}
.hero-inner { display: grid; gap: 48px; align-items: center; }

.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--sky-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.accent {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--navy-light);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-cta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }

.hero-points { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.hero-points i { color: var(--sky); margin-right: 6px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--sky), var(--blue));
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  box-shadow: var(--shadow-lg);
}
.hero-tooth { font-size: 8rem; color: rgba(255, 255, 255, 0.95); }

.hero-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
}

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.float-chip i { color: var(--blue); }
.chip-1 { top: 6%; left: -6%; }
.chip-2 { bottom: 16%; right: -8%; animation-delay: 1.2s; }
.chip-3 { bottom: -2%; left: 8%; animation-delay: 2.4s; }
.chip-1 i { color: #f5b301; }
.chip-3 i { color: var(--danger); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ METRICS ============ */
.metrics {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 28px 0;
}
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.metric strong { display: block; font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; color: #bfe6ff; line-height: 1.1; }
.metric span { font-size: 0.8rem; color: #dcebff; font-weight: 500; }

/* ============ SECTIONS ============ */
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--sky-soft);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--navy-light); font-size: 1.05rem; }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sky); }

.icon-wrap {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--sky-soft);
  color: var(--blue);
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.icon-wrap.emergency { background: #fee8e8; color: var(--danger); }
.icon-wrap.small { width: 48px; height: 48px; font-size: 1.2rem; margin: 0; flex-shrink: 0; }

/* ============ SERVICES ============ */
.services-grid { display: grid; gap: 20px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { color: var(--navy-light); font-size: 0.97rem; }

/* ============ ABOUT ============ */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-text h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 16px; }
.about-text p { color: var(--navy-light); margin-bottom: 24px; font-size: 1.05rem; }

.about-features { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--navy-light); font-size: 0.93rem; }

/* ============ TEAM ============ */
.team-grid { display: grid; gap: 20px; }
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--sky-soft), #cfe6ff);
  color: var(--blue);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--sky);
  border-radius: 50%;
  font-size: 2.2rem;
}
.team-card h3 { font-size: 1.15rem; }
.credential {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 4px 12px;
  background: var(--sky-soft);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
}
.team-card p { color: var(--navy-light); font-size: 0.93rem; }

/* ============ CONTACT ============ */
.contact {
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(56, 189, 248, 0.25), transparent 60%),
    linear-gradient(180deg, var(--sky-soft) 0%, var(--white) 100%);
  color: var(--navy);
}
.section-head.light h2 { color: var(--navy); }
.section-head.light p { color: var(--navy-light); }
.section-head.light .eyebrow { background: var(--sky-soft); color: var(--blue); }

.contact-grid { display: grid; gap: 22px; max-width: 960px; margin-inline: auto; grid-template-columns: repeat(2, 1fr); }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px;
  padding: 48px 32px;
  min-width: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease;
}
.contact-card:hover { transform: translateY(-6px); }

.contact-icon {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: var(--sky-soft);
  color: var(--blue);
  border-radius: 50%;
  font-size: 2.2rem;
}
.contact-icon.facebook { background: #e5f2ff; color: var(--blue); font-size: 2.6rem; }
.contact-card h3 { font-size: 1.5rem; }
.contact-detail { font-size: 1.15rem; font-weight: 700; color: var(--navy-light); }
.contact-call .contact-detail { font-size: clamp(1.5rem, 6vw, 2rem); color: var(--blue); }
.contact-action {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.contact-chat .btn { margin-top: 8px; }

/* ============ FOOTER ============ */
.footer { background: #0a1f44; color: #b9cae6; padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.logo-light { color: var(--white); }
.logo-light .logo-text strong { color: var(--sky); }
.footer-about { margin: 14px 0 18px; max-width: 300px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials a[aria-label="Messenger"]:hover,
.socials a[aria-label="Facebook"]:hover { background: var(--fb-blue); }

.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer address { font-style: normal; display: grid; gap: 12px; }
.footer address i { color: var(--sky); width: 22px; }
.footer a:hover { color: var(--sky); }

.hours { display: grid; gap: 8px; font-size: 0.93rem; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.hours li span:first-child { color: var(--white); font-weight: 600; }

.hours-branch { margin-bottom: 20px; }
.hours-branch:last-child { margin-bottom: 0; }
.hours-branch-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sky);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; text-align: center; font-size: 0.88rem; }

/* ============ TABLET (>= 640px) ============ */
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-points { flex-direction: row; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .metric span { font-size: 0.95rem; }
}

/* ============ DESKTOP (>= 960px) ============ */
@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links { flex-direction: row; gap: 4px; }
  .nav-links a { padding: 8px 14px; }

  .hero { padding: 88px 0 100px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-card { width: 420px; }
  .hero-tooth { font-size: 10rem; }

  .section { padding: 96px 0; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ============ SERVICES: START STRIP, LISTS, MORE BANNER ============ */
.start-strip {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}
.start-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--sky-soft), var(--white));
  border: 1px solid var(--sky-border);
  border-radius: var(--radius);
}
.start-item h3 { font-size: 1.05rem; margin-bottom: 2px; }
.start-item p { color: var(--navy-light); font-size: 0.92rem; }

.service-card h3 { margin-bottom: 14px; }

.service-list { display: grid; gap: 10px; }
.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-light);
  line-height: 1.45;
}
.service-list i {
  color: var(--sky);
  margin-top: 4px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.more-banner {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--sky));
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.more-banner h3 { font-size: 1.5rem; margin-bottom: 4px; }
.more-banner p { color: #e3f0ff; }

/* ============ CONTACT DETAILS BLOCK ============ */
.contact-details-block { margin-top: 40px; }
.contact-details-block h3 { font-size: 1.3rem; }

.contact-info-grid {
  display: grid; gap: 16px; max-width: 960px; margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
}
.contact-info-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sky-border);
}
.contact-info-item i { color: var(--blue); font-size: 1.1rem; margin-top: 2px; }
.contact-info-item address { font-style: normal; line-height: 1.5; color: var(--navy); }
.contact-info-item p { line-height: 1.5; color: var(--navy); }
.contact-info-item a { color: var(--blue); border-bottom: 1px dotted var(--blue); transition: border-color 0.2s; }
.contact-info-item a:hover { border-color: transparent; }

.hours-light {
  display: grid; gap: 8px; font-size: 0.95rem;
  max-width: 480px; margin-inline: auto;
}
.hours-light li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 12px; background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}
.hours-light li span:first-child { color: var(--white); font-weight: 600; }
.hours-light li span:last-child { color: #dcebff; }
.privacy-content { display: grid; gap: 20px; }
.privacy-content p { color: var(--navy-light); line-height: 1.7; }
.privacy-content h3 { font-size: 1.1rem; color: var(--blue); margin-top: 16px; }
.privacy-content address {
  font-style: normal;
  padding: 16px 20px;
  background: var(--sky-soft);
  border-radius: var(--radius-sm);
  line-height: 1.8;
}

@media (min-width: 640px) {
  .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-details-block { margin-top: 48px; }
}

@media (min-width: 960px) {
  .contact-info-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .contact-details-block { margin-top: 64px; }
}

@media (min-width: 640px) {
  .start-strip { grid-template-columns: repeat(2, 1fr); }
  .more-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
  }
}