/* ── GROVE COURT DENTAL — SHARED STYLESHEET ─────────────────────────── */
:root {
  --orange:     #FF9900;
  --navy:       #0077B6;
  --teal:       #66B2B2;
  --teal-light: #99CCCC;
  --teal-bg:    #EAF5F5;
  --grey:       #D9D9D9;
  --grey-dark:  #707070;
  --white:      #FFFFFF;
  --black:      #1A1A1A;
  --red:        #C0392B;
  --red-bg:     #FDF3F3;
  --font-head:  'Playfair Display', serif;
  --font-body:  'Poppins', sans-serif;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(0,0,0,.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 120px;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 500;
  color: var(--grey-dark); transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  min-width: 220px; list-style: none;
  border: 1px solid var(--grey); z-index: 300; overflow: hidden;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 11px 18px;
  font-size: .82rem; color: var(--black);
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--teal-bg); color: var(--navy); }

.nav-cta {
  background: var(--orange); color: white;
  border: none; border-radius: 8px;
  padding: 10px 18px; font-family: var(--font-body);
  font-size: .82rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: #e08800; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--grey);
  position: fixed; top: 64px; left: 0; right: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.12); z-index: 199;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu > a {
  padding: 14px 24px; text-decoration: none;
  font-size: .88rem; font-weight: 500; color: var(--black);
  border-bottom: 1px solid var(--grey);
}
.mobile-menu > a.book { background: var(--orange); color: white; text-align: center; font-weight: 600; }
.mobile-sub {
  display: none; flex-direction: column;
  background: var(--teal-bg);
}
.mobile-sub.open { display: flex; }
.mobile-sub a {
  padding: 11px 36px; text-decoration: none;
  font-size: .82rem; color: var(--navy);
  border-bottom: 1px solid rgba(102,178,178,.2);
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-family: var(--font-body); font-size: .88rem; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none;
  transition: all .2s; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: #e08800; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: #005b8e; }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: #559999; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1fbe59; }
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: white; }

/* ── PAGE HERO ────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #005b8e 55%, var(--teal) 100%);
  color: white; padding: 56px 24px 60px; text-align: center;
}
.page-hero .breadcrumb {
  font-size: .75rem; opacity: .65; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.page-hero .breadcrumb a { color: white; text-decoration: none; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 12px;
}
.page-hero p {
  font-size: .95rem; opacity: .85;
  max-width: 560px; margin: 0 auto 28px;
}
.page-hero .hero-btns {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}

/* ── SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 56px 24px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 12px;
}
.section-sub { color: var(--grey-dark); max-width: 600px; margin-bottom: 32px; }
.section-alt { background: var(--teal-bg); border-top: 1px solid var(--teal-light); border-bottom: 1px solid var(--teal-light); }
.section-dark { background: var(--navy); }
.section-dark .section-title { color: white; }
.section-dark .section-label { color: var(--teal-light); }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* ── CARDS ────────────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; margin-top: 28px; }
.card {
  background: var(--white); border: 1px solid var(--grey);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--teal-bg); border: 1px solid var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--teal); }
.card h3 { font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: .83rem; color: var(--grey-dark); line-height: 1.6; margin-bottom: 14px; }
.card .learn-more {
  font-size: .8rem; font-weight: 600; color: var(--teal);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.card .learn-more:hover { color: var(--navy); }

/* Info card */
.info-card {
  background: var(--teal-bg); border: 1px solid var(--teal-light);
  border-radius: var(--radius); padding: 22px;
}
.info-card h3 {
  font-family: var(--font-head); font-size: 1rem;
  color: var(--navy); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.info-card h3 svg { color: var(--teal); width: 17px; height: 17px; }
.info-card p, .info-card a {
  font-size: .83rem; color: var(--grey-dark); line-height: 1.7;
  text-decoration: none; word-break: break-word;
}
.info-card a:hover { color: var(--navy); }

/* ── STEPS / TIMELINE ─────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.step {
  display: flex; gap: 16px; padding-bottom: 24px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy); color: white;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: .85rem;
  margin-top: 2px;
}
.step:not(:last-child) .step-num::after {
  content: ''; position: absolute;
  left: 17px; top: 40px;
  width: 2px; height: calc(100% - 36px);
  background: var(--teal-light);
}
.step-body strong { display: block; color: var(--navy); font-size: .9rem; margin-bottom: 4px; }
.step-body p { font-size: .82rem; color: var(--grey-dark); line-height: 1.6; }

/* ── ACCORDION FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.faq-item {
  border: 1px solid var(--grey); border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 16px 20px;
  background: var(--white); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .88rem;
  font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
.faq-q:hover { background: var(--teal-bg); }
.faq-q .arrow { font-size: .75rem; transition: transform .3s; color: var(--teal); }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 20px 16px;
  font-size: .84rem; color: var(--grey-dark); line-height: 1.7;
  background: var(--white);
}
.faq-a.open { display: block; }

/* ── WARNING BOX ──────────────────────────────────────────────────────── */
.warning-box {
  background: var(--red-bg); border: 1.5px solid #E8BABA;
  border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 20px 22px;
}
.warning-box h3 {
  font-size: .95rem; color: var(--red); font-weight: 600;
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.warning-box ul { list-style: none; padding: 0; }
.warning-box ul li {
  font-size: .83rem; color: #7A3030; padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.warning-box ul li::before { content: '⚠'; flex-shrink: 0; font-size: .8rem; margin-top: 2px; }

/* ── CHECKLIST ────────────────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin-top: 12px; }
.checklist li {
  font-size: .84rem; color: var(--grey-dark); padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.6;
  border-bottom: 1px solid #f0f0f0;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓'; color: var(--teal); font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* ── TIMELINE CARDS ───────────────────────────────────────────────────── */
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-top: 24px; }
.timeline-card {
  background: var(--white); border: 1px solid var(--teal-light);
  border-top: 4px solid var(--teal); border-radius: var(--radius);
  padding: 20px;
}
.timeline-card .tl-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.timeline-card h4 { font-family: var(--font-head); font-size: .95rem; color: var(--navy); margin-bottom: 10px; }
.timeline-card ul { list-style: none; padding: 0; }
.timeline-card ul li {
  font-size: .8rem; color: var(--grey-dark); padding: 3px 0;
  display: flex; gap: 6px; align-items: flex-start;
}
.timeline-card ul li::before { content: '•'; color: var(--teal); flex-shrink: 0; }

/* ── CTA SECTION ──────────────────────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 48px 24px; text-align: center;
}
.cta-section h2 {
  font-family: var(--font-head); color: white;
  font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 10px;
}
.cta-section p { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: .9rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── FOOD GRID ────────────────────────────────────────────────────────── */
.food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.food-col h4 {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 10px; padding: 8px 12px;
  border-radius: 8px;
}
.food-col.good h4 { background: #E8F5E9; color: #2E7D32; }
.food-col.bad h4  { background: #FDE8E8; color: var(--red); }
.food-col ul { list-style: none; padding: 0; }
.food-col ul li {
  font-size: .82rem; color: var(--grey-dark); padding: 5px 0;
  display: flex; gap: 8px; align-items: center;
  border-bottom: 1px solid #f5f5f5;
}
.food-col.good ul li::before { content: '✓'; color: #2E7D32; font-weight: 700; }
.food-col.bad  ul li::before { content: '✗'; color: var(--red); font-weight: 700; }

/* ── PRINT BUTTON ─────────────────────────────────────────────────────── */
.print-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--grey-dark);
  color: var(--grey-dark); padding: 8px 16px; border-radius: 8px;
  font-family: var(--font-body); font-size: .8rem; cursor: pointer;
  text-decoration: none; transition: all .2s;
}
.print-btn:hover { border-color: var(--navy); color: var(--navy); }

/* ── TRUST BAR ────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--teal-bg); border-bottom: 1px solid var(--teal-light);
  display: flex; flex-wrap: wrap; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-right: 1px solid var(--teal-light);
  font-size: .8rem; color: var(--navy); font-weight: 500;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }

/* ── STICKY BOTTOM ────────────────────────────────────────────────────── */
.sticky-bottom {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none; background: white;
  border-top: 1px solid var(--grey);
  padding: 10px 16px; gap: 10px; z-index: 99;
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.sticky-bottom .btn { flex: 1; justify-content: center; padding: 12px; font-size: .8rem; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer {
  background: #0D1B2A; color: rgba(255,255,255,.65);
  padding: 48px 24px 24px;
}
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-logo { margin-bottom: 12px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px; margin-bottom: 28px;
}
footer p { font-size: .8rem; line-height: 1.7; }
footer h4 { color: white; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 6px; }
footer ul a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .8rem; }
footer ul a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px; font-size: .73rem; text-align: center;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .sticky-bottom { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .food-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--teal-light); width: 100%; }
  .trust-item:last-child { border-bottom: none; }
  .section { padding: 40px 20px; }
}

/* ── PRINT ────────────────────────────────────────────────────────────── */
@media print {
  nav, .sticky-bottom, footer, .cta-section, .nav-cta, .hamburger,
  .mobile-menu, .print-btn { display: none !important; }
  body { padding: 0; font-size: 14px; color: #000; }
  .page-hero { background: none !important; color: #000; padding: 20px 0; }
  .page-hero h1 { color: #000; font-size: 1.6rem; }
  .page-hero p { color: #333; }
  .section { padding: 20px 0; }
  .warning-box { border: 2px solid #c00; }
  .card, .info-card, .timeline-card { box-shadow: none; border: 1px solid #ccc; }
}

/* ── NAV DROPDOWN HEADER + INDENTED SUB-ITEMS ─────────────────────── */
.dropdown li.dd-header > a {
  font-weight: 700;
  color: var(--navy);
  background: var(--teal-bg);
  border-bottom: 2px solid var(--teal-light);
  font-size: .8rem;
  letter-spacing: .02em;
}
.dropdown li.dd-header > a:hover {
  background: var(--teal-light);
}
.dropdown li.dd-sub > a {
  padding-left: 28px;
  font-size: .79rem;
  color: var(--grey-dark);
  position: relative;
}
.dropdown li.dd-sub > a::before {
  content: '—';
  position: absolute;
  left: 14px;
  color: var(--teal-light);
  font-size: .7rem;
}
.dropdown li.dd-sub > a:hover {
  color: var(--navy);
  background: var(--teal-bg);
}

/* Mobile menu header + indented items */
.mobile-sub a.mob-header {
  font-weight: 700;
  color: var(--navy) !important;
  background: rgba(102,178,178,.15);
  border-bottom: 1px solid rgba(102,178,178,.3) !important;
  font-size: .83rem;
}
.mobile-sub a.mob-indent {
  padding-left: 48px !important;
  font-size: .8rem;
  color: var(--navy) !important;
  opacity: .85;
}
.mobile-sub a.mob-indent::before {
  content: '–';
  margin-right: 6px;
  color: var(--teal);
}

/* ── DROPDOWN HOVER IMPROVEMENTS ──────────────────────────────────── */
/* Smooth dropdown reveal on hover */
.dropdown {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.has-dropdown:hover .dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Rotate arrow on hover */
.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color .2s;
}
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform .2s;
  flex-shrink: 0;
}
/* Hide the ▼ unicode since we're using CSS arrow */
.has-dropdown > a .nav-arrow { display: none; }
.has-dropdown:hover > a { color: var(--navy); }
.has-dropdown:hover > a::after { transform: rotate(180deg); }

/* Keep dropdown visible when hovering the dropdown itself */
.dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
