/* FCR — main stylesheet. Quiet luxury + Tesla/SpaceX tech aesthetic. */

/* ── RESET & TOKENS ───────────────────────── */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
:root{
  --bg:       #06090f;
  --bg2:      #0a1018;
  --bg3:      #0e1520;
  --card:     rgba(255,255,255,0.03);
  --card-glass: rgba(255,255,255,0.04);
  --line:     rgba(255,255,255,0.07);
  --line-glow: rgba(215,180,108,0.12);
  --gold:     #d7b46c;
  --gold2:    #efd39a;
  --gold-dim: rgba(215,180,108,0.10);
  --text:     #f0ece4;
  --muted:    #8a96a6;
  --muted2:   #4e5d6e;
  --radius:   16px;
  --safe-b:   env(safe-area-inset-bottom,0px);
  --glow:     0 0 40px rgba(215,180,108,0.08);
}
body{
  font-family:'Manrope',sans-serif;
  color:var(--text);
  background:var(--bg);
  min-height:100vh;
  position:relative;
}
/* Noise texture overlay (SpaceX/Linear grain) */
body::after{
  content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;
  opacity:.035;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat:repeat;background-size:180px;
}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit;cursor:pointer}

.shell{max-width:1160px;margin:0 auto;padding:0 24px}

/* ── TYPOGRAPHY ──────────────────────────── */
.serif{font-family:'Cormorant Garamond',serif}
.tag{
  display:inline-block;
  font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
h2.headline{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2rem,4vw,3rem);font-weight:600;
  line-height:1.15;color:var(--text);margin-bottom:16px;
}
.lead{color:var(--muted);font-size:1rem;line-height:1.7;max-width:520px}

/* ── BUTTONS (Tesla precision) ────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--gold);color:#06090f;
  padding:14px 28px;border-radius:10px;
  font-weight:700;font-size:.88rem;border:none;
  transition:all .3s cubic-bezier(.2,.65,.25,1);white-space:nowrap;
  letter-spacing:.02em;
  box-shadow:0 0 0 0 rgba(215,180,108,0);
}
.btn:hover{background:var(--gold2);transform:translateY(-1px);box-shadow:0 4px 24px rgba(215,180,108,0.25)}
.btn-ghost{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;color:var(--text);
  border:1px solid var(--line);
  padding:13px 26px;border-radius:10px;
  font-weight:600;font-size:.88rem;
  transition:all .3s cubic-bezier(.2,.65,.25,1);white-space:nowrap;
  letter-spacing:.02em;
}
.btn-ghost:hover{border-color:rgba(215,180,108,0.4);color:var(--gold);box-shadow:0 0 20px rgba(215,180,108,0.06)}
.btn-wa{
  display:inline-flex;align-items:center;gap:8px;
  background:#25D366;color:#fff;
  padding:14px 24px;border-radius:10px;
  font-weight:700;font-size:.92rem;border:none;
  transition:all .2s;
}
.btn-wa:hover{background:#1ebd5a}

/* ── HEADER ──────────────────────────────── */
.header{
  position:sticky;top:0;z-index:100;
  backdrop-filter:blur(20px);
  background:rgba(9,17,28,0.88);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:66px;
}
.logo{
  font-family:'Cormorant Garamond',serif;
  font-size:1.25rem;font-weight:600;color:var(--gold);line-height:1.1;
}
.logo small{display:block;font-family:'Manrope',sans-serif;font-size:.67rem;font-weight:500;color:var(--muted2);letter-spacing:.06em;text-transform:uppercase;margin-top:2px}
.nav{display:flex;align-items:center;gap:4px}
.nav a{padding:8px 13px;border-radius:8px;font-size:.85rem;font-weight:500;color:var(--muted);transition:all .2s}
.nav a:hover{color:var(--gold);background:var(--gold-dim)}
.nav .btn-nav{background:var(--gold);color:#0b1320;padding:9px 18px;border-radius:8px;font-weight:700;font-size:.85rem}
.nav .btn-nav:hover{background:var(--gold2)}
.hamburger{display:none;background:none;border:none;padding:8px;color:var(--text)}
.lang-toggle{
  background:transparent;border:1px solid var(--line);
  color:var(--muted);padding:7px 13px;border-radius:8px;
  font-size:.72rem;font-weight:700;letter-spacing:.08em;
  transition:all .2s;margin-right:6px;min-width:44px;
}
.lang-toggle:hover{color:var(--gold);border-color:var(--gold)}
::view-transition-old(root),::view-transition-new(root){animation-duration:.24s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
.hamburger svg{width:22px;height:22px}

/* ── MOBILE NAV ──────────────────────────── */
.mob-nav{
  display:none;position:fixed;
  top:66px;left:0;right:0;bottom:0;z-index:99;
  background:var(--bg);overflow-y:auto;padding:24px;
}
.mob-nav.open{display:block}
.mob-nav a{display:block;padding:16px 0;font-size:1.05rem;font-weight:600;border-bottom:1px solid var(--line);color:var(--text)}
.mob-ctas{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}

/* ── HERO ────────────────────────────────── */
.hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden;background:#060e18}
.hero video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:.6;
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(to right, rgba(6,9,15,0.92) 0%, rgba(6,9,15,0.55) 50%, rgba(6,9,15,0.15) 100%),
    linear-gradient(to top, rgba(6,9,15,0.7) 0%, transparent 40%);
}
.hero-body{
  position:relative;z-index:2;
  padding:80px 0 80px;
  max-width:620px;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(215,180,108,0.12);border:1px solid rgba(215,180,108,0.3);
  color:var(--gold);font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:6px 14px;border-radius:100px;margin-bottom:28px;
}
.hero h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,5.5vw,4.2rem);
  font-weight:600;line-height:1.1;color:#fff;margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(90deg,var(--gold),var(--gold2),var(--gold),var(--gold2));
  background-size:300% 100%;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:shimmer 4s ease-in-out infinite;
}
@keyframes shimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.hero-sub{font-size:1.05rem;color:rgba(255,255,255,0.72);line-height:1.72;margin-bottom:36px;max-width:500px}
.hero-btns{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:40px}
.hero-trust{display:flex;flex-wrap:wrap;gap:18px}
.trust-pill{
  display:flex;align-items:center;gap:7px;
  font-size:.78rem;color:rgba(255,255,255,0.6);
}
.trust-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);flex-shrink:0}

/* ── SERVICES ────────────────────────────── */
.services-section{background:var(--bg2);padding:90px 0}
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;margin-top:52px;
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);
}
.svc{
  position:relative;padding:36px 28px;
  background:var(--card-glass);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .35s,transform .35s,box-shadow .35s;
  overflow:hidden;
  transform-style:preserve-3d;
}
.svc:hover{background:rgba(255,255,255,0.06);box-shadow:0 8px 32px rgba(0,0,0,0.3),inset 0 1px 0 rgba(215,180,108,0.08)}
.svc::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(to right,var(--gold),transparent);
  opacity:0;transition:opacity .25s;
}
.svc:hover::before{opacity:1}
.svc-icon{
  width:52px;height:52px;border-radius:12px;
  background:var(--gold-dim);border:1px solid rgba(215,180,108,0.2);
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;margin-bottom:20px;
}
.svc h3{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:600;color:var(--text);margin-bottom:8px}
.svc p{font-size:.84rem;color:var(--muted);line-height:1.65;margin-bottom:16px}
.svc-link{font-size:.8rem;font-weight:600;color:var(--gold);display:flex;align-items:center;gap:5px;transition:gap .2s}
.svc:hover .svc-link{gap:9px}
.services-cta{text-align:center;margin-top:48px;display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

/* ── TRACK RECORD (bone background, editorial, honest) ─── */
.projects-section{background:#F5F2ED;color:#09111c;padding:clamp(72px,9vw,110px) 0}
.projects-section .tag{color:#8b7536}
.projects-section h2.headline{color:#09111c;max-width:720px}
.projects-section .lead{color:#4b5a6c;max-width:640px}

.stats-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  margin-top:48px;padding-top:40px;border-top:1px solid rgba(9,17,28,0.1);
}
.stat{text-align:left}
.stat-num{
  display:block;font-family:'Cormorant Garamond',serif;
  font-size:clamp(2rem,4.2vw,2.9rem);font-weight:600;
  color:#09111c;line-height:1;
}
.stat-num .stat-plus{color:var(--gold)}
.stat-lbl{
  display:block;font-size:.72rem;color:#6b7a8d;
  letter-spacing:.1em;text-transform:uppercase;margin-top:8px;font-weight:600;
}

.projects-cta{
  display:flex;flex-wrap:wrap;gap:12px;margin-top:40px;
}
.projects-section .btn{background:#09111c;color:#F5F2ED}
.projects-section .btn:hover{background:#1b2a3d}
.projects-ghost{border-color:rgba(9,17,28,0.2);color:#09111c}
.projects-ghost:hover{border-color:#09111c;color:#09111c;background:rgba(9,17,28,0.04)}

/* ── KINETIC RAILS (ELTIGRELABS-grade marquee) ── */
.rails-section{background:var(--bg);padding:48px 0;overflow:hidden;position:relative}
.rails-section::before,.rails-section::after{
  content:"";position:absolute;top:0;bottom:0;width:clamp(60px,12vw,180px);z-index:3;pointer-events:none;
}
.rails-section::before{left:0;background:linear-gradient(to right,var(--bg),transparent)}
.rails-section::after{right:0;background:linear-gradient(to left,var(--bg),transparent)}
.rail{overflow:hidden;padding:10px 0}
.rail-track{
  display:flex;gap:clamp(24px,4vw,48px);white-space:nowrap;
  font-size:clamp(.68rem,.68rem + .15vw,.78rem);font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;
  will-change:transform;
}
.rail-track a,.rail-track span{color:var(--muted2);transition:color .3s,text-shadow .3s;text-decoration:none}
.rail-track a:hover,.rail-track span:hover{color:var(--gold);text-shadow:0 0 18px rgba(215,180,108,0.3)}
.rail-track.gold a,.rail-track.gold span{color:rgba(215,180,108,0.35)}
.rail-track.gold a:hover,.rail-track.gold span:hover{color:var(--gold);text-shadow:0 0 20px rgba(215,180,108,0.4)}
.rail--left .rail-track{animation:rail-scroll-l 40s linear infinite}
.rail--right .rail-track{animation:rail-scroll-r 45s linear infinite}
.rail--slow .rail-track{animation-duration:55s}
@keyframes rail-scroll-l{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes rail-scroll-r{0%{transform:translateX(-50%)}100%{transform:translateX(0)}}
.rail-track:hover{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.rail-track{animation:none!important}}

@media(max-width:680px){.stats-row{grid-template-columns:repeat(2,1fr);gap:28px}.projects-section{padding:72px 0}.projects-cta{flex-direction:column;gap:10px}.projects-cta .btn,.projects-cta .btn-ghost{justify-content:center}}

/* ── WHY US ──────────────────────────────── */
.why-section{padding:90px 0;background:var(--bg)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:52px}
.why-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 24px;text-align:center;
}
.why-num{
  font-family:'Cormorant Garamond',serif;
  font-size:2.8rem;font-weight:600;color:var(--gold);line-height:1;margin-bottom:8px;
}
.why-card h4{font-size:.92rem;font-weight:700;color:var(--text);margin-bottom:6px}
.why-card p{font-size:.8rem;color:var(--muted);line-height:1.6}

/* ── ASK JUAN (solo modal, sin sección) ─── */
.juan-chat-header{
  background:linear-gradient(135deg,rgba(215,180,108,0.15),rgba(215,180,108,0.05));
  border-bottom:1px solid var(--line);
  padding:18px 22px;display:flex;align-items:center;gap:12px;
}
.juan-avatar{
  width:42px;height:42px;border-radius:50%;
  background:var(--gold-dim);border:2px solid rgba(215,180,108,0.3);
  display:flex;align-items:center;justify-content:center;font-size:1.2rem;
}
.juan-name strong{display:block;font-size:.9rem;font-weight:700;color:var(--text)}
.juan-name span{font-size:.74rem;color:var(--muted2)}
.juan-online{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:.74rem;color:#4ade80}
.juan-online::before{content:'';width:7px;height:7px;border-radius:50%;background:#4ade80;display:block}
.juan-msgs{padding:18px;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:rgba(0,0,0,0.15);min-height:260px}
.jmsg{max-width:88%;padding:11px 15px;border-radius:12px;font-size:.86rem;line-height:1.65}
.jmsg-bot{background:var(--bg3);border:1px solid var(--line);color:var(--text);border-bottom-left-radius:3px}
.jmsg-user{background:var(--gold);color:#0b1320;font-weight:600;align-self:flex-end;border-bottom-right-radius:3px}
.jmsg-name{font-size:.7rem;font-weight:700;color:var(--gold);margin-bottom:4px}
.jmsg-typing{display:flex;gap:5px;align-items:center;padding:11px 15px}
.jmsg-typing span{width:7px;height:7px;border-radius:50%;background:var(--muted2);animation:bounce .9s infinite}
.jmsg-typing span:nth-child(2){animation-delay:.2s}
.jmsg-typing span:nth-child(3){animation-delay:.4s}
@keyframes bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}
.juan-quick{
  display:flex;flex-wrap:wrap;gap:7px;padding:12px 18px;
  border-top:1px solid var(--line);background:var(--bg3);
}
.juan-qbtn{
  padding:5px 13px;border-radius:100px;
  border:1px solid rgba(215,180,108,0.35);
  color:var(--gold);font-size:.76rem;font-weight:600;
  background:transparent;transition:all .15s;
}
.juan-qbtn:hover{background:var(--gold);color:#0b1320}
.juan-input-row{
  display:flex;gap:10px;padding:12px 18px;
  border-top:1px solid var(--line);background:var(--bg2);
}
.juan-txt{
  flex:1;background:var(--bg3);border:1px solid var(--line);border-radius:8px;
  padding:10px 14px;color:var(--text);font-size:.86rem;outline:none;
  transition:border-color .2s;
}
.juan-txt:focus{border-color:var(--gold)}
.juan-txt::placeholder{color:var(--muted2)}
.juan-send{
  background:var(--gold);color:#0b1320;border:none;border-radius:8px;
  padding:10px 16px;font-weight:700;font-size:.82rem;
}
.juan-send:hover{background:var(--gold2)}

/* ── PORTAL ──────────────────────────────── */
.portal-section{padding:90px 0;background:var(--bg)}
.portal-inner{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.portal-mock{
  background:var(--bg2);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  box-shadow:0 16px 48px rgba(0,0,0,0.35);
}
.portal-mock-bar{
  background:linear-gradient(90deg,rgba(215,180,108,0.12),rgba(215,180,108,0.04));
  border-bottom:1px solid var(--line);padding:16px 22px;
  display:flex;align-items:center;justify-content:space-between;
}
.portal-mock-bar span{font-weight:700;font-size:.9rem;color:var(--gold)}
.portal-status{font-size:.75rem;color:#4ade80;display:flex;align-items:center;gap:5px}
.portal-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#4ade80;display:block}
.portal-steps{padding:22px;display:flex;flex-direction:column;gap:10px}
.portal-step{
  background:var(--bg3);border:1px solid var(--line);border-radius:10px;
  padding:14px 16px;display:flex;align-items:center;gap:14px;
}
.pstep-icon{width:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.pstep-icon .ico{width:20px;height:20px}
.pstep-text strong{display:block;font-size:.85rem;color:var(--text);margin-bottom:2px}
.pstep-text span{font-size:.76rem;color:var(--muted2)}
.pstep-badge{
  margin-left:auto;font-size:.7rem;font-weight:700;padding:3px 9px;border-radius:100px;
}
.badge-done{background:rgba(74,222,128,0.15);color:#4ade80}
.badge-active{background:rgba(215,180,108,0.15);color:var(--gold)}
.badge-next{background:rgba(255,255,255,0.06);color:var(--muted2)}
.portal-cta-bar{
  padding:18px 22px;border-top:1px solid var(--line);background:var(--bg2);
  text-align:center;font-size:.82rem;color:var(--muted);
}
.portal-cta-bar a{color:var(--gold);font-weight:600}

/* ── PORTAL FEATURES LIST (replaces inline-style emoji stack) ──── */
.portal-feat{list-style:none;display:flex;flex-direction:column;gap:13px;margin-top:28px;padding:0}
.portal-feat li{display:flex;align-items:flex-start;gap:14px}
.portal-feat li .ico{width:22px;height:22px;color:var(--gold);flex-shrink:0;margin-top:2px}
.portal-feat li strong{display:block;font-size:.88rem;color:var(--text);font-weight:600}
.portal-feat li span{font-size:.8rem;color:var(--muted);line-height:1.55}
.portal-install{margin-top:32px;display:flex;flex-direction:column;gap:10px}
.portal-install-card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.portal-install-ttl{font-size:.78rem;color:var(--gold);font-weight:700;letter-spacing:.04em;margin-bottom:6px}
.portal-install-body{font-size:.78rem;color:var(--muted);line-height:1.6}
.portal-install-body strong{color:var(--text);font-weight:600}

/* ── FAQ ─────────────────────────────────── */
.faq-section{padding:90px 0;background:var(--bg2)}
.faq-inner{max-width:760px;margin:0 auto}
.faq-list{margin-top:44px;display:flex;flex-direction:column;gap:10px}
.faq-item{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.faq-q{
  width:100%;background:none;border:none;text-align:left;
  padding:20px 24px;font-size:.93rem;font-weight:600;color:var(--text);
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  transition:color .2s;
}
.faq-q:hover{color:var(--gold)}
.faq-icon{font-size:1.1rem;color:var(--gold);flex-shrink:0;transition:transform .3s;font-style:normal}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-a{display:none;padding:0 24px 20px;font-size:.87rem;color:var(--muted);line-height:1.75}
.faq-item.open .faq-a{display:block}
.faq-a a{color:var(--gold);font-weight:600}

/* ── LOCATIONS ───────────────────────────── */
.loc-section{padding:56px 0;border-top:1px solid var(--line);background:var(--bg)}
.loc-inner{text-align:center}
.loc-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:24px}
.loc-pill{
  padding:8px 18px;border-radius:100px;
  border:1px solid var(--line);font-size:.82rem;font-weight:500;color:var(--muted);
  transition:all .2s;
}
.loc-pill:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-dim)}

/* ── FINAL CTA ───────────────────────────── */
.cta-section{
  padding:90px 0;
  background:
    radial-gradient(ellipse at center top, rgba(215,180,108,0.12), transparent 60%),
    var(--bg3);
  border-top:1px solid var(--line);text-align:center;
}
.cta-section h2{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--text);margin-bottom:14px}
.cta-section p{color:var(--muted);font-size:1rem;max-width:480px;margin:0 auto 40px;line-height:1.7}
.cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}

/* ── FOOTER ──────────────────────────────── */
.footer{background:#060d16;border-top:1px solid var(--line);padding:60px 0 32px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:44px}
.footer-brand .logo{font-size:1.1rem}
.footer-brand p{font-size:.83rem;color:var(--muted2);line-height:1.7;margin-top:12px;max-width:280px}
.footer-brand .foot-contact{margin-top:18px;display:flex;flex-direction:column;gap:9px}
.footer-brand .foot-contact a{font-size:.83rem;color:var(--muted);display:flex;align-items:center;gap:8px;transition:color .2s}
.footer-brand .foot-contact a:hover{color:var(--gold)}
.footer-col h5{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted2);margin-bottom:14px}
.footer-col a{display:block;font-size:.83rem;color:var(--muted);margin-bottom:9px;transition:color .2s}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid var(--line);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.footer-bottom p{font-size:.76rem;color:var(--muted2)}

/* ── STICKY MOBILE BAR ───────────────────── */
.sticky-bar{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:90;
  background:var(--bg2);border-top:1px solid var(--line);
  padding:10px 12px;padding-bottom:calc(10px + var(--safe-b));
  gap:8px;
}
.sticky-bar a, .sticky-bar button{
  flex:1;padding:13px 6px;border-radius:9px;
  font-weight:700;font-size:.8rem;text-align:center;border:none;
  min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.s-call{background:var(--gold);color:#0b1320}
.s-wa{background:#25D366;color:#fff}
.s-juan{background:var(--card);border:1px solid rgba(215,180,108,0.4)!important;color:var(--gold)}

/* ── JUAN FAB (desktop) ──────────────────── */
.juan-fab{
  position:fixed;bottom:24px;right:24px;z-index:80;
  width:54px;height:54px;border-radius:50%;
  background:var(--gold);color:#0b1320;border:none;
  font-size:1.4rem;
  box-shadow:0 4px 24px rgba(215,180,108,0.35);
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s,box-shadow .2s;
}
.juan-fab:hover{transform:scale(1.1);box-shadow:0 6px 32px rgba(215,180,108,0.5)}

/* ── JUAN MODAL ──────────────────────────── */
.juan-overlay{
  display:none;position:fixed;inset:0;z-index:95;
  background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);
  align-items:flex-end;justify-content:flex-end;padding:20px;
}
.juan-overlay.open{display:flex}
.juan-modal{
  width:100%;max-width:370px;
  background:var(--bg2);border:1px solid var(--line);
  border-radius:20px;overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,0.5);
  display:flex;flex-direction:column;max-height:82vh;
}

/* ── RESPONSIVE ──────────────────────────── */
@media(max-width:960px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .juan-inner,.portal-inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .nav a:not(.btn-nav){display:none}
  .hamburger{display:block}
  .services-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-col{display:none}
  .footer-col:first-child+.footer-col{display:none}
  .sticky-bar{display:flex;flex-wrap:wrap}
  .sticky-bar a, .sticky-bar button{flex:1 1 45%;min-width:0;padding:12px 4px;font-size:.72rem}
  .hero h1{font-size:clamp(1.8rem,7vw,2.6rem)}
  .hero-sub{font-size:.9rem}
  .hero{min-height:80vh;padding-bottom:120px}
  .juan-fab{bottom:78px}
  .juan-overlay{padding:0;align-items:flex-end}
  .juan-modal{border-radius:20px 20px 0 0;max-height:90vh;max-width:100%}
}
@media(max-width:375px){
  .hero h1{font-size:1.6rem}
  .hero-sub{font-size:.82rem}
  .sticky-bar a, .sticky-bar button{font-size:.65rem;padding:10px 2px}
  .hero-badge{font-size:.7rem;padding:6px 14px}
}

/* ── SVG ICON HELPERS ────────────────────── */
.ico{width:1em;height:1em;display:inline-block;vertical-align:-0.14em;flex-shrink:0;fill:none;color:currentColor}
.ico-sm{width:.9em;height:.9em}
.ico-lg{width:1.25em;height:1.25em}
.ico-xl{width:1.7em;height:1.7em}
.svc-icon .ico{width:26px;height:26px;color:var(--gold)}
.trust-pill .ico{width:14px;height:14px;color:var(--gold);margin-right:2px}
.hero-badge .ico{width:13px;height:13px;color:var(--gold);margin-right:6px}
.hero-btns .btn .ico,.hero-btns .btn-ghost .ico{width:16px;height:16px}
.svc-link .ico{width:14px;height:14px}
.sticky-bar .ico{width:17px;height:17px;margin-right:4px;vertical-align:-0.2em}
.juan-fab .ico{width:22px;height:22px;color:#0b1320}
.faq-icon .ico{width:18px;height:18px;color:var(--gold);transition:transform .3s}
.faq-item.open .faq-icon .ico{transform:rotate(45deg)}

/* Trust pills tuned for contrast on dark hero (WCAG AA+) */
.trust-pill{color:rgba(255,255,255,0.82);font-size:.82rem}

/* ── SPRINT 4.5 HEAVYWEIGHT POLISH ───────── */

/* Scroll reveal (Linear/Stripe pattern) — desktop only to keep mobile fast */
@media(hover:hover) and (min-width:961px){
  [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.65,.25,1),transform .7s cubic-bezier(.2,.65,.25,1);will-change:opacity,transform}
  [data-reveal].is-revealed{opacity:1;transform:translateY(0)}
  [data-reveal][data-reveal-delay="1"]{transition-delay:.08s}
  [data-reveal][data-reveal-delay="2"]{transition-delay:.16s}
  [data-reveal][data-reveal-delay="3"]{transition-delay:.24s}
  [data-reveal][data-reveal-delay="4"]{transition-delay:.32s}
}

/* Magnetic buttons (Active Theory pattern) — desktop with hover only */
@media(hover:hover) and (min-width:961px){
  .btn, .btn-ghost, .btn-wa{transition:transform .35s cubic-bezier(.2,.65,.25,1), background .2s, border-color .2s, color .2s}
  .btn.magnetic-active, .btn-ghost.magnetic-active, .btn-wa.magnetic-active{transition:transform .18s cubic-bezier(.2,.65,.25,1)}
}

/* Custom cursor (Obys / Bruno Simon pattern) — desktop hover-only */
@media(hover:hover) and (min-width:961px){
  .cursor-dot,.cursor-ring{
    position:fixed;top:0;left:0;pointer-events:none;z-index:9999;
    transform:translate(-50%,-50%);mix-blend-mode:difference;
    will-change:transform;
  }
  .cursor-dot{width:6px;height:6px;background:var(--gold);border-radius:50%;transition:transform .1s cubic-bezier(.2,.65,.25,1),width .25s,height .25s}
  .cursor-ring{width:34px;height:34px;border:1.5px solid var(--gold);border-radius:50%;transition:transform .35s cubic-bezier(.2,.65,.25,1),width .25s,height .25s,border-color .2s}
  .cursor-ring.is-hover{width:62px;height:62px;border-color:var(--gold2)}
  .cursor-dot.is-hover{width:0;height:0}
  html.has-custom-cursor, html.has-custom-cursor *{cursor:none!important}
  html.has-custom-cursor input, html.has-custom-cursor textarea, html.has-custom-cursor select{cursor:text!important}
}

/* Mesh gradient accent under hero (Stripe subtle layer) */
.hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(ellipse 60% 40% at 82% 30%, rgba(215,180,108,0.13), transparent 65%),
    radial-gradient(ellipse 40% 30% at 12% 85%, rgba(215,180,108,0.06), transparent 60%);
  mix-blend-mode:screen;
}
.hero > .shell{position:relative;z-index:3}

/* Stats counter animation — numbers slide up while counting */
@media(hover:hover) and (min-width:961px){
  .stat-num{display:inline-block;transition:transform .5s cubic-bezier(.2,.65,.25,1)}
}

/* ── REDUCED MOTION RESPECT ──────────────── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .hero video{display:none}
}
