/* ============================================
   PAGES.CSS — Page-specific Styles
   Premium Insurance Agency — Signature Edition
   ============================================ */

/* ======== HOME PAGE ======== */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(var(--accent-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 20%, rgba(var(--gold-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  margin-bottom: var(--space-8);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.hero h1 .accent-gradient {
  background: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: var(--space-10);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

/* Abstract hero visual */
.hero-visual-abstract {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.hero-circle-1 {
  inset: 0;
  animation: heroRotate 45s linear infinite;
  border-style: dashed;
  border-color: rgba(255,255,255,0.05);
}

.hero-circle-2 {
  inset: 15%;
  border-color: rgba(var(--accent-rgb), 0.1);
  animation: heroRotate 35s linear infinite reverse;
}

.hero-circle-3 {
  inset: 30%;
  border-color: rgba(var(--accent-rgb), 0.18);
  animation: heroRotate 25s linear infinite;
  border-width: 2px;
}

.hero-center-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  width: 200px;
}

.hero-center-card svg {
  width: 44px;
  height: 44px;
  color: var(--accent-glow);
  margin-bottom: var(--space-3);
}

.hero-center-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* Floating stat cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-float-card:nth-child(5) {
  top: 10%;
  right: -10%;
  animation-delay: -1s;
}

.hero-float-card:nth-child(6) {
  bottom: 15%;
  left: -5%;
  animation-delay: -3s;
}

.hero-float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-card-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-glow);
}

.hero-float-card-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.hero-float-card-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}


/* Trust Bar */
.trust-bar {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
}

.trust-bar .trust-badge {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-bar .trust-badge:last-child {
  border-right: none;
}

.trust-bar .trust-badge svg {
  margin-bottom: var(--space-3);
}

.trust-badge-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}


/* ============================================================
   SERVICES PREVIEW — Cinematic Asymmetric Bento (Homepage)
   ============================================================ */
.services-bento-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.services-bento-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(var(--accent-rgb), 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(var(--gold-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-bento-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.services-bento-section .section-header h2 {
  color: var(--white);
}

.services-bento-section .section-header p {
  color: rgba(255,255,255,0.45);
}

.services-bento-section .text-overline {
  color: var(--gold);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Card span assignments — asymmetric composition */
.services-bento .service-bento-card:nth-child(1) { grid-column: span 7; }
.services-bento .service-bento-card:nth-child(2) { grid-column: span 5; }
.services-bento .service-bento-card:nth-child(3) { grid-column: span 4; }
.services-bento .service-bento-card:nth-child(4) { grid-column: span 4; }
.services-bento .service-bento-card:nth-child(5) { grid-column: span 4; }
.services-bento .service-bento-card:nth-child(6) { grid-column: span 5; }
.services-bento .service-bento-card:nth-child(7) { grid-column: span 7; }

/* Base card style — dark glass */
.service-bento-card {
  background: var(--gradient-card-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
}

.service-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(var(--accent-rgb), 0.04) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.service-bento-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

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

.service-bento-card:hover {
  border-color: rgba(var(--accent-rgb), 0.15);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.service-bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid rgba(var(--accent-rgb), 0.06);
}

.service-bento-card:hover .service-bento-icon {
  background: rgba(var(--accent-rgb), 0.2);
  transform: scale(1.1);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.service-bento-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-glow);
}

.service-bento-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.service-bento-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* Featured card — horizontal layout */
.service-bento-featured {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.08) 0%, rgba(255,255,255,0.025) 100%);
  border-color: rgba(var(--accent-rgb), 0.1);
  flex-direction: row;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-12);
  min-height: 240px;
}

.service-bento-featured::after {
  background: linear-gradient(90deg, var(--accent-glow), var(--gold));
}

.service-bento-featured .service-bento-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 0;
  flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.13);
  border-color: rgba(var(--accent-rgb), 0.12);
}

.service-bento-featured .service-bento-icon svg {
  width: 30px;
  height: 30px;
}

.service-bento-featured h3 {
  font-size: 1.375rem;
  font-family: 'DM Serif Display', Georgia, serif;
}

.service-bento-featured p {
  color: rgba(255,255,255,0.5);
}

.service-bento-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-bento-content {
  flex: 1;
  min-width: 0;
}

.service-bento-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-glow);
  margin-top: var(--space-5);
  transition: gap 0.4s var(--ease), color 0.3s var(--ease);
}

.service-bento-featured:hover .service-bento-link {
  gap: var(--space-4);
  color: var(--gold-light);
}

.service-bento-link svg {
  width: 16px;
  height: 16px;
}


/* ============================================================
   QUOTE FORM SECTION (Home)
   ============================================================ */
.quote-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
}

.quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(var(--accent-rgb), 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(var(--gold-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-16);
  align-items: start;
  position: relative;
  z-index: 1;
}

.quote-info {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}

.quote-info .text-overline {
  color: var(--gold);
}

.quote-info h2 {
  margin-bottom: var(--space-5);
  color: var(--white);
}

.quote-info > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-10);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.quote-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.quote-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.quote-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.quote-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-glow);
}

.quote-feature h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--white);
}

.quote-feature p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.quote-form-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  border: 1px solid var(--border-light);
}

.quote-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.quote-form-card > .form-content > p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  font-size: 0.9375rem;
}


/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(var(--accent-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-image {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
}

.why-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(var(--accent-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(var(--gold-rgb), 0.06) 0%, transparent 50%);
}

.why-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.why-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease);
  background: var(--surface);
}

.why-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(6px);
}

.why-item-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--accent);
  font-size: 0.875rem;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

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


/* ============================================================
   GUIDE PREVIEW (Home)
   ============================================================ */
.guide-preview-section {
  background: var(--deep-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.guide-preview-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.guide-preview-section .section-header .text-overline {
  color: var(--gold);
}

.guide-preview-section .section-header .text-h2 {
  color: var(--white);
}

.guide-preview-section .section-header p {
  color: rgba(255,255,255,0.5);
}

.guide-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}


/* ============================================================
   TESTIMONIALS SECTION (Home)
   ============================================================ */
.testimonials-section {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.4s var(--ease);
}

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

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-author-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ============================================================
   ABOUT PAGE — Premium Editorial
   ============================================================ */

/* --- Story Section --- */
.about-story-section {
  overflow: hidden;
  background: var(--gradient-editorial);
  position: relative;
}

.about-story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(var(--accent-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(var(--gold-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.about-story-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.about-story-v2 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-20);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-story-content {
  max-width: 600px;
}

.about-story-content .text-overline {
  margin-bottom: var(--space-5);
  display: block;
  color: var(--gold);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}

.about-story-content .text-h2 {
  margin-bottom: var(--space-10);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  color: var(--white);
}

.about-story-body { margin-bottom: var(--space-12); }

.about-lead {
  font-size: 1.1875rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-8);
}

.about-story-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}

.about-story-body p:last-child { margin-bottom: 0; }

.about-story-accent {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(var(--gold-rgb),0));
  border-radius: var(--radius-full);
  margin: var(--space-8) 0;
}

/* Editorial Pull Quote */
.editorial-quote {
  display: flex;
  align-items: stretch;
  gap: var(--space-6);
  padding: var(--space-10) 0 var(--space-4);
}

.editorial-quote-bar {
  width: 3px;
  min-height: 100%;
  background: linear-gradient(180deg, var(--gold), rgba(var(--gold-rgb), 0.15));
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.editorial-quote blockquote {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--white);
  font-style: italic;
  font-family: 'DM Serif Display', Georgia, serif;
}

/* Story Visual */
.about-story-visual {
  position: relative;
  aspect-ratio: 3/4;
}

.story-visual-composition {
  width: 100%;
  height: 100%;
  position: relative;
}

.story-visual-layer {
  position: absolute;
  border-radius: var(--radius-xl);
}

.story-visual-layer-1 {
  inset: 0 0 8% 8%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05) 0%, rgba(255,255,255,0.015) 100%);
  transform: rotate(3deg);
  border: 1px solid rgba(255,255,255,0.03);
}

.story-visual-layer-2 {
  inset: 4% 4% 4% 4%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.03) 0%, rgba(255,255,255,0.01) 100%);
  transform: rotate(-1deg);
  border: 1px solid rgba(255,255,255,0.04);
}

.story-visual-layer-3 {
  inset: 2% 2% 6% 6%;
  background: linear-gradient(160deg, var(--charcoal), var(--slate-warm), var(--deep-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.story-visual-layer-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(var(--gold-rgb), 0.05) 0%, transparent 50%);
}

.story-visual-layer-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.story-visual-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}


/* --- Mission / Vision --- */
.mission-vision-section {
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.mission-vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.mv-card {
  background: var(--gradient-card-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mv-card:hover {
  border-color: rgba(var(--accent-rgb), 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
}

.mv-card.gold::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.mv-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-5);
  color: var(--white);
  font-family: 'DM Serif Display', Georgia, serif;
}

.mv-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
}


/* ============================================================
   VALUES — Dark Cinematic Grid
   ============================================================ */
.values-section-v2 {
  position: relative;
  overflow: hidden;
  background: var(--gradient-editorial);
}

.values-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(var(--accent-rgb), 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(var(--gold-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.values-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 60px 60px;
}

.values-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.values-bento .value-card-featured { grid-column: span 12; }
.values-bento .value-card-v2:nth-child(2) { grid-column: span 5; }
.values-bento .value-card-v2:nth-child(3) { grid-column: span 3; }
.values-bento .value-card-v2:nth-child(4) { grid-column: span 4; }

.value-card-v2 {
  background: var(--gradient-card-dark);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.value-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.value-card-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-rgb), 0.08);
  background: rgba(255,255,255,0.04);
}

.value-card-v2:hover::before { opacity: 1; }

.value-card-v2:nth-child(2)::before { background: var(--accent-glow); }
.value-card-v2:nth-child(3)::before { background: var(--gold); }
.value-card-v2:nth-child(4)::before { background: var(--success); }

.value-card-featured {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-12);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(var(--accent-rgb), 0.08);
}

.value-card-v2-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
}

.value-card-v2:hover .value-card-v2-icon {
  background: rgba(var(--accent-rgb), 0.2);
  transform: scale(1.1);
}

.value-card-v2-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent-glow);
}

.value-card-v2-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.value-card-v2-content p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.value-card-featured .value-card-v2-icon { width: 68px; height: 68px; }
.value-card-featured .value-card-v2-icon svg { width: 32px; height: 32px; }

.value-card-v2:not(.value-card-featured) .value-card-v2-icon {
  margin-bottom: var(--space-6);
}


/* ============================================================
   STATS — Premium Staggered
   ============================================================ */
.stats-showcase-section {
  position: relative;
  background: var(--midnight);
  padding: var(--space-24) 0;
  overflow: hidden;
}

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

.stats-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.stats-glow-1 {
  top: -30%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: rgba(var(--accent-rgb), 0.06);
}

.stats-glow-2 {
  bottom: -30%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: rgba(var(--gold-rgb), 0.04);
}

.stats-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: end;
}

.stats-showcase-item.stats-showcase-hero {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  text-align: left;
  padding: var(--space-16) var(--space-12);
  background: var(--gradient-card-dark);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.stats-showcase-item.stats-showcase-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow), transparent);
}

.stats-showcase-item {
  text-align: left;
  padding: var(--space-10) var(--space-8);
  position: relative;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s var(--ease);
}

.stats-showcase-item:hover {
  border-color: rgba(var(--accent-rgb), 0.12);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

.stats-showcase-item:nth-child(2) { grid-column: 6 / 9; }
.stats-showcase-item:nth-child(3) { grid-column: 9 / 13; }
.stats-showcase-item:nth-child(4) { grid-column: 6 / 13; }

.stats-showcase-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.05);
  pointer-events: none;
}

.stats-showcase-circle::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.03);
}

.stats-showcase-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-glow), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  position: relative;
}

.stats-showcase-hero .stats-showcase-number {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-glow) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats-showcase-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
}

.stats-showcase-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

.stats-showcase-hero .stats-showcase-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}


/* ============================================================
   SERVICES PAGE — Cinematic Detail Sections
   ============================================================ */
.service-details-wrapper { position: relative; }

.service-detail-v2 {
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.service-detail-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.service-detail-v2-number {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,0.025);
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  font-family: 'DM Serif Display', Georgia, serif;
}

.service-detail-dark .service-detail-v2-number {
  color: rgba(255,255,255,0.025);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-content h2 { margin-bottom: var(--space-5); }

.service-detail-content > p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-8);
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.service-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  transition: all 0.3s var(--ease);
}

.service-benefit:hover { transform: translateX(6px); }

.service-benefit svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-benefit-light {
  color: rgba(255,255,255,0.6);
}

.service-benefit-light svg {
  color: var(--accent-glow);
}

/* Service Visual V2 */
.service-detail-visual-v2 {
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual-v2 .sdv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.service-detail-visual-v2 .sdv-glow {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
  filter: blur(30px);
}

.service-detail-visual-v2 .sdv-icon {
  width: 100px;
  height: 100px;
  color: rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
  animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.service-detail-v2:not(.service-detail-dark) .service-detail-visual-v2 {
  background: var(--gradient-hero);
}

.service-detail-dark {
  background: var(--midnight);
}

.service-detail-dark::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
}

.service-detail-dark .service-detail-visual-v2 {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.05);
}


/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-section { background: var(--cream); }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.guide-detail-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

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

.guide-detail-header {
  background: var(--gradient-hero);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.guide-detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(var(--accent-rgb), 0.1) 0%, transparent 60%);
}

.guide-detail-header svg {
  width: 40px;
  height: 40px;
  color: var(--accent-glow);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.guide-detail-header h3 {
  color: var(--white);
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

.guide-detail-body {
  padding: var(--space-8);
}

.guide-detail-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}

.guide-detail-body ul {
  margin-bottom: var(--space-4);
}

.guide-detail-body li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.guide-detail-body li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}


/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section { background: var(--cream); }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: var(--space-10);
}

.faq-category-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--accent-light);
}

.faq-still {
  text-align: center;
  padding: var(--space-12);
  background: var(--surface);
  border-radius: var(--radius-2xl);
  margin-top: var(--space-12);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.faq-still h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.faq-still p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.faq-still-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-editorial);
  border: 1px solid var(--border-light);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info-panel h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.contact-info-panel > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-card p,
.contact-card a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 220px;
  background: var(--warm-gray);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact-hours {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border-light);
}

.contact-hours h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.contact-hours-row:last-child {
  border-bottom: none;
}


/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }
  .hero-text { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .quote-wrapper { grid-template-columns: 1fr; }
  .quote-info { position: static; }

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

  .about-story-v2 { grid-template-columns: 1fr; }
  .about-story-visual { display: none; }

  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.reverse { direction: ltr; }

  .service-detail-visual-v2 {
    order: -1;
    aspect-ratio: 16/9;
  }

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

  .services-bento { grid-template-columns: repeat(6, 1fr); }
  .services-bento .service-bento-card:nth-child(1) { grid-column: span 6; }
  .services-bento .service-bento-card:nth-child(2) { grid-column: span 3; }
  .services-bento .service-bento-card:nth-child(3) { grid-column: span 3; }
  .services-bento .service-bento-card:nth-child(4) { grid-column: span 3; }
  .services-bento .service-bento-card:nth-child(5) { grid-column: span 3; }
  .services-bento .service-bento-card:nth-child(6) { grid-column: span 3; }
  .services-bento .service-bento-card:nth-child(7) { grid-column: span 6; }

  .services-bento .service-bento-featured {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-showcase { grid-template-columns: repeat(6, 1fr); }
  .stats-showcase-item.stats-showcase-hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .stats-showcase-item:nth-child(2) { grid-column: span 3; }
  .stats-showcase-item:nth-child(3) { grid-column: span 3; }
  .stats-showcase-item:nth-child(4) { grid-column: 1 / -1; }

  .values-bento { grid-template-columns: repeat(6, 1fr); }
  .values-bento .value-card-featured { grid-column: span 6; }
  .values-bento .value-card-v2:nth-child(2) { grid-column: span 3; }
  .values-bento .value-card-v2:nth-child(3) { grid-column: span 3; }
  .values-bento .value-card-v2:nth-child(4) { grid-column: span 6; }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-16);
  }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .trust-badge {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: var(--space-6);
  }

  .services-bento { grid-template-columns: 1fr; }
  .services-bento .service-bento-card:nth-child(n) { grid-column: span 1; }
  .services-bento .service-bento-featured {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-preview-grid,
  .guide-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }

  .values-bento { grid-template-columns: 1fr; }
  .values-bento .value-card-v2:nth-child(n) { grid-column: span 1; }

  .stats-showcase { grid-template-columns: 1fr; }
  .stats-showcase-item.stats-showcase-hero,
  .stats-showcase-item:nth-child(2),
  .stats-showcase-item:nth-child(3),
  .stats-showcase-item:nth-child(4) { grid-column: 1 / -1; }

  .quote-form-card { padding: var(--space-6); }

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

  .service-detail-v2-number {
    font-size: 4rem;
    top: var(--space-4);
    right: var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn { justify-content: center; }

  .trust-bar-inner { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .insurance-type-grid { grid-template-columns: 1fr 1fr; }
}
