/* ============================================================
   BRAR TAMBER RIGBY BADHAM — Design Polish Layer
   Layered on top of styles.css for premium elevation.
   Aesthetic: Refined luxury — sharp typography, generous
   whitespace, confident hierarchy, subtle gold flourishes.
   ============================================================ */

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

/* ---- Navigation elevation ---- */
.nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 31, 58, 0.92);
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.nav.scrolled {
  background: rgba(11, 31, 58, 0.97);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav__logo-img {
  height: 30px;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Dropdown fix — invisible bridge + smoother animation */
.nav__dropdown-menu {
  padding-top: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  visibility: hidden;
  border: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(11, 31, 58, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 76, 0.05);
}

.nav__dropdown:hover .nav__dropdown-menu {
  visibility: visible;
}

.nav__dropdown-item {
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.01em;
  position: relative;
}

.nav__dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 16px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav__dropdown-item:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.nav__cta {
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.2);
  transition: all 0.25s ease;
}

.nav__cta:hover {
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

/* ---- Hero section elevation ---- */
.hero {
  background: linear-gradient(160deg, #060F1E 0%, var(--color-navy) 40%, #152d52 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.hero__eyebrow::before {
  width: 32px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.hero__headline {
  letter-spacing: -0.02em;
}

.hero__headline em {
  background: linear-gradient(135deg, #C9A84C, #E8D48B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Page hero for sub-pages ---- */
.page-hero {
  background: linear-gradient(160deg, #060F1E 0%, var(--color-navy) 50%, #152d52 100%);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.pa-hero {
  background: linear-gradient(160deg, #060F1E 0%, var(--color-navy) 50%, #152d52 100%);
}

.pa-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

/* ---- Buttons — tactile feel ---- */
.btn {
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  position: relative;
}

.btn--gold {
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.15);
}

.btn--gold:hover {
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.25);
  transform: translateY(-1px);
}

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

/* ---- Featured practice cards ---- */
.featured-card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card--pi {
  background: linear-gradient(160deg, var(--color-navy) 0%, #152d52 100%);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.featured-card:hover {
  transform: translateY(-2px);
}

.featured-card--pi:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.featured-card--cl:hover {
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
}

.featured-card__cta {
  transition: gap 0.2s ease, color 0.2s ease;
}

.featured-card__cta:hover {
  gap: 0.6rem;
}

/* ---- Practice cards (secondary grid) ---- */
.practice-card {
  border-radius: 10px;
  transition: all 0.25s ease;
}

.practice-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.06);
  transform: translateY(-1px);
}

.practice-card__icon {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border: 0.5px solid rgba(201, 168, 76, 0.12);
}

/* ---- Stats strip — glowing dividers ---- */
.stats-strip {
  background: linear-gradient(135deg, #060F1E 0%, var(--color-navy) 100%);
  padding: 3rem 0;
  position: relative;
}

.stats-strip::before,
.stats-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.stats-strip::before { top: 0; }
.stats-strip::after { bottom: 0; }

.stats-strip__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stats-strip__item + .stats-strip__item {
  border-left-color: rgba(201, 168, 76, 0.1);
}

/* ---- Team cards — photo polish ---- */
.team-full-card {
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.team-full-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.08);
  transform: translateY(-2px);
}

.team-full-card__photo {
  position: relative;
  overflow: hidden;
}

.team-full-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.3), transparent);
  pointer-events: none;
}

.team-full-card__photo[style*="background-image"]::after {
  height: 30%;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.15), transparent);
}

.team-full-card__body {
  padding: 1.25rem 1.5rem;
}

.team-full-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

/* ---- Feature cards (practice area sub-pages) ---- */
.feature-card {
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

/* ---- Why strip items ---- */
.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.08);
  border: 0.5px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

/* ---- Value cards (about page) ---- */
.value-card {
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.value-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.05);
  transform: translateY(-1px);
}

.value-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border: 0.5px solid rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---- Results page — make placeholders look intentional ---- */
.result-card {
  border-radius: 10px;
  border-top: 2px solid var(--color-gold);
  transition: all 0.3s ease;
  position: relative;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
  border-color: var(--color-gold);
}

.result-card__amount {
  font-size: 28px;
  background: linear-gradient(135deg, #C9A84C, #E8D48B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-card__type {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.result-card__disclaimer {
  border-top: 0.5px solid var(--color-border-light);
  padding-top: 0.6rem;
}

/* ---- Blog cards ---- */
.blog-card {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
}

.blog-card__image {
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
}

.blog-card__image[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(11, 31, 58, 0.15));
}

.blog-card__title {
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--color-gold);
}

/* ---- Referral area cards ---- */
.referral-area-card {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.referral-area-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.06);
  border-color: rgba(201, 168, 76, 0.4);
}

/* ---- Why boxes (referrals page) ---- */
.why-box {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.why-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.05);
  border-color: rgba(201, 168, 76, 0.3);
}

.why-box__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border: 0.5px solid rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---- Process steps (referrals) ---- */
.process-step__num {
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.15);
  transition: all 0.3s ease;
}

.process-step:hover .process-step__num {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

/* ---- Contact info items ---- */
.contact-info__item {
  transition: all 0.2s ease;
  padding: 1.1rem 0;
}

.contact-info__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border: 0.5px solid rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Form refinements ---- */
.intake .form-input,
.intake .form-select,
.intake .form-textarea {
  background-color: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-radius: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.intake .form-label {
  color: rgba(255,255,255,0.55) !important;
}

.intake .form-consent {
  color: rgba(255,255,255,0.5) !important;
}

.intake .form-consent a {
  color: var(--color-gold) !important;
}

.intake .form-input::placeholder,
.intake .form-textarea::placeholder {
  color: rgba(255,255,255,0.3) !important;
}

.intake .form-select option {
  background: #0B1F3A !important;
  color: #fff !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* ---- Footer — refined ---- */
.footer {
  position: relative;
  padding: 2rem 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
}

/* ---- FAQ accordion polish ---- */
.faq-item {
  transition: all 0.2s ease;
}

.faq-question {
  padding: 1.25rem 0;
  font-size: 15px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.faq-item.open .faq-toggle {
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.gb-accordion__toggle-icon svg { width: 20px; height: 20px; }

/* ---- Section eyebrow enhancement ---- */
.section-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---- Scroll-reveal animation base ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- WP page hero ---- */
.wp-page-hero {
  background: linear-gradient(160deg, #060F1E 0%, var(--color-navy) 50%, #152d52 100%);
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.wp-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 168, 76, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.wp-page-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.wp-page-hero .section-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  letter-spacing: 0.18em;
}

.wp-page-hero h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.wp-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
}

/* ---- WP CTA band ---- */
.wp-cta-band {
  background: linear-gradient(160deg, #060F1E 0%, var(--color-navy) 100%);
  position: relative;
}

.wp-cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
}

/* ---- Lang pills — frosted ---- */
.lang-pill {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-tag {
  transition: all 0.2s ease;
}

.lang-tag:hover {
  background: rgba(201, 168, 76, 0.15);
}

/* ---- Related cards ---- */
.related-card {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.06);
}

/* ---- Confidentiality note ---- */
.confidentiality-note {
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- Scrollbar styling ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(11, 31, 58, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 31, 58, 0.35);
}

/* ---- Selection color ---- */
::selection {
  background: rgba(201, 168, 76, 0.2);
  color: var(--color-navy);
}

/* ---- Print-friendly ---- */
@media print {
  .nav, .nav__mobile-drawer, .wp-cta-band, .form-grid, .btn {
    display: none !important;
  }
}

/* ============================================================
   City landing page template (pa-* classes)
   Used by personal-injury-lawyer-{city}.html pages.
   ============================================================ */

.wp-page-hero__lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 1.25rem auto 1.75rem;
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.pa-section {
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
  background: #fff;
}
.pa-section--alt {
  background: #f7f8fa;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.pa-section .container { max-width: 1140px; margin: 0 auto; }
.pa-section .container.narrow { max-width: 760px; }

.pa-section > .container > h2 {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--color-navy, #0f1f3a);
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pa-section > .container > .pa-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #5a6578;
  font-size: 16px;
  line-height: 1.7;
}

.pa-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.pa-feature-card {
  background: #fff;
  padding: 1.5rem 1.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  border-top: 3px solid var(--color-gold, #c9a84c);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pa-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 31, 58, 0.08);
}
.pa-feature-card h3 {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy, #0f1f3a);
  margin: 0 0 0.5rem;
}
.pa-feature-card p {
  margin: 0;
  color: #5a6578;
  font-size: 15px;
  line-height: 1.6;
}

.pa-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.pa-service-card {
  display: block;
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pa-service-card::after {
  content: '→';
  position: absolute;
  top: 1.4rem;
  right: 1.3rem;
  color: var(--color-gold, #c9a84c);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.pa-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 31, 58, 0.1);
  border-color: var(--color-gold, #c9a84c);
}
.pa-service-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.pa-service-card h3 {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy, #0f1f3a);
  margin: 0 0 0.4rem;
  padding-right: 1.5rem;
}
.pa-service-card p {
  margin: 0;
  color: #5a6578;
  font-size: 14px;
  line-height: 1.55;
}

.pa-intro {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: #3a4a63;
  font-size: 16.5px;
  line-height: 1.75;
  text-align: left;
}
.pa-intro + .pa-intro { margin-top: 1rem; }

.pa-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pa-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pa-faq__item[open] {
  border-color: var(--color-gold, #c9a84c);
  box-shadow: 0 6px 18px rgba(15, 31, 58, 0.06);
}
.pa-faq__item summary {
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600;
  color: var(--color-navy, #0f1f3a);
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  font-size: 15.5px;
}
.pa-faq__item summary::-webkit-details-marker { display: none; }
.pa-faq__item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.3rem;
  transform: translateY(-50%);
  color: var(--color-gold, #c9a84c);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.pa-faq__item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}
.pa-faq__item summary:hover { background: #f7f8fa; }
.pa-faq__item > p,
.pa-faq__item > div {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  color: #5a6578;
  line-height: 1.7;
  font-size: 15px;
}

@media (max-width: 640px) {
  .pa-section { padding-left: 1rem; padding-right: 1rem; }
  .pa-feature-grid, .pa-service-grid { grid-template-columns: 1fr; }
  .pa-service-card::after { display: none; }
}

/* ---- Sitemap list styling (two-col list for long lists) ---- */
.sitemap-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 2.5rem;
  max-width: 1000px;
}
.sitemap-list li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.sitemap-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-gold, #c9a84c);
  font-size: 13px;
}
.sitemap-list li a {
  color: var(--color-navy, #0f1f3a);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.sitemap-list li a:hover {
  color: var(--color-gold, #c9a84c);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .sitemap-list { columns: 1; }
}

/* ---- Sitemap pill row (flat horizontal centered links) ---- */
.sitemap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem auto 0;
  justify-content: center;
  max-width: 1020px;
}
.sitemap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: var(--color-navy, #0f1f3a);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.sitemap-pill:hover,
.pa-section--alt .sitemap-pill:hover {
  background: var(--color-navy, #0f1f3a);
  border-color: var(--color-navy, #0f1f3a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 31, 58, 0.12);
}
@media (max-width: 640px) {
  .sitemap-pills { gap: 0.4rem; }
  .sitemap-pill { padding: 0.5rem 0.95rem; font-size: 13px; }
}

/* ---- Legal page content styling (privacy, terms) ---- */
.pa-legal-content {
  color: #3a4a63;
  font-size: 16px;
  line-height: 1.75;
}
.pa-legal-content p { margin: 0 0 1em; }
.pa-legal-content h2, .pa-legal-content h3 {
  color: var(--color-navy, #0f1f3a);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 700;
}
.pa-legal-content strong { color: var(--color-navy, #0f1f3a); }
