:root {
    --logo-scale: 0.5; /* Default scale, adjust this value to control the shrinking size */
  
    /* New tokens for this page */
    --apw-teal: #18B19C;
    --apw-ink-900: #e7ecf2;
    --apw-ink-700: #a8b0bb;
    --apw-metal: #d7dee7;
    --apw-bg-deep: #0b0e13;
    --apw-panel: rgba(255,255,255,0.08);
    --apw-panel-2: rgba(255,255,255,0.04);
    --apw-ring: rgba(127,212,255,0.6);
    --apw-glass-b: rgba(255,255,255,0.14);
    --apw-glass-sheen: rgba(255,255,255,0.07);
    --apw-radius-lg: 20px;
    --apw-radius-md: 14px;
    --apw-shadow: 0 10px 28px rgba(0,0,0,.28);
    --apw-shadow-lg: 0 16px 42px rgba(0,0,0,.34);
  }
  
  /* ===== FULL-BLEED PAGE FIX ===== */
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #0b0e13; /* keep your dark base */
    overflow-x: hidden;   /* prevent side scroll */
  }
  
  main, .apw-theme, section {
    width: 100vw;           /* full viewport width */
    max-width: 100vw;
    box-sizing: border-box; /* padding doesn't shrink it */
    margin: 0;
    padding: 0;
  }
  
  /* ===================== KEEP: LOADING (unchanged) ===================== */
  /* ===== SPLASH / LOADING OVERLAY ===== */
  #loading{
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 1;
    transition: opacity .6s ease;
  }
  
  #loading.hide{
    opacity: 0;
    pointer-events: none;
  }
  
  .loading-logo{
    width: 100px;
    will-change: transform;
    /* animation applied dynamically via .fly class */
  }
  
  /* spin then fly: we’ll set --fly-x / --fly-y from JS */
  .loading-logo.fly{
    animation:
      splashSpin 1.2s ease-in-out 0s 1,
      flyToLogo 0.9s cubic-bezier(.2,.7,.2,1) 1.2s 1 forwards;
  }
  
  @keyframes splashSpin{
    from{ transform: translate(0,0) scale(1) rotate(0deg); }
    to  { transform: translate(0,0) scale(1) rotate(360deg); }
  }
  
  @keyframes flyToLogo{
    to{ transform: translate(var(--fly-x, 0px), var(--fly-y, -45vh)) scale(var(--logo-scale, .5)); }
  }
  
  /* ===== FORCE-CENTER THE LOGO (manual nudge ready) ===== */
  :root{
    --logo-nudge-x: 0px; /* tweak this to slide logo left(-) / right(+) */
  }
  
  header { position: fixed; left: 0; right: 0; z-index: 2000; }
  
  /* make navbar a positioning context */
  .navbar{
    position: relative !important;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 16px;
  }
  
  /* hard center: independent of cart/menu widths */
  .logo-link{
    position: absolute !important;
    left: 50%;
    transform: translateX(calc(-50% + var(--logo-nudge-x)));
    display: inline-flex;
    align-items: center;
    z-index: 2100;          /* stays above background */
    pointer-events: auto;   /* clickable */
  }
  
  /* keep cart on left and clickable */
  #header-cart-btn{
    grid-column: 1;
    justify-self: start;
    position: relative;
    width: 36px; height: 36px; display: grid; place-items: center;
    z-index: 2100;
  }
  #header-cart-btn .cart-icon{ width:22px; height:22px; display:block; }
  
  /* badge: smaller + higher so it doesn't cover icon */
  #header-cart-btn .cart-count{
    position: absolute;
    top: -7px; right: -7px;      /* raise & tuck */
    min-width: 14px; height: 14px; line-height: 14px;
    font-size: 10px; padding: 0 4px; border-radius: 999px;
    background: var(--apw-teal,#18B19C); color:#fff; font-weight:700; text-align:center;
    box-shadow: 0 0 0 2px #fff;
  }
  
  /* keep hamburger on right and always clickable */
  #menu-toggle{
    grid-column: 3;
    justify-self: end;
    position: relative;
    background: none; border: 0; cursor: pointer;
    z-index: 2100;
  }
  
  /* menu sheet sits under the header controls, over the page */
  :root{ --header-h: 84px; }                 /* adjust if your header is taller */
  #nav-menu{
    position: fixed; top: var(--header-h); left: 0; right: 0;
    z-index: 2050;                           /* below cart/menu (2100) */
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  #nav-menu.active{ opacity:1; transform:none; pointer-events:auto; }
  
  /* content offset so header doesn’t cover the top */
  .apw-theme{ padding-top: var(--header-h); }
  
  
  /* ---------- Generic full-bleed sections ---------- */
  .section {
    position: relative;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 0;
    overflow: hidden;
  }
  
  .section.fullscreen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .text-container {
    position: relative;
    z-index: 2;
    width: 100%;
  }
  
  .title {
    font-size: var(--title-size, 5em);
    margin: 0;
    text-shadow:
      0 0 24px rgba(0,0,0,1),
      0 0 24px rgba(0,0,0,1);
  }
  
  .subtitle {
    font-size: var(--subtitle-size, 2.5em);
    margin: 0;
    text-shadow:
      0 0 24px rgba(0,0,0,1),
      0 0 24px rgba(0,0,0,1),
      0 0 24px rgba(0,0,0,1);
  }
  
  @media (max-width: 768px) {
    .section.fullscreen { height: 60vh; }
    .title    { font-size: var(--title-size-mobile, 2.5em); }
    .subtitle { font-size: var(--subtitle-size-mobile, 1.5em); }
  }
  
  /* ---------- Black divider section ---------- */
  .section.black-divider {
    width: 100%;
    height: 43vh;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #000;
    overflow-x: hidden;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .section.black-divider h2 {
    font-size: var(--black-divider-heading-size, 3em);
    font-family: 'Arial', sans-serif;
    color: #fff;
    margin-bottom: 20px;
  }
  
  .section.black-divider p {
    font-size: var(--black-divider-paragraph-size, 1.5em);
    font-family: 'Georgia', serif;
    color: #ddd;
    line-height: 1.5;
  }
  
  @media (max-width: 768px) {
    .section.black-divider {
      height: 60vh;
      padding: 10px;
    }
    .section.black-divider h2 { font-size: 2em; }
    .section.black-divider p  { font-size: 1em; }
  }
  
  /* ===================== HEADER CART: compact rounded + correct badge ===================== */
  /* Only styles for the cart; header structure remains yours */
  .cart-button{
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 12px;
    padding: 0;
    display: inline-flex;
    align-items: center;
  }
  
  .cart-icon-wrapper{
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: box-shadow .2s ease, transform .08s ease, background .2s ease;
  }
  
  .cart-icon-wrapper:hover{
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transform: translateY(-1px);
  }
  
  .cart-icon{
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
  }
  
  /* Badge stays pinned to the icon wrapper (not the viewport) */
  .cart-count{
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--apw-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff; /* white ring to separate from background */
  }
  
  /* Small screens: keep cart tappable but not huge */
  @media (max-width: 480px){
    .cart-icon-wrapper{ width: 34px; height: 34px; }
    .cart-icon{ width: 20px; height: 20px; }
    .cart-count{ top: -3px; right: -3px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; }
  }
  
  /* ===================== AP CUSTOM WATCHES – THEME WRAPPER ===================== */
  .apw-theme{
    position: relative;
    background:
      radial-gradient(1200px 800px at 70% -10%, #15202b 0%, transparent 50%),
      radial-gradient(900px 700px at -10% 100%, #10151c 0%, transparent 55%),
      linear-gradient(180deg, #0a0d12, #0c1016 40%, #0a0d12);
    color: var(--apw-ink-900);
    padding-top: 84px; /* breathing room under fixed header */
  }
  

  /* ===========================
   AP Custom Watches — Reviews
   =========================== */

/* ---- Theme Tokens (fallbacks) ---- */
:root {
    --apw-bg-deep: #0b0e13;
    --apw-panel: rgba(255,255,255,0.06);
    --apw-panel-2: rgba(255,255,255,0.04);
    --apw-glass-sheen: rgba(255,255,255,0.075);
    --apw-ring: rgba(127,212,255,0.5);
    --apw-ink-1000: #f4f7fb;
    --apw-ink-900: #e7ecf2;
    --apw-ink-700: #a9b2bf;
    --apw-teal: #18B19C;
    --apw-gold: #c6a560;
  
    --apw-radius-lg: 20px;
    --apw-radius-md: 14px;
    --apw-radius-sm: 10px;
  
    --apw-shadow: 0 18px 40px rgba(0,0,0,.35);
    --apw-shadow-soft: 0 12px 28px rgba(0,0,0,.26);
    --apw-card-border: 1px solid rgba(255,255,255,0.08);
  
    --apw-maxw: 1200px;
    --apw-gap: clamp(14px, 2.2vw, 24px);
  }
  
  /* ---- Page Base (scoped) ---- */
  .page.reviews-page {
    color: var(--apw-ink-900);
    background: var(--apw-bg-deep);
    background-image:
      radial-gradient(1200px 700px at 82% -10%, rgba(24,177,156,0.12), transparent 60%),
      radial-gradient(900px 600px at -10% 120%, rgba(198,165,96,0.06), transparent 55%);
    -webkit-font-smoothing: antialiased;
  }
  
  .page.reviews-page .section {
    width: min(100%, var(--apw-maxw));
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 28px);
  }
  
  /* ===========================
     Hero / Summary
     =========================== */
  .hero-reviews h1 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    color: var(--apw-ink-1000);
    letter-spacing: .2px;
    margin: 0;
    margin-top: 40px;
  }
  
  .hero-reviews .sub {
    color: var(--apw-ink-900);
    opacity: .95;
    margin-top: 10px;
  }
  
  .score-strip {
    background:
      linear-gradient(180deg, var(--apw-panel), var(--apw-panel-2)),
      radial-gradient(600px 220px at 10% -20%, rgba(24,177,156,.10), transparent 60%);
    border: var(--apw-card-border);
    border-radius: var(--apw-radius-lg);
    padding: 12px 16px;
    display: inline-flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--apw-shadow-soft);
    margin-top: 18px;
  }
  
  .score-strip .stars {
    font-size: 20px;
    letter-spacing: 2px;
    color: #f5d36c; /* warm luxe stars */
    text-shadow: 0 1px 0 rgba(0,0,0,.3);
  }
  
  .score-strip .avg {
    color: var(--apw-ink-1000);
    font-size: 18px;
    font-weight: 800;
  }
  
  .score-strip .count {
    color: var(--apw-ink-700);
    font-size: 14px;
  }
  
  /* ===========================
     Reviews Grid
     =========================== */
  .reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--apw-gap);
    margin-top: 18px;
  }
  
  /* ---- Review Card ---- */
  .review-card {
    position: relative;
    background:
      linear-gradient(180deg, var(--apw-panel), var(--apw-panel-2));
    border: var(--apw-card-border);
    border-radius: var(--apw-radius-lg);
    padding: clamp(14px, 2.3vw, 20px);
    box-shadow: var(--apw-shadow-soft);
    transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
    will-change: transform;
    overflow: hidden;
  }
  
  /* Subtle accent glow */
  .review-card::after {
    content: "";
    position: absolute;
    inset: -30% -30% auto auto;
    height: 140px; width: 140px;
    background: radial-gradient(closest-side, rgba(24,177,156,.12), transparent 70%);
    filter: blur(14px);
    pointer-events: none;
    opacity: .7;
  }
  
  /* Hover elevate */
  .review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--apw-shadow);
    border-color: rgba(24,177,156,.25);
  }
  
  /* ---- Card Head ---- */
  .review-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .review-stars {
    color: #f5d36c;
    letter-spacing: 2px;
    font-size: 16px;
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
    white-space: nowrap;
  }
  
  .review-meta {
    color: var(--apw-ink-700);
    font-size: 13px;
    line-height: 1.4;
  }
  
  .review-meta .reviewer {
    color: var(--apw-ink-1000);
    font-weight: 800;
  }
  
  .review-meta .verified {
    background: rgba(24,177,156,.14);
    color: var(--apw-ink-1000);
    border: 1px solid rgba(24,177,156,.35);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin: 0 6px;
  }
  
  /* ---- Title / Body ---- */
  .review-title {
    margin: 4px 0 6px;
    color: var(--apw-ink-1000);
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 750;
    letter-spacing: .15px;
  }
  
  .review-body {
    color: var(--apw-ink-900);
    opacity: .96;
    margin: 0 0 10px;
    line-height: 1.65;
  }
  
  /* ---- Footer line ---- */
  .review-footer {
    margin-top: 8px;
    color: var(--apw-ink-700);
    font-size: 13px;
    border-top: 1px dashed rgba(255,255,255,.12);
    padding-top: 8px;
  }
  
  /* ===========================
     Accessibility / Focus
     =========================== */
  :where(.review-card) a { outline: none; }
  :where(.review-card) a:focus-visible,
  :where(.review-card) .review-title:focus-visible {
    box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 0 0 6px var(--apw-ring);
    border-radius: 8px;
  }
  
  /* ===========================
     Motion & Entrances
     =========================== */
  @media (prefers-reduced-motion: no-preference) {
    .hero-reviews, .score-strip, .review-card {
      animation: apwFadeUp .6s ease both;
    }
    .score-strip { animation-delay: .05s; }
    .review-card:nth-child(3n+1) { animation-delay: .06s; }
    .review-card:nth-child(3n+2) { animation-delay: .12s; }
    .review-card:nth-child(3n+3) { animation-delay: .18s; }
  }
  
  @keyframes apwFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  /* ===========================
     Responsive
     =========================== */
  @media (max-width: 980px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .score-strip { display: grid; grid-auto-flow: row; justify-items: center; gap: 6px; }
  }
  
  /* ===========================
     Print (optional)
     =========================== */
  @media print {
    .page.reviews-page {
      background: #fff;
      color: #111;
      -webkit-print-color-adjust: exact;
              print-color-adjust: exact;
    }
    .review-card {
      box-shadow: none;
      border: 1px solid #ddd;
      background: #fff;
    }
    .review-stars { color: #d4a514; text-shadow: none; }
  }
  
/* ====================== CART MODAL ====================== */

/* Prevent background scroll when modal is open */
body.modal-open {
    overflow: hidden;
  }
  
  /* Modal Overlay (hidden by default; doesn't steal clicks) */
  #cart-modal-overlay.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1050;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  #cart-modal-overlay.modal-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
  }
  
  /* Hidden by default */
  #cart-modal { right:-100%; }
  #cart-modal.modal { right:-100%; }          /* if you keep the class */
  
  /* Visible when active */
  #cart-modal.active { right:0; }
  #cart-modal.modal.active { right:0; }
  
  
  /* ====================== CART (OVERLAY + SIDE DRAWER) ====================== */
  
  /* Prevent background scroll when cart is open */
  body.modal-open { overflow: hidden; }
  
  /* Overlay: hidden by default; clickable when active */
  #cart-modal-overlay.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 2150;                           /* below cart (2200), above page */
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  #cart-modal-overlay.modal-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .3s ease;
  }
  
  /* ---------- Side Cart Drawer ---------- */
  /* Requires: <div id="cart-modal" class="side-cart"> */
  :root { --header-h: 84px; }                /* match your header height */
  
  .side-cart {
    position: fixed;
    top: var(--header-h, 84px);
    right: -100%;
    height: calc(100vh - var(--header-h, 84px));
    width: min(420px, 92vw);                 /* default width on tablets/desktop */
    background: #fff;
    color: #0d1116;
    z-index: 2200;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 40px rgba(0,0,0,.35);
    border-left: 1px solid #e5e7eb;
    transition: right .3s ease;
  }
  .side-cart.active { right: 0; }
  
  /* ~1/3 screen on wide displays */
  @media (min-width: 1100px) {
    .side-cart { width: 33.333vw; max-width: 560px; }
  }
  
  /* Fullscreen on small phones */
  @media (max-width: 600px) {
    .side-cart {
      top: 0;
      height: 100vh;
      width: 100vw;
    }
  }
  
  /* ---------- Header / Content / Footer ---------- */
  .side-cart .cart-modal-header,
  .side-cart .cart-modal-content,
  .side-cart .cart-modal-footer {
    padding: 20px;
  }
  
  .side-cart .cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
  }
  .side-cart .cart-modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
  }
  .side-cart #cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    color: #111827;
    line-height: 1;
  }
  
  /* Scrollable items area */
  .side-cart .cart-modal-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: #374151;
  }
  
  /* Footer with subtotal + checkout */
  .side-cart .cart-modal-footer {
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .side-cart .cart-subtotal-text {
    font-size: 1rem;
    font-weight: 700;
    color: #6b7280;
  }
  .side-cart .cart-subtotal-amount {
    font-size: 1rem;
    font-weight: 800;
    color: #374151;
    margin-left: 8px;
  }
  .side-cart .checkout-btn {
    margin-left: auto;
    background: #000;
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .25s ease, background-color .2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    max-width: 50%;
  }
  .side-cart .checkout-btn:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
  }
  
  /* ---------- Cart Item Rows ---------- */
  .side-cart .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
  }
  .side-cart .cart-item:last-child { border-bottom: none; }
  
  .side-cart .cart-item-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }
  
  .side-cart .cart-item-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0; /* enable ellipsis */
  }
  
  .side-cart .cart-item-name {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .side-cart .cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d1d5db;
    padding: 6px;
    border-radius: 8px;
    height: 36px;
    background: #fff;
  }
  .side-cart .quantity-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
  }
  .side-cart .quantity-value {
    width: 28px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
  }
  
  .side-cart .cart-item-price {
    margin-left: auto;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
  }
  
  .side-cart .remove-item-btn {
    font-size: .85rem;
    font-weight: 800;
    color: #111827;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    align-self: center;
    height: 36px;
    display: flex;
    align-items: center;
  }
  
  /* Optional: terms checkbox row (if you use it) */
  .side-cart .terms-checkbox-container {
    margin: 10px 0;
    font-size: 14px;
    align-self: flex-start;
  }
  .side-cart .terms-checkbox-container input[type="checkbox"] { margin-right: 6px; }
  
  /* ---------- Responsive tweaks ---------- */
  @media (max-width: 600px) {
    .side-cart .cart-item { flex-wrap: wrap; justify-content: flex-start; }
    .side-cart .cart-item-thumbnail {
      width: 64px; height: 64px; margin-bottom: 8px;
    }
    .side-cart .cart-item-name { font-size: .95rem; }
    .side-cart .cart-item-price { font-size: .95rem; margin-top: 4px; }
    .side-cart .cart-item-quantity { margin-top: 8px; }
    .side-cart .checkout-btn { max-width: 100%; }
    .side-cart .cart-modal-footer { flex-wrap: wrap; gap: 10px; }
  }
  
  /* ===================== LUXE ICE-BLUE LINK SYSTEM ===================== */
  
  /* Base link style (default state) */
  a, 
  .link {
    color: #67C1FF; /* icy blue */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
  }
  
  /* Hover & focus states */
  a:hover,
  a:focus,
  .link:hover,
  .link:focus {
    color: #F4E5C2; /* champagne glow */
    text-shadow: 0 0 6px rgba(244, 229, 194, 0.4);
  }
  
  /* Visited state stays consistent (no purple) */
  a:visited {
    color: #67C1FF;
  }
  
  /* Footer-specific hover to make it feel illuminated */
  .site-footer a:hover {
    color: #F4E5C2;
    text-shadow: 0 0 6px rgba(244, 229, 194, 0.35);
  }
  
  /* Optional: make link buttons or CTAs pop */
  .button-link {
    display: inline-block;
    padding: 8px 14px;
    color: #0b0e13;
    background: linear-gradient(135deg, #67C1FF, #1A5F8E);
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
  }
  
  .button-link:hover {
    background: linear-gradient(135deg, #F4E5C2, #C2A671);
    color: #0b0e13;
    box-shadow: 0 4px 20px rgba(244, 229, 194, 0.35);
  }
  
  
  /* Footer Styles */
  .site-footer {
      background-color: #414141; /* Dark grey background */
      color: #fff; /* White text */
      padding: 40px 20px;
      font-family: 'Poppins', sans-serif;
      position: relative; /* To ensure footer-bottom can align correctly */
  }
  
  .footer-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
  }
  
  /* Footer Navigation, Social Media, and Info */
  .footer-nav,
  .footer-social,
  .footer-info {
      flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
      min-width: 200px;
  }
  
  .footer-nav h3,
  .footer-social h3,
  .footer-info h3 {
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 15px;
      color: #fff;
  }
  
  .footer-nav ul,
  .footer-social ul {
      list-style: none;
      padding: 0;
  }
  
  .footer-nav ul li,
  .footer-social ul li {
      margin-bottom: 10px;
  }
  
  .footer-nav ul li a,
  .footer-social ul li a {
      color: #ccc; /* Light grey links */
      text-decoration: none;
      transition: color 0.3s ease;
  }
  
  .footer-nav ul li a:hover,
  .footer-social ul li a:hover {
      color: #C2A671; /* Green hover color */
  }
  
  /* Footer Info Section */
  .footer-info {
      font-size: 0.9rem;
      color: #ccc; /* Light grey text */
      line-height: 1.6; /* Better readability */
  }
  
  .footer-info p {
      margin: 10px 0; /* Add spacing between lines */
  }
  
  .footer-info a {
      color: #C2A671; /* Replace with your brand's specific green color code */
      text-decoration: none; /* Optional: removes underline from the link */
  }
  
  .footer-info a:hover {
      color: #C2A671; /* Darker green for hover, adjust as needed */
      text-decoration: underline; /* Optional: adds underline on hover for better usability */
  }
  
  
  /* Footer Bottom */
  .footer-bottom {
      text-align: center;
      margin-top: 40px;
      font-size: 0.9rem;
      color: #bbb; /* Lighter grey for bottom text */
      width: 100%;
  }
  
  .footer-bottom p {
      margin: 0;
      font-size: 1rem; /* Slightly larger for clarity */
      font-weight: bold; /* Make Reel Free stand out */
      color: #fff;
  }
  
  .footer-brand {
      font-weight: 700; /* Bold */
      color: #fff;
  }
  
  .footer-year {
      font-weight: 500; /* Medium */
      color: #ccc;
  }
  
  .footer-rights {
      font-weight: 300; /* Light */
      color: #bbb;
  }
  
  .footer-divider {
      margin: 0 0.3rem;
      color: #999;
  }
  
  /* Media Query for Footer */
  @media (max-width: 768px) {
      .footer-container {
          flex-direction: column; /* Stack footer sections vertically */
          align-items: center;
          text-align: center;
      }
  
      .footer-nav,
      .footer-social,
      .footer-info {
          flex: 1 1 100%; /* Each section takes full width */
          margin-bottom: 20px; /* Add spacing between stacked sections */
      }
  
      .footer-bottom {
          margin-top: 20px; /* Adjust margin for smaller screens */
      }
  }
  
  /* ===========================
     Footer Chatbot Launcher
     =========================== */
  
     .footer-chat {
      /* mobile: flows under contact email */
      margin-top: 14px;
    }
    
    .rf-chatnote {
      margin-top: 6px;
      font-size: 0.78rem;
      color: #9fd8cf; /* subtle teal tint under dark footer */
    }
    
    /* The pill button with two words: Help • Chat */
    .rf-chatbtn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 0;
      background: #18B19C;         /* brand teal */
      color: #0c2b27;               /* ink on teal */
      font-weight: 700;
      font-size: 0.98rem;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
      transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    
    .rf-chatbtn:hover { transform: translateY(-1px); }
    .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
    .rf-chatbtn:focus-visible { outline: 3px solid #67C1FF; outline-offset: 2px; }
    
    .rf-chatbtn-help { opacity: 0.95; }
    .rf-chatbtn-dot  { opacity: 0.75; }
    .rf-chatbtn-chat {
      background: #ffffff;
      color: #09443c;
      padding: 6px 10px;
      border-radius: 999px;
      line-height: 1;
      font-weight: 800;
    }
    
    /* Desktop positioning: attach to bottom-right corner of the footer */
    @media (min-width: 768px) {
      .site-footer {
        position: relative; /* already present, ensures absolute positioning is relative */
      }
      .footer-chat {
        position: absolute;
        right: 18px;
        bottom: 18px;
        margin-top: 0; /* override mobile spacing */
        text-align: right;
      }
    }
    
    /* Respect reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .rf-chatbtn { transition: none !important; }
    }
    