/* ==========================================================================
   The Law Office of Shifa Soressa — Stylesheet
   ========================================================================== */

/* Design tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #0a2342;
  --navy-deep: #061528;
  --navy-soft: #14315a;
  --charcoal: #1f2937;
  --gold: #c5a572;
  --gold-light: #d4b888;
  --gold-dark: #a88752;
  --cream: #f8f4ec;
  --cream-deep: #efe7d6;
  --white: #ffffff;
  --off-white: #fcfaf7;
  --text: #2d3748;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #f0ede8;

  --container: 1200px;
  --container-narrow: 920px;
  --container-wide: 1320px;

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10, 35, 66, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 35, 66, 0.12);
  --shadow-card: 0 2px 12px rgba(10, 35, 66, 0.06);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-dark);
}

/* Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin: 0 0 1.25em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.75rem;
  margin-bottom: 0.18em;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .section-lede {
  margin-top: 0.75rem;
}

/* Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-alt {
  background: var(--cream);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.btn-link:hover {
  color: var(--gold-dark);
}

.btn-link::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}

.btn-link:hover::after {
  transform: translateX(3px);
}

/* Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* NOTE: do NOT add backdrop-filter / filter / transform here — those create
     a new containing block for fixed descendants, which collapses the mobile
     menu (position: fixed; top: 84px; bottom: 0) to header bounds instead of
     the viewport. */
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1.1;
}

.nav-brand .brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.nav-brand .brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.nav-brand .brand-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nav-brand .brand-mark { width: 32px; height: 32px; }
  .nav-brand .brand-name { font-size: 1.1rem; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .mobile-cta {
  display: none;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* Language toggle (EN | ES) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--off-white);
}

.lang-toggle button {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.08em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.lang-toggle button:hover {
  color: var(--navy);
}

.lang-toggle button.active {
  background: var(--navy);
  color: var(--gold);
}

/* Client Portal nav link — subtle accent */
.nav-portal,
.nav-menu .nav-portal {
  color: var(--gold-dark) !important;
  white-space: nowrap;
}

.nav-portal::before {
  content: '◆';
  font-size: 0.5em;
  margin-right: 0.4em;
  vertical-align: 0.2em;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px auto;
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-menu,
  .nav-cta .btn {
    display: none;
  }

  .nav-cta .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu.open {
    display: flex;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--border-soft);
  }

  .nav-menu.open li {
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-menu.open a {
    display: block;
    padding: 1.125rem 0;
    font-size: 1.125rem;
  }

  .nav-menu.open .mobile-cta {
    display: block;
    border-bottom: none;
    margin-top: 1.5rem;
  }

  .nav-menu.open .mobile-cta .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}

/* Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: clamp(6rem, 14vw, 10rem) 0 clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(197, 165, 114, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(20, 49, 90, 0.6) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

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

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 600px;
}

.hero-meta-item .label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.hero-meta-item .value {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.1;
}

/* Hero split layout
   -------------------------------------------------------------------------- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero-left {
  flex: 1 1 0;
  min-width: 0;
}

.hero-right {
  flex: 0 0 340px;
  width: 340px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  overflow: hidden;
}

.hero-card-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

.hero-card-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
  display: block;
}

.hero-card-quotemark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  opacity: 0.9;
}

.hero-card-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.hero-card-attribution {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.hero-card-stats {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-stat {
  flex: 1;
  padding: 1.125rem 1rem;
  text-align: center;
}

.hero-card-stat + .hero-card-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-stat .stat-value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.hero-card-stat .stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

@media (max-width: 960px) {
  .hero-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .hero-right {
    flex: none;
    width: 100%;
    max-width: 480px;
  }
}

/* Value pillars
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  display: block;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 860px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Testimonial teaser
   -------------------------------------------------------------------------- */
.testimonial-teaser {
  background: var(--cream);
  position: relative;
}

.testimonial-teaser .container {
  max-width: 880px;
  text-align: center;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-teaser blockquote {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.4;
  color: var(--navy);
  font-style: italic;
  margin: 0 0 2rem;
  font-weight: 400;
}

.testimonial-attribution {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2.5rem;
}

/* CTA strip
   -------------------------------------------------------------------------- */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.cta-strip .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Practice areas
   -------------------------------------------------------------------------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practice-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.practice-card:hover::before {
  width: 100%;
}

.practice-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  margin-bottom: 1.5rem;
  color: var(--gold-dark);
}

.practice-icon svg {
  width: 24px;
  height: 24px;
}

.practice-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.practice-card .practice-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 960px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

/* Page hero (smaller, used on inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(197, 165, 114, 0.07) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  z-index: 0;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero .lede {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0;
  font-weight: 300;
}

.breadcrumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--gold);
}

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

.breadcrumb-sep {
  margin: 0 0.75rem;
  opacity: 0.5;
}

/* About page
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 110px;
}

.about-photo .photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-bottom: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.aila-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-left: 3px solid var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.aila-badge::before {
  content: '★';
  color: var(--gold);
  font-size: 1rem;
}

.about-content h2 {
  margin-top: 2.5rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-list li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.credentials-list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-2px);
}

.credentials-list li:last-child {
  border-bottom: none;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    position: static;
    max-width: 280px;
  }
}

/* Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote-mark {
  font-size: 3.5rem;
  margin-bottom: 0;
  line-height: 0.5;
  margin-top: 0.5rem;
}

.testimonial-card h3 {
  font-size: 1.25rem;
  margin: 1.25rem 0 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin: 0 0 2rem;
  flex: 1;
  font-family: var(--sans);
  font-weight: 400;
}

.testimonial-card .stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.testimonial-card .attribution {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* News
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.news-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative;
  overflow: hidden;
}

.news-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(197, 165, 114, 0.15) 0%, transparent 60%);
}

.news-thumb .news-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  z-index: 1;
}

.news-body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-card .news-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-card .news-link::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}

.news-card:hover .news-link::after {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--sans);
}

.contact-form .form-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-success {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: none;
}

.form-success.show {
  display: block;
}

@media (max-width: 540px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-info-block {
  background: var(--cream);
  padding: 2.5rem;
  border-left: 3px solid var(--gold);
}

.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(197, 165, 114, 0.25);
}

.contact-detail:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail .label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.contact-detail .value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
}

.contact-detail .value a {
  color: var(--navy);
}

.contact-detail .value a:hover {
  color: var(--gold-dark);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-actions .btn {
  justify-content: center;
}

/* Payment options block */
.payment-block {
  margin-top: 1.5rem;
}

.payment-intro {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.payment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-method {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(197, 165, 114, 0.25);
}

.payment-method:last-child {
  border-bottom: none;
}

.payment-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.payment-value {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.6;
}

.payment-value a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}

.payment-value a:hover {
  color: var(--gold-dark);
}

.payment-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
}

/* Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
  display: block;
}

.footer-brand .brand-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 0.9375rem;
  max-width: 320px;
}

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

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul a,
.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

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

.footer-col p {
  margin: 0 0 0.5rem;
}

.footer-col p a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom .footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-top: 1.5rem;
  max-width: 100%;
}

/* Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 540px) {
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    gap: 1.5rem;
  }
}

/* Office map embed
   -------------------------------------------------------------------------- */
.office-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-deep);
  border: 1px solid var(--border-soft);
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92);
}

.map-footnote {
  text-align: center;
  margin: 1.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.map-footnote a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.map-footnote a:hover {
  color: var(--gold-dark);
}

@media (max-width: 640px) {
  .office-map {
    aspect-ratio: 4 / 3;
  }
}

/* Article body (news posts)
   -------------------------------------------------------------------------- */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.article-meta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gold);
}

.article-body h2 {
  margin-top: 2.5rem;
  font-size: 1.625rem;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 0.5rem;
}

.article-list li {
  padding-left: 0.25rem;
}

.article-body strong {
  color: var(--navy);
  font-weight: 600;
}

.article-disclaimer {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
