:root{
  --sc4-bg:#02050c;
  --sc4-panel:#07101d;
  --sc4-white:#f8fbff;
  --sc4-muted:#9fadc3;
  --sc4-cyan:#55f3ff;
  --sc4-blue:#008cff;
  --sc4-orange:#ff8a00;
  --sc4-green:#25d366;
  --sc4-line:rgba(255,255,255,.10);
}

html{scroll-padding-top:104px}
body.sc4-menu-open{overflow:hidden}

/* =========================================================
   HEADER
   ========================================================= */
.sc4-header{
  position:sticky;
  top:0;
  z-index:10000;
  height:102px;
  isolation:isolate;
  overflow:visible;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(2,5,12,.86);
  box-shadow:0 18px 60px rgba(0,0,0,.38);
  backdrop-filter:blur(26px) saturate(145%);
  transition:height .35s ease,background .35s ease,box-shadow .35s ease;
}

.sc4-header.is-scrolled{
  height:86px;
  background:rgba(2,5,12,.94);
  box-shadow:0 20px 65px rgba(0,0,0,.55);
}

.sc4-header-glow{
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}

.sc4-header-glow::before,
.sc4-header-glow::after{
  content:"";
  position:absolute;
  width:390px;
  height:150px;
  top:-72px;
  border-radius:50%;
  filter:blur(58px);
  opacity:.28;
  animation:sc4HeaderAurora 9s ease-in-out infinite alternate;
}

.sc4-header-glow::before{
  left:2%;
  background:rgba(0,140,255,.72);
}

.sc4-header-glow::after{
  right:4%;
  background:rgba(255,138,0,.52);
  animation-delay:-4s;
}

.sc4-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--sc4-cyan),var(--sc4-blue),var(--sc4-orange),transparent);
  background-size:240% 100%;
  opacity:.72;
  animation:sc4MovingLine 7s linear infinite;
}

@keyframes sc4MovingLine{to{background-position:240% 0}}
@keyframes sc4HeaderAurora{
  from{transform:translate3d(-12px,0,0) scale(.94)}
  to{transform:translate3d(42px,22px,0) scale(1.12)}
}

.sc4-header-inner{
  width:min(1540px,calc(100% - 42px));
  height:100%;
  margin:auto;
  display:grid;
  grid-template-columns:310px minmax(520px,1fr) auto;
  align-items:center;
  gap:24px;
}

.sc4-logo{
  position:relative;
  width:310px;
  height:82px;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-radius:22px;
}

.sc4-logo::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-42%;
  width:28%;
  height:180%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  animation:sc4LogoShine 5.8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes sc4LogoShine{
  0%,58%{left:-42%;opacity:0}
  66%{opacity:1}
  82%,100%{left:116%;opacity:0}
}

.sc4-logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:left center;
  transform:scale(2.42);
  transform-origin:left center;
  filter:drop-shadow(0 0 20px rgba(0,140,255,.42));
  transition:transform .35s ease,filter .35s ease;
}

.sc4-logo:hover img{
  transform:scale(2.5) translateY(-1px);
  filter:drop-shadow(0 0 25px rgba(85,243,255,.55));
}

.sc4-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:5px;
  padding:7px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 35px rgba(0,0,0,.2);
}

.sc4-nav a{
  position:relative;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:999px;
  color:rgba(255,255,255,.8);
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
  transition:color .25s ease,transform .25s ease,background .25s ease,box-shadow .25s ease;
}

.sc4-nav a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(110deg,rgba(85,243,255,.13),rgba(0,140,255,.13),rgba(255,138,0,.11));
  opacity:0;
  transition:opacity .25s ease;
}

.sc4-nav a span{position:relative;z-index:1}

.sc4-nav a:hover,
.sc4-nav a.active,
.sc4-nav a[aria-current="page"]{
  color:#fff;
  transform:translateY(-2px);
  background:rgba(255,255,255,.07);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

.sc4-nav a:hover::before,
.sc4-nav a.active::before,
.sc4-nav a[aria-current="page"]::before{opacity:1}

.sc4-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.sc4-contact-pill{
  min-height:58px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 17px;
  border:1px solid var(--sc4-line);
  border-radius:999px;
  color:#fff!important;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(0,0,0,.2);
  transition:transform .28s ease,border-color .28s ease,background .28s ease,box-shadow .28s ease;
}

.sc4-contact-pill:hover{transform:translateY(-4px)}

.sc4-contact-pill.call{
  border-color:rgba(85,243,255,.34);
  background:linear-gradient(135deg,rgba(85,243,255,.08),rgba(0,140,255,.10));
}

.sc4-contact-pill.call:hover{
  border-color:rgba(85,243,255,.62);
  box-shadow:0 18px 46px rgba(0,140,255,.18);
}

.sc4-contact-pill.whatsapp{
  border-color:rgba(37,211,102,.58);
  background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(37,211,102,.14));
}

.sc4-contact-pill.whatsapp:hover{
  border-color:rgba(37,211,102,.9);
  box-shadow:0 18px 46px rgba(37,211,102,.22);
}

.sc4-contact-pill svg{
  width:21px;
  height:21px;
  display:block;
  flex:0 0 21px;
}

.sc4-contact-pill.call svg{fill:none;stroke:var(--sc4-cyan);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc4-contact-pill.whatsapp svg{fill:#fff}

.sc4-pill-copy{display:grid;gap:1px;line-height:1.1}
.sc4-pill-copy small{color:var(--sc4-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sc4-pill-copy strong{font-size:13px;font-weight:950;white-space:nowrap}

.sc4-menu-toggle{
  display:none;
  width:50px;
  height:50px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  box-shadow:0 14px 35px rgba(0,0,0,.25);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}

.sc4-menu-toggle span{width:22px;height:2px;border-radius:99px;background:#fff;transition:.25s ease}
.sc4-menu-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.sc4-menu-toggle.active span:nth-child(2){opacity:0}
.sc4-menu-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.sc4-wa-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  min-width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;
  background:linear-gradient(145deg,#25d366,#4ee788);
  color:#fff!important;
  text-decoration:none;
  box-shadow:0 22px 58px rgba(37,211,102,.36),0 0 0 9px rgba(37,211,102,.065);
  transition:transform .28s ease,box-shadow .28s ease;
  animation:sc4WaPulse 3.2s ease-in-out infinite;
}

.sc4-wa-float:hover{transform:translateY(-6px) scale(1.03);box-shadow:0 28px 68px rgba(37,211,102,.46),0 0 0 13px rgba(37,211,102,.08)}
.sc4-wa-float svg{width:30px;height:30px;display:block;fill:#fff;flex:0 0 30px}
.sc4-wa-float span{font-size:13px;font-weight:950;white-space:nowrap}

@keyframes sc4WaPulse{
  0%,100%{box-shadow:0 22px 58px rgba(37,211,102,.34),0 0 0 7px rgba(37,211,102,.06)}
  50%{box-shadow:0 24px 64px rgba(37,211,102,.42),0 0 0 13px rgba(37,211,102,.02)}
}

/* =========================================================
   FOOTER
   ========================================================= */
.sc4-footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:74px 18px 26px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 8% 0%,rgba(0,140,255,.17),transparent 28rem),
    radial-gradient(circle at 92% 8%,rgba(255,138,0,.11),transparent 24rem),
    linear-gradient(180deg,#030811 0%,#02050c 100%);
  color:var(--sc4-muted);
}

.sc4-footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.55;
  background-image:
    linear-gradient(rgba(85,243,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(85,243,255,.035) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(to bottom,#000,transparent 85%);
}

.sc4-footer::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:540px;
  height:540px;
  right:-220px;
  top:-260px;
  border-radius:50%;
  border:1px solid rgba(85,243,255,.12);
  box-shadow:0 0 0 58px rgba(0,140,255,.025),0 0 0 118px rgba(255,138,0,.018);
  animation:sc4FooterOrbit 12s ease-in-out infinite alternate;
}

@keyframes sc4FooterOrbit{
  from{transform:translate3d(0,0,0) rotate(0deg)}
  to{transform:translate3d(-45px,36px,0) rotate(14deg)}
}

.sc4-footer-inner{width:min(1280px,100%);margin:auto}

.sc4-footer-top{
  display:grid;
  grid-template-columns:minmax(300px,1.1fr) minmax(420px,.9fr);
  align-items:center;
  gap:42px;
  padding:0 0 38px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.sc4-footer-brand{display:flex;align-items:center;gap:25px}
.sc4-footer-logo{width:290px;height:86px;display:flex;align-items:center;overflow:hidden;border-radius:20px;flex:0 0 290px}
.sc4-footer-logo img{width:100%;height:100%;object-fit:contain;object-position:left center;transform:scale(2.35);transform-origin:left center;filter:drop-shadow(0 0 18px rgba(0,140,255,.36))}
.sc4-footer-tagline{max-width:440px;color:#c5d0e1;font-size:16px;line-height:1.7}

.sc4-footer-cta{
  position:relative;
  overflow:hidden;
  padding:25px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:25px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:0 24px 65px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05);
}

.sc4-footer-cta::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-80px;
  top:-100px;
  border-radius:50%;
  background:rgba(37,211,102,.16);
  filter:blur(35px);
  animation:sc4FooterGlow 5s ease-in-out infinite alternate;
}

@keyframes sc4FooterGlow{to{transform:translate(-38px,42px) scale(1.15)}}

.sc4-footer-cta h2{position:relative;margin:0;color:#fff;font-size:clamp(24px,2.2vw,34px);line-height:1.15;letter-spacing:-.035em}
.sc4-footer-cta p{position:relative;margin:9px 0 18px;color:var(--sc4-muted);line-height:1.65}

.sc4-footer-contact-buttons{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sc4-footer-contact-buttons .sc4-contact-pill{min-height:60px;padding:0 14px}

.sc4-footer-grid{
  display:grid;
  grid-template-columns:1.25fr .9fr 1fr;
  gap:52px;
  padding:42px 0;
}

.sc4-footer-column h3{margin:0 0 14px;color:#fff;font-size:13px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.sc4-footer-column p{max-width:470px;margin:0;line-height:1.8}
.sc4-footer-column a{position:relative;display:flex;align-items:center;width:max-content;max-width:100%;gap:9px;margin:10px 0;color:var(--sc4-muted);text-decoration:none;transition:color .22s ease,transform .22s ease}
.sc4-footer-column a::before{content:"";width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,var(--sc4-cyan),var(--sc4-orange));box-shadow:0 0 12px rgba(0,140,255,.35)}
.sc4-footer-column a:hover{color:#fff;transform:translateX(6px)}

.sc4-footer-contact-card{
  display:grid;
  gap:10px;
}

.sc4-footer-contact-row{
  display:flex!important;
  width:100%!important;
  align-items:center;
  gap:12px!important;
  margin:0!important;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}

.sc4-footer-contact-row::before{display:none!important}
.sc4-footer-contact-row:hover{transform:translateY(-3px)!important;border-color:rgba(85,243,255,.26)}
.sc4-footer-contact-row svg{width:21px;height:21px;flex:0 0 21px}
.sc4-footer-contact-row.call svg{fill:none;stroke:var(--sc4-cyan);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc4-footer-contact-row.whatsapp svg{fill:var(--sc4-green)}
.sc4-footer-contact-row.email svg{fill:none;stroke:var(--sc4-orange);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sc4-footer-contact-copy{display:grid;gap:2px;line-height:1.15}
.sc4-footer-contact-copy small{color:#7f8da4;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.sc4-footer-contact-copy strong{color:#fff;font-size:14px;overflow-wrap:anywhere}

.sc4-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding-top:23px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:13px;
}

.sc4-footer-socials{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sc4-footer-socials a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.035);color:#d6dfec;text-decoration:none;font-size:12px;font-weight:850;transition:.22s ease}
.sc4-footer-socials a:hover{transform:translateY(-3px);border-color:rgba(85,243,255,.32);color:#fff}

@media(max-width:1450px){
  .sc4-header-inner{grid-template-columns:285px minmax(430px,1fr) auto;gap:16px}
  .sc4-logo{width:285px}.sc4-logo img{transform:scale(2.35)}
  .sc4-nav a{padding:0 11px;font-size:13px}
  .sc4-pill-copy strong{font-size:12px}
}

@media(max-width:1250px){
  .sc4-contact-pill.call{display:none}
  .sc4-header-inner{grid-template-columns:280px 1fr auto}
}

@media(max-width:1050px){
  .sc4-header{height:90px}
  .sc4-header.is-scrolled{height:82px}
  .sc4-header-inner{display:flex;justify-content:space-between;width:calc(100% - 26px)}
  .sc4-logo{width:260px;height:74px}
  .sc4-logo img{transform:scale(2.28)}
  .sc4-nav{
    position:absolute;
    left:13px;
    right:13px;
    top:calc(100% + 8px);
    display:none;
    padding:14px;
    border-radius:22px;
    flex-direction:column;
    align-items:stretch;
    background:rgba(3,8,17,.98);
    box-shadow:0 30px 85px rgba(0,0,0,.72);
  }
  .sc4-nav.open{display:flex;animation:sc4MenuIn .22s ease forwards}
  @keyframes sc4MenuIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
  .sc4-nav a{justify-content:flex-start;padding:0 17px}
  .sc4-actions{margin-left:auto}
  .sc4-actions .sc4-contact-pill{display:none}
  .sc4-menu-toggle{display:flex}
  .sc4-footer-top{grid-template-columns:1fr}
  .sc4-footer-grid{grid-template-columns:1fr 1fr;gap:34px}
  .sc4-footer-grid .sc4-footer-column:first-child{grid-column:1/-1}
}

@media(max-width:680px){
  html{scroll-padding-top:86px}
  .sc4-header{height:82px}.sc4-header.is-scrolled{height:76px}
  .sc4-logo{width:215px;height:66px}.sc4-logo img{transform:scale(2.18)}
  .sc4-menu-toggle{width:46px;height:46px}
  .sc4-footer{padding:58px 14px 22px}
  .sc4-footer-brand{display:block}
  .sc4-footer-logo{width:235px;height:70px;margin-bottom:14px}
  .sc4-footer-logo img{transform:scale(2.18)}
  .sc4-footer-contact-buttons{grid-template-columns:1fr}
  .sc4-footer-grid{grid-template-columns:1fr;gap:31px}
  .sc4-footer-grid .sc4-footer-column:first-child{grid-column:auto}
  .sc4-footer-bottom{display:block;line-height:1.8}
  .sc4-footer-socials{margin-top:14px}
  .sc4-wa-float{right:14px;bottom:14px;width:58px;min-width:58px;height:58px;padding:0;border-radius:50%}
  .sc4-wa-float span{display:none}
  .sc4-wa-float svg{width:28px;height:28px}
}

@media(prefers-reduced-motion:reduce){
  .sc4-header-glow::before,.sc4-header-glow::after,.sc4-header::after,.sc4-logo::after,.sc4-wa-float,.sc4-footer::after,.sc4-footer-cta::before{animation:none!important}
  .sc4-header,.sc4-logo img,.sc4-nav a,.sc4-contact-pill,.sc4-wa-float,.sc4-footer-column a,.sc4-footer-socials a{transition:none!important}
}
