/* ============================================
   Focus Dental Studio — shared stylesheet
   Palette drawn from the practice logo:
   navy #2B2A5C · blue #1B9CD8 · green #0E8A3E
   ============================================ */

:root {
  --navy: #2b2a5c;
  --navy-dark: #201f47;
  --blue: #1b9cd8;
  --blue-dark: #1478ab;
  --green: #0e8a3e;
  --green-dark: #0b6e32;
  --ink: #2d3142;
  --ink-soft: #5a5f73;
  --cloud: #f4f7fa;
  --mist: #e8eef4;
  --white: #ffffff;
  --radius: 10px;
  --border: #e2e8f0;
  --shadow: 0 4px 12px -2px rgba(43, 42, 92, 0.08), 0 2px 4px -2px rgba(43, 42, 92, 0.06);
  --shadow-soft: 0 1px 3px rgba(43, 42, 92, 0.07), 0 1px 2px rgba(43, 42, 92, 0.05);
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  font-size: 17.5px;
}

h1, h2, h3, h4, .section-label, .btn, nav.main-nav a {
  font-family: var(--font-head);
}

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

a { color: var(--blue-dark); }

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

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #d8dcf0;
  font-size: 0.85rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 20px;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover { color: #9fd8f7; }

.topbar .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.site-header .logo img { height: 67px; width: auto; }

nav.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav.main-nav a:hover { color: var(--blue-dark); }

nav.main-nav a.active {
  color: var(--blue-dark);
  border-bottom-color: var(--green);
}

nav.main-nav a.nav-cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  border-bottom: none;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s;
}

nav.main-nav a.nav-cta:hover { background: #094f24; color: var(--white); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Hero ---------- */
section.hero {
  position: relative;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 720px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.hero-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(221, 241, 251, 0.78) 0%, rgba(232, 244, 252, 0.78) 55%, rgba(224, 244, 233, 0.78) 100%);
  text-align: center;
  padding: 28px 0 32px;
}

.hero-band h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--navy);
}

.hero-band .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--navy);
  max-width: 640px;
  margin: 0 auto 20px;
}

.hero-band .btn { font-size: 0.91rem; }

.hero-band .btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(43, 42, 92, 0.45);
}
.hero-band .btn-outline:hover { background: rgba(255, 255, 255, 0.5); border-color: var(--navy); }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, #ddf1fb 0%, #e8f4fc 55%, #e0f4e9 100%);
  color: var(--navy);
  text-align: center;
  padding: 64px 0 68px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-hero p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.btn:hover { box-shadow: var(--shadow); }

.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: #094f24; }

.btn-secondary { background: var(--blue-dark); color: var(--white); }
.btn-secondary:hover { background: #0e5f89; }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--cloud); border-color: #c8d4e0; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

section.tint { background: var(--cloud); }

.section-label {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

h2.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.center { text-align: center; }

.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 780px; }

.center .lead { margin: 0 auto; }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.card:hover { box-shadow: var(--shadow); border-color: #c8d4e0; }

.card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:nth-child(1) .icon { background: #e3f2fb; }
.card:nth-child(2) .icon { background: #e4f4ea; }
.card:nth-child(3) .icon { background: #e9e9f4; }

.card .icon svg { width: 32px; height: 32px; }

.card h3 {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Checklist ---------- */
ul.checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

ul.checklist li {
  padding-left: 34px;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}

ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/13px no-repeat;
}

/* ---------- Banner / brand strip ---------- */
.brand-strip {
  background: linear-gradient(120deg, #ddf1fb 0%, #e3f4fc 55%, #e0f4e9 100%);
  color: var(--navy);
  text-align: center;
  padding: 58px 0;
}

.brand-strip h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.brand-strip p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 26px; }

/* ---------- Team ---------- */
.doctor-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: start;
}

.doctor-feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.doctor-feature h2 {
  color: var(--navy);
  font-size: 1.9rem;
  font-weight: 800;
}

.doctor-feature .credentials {
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.doctor-feature p { margin-bottom: 16px; color: var(--ink-soft); }

.affiliations {
  background: var(--cloud);
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin-top: 8px;
}

.affiliations h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }

.affiliations ul { list-style: none; display: grid; gap: 6px; }

.affiliations li { color: var(--ink-soft); font-weight: 600; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.team-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 22%;
}

.team-card .team-body { padding: 22px 24px 26px; }

.team-card h3 { color: var(--navy); font-size: 1.15rem; font-weight: 800; }

.team-card .role { color: var(--green-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }

.team-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 28px;
  border-top: 3px solid var(--blue);
}

.service-card:nth-child(even) { border-top-color: var(--green); }

.service-card h3 {
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card ul + h3 { margin-top: 20px; }

.service-card ul { list-style: none; display: grid; gap: 8px; }

.service-card li {
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  font-size: 0.97rem;
}

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

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 32px;
  margin-bottom: 22px;
}

.info-block h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-block h3 svg { width: 22px; height: 22px; flex-shrink: 0; }

.info-block p, .info-block li { color: var(--ink-soft); }

.info-block a { font-weight: 700; text-decoration: none; }

.info-block a:hover { text-decoration: underline; }

table.hours { width: 100%; border-collapse: collapse; }

table.hours td { padding: 7px 0; color: var(--ink-soft); border-bottom: 1px solid var(--mist); }

table.hours td:last-child { text-align: right; font-weight: 700; color: var(--ink); }

table.hours tr:last-child td { border-bottom: none; }

.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--cloud);
  border-top: 1px solid var(--mist);
  color: var(--ink-soft);
  padding: 60px 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-grid img.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }

.footer-grid h4 {
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; display: grid; gap: 9px; }

.footer-grid a { color: var(--ink-soft); text-decoration: none; }

.footer-grid a:hover { color: var(--blue-dark); }

.footer-bottom {
  border-top: 1px solid var(--mist);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-bottom a { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .service-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .doctor-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doctor-feature img { max-width: 420px; }
}

@media (max-width: 640px) {
  .card-grid, .service-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  nav.main-nav {
    display: none;
    width: 100%;
  }

  nav.main-nav.open { display: block; }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0 16px;
  }

  nav.main-nav a { display: block; padding: 10px 4px; font-size: 1.05rem; }

  .site-header .container { flex-wrap: wrap; }

  .hero-image { height: 600px; }
  .hero-band { padding: 22px 0 26px; }

  section { padding: 56px 0; }

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