/* ============================================
   XACTABILL — Design System & Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors (from logo) */
  --blue-900: #00264d;
  --blue-800: #003a75;
  --blue-700: #004a99;
  --blue-600: #0052A5;
  --blue-500: #0066cc;
  --blue-400: #3388dd;
  --blue-300: #66aaee;
  --blue-200: #99ccff;

  --green-700: #1a8a35;
  --green-600: #22a642;
  --green-500: #2DBF4E;
  --green-400: #55d070;
  --green-300: #88e098;
  --green-200: #bbf0c0;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6eb;
  --gray-300: #c8cfd8;
  --gray-400: #8e99a8;
  --gray-500: #6b7685;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --gray-900: #0d1117;

  /* Semantic */
  --bg-dark: #1a2332;
  --bg-section-dark: #1e293b;
  --bg-section-light: var(--gray-50);
  --text-primary: var(--white);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-dark: var(--gray-800);
  --text-muted: var(--gray-500);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--green-500) 100%);

  --gradient-brand1: linear-gradient(135deg, var(--blue-600) 0%, var(--green-400) 20%);
  --gradient-hero: linear-gradient(160deg, rgba(26, 35, 50, 0.92) 0%, rgba(69, 95, 137, 0.85) 60%, rgba(20, 38, 33, 0.8) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-stats: linear-gradient(160deg, #1e293b 0%, #243347 50%, #1e3a2f 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(0, 102, 204, 0.2);
  --shadow-glow-green: 0 0 30px rgba(45, 191, 78, 0.2);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1200px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Utilities ---------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

.reveal-delay-7 {
  transition-delay: 0.7s;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
  padding: 5px 16px !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--green-500);
  color: var(--green-400);
  background: rgba(45, 191, 78, 0.08);
}

.btn-dark {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.45);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(45, 191, 78, 0.4);
  color: var(--white);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.5px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--blue-600);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--green-500);
  bottom: -100px;
  left: -80px;
  animation-delay: -4s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 8px 40px 8px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green-300);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(45, 191, 78, 0.4);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(45, 191, 78, 0);
  }
}

/* Hero Badge Large Variant */
.hero-badge-lg {
  font-size: 1rem;
  padding: 15px 24px 15px 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-badge-lg .hero-badge-dot {
  width: 10px;
  height: 10px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  max-width: 700px;
  margin: 0 0 20px;
  text-align: left;
  align-self: center;
}

.hero h1 .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin: 0 0 36px;
  text-align: justify;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* Larger CTA Button */
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-lg svg {
  width: 22px;
  height: 22px;
}

.hero-stats-row {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---- Insurance Carriers Logo Strip ---- */
.carriers-strip {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.carriers-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.carriers-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.carriers-logos img {
  /* height: 36px;*/
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}

.carriers-logos img:hover {
  opacity: 0.9;
}

/* Individual carrier logo sizes — adjust height to taste */
.carrier-sf {
  height: 62px !important;
}

.carrier-farmers {
  height: 60px !important;
}

.carrier-amfam {
  height: 28px !important;
}

.carrier-homesite {
  height: 22px !important;
}

.carrier-progressive {
  height: 44px !important;
}

.carrier-liberty {
  height: 50px !important;
}

.carrier-allstate {
  height: 40px !important;
}

.carrier-usaa {
  height: 36px !important;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-section-light);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 82, 165, 0.08) 0%, rgba(45, 191, 78, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  transform: scale(1.1);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue-600);
  stroke-width: 2;
  fill: none;
  transition: stroke var(--transition-normal);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.process {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-subtitle {
  color: var(--text-secondary);
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
  gap: 40px;
}

/* Connecting line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
  opacity: 0.3;
}

.process-card {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.process-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  transition: all var(--transition-normal);
}

.process-number::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: all var(--transition-normal);
}

.process-card:hover .process-number::before {
  border-color: rgba(45, 191, 78, 0.3);
  box-shadow: var(--shadow-glow-green);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: var(--section-padding) 0;
  background: var(--gradient-stats);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 191, 78, 0.1) 0%, transparent 50%);
}

.stats-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.stats-header .section-title {
  color: var(--white);
}

.stats-header .section-subtitle {
  color: var(--text-secondary);
  margin: 0 auto;
}

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

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

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(45, 191, 78, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   WHY XACTABILL / TRUST SECTION
   ============================================ */
.trust {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trust-content .section-title {
  color: var(--gray-800);
}

.trust-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 82, 165, 0.1) 0%, rgba(45, 191, 78, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-600);
  stroke-width: 2;
  fill: none;
}

.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.trust-visual {
  position: relative;
}

.trust-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.trust-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.trust-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge img {
  height: 50px;
  width: auto;
}

.trust-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-section-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: var(--bg-dark);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.12);
  filter: blur(60px);
  top: -100px;
  right: -100px;
}

.contact-info::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(45, 191, 78, 0.1);
  filter: blur(60px);
  bottom: -80px;
  left: -60px;
}

.contact-info>* {
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info>p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-400);
  stroke-width: 2;
  fill: none;
}

.contact-detail span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.85);
}

.contact-detail a:hover {
  color: var(--green-400);
}

/* ---- Contact Carriers Logos ---- */
.contact-carriers {
  margin: 20px 0 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-carriers-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-carriers-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.contact-carriers-logos img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity var(--transition-fast);
}

.contact-carriers-logos img:hover {
  opacity: 0.85;
}

/* Form Side */
.contact-form-wrapper {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 24px;
}

/* Honeypot anti-spam — hidden from humans, visible to bots */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  margin-top: 8px;
}

/* ---- Button Loading State ---- */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 10px;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Form Error Message ---- */
.form-error-msg {
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid #e53e3e;
  margin-bottom: 12px;
  animation: fadeSlideIn 0.3s var(--ease-out);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Success Overlay ---- */
.form-success-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 10;
  animation: fadeIn 0.4s var(--ease-out);
}

.form-success-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-success-icon {
  width: 80px;
  height: 80px;
  color: var(--green-500);
  margin-bottom: 24px;
}

.form-success-icon svg {
  width: 80px;
  height: 80px;
}

.success-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeDraw 0.6s var(--ease-out) forwards;
}

.success-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeDraw 0.4s var(--ease-out) 0.4s forwards;
}

@keyframes strokeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.form-success-msg {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 28px;
}

.form-success-close {
  min-width: 160px;
}

/* Make contact-form-wrapper position:relative for overlay */
.contact-form-wrapper {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 0;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--green-400);
  transform: translateX(4px);
}

/* Footer Contact Highlight */
.footer-contact-highlight {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 0 !important;
}

.footer-contact-highlight svg {
  stroke: var(--green-400);
  flex-shrink: 0;
}

.footer-contact-highlight:hover {
  color: var(--green-400) !important;
}

.footer-col-contact {
  min-width: 180px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-grid::before {
    display: none;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 35, 50, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right var(--transition-normal);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .lang-toggle {
    margin-left: auto;
    margin-right: 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-stats-row {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .carriers-logos {
    gap: 16px;
  }

  .carriers-logos img {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}