/* =====================================================
   FIGUEROA HEALTHCARE — SHARED STYLESHEET
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --bg:          #0A0A0A;
  --bg-2:        #0F0F0F;
  --bg-card:     #141414;
  --bg-card-h:   #181818;
  --gold:        #D4AF37;
  --gold-hover:  #E8C84A;
  --gold-dim:    #B8941E;
  --gold-glow:   rgba(212, 175, 55, 0.10);
  --gold-b:      rgba(212, 175, 55, 0.18);
  --gold-b-str:  rgba(212, 175, 55, 0.40);
  --text:        #F5F0E8;
  --text-muted:  #8A8480;
  --heading:     'Cormorant Garamond', Georgia, serif;
  --body:        'DM Sans', system-ui, sans-serif;
  --nav-h:       80px;
  --max-w:       1200px;
  --gap:         clamp(1.5rem, 4vw, 2.5rem);
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--body); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: var(--body); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

em { font-style: italic; }

.overline {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section      { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-alt  { background: var(--bg-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.gold-line {
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  margin: 1.25rem 0 1.75rem;
  border-radius: 2px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0A0A0A;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold-b-str);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.88rem; }
.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.78rem; }

/* ─── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--gold-b);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.nav-logo {
  font-family: var(--heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.22s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

.lang-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--gold-b);
  border-radius: 2px;
  transition: all 0.22s;
  background: none;
  cursor: pointer;
}
.lang-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.28s var(--ease);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.75rem clamp(1.25rem, 5vw, 3rem);
  border-bottom: 1px solid var(--gold-b);
  z-index: 998;
  flex-direction: column;
  gap: 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.22s;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .lang-btn { align-self: flex-start; margin-top: 0.5rem; }

/* ─── HERO (HOME) ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 65% at 65% 50%, rgba(212,175,55,0.035) 0%, transparent 65%),
    radial-gradient(ellipse 55% 80% at 15% 25%, rgba(212,175,55,0.02) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 15%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold-b);
  border-radius: 100px;
  margin-bottom: 2.25rem;
  background: rgba(212,175,55,0.04);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s ease infinite;
  flex-shrink: 0;
}
.hero-badge span {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.hero h1 em { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.75rem;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--gold-b);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ─── PAGE HERO (INNER PAGES) ───────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% -10%, rgba(212,175,55,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero .hero-sub { margin-bottom: 0; }

/* ─── SECTION HEADERS ────────────────────────────────── */
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.02rem; max-width: 580px; }

/* ─── PROBLEM CARDS ──────────────────────────────────── */
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  padding: 2.5rem 2.25rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.problem-card:hover {
  border-color: var(--gold-b-str);
  background: var(--bg-card-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(212,175,55,0.08);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 54px; height: 54px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-b);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.problem-card h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.problem-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ─── BENEFITS ───────────────────────────────────────── */
.benefit-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all 0.28s var(--ease);
  margin-bottom: 0.5rem;
}
.benefit-item:hover {
  background: var(--bg-card);
  border-color: var(--gold-b);
}
.benefit-check {
  width: 34px; height: 34px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 2px;
}
.benefit-item h4 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.benefit-item p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ─── STEPS ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}
.steps-connector {
  position: absolute;
  top: 26px;
  left: calc(12.5% + 1px);
  right: calc(12.5% + 1px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-b), var(--gold), var(--gold-b));
  pointer-events: none;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  padding: 2.25rem;
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--gold-b-str);
  transform: translateY(-4px);
  box-shadow: 0 18px 52px rgba(212,175,55,0.07);
}
.testimonial-stars { color: var(--gold); letter-spacing: 0.08em; font-size: 0.88rem; margin-bottom: 1rem; }
.testimonial-quote {
  font-family: var(--heading);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 1.25rem;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 46px; height: 46px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.93rem; margin-bottom: 0.15rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ─── CTA BAND ───────────────────────────────────────── */
.cta-band {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(212,175,55,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2  { margin-bottom: 0.85rem; }
.cta-band > p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── COMPARISON TABLE ───────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--gold-b);
  border-radius: 3px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table thead th {
  font-family: var(--heading);
  font-size: 1.18rem;
  font-weight: 600;
  padding: 1.35rem 1.75rem;
  text-align: left;
  border-bottom: 1px solid var(--gold-b);
  background: var(--bg-card);
}
.compare-table thead th:nth-child(1) { color: var(--text-muted); }
.compare-table thead th:nth-child(2) { color: var(--text-muted); font-weight: 400; }
.compare-table thead th:nth-child(3) { color: var(--gold); }
.compare-table tbody td {
  padding: 1rem 1.75rem;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(212,175,55,0.02); }
.compare-table td:nth-child(1) { font-weight: 500; }
.check-yes { color: var(--gold); font-weight: 700; }
.check-no  { color: var(--text-muted); opacity: 0.45; }

/* ─── CHECKLIST ──────────────────────────────────────── */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  border-radius: 3px;
  transition: all 0.25s var(--ease);
}
.checklist-item:hover {
  border-color: var(--gold-b-str);
  background: var(--bg-card-h);
}
.check-circle {
  width: 28px; height: 28px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}
.checklist-item p { font-size: 0.92rem; line-height: 1.55; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--gold-b); }
.faq-item { border-bottom: 1px solid var(--gold-b); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.22s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--gold-b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
  transition: all 0.3s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-glow);
  border-color: var(--gold);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.72;
}

/* ─── FORMS ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  color: var(--text);
  font-size: 0.96rem;
  padding: 0.85rem 1.2rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.45; }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.09);
}
.form-input option { background: #1c1c1c; }
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
textarea.form-input {
  resize: vertical;
  min-height: 130px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  padding: 1.05rem;
  background: var(--gold);
  color: #0A0A0A;
  border: none;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212,175,55,0.3);
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}

/* ─── ABOUT PAGE ─────────────────────────────────────── */
.portrait-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.portrait-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid var(--gold-b);
  border-radius: 2px;
  pointer-events: none;
}
.portrait-corner {
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  pointer-events: none;
}
.portrait-corner::before,
.portrait-corner::after { content: ''; position: absolute; background: var(--gold); }
.portrait-corner::before { width: 100%; height: 2px; top: 0; left: 0; }
.portrait-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
.portrait-corner.tr { top: 0; right: 0; transform: rotate(90deg); }
.portrait-corner.br { bottom: 0; right: 0; transform: rotate(180deg); }
.portrait-corner.bl { bottom: 0; left: 0; transform: rotate(270deg); }

.credential {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  border-radius: 3px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.credential-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.credential span { font-size: 0.8rem; color: var(--text-muted); }

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.state-tag {
  padding: 0.55rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  border-radius: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.22s var(--ease);
}
.state-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ─── CONTACT PAGE ───────────────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  padding: 2.25rem;
  border-radius: 3px;
  transition: all 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-card:hover {
  border-color: var(--gold-b-str);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(212,175,55,0.07);
}
.contact-icon {
  width: 52px; height: 52px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-b);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-card h4 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.contact-card a { color: var(--gold); font-size: 1.05rem; font-weight: 600; transition: color 0.22s; }
.contact-card a:hover { color: var(--gold-hover); }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.bilingual-note {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 3px 3px 0;
}
.bilingual-note p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; }
.bilingual-note strong { color: var(--text); font-weight: 600; }

/* ─── INFO CARDS ─────────────────────────────────────── */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-b);
  padding: 2rem;
  border-radius: 3px;
}
.info-card h4 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.info-card p, .info-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}
.info-card ul li { padding: 0.3rem 0; padding-left: 1rem; position: relative; }
.info-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--gold-b);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .nav-logo { font-size: 1.35rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.72; max-width: 280px; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.22s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--gold-b);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  line-height: 1.65;
}

/* ─── LANGUAGE TOGGLE ────────────────────────────────── */
/* Default: English visible, Spanish hidden.
   NOTE: never add .lang-es to <body> — that rule would hide the entire page.
   The trigger is data-lang="es" on <html> instead. */
.lang-es { display: none; }

/* When ES is active (html[data-lang="es"]) */
[data-lang="es"] .lang-en { display: none; }
[data-lang="es"] span.lang-es  { display: inline; }
[data-lang="es"] p.lang-es,
[data-lang="es"] div.lang-es,
[data-lang="es"] li.lang-es    { display: block; }
[data-lang="es"] td.lang-es    { display: table-cell; }
[data-lang="es"] a.lang-es     { display: inline; }

/* ─── SCROLL ANIMATIONS ──────────────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim][data-delay="1"] { transition-delay: 0.10s; }
[data-anim][data-delay="2"] { transition-delay: 0.20s; }
[data-anim][data-delay="3"] { transition-delay: 0.30s; }
[data-anim][data-delay="4"] { transition-delay: 0.40s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-connector { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .compare-table thead th,
  .compare-table tbody td { padding: 0.85rem 1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}
