/* ============================================================
   SOI — Design System & Component Library
   Servicios Odontológicos Integrales
   ============================================================ */

/* DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand Colors */
  --navy: #001D3D;
  --blue: #0066FF;
  --blue-light: #4D94FF;
  --blue-dark: #0052CC;

  /* Neutrals */
  --cream: #FAFAFA;
  --warm: #F5F5F5;
  --white: #FFFFFF;
  --text: #1B1B1F;
  --text-mid: #4A4A55;
  --text-light: #7A7A88;
  --border: rgba(0, 0, 0, 0.08);

  /* Accent */
  --whatsapp: #25D366;
  --whatsapp-hover: #1fba59;
  --star: #f59e0b;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;
  --space-4xl: 120px;

  /* Typography */
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Manrope', sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-wa: 0 6px 24px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s;
  --transition-base: 0.3s;
  --transition-slow: 0.4s;

  /* Layout */
  --max-width: 1400px;
  --nav-height: 72px;
  --gutter: clamp(24px, 4vw, 64px);
}


/* RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}


/* NOISE OVERLAY
   ------------------------------------------------------------ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}


/* ANIMATIONS
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.reveal        { animation: fadeUp 0.8s var(--ease-out) both; }
.reveal-d1     { animation-delay: 0.1s; }
.reveal-d2     { animation-delay: 0.2s; }
.reveal-d3     { animation-delay: 0.3s; }
.reveal-d4     { animation-delay: 0.4s; }
.reveal-d5     { animation-delay: 0.5s; }
.reveal-d6     { animation-delay: 0.6s; }

/* Scroll Reveal */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }


/* LAYOUT
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-content {
  padding-top: var(--nav-height);
}


/* NAVIGATION
   ------------------------------------------------------------ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  padding: 0 var(--gutter);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.6s 0.1s both;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
}

.nav-mark {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--navy);
  position: relative;
}
.nav-mark::after {
  content: '';
  position: absolute;
  bottom: 2px; right: -4px;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.nav-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.4;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  letter-spacing: 0.2px;
}
.nav-links a:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.04);
}
.nav-links a.active {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all var(--transition-base) !important;
}
.nav-cta:hover {
  background: var(--blue) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3) !important;
}

/* Mobile Menu Toggle */
.nav-menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-menu-btn:hover { background: rgba(0, 0, 0, 0.04); }

/* Hamburger lines */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 16px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }

/* Hamburger -> X animation */
.nav-menu-btn[aria-expanded="true"] .hamburger span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav-menu-btn[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-btn[aria-expanded="true"] .hamburger span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

/* Backdrop */
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 61, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu.is-open::before {
  opacity: 1;
}

/* Panel */
.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open .mobile-menu-inner {
  transform: translateX(0);
}

/* Decorative accent line under nav area */
.mobile-menu-inner::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.3;
}

/* Navigation links */
.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-links li {
  border-bottom: 1px solid var(--border);
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-menu-links a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-light);
  border-bottom: 1.5px solid var(--text-light);
  transform: rotate(-45deg);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  color: var(--navy);
}
.mobile-menu-links a:hover::after,
.mobile-menu-links a:active::after {
  border-color: var(--blue);
  transform: rotate(-45deg) translate(2px, -2px);
}
.mobile-menu-links a.active {
  color: var(--navy);
  font-weight: 600;
  position: relative;
}
.mobile-menu-links a.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: var(--blue);
  border-radius: 2px;
}

/* Staggered link entrance */
.mobile-menu-links li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-links li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.is-open .mobile-menu-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(5) { transition-delay: 0.28s; }

/* Action buttons wrapper */
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* WhatsApp CTA in mobile menu */
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-wa);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.mobile-menu-cta:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}
.mobile-menu-cta svg {
  flex-shrink: 0;
}

/* Secondary CTA (phone) */
.mobile-menu-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.mobile-menu-cta-secondary:hover {
  background: rgba(0, 29, 61, 0.04);
  border-color: var(--navy);
}
.mobile-menu-cta-secondary svg {
  flex-shrink: 0;
}

/* Hide floating WhatsApp button when menu is open */
body.menu-open .sticky-wa {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease;
}

/* Footer text */
.mobile-menu-footer {
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.mobile-menu-footer span {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}


/* BUTTONS
   ------------------------------------------------------------ */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base) var(--ease-out);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  letter-spacing: 0.3px;
}
.btn-main:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(0, 29, 61, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
  letter-spacing: 0.3px;
}
.btn-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.3);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 29, 61, 0.25);
  letter-spacing: 0.3px;
}
.btn-navy:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}


/* SECTION HEADERS
   ------------------------------------------------------------ */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
  margin-bottom: var(--space-2xl);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 400px;
  align-self: end;
}


/* HERO
   ------------------------------------------------------------ */
.hero {
  min-height: auto;
  padding: 120px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
  position: relative;
}
.hero::before {
  content: 'SOI';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(300px, 25vw, 480px);
  font-weight: 800;
  color: var(--navy);
  opacity: 0.018;
  letter-spacing: -20px;
  pointer-events: none;
  white-space: nowrap;
}

.hero-left { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hero-microcopy {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-microcopy svg { opacity: 0.4; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.proof-stat { text-align: center; }
.proof-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.proof-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.proof-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* Hero Right — Image Composition */
.hero-right {
  position: relative;
  height: min(75vh, 640px);
  z-index: 2;
}
.hero-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 85%; height: 88%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--navy);
}
.hero-img-main .img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #001D3D 0%, #003566 50%, #0066FF 100%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px; text-align: center;
  gap: 12px;
}
.hero-img-main .img-placeholder svg { opacity: 0.2; width: 64px; height: 64px; }
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-img-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 200px; height: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.hero-img-accent .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0066FF, #4D94FF);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px; text-align: center; padding: 16px;
}
.hero-img-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  top: 20px; left: 40px;
  z-index: 4;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; gap: 12px;
  animation: float 5s ease-in-out 1s infinite;
}
.badge-stars { display: flex; gap: 2px; margin-bottom: 2px; }
.badge-stars svg { width: 14px; height: 14px; fill: var(--star); stroke: none; }
.badge-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.badge-text span { font-size: 11px; color: var(--text-light); font-weight: 500; }


/* SPECIALTIES SECTION
   ------------------------------------------------------------ */
.specialties {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--white);
  position: relative;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.spec-card {
  background: var(--white);
  padding: 48px 36px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: all var(--transition-slow) var(--ease-out);
  overflow: hidden;
  display: block;
}
.spec-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.spec-card:hover { background: var(--cream); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-card:hover .spec-arrow { transform: translate(4px, -4px); }

.spec-icon {
  width: 56px; height: 56px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-slow) var(--ease-out);
}
.spec-icon svg {
  width: 28px; height: 28px;
  color: var(--blue);
  stroke: var(--blue);
  transition: all var(--transition-slow);
}
.spec-card:hover .spec-icon {
  background: var(--blue);
}
.spec-card:hover .spec-icon svg {
  color: var(--white);
  stroke: var(--white);
}

.spec-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.spec-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: var(--space-lg);
}

.spec-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: 20px; }
.spec-tag {
  padding: 5px 14px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.3px;
}

.spec-arrow {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  align-items: center; justify-content: center;
  transition: transform var(--transition-base);
}
.spec-arrow svg { width: 14px; height: 14px; }


/* CASES / BEFORE-AFTER
   ------------------------------------------------------------ */
.cases {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.cases-header {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: 48px;
}
.cases-header-left { max-width: 540px; }
.cases-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: var(--space-md);
}
.cases-header h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
.cases-header p { font-size: 16px; line-height: 1.75; color: var(--text-mid); }

.ba-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ba-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition-base) var(--ease-out);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.ba-tab:hover { border-color: var(--blue); color: var(--navy); }
.ba-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.ba-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.ba-content { position: relative; z-index: 2; }

.ba-case-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.ba-case-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.ba-case-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.ba-case-row { display: flex; align-items: center; gap: 12px; }
.ba-case-icon {
  width: 36px; height: 36px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ba-case-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ba-case-value {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  margin-top: 1px;
}

.ba-case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0.2px;
}
.ba-case-link:hover { gap: 14px; color: var(--navy); }
.ba-case-link svg { transition: transform var(--transition-base); }
.ba-case-link:hover svg { transform: translateX(3px); }

/* Before/After Slider */
.ba-slider-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: col-resize;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: background 0.5s;
}
.ba-img-before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
  display: flex; align-items: center; justify-content: center;
}
.ba-img-after {
  z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.ba-img span {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.25);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 24px;
  border: 2px dashed rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}
.ba-img-before span { position: relative; z-index: 5; }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; z-index: 10;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.ba-handle svg { width: 24px; height: 24px; color: var(--navy); }

.ba-label-before, .ba-label-after {
  position: absolute;
  bottom: 20px; z-index: 12;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before {
  left: 20px;
  background: rgba(0, 29, 61, 0.75);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.ba-label-after {
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.ba-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: 20px;
  max-width: var(--max-width);
  margin-left: auto; margin-right: auto;
}
.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
}
.ba-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: var(--radius-pill);
}

/* Mobile stacked before/after (hidden on desktop) */
.ba-mobile-stack { display: none; }


/* GOOGLE REVIEWS
   ------------------------------------------------------------ */
.google-reviews {
  padding: 80px var(--gutter) var(--space-3xl);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.grev-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.grev-google-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.grev-score {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
}
.grev-meta { display: flex; flex-direction: column; gap: 4px; }
.grev-stars-big { display: flex; gap: 2px; }
.grev-stars-big svg { width: 22px; height: 22px; fill: var(--star); }
.grev-count { font-size: 14px; color: var(--text-mid); font-weight: 500; }
.grev-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-base);
}
.grev-link:hover { gap: 10px; }

.grev-marquee { display: flex; flex-direction: column; gap: var(--space-md); }
.grev-row { overflow: hidden; position: relative; }
.grev-row::before, .grev-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
.grev-row::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.grev-row::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.grev-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}
.grev-track-left { animation: marqueeLeft 120s linear infinite; }
.grev-track-right { animation: marqueeRight 115s linear infinite; }
.grev-marquee:hover .grev-track { animation-play-state: paused; }

.grev-card {
  width: 320px; flex-shrink: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.grev-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.grev-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.grev-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.grev-card-info { flex: 1; min-width: 0; }
.grev-card-name { font-size: 13px; font-weight: 700; color: var(--navy); }
.grev-card-reviews { font-size: 11px; color: var(--text-light); }
.grev-card-g { flex-shrink: 0; opacity: 0.4; }
.grev-card-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.grev-card-stars-row { display: flex; gap: 1px; }
.grev-card-stars-row svg { width: 14px; height: 14px; }
.grev-card-date { font-size: 11px; color: var(--text-light); }
.grev-card-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* LOCATIONS
   ------------------------------------------------------------ */
.locations {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--navy);
  position: relative;
  overflow: clip;
}
.locations::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transform: translate(200px, -200px);
}
.locations::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transform: translate(-150px, 150px);
}
.locations .section-eyebrow { color: var(--blue-light); }
.locations .section-eyebrow::before { background: var(--blue-light); }
.locations .section-title { color: var(--white); }
.locations .section-desc { color: rgba(255, 255, 255, 0.5); }

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.loc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: 44px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.loc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}
.loc-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.loc-card:hover::before { opacity: 1; }

.loc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.loc-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
}
.loc-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.loc-detail svg { flex-shrink: 0; margin-top: 3px; opacity: 0.4; }

.loc-actions {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0.2px;
}
.loc-btn-wa {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}
.loc-btn-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}
.loc-btn-phone {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.loc-btn-phone:hover { background: rgba(255, 255, 255, 0.12); }

/* Map Section */
.map-section {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--cream);
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}
.map-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.map-card-label {
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
}
.map-embed {
  position: relative;
  overflow: hidden;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
.map-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
  transition: background var(--transition-base);
}
.map-directions:hover { background: var(--navy); }
.map-directions svg { stroke: var(--white); }


/* STATS BAR
   ------------------------------------------------------------ */
.stats-bar {
  padding: var(--space-2xl) var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.stat {
  text-align: center;
  padding: 20px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}


/* CTA SECTION
   ------------------------------------------------------------ */
.cta {
  padding: var(--space-4xl) var(--gutter);
  background: var(--cream);
  text-align: center;
  position: relative;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.cta h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
.cta p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ANGLE DIVIDER
   ------------------------------------------------------------ */
.angle-divider {
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
  position: relative;
  z-index: 1;
}
.angle-divider.white { background: var(--white); }
.angle-divider.navy { background: var(--navy); }


/* FOOTER
   ------------------------------------------------------------ */
footer {
  padding: 48px var(--gutter);
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-xl);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  position: relative;
}
.footer-logo::after {
  content: '';
  position: absolute;
  bottom: 1px; right: -3px;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.footer-brand span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
}


/* STICKY WHATSAPP
   ------------------------------------------------------------ */
.sticky-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-wa);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  animation: fadeUp 0.6s 1s both;
}
.sticky-wa:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.4);
}
.sticky-wa svg { width: 28px; height: 28px; fill: white; }
.sticky-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: waPulse 2s ease-out infinite;
}


/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */

/* PAGE HERO (for sub-pages)
   ------------------------------------------------------------ */
.page-hero {
  padding: 140px var(--gutter) 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.03);
  pointer-events: none;
  transform: translate(200px, -200px);
}
.page-hero .container {
  max-width: var(--max-width);
  position: relative;
  z-index: 2;
}
.page-hero .section-eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 700px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.page-hero p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

/* BREADCRUMBS
   ------------------------------------------------------------ */
.breadcrumbs {
  padding: 16px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs a {
  color: var(--text-mid);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .separator { color: var(--border); }
.breadcrumbs .current { color: var(--navy); font-weight: 600; }


/* SPECIALTY DETAIL PAGE
   ------------------------------------------------------------ */
.specialty-content {
  padding: 80px var(--gutter);
  background: var(--cream);
}
.specialty-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
}
.specialty-main {}

.content-block {
  margin-bottom: 64px;
}
.content-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.content-block h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  margin-top: 32px;
  line-height: 1.2;
}
.content-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: var(--space-md);
}
.content-block ul {
  margin-bottom: var(--space-lg);
  padding-left: 0;
}
.content-block li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.content-block li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 10px;
}

/* Before / After (specialty pages) */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.before-after-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.before-after-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.before-after-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.before-after--single {
  grid-template-columns: 1fr;
  max-width: 672px;
}
@media (max-width: 600px) {
  .before-after { grid-template-columns: 1fr; }
}

/* Sidebar */
.specialty-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  align-self: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  margin-bottom: var(--space-lg);
}
.sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-md);
  letter-spacing: -0.3px;
}
.sidebar-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition-fast);
  margin-bottom: 4px;
}
.sidebar-link:hover {
  background: rgba(0, 102, 255, 0.04);
  color: var(--navy);
}
.sidebar-link.active {
  background: rgba(0, 102, 255, 0.06);
  color: var(--blue);
  font-weight: 600;
}
.sidebar-link svg { flex-shrink: 0; opacity: 0.5; }


/* ABOUT PAGE
   ------------------------------------------------------------ */
.about-values {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--white);
}
.values-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.value-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-slow) var(--ease-out);
}
.value-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  width: 56px; height: 56px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; color: var(--blue); }
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.value-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

.about-team {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--cream);
}
.team-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow) var(--ease-out);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #001D3D 0%, #003566 50%, #0066FF 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-info {
  padding: 24px;
}
.team-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.team-info .team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.team-info p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-mid);
}


/* CONTACT PAGE
   ------------------------------------------------------------ */
.contact-section {
  padding: 80px var(--gutter) var(--space-4xl);
  background: var(--cream);
}
.contact-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 40px;
  margin-bottom: var(--space-lg);
}
.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-row-icon {
  width: 44px; height: 44px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-row-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-row-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}
.contact-row-value a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.contact-row-value a:hover { color: var(--navy); }

.contact-map {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  border: 1px solid var(--border);
}


/* BLOG LISTING
   ------------------------------------------------------------ */
.blog-section {
  padding: 80px var(--gutter) var(--space-4xl);
  background: var(--cream);
}
.blog-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-slow) var(--ease-out);
  display: block;
  text-decoration: none;
  color: var(--text);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 28px 24px; }
.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.blog-card-meta {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}


/* FAQ SECTION
   ------------------------------------------------------------ */
.faq-section {
  padding: var(--space-3xl) var(--gutter) var(--space-4xl);
  background: var(--white);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.3px;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--blue); }
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition-base);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  padding-bottom: var(--space-lg);
}


/* ============================================================
   RESPONSIVE — TABLET (769px–1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 100px;
  }
  .hero-right { height: 340px; }
  .hero-badge-float { left: auto; right: 20px; }

  .section-header { grid-template-columns: 1fr; gap: var(--space-md); }
  .section-desc { max-width: 100%; }

  .spec-grid { grid-template-columns: 1fr; }

  .cases-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ba-layout { grid-template-columns: 1fr; gap: 32px; }

  .grev-card { width: 280px; }
  .grev-row::before, .grev-row::after { width: 40px; }

  .loc-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-lg); }
  .footer-brand { justify-content: center; flex-wrap: wrap; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-copy { text-align: center; }

  .specialty-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .specialty-sidebar { position: static; }

  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: var(--space-xl); }

  .blog-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .site-nav { padding: 0 16px; height: 60px; }
  .nav-text { display: none; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 20px 40px;
    gap: 32px;
  }
  .hero::before { font-size: 180px; opacity: 0.012; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 18px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 11px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-main, .btn-outline { width: 100%; justify-content: center; padding: 14px 24px; }
  .hero-microcopy { font-size: 12px; justify-content: center; }
  .hero-proof { justify-content: center; gap: 20px; padding-top: 20px; }
  .proof-num { font-size: 26px; }
  .proof-label { font-size: 10px; }
  .proof-divider { height: 32px; }

  .hero-right { height: 280px; }
  .hero-img-main { width: 100%; height: 100%; border-radius: var(--radius-lg); }
  .hero-img-accent { display: none; }
  .hero-badge-float {
    top: auto; bottom: -16px; left: 50%;
    transform: translateX(-50%);
    padding: 10px 16px; border-radius: 12px;
    white-space: nowrap;
  }

  /* Divider */
  .angle-divider { height: 40px; }

  /* Specialties */
  .specialties { padding: 60px 20px 80px; }
  .section-header { grid-template-columns: 1fr; gap: var(--space-md); }
  .section-title { font-size: 28px; }
  .section-desc { max-width: 100%; }
  .spec-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .spec-card { padding: 32px 24px; }
  .spec-icon { width: 48px; height: 48px; border-radius: var(--radius-md); }
  .spec-icon svg { width: 24px; height: 24px; }
  .spec-card h3 { font-size: 20px; }

  /* Cases */
  .cases { padding: 60px 20px 80px; }
  .cases-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cases-header h2 { font-size: 28px; }
  .ba-tabs {
    width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 8px;
    padding-bottom: 4px; padding-right: 40px;
    -ms-overflow-style: none; scrollbar-width: none;
  }
  .ba-tabs::-webkit-scrollbar { display: none; }
  .ba-tab { flex-shrink: 0; padding: 8px 16px; font-size: 12px; }
  .cases-header { position: relative; }
  .cases-header::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 56px; height: 40px;
    background: linear-gradient(to right, transparent, var(--cream));
    pointer-events: none;
    z-index: 2;
  }
  .ba-layout { grid-template-columns: 1fr; gap: 32px; }
  .ba-slider-wrap { display: none; }
  .ba-mobile-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ba-mobile-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
  }
  .ba-mobile-img .before-after-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .ba-case-title { font-size: 20px; }
  .ba-case-desc { font-size: 14px; }

  /* Google Reviews */
  .google-reviews { padding: 60px 0 80px; }
  .grev-header { padding: 0 20px; margin-bottom: 32px; }
  .grev-score { font-size: 40px; }
  .grev-card { width: 260px; padding: 18px 20px; }
  .grev-row::before, .grev-row::after { width: 20px; }
  .grev-link { display: none; }

  /* Locations */
  .locations { padding: 60px 20px 80px; }
  .locations .section-header { grid-template-columns: 1fr; gap: 12px; }
  .locations .section-title { font-size: 28px; }
  .loc-grid { grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-xl); }
  .loc-card { padding: 28px 24px; border-radius: var(--radius-lg); }
  .loc-name { font-size: 22px; margin-bottom: 18px; }
  .loc-actions { flex-wrap: wrap; gap: 8px; }
  .loc-btn { padding: 10px 18px; font-size: 12px; }

  /* Map */
  .map-section { padding: 40px 20px 60px; }
  .map-section .section-header { margin-bottom: var(--space-lg); }
  .map-grid { grid-template-columns: 1fr; gap: 20px; }
  .map-embed iframe { height: 250px; }
  .map-card-label { padding: 14px 16px; font-size: 14px; }

  /* Stats */
  .stats-bar { padding: 40px 20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .stat:not(:last-child)::after { display: none; }
  .stat-num { font-size: 36px; }

  /* CTA */
  .cta { padding: 60px 20px; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-wa { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-lg); }
  .footer-brand { justify-content: center; flex-wrap: wrap; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: var(--space-md); }
  .footer-copy { text-align: center; }

  /* Sticky WA */
  .sticky-wa { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .sticky-wa svg { width: 24px; height: 24px; }

  /* Page Hero */
  .page-hero { padding: 100px 20px 60px; }
  .page-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .page-hero p { font-size: 15px; }

  /* Breadcrumbs */
  .breadcrumbs { padding: 12px 20px; }
  .breadcrumbs ol { font-size: 12px; }

  /* About */
  .about-values { padding-top: 40px; padding-bottom: 60px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-title { font-size: 18px; }

  /* FAQ */
  .faq-question { font-size: 16px; }

  /* Blog Article */
  .blog-article-header { padding: 0 20px; }
  .blog-article-img { margin-left: 20px; margin-right: 20px; }
  .blog-article-body { padding: 0 20px; font-size: 16px; }
  .blog-article-body > p:first-of-type { font-size: 17px; }
  .blog-article-body h2 { margin-top: 40px; }
  .blog-article-body h3 { margin-top: 32px; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-related .container { padding: 0 20px; }
}


/* ======================== BLOG ARTICLE ======================== */
.blog-article-header {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--gutter);
}
.blog-article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-article-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 14px;
}
.blog-article-author {
  font-weight: 600;
  color: var(--navy);
}
.blog-article-img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
}
.blog-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-article-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.blog-article-body > h1:first-child {
  display: none;
}
.blog-article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 56px 0 20px;
}
.blog-article-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 40px 0 14px;
}
.blog-article-body p {
  margin-bottom: 24px;
}
.blog-article-body > p:first-of-type {
  font-size: 19px;
  color: var(--text-mid);
  line-height: 1.75;
}
.blog-article-body strong {
  color: var(--navy);
  font-weight: 700;
}
.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 24px 0;
  padding-left: 0;
}
.blog-article-body li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.blog-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.blog-article-body ol {
  counter-reset: article-ol;
}
.blog-article-body ol li {
  counter-increment: article-ol;
}
.blog-article-body ol li::before {
  content: counter(article-ol) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
}
.blog-article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.blog-article-body a:hover {
  color: var(--blue-dark);
}
.blog-article-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.blog-article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  background: rgba(0, 102, 255, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-article-body blockquote p {
  margin-bottom: 0;
  color: var(--text-mid);
  font-size: 16px;
}
.blog-article-body blockquote p:not(:last-child) {
  margin-bottom: 12px;
}
.blog-article-body em {
  color: var(--text-mid);
}
.blog-related {
  padding: var(--space-2xl) 0;
}
.blog-related .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.blog-related-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .blog-related-grid { grid-template-columns: 1fr; }
}


/* BLOG FILTERS
   ------------------------------------------------------------ */
.blog-filters {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.blog-filters::-webkit-scrollbar { display: none; }

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  flex-shrink: 0;
}
.blog-filter-btn:hover {
  border-color: var(--blue);
  color: var(--navy);
}
.blog-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.blog-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.blog-category-count {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

/* PAGINATION
   ------------------------------------------------------------ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-2xl);
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--transition-base);
}
.pagination-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--navy);
}
.pagination-link.active {
  background: var(--navy);
  color: var(--white);
}
.pagination-link.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Sidebar count badge */
.sidebar-count {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 102, 255, 0.06);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}


/* ======================== AUTHOR BYLINE ======================== */
.author-byline {
  max-width: 640px;
  margin: var(--space-xl) auto var(--space-2xl);
  padding: 0 var(--gutter);
}
.author-byline-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition-base) var(--ease-out);
}
.author-byline-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.author-byline-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-byline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-byline-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.author-byline-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.author-byline-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}
.author-byline-credential {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.4;
}


/* ======================== DOCTOR PROFILE ======================== */
.doctor-hero {
  padding: 60px var(--gutter) 80px;
  background: var(--white);
}
.doctor-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.doctor-photo-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #001D3D 0%, #003566 50%, #0066FF 100%);
}
.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}
.doctor-name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.doctor-credential {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--space-lg);
}
.doctor-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.doctor-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.doctor-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.doctor-bio p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: var(--space-lg);
}
.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.doctor-specialty-tag {
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.3px;
}
.doctor-actions {
  display: flex;
  gap: 12px;
}
.doctor-articles {
  padding: var(--space-3xl) var(--gutter) var(--space-xl);
  background: var(--cream);
}
.doctor-articles .container {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-bottom: var(--space-xl);
}
.doctor-articles-count {
  font-size: 15px;
  color: var(--text-mid);
  margin-top: var(--space-md);
}
.doctor-articles-grid {
  max-width: var(--max-width);
  margin: 0 auto;
}
.doctor-articles-more {
  text-align: center;
  margin-top: var(--space-xl);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
a.blog-article-author,
a.blog-article-author-link {
  text-decoration: none;
  transition: color var(--transition-fast);
}
a.blog-article-author:hover,
a.blog-article-author-link:hover {
  color: var(--blue);
}
a.blog-article-author-link {
  font-weight: 600;
  color: var(--navy);
}

/* Doctor profile responsive */
@media (max-width: 1100px) {
  .doctor-hero-inner {
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
  }
}
@media (max-width: 768px) {
  .doctor-hero { padding: 40px 20px 60px; }
  .doctor-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .doctor-photo-wrap {
    width: 240px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto;
  }
  .doctor-stats { flex-direction: column; gap: var(--space-md); }
  .doctor-actions { flex-direction: column; }
  .doctor-actions .btn-wa { width: 100%; justify-content: center; }
  .author-byline-link {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 16px;
  }
  .author-byline-photo { margin: 0 auto; }
  .author-byline-name { font-size: 16px; }
}
