:root{
  --bg:#070b14;
  --surface:#0b1220;
  --surface2:#0f1a2f;
  --card:#0b1427;
  --fg:#eef2ff;
  --muted:#a9b3cf;
  --border:rgba(255,255,255,.10);
  --primary:#3b82f6;
  --primary2:#2563eb;
  --accent:#60a5fa;
  --success:#22c55e;
  --danger:#ef4444;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --shadow-soft: 0 10px 26px rgba(0,0,0,.22);
  --radius:20px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color:var(--fg);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(59,130,246,.35) 0%, transparent 60%),
    radial-gradient(1000px 500px at 90% 0%, rgba(96,165,250,.22) 0%, transparent 55%),
    linear-gradient(180deg, #060912 0%, var(--bg) 40%, #050813 100%);
  line-height:1.65;
}

/* Discreet tech illustration background */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:url("/assets/tech-bg.svg");
  background-size:cover;
    /* Move the illustration slightly DOWN so it doesn't look "too high" on shorter viewports */
  background-position:center 65%;
  background-repeat:no-repeat;
  opacity:0.20;
  pointer-events:none;
  z-index:-1;
}

@media (max-width: 640px){
  /* A touch more downward on mobile */
  body::before{ background-position:center 72%; }
}

a{color:inherit; text-decoration:none}

.container{max-width:1140px; margin:0 auto; padding:0 18px}
.row{display:flex; gap:12px; flex-wrap:wrap}
.between{justify-content:space-between; align-items:center}
.grid{display:grid; gap:22px}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}

/* Top bar */
header.sticky{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,18,32,.78);
  backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid var(--border);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{display:block; height:44px; width:auto}
.brand strong{
  font-weight:850;
  letter-spacing:-.01em;
  color:#eaf1ff;
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
}
.nav a{
  color:rgba(238,242,255,.86);
  font-weight:600;
  padding:10px 10px;
  border-radius:999px;
}
.nav a:hover{background:rgba(255,255,255,.06)}
.nav a.active{background:rgba(59,130,246,.20); color:#fff}

.badge{
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  padding:8px 12px;
  border-radius:999px;
  font-size:14px;
  color:rgba(238,242,255,.9);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.badge:hover{background:rgba(255,255,255,.10)}

/* Badge groups ("What you can expect" / "Lo que puedes esperar") */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

@media (max-width: 640px){
  /* Two-column, tidy pills on mobile */
  .badges{gap:8px;}
  .badges .badge{
    flex: 1 1 calc(50% - 8px);
    white-space:normal; /* allow long labels to wrap inside the pill */
    text-align:center;
    line-height:1.15;
    padding:8px 10px;
    font-size:13px;
  }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:700;
  border:1px solid rgba(59,130,246,.35);
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  color:#fff;
  box-shadow:0 18px 40px rgba(37,99,235,.22);
}
.btn:hover{filter:brightness(1.03)}
.btn.secondary{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
}
.btn.secondary:hover{background:rgba(255,255,255,.10)}
.btn.wa{
  background:linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color:rgba(34,197,94,.35);
  box-shadow:0 18px 40px rgba(34,197,94,.18);
}

/* Sections */
.hero{
  padding:78px 0 56px;
}
.h1{
  font-size:clamp(36px,4.8vw,54px);
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-.02em;
}
.lead{
  color:rgba(169,179,207,.95);
  font-size:18px;
  max-width:68ch;
}
.section{padding:66px 0}
.title{font-size:32px; margin:0 0 10px; letter-spacing:-.015em}
.muted{color:var(--muted)}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(238,242,255,.92);
  background:rgba(59,130,246,.16);
  border:1px solid rgba(59,130,246,.25);
  padding:7px 12px;
  border-radius:999px;
}

/* Cards */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.04) 100%);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.card .body{padding:18px}
.card h3{margin:0 0 8px}
.card p{margin:0}

/* Subtle pop-out on hover (all cards/boxes)
   Excludes <form class="card"> and <svg class="card"> elements. */
.card:not(form):not(svg){
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}
.card:not(form):not(svg):hover{
  transform: translateY(-6px) ;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.18);
}
.card:not(form):not(svg):focus-within{
  transform: translateY(-6px) ;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.18);
}

@media (hover: none){
  .card:not(form):not(svg):active{transform: }
}
@media (prefers-reduced-motion: reduce){
  .card:not(form):not(svg){transition:none}
}

/* Forms */
label{display:block; margin-top:12px}
input, textarea, select{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.18);
  color:var(--fg);
  font:inherit;
}
input::placeholder, textarea::placeholder{color:rgba(169,179,207,.75)}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color:rgba(96,165,250,.55);
  box-shadow:0 0 0 3px rgba(59,130,246,.22);
}

hr.sep{border:0; border-top:1px solid var(--border); margin:20px 0}
.small{font-size:14px}
.note{font-size:12px; color:rgba(169,179,207,.85); margin-top:8px}

.alert{
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.10);
  color:#d1fae5;
  padding:12px;
  border-radius:14px;
  display:none;
}
.alert.err{
  border-color:rgba(239,68,68,.35);
  background:rgba(239,68,68,.10);
  color:#fee2e2;
}

/* Footer */
footer{border-top:1px solid var(--border); background:rgba(11,18,32,.55)}
footer .container{padding:18px}
footer a{color:rgba(238,242,255,.86)}
footer a:hover{text-decoration:underline}

/* Floating WhatsApp */
.wa-ic{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(34,197,94,.16);
  color:#22c55e;
  box-shadow:0 0 0 6px rgba(34,197,94,.10);
}

/* Responsive */
@media (max-width:720px){
  .hero{padding:66px 0 44px}
  .nav{gap:10px}
  .nav a{padding:8px 10px}
  .brand strong{display:none}
}

/* Header logo fix */
.header-logo {
    height: 64px;
    width: auto;
    display: block;
}

header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .header-logo {
        height: 48px;
    }
}


/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 14px 16px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    text-decoration: none;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    header, .container, section {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.3rem;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
    }
}


/* --- Mobile fit + overflow fixes --- */
html { -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; max-width: 100vw; }
img, svg, video, canvas { max-width: 100%; height: auto; }

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-icon { width: 34px; height: 34px; border-radius: 8px; flex: 0 0 auto; }
.brand-text { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  border-radius: 12px;
}
.nav-toggle span{
  display:block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: rgba(255,255,255,0.9);
}

@media (max-width: 820px) {
  header { position: sticky; top: 0; z-index: 1000; }
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; }
  /* Make header layout: brand left, burger right */
  header .header-inner, header .container, header { }
  /* Force nav to drawer */
  
#site-nav{
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  right: auto;
  top: auto;
  transition: none;
}
body.nav-open #site-nav { right: 0; }

  /* overlay */
  body.nav-open::before{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
  }
  #site-nav { z-index: 1001; }

  
#site-nav ul{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
#site-nav a{ font-size: 18px; padding: 10px 12px; display:block; }

  /* Prevent desktop nav layout from pushing width */
  header nav ul { flex-wrap: nowrap; }
}

/* Ensure header content doesn't exceed viewport */
header, .container { max-width: 100%; }

/* --- Mobile drawer nav (only on mobile) --- */
@media (max-width: 820px){
  .nav-toggle{ display:inline-flex !important; align-items:center; justify-content:center; }
  .nav-toggle{ background: transparent; border:0; padding:10px; cursor:pointer; border-radius:12px; }
  .nav-toggle span{ display:block; width:26px; height:2px; margin:4px 0; background: rgba(255,255,255,0.92); border-radius:2px; }

  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1000;
  }
  body.nav-open .nav-overlay{ opacity:1; pointer-events:auto; }

  #site-nav{
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    padding: 90px 18px 18px;
    background: rgba(10,14,26,0.96);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255,255,255,0.08);
    transition: right .25s ease;
    z-index: 1001;
  }
  body.nav-open #site-nav{ right: 0; }

  #site-nav ul{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap: 10px;
  }
  #site-nav a{
    display:block;
    padding: 12px 12px;
    border-radius: 14px;
  }
  #site-nav a:hover{
    background: rgba(255,255,255,0.06);
  }

  /* language switch inside drawer */
  #site-nav .lang-switch{
    display:flex;
    gap:10px;
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,0.08);
  }
  #site-nav .lang-switch a{
    flex:1;
    text-align:center;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,0.12);
    border-radius:999px;
  }
  #site-nav .lang-switch a.active{
    background: rgba(86,120,255,0.20);
    border-color: rgba(86,120,255,0.35);
  }
}

/* Hide mobile-only pieces on desktop */
@media (min-width: 821px){
  .nav-overlay{ display:none; }
  .nav-toggle{ display:none !important; }
  #site-nav .lang-switch{ display:none !important; }
}

/* --- FORCE DESKTOP NAV HORIZONTAL (override any stray mobile styles) --- */
@media (min-width: 821px){
  header{ position: relative; }
  #site-nav{ 
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    right: auto !important;
    top: auto !important;
    backdrop-filter: none !important;
    transform: none !important;
  }
  #site-nav ul{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #site-nav li{ list-style: none !important; margin: 0 !important; padding: 0 !important; }
  #site-nav a{ display: inline-flex !important; padding: 10px 12px !important; border-radius: 999px !important; }
  .nav-toggle{ display: none !important; }
  .nav-overlay{ display: none !important; }
  #site-nav .lang-switch{ display:none !important; }
}

/* --- Mobile: make hamburger always tappable (Safari) --- */
@media (max-width: 820px){
  header{ position: relative; }
  .nav-toggle{
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 1102 !important;
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav-toggle *{ pointer-events: none; } /* so taps register on button itself */
  .nav-overlay{ z-index: 1100 !important; }
  #site-nav{ z-index: 1101 !important; }
}

/* Avoid decorative layers blocking taps */
header::before, header::after{ pointer-events:none; }


@media (min-width: 821px){
  }

footer .footer-links, footer .footer-nav, footer nav{ justify-content: flex-end; }



/* --- NAV MOBILE FIX (iOS/Safari clickable links) --- */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}
body.nav-open .nav-overlay{
  opacity: 1;
  pointer-events: auto;
}
#site-nav{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);
  z-index: 2000;
  pointer-events: auto;
}
.nav-toggle{
  position: relative;
  z-index: 3000;
  -webkit-tap-highlight-color: transparent;
}
/* make sure the 4 lines are visible and stacked */
.nav-toggle span{
  display:block;
  width: 26px;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
}
/* drawer links must be clickable */
#site-nav a, #site-nav button{
  pointer-events: auto;
}
/* Prevent overlay layers inside header from blocking taps */
header, .site-header{ position: relative; z-index: 10; }
/* --- END NAV MOBILE FIX --- */

/* === Mobile drawer close + active tab styling (final fixes) === */

/* Keep header/hamburger clickable above overlay */
.site-header{position:sticky;top:0;z-index:2100;}
.nav-toggle{position:relative;z-index:2200;}

/* Ensure overlay never blocks the drawer */
.nav-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .18s ease;z-index:1500;}
body.nav-open .nav-overlay{opacity:1;pointer-events:auto;}

/* Robust drawer behavior (mobile) */
@media (max-width: 900px){
  #site-nav{position:fixed;top:0;right:0;bottom:0;width:min(82vw, 340px);max-width:340px;transform:translateX(100%);transition:transform .18s ease;z-index:2000;pointer-events:none;}
  body.nav-open #site-nav{transform:translateX(0);pointer-events:auto;}
}

/* Desktop nav stays inline/horizontal */
@media (min-width: 901px){
  #site-nav{position:static;transform:none !important;pointer-events:auto;z-index:auto;}
}

/* Replace "Menu" label by simply hiding the title (EN/ES stays visible) */

/* Active page highlight (works on desktop + mobile) */
.nav-link{border:1px solid transparent;border-radius:999px;padding:8px 12px;}
.nav-link.active,
.nav-link[aria-current="page"]{border-color:rgba(140,190,255,.45);background:rgba(90,140,255,.12);box-shadow:0 0 0 1px rgba(140,190,255,.15) inset;}

/* --- Final mobile + header overrides (Jan 2026) --- */

/* Ensure the hamburger button is always tappable above overlays on iOS */
.nav-toggle{
  position: relative;
  z-index: 3005;
}

/* 4-line hamburger icon */
.nav-toggle span{
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.92);
  display: block;
  margin: 3px 0;
}

/* Keep overlay below the drawer, but above the page */
.nav-overlay{ z-index: 2500; }
#site-nav{ z-index: 2600; }

/* Make sure drawer content can receive taps */
.nav-drawer, #site-nav *{ pointer-events: auto; }

/* Remove the old "Menu" label (we show EN/ES instead) */

/* Language switch styling */
.lang-switch{ display:flex; gap:10px; align-items:center; }
.lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(0,0,0,0.18);
  color:rgba(255,255,255,0.92);
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.02em;
}
.lang-switch a.active{ border-color: rgba(140,190,255,.55); background: rgba(90,140,255,.16); }

/* WhatsApp floating button */
/* Keep footer links from being hidden behind the WA button on wide screens */
@media (min-width: 900px){
  .footer .footer-links{ padding-right: 190px; }
}

/* Keep overlay below the drawer, but above the page */
.nav-overlay{
  z-index: 2990;
}
#site-nav{
  z-index: 3000;
}

/* Hide the old “Menu/Menú” title (we use EN/ES instead) */

/* Language switch pills */
.lang-switch{
  display:flex;
  gap:8px;
  align-items:center;
}
.lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  text-decoration:none;
  background: rgba(255,255,255,0.06);
}
.lang-switch a.active{
  border-color: rgba(120,110,255,0.85);
  box-shadow: 0 0 0 3px rgba(120,110,255,0.18);
}

/* Active tab styling (desktop nav) */
.nav-link{ border-radius: 999px; }
.nav-link.active{
  border:1px solid rgba(120,110,255,0.8);
  background: rgba(120,110,255,0.12);
}

/* WhatsApp floating action button */
/* Keep footer links visible on desktop (WA button should not cover) */
@media (min-width: 900px){
  .footer-links{ padding-right: 180px; }
}


/* =====================================================================
   FINAL HOTFIXES (Mobile Safari/Chrome menu tap + active tab styling)
   ===================================================================== */

@media (max-width: 900px){
  /* Make sure the overlay never blocks taps on the drawer */
  .nav-overlay{
    z-index: 9998 !important;
  }
  #site-nav{
    z-index: 9999 !important;
    pointer-events: auto !important;
  }
  #site-nav *{
    pointer-events: auto !important;
  }
  .nav-toggle{
    z-index: 10000 !important;
  }
}

/* Active tab / current page — make it feel like a button */
.nav-links a,
.nav-list a{
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-links a.active,
.nav-list a.active{
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* Keep hamburger icon as 4 stacked lines */
.nav-toggle{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}
.nav-toggle span{
  display: block !important;
  height: 2px !important;
  width: 22px !important;
  border-radius: 2px !important;
}

/* =====================================================================
   FINAL HOTFIXES (Mobile Safari/Chrome menu tap + active tab styling)
   ===================================================================== */

@media (max-width: 900px){
  /* Make sure the overlay never blocks taps on the drawer */
  .nav-overlay{ z-index: 9998 !important; }
  #site-nav{ z-index: 9999 !important; }
  .nav-toggle{ z-index: 10000 !important; }

  /* Some mobile browsers get weird with touch-action on overlays */
  .nav-overlay,
  #site-nav{ touch-action: auto !important; }
}

/* Stronger active-state styling for desktop nav tabs */
.nav-links a{
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
}
.nav-links a:hover{ border-color: rgba(255,255,255,0.18); }
.nav-links a.active,
.nav-links a[aria-current="page"]{
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.05);
}

/* =====================================================================
   FINAL HOTFIXES (Mobile Safari/Chrome menu tap + active tab styling)
   ===================================================================== */

@media (max-width: 900px){
  /* Ensure the overlay never blocks taps on the drawer */
  .nav-overlay{ z-index: 9998 !important; touch-action: auto !important; }
  #site-nav{ z-index: 9999 !important; touch-action: auto !important; }
  /* Force tap/click through on menu items */
  #site-nav, #site-nav *{ pointer-events: auto !important; }
}

/* Hide the 'Menu' label everywhere (we show language toggle instead) */

/* Active tab / current page styling (desktop + mobile) */
.nav-links a.active,
.nav-links a[aria-current="page"]{
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
}



/* --- Desktop language switch + active nav pills --- */
.lang-switch-desktop{display:flex;gap:10px;align-items:center;margin-left:18px;}
.lang-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:34px;padding:0 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#e9ecff;text-decoration:none;font-weight:600;font-size:13px;}
.lang-pill.active{border-color:rgba(122,98,255,.8);box-shadow:0 0 0 2px rgba(122,98,255,.15) inset;}
.nav-links a.active, .drawer-links a.active{
  border:1px solid rgba(122,98,255,.55);
  background:rgba(122,98,255,.10);
  border-radius:999px;
  padding:8px 14px;
}
.nav-links a{padding:8px 14px;border-radius:999px;}
/* Desktop: never show hamburger */
@media (min-width: 821px){
  .nav-toggle{display:none !important;}
  .nav-overlay{display:none !important;}
}
/* Mobile: hide desktop language switch to keep header clean (language switch stays inside drawer too) */
@media (max-width: 820px){
  .lang-switch-desktop{display:none !important;}
}

@media (min-width:1024px){
  .hamburger,.hamburger-menu,.mobile-menu{display:none!important}
}
.nav a, nav a{
  position:relative;
  padding:8px 14px;
  border-radius:14px;
  transition:box-shadow .25s ease,color .25s ease;
}
.nav a:hover,nav a:hover,.nav a.active,nav a.active{
  box-shadow:0 0 0 2px rgba(138,99,255,.9),0 0 18px rgba(138,99,255,.6);
}
/* --- Desktop language toggle placement --- */
.site-header { position: sticky; }
/* Push desktop nav slightly down so it doesn't overlap the language button */
@media (min-width: 901px){
  .site-header { padding-top: 22px; }
  .site-header .nav-links { margin-top: 6px; }
}

/* ===================== MOBILE NAV FIX OVERRIDES (DO NOT AFFECT DESKTOP) ===================== */
/* 1) Ensure the old body pseudo-overlay never blocks taps (we use .nav-overlay element instead) */
body.nav-open::before { display: none !important; pointer-events: none !important; }

/* 2) Desktop should NOT show the hamburger button */
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
}

/* 3) Mobile hamburger: force 4 stacked lines and enough height */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    z-index: 4005 !important;
  }
  .nav-toggle span {
    position: static !important;
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12) inset !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Keep overlay below drawer so links are clickable */
  .nav-overlay { z-index: 3990 !important; }
  #site-nav { z-index: 4000 !important; pointer-events: auto !important; }

  /* Mobile language button INSIDE drawer */
  .nav-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(140, 110, 255, 0.45);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    background: rgba(80, 60, 190, 0.18);
    box-shadow: 0 0 0 1px rgba(140, 110, 255, 0.12) inset, 0 10px 30px rgba(0,0,0,0.35);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  }
  .nav-lang-btn:active { transform: translateY(1px); }
  .nav-lang-btn:hover {
    background: rgba(130, 95, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(170, 140, 255, 0.25) inset, 0 12px 34px rgba(120, 90, 255, 0.25);
  }
}


/* === Clickable mobile menu fix: overlay never blocks taps === */
@media (max-width: 900px){
  .nav-overlay{ pointer-events: none !important; }
}


/* === MOBILE hamburger visibility (no desktop changes) === */
@media (max-width: 900px){
  .nav-toggle{
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 10px;
  }
  .nav-toggle span{
    display:block;
    width: 22px;
    height: 3px;
    margin: 4px 0;
    background: #ffffff;
    opacity: 0.95;
    border-radius: 2px;
  }
}


/* === MOBILE polish: subtle tap + open/close animation + thicker lines (no desktop changes) === */
@media (max-width: 900px){
  :root{
    --hamburger-line: 3px;          /* thickness */
    --hamburger-width: 22px;
    --hamburger-gap: 4px;
    --tap-scale: 0.97;
  }

  .nav-toggle{
    transition: background .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }

  /* subtle hover (works on some mobile browsers with cursor) */
  .nav-toggle:hover{
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.32);
    box-shadow: 0 0 14px rgba(160,120,255,0.25);
  }

  /* tap feedback */
  .nav-toggle:active{
    transform: );
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.38);
  }

  .nav-toggle span{
    width: var(--hamburger-width);
    height: var(--hamburger-line);
    margin: var(--hamburger-gap) 0;
    transition: opacity .18s ease, transform .18s ease;
  }

  /* Drawer open/close animation (smooth) */
  #site-nav{
    transition: right .22s ease, transform .22s ease, opacity .18s ease;
    transform: translateX(12px);
    opacity: 0.98;
    will-change: transform, right;
  }
  body.nav-open #site-nav{
    transform: translateX(0);
    opacity: 1;
  }

  /* Background fade (overlay) animation (even though it's non-blocking) */
  .nav-overlay{
    transition: opacity .18s ease;
  }
}


/* === MOBILE NAV VISIBILITY GUARANTEE (v3) === */
@media (max-width: 900px){
  /* Keep drawer hidden by default */
  #site-nav{
    right: -360px !important;
    transform: none !important;
    opacity: 1 !important;
  }
  body.nav-open #site-nav{
    right: 0 !important;
  }
}
/* === END MOBILE NAV VISIBILITY GUARANTEE (v3) === */

/* Subtle glow + pulse for primary CTA */
@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 rgba(59,130,246,0.0);
  }
  50% {
    box-shadow: 0 0 18px rgba(59,130,246,0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(59,130,246,0.0);
  }
}

.cta-primary,
.schedule-it-review {
  animation: softPulse 7s ease-in-out infinite;
}

/* CTA click safety */
.btn, .btn.secondary {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}


/* OPTION B: Motion + polish */
:root{
  --ring: 0 0 0 6px rgba(59,130,246,.12);
  --ring2: 0 0 0 6px rgba(96,165,250,.10);
}

/* Subtle animated aurora */
body::after{
  content:"";
  position:fixed;
  inset:-20% -10%;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(59,130,246,.16) 0%, transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(96,165,250,.10) 0%, transparent 55%),
    radial-gradient(800px 600px at 70% 80%, rgba(34,197,94,.08) 0%, transparent 60%);
  filter: blur(18px);
  opacity:.9;
  pointer-events:none;
  z-index:-2;
  animation: auroraFloat 18s ease-in-out infinite alternate;
  transform: translate3d(0,0,0);
}
@keyframes auroraFloat{
  0%{ transform: translate3d(-1.5%, -1.0%, 0) scale(1.02); }
  100%{ transform: translate3d(1.5%, 1.0%, 0) scale(1.04); }
}

/* Header “shrink + blur” on scroll */
header.sticky{
  transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
}
header.sticky.scrolled{
  background:rgba(11,18,32,.86);
  box-shadow: 0 14px 40px rgba(0,0,0,.30);
  border-bottom-color: rgba(255,255,255,.14);
}

/* Buttons: a bit more premium */
.btn{
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, background .14s ease;
  will-change: transform;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.secondary:hover{ box-shadow: var(--ring2); }

/* Cards: hover lift + border glow */
.card{
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(96,165,250,.30);
  box-shadow: 0 22px 60px rgba(0,0,0,.38);
}
.card:focus-within{
  box-shadow: var(--ring);
  border-color: rgba(59,130,246,.35);
}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible{
  opacity:1;
  transform: translateY(0);
}

/* Floating CTA */
.fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fab a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.30);
  font-weight:700;
  font-size:14px;
}
.fab a.primary{
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  border-color: rgba(59,130,246,.40);
  color:#fff;
}
.fab a:hover{ transform: translateY(-1px); }
.fab a:active{ transform: translateY(0); }
.fab svg{ width:18px; height:18px; opacity:.95; }

@media (max-width: 560px){
  .fab{ right:12px; bottom:12px; }
  .fab a{ padding:12px 12px; }
  .fab a span{ display:none; } /* show icon-only on small screens */
  .fab a{ border-radius:16px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  body::after{ animation:none !important; }
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .btn, .card, header.sticky{ transition:none !important; }
}


/* OPTION B: Final polish */
.hero{
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(700px 420px at 20% 18%, rgba(59,130,246,.22) 0%, transparent 55%),
    radial-gradient(620px 420px at 78% 10%, rgba(99,102,241,.16) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 55%);
  pointer-events:none;
  z-index:-1;
}
.hero::after{
  /* subtle grid */
  content:"";
  position:absolute;
  inset:-20px;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(closest-side at 50% 12%, rgba(0,0,0,.55), transparent 70%);
  opacity:.18;
  pointer-events:none;
  z-index:-1;
}

.hero .h1{ max-width: 22ch; }
.hero .lead{ max-width: 70ch; }

.hero-visual svg{
  transform-origin: 50% 50%;
  animation: heroFloat 8.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 70px rgba(0,0,0,.35));
}
@keyframes heroFloat{
  0%{ transform: translate3d(0,0,0) rotate(-.15deg); }
  50%{ transform: translate3d(0,-8px,0) rotate(.15deg); }
  100%{ transform: translate3d(0,0,0) rotate(-.15deg); }
}

/* Make primary CTA pop a bit more */
.btn{
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
}
.btn.secondary{
  box-shadow: none;
}
.btn:focus-visible{
  outline:none;
  box-shadow: var(--ring);
}

/* Better mobile hero and button layout */
@media (max-width: 820px){
  .hero{ padding:64px 0 44px; }
}
@media (max-width: 640px){
  .hero{ padding:54px 0 40px; }
  .lead{ font-size:16px; }
  .row{ flex-wrap:wrap; }
  .row .btn{ width:100%; justify-content:center; }
}


/* OPTION B: Layout fixes (nav + floating contact) */
.nav ul{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}

/* prevent the language pills from drifting */
.lang-switch{
  display:flex;
  gap:10px;
  align-items:center;
}

@media (max-width: 900px){
  .nav ul{ gap:12px; }
  .nav a{ padding:10px 8px; }
}

@media (max-width: 640px){
  /* keep your mobile menu behavior, but ensure items stack cleanly */
  .nav ul{ flex-direction:column; align-items:stretch; }
  .nav a{ width:100%; }
}

/* Floating contact: aligned, consistent width */
.fab{
  align-items:flex-end;
}
.fab a{
  min-width: 180px;
  justify-content:center;
  text-decoration:none;
  box-sizing:border-box;
}
.fab a.primary{
  box-shadow: 0 18px 40px rgba(0,0,0,.30);
}
@media (max-width: 560px){
  .fab a{ min-width: auto; }
}


/* SITE-NAV RIGHT STACK */
.nav-right{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.nav-right .nav-lang{
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
  font-size:12px;
  letter-spacing:.04em;
  color:rgba(255,255,255,.92);
}
.nav-right .nav-contact{
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
}

/* Drawer layout (vertical) */
.nav-links .nav-right{
  margin-left:0;
  align-items:flex-start;
  width:100%;
}
.nav-links .nav-right .nav-contact,
.nav-links .nav-right .nav-lang{
  width:100%;
  text-align:left;
}

@media (min-width: 901px){
  .nav-links{ align-items:center; }
  .nav-links .nav-right{
    margin-left:auto;
    align-items:flex-end;
    width:auto;
  }
  .nav-links .nav-right .nav-contact,
  .nav-links .nav-right .nav-lang{
    width:max-content;
    text-align:right;
  }
}


/* GLOBAL NAV + FAB CLEAN */
.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
}
.nav-link{ white-space:nowrap; }

/* Language toggle at end */
.nav-link.nav-lang{
  margin-left:auto;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
  font-size:12px;
  letter-spacing:.06em;
}

/* Mobile drawer: make it vertical + full width */
@media (max-width: 900px){
  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .nav-link.nav-lang{
    margin-left:0;
    text-align:left;
    width:100%;
  }
}

/* Floating buttons */
.fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
  display:flex;
  flex-direction:column;
  gap:10px;
  pointer-events:auto;
}
.fab a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(17,24,39,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color:rgba(255,255,255,.94);
  font-weight:900;
  text-decoration:none;
  min-width:210px;
  justify-content:center;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab a:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.fab a svg{ width:18px; height:18px; }
.fab a.primary{
  background: linear-gradient(90deg,#2563eb,#22c55e);
  border-color: rgba(255,255,255,.18);
}
.fab a.whatsapp{
  background: linear-gradient(90deg,#16a34a,#22c55e);
}
.fab a.email{
  background: rgba(255,255,255,.05);
}


/* CROSS-BROWSER NORMALIZE */
html{-webkit-text-size-adjust:100%;}
body{overscroll-behavior: none;}
.site-header{padding-top: env(safe-area-inset-top);}
.fab{bottom: calc(18px + env(safe-area-inset-bottom));}
@media (max-width:520px){
  .fab{bottom: calc(14px + env(safe-area-inset-bottom));}
}


/* FAB ICON STACK (CIRCULAR) */
.fab{
  position:fixed;
  right:18px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:999;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.fab-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(17,24,39,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color:rgba(255,255,255,.92);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-decoration:none;
}
/* Override generic .fab a pill styles */
.fab .fab-icon{
  padding:0;
  min-width:0;
}
.fab-icon:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 54px rgba(0,0,0,.45);
  filter: brightness(1.05);
}
.fab-icon svg{ width:22px; height:22px; }

/* Primary (+) */
.fab-icon.quote{
  background: linear-gradient(135deg,#2563eb,#60a5fa);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

/* Secondary icons (neutral) */
.fab-icon.wa,
.fab-icon.mail{
  background: rgba(17,24,39,.55);
}

/* Mobile tuning */
@media (max-width: 520px){
  .fab{ right:14px; bottom:calc(14px + env(safe-area-inset-bottom)); gap:10px; }
  .fab-icon{ width:50px; height:50px; }
  .fab-icon svg{ width:21px; height:21px; }
}


/* iOS: slightly smaller buttons only (lift is handled by JS so it works everywhere) */
@supports (-webkit-touch-callout: none) {
  .fab-icon{ width: 44px; height: 44px; }
  .fab-icon svg{ width: 18px; height: 18px; }
}
@supports (-webkit-touch-callout: none) {
  @media (max-width: 420px){
    .fab-icon{ width: 42px; height: 42px; }
    .fab-icon svg{ width: 17px; height: 17px; }
  }
}


/* FAB VISIBILITY */
.fab{
  transition: bottom .22s ease, transform .22s ease, opacity .22s ease;
  will-change: bottom, transform, opacity;
}
.fab.fab--hidden{
  opacity:0;
  pointer-events:none;
  transform: translateY(10px);
}


/* (Removed duplicate iOS bottom overrides; base positioning is consistent now.) */


/* FAB ICON-ONLY NORMALIZE (prevents wide pills on pages that still have label text) */
.fab a{
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  gap: 0;
}
.fab a span{ display:none; }
.fab a svg{ width: 20px; height: 20px; }

/* iOS: slightly smaller so it doesn't cover content */
@supports (-webkit-touch-callout: none) {
  .fab a{ width: 50px; height: 50px; }
  .fab a svg{ width: 18px; height: 18px; }
}
@supports (-webkit-touch-callout: none) {
  @media (max-width: 420px){
    .fab a{ width: 48px; height: 48px; }
    .fab a svg{ width: 17px; height: 17px; }
  }
}


/* FAB IOS NARROW OVERRIDES (force icon-only + narrow, override any legacy pill styles) */
.fab a, .fab button, .fab .fab__btn, .fab .fab-btn, .fab .fab-item{
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
}
.fab a span, .fab button span, .fab [class*="label"], .fab [class*="text"]{
  display: none !important;
}
.fab svg, .fab img{
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 auto !important;
}
@supports (-webkit-touch-callout: none) {
  .fab a, .fab button, .fab .fab__btn, .fab .fab-btn, .fab .fab-item{
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
  .fab svg, .fab img{ width: 18px !important; height: 18px !important; }
}


/* FORCE DARK THEME (Safari/macOS/iOS consistency) */
:root{ color-scheme: dark; }
html, body{
  background: radial-gradient(1200px 800px at 20% 0%, rgba(52,110,255,.22), rgba(7,10,18,0) 60%),
              radial-gradient(900px 700px at 80% 20%, rgba(66,255,197,.10), rgba(7,10,18,0) 55%),
              #070a12 !important;
  background-color: #070a12 !important;
}


/* HIDE FAB EMAIL */
.fab .fab__email,
.fab a[href^="mailto:"],
.fab .fab-email,
.fab [data-fab="email"],
.fab .fab__item--email{
  display: none !important;
}


/* FAB MINIMAL TWO BUTTONS ( + and WhatsApp only ) */
.fab{ position: fixed; right: 18px; bottom: 18px; z-index: 9999; display:flex; flex-direction:column; align-items:flex-end; gap: 10px; }
.fab__stack{ display:flex; flex-direction:column; gap:10px; opacity:0; pointer-events:none; transform: translateY(6px); transition: .18s ease; }
.fab--open .fab__stack{ opacity:1; pointer-events:auto; transform: translateY(0); }
.fab__main, .fab__wa{
  width:56px; height:56px; border-radius:9999px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,16,28,.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  color: #eaf0ff;
}
.fab__main{
  background: linear-gradient(135deg, rgba(54,120,255,.95), rgba(54,120,255,.70));
  border-color: rgba(120,170,255,.35);
  font-size: 28px;
  line-height: 1;
}
.fab__wa{
  background: rgba(10,16,28,.65);
}
.fab__wa svg{ width:20px; height:20px; }
@supports (-webkit-touch-callout: none){
  .fab{ right:14px; bottom:14px; gap: 9px; }
  .fab__main, .fab__wa{ width:46px; height:46px; }
  .fab__main{ font-size:24px; }
  .fab__wa svg{ width:18px; height:18px; }
}


/* FAB FOOTER LIFT VAR */
.fab{
  --fab-base-bottom: 18px;
  --fab-lift: 0px;
  bottom: calc(var(--fab-base-bottom) + var(--fab-lift)) !important;
}
@supports (-webkit-touch-callout: none){
  .fab{ --fab-base-bottom: 14px; }
}

/* === FAB V3 (unified) === */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transform: translateY(var(--fab-raise, 0px)); transition: transform 200ms ease, opacity 150ms ease; }
.fab.fab--hide { opacity: 0; pointer-events: none; }

.fab-main,
.fab-action { width: 56px; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

.fab-main { background: linear-gradient(135deg, rgba(67,139,255,0.95), rgba(38,88,255,0.9)); color: #fff; }
.fab-main .fab-plus { font-size: 30px; line-height: 1; transform: translateY(-1px); }

.fab-action { background: rgba(15,18,25,0.55); color: #fff; text-decoration: none; }
.fab-action .fab-ico { width: 22px; height: 22px; display: block; }

.fab-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* iOS / small screens: slightly smaller so it doesn't cover content */
@media (max-width: 520px) {
  .fab { right: 14px; bottom: 14px; gap: 8px; }
  .fab-main, .fab-action { width: 48px; height: 48px; }
  .fab-main .fab-plus { font-size: 26px; }
  .fab-action .fab-ico { width: 20px; height: 20px; }
}

/* When near footer, raise via JS by setting --fab-raise */
