/*
Theme Name: Tenorio Law
Theme URI: https://www.tenoriolaw.com
Author: Tenorio Law, PC
Description: Custom theme for Tenorio Law, PC. Immigration and estate planning. Navy and gold. One Law Firm.
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tenoriolaw
*/

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

:root {
  --navy: #0f2340;
  --navy-mid: #1a3456;
  --navy-light: #243f66;
  --gold: #c8a96e;
  --gold-light: #e8d5a8;
  --gold-pale: #f9f4eb;
  --gold-text: #86662a;
  --cream: #faf8f4;
  --warm-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-muted: #5c5c5c;
  --border: rgba(200, 169, 110, 0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 35, 64, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.2);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0.5rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,213,168,0.55);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle:hover { color: var(--gold-light); }

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: rgba(15, 35, 64, 0.98);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 4px;
  min-width: 180px;
  padding: 0.4rem 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--gold-light);
  background: rgba(200,169,110,0.08);
}

.nav-badge {
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #0d2f4a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* subtle decorative lines */
#hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(200,169,110,0.03) 0px,
    rgba(200,169,110,0.03) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  position: relative;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-style: italic;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid var(--gold);
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--gold-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-title em { font-style: italic; }

.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 600px;
}

/* ── ABOUT ── */
#about { background: var(--warm-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-light);
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(255,255,255,0.72);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  padding: 2rem;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  z-index: 0;
}

.about-content { position: relative; }

.about-awards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.award-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  padding: 0.5rem 1rem;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 2px;
  align-self: flex-start;
}

.award-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── SERVICES ── */
#services { background: var(--cream); }

.services-header {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.practice-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

#tab-estate { display: none; }
.tab-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 500;
}

.tab-btn:disabled {
  cursor: default;
  opacity: 0.4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}

.service-card:hover { border-color: rgba(200,169,110,0.5); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.service-link:hover { border-color: var(--gold); }


/* ── PROCESS ── */
#process { background: var(--navy); }

#process .section-title { color: white; }
#process .section-body { color: rgba(255,255,255,0.72); }
#process .section-eyebrow { color: var(--gold); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-step {
  padding: 2.5rem 2rem;
  border-left: 1px solid rgba(200,169,110,0.15);
  position: relative;
}

.process-step:last-child { border-right: 1px solid rgba(200,169,110,0.15); }

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(200,169,110,0.62);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ── BLOG TEASER ── */
#blog { background: var(--warm-white); }

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  background: var(--warm-white);
  transition: background 0.2s;
  gap: 1.5rem;
  user-select: none;
}

.accordion-header:hover { background: var(--gold-pale); }
.accordion-item.open .accordion-header { background: var(--gold-pale); border-left: 3px solid var(--gold); }

.accordion-header-left { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.accordion-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

.accordion-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.accordion-chevron {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.3s, background 0.2s;
  background: transparent;
}

.accordion-item.open .accordion-chevron { transform: rotate(180deg); background: var(--gold); color: var(--navy); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body { max-height: 3000px; }

.accordion-content {
  padding: 1.75rem 1.75rem 2rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.accordion-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.accordion-content p:last-child { margin-bottom: 0; }

.blog-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--gold-pale); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── CONSULTATION CTA ── */
#consult {
  background: var(--navy);
  text-align: center;
  padding: 7rem 2rem;
}

#consult .section-title { color: white; margin-bottom: 1rem; }
#consult .section-body { color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 2.5rem; }

.consult-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.consult-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 2px;
  padding: 2rem 2.5rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  min-width: 200px;
}

.consult-card:hover { background: rgba(200,169,110,0.1); border-color: var(--gold); }

.consult-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.consult-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.35rem;
}

.consult-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
}

/* ── NEWSLETTER ── */
#newsletter {
  background: var(--cream);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner .section-title { font-size: 1.8rem; margin-bottom: 0.75rem; }
.newsletter-inner p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.875rem;
  background: var(--warm-white);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  background: var(--navy);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--navy-mid); }

.newsletter-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200,169,110,0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── PHONE BADGE ── */
.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: background 0.2s;
}

.phone-badge:hover { background: rgba(200,169,110,0.2); }

/* ── DIVIDER ── */
.ornament {
  text-align: center;
  color: var(--gold);
  opacity: 0.3;
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  margin: 1.5rem 0;
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 380px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  section { padding: 4rem 1.25rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-left: none; border-top: 1px solid rgba(200,169,110,0.15); }
  .process-step:last-child { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── WORDPRESS ADDITIONS ── */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
  left: 1rem; top: 1rem; z-index: 1000; padding: 0.75rem 1rem;
  background: var(--gold); color: var(--navy); text-decoration: none;
}

/* Mobile menu */
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(200,169,110,0.4);
  color: var(--gold-light); font-family: var(--sans); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 0.8rem;
  border-radius: 4px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none !important; }
  .nav-links.is-open {
    display: flex !important; flex-direction: column; align-items: stretch;
    position: absolute; top: 80px; left: 0; right: 0; padding: 1rem 2rem 1.5rem;
    background: rgba(15,35,64,0.99); border-bottom: 1px solid rgba(200,169,110,0.2);
  }
  .nav-links.is-open a, .nav-links.is-open .nav-dropdown-toggle { padding: 0.75rem 0; font-size: 0.8rem; }
  .nav-links.is-open .nav-dropdown-menu { display: block; position: static; box-shadow: none; background: none; padding: 0 0 0 1rem; border: 0; }
  .nav-links.is-open .nav-cta { text-align: center; margin-top: 0.5rem; }
  nav svg { height: 46px; width: auto; }
  .tl-two-col { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .services-header { flex-direction: column; align-items: flex-start !important; gap: 1.5rem; }
}
@media (max-width: 600px) {
  [role="tabpanel"] > div[style*="padding:3rem"],
  [role="tabpanel"] > div[style*="padding:2.5rem"] { padding: 1.75rem !important; }
}

/* Article links inside accordions */
.accordion-content .tl-read-more {
  display: inline-block; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none;
}
.accordion-content .tl-read-more:hover { color: var(--navy); }
.tl-view-all { display: inline-block; margin-top: 1rem; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ── INNER PAGES (single article, archives, pages) ── */
.tl-page-hero {
  background: var(--navy); padding: 9.5rem 2rem 3.5rem; text-align: center;
}
.tl-page-hero .blog-tag { display: inline-block; margin-bottom: 1rem; }
.tl-page-hero h1 {
  font-family: var(--serif); font-weight: 300; color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; max-width: 860px; margin: 0 auto;
}
.tl-page-hero .tl-meta { margin-top: 1.25rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,213,168,0.7); }
.tl-page-body { background: var(--cream); padding: 4rem 2rem 5rem; }
.tl-prose { max-width: 720px; margin: 0 auto; font-family: var(--sans); color: var(--text-mid); font-size: 1.02rem; line-height: 1.85; }
.tl-prose > * + * { margin-top: 1.25rem; }
.tl-prose h2, .tl-prose h3 { font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.25; margin-top: 2.25rem; }
.tl-prose h2 { font-size: 1.9rem; } .tl-prose h3 { font-size: 1.45rem; }
.tl-prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.tl-prose ul, .tl-prose ol { padding-left: 1.4rem; }
.tl-prose li + li { margin-top: 0.4rem; }
.tl-prose strong { color: var(--navy); }
.tl-prose img { max-width: 100%; height: auto; }
.tl-prose blockquote { border-left: 2px solid var(--gold); padding-left: 1.25rem; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.tl-disclaimer { max-width: 720px; margin: 3rem auto 0; background: var(--gold-pale); border: 1px solid var(--border); padding: 1.25rem 1.75rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.tl-cta { max-width: 720px; margin: 2rem auto 0; background: var(--navy); padding: 2.25rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tl-cta p { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: #fff; line-height: 1.4; margin: 0; }
.tl-post-nav { max-width: 720px; margin: 2rem auto 0; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; }
.tl-post-nav a { color: var(--navy); text-decoration: none; }
.tl-list { max-width: 900px; margin: 0 auto; display: grid; gap: 1rem; }
.tl-list-item { background: #fff; border: 1px solid var(--border); padding: 1.75rem 2rem; text-decoration: none; display: block; transition: border-color 0.2s; }
.tl-list-item:hover { border-color: var(--gold); }
.tl-list-item h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--navy); line-height: 1.25; margin: 0.6rem 0 0.5rem; }
.tl-list-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.tl-filter { max-width: 900px; margin: 0 auto 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.tl-filter a { padding: 0.5rem 1rem; border: 1px solid var(--border); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); text-decoration: none; background: #fff; }
.tl-filter a.is-current { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.tl-pagination { max-width: 900px; margin: 2rem auto 0; display: flex; gap: 0.5rem; justify-content: center; }
.tl-pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--border); color: var(--navy); text-decoration: none; font-size: 0.8rem; background: #fff; }
.tl-pagination .current { background: var(--navy); color: #fff; }
.alignwide { max-width: 960px; } .alignfull { max-width: none; }
.wp-block-image figcaption { font-size: 0.8rem; color: var(--text-muted); }

/* Review name lines use <footer>; keep them out of the site footer styling. */
.testimonial-card footer { background: none; color: inherit; padding: 0; margin-top: 1.25rem; }

/* ── ACCESSIBILITY (WCAG 2.2 AA) ── */
/* Gold text on light backgrounds uses a deeper gold. Navy sections keep the bright gold via inline styles. */
.section-eyebrow, .blog-tag, .service-link, .tl-read-more, .accordion-content .tl-read-more { color: var(--gold-text); }
#services .section-title em, #about .section-title em, #contact .section-title em { color: var(--gold-text); }
.tl-page-hero .blog-tag, [style*="background:var(--navy)"] .section-eyebrow { color: var(--gold); }
.tab-btn { color: var(--text-muted); }
.tab-btn.active { color: var(--navy); }

/* Visible keyboard focus on every interactive element */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, [role="tab"]:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}
#hero a:focus-visible, nav a:focus-visible, nav button:focus-visible, footer a:focus-visible { outline-color: var(--gold-light); }

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── LARGER HEADER: logo and firm name more prominent ── */
.nav-inner { height: 112px; max-width: 1280px; }
nav .tl-brand svg { height: 84px; width: auto; }
#hero { padding-top: 11rem; }
.tl-page-hero { padding-top: 12rem; }
.nav-links a, .nav-dropdown-toggle { font-size: 0.78rem; color: rgba(255,255,255,0.85); }
.nav-cta { padding: 0.65rem 1.2rem !important; }
html { scroll-padding-top: 124px; }
@media (max-width: 1100px) { nav .tl-brand svg { height: 70px; } .nav-inner { height: 100px; } }
@media (max-width: 900px) {
  .nav-inner { height: 88px; }
  nav .tl-brand svg { height: 62px; }
  .nav-links.is-open { top: 88px; }
  #hero { padding-top: 9rem; }
  .tl-page-hero { padding-top: 9.5rem; }
}
@media (max-width: 420px) { nav .tl-brand svg { height: 52px; } }

/* ── PRACTICE AREAS MENU: no hover gap, opens on click/keyboard ── */
.nav-dropdown-menu { top: 100%; list-style: none; margin: 0; }
.nav-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu { padding-top: 0.5rem; }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a { font-size: 0.75rem; padding: 0.7rem 1.1rem; }
.nav-dropdown.is-open .nav-dropdown-toggle::after { transform: rotate(180deg); }

/* ── ARTICLE ACCORDION: title is a button ── */
.accordion-header { position: relative; cursor: pointer; }
.tl-acc-toggle {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  text-align: left; cursor: pointer; line-height: inherit; letter-spacing: inherit;
}
.tl-acc-toggle::after { content: ''; position: absolute; inset: 0; }
.tl-acc-toggle:focus-visible { outline: none; }
.accordion-header:has(.tl-acc-toggle:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }
.accordion-item:not(.open) .accordion-body { visibility: hidden; }
.accordion-item.open .accordion-body { visibility: visible; }
[role="tabpanel"][hidden] { display: none !important; }
[role="tabpanel"]:focus-visible { outline: 2px dashed var(--gold); outline-offset: 8px; }
/* Links inside imported article text carry an inline gold colour; deepen it on light backgrounds. */
.accordion-content a[style*="--gold"], .tl-prose a[style*="--gold"] { color: var(--gold-text) !important; }
/* With the script running, the menu follows its open state only (hover is handled in JS), so Escape can close it. */
.js .nav-dropdown:not(.is-open) .nav-dropdown-menu { display: none !important; }

/* Service card titles link to their practice-area pages */
.tl-card-title { color: inherit; text-decoration: none; }
.tl-card-title:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }

/* ── COOKIE NOTICE (analytics loads only after Accept) ── */
.tl-cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; max-width: 640px; margin: 0 auto;
  background: var(--navy); color: rgba(255,255,255,0.9); border: 1px solid rgba(200,169,110,0.4);
  padding: 1.1rem 1.25rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.tl-cookie[hidden] { display: none; }
.tl-cookie p { flex: 1 1 280px; font-size: 0.85rem; line-height: 1.55; margin: 0; }
.tl-cookie a { color: var(--gold-light); }
.tl-cookie-actions { display: flex; gap: 0.6rem; }
.tl-cookie button { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6rem 1rem; cursor: pointer; border-radius: 2px; }
.tl-cookie .tl-decline { background: none; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.tl-cookie .tl-accept { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); font-weight: 500; }

/* ── PRACTICE AREA PAGES ── */
.tl-practice-hero { padding-bottom: 4rem; }
.tl-practice-hero .tl-lede { max-width: 720px; margin: 1.5rem auto 0; color: rgba(255,255,255,0.85); font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; font-style: italic; }
.tl-related { max-width: 720px; margin: 2.5rem auto 0; }
.tl-related h2 { font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 1.4rem; margin-bottom: 0.75rem; }
.tl-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tl-related a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--border); background: #fff; color: var(--navy); text-decoration: none; font-size: 0.85rem; }
.tl-related a:hover { border-color: var(--gold); }
.tl-prose ul li strong { color: var(--navy); }

/* ── FREE KIDS PROTECTION PLAN OFFER ── */
.tl-kpp { margin: 2rem auto 0; background: var(--gold-pale); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  padding: 2.25rem 2.5rem; display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: center; }
.tl-kpp-page { max-width: 720px; grid-template-columns: 1fr; margin-top: 2.5rem; }
.tl-kpp-eyebrow { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.6rem; font-weight: 500; }
.tl-kpp h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 1.7rem; line-height: 1.2; margin: 0 0 0.9rem; }
.tl-kpp p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; margin: 0 0 0.6rem; }
.tl-kpp-action { text-align: center; }
.tl-kpp-action .btn-primary { display: inline-block; }
.tl-kpp .tl-kpp-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }
@media (max-width: 900px) { .tl-kpp { grid-template-columns: 1fr; padding: 1.75rem; } }

/* ── BAR ADMISSIONS & MEMBERSHIPS ── */
.tl-creds { background: #fff; padding: 5rem 2rem; border-top: 1px solid var(--border); }
.tl-creds .section-inner { text-align: center; }
.tl-creds-title { font-family: var(--serif); font-weight: 300; color: var(--navy); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15; margin: 0.4rem 0 2.25rem; }
.tl-creds-title em { color: var(--gold-text); }
.tl-creds-bars { list-style: none; padding: 0; margin: 0 auto 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 820px; }
.tl-bar-card { background: var(--navy); border-top: 3px solid var(--gold); padding: 1.5rem 1.75rem; text-align: left; display: flex; flex-direction: column; gap: 0.35rem; }
.tl-bar-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.tl-bar-detail { font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.8); }
.tl-bar-verify { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; margin-top: 0.4rem; }
.tl-bar-verify:hover { text-decoration: underline; }
.tl-creds-logos { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3.5rem; }
.tl-creds-logos img { display: block; height: auto; max-height: 140px; width: auto; }
.tl-creds-note { margin-top: 1.75rem; font-size: 0.75rem; color: var(--text-muted); }
@media (max-width: 600px) { .tl-creds { padding: 3.5rem 1.25rem; } .tl-creds-logos { gap: 1.75rem 2rem; } .tl-creds-logos img { max-height: 110px; } }
