:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f2f5f9;
  --text: #0f172a;
  --muted: #475569;
  --accent: #0ea5e9;
  --accent-strong: #0369a1;
  --border: #e2e8f0;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 12% 20%, rgba(14, 165, 233, 0.1), transparent 28%),
              radial-gradient(circle at 88% 12%, rgba(3, 105, 161, 0.08), transparent 24%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

#site-header {
  display: grid;
  gap: 12px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mb-8 { margin-bottom: 8px; }
.heading-small { font-size: 1.1rem; margin-bottom: 8px; }
.subtitle-inline { margin: 0 0 6px; }
.inline-pill { display: inline-block; margin-top: 10px; }
.link-accent { color: var(--accent-strong); }

.button.compact { padding: 10px 18px; }
.button.slim { padding: 10px 16px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #ffffff 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 18px;
  z-index: 10;
  min-height: 110px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 90px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  line-height: 1.05;
}
.brand-tagline { font-size: 0.96rem; color: var(--muted); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--muted);
  align-items: center;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .menu-toggle {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.corner-logo {
  position: fixed;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  z-index: 30;
}

.corner-logo img {
  height: 38px;
  width: auto;
}

nav a {
  position: relative;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

nav a:hover, nav a:focus-visible {
  color: var(--text);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--border);
}

.nav-cta {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  color: var(--surface);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 16px 32px rgba(3, 105, 161, 0.25);
}

.header-contact {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, #ffffff 100%);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1rem;
}

.team-photo-banner {
  margin-top: 14px;
  margin-bottom: 24px;
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.team-photo-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

main { margin-top: 28px; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(3, 105, 161, 0.1)),
              var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 1.03rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-soft);
  border-radius: var(--radius-pill);
  color: var(--accent-strong);
  font-size: 0.88rem;
  border: 1px solid var(--border);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--surface);
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.3);
}

.button.secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--accent);
}

.button:hover { transform: translateY(-1px); }

.hero-image {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.25), transparent 40%);
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(3, 105, 161, 0.18);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  margin: 48px 0 8px;
}

.section header {
  position: relative;
  padding: 0 2px 10px;
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.section .intro {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 48rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card { 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.card.compact { padding: 14px 16px 10px; }

.faq-item {
  display: grid;
  gap: 6px;
  padding: 12px 0;
}

.faq-item + .faq-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { color: #334155; font-size: 0.93rem; }

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  color: #334155;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(3, 105, 161, 0.12));
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-soft);
  margin: 44px 0;
}

.highlight h2 { font-size: 1.35rem; margin-bottom: 6px; }
.highlight p { color: #0f172a; margin-bottom: 12px; }
.highlight ul { margin: 0; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

.summary-box {
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.article-page {
  max-width: 900px;
  margin: 0 auto;
}

.article-hero {
  grid-template-columns: 1fr;
  padding: 28px;
}

.article-hero .hero-content {
  max-width: 760px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.link-pill {
  color: var(--accent-strong);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.24);
}

.article-content {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.article-content h2 {
  font-size: 1.25rem;
  margin-top: 6px;
}

.article-content p {
  color: #334155;
  font-size: 1rem;
}

.before-after-hero {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.before-after-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-stack {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(3, 105, 161, 0.18));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  width: min(380px, 100%);
}

.photo-chip {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--surface);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(3, 105, 161, 0.2);
  text-transform: uppercase;
  font-size: 0.95rem;
}

.photo-chip.before {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.photo-chip.after {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.photo-chip.detail {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #0f172a;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.case-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.case-text h3 {
  margin: 4px 0 6px;
}

.case-text p {
  color: var(--muted);
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.case-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.before-after-pair figure {
  display: grid;
  gap: 6px;
}

.before-after-pair figcaption {
  font-size: 0.92rem;
  color: var(--muted);
}

.case-photo {
  position: relative;
  height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.case-photo::after {
  content: none;
}

.case-photo.before,
.case-photo.after {
  background-color: #f8fafc;
}

.photo-diabetic.before { background-image: radial-gradient(circle at 30% 30%, rgba(248, 113, 113, 0.45), transparent 48%),
                                       radial-gradient(circle at 70% 60%, rgba(251, 146, 60, 0.45), transparent 42%),
                                       linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(249, 115, 22, 0.28)); }
.photo-diabetic.after { background-image: radial-gradient(circle at 40% 40%, rgba(52, 211, 153, 0.5), transparent 46%),
                                      radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.32), transparent 40%),
                                      linear-gradient(135deg, rgba(34, 197, 94, 0.26), rgba(59, 130, 246, 0.2)); }

.photo-venous.before { background-image: radial-gradient(circle at 28% 40%, rgba(59, 130, 246, 0.36), transparent 48%),
                                     radial-gradient(circle at 70% 70%, rgba(56, 189, 248, 0.38), transparent 40%),
                                     linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.28)); }
.photo-venous.after { background-image: radial-gradient(circle at 36% 32%, rgba(34, 197, 94, 0.48), transparent 44%),
                                    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.36), transparent 40%),
                                    linear-gradient(145deg, rgba(34, 197, 94, 0.24), rgba(52, 211, 153, 0.22)); }

.photo-surgical.before { background-image: radial-gradient(circle at 28% 28%, rgba(248, 180, 0, 0.42), transparent 42%),
                                       radial-gradient(circle at 62% 64%, rgba(244, 114, 182, 0.36), transparent 40%),
                                       linear-gradient(135deg, rgba(248, 180, 0, 0.24), rgba(244, 114, 182, 0.2)); }
.photo-surgical.after { background-image: radial-gradient(circle at 34% 34%, rgba(59, 130, 246, 0.28), transparent 46%),
                                      radial-gradient(circle at 70% 68%, rgba(52, 211, 153, 0.32), transparent 40%),
                                      linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(52, 211, 153, 0.24)); }

.photo-journey-injury {
  background-image: radial-gradient(circle at 30% 30%, rgba(248, 113, 113, 0.48), transparent 52%),
    radial-gradient(circle at 68% 62%, rgba(251, 146, 60, 0.42), transparent 44%),
    linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(251, 191, 36, 0.22));
}

.photo-journey-surgery {
  background-image: radial-gradient(circle at 30% 28%, rgba(59, 130, 246, 0.42), transparent 52%),
    radial-gradient(circle at 72% 60%, rgba(14, 165, 233, 0.38), transparent 44%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(125, 211, 252, 0.2));
}

.photo-journey-npwt {
  background-image: radial-gradient(circle at 32% 32%, rgba(52, 211, 153, 0.46), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.36), transparent 44%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(59, 130, 246, 0.18));
}

.photo-journey-dressings {
  background-image: radial-gradient(circle at 30% 28%, rgba(248, 113, 113, 0.36), transparent 50%),
    radial-gradient(circle at 72% 60%, rgba(251, 146, 60, 0.32), transparent 44%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.16));
  background-position: center;
}

.photo-journey-healed {
  background-image: radial-gradient(circle at 30% 34%, rgba(34, 197, 94, 0.45), transparent 48%),
    radial-gradient(circle at 72% 62%, rgba(52, 211, 153, 0.36), transparent 42%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.16));
}

.photo-journey-dressings::after {
  top: auto;
  bottom: 10px;
}

.photo-dfu1-assessment {
  background-image: radial-gradient(circle at 32% 30%, rgba(59, 130, 246, 0.36), transparent 54%),
    radial-gradient(circle at 72% 64%, rgba(14, 165, 233, 0.34), transparent 46%),
    linear-gradient(145deg, rgba(59, 130, 246, 0.2), rgba(125, 211, 252, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu1-debridement {
  background-image: radial-gradient(circle at 30% 34%, rgba(248, 113, 113, 0.36), transparent 52%),
    radial-gradient(circle at 70% 66%, rgba(251, 146, 60, 0.34), transparent 44%),
    linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(249, 115, 22, 0.18));
  background-position: center;
  background-size: cover;
}

.photo-dfu1-npwt {
  background-image: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.4), transparent 54%),
    radial-gradient(circle at 70% 66%, rgba(16, 185, 129, 0.32), transparent 46%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(59, 130, 246, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu1-dressings {
  background-image: radial-gradient(circle at 32% 32%, rgba(245, 158, 11, 0.34), transparent 50%),
    radial-gradient(circle at 70% 64%, rgba(251, 191, 36, 0.32), transparent 44%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(59, 130, 246, 0.14));
  background-position: center;
  background-size: cover;
}

.photo-dfu1-healed {
  background-image: radial-gradient(circle at 32% 34%, rgba(34, 197, 94, 0.44), transparent 52%),
    radial-gradient(circle at 70% 64%, rgba(52, 211, 153, 0.34), transparent 46%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu2-assessment {
  background-image: radial-gradient(circle at 32% 30%, rgba(59, 130, 246, 0.36), transparent 54%),
    radial-gradient(circle at 70% 64%, rgba(14, 165, 233, 0.32), transparent 46%),
    linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu2-infection {
  background-image: radial-gradient(circle at 30% 32%, rgba(248, 113, 113, 0.36), transparent 50%),
    radial-gradient(circle at 72% 64%, rgba(239, 68, 68, 0.34), transparent 44%),
    linear-gradient(135deg, rgba(248, 113, 113, 0.18), rgba(251, 146, 60, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu2-offloading {
  background-image: radial-gradient(circle at 32% 30%, rgba(251, 191, 36, 0.34), transparent 52%),
    radial-gradient(circle at 70% 64%, rgba(248, 180, 0, 0.32), transparent 44%),
    linear-gradient(145deg, rgba(244, 114, 182, 0.18), rgba(251, 191, 36, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu2-granulation {
  background-image: radial-gradient(circle at 32% 32%, rgba(52, 211, 153, 0.4), transparent 52%),
    radial-gradient(circle at 70% 66%, rgba(16, 185, 129, 0.34), transparent 46%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-dfu2-healed {
  background-image: radial-gradient(circle at 32% 34%, rgba(34, 197, 94, 0.44), transparent 52%),
    radial-gradient(circle at 70% 62%, rgba(52, 211, 153, 0.32), transparent 46%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-diabetic-foot-before {
  background-image: radial-gradient(circle at 32% 30%, rgba(59, 130, 246, 0.36), transparent 54%),
    radial-gradient(circle at 70% 64%, rgba(14, 165, 233, 0.34), transparent 46%),
    linear-gradient(145deg, rgba(59, 130, 246, 0.2), rgba(125, 211, 252, 0.16));
  background-position: center;
  background-size: cover;
}

.photo-diabetic-foot-after {
  background-image: radial-gradient(circle at 32% 34%, rgba(34, 197, 94, 0.44), transparent 52%),
    radial-gradient(circle at 70% 62%, rgba(52, 211, 153, 0.32), transparent 46%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.16));
  background-position: center;
  background-size: cover;
}

.case-photo.before::after { content: "Before"; }
.case-photo.after::after { content: "After"; }

.callout { margin-top: 32px; }

.article-callout {
  border-radius: var(--radius-lg);
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(3, 105, 161, 0.08));
  padding: 16px 18px;
  margin: 6px 0 8px;
}

.article-callout h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.article-cta {
  margin-top: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 0.78rem;
}

.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.stat {
  display: inline-block;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.profile { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:16px 18px; box-shadow:0 10px 30px rgba(15,23,42,0.07); }
.profile h2 { font-size: 1.1rem; margin-bottom: 4px; }
.profile .title { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.profile p { font-size: 0.93rem; color: #334155; margin-bottom: 10px; }
.profile-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.profile-photo { width: 96px; height: 96px; border-radius: 16px; border: 1px solid var(--border); object-fit: cover; background: #e2e8f0; flex-shrink: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 20px; align-items: start; }

.card h2 { margin-bottom: 6px; font-size: 1.1rem; }
.line { font-size: 0.95rem; color: #334155; margin-bottom: 6px; }
.label { font-weight: 700; color: var(--text); }

.insurance-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.insurance-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.insurance-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.insurance-logo img {
  width: 70px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.insurance-logo figcaption {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  text-align: center;
}

form { display: grid; gap: 10px; margin-top: 10px; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--surface);
}

button[type="button"], button[type="submit"] {
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.28);
}

button:hover { transform: translateY(-1px); }

iframe { border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; height: 280px; background: #e2e8f0; }

.subtitle { font-size: 1rem; color: var(--muted); margin: 6px 0 18px; max-width: 46rem; }
.alert { margin-top: 18px; font-size: 0.92rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-md); padding: 12px 14px; color: #991b1b; }

footer { margin-top: 48px; padding: 18px 0; font-size: 0.9rem; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  header { position: static; top: auto; }
  .contact-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 700px) {
  .page { padding: 18px 14px 38px; }
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .header-top {
    width: 100%;
  }
  .brand-logo { height: 72px; }
  .brand-name { font-size: clamp(1.35rem, 4.4vw, 1.65rem); }
  .brand-tagline { font-size: 0.9rem; }
  .menu-toggle { display: inline-flex; }
  nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 6px 0 2px;
    border-top: 1px solid var(--border);
  }
  .header-contact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  header.nav-open nav { display: flex; }
  nav a { padding: 10px 12px; border-radius: var(--radius-md); }
  .hero { padding: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1; min-width: 180px; }
  .stat-row { width: 100%; }
}

@media (max-width: 520px) {
  header { border-radius: var(--radius-md); }
  nav { gap: 8px; }
  nav a { padding: 7px 10px; font-size: 0.9rem; }
  .hero { padding: 16px; gap: 16px; }
  .card { padding: 16px; }
  .grid { gap: 14px; }
  .stat-row { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .highlight { padding: 18px; }
  .contact-grid { gap: 14px; }
  footer { margin-top: 36px; }
}

/* Before & After template */
.before-after-page main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}

.ba-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(59, 130, 246, 0.08)),
              linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.ba-hero__content { display: grid; gap: 12px; }
.ba-hero__intro { color: var(--muted); max-width: 48ch; }

.ba-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.stat-chip {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.stat-number { font-weight: 800; font-size: 1.2rem; color: var(--accent-strong); }
.stat-label { color: var(--muted); font-size: 0.95rem; }

.ba-hero__visual { display: grid; gap: 10px; justify-items: center; }
.ba-hero__caption { color: var(--muted); font-size: 0.92rem; text-align: center; max-width: 38ch; }

.ba-cases .section-header { display: grid; gap: 12px; align-items: start; }
.ba-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
}

.ba-card__header p { color: var(--muted); }
.ba-card__header h3 { margin: 6px 0; }

.ba-frame {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), #ffffff);
}

.ba-frame--hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
  width: 100%;
}

.ba-photo {
  position: relative;
  border-radius: 16px;
  min-height: 170px;
  aspect-ratio: 4 / 3;
  background: #f5f7fb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

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

.ba-photo::after {
  content: attr(data-label);
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}



.ba-checklist {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #334155;
  padding-left: 2px;
}

.ba-checklist li {
  position: relative;
  padding-left: 20px;
}

.ba-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 800;
}

.ba-journey {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(255, 255, 255, 0.96));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  padding: 22px 22px 24px;
}

.ba-journey__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.ba-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
}

.ba-steps li {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ba-steps h4 { margin-bottom: 6px; }
.ba-steps p { color: var(--muted); }

.ba-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.08), rgba(14, 165, 233, 0.14));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  align-items: center;
}

.ba-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .ba-hero, .ba-journey__content, .ba-cta__panel { grid-template-columns: 1fr; }
  .ba-hero__visual { order: 2; }
  .ba-hero__content { order: 1; }
  .ba-cta__actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .ba-frame { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .ba-photo { min-height: 140px; }
  .ba-hero { padding: 20px; }
  .ba-journey, .ba-cta__panel { padding: 18px; }
}
