/* ============================================================
   FOY LAW OFFICE, PLLC — style.css
   realestateattorneyusa.com | Forest Green & Ice Design System
   ============================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --cream:        #E8EFF5;
  --cream-dark:   #D9E5EF;
  --cream-deeper: #C5D5E3;
  --sand:         #F0E6CC;
  --gold:         #C5A55A;
  --gold-light:   #D4B96E;
  --gold-bright:  #E5CA8A;
  --brown-deep:   #2B5F3F;
  --brown-mid:    #1E4A2E;
  --brown-warm:   #3A7552;
  --text-dark:    #1E2D3D;
  --text-mid:     #4A5968;
  --text-light:   #7A8A98;
  --white:        #FFFFFF;
  --border:       #C5D5E3;
  --border-light: #D9E5EF;
  --shadow:       rgba(27, 79, 60, 0.12);
  --shadow-deep:  rgba(27, 79, 60, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  --nav-h:        80px;
  --max-w:        1200px;
  --radius:       4px;
  --radius-lg:    10px;
  --trans:        0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-bright); }

ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--brown-deep);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--brown-warm);
  line-height: 1.6;
}

blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown-mid);
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }
.section-lg { padding: 110px 0; }

.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-sub {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: var(--text-mid);
}

.section-sub.left { margin-left: 0; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 32px;
  border-radius: 2px;
}

.divider-center { margin: 16px auto 32px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-deep);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--brown-deep);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream-dark);
  color: var(--brown-deep);
  border-color: var(--cream-dark);
}

.btn-lg { padding: 18px 42px; font-size: 0.95rem; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ─── NAVIGATION ─── */
.top-bar {
  background: var(--brown-deep);
  color: var(--cream-dark);
  font-size: 0.82rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a { color: var(--cream-dark); }
.top-bar a:hover { color: var(--gold-bright); }

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.main-nav {
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow);
  transition: box-shadow var(--trans);
}

nav.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
}

.nav-logo-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: all var(--trans);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: var(--cream-dark);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  min-width: 210px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px var(--shadow-deep);
  border: 1px solid var(--border-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all var(--trans);
  z-index: 100;
  padding: 8px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: all var(--trans);
}

.nav-dropdown a:hover {
  background: var(--cream-dark);
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: var(--brown-mid) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brown-deep);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-mid) 60%, var(--brown-warm) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,134,11,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(92,46,14,0.5) 0%, transparent 55%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(255,249,240,0.025) 50px,
      rgba(255,249,240,0.025) 51px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold-bright);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,249,240,0.82);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-row {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.65);
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 2px 16px var(--shadow);
  transition: all var(--trans);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-deep);
  border-color: var(--border);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.card h3 { margin-bottom: 12px; }
.card h4 { margin-bottom: 10px; color: var(--brown-mid); }

/* ─── SERVICES SECTION ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 2px 16px var(--shadow);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--trans);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px var(--shadow-deep);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }

.service-list {
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.55rem;
  top: 5px;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  background: var(--brown-deep);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.12) 0%, transparent 70%);
}

.testimonials-section .section-label { color: var(--gold-bright); }
.testimonials-section .section-title { color: var(--cream); }
.testimonials-section .divider { background: var(--gold-bright); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: rgba(255,249,240,0.06);
  border: 1px solid rgba(255,249,240,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold-bright);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,249,240,0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,249,240,0.12);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--cream);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: rgba(255,249,240,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── STATS BAND ─── */
.stats-band {
  background: linear-gradient(90deg, var(--brown-mid) 0%, var(--brown-deep) 100%);
  padding: 60px 0;
  position: relative;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 120px, rgba(255,249,240,0.03) 120px, rgba(255,249,240,0.03) 121px
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-item { text-align: center; padding: 12px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.65);
  margin-top: 8px;
  display: block;
}

.stat-desc {
  font-size: 0.82rem;
  color: rgba(255,249,240,0.45);
  margin-top: 4px;
}

/* ─── TEAM GRID ─── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--trans);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-deep);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brown-warm);
}

.team-info { padding: 20px 16px 24px; }
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--brown-deep); }
.team-title { font-size: 0.78rem; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--brown-mid) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 30px, rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px
  );
}

.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ─── QUOTE STRIP ─── */
.quote-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.quote-strip blockquote {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--brown-mid);
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

/* ─── CONTACT / OFFICE CARDS ─── */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.office-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 2px 16px var(--shadow);
}

.office-card h3 { margin-bottom: 20px; color: var(--brown-deep); }

.office-info { display: flex; flex-direction: column; gap: 14px; }

.office-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.office-row-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.office-row strong { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }

.office-row a { color: var(--text-dark); }
.office-row a:hover { color: var(--gold); }

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px var(--shadow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
  background: var(--white);
}

textarea { resize: vertical; min-height: 140px; }

.form-honey { display: none !important; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 8px var(--shadow);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background var(--trans);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform var(--trans); }
.faq-item[open] summary { background: var(--cream-dark); }
.faq-item[open] summary::after { content: '−'; }

.faq-body {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── PAGE HEADER ─── */
.page-header {
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-mid) 100%);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(184,134,11,0.15) 0%, transparent 60%),
    repeating-linear-gradient(
      45deg, transparent, transparent 60px,
      rgba(255,249,240,0.025) 60px, rgba(255,249,240,0.025) 61px
    );
}

.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--cream); margin-bottom: 12px; }
.page-header .lead { color: rgba(255,249,240,0.8); margin-top: 8px; }
.page-header .section-label { color: var(--gold-bright); }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,249,240,0.55);
  margin-bottom: 16px;
}

.breadcrumbs a { color: rgba(255,249,240,0.7); }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs span { color: rgba(255,249,240,0.35); }

/* ─── LOCATIONS PAGE ─── */
.location-hero {
  position: relative;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ─── BLOG ─── */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-posts { display: flex; flex-direction: column; gap: 32px; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--trans);
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px var(--shadow-deep); }

.blog-card-img {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--brown-warm);
  padding: 32px;
}

.blog-card-body { padding: 28px; }

.blog-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--brown-mid);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.blog-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--brown-deep); }
.blog-card h3 a:hover { color: var(--gold); }

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
}

.blog-excerpt { font-size: 0.92rem; color: var(--text-mid); }

.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 12px var(--shadow);
}

.sidebar-widget h4 {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  font-size: 1rem;
}

.sidebar-widget ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-widget li a {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-light);
}
.sidebar-widget li a:hover { color: var(--gold); }
.sidebar-widget li a::before { content: '›'; color: var(--gold); font-size: 1rem; }

/* ─── RATE CALCULATOR ─── */
.calc-wrap {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.calc-result {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.calc-result h4 { margin-bottom: 12px; color: var(--brown-mid); }

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--text-mid);
}

.calc-row:last-child { border: none; }
.calc-row strong { color: var(--brown-deep); }
.calc-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 12px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
}

/* ─── ORDER A TITLE FORM ─── */
.order-steps {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.order-step {
  flex: 1;
  padding: 18px 20px;
  background: var(--cream-dark);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-step:last-child { border-right: none; }
.order-step.active { background: var(--gold); color: var(--white); }
.order-step-num {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}

/* ─── FOOTER ─── */
footer.site-footer {
  background: var(--brown-deep);
  color: rgba(255,249,240,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,249,240,0.08);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.footer-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,249,240,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,249,240,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,249,240,0.6);
  font-size: 0.85rem;
  transition: all var(--trans);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,134,11,0.1);
}

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

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a {
  font-size: 0.88rem;
  color: rgba(255,249,240,0.65);
  transition: color var(--trans);
}
.footer-col li a:hover { color: var(--cream); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
}

.footer-contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,249,240,0.65); }
.footer-contact-item a:hover { color: var(--cream); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,249,240,0.4);
}

.footer-bottom a { color: rgba(255,249,240,0.5); }
.footer-bottom a:hover { color: var(--gold); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ─── STICKY PHONE CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}

.sticky-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(184,134,11,0.45);
  transition: all var(--trans);
  text-decoration: none;
}

.sticky-phone:hover {
  background: var(--brown-mid);
  color: var(--white);
  box-shadow: 0 6px 32px rgba(60,26,10,0.4);
  transform: translateY(-2px);
}

/* ─── SCROLL TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--brown-mid);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 3px 14px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans);
  font-size: 1rem;
  z-index: 899;
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--brown-deep); transform: translateY(-2px); }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown-deep);
  color: rgba(255,249,240,0.8);
  font-size: 0.85rem;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 1100;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--gold); }

.cookie-accept {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--trans);
}
.cookie-accept:hover { background: var(--gold-bright); }

.cookie-decline {
  background: transparent;
  color: rgba(255,249,240,0.5);
  border: 1px solid rgba(255,249,240,0.2);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--trans);
}
.cookie-decline:hover { color: var(--cream); border-color: rgba(255,249,240,0.4); }

/* ─── READING PROGRESS ─── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── UTILITY ─── */
.bg-cream   { background: var(--cream); }
.bg-white   { background: var(--white); }
.bg-sand    { background: var(--cream-dark); }
.bg-dark    { background: var(--brown-deep); }
.text-gold  { color: var(--gold); }
.text-cream { color: var(--cream); }

.mt-auto { margin-top: auto; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.tag-pill {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--brown-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link { width: 100%; padding: 12px 16px; }

  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--border-light);
    border-radius: 0;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav-item.open .nav-dropdown { display: block; }

  .grid-2, .grid-3, .services-grid, .testimonials-grid,
  .office-grid, .blog-grid { grid-template-columns: 1fr; }

  .hero { min-height: 80vh; padding: 60px 0 48px; }
  .hero-badge-row { gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

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

  .footer-grid { grid-template-columns: 1fr; }

  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { aspect-ratio: 2/1; }

  .top-bar .top-bar-right { display: none; }

  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form-wrap { padding: 28px 20px; }

  .sticky-phone span.label { display: none; }

  .order-steps { flex-direction: column; }
  .order-step { border-right: none; border-bottom: 1px solid var(--border); }
  .order-step:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge-row { grid-template-columns: 1fr 1fr; display: grid; }
  .btn-lg { padding: 15px 28px; }
}

/* ─── PRINT ─── */
@media print {
  nav, .top-bar, footer, .sticky-cta, .scroll-top, .cookie-banner, .progress-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .page-header { background: #000; padding: 20px 0; }
  .page-header h1 { color: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================================
   MISSING CLASS ADDITIONS — Bug Fix Pass
   realestateattorneyusa.com
   ============================================================ */

/* ─── PAGE HERO (inner page header) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-mid) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.02) 40px,
    rgba(255,255,255,.02) 80px
  );
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p   { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 680px; margin-bottom: 20px; }
.page-hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ─── SECTION EYEBROW ─── */
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ─── CTA ACTIONS ─── */
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
@media (max-width: 520px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ─── PROCESS STEPS (estate-planning style) ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 2px 16px var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-deep);
}
.process-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .6;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

/* ─── SERVICE CARD ICON ─── */
.service-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

/* ─── FLO FORM (contact form) ─── */
.flo-form { width: 100%; }
.flo-form .form-success {
  background: #f0faf4;
  border: 1px solid #34a85a;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: #1e6b3a;
}
.flo-form .form-success h3 { color: #1e6b3a; margin-bottom: 8px; }

/* ─── FOOTER VARIANT: footer-col-brand (blog/services/etc pages) ─── */
.footer-col {
  min-width: 160px;
}
.footer-col-brand {
  max-width: 280px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── LEGACY NAV (privacy.html / terms.html variant) ─── */
/* These will be updated but CSS kept for safety */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--brown-deep);
  box-shadow: 0 2px 12px var(--shadow);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--brown-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-text em { color: var(--gold); font-style: normal; font-size: .8em; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links > li > a {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--trans);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links .nav-cta {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--brown-deep) !important; }
.has-drop { position: relative; }
.has-drop .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-deep);
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: .88rem;
  text-decoration: none;
  transition: background var(--trans);
}
.dropdown li a:hover { background: var(--cream); color: var(--brown-deep); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: var(--brown-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: 14px 24px; border-radius: 0; width: 100%; }
  .has-drop .dropdown { position: static; box-shadow: none; padding-left: 20px; background: rgba(0,0,0,.15); }
  .has-drop .dropdown { display: none; }
  .has-drop.open .dropdown { display: block; }
}


/* ─── SKIP NAVIGATION (Accessibility) ─── */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brown-deep);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top .2s ease;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--gold);
}

/* ─── QUICK ACTION LINKS (Homepage Band) ─── */
.quick-action-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  color: var(--text-dark);
  transition: background var(--trans);
  text-decoration: none;
  border-right: 1px solid var(--border-light);
}
.quick-action-link:last-child { border-right: none; }
.quick-action-link:hover { background: var(--cream-dark); color: var(--text-dark); }
.quick-action-link .qa-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 3px;
}
.quick-action-link .qa-sub { font-size: .82rem; color: var(--text-light); }

/* ─── HOVER LIFT UTILITY ─── */
.hover-lift {
  transition: transform var(--trans), box-shadow var(--trans);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-deep);
}
