/* ============================================================
   P&H Legal Solutions — Dark + Gold Design System
   Palette extracted from official logo:
   https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/company_31609/images/b368fd6a-85a0-462a-a522-a80548340401.png

   Phase 1 token block (below, lines 53–65) is canonical.
   Legacy tokens (lines 9–31) retained only for back-compat;
   prefer the Phase 1 names (`--bg`, `--surface`, `--elevated`,
   `--gold`, `--gold-hover`, `--gold-subtle`, `--primary`,
   `--secondary`, `--faint`) in all new code.
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:   #1A1A1A;  /* deep charcoal — page background */
  --bg-secondary: #2D2D2D;  /* charcoal — cards, panels */
  --bg-surface:   #3D3D3D;  /* gunmetal — inputs, surfaces */
  --bg-overlay:   #4A4A4A;  /* light gunmetal — hover states */

  /* Brand */
  --gold-dark:    #C9A84C;  /* brushed gold — CTAs, links, accents */
  --gold-light:   #D4AF37;  /* champagne gold — hover, highlights */
  --gold-glow:    rgba(201,168,76,0.15);  /* subtle gold glow */

  /* Text */
  --text-warm:    #F5F0E8;  /* warm white — primary text on dark */
  --text-muted:   #A09890;  /* warm grey — secondary text */
  --text-subtle:  #6D6560;  /* dim — placeholders, disabled */

  /* Borders */
  --border:        rgba(201,168,76,0.15);  /* gold-tinted borders */
  --border-hover: rgba(201,168,76,0.4);   /* brighter on hover */

  /* Semantic */
  --error:        #E05252;
  --success:      #4CAF50;
  --warning:      #E89B3C;

  /* Layout */
  --max-width:    1100px;
  --border-radius: 8px;
  --border-radius-lg: 14px;

  /* Transition */
  --transition:   0.2s ease;

  /* ── New Design System Palette (2026-06-05) ──────────────── */
  /* Legacy markers — old tokens kept for existing page compatibility */
  /* bg-primary  → --bg: #0F0E0C  (charcoal → near-black warm) */
  /* bg-secondary → --surface: #1A1916 */
  /* bg-surface  → --elevated: #242220 */
  /* gold-dark   → --gold: #C9A04A */
  /* gold-light  → --gold-hover: #E2BC6E */
  /* text-warm   → --primary: #F0EDE8 */
  /* text-muted  → --secondary: #8A8070 */
  /* text-subtle → --faint: #4A4538 */

  /* Background */
  --bg: #0F0E0C;
  /* Surfaces */
  --surface: #1A1916;
  --elevated: #242220;
  /* Gold */
  --gold: #C9A04A;
  --gold-hover: #E2BC6E;
  --gold-subtle: #7A6030;
  /* Text */
  --primary: #F0EDE8;
  --secondary: #8A8070;
  --faint: #4A4538;
}

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

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

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-warm);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.2;
  color: var(--text-warm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { line-height: 1.7; color: var(--text-muted); }

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

/* ── Subtle grid overlay ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Top Accent Bar ──────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--c-gold) 30%, var(--c-gold-hover) 70%, transparent 100%);
  z-index: 100;
}

/* ── Navigation ─────────────────────────────────────────── */
nav {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 3px;
  z-index: 90;
  background: rgba(33,28,25,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px var(--c-gold-muted));
}
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: -0.3px;
}
.logo-tagline {
  font-size: 0.45rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--c-gold);
  flex-shrink: 0;
}

/* Nav links */
.nav-tag {
  font-size: var(--text-xs);
  color: var(--c-gold);
  background: var(--c-gold-muted);
  border: 1px solid var(--c-gold-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 600;
}

/* Gold nav links */
.nav-blog-link,
.nav-link {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-blog-link:hover,
.nav-link:hover {
  color: var(--c-gold);
}
.nav-blog-link.active,
.nav-link.active {
  color: var(--c-gold-hover);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 4px;
}

/* Social links in nav — gold tint */
.nav-social .social-link {
  color: var(--c-gold);
  opacity: 0.6;
}
.nav-social .social-link:hover {
  opacity: 1;
  color: var(--c-gold-hover);
  border-color: var(--c-gold);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: border-color var(--transition);
}
.nav-hamburger:hover { border-color: var(--c-gold); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  background: rgba(33,28,25,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 24px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 89;
  animation: slideDown 0.2s ease;
}
.nav-drawer.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-drawer .nav-blog-link,
.nav-drawer .nav-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: var(--text-base);
  transition: color var(--transition);
}
.nav-drawer .nav-blog-link:hover,
.nav-drawer .nav-link:hover {
  color: var(--c-gold);
  background: transparent;
}
.nav-drawer .nav-blog-link.active,
.nav-drawer .nav-link.active {
  color: var(--c-gold);
  border-left: 3px solid var(--c-gold);
  border-bottom: 1px solid var(--c-border);
  padding-left: 12px;
}
.nav-drawer .nav-cta {
  text-align: center;
  padding: 14px;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}
.nav-drawer .nav-tag {
  display: none;
}

/* CTA Button */
.btn-gold, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--c-primary);
  color: var(--c-primary-text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover, .nav-cta:hover {
  background: var(--c-primary-hover);
  transform: translateY(-1px);
  color: var(--c-primary-text);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

/* Gold accent lines */
.hero-accent-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin-bottom: 32px;
  border-radius: 2px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 28px;
  font-family: 'Nunito Sans', sans-serif;
}
.hero-label::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--gold-dark);
  flex-shrink: 0;
}
.hero h1 {
  margin-bottom: 28px;
  max-width: 820px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--gold-dark);
}
.hero h1 em { font-style: normal; color: var(--text-warm); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-warm);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 44px;
  opacity: 0.85;
}
.hero-cta {
  display: inline-block;
  padding: 18px 42px;
  background: var(--gold-dark);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
}
.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.3);
  color: var(--bg);
}

/* Subtle divider below hero */
.hero-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  margin-top: 80px;
  opacity: 0.3;
}

/* Language strip */
.lang-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-warm);
  text-decoration: none;
  transition: all var(--transition);
}
.lang-pill:hover {
  border-color: var(--border-hover);
  background: var(--gold-glow);
}
.lang-pill .flag { font-size: 1.1rem; }

/* ── Section divider ────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 72px 0;
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: border-color var(--transition);
}
.card:hover { border-color: var(--border-hover); }

/* Stat block */
.stat-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* Practice card */
.practice-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}
.practice-card:hover { border-color: var(--border-hover); }
.practice-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.practice-card h3 { margin-bottom: 10px; }
.practice-card p { font-size: 0.88rem; line-height: 1.6; }

/* ── Steps ──────────────────────────────────────────────── */
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1.1;
  padding-top: 4px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; line-height: 1.65; }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-warm);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  color: var(--text-warm);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-subtle); }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A09890' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea { resize: vertical; min-height: 100px; }

/* ── Buttons ────────────────────────────────────────────── */
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold-dark);
  color: var(--bg);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
button:hover, .btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Footer ─────────────────────────────────────────────── */
footer:not(.site-footer) {
  border-top: 1px solid var(--border);
  padding: 40px 0 36px;
  text-align: center;
}
footer:not(.site-footer) .logo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
footer:not(.site-footer) .logo-footer img { height: 36px; width: auto; }
footer:not(.site-footer) .logo-footer .logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 1rem;
}
footer:not(.site-footer) .logo-footer .logo-tagline {
  font-size: 0.4rem;
  letter-spacing: 2.5px;
  color: var(--text-muted);
}
footer:not(.site-footer) p { font-size: 0.78rem; margin-bottom: 4px; }
footer:not(.site-footer) .footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
footer:not(.site-footer) .footer-legal-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
footer:not(.site-footer) .footer-legal-links a:hover { color: var(--gold-dark); }

/* ── Social Links ────────────────────────────────────────── */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--border-hover);
  color: var(--gold-dark);
  background: var(--gold-glow);
  transform: translateY(-1px);
}
.social-link svg { width: 18px; height: 18px; }

.nav-social { display: flex; align-items: center; gap: 8px; }
.nav-social .social-link { width: 32px; height: 32px; }
.nav-social .social-link svg { width: 15px; height: 15px; }

/* ── Closing section ────────────────────────────────────── */
.closing { text-align: center; padding: 60px 0 100px; }
.closing h2 { margin-bottom: 18px; }
.closing h2 em { font-style: normal; color: var(--gold-dark); }
.closing > p { margin: 0 auto 32px; max-width: 520px; }

/* ── Design System Utilities ─────────────────────────────── */
.text-gold-italic {
  font-style: italic;
  color: var(--gold);
}

.gold-underline {
  width: 64px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 12px;
  margin-bottom: 24px;
}

/* Primary button */
.btn-primary {
  background-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: var(--gold-hover);
}

/* Outline button */
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: var(--gold);
  color: var(--bg);
}

/* Card styles */
.card {
  background-color: var(--surface);
  border: 1px solid var(--elevated);
  border-radius: 6px;
  padding: 32px;
}
.card:hover {
  border-color: rgba(201, 160, 74, 0.4);
}

/* Input styles */
.input-dark {
  background-color: var(--surface);
  border: 1px solid #2A2720;
  color: var(--primary);
  border-radius: 6px;
  width: 100%;
  padding: 12px 16px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.input-dark:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 160, 74, 0.5);
}

/* Section label style */
.section-label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-cta { padding: 14px 28px; }
  nav { padding: 14px 0; }

  /* Desktop nav links hidden on mobile, show hamburger */
  .nav-desktop-links { display: none !important; }
  .nav-hamburger { display: flex !important; }

  .problem-grid { grid-template-columns: 1fr !important; }
  .practice-grid { grid-template-columns: 1fr !important; }
  .lang-strip { gap: 8px; }
  .lang-pill { padding: 8px 12px; font-size: 0.82rem; }
  .stat-number { font-size: 2.5rem; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
}

@media (min-width: 769px) {
  .nav-drawer { display: none !important; }
}

/* ── Utility ────────────────────────────────────────────── */
.text-gold { color: var(--gold-dark); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ── In-app browser fix (Instagram/FB WebView) ─────────── */
@media (max-height: 400px) {
  .urgency-hero { display: none !important; }
  .card-grid-2col { grid-template-columns: 1fr 1fr !important; }
  .step1-next-btn { display: none !important; }
}

/* ── Homepage foundation ────────────────────────────────── */
.page-home {
  --bg-primary: #211C19;
  --bg-secondary: #2C2622;
  --bg-surface: #3A332D;
  --bg-overlay: #4A3F37;
  --primary: #8B3E2F;
  --primary-hover: #A34B3A;
  --primary-text: #FAF4EE;
  --gold-dark: #C9A040;
  --gold-light: #DDB84E;
  --gold-glow: rgba(201,160,64,0.12);
  --gold-border: rgba(201,160,64,0.20);
  --text-warm: #F5F0E8;
  --text-muted: #9A8E7E;
  --text-subtle: #5A4E40;
  --accent-gold: #C9A040;
  --border: rgba(201,160,64,0.15);
  --border-hover: rgba(201,160,64,0.45);
  --error: #C04040;
  --success: #5A9E6F;
}

.page-home .nav-desktop-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.page-home .nav-cta-secondary {
  background: transparent;
  border-color: var(--c-gold);
  color: var(--c-gold);
}
.page-home .nav-cta-secondary:hover {
  background: var(--c-gold);
  color: var(--c-bg);
}

.page-home .problem h2 em { color: var(--gold-dark); }
.page-home .stat-row { display: flex; flex-direction: column; gap: 24px; }
.page-home .step-list { display: flex; flex-direction: column; }
.page-home .closing h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

.page-home .hero-accent-line {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin-bottom: 20px;
  border-radius: 2px;
}
.page-home .hero-label {
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Nunito Sans', sans-serif;
  overflow-wrap: anywhere;
}
.page-home .hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-dark);
  flex-shrink: 0;
}
.page-home .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--gold-dark);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(201,168,76,0.15);
}
.page-home .hero h1 em {
  font-style: normal;
  color: var(--text-warm);
}
.page-home .hero-sub {
  font-size: 1.1rem;
  color: var(--text-warm);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.88;
}
.page-home .hero-cta {
  display: inline-block;
  min-height: 48px;
  padding: 14px 36px;
  background: var(--gold-dark);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 4px 16px rgba(201,168,76,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}
.page-home .hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  color: var(--bg);
}
.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_31609/d168601f-431a-4703-be1d-071ba94c2a18.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.60) 60%, rgba(26,26,26,0.40) 100%);
  z-index: 1;
}
.page-home .hero > .hero-inner { position: relative; z-index: 2; }

.page-home .audiences { padding: 8px 0; }
.page-home .audiences-heading { max-width: 700px; margin-bottom: 28px; }
.page-home .audiences-heading .section-label {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.page-home .audiences-heading h2 { margin-bottom: 14px; }
.page-home .audiences-heading p { max-width: 650px; }
.page-home .lang-pill { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.page-home .audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 280px;
  padding: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.page-home .audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.page-home .audience-card-kicker {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.page-home .audience-card h3 { font-size: 1.55rem; margin: 0; }
.page-home .audience-card p { margin: 0; max-width: 42rem; }
.page-home .audience-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}
.page-home .audience-link,
.page-home .closing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  overflow-wrap: anywhere;
}
.page-home .audience-link-primary,
.page-home .closing-action-primary {
  background: var(--gold-dark);
  color: var(--bg);
  border: 1px solid var(--gold-dark);
}
.page-home .audience-link-primary:hover,
.page-home .closing-action-primary:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-1px);
}
.page-home .audience-link-secondary,
.page-home .closing-action-secondary {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
}
.page-home .audience-link-secondary:hover,
.page-home .closing-action-secondary:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
  transform: translateY(-1px);
}
.page-home .audience-note,
.page-home .closing-safeguard {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold-dark);
  background: var(--gold-glow);
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.page-home .closing-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 620px;
  margin: 32px auto 0;
}
.page-home .closing-action { width: 100%; }
.page-home .closing-safeguard { max-width: 620px; margin: 20px auto 0; text-align: left; }

.page-home #sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: none;
}
.page-home #sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  background: var(--gold-dark);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transition: all 0.2s ease;
}
.page-home #sticky-cta a:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--bg); }
.page-home #whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-home #whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
.page-home #whatsapp-btn svg { width: 28px; height: 28px; fill: white; }
.page-home #back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-dark);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.page-home #back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }
.page-home #back-to-top svg { width: 22px; height: 22px; stroke: var(--bg); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .page-home #sticky-cta { bottom: 0; left: 0; right: 0; transform: none; }
  .page-home #sticky-cta a { width: 100%; border-radius: 0; text-align: center; }
}

@media (max-width: 768px) {
  .page-home .nav-desktop-links { display: none !important; }
  .page-home .audience-card-actions { flex-direction: column; }
  .page-home .audience-card-actions .audience-link { width: 100%; }
  .page-home #whatsapp-btn { display: flex; bottom: 80px; }
  .page-home .hero-cta,
  .page-home .closing-action { width: 100%; }
  .page-home .site-footer { padding-bottom: 80px; }
}

@media (min-width: 769px) {
  .page-home .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .page-home .audience-card { padding: 32px; }
  .page-home .closing-actions { flex-direction: row; align-items: center; }
  .page-home .closing-action { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home,
  .page-home html { scroll-behavior: auto; }
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
