/* ── VENEERS AUTHORITY — GLOBAL STYLES ── */

:root {
  --navy: #0f2744;
  --navy-mid: #1a3a6b;
  --navy-light: #2d5a8e;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --teal: #2a9d8f;
  --teal-light: #4ec9bb;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-light: #e5e7eb;
  --gray-text: #6b7280;
  --dark-text: #111827;
  --success: #059669;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: all 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
}

.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.navbar-logo-text span { color: var(--gold-light); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-links a:hover { color: var(--white); }

.navbar-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px !important;
}

.navbar-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ── SECTIONS ── */
.section {
  padding: 80px 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.65;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* Aliases for compatibility */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ── BEFORE/AFTER SLIDER ── */
.ba-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: ew-resize;
  user-select: none;
}

.ba-after-img,
.ba-before-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after-img {
  position: absolute;
  top: 0; left: 0;
}

.ba-before-wrapper {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  overflow: hidden;
}

.ba-handle {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--white);
  cursor: ew-resize;
  z-index: 10;
}

.ba-handle::before {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  padding: 6px 8px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ba-label {
  position: absolute;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  background: rgba(0,0,0,0.45);
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 5;
}

.ba-label-before { left: 10px; }
.ba-label-after { right: 10px; }

/* ── PATIENT GALLERY CARDS ── */
.patient-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.patient-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.patient-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.patient-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.patient-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.3);
}

.patient-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-light);
}

.slider-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
  text-align: center;
  padding: 6px;
  background: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.patient-card-footer {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-light);
}

.patient-detail {
  font-size: 13px;
  color: var(--gray-text);
}

.patient-detail strong {
  color: var(--navy);
}

/* ── MARKETS SECTION ── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.market-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.market-card-city {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.market-card-state {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: -8px;
}

.market-card-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  flex: 1;
}

.market-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.market-card-link:hover { color: var(--gold); }

.market-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f0fdf4;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ── CONTENT CARDS ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  text-decoration: none;
}

.content-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.content-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.content-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.content-card-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

.content-card-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--gray-text);
  flex-shrink: 0;
}

/* ── ABOUT SECTION ── */
.about-section { background: var(--off-white); }

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.about-photo {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
}

.about-quote {
  font-size: 15px;
  color: var(--navy);
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 14px 0;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cred-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  color: var(--navy);
}

/* ── HOW IT WORKS ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.how-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  position: relative;
}

.how-step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}

.how-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.how-step-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 60px 40px 30px;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand-name span { color: var(--gold-light); }

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── LOCAL PAGE STYLES ── */
.local-hero {
  background: linear-gradient(135deg, #0f2744 0%, #1a3a6b 60%, #0f2744 100%);
  padding: 72px 40px 60px;
}

.local-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.local-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.local-breadcrumb a { color: rgba(255,255,255,0.5); }

.local-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.local-hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.local-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.local-stat {
  text-align: center;
}

.local-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold-light);
}

.local-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.local-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.local-main h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-top: 14px;
  border-top: 2px solid var(--gray-light);
}

.local-main h2:first-child {
  border-top: none;
  margin-top: 0;
}

.local-main p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 14px;
}

.local-main ul {
  margin: 0 0 16px 22px;
}

.local-main li {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* Sidebar */
.local-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.sidebar-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 18px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.sidebar-card-body {
  padding: 20px;
}

.sidebar-cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.sidebar-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.sidebar-cta-secondary {
  display: block;
  text-align: center;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.sidebar-cta-secondary:hover {
  background: var(--gray-light);
}

.sidebar-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 10px;
}

.practice-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 13px;
  color: #374151;
}

.practice-info-row:last-child {
  border-bottom: none;
}

.practice-info-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── PRICING TABLE ── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-light);
  color: #374151;
}

.pricing-table tr:nth-child(even) td {
  background: var(--off-white);
}

.pricing-table tr:hover td {
  background: #f0f4ff;
}

/* ── COMPARISON TABLE ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.comparison-table th:first-child { background: var(--off-white); color: var(--navy); }
.comparison-table th:nth-child(2) { background: var(--navy); color: var(--white); }
.comparison-table th:nth-child(3) { background: var(--teal); color: var(--white); }

.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-light);
  color: #374151;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--off-white); }

/* ── UTILITY ── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .navbar-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 20px; gap: 16px; }
  .navbar-links.open { display: flex; }
  .navbar-mobile-btn { display: block; }
  .section { padding: 60px 20px; }
  .markets-grid, .how-steps { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-inner { grid-template-columns: 1fr; }
  .local-hero-inner { grid-template-columns: 1fr; }
  .local-body { grid-template-columns: 1fr; padding: 40px 20px; }
  .local-sidebar { position: static; }
}

@media (max-width: 600px) {
  .section { padding: 48px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .local-hero { padding: 48px 20px 40px; }
}
