/* ============================================================
   Karem Law Firm — style.css
   Modern, utilitarian, mobile-first
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Cormorant+SC:wght@600;700&family=DM+Sans:wght@300;400;500&display=swap");

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --primary: #0a0a0a;
  --primary-dark: #000000;
  --primary-light: #3a3a3a;
  --bg: #f4f4f4;
  --bg-alt: #ffffff;
  --dark: #0a0a0a;
  --mid: #3a3a3a;
  --light: #8a8a8a;
  --border: #e0e0e0;
  --hero-bg: #0a0a0a;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --nav-h: 116px;
  --max-w: 1160px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.07);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms var(--ease);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

.not-italic {
  font-style: normal;
}

/* ── Accessibility ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--mid);
  max-width: 56ch;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  line-height: 1;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

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

.btn-sm {
  font-size: 0.8rem;
  padding: 0.55rem 1.1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
  height: 103px;
  width: auto;
}

.nav-mobile-phone {
  display: none;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--mid);
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-mobile-phone:hover {
  color: var(--dark);
}

/* Nav links (desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 260px;
  height: 0.85rem;
  transform: translateX(-50%);
}

.dropdown-chevron {
  transition: transform var(--transition);
}

.nav-dropdown-btn[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.45rem);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
  pointer-events: none;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.nav-dropdown-btn[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0.45rem);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--mid);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}

.dropdown-link:hover {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.05);
}

/* Nav CTA (desktop) */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  transition: color var(--transition);
}

.nav-phone:hover {
  color: var(--dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 280ms var(--ease),
    opacity 200ms var(--ease);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger[aria-expanded="true"] .ham-top {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .ham-mid {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .ham-bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 100svh;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
}

.slider-track {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 7s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 24, 30, 0.62) 0%,
    rgba(20, 24, 30, 0.38) 55%,
    rgba(20, 24, 30, 0.12) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  max-width: var(--max-w);
}

.slide-content > * {
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.slide-text {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition);
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background var(--transition),
    transform var(--transition);
}

.slider-dot.active {
  background: #ffffff;
  transform: scale(1.4);
}

/* ===== ATTORNEY PHOTO ===== */
.attorney-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
  background: var(--hero-bg);
  padding: 32px 32px 0;
}

.attorney-photo {
  width: 52%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.attorney-photo-caption {
  background: var(--hero-bg);
  padding: 20px 20px 16px;
  margin-top: 20px;
}

.attorney-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.attorney-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== COMMUNITY BAND ===== */
.community-band {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.community-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.community-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 30, 0.68);
}

.community-band-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.community-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.community-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.trust-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

/* ============================================================
   VALUES STRIP
   ============================================================ */
.values-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

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

.value-card {
  background: var(--bg-alt);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--dark);
}

.value-icon {
  margin-bottom: 1.25rem;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-left .section-heading {
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-highlights {
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.highlight-item svg {
  flex-shrink: 0;
}

/* About right column */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-quote-card {
  background: var(--hero-bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.quote-attr {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.about-detail-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

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

.detail-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--light);
}

.detail-row dd {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice-section {
  background: var(--bg-alt);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.practice-card:nth-child(-n + 3) {
  grid-column: span 2;
}

.practice-card:nth-child(n + 4) {
  grid-column: span 3;
}

.practice-card {
  background: var(--bg-alt);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
  position: relative;
  cursor: pointer;
}

.practice-card:hover {
  background: var(--bg);
}

.practice-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.practice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.practice-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.practice-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.practice-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-decoration: none;
  transition:
    gap var(--transition),
    color var(--transition);
  margin-top: auto;
}

.practice-link:hover {
  color: var(--dark);
  gap: 0.55rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-left .section-heading {
  margin-bottom: 1rem;
}

.contact-intro {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 48ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dark);
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.2rem;
}

.contact-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  transition: color var(--transition);
}

a.contact-value:hover {
  color: var(--dark);
  text-decoration: underline;
}

/* Form card */
.form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* TODO: remove .form-disclaimer and its markup on every page once send_mail.php delivery is confirmed working (see MAIL_SETUP.md) */
.form-disclaimer {
  background: #fdf6e3;
  border: 1px solid #D2A312;
  border-left: 4px solid #D2A312;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--mid);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mid);
  text-transform: uppercase;
}

.required {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
  border-color: #e05252;
}

.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.12);
}

.form-notice {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-notice.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-notice.error {
  display: block;
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--hero-bg);
  color: rgba(255, 255, 255, 0.55);
}

/* Footer top */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo,
.footer-logo-link svg {
  height: 50px;
  width: auto;
  opacity: 0.8;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.footer-wordmark-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-wordmark-sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-wordmark-loc {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline em {
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

/* Footer nav */
.footer-nav {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-nav-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-nav-col a:hover {
  color: #fff;
}

/* Badges */
.footer-badges {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-badges-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.badge-img {
  height: 36px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(30%);
  transition: opacity var(--transition);
}

.badge-img:hover {
  opacity: 0.75;
}

/* Disclaimer */
.footer-disclaimer {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-disclaimer p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.3);
  max-width: 90ch;
}

/* Footer bar */
.footer-bar {
  padding: 1.1rem 0;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-dev {
  padding-bottom: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-dev a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-dev a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Nav */
  .nav-cta .nav-phone {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-right {
    position: static;
  }

  /* Practice */
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-card:nth-child(-n + 3),
  .practice-card:nth-child(n + 4) {
    grid-column: span 1;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    /* Adjust nav height for mobile (logo + phone/hamburger rows) */
    --nav-h: 138px;
  }

  /* Nav mobile */
  .site-header {
    height: var(--nav-h);
  }

  .nav-inner {
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0;
    padding-block: 0.5rem;
  }

  .nav-cta {
    display: none;
  }

  /* Logo spans full first row */
  .nav-logo {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-logo img,
  .nav-logo svg {
    height: 88px;
  }

  /* Phone + hamburger share second row */
  .nav-mobile-phone {
    display: flex;
    order: 2;
    flex: 1;
    justify-content: center;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-mobile-phone::before {
    content: "";
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
  }

  .hamburger {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  .nav-links {
    order: 4;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    margin: 0;
    overflow-y: auto;
    border-top: 1px solid var(--border);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 250ms var(--ease),
      visibility 250ms var(--ease),
      transform 250ms var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    color: var(--mid);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Mobile dropdown */
  .has-dropdown {
    flex-direction: column;
  }

  .has-dropdown::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.03);
    padding: 0;
    pointer-events: auto;
    display: none;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu,
  .nav-dropdown-btn[aria-expanded="true"] + .dropdown-menu,
  .dropdown-menu.is-open {
    display: block;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-link {
    padding: 0.8rem 0.75rem 0.8rem 1.75rem;
    font-size: 0.9rem;
    color: var(--mid);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
  }

  /* Mobile CTA */
  .nav-links .mobile-cta-wrap {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Practice */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Slider / Hero */
  [data-slide="2"] .slide-bg {
    background-image: url("assets/images/kitchenSink-mobile-crop-v3.png") !important;
  }

  .slide-content {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3rem;
  }

  .slider-controls {
    bottom: 130px;
    padding: 0 1.25rem;
    gap: 0.9rem;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .slider-dots {
    gap: 0.85rem;
  }

  .community-band {
    height: 200px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-strip-inner {
    flex-direction: column;
    gap: 0.65rem;
  }

  .trust-sep {
    display: none;
  }

  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .hero-actions,
  .contact-form,
  .footer-badges {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ===== PRACTICE AREA PAGES ===== */
.page-hero {
  background: var(--hero-bg);
  padding: calc(var(--nav-h) + 80px) 0 80px;
}
.page-hero-inner {
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero-eyebrow a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.hero-eyebrow a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.content-section {
  padding: 80px 0;
  background: var(--bg);
}
.content-section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.content-main h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}
.content-main > p {
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.75;
}
.coverage-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.coverage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
}
.coverage-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dark);
  margin-top: 6px;
}

/* Sidebar */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
.sidebar-card p {
  font-size: 0.86rem;
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.6;
}
.sidebar-phone {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
}
.sidebar-phone:hover {
  text-decoration: underline;
}
.sidebar-card--dark {
  background: var(--hero-bg);
  border-color: rgba(255, 255, 255, 0.08);
}
.sidebar-card--dark h3 {
  color: #fff;
}
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-links a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.sidebar-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.sidebar-links a.active {
  color: #ffffff;
  font-weight: 500;
}

/* Approach section */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.approach-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}
.approach-grid p {
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.callout-card {
  background: var(--hero-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
}
.callout-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.callout-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.callout-card .btn {
  width: 100%;
  justify-content: center;
}

/* When to call us */
.when-grid {
  text-align: center;
}
.when-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--dark);
}
.when-grid .section-label {
  display: block;
  margin-bottom: 12px;
}
.when-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.when-card {
  background: var(--bg-alt);
  padding: 28px 24px;
  text-align: left;
}
.when-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.when-card p {
  font-size: 0.84rem;
  color: var(--mid);
  line-height: 1.6;
}

/* Responsive for practice area pages */
@media (max-width: 900px) {
  .content-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .content-sidebar {
    position: static;
  }
  .coverage-list {
    grid-template-columns: 1fr;
  }
  .when-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .when-cards {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: calc(var(--nav-h) + 40px) 0 60px;
  }
}

/* ============================================================
   SEO ADDITIONS — Footer NAP, FAQ, Testimonials, Results,
   Local Context, Legal Pages, Coverage Note
   ============================================================ */

/* ── Footer NAP ─────────────────────────────────────────────── */
.footer-nap {
  background: var(--hero-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}
.footer-nap-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-nap-address {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
}
.footer-nap-address strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.footer-nap-address a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-nap-address a:hover {
  text-decoration: underline;
}
.footer-nap-service-area {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 460px;
}
@media (max-width: 600px) {
  .footer-nap-inner {
    gap: 20px;
  }
  .footer-nap-service-area {
    max-width: 100%;
  }
}

/* ── Coverage note (cross-link paragraph in practice pages) ─── */
.coverage-note {
  font-size: 0.84rem;
  color: var(--mid);
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg);
  border-left: 3px solid var(--dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}
.coverage-note a {
  color: var(--dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ── FAQ — shared (faq.html + practice-page FAQ sections) ───── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 16px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] > .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 4px 20px;
}
.faq-answer p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer a {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ── FAQ hub page ───────────────────────────────────────────── */
.faq-section {
  padding-top: 0;
}
.faq-container {
  max-width: 800px;
}
.faq-group {
  margin-bottom: 48px;
}
.faq-group:last-child {
  margin-bottom: 0;
}
.faq-group-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--dark);
  display: inline-block;
}

/* ── Practice-page FAQ section ──────────────────────────────── */
.practice-faq-section {
  background: var(--bg);
}
.practice-faq-list {
  max-width: 760px;
  margin-bottom: 20px;
}
.faq-hub-link {
  font-size: 0.84rem;
  color: var(--mid);
}
.faq-hub-link a {
  color: var(--dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ── Local context section ──────────────────────────────────── */
.local-context-section {
  background: var(--bg-alt);
}
.local-context-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}
.placeholder-copy {
  font-size: 0.87rem;
  color: var(--light);
  font-style: italic;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

/* ── Results section ────────────────────────────────────────── */
.results-section--hidden {
  display: none;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.result-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.result-amount {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.result-type {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 8px;
}
.result-note {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.5;
}
.results-disclaimer {
  font-size: 0.75rem;
  color: var(--light);
  font-style: italic;
}

/* ── Homepage testimonials section ─────────────────────────── */
.testimonials-section {
  background: var(--bg);
  padding: 80px 0;
  text-align: center;
}
.testimonials-aggregate {
  text-align: center;
  font-size: 0.95rem;
  color: var(--light);
  margin-top: 8px;
}
.testimonials-aggregate strong {
  color: var(--accent);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.testimonial-stars {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-attr {
  font-size: 0.78rem;
  color: var(--light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.testimonials-cta {
  text-align: center;
  margin-top: 48px;
}
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Legal pages (privacy, terms, disclaimer) ───────────────── */
.legal-page-content {
  max-width: 760px;
  padding-top: 0;
}
.legal-page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin: 32px 0 12px;
}
.legal-page-content h2:first-of-type {
  margin-top: 0;
}
.legal-page-content p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-page-content ol,
.legal-page-content ul {
  margin: 0 0 14px;
  padding-left: 1.5rem;
}
.legal-page-content ol {
  list-style: decimal;
}
.legal-page-content ul {
  list-style: disc;
}
.legal-page-content .terms-sections {
  list-style: none;
  counter-reset: term-section;
  margin: 0;
  padding-left: 0;
}
.legal-page-content .terms-sections > li {
  counter-increment: term-section;
  margin-bottom: 18px;
}
.legal-page-content .terms-sections > li > h2 {
  margin-top: 0;
}
.legal-page-content .terms-sections > li > h2::before {
  content: counter(term-section) ". ";
}
.legal-page-content .terms-sublist {
  list-style: none;
  counter-reset: terms-subitem;
  margin-bottom: 0;
  padding-left: 1.75rem;
}
.legal-page-content .terms-sublist li {
  position: relative;
  padding-left: 2.25rem;
}
.legal-page-content .terms-sublist li::before {
  counter-increment: terms-subitem;
  content: counter(term-section) "." counter(terms-subitem);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mid);
}
.legal-page-content li {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-page-content a {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-page-date {
  font-size: 0.78rem;
  color: var(--light);
  margin-bottom: 32px !important;
  font-style: italic;
}

/* ── Hero eyebrow link (faq.html intro) ─────────────────────── */
.hero-eyebrow-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
