:root {
  --brand-cyan: #0078a8;
  --brand-cyan-dark: #005c80;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.05), 0 10px 25px -5px rgba(15,23,42,.08);
  --shadow-lg: 0 25px 50px -12px rgba(15,23,42,.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-weight: 600; }

p { color: var(--text-secondary); margin-bottom: 1rem; }

a { color: var(--brand-cyan); text-decoration: none; }
a:hover { color: var(--brand-cyan-dark); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Top nav (matches React app Navbar) */
.topnav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.topnav .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topnav .logo { display: flex; align-items: center; }
.topnav .logo img { height: 48px; width: auto; object-fit: contain; }
.topnav nav.desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .topnav nav.desktop { display: flex; }
}
.topnav nav.desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #525252;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.topnav nav.desktop a:hover { color: var(--brand-cyan); }
.topnav .book-now {
  background: var(--brand-cyan);
  color: white !important;
  padding: 0.625rem 1.25rem !important;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.topnav .book-now:hover { background: var(--brand-cyan-dark); }
.topnav .menu-toggle {
  display: flex;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #525252;
}
@media (min-width: 768px) { .topnav .menu-toggle { display: none; } }
.topnav .menu-toggle svg { width: 24px; height: 24px; }
.topnav .mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.topnav .mobile-menu.open { display: block; }
.topnav .mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #525252;
  font-weight: 500;
  font-size: 0.9375rem;
}
.topnav .mobile-menu a:hover { color: var(--brand-cyan); background: var(--bg-soft); }
.topnav .mobile-menu .book-now { display: inline-block; margin: 0.75rem 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-cyan);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { background: var(--brand-cyan-dark); color: white; }
.btn.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn.secondary:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); background: var(--bg); }

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.hero .badge {
  display: inline-block;
  background: rgba(20, 184, 196, 0.1);
  color: var(--brand-cyan-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 1.75rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Sections */
section { padding: 3.5rem 0; }
section.tight { padding: 2.5rem 0; }
section.alt { background: var(--bg-soft); }
section .section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
section .section-head h2 { margin-bottom: 0.75rem; }
section .section-head p { font-size: 1.0625rem; }

/* Office card */
.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.office-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-primary); }
.office-card .detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; }
.office-card .detail .label { color: var(--text-muted); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; min-width: 80px; padding-top: 2px; }
.office-card .detail .value { color: var(--text-primary); font-weight: 500; }
.office-card .detail .value a { font-weight: 600; }
.office-card .hours-list { margin: 0; padding: 0; list-style: none; }
.office-card .hours-list li { display: flex; justify-content: space-between; padding: 0.25rem 0; color: var(--text-secondary); }

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 1.125rem; color: var(--brand-cyan-dark); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Bullet list */
ul.checks { list-style: none; padding: 0; }
ul.checks li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-cyan);
  font-weight: 700;
}

/* Cross-link card (visit our other office) */
.cross-link {
  background: linear-gradient(135deg, rgba(20,184,196,0.06) 0%, rgba(20,184,196,0.02) 100%);
  border: 1px solid rgba(20, 184, 196, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.cross-link h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 0.5rem; }

/* CTA */
.cta-block {
  background: var(--text-primary);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-block h2 { color: white; margin-bottom: 0.75rem; }
.cta-block p { color: #cbd5e1; max-width: 480px; margin: 0 auto 1.5rem; }
.cta-block .btn { background: var(--brand-cyan); }

/* Footer */
footer {
  background: var(--bg-soft);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { footer .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--text-primary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
footer a { color: var(--text-secondary); display: block; padding: 0.25rem 0; }
footer .bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; text-align: center; font-size: 0.875rem; }
