/* ============================================================
   NORTHCOTE FAMILY DENTAL — Design System
   "Warm Family-Friendly"
   Palette: Warm Orange / Sage Green / Off-white
   Fonts: Playfair Display (headings) + Plus Jakarta Sans (body)
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- TOKENS ---------- */
:root {
  /* ── Colours ── */
  --primary: #D4722A;
  --primary-deep: #B55E1C;
  --primary-light: #E08E4E;
  --primary-muted: rgba(212, 114, 42, 0.08);

  --accent: #6B9E7E;
  --accent-deep: #578268;
  --accent-light: #8FBD9E;
  --accent-muted: rgba(107, 158, 126, 0.1);

  --sage: #8BAF9C;
  --sage-deep: #6B9280;
  --sage-light: #B0CFC0;

  --bg: #F7F3EE;
  --bg-warm: #F0EBE4;
  --bg-card: #FEFCFA;
  --bg-dark: #1E2A35;
  --bg-dark-soft: #263545;

  --text: #1E2A35;
  --text-soft: #4A5568;
  --text-muted: #8896A4;
  --text-on-dark: #F7F3EE;
  --text-on-dark-soft: rgba(247, 243, 238, 0.6);

  --border: rgba(30, 42, 53, 0.08);
  --border-strong: rgba(30, 42, 53, 0.14);

  /* ── Fonts ── */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;

  /* ── Layout ── */
  --nav-height: 76px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-wide: 1360px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 60px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle linen texture — warm editorial feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

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; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

p {
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 1.75;
  color: var(--text-soft);
}

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: block;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container--wide { max-width: var(--container-wide); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(212, 114, 42, 0.25);
}
.btn--primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  box-shadow: 0 8px 28px rgba(212, 114, 42, 0.35);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(107, 158, 126, 0.3);
}
.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--outline-light {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.btn--sm { padding: 11px 22px; font-size: 0.82rem; }
.btn--lg { padding: 18px 42px; font-size: 0.95rem; }

@media (max-width: 600px) {
  .btn { padding: 14px 28px; font-size: 0.85rem; }
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(247, 243, 238, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav__logo-icon svg { width: 20px; height: 20px; }
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav__logo-text span { color: var(--primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__links a:hover,
.nav__links a.active { color: var(--primary); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta { margin-left: 8px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav__mobile-menu.open { display: flex; opacity: 1; }
.nav__mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s;
}
.nav__mobile-menu a:hover { color: var(--primary); }
.nav__mobile-close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta.desktop-only { display: none; }
  .nav__hamburger { display: flex; }
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  padding: calc(var(--nav-height) + 56px) 0 56px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, var(--primary-muted) 0%, transparent 50%),
    radial-gradient(ellipse at 25% 75%, var(--accent-muted) 0%, transparent 50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 12px; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.page-header p { max-width: 540px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb .sep { opacity: 0.3; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 114, 42, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, var(--accent-muted) 0%, transparent 40%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg) 100%);
}

/* Editorial geometric frame element */
.hero__frame {
  position: absolute;
  right: 44%;
  top: 15%;
  width: 1px;
  height: 70%;
  background: var(--border-strong);
  z-index: 1;
  opacity: 0.4;
}
.hero__frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: -40px;
  width: 80px;
  height: 1px;
  background: var(--border-strong);
}
.hero__frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 80px;
  height: 1px;
  background: var(--border-strong);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 680px;
  justify-self: end;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-muted);
  border: 1px solid rgba(212, 114, 42, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s 0.2s both;
}
.hero__badge svg { width: 14px; height: 14px; }

.hero h1 { margin-bottom: 24px; animation: fadeInUp 0.8s 0.3s both; }
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-muted);
  z-index: -1;
  border-radius: 3px;
  opacity: 0.6;
}

.hero__text {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.45s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.55s both;
}

/* Hero image — editorial crop */
.hero__image-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 500px;
  animation: fadeIn 1s 0.4s both;
}
.hero__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Gradient fade on left edge */
.hero__image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, var(--bg), transparent);
  z-index: 1;
}

/* Floating info card over image */
.hero__info-card {
  position: absolute;
  bottom: 60px;
  left: -30px;
  z-index: 3;
  background: rgba(254, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(30, 42, 53, 0.12);
  animation: fadeInUp 0.8s 0.8s both;
  border: 1px solid var(--border);
}
.hero__info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1.1;
}
.hero__info-card span {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.hero__info-card span svg { width: 13px; height: 13px; color: var(--accent); fill: var(--accent); }

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: clamp(24px, 5vw, 80px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 1s 1.2s both;
}
.hero__scroll-hint span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--primary);
  animation: scrollRight 2.2s infinite;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 0 0;
  }
  .hero__content {
    max-width: 100%;
    padding: 0 clamp(20px, 4vw, 48px);
    padding-bottom: 48px;
    justify-self: start;
  }
  .hero__image-wrap { min-height: 360px; }
  .hero__image::before { display: none; }
  .hero__frame { display: none; }
  .hero__scroll-hint { display: none; }
  .hero__info-card { bottom: 20px; left: 20px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  padding: 56px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-bar__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
/* Vertical dividers between items */
.trust-bar__item + .trust-bar__item::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-strong);
}

.trust-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.trust-bar__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trust-bar__item:nth-child(3)::before { display: none; }
}

/* ---------- SERVICES PREVIEW (home) ---------- */
.services-preview {
  padding: var(--section-pad) 0;
}
.services-preview__header {
  max-width: 540px;
  margin-bottom: 56px;
}
.services-preview__header h2 { margin-bottom: 16px; }

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* Top accent line */
.sp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(30, 42, 53, 0.08);
  border-color: transparent;
}
.sp-card:hover::before { transform: scaleX(1); }

.sp-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-card__icon svg { width: 24px; height: 24px; }
.sp-card__icon--general  { background: var(--primary-muted); color: var(--primary); }
.sp-card__icon--cosmetic { background: var(--accent-muted); color: var(--accent); }
.sp-card__icon--kids     { background: rgba(139, 175, 156, 0.12); color: var(--sage); }
.sp-card__icon--emergency { background: rgba(200, 60, 60, 0.08); color: #C43C3C; }
.sp-card__icon--restore  { background: rgba(212, 114, 42, 0.06); color: var(--primary-light); }
.sp-card__icon--ortho    { background: rgba(107, 158, 126, 0.08); color: var(--accent-deep); }

.sp-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.sp-card p {
  font-size: 0.84rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.sp-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
  transition: gap 0.3s;
}
.sp-card:hover .sp-card__link { gap: 8px; }
.sp-card__link svg { width: 13px; height: 13px; }

@media (max-width: 960px) {
  .services-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .services-preview__grid { grid-template-columns: 1fr; }
}

/* ---------- SERVICES PAGE — Full service sections ---------- */
.service-detail {
  padding: var(--section-pad) 0;
  position: relative;
}
.service-detail:nth-child(even) {
  background: var(--bg-card);
}
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.service-detail:nth-child(even) .service-detail__grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail__grid > * {
  direction: ltr;
}
.service-detail__content h2 { margin-bottom: 16px; }
.service-detail__content p { margin-bottom: 12px; }

.service-detail__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-muted), var(--accent-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.service-list li svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 800px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
  }
  .service-detail:nth-child(even) .service-detail__grid {
    direction: ltr;
  }
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- CTA BAND ---------- */
.cta-band {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 114, 42, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(107, 158, 126, 0.08) 0%, transparent 50%);
}
/* Geometric accent lines */
.cta-band::after {
  content: '';
  position: absolute;
  right: 10%;
  top: -20%;
  width: 200px;
  height: 140%;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 0;
  transform: rotate(12deg);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band h2 { color: var(--text-on-dark); margin-bottom: 16px; }
.cta-band p { color: var(--text-on-dark-soft); font-size: 1.05rem; margin-bottom: 32px; }
.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.cta-band__phone svg { width: 16px; height: 16px; }

@media (max-width: 600px) {
  .cta-band__actions { flex-direction: column; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-card);
}
.testimonials__header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}
.testimonials__header .section-label { justify-content: center; }
.testimonials__header h2 { margin-bottom: 12px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-3px); }

/* Large quotation mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.08;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.testimonial-card__stars svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
}
.testimonial-card__source {
  font-size: 0.74rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- ABOUT SECTION (home snippet) ---------- */
.about-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.about-section__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-section__image-wrap { position: relative; }
.about-section__image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30, 42, 53, 0.1);
  position: relative;
  background: linear-gradient(135deg, var(--primary-muted), var(--accent-muted));
}
.about-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Editorial frame accent */
.about-section__frame {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 50%;
  height: 50%;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  opacity: 0.2;
  border-radius: 4px 0 0 0;
}

.about-section__content h2 { margin-bottom: 20px; }
.about-section__text { margin-bottom: 14px; }

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 28px;
}
.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary-muted);
  border: 1px solid rgba(212, 114, 42, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
}
.credential-tag svg { width: 13px; height: 13px; flex-shrink: 0; }

@media (max-width: 800px) {
  .about-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-section__image-wrap { max-width: 380px; margin: 0 auto; }
}

/* ---------- ABOUT PAGE — Extended ---------- */
.about-page-detail { background: var(--bg-card); }
.about-page-detail .about-section__grid {
  grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 800px) {
  .about-page-detail .about-section__grid { grid-template-columns: 1fr; }
}

/* ---------- TEAM GRID ---------- */
.team-section {
  padding: var(--section-pad) 0;
}
.team-section__header {
  max-width: 540px;
  margin-bottom: 56px;
}
.team-section__header h2 { margin-bottom: 12px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30, 42, 53, 0.08);
}

.team-card__image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--primary-muted), var(--accent-muted));
  overflow: hidden;
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__info {
  padding: 18px 16px;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}
.team-card__role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-card__bio {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---------- PRACTICE FEATURES (about page) ---------- */
.practice-section {
  padding: var(--section-pad) 0;
  background: var(--bg-card);
}
.practice-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.practice-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.practice-feature__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.practice-feature__icon svg { width: 20px; height: 20px; color: var(--primary); }
.practice-feature h4 { margin-bottom: 5px; }
.practice-feature p { font-size: 0.86rem; }

@media (max-width: 800px) {
  .practice-section__grid { grid-template-columns: 1fr; }
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  padding: var(--section-pad) 0;
}
.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  gap: 14px;
}
.contact-item__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 19px; height: 19px; color: var(--primary); }
.contact-item h3 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 3px;
}
.contact-item p { font-size: 0.86rem; }
.contact-item a { color: var(--primary); transition: opacity 0.3s; }
.contact-item a:hover { opacity: 0.7; }

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 0.86rem;
}
.hours-grid .day { color: var(--text-soft); font-weight: 500; }
.hours-grid .time { color: var(--text); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-cta {
  margin-top: 32px;
  padding: 24px;
  background: var(--primary);
  border-radius: var(--radius);
}
.contact-cta h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.contact-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

@media (max-width: 800px) {
  .contact-section__grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 60px 0 36px;
  background: var(--bg-dark);
  color: var(--text-on-dark-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer__brand { max-width: 280px; }
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 14px;
}
.footer__logo span { color: var(--accent); }
.footer__brand p {
  font-size: 0.84rem;
  color: var(--text-on-dark-soft);
  line-height: 1.65;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-dark);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-on-dark-soft);
  padding: 3px 0;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--accent-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__copy {
  font-size: 0.73rem;
  color: rgba(247, 243, 238, 0.2);
}
.footer__pitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: rgba(107, 158, 126, 0.1);
  border: 1px solid rgba(107, 158, 126, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.06em;
}

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- UTILITY ---------- */
.desktop-only { }
@media (max-width: 960px) {
  .desktop-only { display: none !important; }
}
.mobile-only { display: none !important; }
@media (max-width: 960px) {
  .mobile-only { display: flex !important; }
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollRight {
  0% { left: -100%; }
  100% { left: 200%; }
}
