@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ========== MASTER DESIGN TOKENS (V3 + V4) ========== */
:root {
  /* V3 Strict Colors */
  --fm-ink: #140b08; 
  --fm-navy: #2d1911;
  --fm-white: #fdfcfb;
  --fm-stone: #f4efe9;
  --fm-gray-light: #e6dfd8;
  --fm-gray: #7d6b61;
  --fm-gold: #be4a2c;        /* Terracotta */
  --fm-terracotta: #be4a2c;  /* Alias for Gold to fix button text visibility */
  --fm-champagne: #eaa535;   /* Golden Yellow */

  /* V4 Surfaces & Glass */
  --fm-glass-bg: rgba(255, 255, 255, 0.85);
  --fm-glass-dark: rgba(20, 11, 8, 0.85);
  --fm-border: 1px solid rgba(20, 11, 8, 0.08);
  --fm-border-light: 1px solid rgba(255, 255, 255, 0.15);
  
  /* V3 Typography */
  --fm-font-sans: 'Instrument Sans', sans-serif;
  --fm-font-serif: 'Playfair Display', serif;
  
  /* V4 Shapes & Shadows */
  --fm-radius-xl: 60px;
  --fm-radius-lg: 32px;
  --fm-radius-md: 16px;
  --fm-shadow-soft: 0 16px 40px rgba(20, 11, 8, 0.05);
  --fm-shadow-hover: 0 24px 60px rgba(20, 11, 8, 0.1);
  --fm-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --fm-grid-gap: 2rem;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--fm-font-sans);
  background: var(--fm-white);
  color: var(--fm-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.4s var(--fm-ease); }
img { max-width: 100%; display: block; border-radius: inherit; }
::selection { background: var(--fm-gold); color: var(--fm-white); }

/* ========== ANIMATIONS ========== */
.fm-anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--fm-ease), transform 1.2s var(--fm-ease);
}
.fm-anim-up.fm-in-view {
  opacity: 1;
  transform: translateY(0);
}

.fm-anim-fade {
  opacity: 0;
  transition: opacity 1.2s var(--fm-ease);
}
.fm-anim-fade.fm-in-view { opacity: 1; }

/* ========== UTILS ========== */
.fm-gold-tx { color: var(--fm-gold); }
.fm-champagne-tx { color: var(--fm-champagne); }
.fm-bg-dark { background: var(--fm-ink); color: var(--fm-white); }
.fm-bg-stone { background: var(--fm-stone); }
.fm-layout { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 5vw; }
.fm-section { padding: 120px 0; position: relative; z-index: 2; }
.fm-text-center { text-align: center; }


h1, h2, h3, .fm-title { font-family: var(--fm-font-serif); font-weight: 400; }
.fm-section-title {
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--fm-ink);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.fm-bg-dark .fm-section-title { color: var(--fm-white); }
.fm-subtitle {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--fm-gold); margin-bottom: 24px;
  display: block;
}

/* Aurora Blobs (V4 logic) */
.fm-aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; z-index: 0; pointer-events: none;
}

/* ========== BUTTONS ========== */
.fm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 0.4s var(--fm-ease);
  cursor: pointer;
}
.fm-btn-gold {
  background: var(--fm-gold); color: var(--fm-white);
  box-shadow: 0 10px 30px rgba(190, 74, 44, 0.2); border: 1px solid var(--fm-gold);
}
.fm-btn-gold:hover {
  background: var(--fm-navy); color: var(--fm-white);
  transform: translateY(-4px); box-shadow: 0 15px 40px rgba(45, 25, 17, 0.25); border-color: var(--fm-navy);
}
.fm-btn-outline {
  background: var(--fm-glass-bg); color: var(--fm-ink);
  border: var(--fm-border); backdrop-filter: blur(10px);
}
.fm-btn-outline:hover { background: var(--fm-white); transform: translateY(-4px); box-shadow: var(--fm-shadow-soft); }

.fm-btn-outline-light {
    background: transparent; color: var(--fm-white);
    border: 1px solid rgba(255,255,255,0.4);
}
.fm-btn-outline-light:hover { background: var(--fm-white); color: var(--fm-ink); }

/* ========== FORMS ========== */
input, select, textarea {
  font-family: var(--fm-font-sans);
  color: var(--fm-ink);
  outline: none;
  transition: border-color 0.3s var(--fm-ease), box-shadow 0.3s var(--fm-ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--fm-gold) !important;
  box-shadow: 0 0 0 4px rgba(190, 74, 44, 0.1);
}
input::placeholder, textarea::placeholder {
  color: var(--fm-gray);
  opacity: 0.7;
}
.fm-error-text {
  color: #d93025; /* Standard error red */
  font-size: 0.85rem;
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* ========== HEADER (V4 Logo + V3 Links) ========== */
.fm-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 30px 0; transition: all 0.5s var(--fm-ease);
}
.fm-header.scrolled {
  padding: 15px 0;
  background: var(--fm-glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(20, 11, 8, 0.03);
}
.fm-nav-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.fm-nav-left { display: flex; gap: 40px; }
.fm-nav-right { display: flex; gap: 40px; justify-content: flex-end; align-items: center; }
.fm-logo img { height: 48px; transition: height 0.4s; }
.fm-header.scrolled .fm-logo img { height: 38px; }

.fm-nav-link {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fm-ink); position: relative; padding: 8px 0;
}
.fm-nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--fm-gold);
  transform: translate(-50%, 10px); opacity: 0; transition: all 0.3s var(--fm-ease);
}
.fm-nav-link:hover::after, .fm-nav-link.active::after { transform: translate(-50%, 0); opacity: 1; }

.fm-solutions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.fm-solutions-grid > a {
  width: calc(50% - 14px);
}
@media (max-width: 900px) {
  .fm-solutions-grid > a {
    width: 100%;
  }
}

.fm-hamburger {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.fm-hamburger span {
  display: block; width: 30px; height: 2px; background: var(--fm-ink); transition: 0.3s;
}

/* Header Dark Mode for Inner Pages */
.fm-header.fm-header-dark:not(.scrolled) .fm-nav-link { color: var(--fm-white); }
.fm-header.fm-header-dark:not(.scrolled) .fm-hamburger span { background: var(--fm-white); }
.fm-header.fm-header-dark:not(.scrolled) .fm-logo img { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }

/* Language Switcher Button */
.fm-lang-btn {
  background: rgba(20,11,8,0.06);
  border: 1px solid rgba(20,11,8,0.1);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-ink);
  font-family: inherit;
  transition: all 0.3s var(--fm-ease);
}
.fm-lang-btn:hover { background: rgba(20,11,8,0.12); }

.fm-header.fm-header-dark:not(.scrolled) .fm-lang-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--fm-white);
}
.fm-header.fm-header-dark:not(.scrolled) .fm-lang-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ========== HERO V2 — CINEMATIC FULL-VIEWPORT ========== */
.fm-hero-v2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background */
.fm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.fm-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform-origin: center;
  will-change: transform;
}
.fm-hero-bg-video {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  pointer-events: none;
}
.fm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,11,8,0.88) 0%,
    rgba(45,25,17,0.75) 40%,
    rgba(20,11,8,0.60) 70%,
    rgba(20,11,8,0.80) 100%
  );
}
.fm-hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, var(--fm-stone), transparent);
  z-index: 1;
}

/* Floating glowing orbs */
.fm-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: fm-orb-pulse 8s ease-in-out infinite alternate;
}
.fm-hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(190,74,44,0.25) 0%, transparent 70%);
  top: -80px; left: -100px;
  animation-delay: 0s;
}
.fm-hero-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,165,53,0.15) 0%, transparent 70%);
  bottom: 100px; right: -120px;
  animation-delay: -4s;
}
@keyframes fm-orb-pulse {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(20px, -20px); }
}

/* Content layout */
.fm-hero-content {
  position: relative;
  z-index: 3;
  padding-top: 160px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Trust badges */
.fm-hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.fm-hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.3s, border-color 0.3s;
}
.fm-hero-trust-badge:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}
.fm-hero-trust-badge svg {
  width: 14px; height: 14px;
  color: var(--fm-champagne);
  flex-shrink: 0;
}

/* Headline */
.fm-hero-headline { margin-bottom: 36px; }
.fm-hero-v2-title {
  font-family: var(--fm-font-serif);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fm-white);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fm-hero-line-1 { font-weight: 400; opacity: 0.85; }
.fm-hero-line-2 {
  font-weight: 700;
  color: var(--fm-white);
}
.fm-hero-line-2 em {
  font-style: italic;
  color: var(--fm-champagne);
}
.fm-hero-line-3 {
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

/* Sub row */
.fm-hero-sub-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.fm-hero-v2-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 520px;
  flex: 1;
}
.fm-hero-v2-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.fm-hero-cta-primary {
  gap: 10px;
  box-shadow: 0 12px 40px rgba(190,74,44,0.4);
  font-size: 0.9rem;
}
.fm-hero-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(190,74,44,0.5);
}
.fm-hero-cta-secondary { font-size: 0.9rem; }

/* Stat cards row */
.fm-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
}
.fm-hero-stat-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--fm-radius-md);
  padding: 20px 24px;
  text-align: center;
  transition: transform 0.4s var(--fm-ease), box-shadow 0.4s var(--fm-ease);
}
.fm-hero-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20,11,8,0.12);
}
.fm-hero-stat-card-dark {
  background: rgba(20,11,8,0.75);
  border-color: rgba(255,255,255,0.12);
}
.fm-hero-stat-card-accent {
  background: var(--fm-gold);
  border-color: transparent;
}
.fm-hero-stat-number {
  font-family: var(--fm-font-serif);
  font-size: 2.2rem;
  color: var(--fm-ink);
  line-height: 1;
  margin-bottom: 6px;
}
.fm-hero-stat-number span {
  font-size: 1.4rem;
  color: var(--fm-gold);
}
.fm-hero-stat-card-dark .fm-hero-stat-number span { color: var(--fm-champagne); }
.fm-hero-stat-label {
  font-size: 0.72rem;
  color: var(--fm-gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fm-hero-stat-card-dark .fm-hero-stat-label { color: rgba(255,255,255,0.5); }
.fm-hero-stat-card-accent .fm-hero-stat-number span { color: rgba(255,255,255,0.7); }

/* Scroll Indicator */
.fm-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.fm-hero-scroll-dot {
  width: 4px;
  height: 10px;
  background: var(--fm-champagne);
  border-radius: 100px;
  animation: fm-scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes fm-scroll-bounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(14px); opacity: 0.3; }
}

/* ========== HERO (OLD BENTO — kept for fallback) ========== */
.fm-hero { padding-top: 160px; padding-bottom: 80px; position: relative; }
.fm-hero-grid {
  display: grid; grid-template-columns: 2.5fr 1fr 1.5fr; grid-template-rows: 400px 220px;
  gap: var(--fm-grid-gap); position: relative; z-index: 2;
}
.fm-hero-main {
  grid-column: 1 / 2; grid-row: 1 / 3;
  background: var(--fm-navy); color: var(--fm-white);
  padding: 50px 60px; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--fm-radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--fm-shadow-soft);
}
.fm-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.55);
  margin-bottom: 20px; position: relative; z-index: 2;
}
.fm-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 4.5rem);
  line-height: 1.05; margin-bottom: 24px; position: relative; z-index: 2;
}
.fm-hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  max-width: 480px; line-height: 1.75; margin-bottom: 36px;
}
.fm-hero-btns { display: flex; gap: 16px; position: relative; z-index: 2; flex-wrap: wrap; }
.fm-stat-1 {
  grid-column: 2 / 3; grid-row: 1 / 2;
  background: var(--fm-glass-bg); backdrop-filter: blur(15px);
  border-radius: var(--fm-radius-lg); border: var(--fm-border-light);
  display: flex; flex-direction: column; justify-content: center; padding: 40px;
  box-shadow: var(--fm-shadow-soft); text-align: center;
}
.fm-stat-1 .fm-stat-num { font-size: 5rem; color: var(--fm-ink); font-family: var(--fm-font-serif); line-height: 1; }
.fm-stat-2 {
  grid-column: 2 / 3; grid-row: 2 / 3;
  background: var(--fm-ink); color: var(--fm-white);
  border-radius: var(--fm-radius-lg);
  display: flex; flex-direction: column; justify-content: center; padding: 40px;
  text-align: center; box-shadow: var(--fm-shadow-soft);
}
.fm-stat-2 .fm-stat-num { font-size: 4rem; color: var(--fm-white); font-family: var(--fm-font-serif); line-height: 1; }
.fm-stat-label { font-size: 0.8rem; color: var(--fm-gray); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; font-weight: 600; }
.fm-hero-img {
  grid-column: 3 / 4; grid-row: 1 / 3;
  border-radius: var(--fm-radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--fm-shadow-hover);
}
.fm-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ========== SPLIT CONTENT & FLOATING CARDS ========== */
.fm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.fm-split-sticky { position: sticky; top: 120px; }

/* Floating Service Cards */
.fm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.fm-srv-card {
  background: var(--fm-white); border-radius: var(--fm-radius-lg);
  padding: 50px 40px; box-shadow: var(--fm-shadow-soft);
  border: var(--fm-border); transition: all 0.5s var(--fm-ease);
  position: relative; overflow: hidden;
}
.fm-srv-card:hover { transform: translateY(-10px); box-shadow: var(--fm-shadow-hover); }
.fm-srv-icon { width: 64px; height: 64px; background: var(--fm-stone); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; color: var(--fm-gold); }
.fm-srv-icon svg { width: 32px; height: 32px; }
.fm-srv-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.fm-srv-card p { color: var(--fm-gray); font-size: 1.05rem; margin-bottom: 25px; line-height: 1.6; }

/* ========== DATA TAPE (V4 + V3) ========== */
.fm-data-tape { background: var(--fm-navy); padding: 80px 0; color: var(--fm-white); position: relative; overflow: hidden; }
.fm-data-tape .fm-aurora-blob { background: var(--fm-champagne); width: 400px; height: 400px; top: -100px; right: -100px; }
.fm-data-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; position: relative; z-index: 2; }
.fm-data-val { font-family: var(--fm-font-serif); font-size: 4rem; color: var(--fm-champagne); font-style: italic; line-height: 1; margin-bottom: 12px; }
.fm-data-lab { font-size: 1.1rem; color: rgba(255,255,255,0.7); }

/* ========== PROCESS MODULAR ========== */
.fm-process { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.fm-process-img { position: relative; border-radius: var(--fm-radius-xl) var(--fm-radius-lg); overflow: hidden; box-shadow: var(--fm-shadow-hover); }
.fm-process-img img { width: 100%; min-height: 600px; object-fit: cover; }
.fm-process-badge {
  position: absolute; bottom: 40px; right: -40px;
  background: var(--fm-champagne); width: 140px; height: 140px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--fm-font-serif); font-size: 1.2rem; font-style: italic; color: var(--fm-navy);
  box-shadow: var(--fm-shadow-soft);
  animation: fm-spin 20s linear infinite;
}
@keyframes fm-spin { 100% { transform: rotate(360deg); } }

.fm-step { display: flex; gap: 24px; margin-bottom: 40px; }
.fm-step-num { font-family: var(--fm-font-serif); font-size: 2.5rem; font-style: italic; color: var(--fm-gold); line-height: 1; opacity: 0.5; }
.fm-step h4 { font-size: 1.4rem; margin-bottom: 10px; }
.fm-step p { color: var(--fm-gray); }

/* ========== CTA / BANNER ========== */
/* Hide old local CTAs to use the new global CTA */
section:has(.fm-cta-card) { display: none !important; }
.fm-cta-card { display: none !important; }

.fm-footer {
  background: var(--fm-navy);
  color: var(--fm-white);
  padding: 100px 0 40px;
  border-radius: var(--fm-radius-xl) var(--fm-radius-xl) 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-top: 3px solid var(--fm-champagne);
}
.fm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 80px; margin-bottom: 40px; }
.fm-footer-grid img { height: 72px; margin-bottom: 24px; }
.fm-footer h4 { font-family: var(--fm-font-serif); font-size: 1.2rem; font-style: italic; color: var(--fm-champagne); margin-bottom: 24px; }
.fm-footer a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 16px; font-size: 0.95rem; }
.fm-footer a:hover { color: var(--fm-white); }
.fm-footer-copy { color: rgba(255,255,255,0.4); font-size: 0.85rem; display: flex; justify-content: space-between; align-items: center; }

/* ========== PAGE HEADER COMPONENT ========== */
.fm-page-header {
  background: var(--fm-navy); padding: 160px 0 90px; color: var(--fm-white);
  position: relative; overflow: hidden; text-align: center;
  border-radius: 0 0 var(--fm-radius-xl) var(--fm-radius-xl);
}
.fm-page-header .fm-aurora-blob { background: var(--fm-champagne); width: 400px; height: 400px; top: 0; left: 50%; transform: translateX(-50%); }
.fm-page-title {
  font-size: clamp(1.9rem, 3.5vw, 3.8rem);
  margin-bottom: 18px; line-height: 1.15;
  position: relative; z-index: 2;
}
.fm-page-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  max-width: 580px; margin: 0 auto;
  position: relative; z-index: 2; line-height: 1.65;
}

/* ========== FAQ ========== */
.fm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.fm-faq-item h4 { cursor: pointer; user-select: none; }

/* ========== GLOBAL MARQUEE ========== */
.fm-global-marquee-container {
  background: var(--fm-ink);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fm-global-marquee { display: flex; white-space: nowrap; overflow: hidden; width: 100%; }
.fm-marquee-track { display: flex; animation: fm-marquee-scroll 30s linear infinite; }
.fm-marquee-content { display: flex; align-items: center; }
.fm-marquee-content span {
  font-family: var(--fm-font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  padding: 0 40px;
  transition: color 0.3s;
}
.fm-marquee-content span:hover { color: var(--fm-gold); cursor: default; }
.fm-marquee-content span.dot {
  width: 6px; height: 6px; background: var(--fm-terracotta);
  border-radius: 50%; padding: 0; margin: 0; opacity: 0.4;
}
@keyframes fm-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== GLOBAL CTA ========== */
.fm-global-cta-section { padding: 100px 0; background: var(--fm-stone); position: relative; }
.fm-global-cta-card {
  background: var(--fm-ink);
  border-radius: var(--fm-radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(20,11,8,0.15);
}
.fm-global-cta-card .fm-cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.fm-global-cta-card .fm-cta-title {
  font-family: var(--fm-font-serif);
  font-size: 3.5rem; font-weight: 500;
  color: var(--fm-white);
  line-height: 1.1; margin-bottom: 24px;
}
.fm-global-cta-card .fm-cta-text {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem; line-height: 1.6; margin-bottom: 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .fm-hero-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .fm-hero-main { grid-column: 1/-1; grid-row: 1; padding: 44px 50px; min-height: 420px; }
  .fm-stat-1 { grid-column: 1/-1; grid-row: 2; padding: 40px; }
  .fm-stat-2 { grid-column: 1/-1; grid-row: 3; padding: 40px; }
  .fm-nav-grid { display: flex; justify-content: space-between; }
  .fm-nav-left { display: none; }
  .fm-nav-right { display: none; }
  .fm-hamburger { display: flex; }
  .fm-split { grid-template-columns: 1fr; }
  .fm-split-sticky { position: relative; top: 0; }
  .fm-services-grid { grid-template-columns: repeat(2, 1fr); }
  .fm-process { grid-template-columns: 1fr; }
  .fm-data-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .fm-footer-grid { grid-template-columns: 1fr 1fr; }
  .fm-page-header { padding: 130px 0 70px; }
  /* Hero V2 */
  .fm-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .fm-hero-sub-row { gap: 32px; }
  .fm-hero-v2-title { font-size: clamp(3rem, 8vw, 5rem); }
}
@media (max-width: 768px) {
  .fm-section { padding: 80px 0; }
  .fm-section-title { font-size: 2.2rem; }
  .fm-services-grid { grid-template-columns: 1fr; }
  .fm-footer-grid { grid-template-columns: 1fr; }
  .fm-cta-card { padding: 60px 30px; }
  .fm-cta-title { font-size: 3rem; }
  .fm-hero-main { padding: 36px 32px; min-height: auto; }
  .fm-hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .fm-hero-desc { font-size: 1rem; }
  .fm-page-header { padding: 110px 0 60px; }
  .fm-page-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .fm-page-subtitle { font-size: 1rem; }
  /* Global Components Mobile */
  .fm-global-cta-card { padding: 50px 30px; }
  .fm-global-cta-card .fm-cta-title { font-size: 2.2rem; }
  .fm-marquee-content span { font-size: 1.4rem; padding: 0 20px; }
  /* Service page step cards stack better on mobile */
  div[style*="grid-template-columns: auto 1fr"] { grid-template-columns: 1fr !important; }
  /* Hero V2 mobile */
  .fm-hero-v2-title { font-size: clamp(2.8rem, 10vw, 4rem); }
  .fm-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fm-hero-stat-card { padding: 14px 16px; }
  .fm-hero-stat-number { font-size: 1.7rem; }
  .fm-hero-scroll { display: none; }
  .fm-hero-sub-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .fm-hero-badge-row { gap: 6px; }
  .fm-hero-trust-badge { font-size: 0.68rem; padding: 6px 12px; }
}
