/* ==========================================================
   MISHRU.AI — LAYOUT 5  |  Pearl & Champagne Gold Light Theme
   Prefix: l5-  →  zero conflict with other layout styling
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* ---- Color Tokens ---- */
  --l5-bg:             #F8F8FA; /* Pearl Mist */
  --l5-bg-alt:         #F5F2EA; /* Champagne Mist */
  --l5-card-bg:        rgba(255, 255, 255, 0.8); 
  --l5-card-solid:     #FFFFFF; 
  --l5-primary:        #B39256; /* Champagne Gold */
  --l5-primary-dark:   #8E723D; /* Deep Gold/Bronze */
  --l5-primary-light:  #FAF7F0; 
  --l5-accent:         #DCA094; /* Soft Rose Gold */
  --l5-accent-light:   #FDF7F5; 
  --l5-text:           #14171E; /* Slate Charcoal */
  --l5-text-muted:     #525A6C; 
  --l5-border:         rgba(179, 146, 86, 0.2); 
  --l5-glow:           rgba(179, 146, 86, 0.15);

  /* ---- Type Tokens ---- */
  --l5-font-display:   'Playfair Display', Georgia, serif;
  --l5-font-body:      'Plus Jakarta Sans', -apple-system, sans-serif;

  /* ---- Design Tokens ---- */
  --l5-radius-lg:      32px;
  --l5-radius:         20px;
  --l5-radius-sm:      14px;
  --l5-shadow:         0 30px 60px -15px rgba(179, 146, 86, 0.15);
  --l5-shadow-hover:   0 40px 80px -20px rgba(20, 23, 30, 0.12);
  --l5-shadow-sm:      0 10px 30px -10px rgba(20, 23, 30, 0.06);
  --l5-max:            1240px;
}

/* ---------------- Reset & Global Styles ---------------- */
.l5-page * {
  box-sizing: border-box;
}

.l5-page {
  font-family: var(--l5-font-body);
  color: var(--l5-text);
  background: var(--l5-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Background Luxury Grid */
.l5-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(179, 146, 86, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 146, 86, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: -3;
}

.l5-page h1, .l5-page h2, .l5-page h3, .l5-page h4 {
  font-family: var(--l5-font-display);
  color: var(--l5-text);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.l5-page p {
  margin: 0 0 1.2em;
  color: var(--l5-text-muted);
  font-size: 1rem;
}

.l5-page em {
  font-style: italic;
  font-family: var(--l5-font-display);
  font-weight: 600;
  color: var(--l5-primary-dark);
  position: relative;
  display: inline-block;
}

.l5-page em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--l5-primary), var(--l5-accent));
  opacity: 0.25;
  z-index: -1;
  border-radius: 2px;
}

.l5-page a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.l5-page ul, .l5-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ---------------- Layout Containers & Reveals ---------------- */
.l5-wrap {
  max-width: var(--l5-max);
  margin: 0 auto;
  padding: 0 32px;
}

.l5-section {
  padding: 70px 0; /* Reduced from 120px for tighter spacing */
  position: relative;
}

.l5-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px; /* Reduced from 72px */
}

.l5-section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.l5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--l5-font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--l5-primary);
  margin-bottom: 20px;
}

.l5-eyebrow::before, .l5-eyebrow::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--l5-primary);
  transform: rotate(45deg);
  display: inline-block;
  opacity: 0.7;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-section-head:hover .l5-eyebrow::before {
  transform: rotate(225deg) scale(1.2);
}
.l5-section-head:hover .l5-eyebrow::after {
  transform: rotate(-135deg) scale(1.2);
}

.l5-eyebrow-light {
  color: var(--l5-accent);
}
.l5-eyebrow-light::before, .l5-eyebrow-light::after {
  border-color: var(--l5-accent);
}

/* Ambient Orbs */
.l5-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.4;
  pointer-events: none;
  animation: l5-orb-motion 16s infinite alternate ease-in-out;
}

.l5-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 146, 86, 0.25), transparent 70%);
  top: -10%;
  right: -5%;
}

.l5-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 160, 148, 0.2), transparent 70%);
  bottom: 5%;
  left: -5%;
  animation-delay: -5s;
}

@keyframes l5-orb-motion {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(40px, -20px) scale(0.95); }
}

/* Scroll Reveal Classes */
.l5-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.l5-reveal.d1 { transition-delay: 0.15s; }
.l5-reveal.d2 { transition-delay: 0.3s; }
.l5-reveal.d3 { transition-delay: 0.45s; }

/* ---------------- Premium Buttons ---------------- */
.l5-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--l5-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--l5-border);
  background: var(--l5-card-solid);
  color: var(--l5-text);
  box-shadow: var(--l5-shadow-sm);
  z-index: 1;
}

.l5-btn i {
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: all 0.8s ease;
  z-index: -1;
}

.l5-btn:hover::after {
  left: 150%;
}

.l5-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--l5-shadow);
  border-color: var(--l5-primary);
}

.l5-btn:hover i {
  transform: translateX(6px);
}

.l5-btn-primary {
  background: linear-gradient(135deg, var(--l5-primary), var(--l5-primary-dark));
  color: #FFFFFF;
  border: none;
}

.l5-btn-primary:hover {
  background: linear-gradient(135deg, var(--l5-primary-dark), #6c542a);
  box-shadow: 0 15px 35px rgba(179, 146, 86, 0.35);
  color: #FFFFFF;
}

.l5-btn-outline {
  background: transparent;
  color: var(--l5-text);
  border: 1px solid var(--l5-border);
}

.l5-btn-outline:hover {
  background: var(--l5-primary-light);
  color: var(--l5-primary-dark);
}

/* ---------------- Floating Pill Header ---------------- */
.l5-header-spacer {
  height: 96px;
}

.l5-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--l5-max);
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--l5-border);
  border-radius: 99px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-header.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(179, 146, 86, 0.3);
  box-shadow: 0 20px 40px -15px rgba(179, 146, 86, 0.12);
  transform: translateX(-50%) scale(0.99);
}

.l5-header .l5-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px 0 32px;
}

.l5-brand {
  display: flex;
  align-items: center;
}

.l5-nav-links {
  display: flex;
  gap: 36px;
}

.l5-nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--l5-text-muted);
  position: relative;
  padding: 8px 0;
}

.l5-nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--l5-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.l5-nav-links a:hover, .l5-nav-links a.active {
  color: var(--l5-text);
}

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

.l5-header-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
  border-radius: 99px;
}

.l5-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.l5-burger span {
  width: 100%;
  height: 2px;
  background: var(--l5-text);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.l5-burger.open span:nth-child(2) { opacity: 0; }
.l5-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero Section (Centered Single Image Scanner) ---------------- */
.l5-hero {
  padding: 96px 0 50px; /* Reduced bottom padding from 140px to 50px */
  position: relative;
  text-align: center;
  overflow: hidden;
}

.l5-hero-copy {
  max-width: 820px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l5-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l5-accent-light);
  border: 1px solid rgba(220, 160, 148, 0.25);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--l5-accent);
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(220, 160, 148, 0.08);
}

.l5-hero-chip i {
  color: var(--l5-primary);
  animation: l5-glimmer 2s infinite ease-in-out;
}

@keyframes l5-glimmer {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.l5-hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.15;
}

.l5-hero-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 660px;
  margin-bottom: 40px;
}

.l5-hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 48px;
}

.l5-hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  border-top: 1px dashed var(--l5-border);
  padding-top: 32px;
  width: 100%;
  max-width: 700px;
}

.l5-hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--l5-text-muted);
  font-weight: 600;
}

.l5-hero-trust i {
  color: var(--l5-primary);
}

/* Centered single scanner card container */
.l5-hero-single-image {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 480px;
  margin: 40px auto 0;
  border-radius: var(--l5-radius);
  overflow: hidden;
  box-shadow: var(--l5-shadow);
  border: 6px solid var(--l5-card-solid);
  background: var(--l5-card-solid);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.l5-hero-single-image:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Scanner engine */
.l5-scanner-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.l5-scanner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.85) contrast(1.15);
}

.l5-scanner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  animation: l5-scanner-swipe 8s infinite ease-in-out;
}

.l5-scanner-overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.l5-scanner-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--l5-primary), transparent);
  box-shadow: 0 0 6px var(--l5-primary);
  z-index: 5;
  animation: l5-scanner-line-swipe 8s infinite ease-in-out;
}

@keyframes l5-scanner-swipe {
  0%, 100% { clip-path: inset(0 100% 0 0); }
  45%, 55% { clip-path: inset(0 0% 0 0); }
}

@keyframes l5-scanner-line-swipe {
  0%, 100% { left: 0%; opacity: 0; }
  2%, 98% { opacity: 0.8; }
  45%, 55% { left: 100%; }
}

.l5-hero-badge {
  position: absolute;
  padding: 10px 18px;
  border-radius: var(--l5-radius-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--l5-border);
  box-shadow: var(--l5-shadow);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--l5-text);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: l5-floating var(--float-duration, 6s) infinite ease-in-out;
}

.l5-hero-badge i {
  color: var(--l5-primary);
}

.l5-hero-badge-1 {
  top: 12%;
  left: -8%;
  --float-duration: 5.5s;
}

.l5-hero-badge-2 {
  bottom: 12%;
  right: -8%;
  --float-duration: 7s;
  animation-delay: -2s;
}

@keyframes l5-floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------------- Smart Flow (Horizontal Staircase Timeline) ---------------- */
.l5-flow {
  background: var(--l5-card-solid);
  border-top: 1px solid var(--l5-border);
  border-bottom: 1px solid var(--l5-border);
}

.l5-flow-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 32px;
  margin: 40px 0 0; /* Reduced from 64px */
  padding: 30px 0; /* Reduced from 60px */
}

.l5-flow-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2.5px dashed var(--l5-border);
  z-index: 1;
  transform: translateY(-50%);
}

.l5-flow-card {
  flex: 1;
  background: var(--l5-bg);
  border: 1px solid var(--l5-border);
  border-radius: var(--l5-radius);
  padding: 40px 32px;
  position: relative;
  z-index: 2;
  box-shadow: var(--l5-shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

/* Staggered heights */
.l5-flow-card:nth-child(1) { transform: translateY(-40px); }
.l5-flow-card:nth-child(2) { transform: translateY(0); }
.l5-flow-card:nth-child(3) { transform: translateY(40px); }

.l5-flow-card:hover {
  transform: translateY(-44px) scale(1.01) !important;
  border-color: var(--l5-primary);
  box-shadow: var(--l5-shadow-sm);
  background: var(--l5-card-solid);
}

.l5-flow-card:nth-child(2):hover {
  transform: translateY(-4px) scale(1.01) !important;
}

.l5-flow-card:nth-child(3):hover {
  transform: translateY(36px) scale(1.01) !important;
}

.l5-flow-card-num {
  font-family: var(--l5-font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--l5-primary);
  opacity: 0.35;
  margin-bottom: 20px;
  display: block;
}

.l5-flow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--l5-font-body);
}

.l5-flow-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.l5-flow-card-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--l5-primary), var(--l5-accent));
  transition: width 0.3s ease;
}

.l5-flow-card:hover .l5-flow-card-glow {
  width: 100%;
}

/* ---------------- Editorial Quotes (Paragraph Split Overrides) ---------------- */
.l5-split-section {
  background: var(--l5-bg);
}

.l5-split-section:nth-of-type(even) {
  background: var(--l5-bg-alt);
}

.l5-split-grid {
  display: block;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  background: var(--l5-card-solid);
  border: 1px solid var(--l5-border);
  border-radius: var(--l5-radius-lg);
  padding: 80px 72px;
  position: relative;
  box-shadow: var(--l5-shadow-sm);
}

.l5-split-grid::before {
  content: '“';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--l5-font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--l5-primary);
  opacity: 0.08;
}

.l5-split-media {
  display: none !important;
}

.l5-split-copy {
  max-width: 760px;
  margin: 0 auto;
}

.l5-split-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.l5-split-copy p {
  font-family: var(--l5-font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--l5-text-muted);
  margin-bottom: 0;
}

/* ---------------- Features (Simple Spotlight Grid) ---------------- */
.l5-features {
  background: var(--l5-bg-alt);
}

.l5-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.l5-bento-card {
  background: var(--l5-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--l5-border);
  border-radius: var(--l5-radius);
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.l5-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(179, 146, 86, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.l5-bento-card:hover::before {
  opacity: 1;
}

.l5-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--l5-shadow-hover);
  border-color: var(--l5-primary);
}

.l5-bento-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--l5-card-solid);
  color: var(--l5-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--l5-border);
  box-shadow: var(--l5-shadow-sm);
  margin-bottom: 28px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-bento-card:hover .l5-bento-icon {
  transform: scale(1.08) rotate(4deg);
}

.l5-bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--l5-font-body);
}

.l5-bento-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------------- Business Benefits (Light Theme, Dark Fonts, 2x2 Grid) ---------------- */
.l5-benefits {
  background: var(--l5-bg-alt);
  color: var(--l5-text);
  border-top: 1px solid var(--l5-border);
  border-bottom: 1px solid var(--l5-border);
}

.l5-benefits h2 {
  color: var(--l5-text);
}

.l5-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px; /* Reduced from 56px */
}

.l5-benefit-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--l5-card-solid);
  border: 1px solid var(--l5-border);
  border-radius: var(--l5-radius);
  padding: 36px;
  transition: all 0.4s ease;
}

.l5-benefit-row:hover {
  background: var(--l5-card-solid);
  border-color: var(--l5-primary);
  transform: translateY(-6px);
  box-shadow: var(--l5-shadow-sm);
}

.l5-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--l5-primary), var(--l5-accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(179, 146, 86, 0.2);
}

.l5-benefit-text h3 {
  color: var(--l5-text);
  font-size: 1.22rem;
  margin-bottom: 8px;
  font-family: var(--l5-font-body);
}

.l5-benefit-text p {
  color: var(--l5-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ---------------- FAQ Grid Layout ---------------- */
.l5-faq {
  background: var(--l5-card-solid);
}

.l5-faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--l5-max);
}

.l5-faq-item {
  border: 1px solid var(--l5-border);
  border-radius: var(--l5-radius);
  background: var(--l5-bg);
  overflow: hidden;
  height: max-content;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 26px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--l5-text);
  text-align: left;
  font-family: var(--l5-font-body);
}

.l5-faq-q i {
  color: var(--l5-primary);
  font-size: 1.15rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.l5-faq-item.open {
  border-color: var(--l5-primary);
  background: var(--l5-card-solid);
  box-shadow: var(--l5-shadow-sm);
}

.l5-faq-item.open .l5-faq-q i {
  transform: rotate(45deg);
  color: var(--l5-accent);
}

.l5-faq-a {
  padding: 0 30px 26px;
  display: none;
  animation: l5-slide-fade 0.4s ease-out;
}

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

.l5-faq-a p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------------- Footer (Light Theme Overwrite) ---------------- */
.footer-separator {
  display: none !important;
}

.l5-footer {
  background: var(--l5-bg-alt); /* Champagne Mist light background */
  color: var(--l5-text-muted);
  padding: 40px 0 0; /* Reduced top padding */
  border-top: 1px solid var(--l5-border);
  position: relative;
  overflow: hidden;
}

.l5-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.80fr 0.80fr;
  gap: 36px; /* Reduced gap */
  padding-bottom: 40px; /* Reduced bottom padding */
  border-bottom: 1px solid var(--l5-border);
}

.l5-footer-brand p {
  font-size: 0.94rem;
  color: var(--l5-text-muted);
  margin: 16px 0 20px; /* Reduced margins */
  max-width: 360px;
  line-height: 1.7;
}

.l5-footer-social {
  display: flex;
  gap: 10px; /* Compact gap */
}

.l5-footer-social a {
  width: 32px; /* Smaller social icons */
  height: 32px; /* Smaller social icons */
  border-radius: 50%;
  border: 1px solid var(--l5-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l5-text-muted);
  background: rgba(179, 146, 86, 0.05);
  font-size: 0.85rem; /* Smaller icons font */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-footer-social a:hover {
  background: var(--l5-primary);
  border-color: var(--l5-primary);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.05); /* Toned down translate */
  box-shadow: 0 8px 16px rgba(179, 146, 86, 0.2);
}

.l5-footer-col h4 {
  color: var(--l5-text);
  font-family: var(--l5-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px; /* Reduced bottom margin */
}

.l5-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Compact links list */
}

.l5-footer-nav a {
  font-size: 0.94rem;
  color: var(--l5-text-muted);
}

.l5-footer-nav a:hover {
  color: var(--l5-primary);
  transform: translateX(4px);
}

.l5-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Compact contacts list */
}

.l5-footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--l5-text-muted);
  line-height: 1.4;
}

.l5-footer-contact li a {
  color: var(--l5-text-muted);
  transition: color 0.3s ease;
}

.l5-footer-contact li a:hover {
  color: var(--l5-primary);
}

.l5-footer-contact i {
  color: var(--l5-primary);
  font-size: 1rem;
  margin-top: 2px;
}

.l5-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0; /* Reduced height */
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--l5-text-muted);
}

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

.l5-footer-legal a:hover {
  color: var(--l5-primary);
}

/* ---------------- Back to Top with Scroll Progress ---------------- */
.l5-back-to-top-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 95;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.l5-back-to-top-container.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.l5-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.l5-progress-ring-circle {
  stroke: var(--l5-primary);
  stroke-width: 2.5;
  fill: transparent;
  stroke-dasharray: 157; 
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 0.08s linear;
}

.l5-btn-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--l5-card-solid);
  border: 1px solid var(--l5-border);
  color: var(--l5-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--l5-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  font-size: 1.1rem;
}

.l5-btn-top:hover {
  background: var(--l5-primary);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(179, 146, 86, 0.3);
  border-color: transparent;
}


/* ============================================================
   RESPONSIVE MEDIA QUERIES
============================================================ */
@media (max-width: 1024px) {
  .l5-wrap {
    padding: 0 24px;
  }
  
  .l5-section {
    padding: 50px 0; /* Reduced from 100px */
  }

  .l5-header {
    width: calc(100% - 32px);
    top: 16px;
  }
  
  .l5-hero {
    padding: 110px 0 50px; /* Reduced bottom padding */
  }
  
  .l5-hero-single-image {
    max-width: 480px;
    height: 380px;
  }

  .l5-flow-timeline {
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
  }

  .l5-flow-timeline::before {
    display: none;
  }

  .l5-flow-card {
    transform: none !important;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .l5-split-grid {
    padding: 60px 36px;
  }

  .l5-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .l5-benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .l5-faq-list {
    grid-template-columns: 1fr;
  }

  .l5-footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .l5-nav {
    position: fixed;
    inset: 80px 0 0 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--l5-border);
    border-radius: 0 0 var(--l5-radius) var(--l5-radius);
    height: calc(100vh - 120px);
    overflow-y: auto;
  }
  
  .l5-nav.open {
    transform: translateX(0);
  }
  
  .l5-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
  }
  
  .l5-nav-links li {
    border-bottom: 1px solid rgba(179, 146, 86, 0.1);
  }
  
  .l5-nav-links a {
    display: block;
    padding: 20px 0;
    font-size: 1.05rem;
    text-align: center;
  }

  .l5-nav-links a::after {
    display: none;
  }
  
  .l5-header-cta {
    display: none;
  }
  
  .l5-burger {
    display: flex;
  }
  
  .l5-section {
    padding: 40px 0; /* Reduced from 90px */
  }
  
  .l5-hero-single-image {
    max-width: 400px;
    height: 320px;
  }

  .l5-bento-grid {
    grid-template-columns: 1fr;
  }

  .l5-footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .l5-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .l5-wrap {
    padding: 0 20px;
  }

  .l5-header {
    width: calc(100% - 24px);
    left: 12px;
    transform: none;
  }

  .l5-header.scrolled {
    transform: scale(0.99);
  }

  .l5-header .l5-wrap {
    padding: 0 16px;
  }

  .l5-hero-title {
    font-size: 2.35rem;
  }
  
  .l5-hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .l5-hero-single-image {
    max-width: 100%;
    height: 280px;
  }

  .l5-hero-badge {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .l5-hero-badge-1 {
    top: 5%;
    left: 2%;
  }

  .l5-hero-badge-2 {
    bottom: 5%;
    right: 2%;
  }

  .l5-flow-card {
    padding: 32px 24px;
  }

  .l5-split-grid {
    padding: 48px 24px;
  }

  .l5-split-copy p {
    font-size: 1.15rem;
  }

  .l5-faq-q {
    padding: 22px 24px;
    font-size: 0.98rem;
  }
  
  .l5-faq-a {
    padding: 0 24px 22px;
  }

  .l5-back-to-top-container {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .l5-btn-top {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}
