/* ============================================================
   INSURED BY JAMES - Custom CSS
   Professional Insurance Agent Personal Brand
   ============================================================ */

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

:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1B33;
  --navy-light: #2A3F6A;
  --gold: #C8963E;
  --gold-light: #D4A954;
  --gold-glow: rgba(200, 150, 62, 0.15);
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --light-gray: #E8ECF1;
  --text-dark: #1A1A2E;
  --text-body: #374151;
  --text-muted: #64748B;
  --success: #059669;
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.08);
  --shadow-md: 0 4px 16px rgba(27,42,74,0.1);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.12);
  --shadow-gold: 0 4px 24px rgba(200,150,62,0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero Mobile Headshot --- */
.hero-mobile-photo {
  display: none; /* hidden on desktop — the right-column card shows instead */
}

.hero-mobile-photo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  margin: 0 auto 20px;
}

@media (max-width: 1024px) {
  .hero-mobile-photo {
    display: block;
  }
}

/* --- Hero Background Photo --- */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.1s linear;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 27, 51, 0.88) 0%,
    rgba(27, 42, 74, 0.82) 50%,
    rgba(42, 63, 106, 0.75) 100%
  );
  z-index: 1;
}

/* --- Services Section with Background --- */
.section-services {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.services-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 27, 51, 0.94) 0%,
    rgba(27, 42, 74, 0.90) 100%
  );
  z-index: 1;
}

/* Override service card colors for dark background */
.section-services .service-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-services .service-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(200, 150, 62, 0.35);
}

.section-services .service-card h3 { color: var(--white); }
.section-services .service-card p { color: rgba(255, 255, 255, 0.65); }
.section-services .service-card .service-link { color: var(--gold-light); }

.section-services .service-icon {
  background: rgba(200, 150, 62, 0.15);
  border: 1px solid rgba(200, 150, 62, 0.25);
}

/* Service Icon Image (CDN SVGs) */
.service-icon-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-icon-img img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.service-icon-dark {
  background: rgba(27, 42, 74, 0.6);
  border-color: rgba(200, 150, 62, 0.2);
}

/* --- How It Works / Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 48px;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 40px 32px;
}

.process-connector {
  position: absolute;
  top: 72px;
  right: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  z-index: 0;
}

.process-step:last-child .process-connector { display: none; }

.process-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.process-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.process-cta {
  text-align: center;
  padding-top: 8px;
}

/* --- Testimonials Background --- */
.testimonials-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.testimonials-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 27, 51, 0.92) 0%,
    rgba(27, 42, 74, 0.88) 100%
  );
  z-index: 1;
}

.section-dark { position: relative; overflow: hidden; }

/* --- Contact Photo Thumbnail --- */
.contact-photo-thumb {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.contact-photo-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: brightness(0.9) saturate(1.1);
}

.contact-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 27, 51, 0.85));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 20px 16px 12px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* --- Footer Phone --- */
.footer-contact-cta {
  margin-top: 16px;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light) !important;
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--transition);
}

.footer-phone:hover { color: var(--gold) !important; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform-origin: left;
  transform: scaleX(0);
}

/* --- Floating Navigation --- */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(27, 42, 74, 0.08);
  padding: 0.75rem 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--white);
  transition: color var(--transition);
}

.floating-nav.scrolled .nav-brand { color: var(--navy); }

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

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

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

.floating-nav.scrolled .nav-links a { color: var(--text-body); }
.nav-links a:hover { color: var(--gold); }
.floating-nav.scrolled .nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: all var(--transition) !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  box-shadow: var(--shadow-gold) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.floating-nav.scrolled .nav-mobile-toggle span { background: var(--navy); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 80%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--gold) 0.5px, transparent 0.5px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.08), transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 62, 0.12);
  border: 1px solid rgba(200, 150, 62, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-headline .gold { color: var(--gold); }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-avatars {
  display: flex;
}

.hero-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -10px;
  object-fit: cover;
}

.hero-avatars img:first-child { margin-left: 0; }

.hero-proof-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.hero-proof-text strong {
  color: var(--gold-light);
  display: block;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  width: 380px;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-card .placeholder-photo {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

.hero-image-card .placeholder-photo svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-float-card.card-carriers {
  bottom: -20px;
  left: -40px;
}

.hero-float-card.card-rating {
  top: 40px;
  right: -40px;
}

.hero-float-card .float-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.hero-float-card .float-icon.gold-bg { background: var(--gold-glow); color: var(--gold); }
.hero-float-card .float-icon.green-bg { background: rgba(5, 150, 105, 0.1); color: var(--success); }

.hero-float-card .float-text { font-size: 0.75rem; color: var(--text-muted); }
.hero-float-card .float-text strong { display: block; color: var(--text-dark); font-size: 0.9375rem; }


/* --- Trust Bar / Stats --- */
.trust-bar {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--light-gray);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

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

.trust-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.trust-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* --- Section Styles --- */
.section {
  padding: 100px 0;
}

.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.6); }


/* --- Why James Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--gold-glow),
    transparent 40%
  );
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 150, 62, 0.2);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}

.service-link:hover { gap: 10px; }


/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  max-height: 520px;
}

.about-image img,
.about-image .placeholder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image .placeholder-photo {
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  gap: 12px;
}

.about-credential {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
}

.about-credential strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about-content .section-tag { text-align: left; }

.about-quote {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.75;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
}

.about-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

.about-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}


/* --- Social Proof / Testimonials --- */
.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 300px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.testimonial-slide.active { opacity: 1; }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.25rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.testimonial-role {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Carrier Logo Marquee */
.carrier-marquee {
  overflow: hidden;
  width: 100%;
  padding: 40px 0 0;
}

.carrier-marquee-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
  font-weight: 600;
}

.carrier-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.carrier-track:hover { animation-play-state: paused; }

.carrier-logo {
  height: 28px;
  opacity: 0.35;
  transition: opacity var(--transition);
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.carrier-logo:hover { opacity: 0.8; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Carrier text placeholders */
.carrier-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.carrier-track:hover .carrier-text { color: rgba(255, 255, 255, 0.5); }


/* --- FAQ Section --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
  gap: 16px;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* --- Quote / Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.contact-phone-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-phone-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.contact-phone-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  color: var(--navy);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form-card .form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

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

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--gold);
  text-decoration: underline;
}


/* --- Map Section --- */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  height: 300px;
  margin-top: 40px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand .nav-brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }

.footer-legal { display: flex; gap: 16px; }


/* --- Scroll Reveal Animations --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal[data-direction="down"] { transform: translateY(-30px); }
.scroll-reveal[data-direction="left"] { transform: translateX(-30px) translateY(0); }
.scroll-reveal[data-direction="right"] { transform: translateX(30px) translateY(0); }

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Blur text animation */
@keyframes blurReveal {
  0% { opacity: 0; filter: blur(12px); transform: translateY(-8px); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0); }
}

.blur-text-word {
  display: inline-block;
  opacity: 0;
  animation: blurReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


/* --- Responsive --- */
@media (max-width: 1024px) {

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-image-wrapper { display: none; }

  /* Why James — center card content */
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-card { text-align: center; }
  .why-card-icon { margin-left: auto; margin-right: auto; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-connector { display: none; }
  .process-step { text-align: center; padding: 32px 24px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { max-width: 360px; margin: 0 auto; }
  .about-credential { right: 0; bottom: -12px; }
  .about-content { text-align: center; }
  .about-content .section-tag { text-align: center; }
  .about-quote { text-align: left; }
  .about-highlights { justify-items: center; }
  .about-highlight { justify-content: center; }

  /* Contact — center the info column, keep form left-aligned */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { text-align: center; }
  .contact-info h2 { text-align: center; }
  .contact-info .section-subtitle { text-align: center !important; }
  .contact-phone { justify-content: center; }
  .contact-details { align-items: flex-start; max-width: 380px; margin-left: auto; margin-right: auto; }
  .contact-detail { text-align: left; }
  .contact-photo-thumb { max-width: 480px; margin-left: auto; margin-right: auto; }

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

  /* Services */
  .services-bg-photo { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Trust bar */
  .trust-bar { padding: 48px 0; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; gap: 24px 16px; }

  /* Services — center card content */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { text-align: center; }
  .service-icon { margin-left: auto; margin-right: auto; }
  .service-icon-img { margin-left: auto; margin-right: auto; }
  .service-link { justify-content: center; }

  /* Nav */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    gap: 0;
  }
  .nav-links.open a { color: var(--text-body); padding: 12px 0; border-bottom: 1px solid var(--light-gray); }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-links.open .nav-cta { margin-top: 8px; text-align: center; border-bottom: none !important; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  /* About */
  .about-highlights { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-brand { max-width: 100%; text-align: center; }
  .footer-brand .nav-brand { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-col a { text-align: center; }

  /* Testimonials */
  .testimonial-quote { font-size: 1rem; }

  /* Hero mobile photo */
  .hero-mobile-photo img { width: 110px; height: 110px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }

  /* Hero */
  .hero { padding: 100px 0 56px; }
  .hero-headline { font-size: 2.1rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; padding: 0.9rem 1.5rem; }
  .hero-mobile-photo img { width: 96px; height: 96px; }

  /* Trust bar */
  .trust-bar .container { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .trust-stat-number { font-size: 2.25rem; }

  /* Contact */
  .contact-phone-number { font-size: 1.4rem; }
  .contact-form-card { padding: 24px 16px; }

  /* Process */
  .process-step { padding: 24px 16px; }
  .process-number { font-size: 3rem; }

  /* Floating nav */
  .floating-nav { padding: 1rem 1.25rem; }
  .floating-nav.scrolled { padding: 0.65rem 1.25rem; }

  /* Section title */
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.9375rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal { opacity: 1; transform: none; }
  .blur-text-word { opacity: 1; filter: none; transform: none; }
  html { scroll-behavior: auto; }
}
