/* =====================================================
   SCDC PARALLAX FOOTER — 7 Sections
   Ticker, Momentum, Testimonials, Certs, Links, Legal, Copyright
   ===================================================== */


  /* =====================================================
     PARALLAX FOOTER STYLES - THEME AWARE
     ===================================================== */
  
  /* Language-aware font scaling - applied via --lang-scale variable */
  :root {
    --lang-scale: 1;
  }
  
  /* Footer CSS Variables - Dark Theme (Moon) Default */
  :root {
    --footer-bg: #000000;
    --footer-bg-alt: #111111;
    --footer-text: #FFFFFF;
    --footer-text-sub: #CCCCCC;
    --footer-gold: #8D7B32;
    --footer-border: #FFFFFF;
    --footer-ticker-text: #FFFFFF;
    --font-display: 'LEMON MILK Pro', 'Arial Black', sans-serif;
    --font-accent: "Playfair Display", Georgia, serif;
    --font-legal: "Source Sans Pro", Arial, sans-serif;
    --ticker-speed: 35s;
    --lang-scale: 1;
  }
  
  /* Light Theme (Sun) Footer Overrides */
  [data-theme="light"] {
    --footer-bg: #FFFFFF;
    --footer-bg-alt: #F8F8F8;
    --footer-text: #222222;
    --footer-text-sub: #666666;
    --footer-gold: #8D7B32;
    --footer-border: #000000;
    --footer-ticker-text: #000000;
  }
  
  /* Parallax Structure - Main content covers footer while scrolling */
  .main-content {
    position: relative;
    z-index: 10;
    background-color: var(--bg-page);
    margin-bottom: 100vh;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  }
  
  /* Footer is BEHIND main content, revealed as you scroll */
  .scdc-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1; /* LOW z-index - behind main content */
    background: var(--footer-bg);
    border-top: 3px solid var(--footer-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  /* Header z-index */
  .scdc-header {
    z-index: 10000 !important;
  }
  
  /* SECTION 4: TICKER - Marquee Banner */
  .footer-ticker {
    background: var(--footer-bg);
    padding: 12px 5%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
  }
  .footer-ticker::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-ticker::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-ticker__wrap { display: flex; width: 100%; max-width: 1400px; margin: 0 auto; overflow: hidden; }
  .footer-ticker__content { display: flex; white-space: nowrap; align-items: center; gap: 30px; animation: ticker-scroll 40s linear infinite; }
  .footer-ticker__content:hover { animation-play-state: paused; }
  @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .footer-ticker__item { font-family: var(--font-legal); font-weight: 700; text-transform: uppercase; color: #FFFFFF; font-size: 0.55rem; letter-spacing: 0.125em; flex-shrink: 0; }
  .footer-ticker__diamond { color: #FFFFFF; font-size: 12px; line-height: 1; opacity: 0.6; flex-shrink: 0; }
  
  /* SECTION 2: MOMENTUM */
  .footer-momentum { background: var(--footer-bg); padding: 4px 5% 12px 5%; border-bottom: none; flex-shrink: 0; position: relative; }
  .footer-momentum::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-momentum__header { text-align: center; margin-bottom: 6px; }
  .footer-momentum__title { font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 400; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.2em; height: 40px; line-height: 20px; display: flex; align-items: center; justify-content: center; }
  .footer-momentum__grid { display: flex; justify-content: space-between; max-width: 1400px; margin: 0 auto; padding: 0; }
  .footer-momentum__stat { flex: 1; text-align: center; padding: 10px 0; border-right: 1px solid var(--footer-gold); }
  .footer-momentum__stat:last-child { border-right: none; }
  .footer-momentum__number { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 2.8rem); color: #FFFFFF; line-height: 1.1; margin-bottom: 4px; letter-spacing: 0.125em; }
  .footer-momentum__label { color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.125em; font-size: 0.55rem; font-weight: 500; }
  
  /* SECTION 3: TESTIMONIALS */
  .footer-testimonials { background: var(--footer-bg); padding: 4px 5% 12px 5%; border-bottom: none; flex-shrink: 0; position: relative; }
  .footer-testimonials::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-testimonials__header { text-align: center; margin-bottom: 6px; }
  .footer-testimonials__title { font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 400; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.2em; height: 40px; line-height: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
  .footer-testimonials__subtitle { display: none; }
  .footer-testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1400px; margin: 0 auto; }
  
  /* Testimonial Cards */
  .footer-testimonials__carousel { position: relative; min-height: 140px; overflow: hidden; }
  .footer-testimonials__flipper { position: relative; width: 100%; height: 140px; }
  .footer-testimonials__card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--footer-bg-alt); border: 1px solid var(--footer-gold); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; box-shadow: 0 3px 10px rgba(141, 123, 50, 0.1); transition: opacity 1.2s ease-in-out; opacity: 1; }
  .footer-testimonials__card--back { opacity: 0; }
  .footer-testimonials__flipper.sliding .footer-testimonials__card:not(.footer-testimonials__card--back) { opacity: 0; }
  .footer-testimonials__flipper.sliding .footer-testimonials__card--back { opacity: 1; }
  
  .footer-testimonials__quote { font-family: var(--font-accent); font-style: italic; font-size: 0.8rem; color: #FFFFFF; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .footer-testimonials__author { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: nowrap; }
  .footer-testimonials__avatar { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: #000000; font-weight: 700; font-size: 0.55rem; flex-shrink: 0; }
  .footer-testimonials__author-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .footer-testimonials__name { font-weight: 600; color: #FFFFFF; font-size: 0.65rem; }
  .footer-testimonials__role { color: #CCCCCC; font-size: 0.55rem; }
  .footer-testimonials__location { color: #FFFFFF; font-size: 0.5rem; font-weight: 500; }
  .footer-testimonials__readmore { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 0.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.125em; color: #FFFFFF; border: 1px solid #FFFFFF; border-radius: 3px; text-decoration: none; transition: all 0.3s ease; flex-shrink: 0; white-space: nowrap; }
  .footer-testimonials__readmore:hover { background: #FFFFFF; color: var(--footer-bg); }
  .footer-testimonials__dots { display: none; }
  .footer-testimonials__dot { width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; opacity: 0.3; border: none; padding: 0; transition: all 0.3s ease; cursor: pointer; }
  .footer-testimonials__dot--active { opacity: 1; background: var(--footer-gold); }
  
  /* SECTION 4: CERTIFICATIONS */
  .footer-certifications { background: var(--footer-bg); padding: 4px 5% 4px 5%; border-bottom: none; flex-shrink: 0; position: relative; }
  .footer-certifications__header { text-align: center; margin-bottom: 4px; }
  .footer-certifications__title { font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 400; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.2em; height: 40px; line-height: 20px; display: flex; align-items: center; justify-content: center; }
  .footer-certifications__inner { display: flex; align-items: stretch; justify-content: space-between; max-width: 1400px; margin: 0 auto; }
  .footer-certifications__badge { flex: 0 0 auto; width: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; background: transparent; border: none; border-radius: 0; text-decoration: none; transition: all 0.3s ease; overflow: visible; }
  .footer-certifications__badge:hover { transform: translateY(-3px) scale(1.05); }
  .footer-certifications__img { width: 100%; height: auto; border-radius: 0; display: block; transform: scale(1.2); }

  
  /* SECTION 5: LINKS */
  .footer-links { background: var(--footer-bg); padding: 0 5%; flex: 1; display: flex; align-items: stretch; overflow: hidden; min-height: 0; }
  .footer-links__grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; gap: 30px; max-width: 1400px; margin: 0 auto; width: 100%; align-items: stretch; height: 100%; }
  .footer-links__column { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 0; justify-content: space-evenly; }
  .footer-links__title { font-family: var(--font-head); font-size: 0.6rem; color: #8D7B32; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0; padding: 0; border-bottom: none; font-weight: 400; text-align: left; line-height: 1.3; }
  .footer-links__list { list-style: none; display: contents; text-align: left; padding: 0; margin: 0; }
  .footer-links__link { color: #FFFFFF; text-decoration: none; font-size: 0.65rem; transition: all 0.3s ease; line-height: 1.3; text-align: left; padding: 0; letter-spacing: 0.125em; }
  .footer-links__link:hover { color: var(--footer-gold); padding-left: 3px; }
  
  /* Center Brand Block */
  .footer-links__brand { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; overflow: hidden; padding: 10px 0; justify-content: flex-start; }
  .footer-links__brand-content { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; flex: 1; width: 100%; }
  .footer-links__cta-group { display: flex; flex-direction: row; gap: 6px; width: 100%; max-width: 258px; margin-bottom: 0; flex-shrink: 0; }
  .footer-links__cta { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 4px; font-size: 0.55rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.125em; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; }
  .footer-links__cta--primary { background: #000000; color: #FFFFFF; border: 1px solid #FFFFFF; }
  .footer-links__cta--primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
  .footer-links__cta--secondary { background: #FFFFFF; color: #000000; border: 1px solid var(--footer-gold); }
  .footer-links__cta--secondary:hover { background: rgba(141, 123, 50, 0.15); }
  .footer-links__social { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; margin-bottom: 0; width: 100%; max-width: 320px; flex-shrink: 0; }
  .footer-links__social-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #FFFFFF; color: #FFFFFF; font-size: 0.55rem; text-decoration: none; transition: all 0.3s ease; flex-shrink: 0; }
  .footer-links__social-icon:hover { background: var(--footer-gold); color: #FFFFFF; transform: translateY(-2px); }
  .footer-links__address { color: #FFFFFF; font-size: 0.6rem; line-height: 1.6; margin-bottom: 0; font-style: normal; flex-shrink: 0; }
  .footer-links__address a { color: #FFFFFF; text-decoration: none; }
  .footer-links__address-line { color: #FFFFFF; font-size: 0.6rem; line-height: 1; font-style: normal; flex-shrink: 0; }
  .footer-links__address-line a { color: #FFFFFF; text-decoration: none; }
  
  /* Language Selector */
  .footer-links__language { position: relative; margin-top: 12px; width: 100%; max-width: 258px; }
  .footer-links__language-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; background: transparent; border: 1px solid var(--footer-gold); border-radius: 4px; color: var(--footer-gold); font-size: 0.65rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
  .footer-links__language-btn:hover { background: rgba(141, 123, 50, 0.15); }
  .footer-links__language-btn i:last-child { transition: transform 0.3s ease; }
  .footer-links__language-btn[aria-expanded="true"] i:last-child { transform: rotate(180deg); }
  .footer-links__language-dropdown { position: absolute; bottom: 100%; left: 0; right: 0; background: var(--footer-bg-alt); border: 1px solid var(--footer-gold); border-radius: 4px; margin-bottom: 4px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; opacity: 0; z-index: 100; }
  .footer-links__language-dropdown.open { max-height: 300px; opacity: 1; }
  .footer-links__language-option { width: 100%; padding: 8px 12px; background: transparent; border: none; color: #FFFFFF; font-size: 0.6rem; text-align: left; cursor: pointer; transition: all 0.2s ease; display: block; }
  .footer-links__language-option:hover { background: rgba(141, 123, 50, 0.15); color: #FFFFFF; }
  .footer-links__language-option.active { color: var(--footer-gold); font-weight: 600; }
  
  .footer-links__logo { width: 100%; max-width: 270px; height: auto; object-fit: contain; margin-bottom: 0; flex-shrink: 0; }
  
  /* SECTION 6: DISCLAIMERS */
  .footer-disclaimers { background: var(--footer-bg); padding: 8px 5%; flex-shrink: 0; border-top: none; position: relative; }
  .footer-disclaimers::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-disclaimers__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; gap: 8px; }
  .footer-disclaimers__link { color: #FFFFFF; text-decoration: none; font-family: var(--font-legal); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.125em; transition: color 0.3s ease; }
  .footer-disclaimers__link:hover { color: var(--footer-gold); }
  .footer-disclaimers__language { position: relative; flex-shrink: 0; }
  .footer-disclaimers__language .footer-links__language-btn { color: #FFFFFF; border-color: #FFFFFF; background: transparent; font-size: 0.55rem; padding: 4px 8px; }
  .footer-disclaimers__language .footer-links__language-btn:hover { background: rgba(255, 255, 255, 0.1); }
  .footer-disclaimers__language .footer-links__language-btn i { color: #FFFFFF; }
  .footer-disclaimers__language .footer-links__language-dropdown { bottom: 100%; top: auto; }
  [data-theme="light"] .footer-disclaimers__language .footer-links__language-btn { color: #000000; border-color: #000000; }
  [data-theme="light"] .footer-disclaimers__language .footer-links__language-btn:hover { background: rgba(0, 0, 0, 0.1); }
  [data-theme="light"] .footer-disclaimers__language .footer-links__language-btn i { color: #000000; }
  
  /* Comprehensive Light Theme Footer Text Colors */
  [data-theme="light"] .footer-ticker__item { color: #000000; }
  [data-theme="light"] .footer-ticker__diamond { color: #000000; }
  [data-theme="light"] .footer-momentum__title { color: #000000; }
  [data-theme="light"] .footer-momentum__number { color: #000000; }
  [data-theme="light"] .footer-momentum__label { color: #000000; }
  [data-theme="light"] .footer-testimonials__title { color: #000000; }
  [data-theme="light"] .footer-testimonials__quote { color: #000000; }
  [data-theme="light"] .footer-testimonials__name { color: #000000; }
  [data-theme="light"] .footer-testimonials__role { color: #333333; }
  [data-theme="light"] .footer-testimonials__location { color: #000000; }
  [data-theme="light"] .footer-testimonials__readmore { color: #000000; border-color: #000000; }
  [data-theme="light"] .footer-testimonials__readmore:hover { background: #000000; color: #FFFFFF; }
  [data-theme="light"] .footer-testimonials__dot { background: #000000; }
  [data-theme="light"] .footer-testimonials__dot--active { background: var(--footer-gold); }
  [data-theme="light"] .footer-certifications__title { color: #000000; }
  [data-theme="light"] .footer-links__title { color: #8D7B32; }
  [data-theme="light"] .footer-links__link { color: #000000; }
  [data-theme="light"] .footer-links__link:hover { color: var(--footer-gold); }
  [data-theme="light"] .footer-links__address { color: #000000; }
  [data-theme="light"] .footer-links__address a { color: #000000; }
  [data-theme="light"] .footer-links__address-line { color: #000000; }
  [data-theme="light"] .footer-links__address-line a { color: #000000; }
  [data-theme="light"] .footer-links__social-icon { color: #000000; border-color: #000000; }
  [data-theme="light"] .footer-links__social-icon:hover { background: var(--footer-gold); color: #FFFFFF; border-color: var(--footer-gold); }
  [data-theme="light"] .footer-links__cta { color: #000000; border-color: var(--footer-gold); }
  [data-theme="light"] .footer-links__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
  [data-theme="light"] .footer-links__cta--primary { background: #FFFFFF; color: #000000; border: 1px solid #000000; }
  [data-theme="light"] .footer-links__cta--secondary { background: #000000; color: #FFFFFF; border: 1px solid var(--footer-gold); }
  [data-theme="light"] .footer-links__language-btn { color: #000000; border-color: #000000; }
  [data-theme="light"] .footer-links__language-btn i { color: #000000; }
  [data-theme="light"] .footer-links__language-option { color: #000000; }
  [data-theme="light"] .footer-links__language-option:hover { background: rgba(141, 123, 50, 0.15); }
  [data-theme="light"] .footer-disclaimers__link { color: #000000; }
  [data-theme="light"] .footer-disclaimers__link:hover { color: var(--footer-gold); }
  [data-theme="light"] .footer-disclaimers__separator { color: #000000; }
  [data-theme="light"] .footer-copyright__text { color: #000000; }
  [data-theme="light"] .footer-testimonials__avatar { color: #000000; border-color: #000000; }
  
  /* SECTION 7: COPYRIGHT */
  .footer-copyright { background: var(--footer-bg); padding: 8px 5%; flex-shrink: 0; border-top: none; position: relative; }
  .footer-copyright::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1400px; height: 1px; background: var(--footer-border); }
  .footer-copyright__inner { display: flex; align-items: center; justify-content: center; width: 100%; }
  .footer-copyright__text { color: #FFFFFF; font-size: 0.6rem; letter-spacing: 0.125em; font-weight: 600; text-align: center; }
  
  /* RESPONSIVE */
  @media (max-width: 1200px) {
    .footer-links__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .footer-links__brand { grid-column: 2; grid-row: 1; }
    .footer-testimonials__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .footer-certifications { padding: 4px 5%; }
    .footer-certifications__inner { flex-wrap: wrap; justify-content: center; gap: 25px; }
    .footer-certifications__badge { width: 110px; }
    .footer-ticker__item { font-size: 0.55rem; }
  }
  @media (max-width: 768px) {
    .footer-links__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .footer-links__brand { grid-column: 1 / -1; grid-row: 1; margin-bottom: 10px; }
    .footer-testimonials__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-certifications__badge { width: 90px; }
    .footer-certifications__inner { gap: 20px; }
    .footer-disclaimers__inner { justify-content: center; gap: 8px 16px; }
    .footer-ticker__content { flex-wrap: wrap; justify-content: center; gap: 8px; }
  }
  @media (max-width: 480px) {
    .footer-momentum__stat { flex: 0 0 100%; border-right: none !important; }
    .footer-links__grid { grid-template-columns: 1fr; }
    .footer-testimonials__grid { grid-template-columns: 1fr; gap: 15px; }
    .footer-certifications__inner { gap: 10px; }
    .footer-certifications__badge { width: 70px; }
    .footer-disclaimers__inner { flex-direction: column; align-items: center; gap: 6px; }
  }
