/* ==========================================================================
   REVOLT ELECTRIC â€” SHARED DESIGN SYSTEM
   Premium Dark Glassmorphism Theme (Renvolt.ca match)
   ========================================================================== */

/* ---------- Google Fonts are loaded in each HTML <head> ---------- */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Backgrounds */
  --bg-main: #F2F0E9;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F7F3;
  --bg-input: #FFFFFF;
  --bg-light: #F2F0E9;
  
  /* Borders */
  --border-color: rgba(46, 64, 54, 0.08);
  --border-color-light: rgba(46, 64, 54, 0.15);
  --border-color-hover: rgba(204, 88, 51, 0.4);
  --border-primary: rgba(46, 64, 54, 0.10);
  --border-dark: rgba(26, 26, 26, 0.1);

  /* Flat dark surface tokens (replaces translucent rgba) */
  --rv-dark: #1A1A1A;
  --rv-dark-2: #242424;
  --rv-surface-1: #252525;
  --rv-surface-2: #2F2F2F;
  --rv-border-1: #313131;
  --rv-border-2: #3B3B3B;
  --rv-white: #FFFFFF;
  --rv-background: #F2F0E9;

  /* Text */
  --color-text: #1A1A1A;
  --color-text-dark: #1A1A1A;
  --color-muted: rgba(26, 26, 26, 0.6);

  /* Brand */
  --color-primary: #2E4036;
  --color-primary-glow: rgba(46, 64, 54, 0.12);
  --color-accent: #CC5833;
  --color-accent-hover: #B84E2D;
  --color-accent-glow: rgba(204, 88, 51, 0.15);

  /* Status */
  --color-success: #22C55E;
  --color-success-bg: rgba(34, 197, 94, 0.08);
  --color-warning: #F59E0B;
  --color-warning-bg: rgba(245, 158, 11, 0.08);
  --color-danger: #EF4444;
  --color-danger-bg: rgba(239, 68, 68, 0.08);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Spacing */
  --section-gap: 120px;
  --container-max: 1140px;
  --container-wide: 1280px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(204, 88, 51, 0.3);

  /* Motion */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.15s ease;
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(34, 197, 94, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(204, 88, 51, 0.05), transparent 25%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}


/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--section-gap) 0;
}

/* Default sections are dark now */
.section--dark {
  background: transparent; /* inherit body */
}
.section--lighter {
  background-color: var(--bg-elevated); 
}

/* Light theme for alternating sections if needed */
.section--light {
  background-color: var(--bg-light);
  color: var(--color-text-dark);
}

.section--light .section-eyebrow {
  color: var(--color-accent);
}

.section--light .section-title {
  color: var(--color-primary);
}

.section--light .section-subtitle {
  color: rgba(26, 26, 26, 0.7);
}


/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
}


.section-title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 600px;
  line-height: 1.6;
}


/* ===== BUTTONS ===== */

.btn, .btn--primary, .btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:active, .btn--primary:active, .btn--outline:active {
    transform: scale(0.98);
}

.btn:hover, .btn--primary:hover, .btn--outline:hover {
    transform: scale(1.03);
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--bg-main);
}
.btn--primary:hover {
    box-shadow: var(--shadow-glow);
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}
.btn--primary:hover::after {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== CARDS (GLASSMORPHISM) ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.card--clickable:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.card__text {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
}


/* ===== SITE HEADER (FLOATING PILL) ===== */


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 11px;
  color: var(--color-muted);
}

/* Nav Links */


@media (min-width: 992px) {
  
}







/* Nav CTA */
.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

.nav-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.nav-phone:hover {
  color: var(--color-accent);
}

/* Mobile Toggle */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}


/* ===== MOBILE NAV OVERLAY ===== */








/* ===== FOOTER ===== */
.site-footer {
  background: var(--rv-dark-2);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  border-radius: 4rem 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 300px;
}

.footer-nav h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: var(--color-muted);
  font-size: 15px;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}


/* ===== TRUST BAR ===== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  backdrop-filter: blur(4px);
}

.badge i {
  color: var(--color-success);
}


/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
  z-index: 0;
}

.process-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--bg-main);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.step-content {
  padding-top: 8px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    gap: 24px;
  }
  .process-steps::before {
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
  }
  .process-step {
    flex-direction: column;
    flex: 1;
  }
}


/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.faq-icon {
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}


/* ===== FORMS ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  transition: var(--transition);
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  background: var(--rv-surface-2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.form-hint {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 6px;
}

.form-file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg-input);
  border: 2px dashed var(--border-color-light);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.form-file-upload:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-file-icon {
  color: var(--color-muted);
  margin-bottom: 12px;
}


/* ===== MOBILE STICKY BAR ===== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 12px 16px;
  z-index: 100;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
  body {
    padding-bottom: 0 !important;
  }
}

.mobile-sticky-bar__inner {
  display: flex;
  gap: 8px;
}

.mobile-sticky-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.mobile-sticky-bar__btn--call {
  background: var(--color-success-bg);
  border-color: var(--color-success);
  color: var(--color-success);
}

.mobile-sticky-bar__btn--quote {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    text-align: left;
    padding: 4rem 2rem 6rem;
    margin-top: -100px; /* pull up under header */
    overflow: hidden;
    background: var(--bg-main, #1A1A1A);
}
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Slight scale matching renvolt */
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1A1A1A 0%, rgba(26,26,26,0.8) 40%, transparent 100%);
}
.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hero h1 {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: #F2F0E9;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.hero h1 span.accent {
    color: var(--color-accent, #CC5833);
    font-style: italic;
    display: block;
}
.hero p {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(242, 240, 233, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1.5rem 4rem;
        min-height: 90vh;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    .hero h1 span.accent {
        font-size: clamp(3rem, 8vw, 4.5rem);
    }
    .hero p {
        font-size: 1rem;
    }
    .trust-badges {
        gap: 8px;
    }
    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h1 span.accent {
        font-size: 3rem;
    }
}



/* ===== MIGRATED EMBEDDED STYLES ===== */
.container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .grid-2 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
        }

        @media (min-width: 1024px) {
            .grid-3 { grid-template-columns: repeat(3, 1fr); }
        }

        section {
            padding: 6rem 0;
            position: relative;
        }

        .section-header {
            margin-bottom: 3rem;
            max-width: 800px;
        }

        .section-header.text-center {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        .section-header h2 {
            margin-bottom: 1rem;
        }

        .text-muted {
            color: var(--color-muted);
            font-size: 1.125rem;
        }

        @media (max-width: 768px) {
            .brand-text-wrap { display: none; }
            .hero { padding: 2rem 1.5rem 4rem; }
            section { padding: 4rem 0; }
        }
        
        .trust-badges {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 2rem;
            align-items: center;
        }
        
        .badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--color-text);
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
        }


/* ==========================================================================
   NAV CLEARANCE — prevent floating nav from overlapping first section
   ========================================================================== */
.hero,
.page-header {
  padding-top: 8rem;
}

/* ==========================================================================
   FLOATING NAVIGATION
   ========================================================================== */
.floating-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 56rem;
  border-radius: 3rem;
  padding: 1rem 1.5rem;
  z-index: 1000;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.floating-nav.scrolled {
  background: rgba(242, 240, 233, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(46, 64, 54, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.floating-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-family: var(--font-primary, "Plus Jakarta Sans", sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: #F2F0E9;
  text-decoration: none;
  transition: color 0.5s ease, transform 0.2s ease;
  display: inline-block;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-link.highlight {
  color: #CC5833;
  font-weight: 600;
}

.floating-nav.scrolled .nav-link:not(.highlight) {
  color: #2E4036;
}

.floating-nav.scrolled .nav-link.highlight {
  color: #CC5833;
}

.floating-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #CC5833;
  color: #F2F0E9;
  font-family: var(--font-primary, "Plus Jakarta Sans", sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  z-index: 1;
}

.nav-cta-btn:focus-visible,
.nav-link:focus-visible,
.mobile-menu-btn:focus-visible,
.mobile-dropdown-link:focus-visible {
  outline: 2px solid #CC5833;
  outline-offset: 3px;
}

.nav-cta-text, .nav-cta-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.nav-cta-btn:hover {
  transform: scale(1.03);
}

.nav-cta-btn:hover .nav-cta-icon {
  transform: translateX(4px);
}

.nav-cta-btn:hover .nav-cta-overlay {
  transform: translateY(0);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #F2F0E9;
  cursor: pointer;
  transition: color 0.5s ease;
  padding: 0;
}

.floating-nav.scrolled .mobile-menu-btn {
  color: #2E4036;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-dropdown {
  display: none;
  flex-direction: column;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, border-color 0.5s ease;
}

.floating-nav.scrolled .mobile-dropdown {
  border-top: 1px solid rgba(46, 64, 54, 0.1);
}

.mobile-dropdown.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-dropdown-link {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary, "Plus Jakarta Sans", sans-serif);
  font-weight: 500;
  color: #F2F0E9;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, color 0.5s ease;
}

.floating-nav.scrolled .mobile-dropdown-link {
  color: #2E4036;
}

.mobile-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.floating-nav.scrolled .mobile-dropdown-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   FLAT DARK SURFACE CLASSES — removes grainy translucent layering
   ========================================================================== */
.card-dark {
  background: var(--rv-surface-1);
  border: 1px solid var(--rv-border-1);
}

.form-container {
  background: var(--rv-white);
  border: 1px solid rgba(46, 64, 54, 0.08);
  border-radius: 2rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.form-input {
  background: var(--rv-background);
  border: 1px solid rgba(46, 64, 54, 0.15);
  border-radius: 0.75rem;
  color: var(--rv-dark);
}
.form-input::placeholder {
  color: rgba(26, 26, 26, 0.4);
}
.form-input:focus-visible {
  border-color: var(--color-accent);
  outline: none;
}

.stat-box {
  background: var(--rv-white);
  border: 1px solid rgba(46, 64, 54, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.stat-value {
  color: var(--color-accent);
}
.stat-label {
  color: rgba(26, 26, 26, 0.5);
}

.footer-status {
  background: var(--rv-surface-1);
  border: 1px solid var(--rv-border-1);
  border-radius: 9999px;
}

/* Full-width CTA button — inherits pill shape from base .btn / .btn--primary */
.btn-cta-full {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  /* border-radius intentionally omitted — inherits 9999px pill from .btn */
}

/* ==========================================================================
   TERMINAL CARD — dark accent component for light sections
   ========================================================================== */
.terminal-card {
  background: var(--rv-dark);
  border-radius: 1.5rem;
  padding: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rv-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.terminal-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rv-accent);
  animation: pulse 2s infinite;
}
.terminal-body {
  color: #4ADE80;
  font-size: 0.9rem;
}
.terminal-prompt {
  color: var(--rv-accent);
  margin-right: 0.25rem;
}
.terminal-cursor {
  display: inline-block;
  width: 0.5rem;
  height: 1rem;
  background: var(--rv-accent);
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   SECONDARY BUTTON — solid dark
   ========================================================================== */
.btn-dark {
  background: var(--rv-dark);
  color: var(--rv-white);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-dark:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   BADGE CHIP — light gray pill for status labels
   ========================================================================== */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 64, 54, 0.06);
  color: var(--rv-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
}

/* ==========================================================================
   LIGHT CTA SECTION — plain bold sans-serif heading for questions
   ========================================================================== */
.cta-light-inner {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
.cta-light-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-text-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}


/* Ensure outline buttons in dark sections have light text/borders */
.hero .btn--outline, .page-header .btn--outline, .final-cta .btn--outline {
  color: var(--rv-background);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn--outline:hover, .page-header .btn--outline:hover, .final-cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}



/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #1A1A1A;
  color: #F2F0E9;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
