/* ==========================================================
   INSURANCE RESOURCES GROUP — Master Stylesheet
   Denim navy + warm gold + cream — private banking palette
   ========================================================== */

:root {
  /* Background tones — deeper midnight navy, layered for depth */
  --bg: #0C1929;
  --bg2: #081320;
  --bg3: #142338;
  --bg4: #1B2E48;

  /* Surface treatments — soft cream-tinted overlays for cards */
  --glass: rgba(245, 237, 220, 0.05);
  --glass-strong: rgba(245, 237, 220, 0.08);
  --glass-border: rgba(245, 237, 220, 0.10);
  --glass-border-strong: rgba(245, 237, 220, 0.18);

  /* Gold — restored to the original warmer gold from the dark site palette */
  --gold: #C9A55A;
  --gold-light: #D9BC7F;
  --gold-dim: #8C6E35;
  --gold-glow: rgba(201, 165, 90, 0.25);

  /* Primary CTA color — uses the brand gold so buttons read as deliberate gold pills
     with navy text. The "purple" token name is kept for historical reasons; it controls
     all primary CTAs site-wide (Agent Log In, form submits, etc.). */
  --purple: #C9A55A;
  --purple-light: #D9BC7F;
  --purple-dim: #8C6E35;
  --purple-glow: rgba(201, 165, 90, 0.3);

  /* Deeper brass — replaces "cyan" as a secondary accent.
     A slightly darker variant of gold, used to differentiate secondary CTAs. */
  --cyan: #B8923D;
  --cyan-light: #D4A95A;
  --cyan-dim: #8B6E26;
  --cyan-glow: rgba(184, 146, 61, 0.22);

  /* Text colors — cool cream tones for readability against navy */
  --text: #EDE7D8;
  --text2: #B8B0A0;
  --text3: #847D70;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--purple);
  color: #14263D;
}

/* ============== AMBIENT BACKGROUND GLOWS ============== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -100px;
  right: -200px;
  animation: float1 20s ease-in-out infinite;
  opacity: 0.25;
}
.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  bottom: -150px;
  left: -150px;
  animation: float2 25s ease-in-out infinite;
  opacity: 0.22;
}
.bg-glow-3 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: 40%;
  left: 30%;
  opacity: 0.12;
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-50px, 80px); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(80px, -50px); }
}
@keyframes float3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px, 50px) scale(1.1); }
}

/* ============== NAVIGATION ============== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 25, 41, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(8, 19, 32, 0.93);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s var(--ease);
}
.nav-logo:hover {
  opacity: 0.9;
}
.nav-logo .nav-name em {
  transition: color 0.2s var(--ease);
}
.nav-mono {
  width: 58px;
  height: 46px;
  background: url('../images/irg-logo.png') center/contain no-repeat;
  border-radius: 0;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  /* Subtle gold glow so the logo feels lit on the dark navy background */
  filter: drop-shadow(0 0 12px rgba(201, 165, 90, 0.35));
  transition: transform 0.3s var(--ease-bounce);
  flex-shrink: 0;
}
.nav-logo:hover .nav-mono {
  transform: rotate(-4deg) scale(1.05);
}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 4px;
}
.nav-name em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  margin-left: 2px;
}
.nav-name span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 5px;
}
.nav-name span::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text2);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(245, 237, 220, 0.05);
}
.nav-link.active {
  color: var(--text);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: rgba(8, 19, 32, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(245, 237, 220, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease);
}
.nav-dropdown-menu a:hover {
  background: rgba(245, 237, 220, 0.05);
  color: var(--text);
}

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

.btn-nav-agent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dim) 100%);
  color: var(--bg2);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.125rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 20px rgba(201, 165, 90, 0.18);
}
.btn-nav-agent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(201, 165, 90, 0.28);
}
.btn-nav-agent i {
  font-size: 14px;
}

/* "Original Site" / legacy site button */
.btn-nav-legacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(201, 165, 90, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-right: 0.5rem;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-nav-legacy:hover {
  background: rgba(201, 165, 90, 0.1);
  border-color: rgba(201, 165, 90, 0.5);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-nav-legacy i {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.btn-nav-legacy:hover i {
  transform: rotate(-25deg);
}
.btn-nav-legacy span {
  white-space: nowrap;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 7rem 2rem 3rem;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

/* ===== HERO BACKGROUND TREATMENT =====
   Three layers stacked beneath the hero content:
   1. The base navy bg (already set on body)
   2. Faint gold constellation/line pattern (::before)
   3. Subtle paper-grain noise texture (::after)
   Both at low opacity so they enrich without distracting. */

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Constellation/topographic pattern — abstract gold line work.
     Inline SVG as data URL: thin gold strokes forming an interconnected network. */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><defs><pattern id='dotgrid' width='80' height='80' patternUnits='userSpaceOnUse'><circle cx='40' cy='40' r='1' fill='%23C9A55A' fill-opacity='0.3'/></pattern></defs><rect width='1200' height='800' fill='url(%23dotgrid)'/><g stroke='%23C9A55A' stroke-opacity='0.22' stroke-width='0.8' fill='none'><path d='M120 180 L 360 300 L 580 220 L 820 340 L 1080 280'/><path d='M80 460 L 280 540 L 520 480 L 760 620 L 1000 540 L 1160 600'/><path d='M200 700 L 440 640 L 660 720 L 920 660'/><path d='M380 100 L 380 300 M 580 220 L 580 480 M 820 340 L 820 620'/><path d='M120 180 L 80 460 M 1080 280 L 1160 600'/></g><g fill='%23C9A55A' fill-opacity='0.6'><circle cx='120' cy='180' r='2.5'/><circle cx='360' cy='300' r='2.5'/><circle cx='580' cy='220' r='3'/><circle cx='820' cy='340' r='2.5'/><circle cx='1080' cy='280' r='2.5'/><circle cx='80' cy='460' r='2.5'/><circle cx='280' cy='540' r='3'/><circle cx='520' cy='480' r='2.5'/><circle cx='760' cy='620' r='2.5'/><circle cx='1000' cy='540' r='2.5'/><circle cx='1160' cy='600' r='2.5'/><circle cx='200' cy='700' r='2.5'/><circle cx='440' cy='640' r='2.5'/><circle cx='660' cy='720' r='3'/><circle cx='920' cy='660' r='2.5'/><circle cx='380' cy='100' r='2.5'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Paper-grain noise texture — inline SVG turbulence filter generates real procedural noise. */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noise'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.55 0'/></filter><rect width='200' height='200' filter='url(%23noise)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gold-glow);
  z-index: -1;
  filter: blur(8px);
}

.hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.625rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dim) 100%);
  color: var(--bg2);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201, 165, 90, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 165, 90, 0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  /* subtract 1px from base padding to compensate for the added border so button height matches sibling btn-primary */
  padding: calc(0.85rem - 1px) calc(1.625rem - 1px);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201, 165, 90, 0.08);
}
.btn-secondary:hover {
  background: rgba(201, 165, 90, 0.08);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 165, 90, 0.18);
}
.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn-ghost:hover {
  background: var(--glass-strong);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}
.btn-primary i,
.btn-secondary i,
.btn-ghost i {
  font-size: 16px;
}

/* Hero orbit decoration (nods to logo) */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.08;
}
.orbit-1 {
  width: 600px;
  height: 200px;
  transform: translate(-50%, -50%) rotate(-15deg);
  animation: rotate-orbit 60s linear infinite;
}
.orbit-2 {
  width: 800px;
  height: 280px;
  transform: translate(-50%, -50%) rotate(20deg);
  animation: rotate-orbit 80s linear infinite reverse;
}
.orbit-3 {
  width: 1000px;
  height: 360px;
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: rotate-orbit 100s linear infinite;
}
@keyframes rotate-orbit {
  to { transform: translate(-50%, -50%) rotate(345deg); }
}

/* ============== STAT BAR ============== */
.stat-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 2rem 0 0;
}
.stat-cell {
  background: var(--bg2);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.stat-cell:hover {
  background: var(--bg3);
}
.stat-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.stat-cell:hover::before {
  opacity: 0.5;
}
.stat-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.25s var(--ease);
}
.stat-cell:hover .stat-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  color: var(--gold);
  margin-left: 2px;
}
.stat-l {
  font-size: 12px;
  color: var(--text2);
  margin-top: 8px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ============== SECTIONS ============== */
.section {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem;
}
.section-bg {
  position: relative;
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

/* Section-bg gets the same constellation + grain treatment as the hero,
   slightly more restrained so the hero retains the most visual richness. */
.section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'><defs><pattern id='dotgrid2' width='80' height='80' patternUnits='userSpaceOnUse'><circle cx='40' cy='40' r='1' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='800' fill='url(%23dotgrid2)'/><g stroke='%23C9A55A' stroke-opacity='0.15' stroke-width='0.7' fill='none'><path d='M120 180 L 360 300 L 580 220 L 820 340 L 1080 280'/><path d='M80 460 L 280 540 L 520 480 L 760 620 L 1000 540 L 1160 600'/><path d='M200 700 L 440 640 L 660 720 L 920 660'/></g><g fill='%23C9A55A' fill-opacity='0.45'><circle cx='120' cy='180' r='2.2'/><circle cx='360' cy='300' r='2.2'/><circle cx='580' cy='220' r='2.6'/><circle cx='820' cy='340' r='2.2'/><circle cx='1080' cy='280' r='2.2'/><circle cx='80' cy='460' r='2.2'/><circle cx='280' cy='540' r='2.6'/><circle cx='520' cy='480' r='2.2'/><circle cx='760' cy='620' r='2.2'/><circle cx='1000' cy='540' r='2.2'/><circle cx='1160' cy='600' r='2.2'/><circle cx='200' cy='700' r='2.2'/><circle cx='440' cy='640' r='2.2'/><circle cx='660' cy='720' r='2.6'/><circle cx='920' cy='660' r='2.2'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noise2'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23noise2)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* Ensure section-bg content sits above the decorative layers */
.section-bg > * {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head.left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--purple-light);
}
.eyebrow.gold {
  color: var(--gold-light);
}
.eyebrow.gold::before {
  background: var(--gold-light);
}
.eyebrow.cyan {
  color: var(--cyan);
}
.eyebrow.cyan::before {
  background: var(--cyan);
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.sec-title em {
  font-style: italic;
  color: var(--gold);
}
.sec-sub {
  font-size: 15px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto;
}
.section-head.left .sec-sub {
  margin: 0;
}

/* ============== SERVICE CARDS ============== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.svc-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(245, 237, 220, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.svc-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
}
.svc-card:hover::before {
  opacity: 1;
}
.svc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-bounce);
}
.svc-card:hover .svc-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
}
.svc-icon-wrap i {
  font-size: 22px;
}
.svc-icon-wrap.purple {
  background: rgba(201, 165, 90, 0.18);
  color: var(--purple-light);
  box-shadow: inset 0 0 30px rgba(245, 237, 220, 0.05);
}
.svc-icon-wrap.cyan {
  background: rgba(107, 39, 55, 0.12);
  color: var(--cyan);
  box-shadow: inset 0 0 30px rgba(107, 39, 55, 0.05);
}
.svc-icon-wrap.gold {
  background: rgba(201, 165, 90, 0.12);
  color: var(--gold);
  box-shadow: inset 0 0 30px rgba(201, 165, 90, 0.05);
}
.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.svc-card p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
}

/* ============== UW HIGHLIGHT BLOCK ============== */
.uw-block {
  background: linear-gradient(135deg, rgba(201,165,90,0.08) 0%, rgba(201,165,90,0.02) 100%);
  border: 1px solid rgba(201,165,90,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.uw-block::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.uw-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}
.uw-head .sec-sub {
  margin: 0 auto;
}
.uw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  position: relative;
  z-index: 1;
}
.uw-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.uw-dot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(201,165,90,0.15);
  border: 1px solid rgba(201,165,90,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.uw-point strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.uw-point span {
  font-size: 13px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.65;
}

/* ============== SERVICE = SUCCESS ============== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.s-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease);
}
.s-item:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
}
.s-item-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.s-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}
.s-item p {
  font-size: 13.5px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.7;
}

/* ============== CARRIERS ============== */
.carrier-track {
  position: relative;
}
.carrier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}
.carrier-pill {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 13px;
  padding: 7px 16px;
  color: var(--text2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.carrier-pill:hover {
  background: var(--glass-strong);
  color: var(--text);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}
.carrier-pill.more {
  background: rgba(107, 39, 55, 0.08);
  color: var(--cyan);
  border-color: rgba(184, 146, 61, 0.3);
  font-weight: 500;
}
.carrier-pill.more i {
  font-size: 14px;
}
.carrier-note {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  font-weight: 300;
  font-style: italic;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

/* ============== CARRIER SECTION (logos + text list) ============== */

/* SPOTLIGHT EFFECT — stage-light illumination tied to scroll position.
   Three layers stacked: glow (source point), cone (the beam),
   and floor (the pool of light on the section). The whole stage's
   opacity is animated via JS as the section scrolls through the viewport. */
.carrier-spotlight-section {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* contains the spotlight layers */
}
.spotlight-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 1;
  will-change: opacity;
}
.carrier-spotlight-section .container,
.carrier-spotlight-section .carrier-wide-wrap {
  position: relative;
  z-index: 2; /* content sits above the spotlight base layers */
}

/* THE GLOW — the bright "lamp" itself, at the top-center.
   Small, intense, with a tight bright core fading to warm gold edges. */
.spotlight-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 252, 240, 0.95) 0%,
    rgba(255, 235, 180, 0.55) 18%,
    rgba(255, 215, 130, 0.25) 35%,
    rgba(201, 165, 90, 0.08) 55%,
    transparent 70%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
}

/* THE CONE — the beam of light traveling straight down from the lamp,
   spreading symmetrically across the section. */
.spotlight-cone {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 900px;
  background: radial-gradient(
    ellipse 60% 90% at 50% 0%,
    rgba(255, 245, 220, 0.18) 0%,
    rgba(255, 230, 170, 0.10) 25%,
    rgba(255, 210, 130, 0.05) 45%,
    transparent 70%
  );
  filter: blur(20px);
  mix-blend-mode: screen;
}

/* THE FLOOR — the warm pool of light where the cone "lands" on the carriers.
   Centered directly below the lamp. */
.spotlight-floor {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 1500px;
  height: 600px;
  background: radial-gradient(
    ellipse 55% 60% at 50% 35%,
    rgba(255, 240, 200, 0.12) 0%,
    rgba(255, 220, 170, 0.06) 30%,
    rgba(255, 200, 140, 0.025) 55%,
    transparent 75%
  );
  filter: blur(40px);
  mix-blend-mode: screen;
}

/* When the section is in the spotlight, the carrier tiles brighten in response.
   This makes the logos feel lit BY the spotlight, not just sitting near it. */
.carrier-spotlight-section.spotlight-active .carrier-tile {
  opacity: 0.95;
}
.carrier-spotlight-section.spotlight-peak .carrier-tile {
  opacity: 1;
}
.carrier-spotlight-section.spotlight-peak .carrier-tile img {
  filter: brightness(1.08);
}

/* Stage opacity tied to scroll progress via CSS variable */
.spotlight-stage {
  opacity: var(--spotlight-intensity, 0);
}

/* WIDER CONTAINER for the carrier wall — breaks out of the standard 1200px */
.carrier-wide-wrap {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Loading state */
.carrier-loading {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  font-style: italic;
  margin: 2rem 0;
  letter-spacing: 0.02em;
}
.carrier-loading[hidden] { display: none; }

/* LOGO GRID — denser, more horizontal */
.carrier-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.875rem 1rem;
  margin-top: 2.5rem;
  align-items: start;
  justify-items: center;
}
.carrier-tile {
  background: transparent;
  border: none;
  border-radius: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.5rem 0.625rem;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  overflow: visible;
  opacity: 0.82;
  position: relative;
}
.carrier-tile:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.carrier-tile-img {
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carrier-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.25s var(--ease);
}
.carrier-tile:hover img {
  filter: brightness(1.1);
}
.carrier-tile-name {
  font-size: 11.5px;
  color: var(--text2);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.carrier-tile:hover .carrier-tile-name {
  opacity: 1;
  transform: translateY(0);
}
.carrier-logo-grid[hidden] { display: none; }

/* TEXT LIST WRAPPER — flows naturally from the logo grid */
.carrier-text-wrap {
  margin-top: 2.5rem;
  text-align: center;
}
.carrier-text-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.ct-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,165,90,0.5), transparent);
}
.ct-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
  white-space: nowrap;
}

/* TEXT LIST — bigger, more prominent serif treatment */
.carrier-text-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  line-height: 2.4;
}
.carrier-text-list li {
  display: inline-flex;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
  padding: 0.3rem 1.25rem;
  letter-spacing: -0.005em;
  position: relative;
  transition: color 0.2s var(--ease);
}
.carrier-text-list li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -4px;
  color: var(--gold);
  opacity: 0.6;
  font-size: 22px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
  top: 50%;
  transform: translateY(-55%);
}
.carrier-text-list li:hover {
  color: var(--gold-light);
}

.carrier-source { display: none; }

.carrier-note {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  font-weight: 300;
  font-style: italic;
  margin-top: 2.5rem;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .carrier-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .carrier-text-list li {
    font-size: 19px;
    padding: 0.25rem 1rem;
  }
}
@media (max-width: 900px) {
  .carrier-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem 0.875rem;
  }
  .carrier-tile-img {
    height: 50px;
  }
  .carrier-text-list li {
    font-size: 17px;
    padding: 0.25rem 0.875rem;
  }
  .carrier-text-list li:not(:last-child)::after {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .carrier-logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .carrier-tile-img {
    height: 44px;
  }
  /* On mobile, names always show below logos (no hover) */
  .carrier-tile-name {
    opacity: 0.7;
    transform: none;
    font-size: 10.5px;
  }
  .carrier-text-list {
    line-height: 2.1;
  }
  .carrier-text-list li {
    font-size: 15px;
    padding: 0.2rem 0.625rem;
  }
}

/* ============== PRODUCTS ============== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.prod-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.prod-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(201, 165, 90, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.prod-card.cyan-accent::before {
  background: radial-gradient(circle at top, rgba(107, 39, 55,0.08), transparent 70%);
}
.prod-card.gold-accent::before {
  background: radial-gradient(circle at top, rgba(201,165,90,0.08), transparent 70%);
}
.prod-card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
}
.prod-card:hover::before {
  opacity: 1;
}
.prod-card > i {
  font-size: 28px;
  color: var(--purple-light);
  display: block;
  margin-bottom: 0.875rem;
  transition: transform 0.3s var(--ease-bounce);
}
.prod-card.cyan-accent > i { color: var(--cyan); }
.prod-card.gold-accent > i { color: var(--gold); }
.prod-card:hover > i {
  transform: scale(1.15) rotate(-5deg);
}
.prod-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
  font-family: 'Playfair Display', serif;
}
.prod-card p {
  font-size: 12.5px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.5;
}
.prod-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s var(--ease);
}
.prod-card:hover .prod-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.prod-arrow i {
  font-size: 13px;
  color: var(--text);
}

/* ============== TECH CARDS ============== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tech-card {
  background: linear-gradient(135deg, rgba(107, 39, 55,0.04) 0%, transparent 100%);
  border: 1px solid rgba(107, 39, 55,0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.tech-card:hover {
  border-color: rgba(184, 146, 61, 0.35);
  transform: translateY(-4px);
}
.tech-card i {
  font-size: 26px;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}
.tech-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
  font-family: 'Playfair Display', serif;
}
.tech-card p {
  font-size: 13px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.65;
}

/* ============== PORTAL SPLIT ============== */
.portal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.portal-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.portal-agent {
  background: linear-gradient(145deg, rgba(201, 165, 90, 0.2) 0%, rgba(91,68,184,0.06) 100%);
  border: 1px solid rgba(201, 165, 90, 0.25);
}
.portal-client {
  background: linear-gradient(145deg, rgba(107, 39, 55,0.12) 0%, rgba(0,122,108,0.05) 100%);
  border: 1px solid rgba(184, 146, 61, 0.3);
}
.portal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 146, 61, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.portal-card:hover {
  transform: translateY(-4px);
}
.portal-agent:hover {
  border-color: rgba(201, 165, 90, 0.35);
  box-shadow: 0 20px 60px rgba(201, 165, 90, 0.15);
}
.portal-client:hover {
  border-color: rgba(184, 146, 61, 0.45);
  box-shadow: 0 20px 60px rgba(107, 39, 55,0.15);
}
.portal-card:hover::before {
  opacity: 1;
}
.portal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 26px;
}
.portal-agent .portal-icon {
  background: rgba(201, 165, 90, 0.18);
  color: var(--purple-light);
}
.portal-client .portal-icon {
  background: rgba(107, 39, 55,0.2);
  color: var(--cyan);
}
.portal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.portal-agent h3 { color: var(--purple-light); }
.portal-client h3 { color: var(--cyan); }
.portal-card p {
  font-size: 14px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.portal-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.portal-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 13.5px;
  color: var(--text2);
  font-weight: 300;
}
.portal-feature i {
  font-size: 16px;
  flex-shrink: 0;
}
.portal-agent .portal-feature i { color: var(--purple-light); }
.portal-client .portal-feature i { color: var(--cyan); }
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.btn-purple {
  background: var(--purple);
  color: #14263D;
  box-shadow: 0 4px 20px rgba(201, 165, 90, 0.25);
}
.btn-cyan {
  background: var(--cyan);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(184, 146, 61, 0.3);
}
.portal-card:hover .portal-btn {
  transform: translateX(3px);
}

/* ============== CTA FOOTER ============== */
.cta-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.cta-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 240px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.05em;
}
.cta-footer h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  position: relative;
  letter-spacing: -0.01em;
}
.cta-footer h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-footer p {
  font-size: 16px;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.85;
  font-weight: 300;
  position: relative;
}
.cta-btns {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 1.5rem;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.footer-brand .nav-mono {
  width: 48px;
  height: 48px;
  font-size: 16px;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.footer-name em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  margin-left: 2px;
}
.footer-tag {
  font-size: 10.5px;
  color: var(--text3);
  margin-top: 6px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-tag::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 0.625rem;
  font-weight: 300;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  color: var(--text3);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 12px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.footer-links a:hover {
  color: var(--text2);
}

/* ============== ANIMATIONS ============== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s var(--ease) forwards;
}
.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }
.fade-in.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8,8,12,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-name {
    display: none;
  }
  .btn-nav-legacy span {
    display: none;
  }
  .btn-nav-legacy {
    padding: 0.5rem 0.625rem;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-bar .stat-cell:nth-child(1),
  .stat-bar .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--glass-border);
  }
  .service-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .uw-grid {
    grid-template-columns: 1fr;
  }
  .portal-split {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .uw-block {
    padding: 2rem 1.5rem;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .hero {
    padding: 7rem 1.5rem 4rem;
  }
}

@media (max-width: 500px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* ============== UTILITY: AUTH/FORM PAGES ============== */
.page-content {
  padding-top: 70px;
  min-height: 100vh;
}

/* Single portal card variant — centers the agent card when client option removed */
.portal-split.portal-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}


/* ============== CARRIER TEASER STRIP ==============
   Horizontal preview row of carrier logos that appears just after the hero.
   On most screens, this sits at the bottom of the viewport on initial load,
   giving users a "tease" of the partners and encouraging them to scroll. */
.carrier-teaser {
  position: relative;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: transparent;
  overflow: hidden;
}
.carrier-teaser-wrap {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.carrier-teaser-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.carrier-teaser-tile {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.carrier-teaser-tile:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.carrier-teaser-tile img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
}
.carrier-teaser-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  transition: all 0.2s var(--ease);
  opacity: 0.85;
}
.carrier-teaser-cue:hover {
  opacity: 1;
  transform: translateY(2px);
}
.carrier-teaser-cue i {
  font-size: 14px;
  animation: teaserBounce 2s ease-in-out infinite;
}
@keyframes teaserBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 900px) {
  .carrier-teaser-grid {
    gap: 1.5rem;
  }
  .carrier-teaser-tile {
    height: 30px;
  }
  .carrier-teaser-tile img {
    max-width: 90px;
  }
}
@media (max-width: 600px) {
  .carrier-teaser {
    padding: 1rem 1rem 1.25rem;
  }
  .carrier-teaser-grid {
    gap: 1rem 1.25rem;
  }
  .carrier-teaser-tile {
    height: 26px;
  }
  .carrier-teaser-tile img {
    max-width: 70px;
  }
  .carrier-teaser-cue {
    font-size: 10.5px;
  }
}

/* ============== PAGE HERO CONSTELLATION PATTERNS ==============
   Each page's hero gets its own variation of the constellation pattern.
   Same visual language (gold dots + thin gold lines on navy) but the
   composition varies so each page has its own subtle signature.
   
   All patterns inherit the same noise texture overlay for consistency. */

/* Common base — applies to every page hero via ::before for pattern, ::after for noise */
.prod-hero,
.res-hero,
.ab-hero,
.ct-hero,
.con-hero,
.news-hero,
.quote-hero,
.at-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Ensure hero content sits above the decorative layers */
.prod-hero > *,
.res-hero > *,
.ab-hero > *,
.ct-hero > *,
.con-hero > *,
.news-hero > *,
.quote-hero > *,
.at-hero > * {
  position: relative;
  z-index: 2;
}

/* Shared noise texture for all page heros */
.prod-hero::after,
.res-hero::after,
.ab-hero::after,
.ct-hero::after,
.con-hero::after,
.news-hero::after,
.quote-hero::after,
.at-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noiseP'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23noiseP)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* ---- PRODUCTS: horizontal flow with long line runs.
   Suggests a "lineup of options" — appropriate for a catalog page. ---- */
.prod-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pp' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='0.9' fill='%23C9A55A' fill-opacity='0.25'/></pattern></defs><rect width='1200' height='600' fill='url(%23pp)'/><g stroke='%23C9A55A' stroke-opacity='0.2' stroke-width='0.7' fill='none'><path d='M0 180 L 160 180 L 320 220 L 540 200 L 760 250 L 980 220 L 1200 240'/><path d='M0 380 L 180 360 L 380 400 L 600 370 L 820 410 L 1040 380 L 1200 400'/><path d='M120 80 L 360 100 M 580 60 L 800 80 M 980 100 L 1180 80'/><path d='M120 520 L 360 540 M 580 500 L 800 520 M 980 540 L 1180 520'/></g><g fill='%23C9A55A' fill-opacity='0.55'><circle cx='160' cy='180' r='2.5'/><circle cx='320' cy='220' r='2.5'/><circle cx='540' cy='200' r='3'/><circle cx='760' cy='250' r='2.5'/><circle cx='980' cy='220' r='2.5'/><circle cx='180' cy='360' r='2.5'/><circle cx='380' cy='400' r='2.5'/><circle cx='600' cy='370' r='3'/><circle cx='820' cy='410' r='2.5'/><circle cx='1040' cy='380' r='2.5'/><circle cx='120' cy='80' r='2'/><circle cx='360' cy='100' r='2'/><circle cx='580' cy='60' r='2'/><circle cx='800' cy='80' r='2'/><circle cx='980' cy='100' r='2'/><circle cx='1180' cy='80' r='2'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

/* ---- RESOURCES: clustered nodes with intersecting paths.
   Suggests "depth/repository" — appropriate for a library/index page. ---- */
.res-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pr' width='90' height='90' patternUnits='userSpaceOnUse'><circle cx='45' cy='45' r='0.8' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='600' fill='url(%23pr)'/><g stroke='%23C9A55A' stroke-opacity='0.18' stroke-width='0.7' fill='none'><path d='M150 150 L 250 220 L 200 320 L 120 280 Z'/><path d='M500 100 L 620 180 L 580 290 L 460 220 Z'/><path d='M850 200 L 980 280 L 920 380 L 800 320 Z'/><path d='M250 220 L 460 220 M 620 180 L 800 320 M 200 320 L 580 290 L 920 380'/></g><g fill='%23C9A55A' fill-opacity='0.55'><circle cx='150' cy='150' r='2.5'/><circle cx='250' cy='220' r='3'/><circle cx='200' cy='320' r='2.5'/><circle cx='120' cy='280' r='2.5'/><circle cx='500' cy='100' r='2.5'/><circle cx='620' cy='180' r='3'/><circle cx='580' cy='290' r='2.5'/><circle cx='460' cy='220' r='2.5'/><circle cx='850' cy='200' r='2.5'/><circle cx='980' cy='280' r='3'/><circle cx='920' cy='380' r='2.5'/><circle cx='800' cy='320' r='2.5'/><circle cx='350' cy='450' r='2'/><circle cx='700' cy='450' r='2'/><circle cx='1050' cy='450' r='2'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}

/* ---- ABOUT: radiating lines from a focal point on the left.
   Suggests "history/origin" — appropriate for the company story page. ---- */
.ab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pa' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='0.9' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='600' fill='url(%23pa)'/><g stroke='%23C9A55A' stroke-opacity='0.18' stroke-width='0.7' fill='none'><path d='M200 300 L 480 120 M 200 300 L 600 200 M 200 300 L 720 300 M 200 300 L 600 400 M 200 300 L 480 480'/><path d='M480 120 L 720 80 L 950 150 M 600 200 L 850 240 L 1080 200 M 720 300 L 950 320 L 1140 280 M 600 400 L 850 380 L 1080 420 M 480 480 L 720 500 L 950 470'/></g><g fill='%23C9A55A' fill-opacity='0.6'><circle cx='200' cy='300' r='4'/></g><g fill='%23C9A55A' fill-opacity='0.5'><circle cx='480' cy='120' r='2.5'/><circle cx='600' cy='200' r='2.5'/><circle cx='720' cy='300' r='2.5'/><circle cx='600' cy='400' r='2.5'/><circle cx='480' cy='480' r='2.5'/><circle cx='720' cy='80' r='2'/><circle cx='850' cy='240' r='2'/><circle cx='950' cy='320' r='2'/><circle cx='850' cy='380' r='2'/><circle cx='720' cy='500' r='2'/><circle cx='950' cy='150' r='2'/><circle cx='1080' cy='200' r='2'/><circle cx='1140' cy='280' r='2'/><circle cx='1080' cy='420' r='2'/><circle cx='950' cy='470' r='2'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}

/* ---- CONTACT: diagonal asymmetric pattern.
   Conversational, two-direction flow — fits "reach out / we'll respond". ---- */
.ct-hero::before,
.con-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pc' width='95' height='95' patternUnits='userSpaceOnUse'><circle cx='47' cy='47' r='0.9' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='600' fill='url(%23pc)'/><g stroke='%23C9A55A' stroke-opacity='0.18' stroke-width='0.7' fill='none'><path d='M80 120 L 280 200 L 480 160 L 680 280 L 900 220 L 1120 340'/><path d='M120 480 L 320 380 L 540 460 L 740 360 L 940 460 L 1140 380'/><path d='M280 200 L 320 380 M 680 280 L 740 360'/></g><g fill='%23C9A55A' fill-opacity='0.55'><circle cx='80' cy='120' r='2.5'/><circle cx='280' cy='200' r='3'/><circle cx='480' cy='160' r='2.5'/><circle cx='680' cy='280' r='3'/><circle cx='900' cy='220' r='2.5'/><circle cx='1120' cy='340' r='2.5'/><circle cx='120' cy='480' r='2.5'/><circle cx='320' cy='380' r='3'/><circle cx='540' cy='460' r='2.5'/><circle cx='740' cy='360' r='3'/><circle cx='940' cy='460' r='2.5'/><circle cx='1140' cy='380' r='2.5'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}

/* ---- NEWS: horizontal bands with scattered nodes.
   Suggests "stream/feed" — appropriate for news landing. ---- */
.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pn' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='0.9' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='600' fill='url(%23pn)'/><g stroke='%23C9A55A' stroke-opacity='0.18' stroke-width='0.7' fill='none'><path d='M0 130 L 1200 130'/><path d='M0 290 L 1200 290'/><path d='M0 450 L 1200 450'/></g><g fill='%23C9A55A' fill-opacity='0.55'><circle cx='100' cy='130' r='2.5'/><circle cx='260' cy='130' r='2.5'/><circle cx='460' cy='130' r='3'/><circle cx='680' cy='130' r='2.5'/><circle cx='860' cy='130' r='2.5'/><circle cx='1080' cy='130' r='2.5'/><circle cx='140' cy='290' r='2.5'/><circle cx='340' cy='290' r='3'/><circle cx='540' cy='290' r='2.5'/><circle cx='760' cy='290' r='2.5'/><circle cx='960' cy='290' r='3'/><circle cx='1140' cy='290' r='2.5'/><circle cx='80' cy='450' r='2.5'/><circle cx='280' cy='450' r='2.5'/><circle cx='500' cy='450' r='3'/><circle cx='720' cy='450' r='2.5'/><circle cx='920' cy='450' r='2.5'/><circle cx='1100' cy='450' r='2.5'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}

/* ---- QUOTES & AGENT TOOLS: vertical waterfall pattern.
   Top-to-bottom flow — suggests "next step / process". ---- */
.quote-hero::before,
.at-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'><defs><pattern id='pq' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='0.9' fill='%23C9A55A' fill-opacity='0.22'/></pattern></defs><rect width='1200' height='600' fill='url(%23pq)'/><g stroke='%23C9A55A' stroke-opacity='0.18' stroke-width='0.7' fill='none'><path d='M180 60 L 200 220 L 220 380 L 180 540'/><path d='M420 80 L 440 240 L 460 400 L 420 560'/><path d='M660 60 L 680 220 L 700 380 L 660 540'/><path d='M900 80 L 920 240 L 940 400 L 900 560'/><path d='M200 220 L 440 240 M 220 380 L 460 400 M 680 220 L 920 240 M 700 380 L 940 400'/></g><g fill='%23C9A55A' fill-opacity='0.55'><circle cx='180' cy='60' r='2.5'/><circle cx='200' cy='220' r='3'/><circle cx='220' cy='380' r='3'/><circle cx='180' cy='540' r='2.5'/><circle cx='420' cy='80' r='2.5'/><circle cx='440' cy='240' r='3'/><circle cx='460' cy='400' r='3'/><circle cx='420' cy='560' r='2.5'/><circle cx='660' cy='60' r='2.5'/><circle cx='680' cy='220' r='3'/><circle cx='700' cy='380' r='3'/><circle cx='660' cy='540' r='2.5'/><circle cx='900' cy='80' r='2.5'/><circle cx='920' cy='240' r='3'/><circle cx='940' cy='400' r='3'/><circle cx='900' cy='560' r='2.5'/></g></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.78;
}
