/* ===== PETERSEN INSURANCE — PREMIUM ===== */

:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-deep: #111D35;
  --navy-90: rgba(27, 42, 74, 0.9);
  --cream: #FDFAF3;
  --cream-dark: #F5F0E4;
  --teal: #3D7C7E;
  --teal-light: #5A9EA0;
  --teal-dark: #2E6264;
  --gold: #B8892F;
  --gold-light: #D4A94E;
  --gold-subtle: rgba(184, 137, 47, 0.08);
  --brown: #6B5430;
  --sand: #ECE6D6;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;
  --border: #E8E3D8;
  --border-light: #F0ECE3;
  --shadow-xs: 0 1px 2px rgba(27, 42, 74, 0.04);
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.05);
  --shadow-md: 0 8px 30px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 16px 50px rgba(27, 42, 74, 0.10);
  --shadow-xl: 0 24px 70px rgba(27, 42, 74, 0.14);
  --shadow-glow: 0 0 60px rgba(184, 137, 47, 0.08);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.5s var(--ease);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.35s var(--ease);
}

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

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

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.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; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(226, 221, 208, 0.4);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.navbar.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(27, 42, 74, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo img {
  height: 120px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.navbar.scrolled .navbar-logo img {
  height: 72px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.navbar-links a {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  letter-spacing: 0.01em;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: calc(100% - 40px);
  left: 20px;
}

.navbar-links a:hover {
  color: var(--navy);
}

.navbar-links a.active {
  color: var(--navy);
  font-weight: 600;
}

.navbar-links .btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 16px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.navbar-links .btn-nav::after { display: none; }

.navbar-links .btn-nav:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.2);
}

.navbar-links .btn-nav.active {
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  margin-top: 100px;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-dark) 50%, #EDE8DA 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  transition: transform 1.2s ease-out;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(61, 124, 126, 0.10) 0%, transparent 70%);
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -30%;
  left: -5%;
  background: radial-gradient(circle, rgba(184, 137, 47, 0.07) 0%, transparent 70%);
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 25%;
  background: radial-gradient(circle, rgba(61, 124, 126, 0.05) 0%, transparent 70%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.85;
  font-weight: 400;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-card-inner {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow:
    0 4px 16px rgba(27, 42, 74, 0.04),
    0 16px 48px rgba(27, 42, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.hero-card:hover .hero-card-inner {
  transform: translateY(-6px);
  box-shadow:
    0 4px 16px rgba(27, 42, 74, 0.04),
    0 24px 60px rgba(27, 42, 74, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-card-inner img {
  width: 100%;
  filter: drop-shadow(0 4px 16px rgba(27, 42, 74, 0.08));
}

.hero-card-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(184, 137, 47, 0.12) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-group-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn svg {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.15);
}

.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.22);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--cream);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184, 137, 47, 0.2);
}

.btn-gold:hover {
  box-shadow: 0 8px 32px rgba(184, 137, 47, 0.3);
  filter: brightness(1.05);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.trust-item {
  text-align: center;
  padding: 8px 24px;
}

.trust-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-eyebrow-light {
  color: var(--gold-light);
}

.section-eyebrow-light::before,
.section-eyebrow-light::after {
  background: var(--gold-light);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 36px 40px;
  border: 1px solid var(--border-light);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-color: transparent;
  transform: scale(1.05);
}

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

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== WHY SECTION ===== */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 20px;
}

.why-text p {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 36px;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: all 0.4s var(--ease);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(6px);
}

.why-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.why-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.why-card p {
  color: var(--sand);
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.7;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

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

.process-line {
  display: none;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 36px);
  right: calc(16.66% + 36px);
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border));
  opacity: 0.5;
}

.process-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: var(--cream);
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.process-dot span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.4s var(--ease);
}

.process-step:hover .process-dot {
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(184, 137, 47, 0.25);
  transform: scale(1.05);
}

.process-step:hover .process-dot span {
  color: var(--white);
}

.process-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  padding: 110px 0;
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 50%, #1F3260 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  top: -30%;
  right: -10%;
  background: radial-gradient(circle, rgba(184, 137, 47, 0.10) 0%, transparent 60%);
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -30%;
  left: -10%;
  background: radial-gradient(circle, rgba(61, 124, 126, 0.08) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.85;
}

/* ===== PAGE HERO ===== */
.page-hero {
  margin-top: 100px;
  padding: 100px 0 88px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-dark) 60%, #EDE8DA 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.page-hero .section-eyebrow {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  position: relative;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  line-height: 1.75;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.about-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  max-width: 300px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 36px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  border-radius: 0 2px 2px 0;
}

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

.value-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-card .avatar {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-card .avatar svg {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
  stroke-width: 1.5;
  fill: none;
}

.team-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== QUOTE PAGE ===== */
.quote-section {
  background: linear-gradient(170deg, var(--cream) 0%, #F0EDE3 40%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 40px;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.quote-single {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-single-content {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 56px 52px;
  box-shadow: var(--shadow-lg);
}

.quote-single-content h2 {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.quote-single-content p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

.icon-wrap-lg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 1px solid var(--border-light);
}

.icon-wrap-lg svg {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-checklist {
  list-style: none;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

.quote-checklist li svg {
  color: var(--teal);
  flex-shrink: 0;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 0.95rem;
}

/* Quote iframe */
.quote-iframe-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-iframe-wrap iframe {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

/* Customer Service Portal section */
.portal-section {
  background: linear-gradient(170deg, var(--cream) 0%, #F0EDE3 40%, var(--cream-dark) 100%);
}

.portal-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.portal-card-header {
  text-align: center;
  padding: 48px 40px 32px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #FAFAF7 0%, var(--white) 100%);
}

.portal-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6e 100%);
  color: var(--white);
}

.portal-icon svg {
  stroke: var(--white);
}

.portal-card-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.portal-card-header p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-iframe-container {
  padding: 32px 40px 40px;
  display: flex;
  justify-content: center;
}

.portal-iframe-container iframe {
  width: 100%;
  max-width: 600px;
  display: block;
}

/* Client Center iframe (legacy) */
.client-center-card {
  padding-bottom: 20px;
}

.client-center-iframe-wrap {
  margin-top: 16px;
}

.client-center-iframe-wrap iframe {
  width: 100%;
  max-width: 450px;
  display: block;
}

/* How it works on quote page */
.why-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text-dark);
  transition: all 0.35s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(61, 124, 126, 0.06);
}

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

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

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

.info-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease);
}

.info-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: var(--sand);
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 137, 47, 0.25), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.55;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 0.88rem;
  opacity: 0.55;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.35;
  letter-spacing: 0.02em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

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

  .hero {
    padding: 72px 0 80px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-group {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 260px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .trust-items {
    flex-wrap: wrap;
    gap: 24px;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    flex: 1 1 40%;
    min-width: 140px;
  }

  .section {
    padding: 80px 0;
  }

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

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

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

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

  .why-grid-3 {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 72px 0 64px;
  }

  .cta-section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .navbar {
    height: 72px;
  }

  .navbar-logo img {
    height: 52px;
  }

  .navbar.scrolled {
    height: 64px;
  }

  .navbar.scrolled .navbar-logo img {
    height: 44px;
  }

  .hero, .page-hero {
    margin-top: 72px;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    box-shadow: 0 16px 32px rgba(27, 42, 74, 0.08);
  }

  .navbar-links.open { display: flex; }

  .navbar-links a {
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius);
  }

  .navbar-links a:hover {
    background: var(--cream);
  }

  .navbar-links a::after { display: none; }

  .navbar-links .btn-nav {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .menu-toggle { display: flex; }

  .hero { padding: 56px 0 64px; }
  .hero-text h1 { font-size: 1.85rem; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 48px; }
  .page-hero h1 { font-size: 1.85rem; }
  .contact-form { padding: 32px 24px; }

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

  /* Mobile form inputs — larger touch targets */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 16px;
    font-size: 16px; /* prevents iOS zoom on focus */
    border-radius: var(--radius);
  }

  .form-group label {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

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

  .contact-form button[type="submit"] {
    padding: 18px;
    font-size: 1rem;
  }

  /* Quote iframe mobile */
  .quote-iframe-wrap iframe {
    height: 600px;
    max-width: 100%;
  }

  .quote-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /* Portal card mobile */
  .portal-card {
    border-radius: var(--radius-xl);
  }

  .portal-card-header {
    padding: 32px 24px 24px;
  }

  .portal-card-header h2 {
    font-size: 1.3rem;
  }

  .portal-iframe-container {
    padding: 20px 16px 24px;
  }

  .portal-iframe-container iframe {
    height: 480px;
  }

  /* CTA mobile */
  .cta-content h2 {
    font-size: 1.6rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

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

  .footer-brand img {
    max-width: 140px;
  }
}

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

  .contact-form {
    padding: 24px 16px;
  }

  .hero-text h1 {
    font-size: 1.55rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .portal-card-header {
    padding: 24px 16px 20px;
  }

  .portal-iframe-container {
    padding: 16px 12px 20px;
  }

  .info-card {
    padding: 20px;
  }
}
