/* =========================================================
   NEXUM — Design tokens
   ========================================================= */
:root{
  --navy-950:#081b32;
  --navy-800:#0e2f56;
  --navy-700:#123a6b;
  --blue-600:#1c6fb4;
  --teal-400:#34c9d6;
  --aqua-200:#b9f1ec;
  --white:#ffffff;
  --offwhite:#f4f9fa;
  --ink:#0b2036;
  --ink-soft:#4a5c6e;

  --font-display:'Space Grotesk', 'Inter', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --radius:16px;
  --wrap:1160px;
  --shadow-lg:0 24px 60px -20px rgba(8,27,50,.35);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--offwhite);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3{font-family:var(--font-display);margin:0 0 .5em;line-height:1.1;color:var(--navy-950);}
p{margin:0 0 1em;color:var(--ink-soft);line-height:1.65;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

:focus-visible{outline:3px solid var(--teal-400); outline-offset:3px;}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.88rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal-400);
  font-weight:600;
  margin-bottom:.9em;
}
.eyebrow.center{text-align:center;}
h2.center{text-align:center;max-width:640px;margin-left:auto;margin-right:auto;}

/* signature ambient thread — a faint recovery line running the length of the page */
.thread{
  position:absolute; top:0; left:0; width:100%; height:100%;
  z-index:0; pointer-events:none; opacity:.05;
}
.thread path{fill:none; stroke:var(--teal-400); stroke-width:1.4;}

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:.85em 1.6em;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .ico{width:18px;height:18px;fill:currentColor;}
.btn-primary{
  background:linear-gradient(135deg, var(--teal-400), var(--blue-600));
  color:var(--white);
  box-shadow:0 10px 30px -10px rgba(28,111,180,.55);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 34px -10px rgba(28,111,180,.65);}
.btn-ghost{
  background:transparent;
  color:var(--navy-950);
  border:1.5px solid rgba(11,32,54,.18);
}
.btn-ghost:hover{border-color:var(--teal-400); color:var(--teal-400);}
.btn-whatsapp{
  background:#25D366; color:#fff;
}
.btn-whatsapp:hover{transform:translateY(-2px); box-shadow:0 12px 28px -10px rgba(37,211,102,.6);}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(8,27,50,.75);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; gap:24px;
  height:78px;
}
.brand{display:flex; align-items:center; gap:12px; margin-right:auto;}
.brand-mark{height:64px; width:auto; border-radius:8px;} /* altura del logo*/
.brand-text{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.15rem;
  letter-spacing:.02em;
  color:var(--white);
  display:flex; flex-direction:column; line-height:1.1;
}
.brand-text small{
  font-family:var(--font-body);
  font-weight:500;
  font-size:.62rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--aqua-200);
}
.nav{display:flex; gap:28px;}
.nav a{
  color:rgba(255,255,255,.82);
  font-size:.94rem;
  font-weight:500;
  position:relative;
  padding:6px 0;
}
.nav a::after{
  content:'';
  position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--teal-400);
  transition:width .25s ease;
}
.nav a:hover{color:#fff;}
.nav a:hover::after{width:100%;}
.nav-cta{margin-left:8px;}
.hamburger{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px;
  background:none; border:none; cursor:pointer;
  padding:0;
}
.hamburger span{
  display:block; height:2px; width:100%;
  background:#fff; border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;

  background:
    linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)),
    url('../assets/bg_3.jpg') center center / cover no-repeat;

  padding: 18px 0 10px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-wave{width:100%; height:100%; opacity:.55;}
.hero-wave path{
  fill:none;
  stroke:url(#waveGrad);
  stroke-width:2.5;
}
.hero-inner{position:relative; z-index:1; max-width:760px;}
.hero h1{
  font-size:clamp(2.4rem, 5.4vw, 3.9rem);
  color:var(--white);
  font-weight:700;
  letter-spacing:-.01em;
}
.hero h1 span{
  background:linear-gradient(100deg, var(--teal-400), var(--aqua-200));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-sub{
  color:rgba(255,255,255,.78);
  font-size:1.08rem;
  max-width:560px;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:16px; margin:32px 0 56px;}
.hero .btn-ghost{color:#fff; border-color:rgba(255,255,255,.3);}
.hero .btn-ghost:hover{border-color:var(--teal-400); color:var(--teal-400);}
.hero-stats{
  display:flex; gap:48px; margin:0; padding-top:32px;
  border-top:1px solid rgba(255,255,255,.14);
}
.hero-stats dt{
  font-family:var(--font-mono);
  font-size:2rem; font-weight:600;
  color:var(--teal-400); margin:0;
}
.hero-stats dd{margin:4px 0 0; color:rgba(255,255,255,.7); font-size:.85rem;}

/* =========================================================
   ABOUT
   ========================================================= */
.about{padding:110px 0; background:var(--white); position:relative; z-index:1;}
.about-inner{display:grid; grid-template-columns:.85fr 1.15fr; gap:72px; align-items:center;}
.about-media{position:relative;}
.about-media img{
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/5; object-fit:cover;
  width:100%;
}
.about-badge{
  position:absolute; bottom:-22px; right:-22px;
  background:linear-gradient(135deg, var(--teal-400), var(--blue-600));
  color:#fff;
  font-family:var(--font-mono); font-weight:600; font-size:.85rem;
  padding:16px 20px; border-radius:14px;
  box-shadow:0 16px 30px -12px rgba(28,111,180,.5);
  line-height:1.3;
}
.about-copy h2{font-size:clamp(1.7rem, 3vw, 2.3rem);}
.about-points{margin-top:28px; display:grid; gap:14px;}
.about-points li{
  position:relative; padding-left:28px; color:var(--ink);
  font-weight:500; font-size:.98rem;
}
.about-points li::before{
  content:'';
  position:absolute; left:0; top:6px;
  width:10px; height:10px; border-radius:3px;
  background:linear-gradient(135deg, var(--teal-400), var(--blue-600));
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{padding:110px 0; background:var(--offwhite);}
.service-grid{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.service-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:34px 30px;
  border:1px solid rgba(11,32,54,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg);}
.service-ico{
  width:52px; height:52px; margin-bottom:20px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(52,201,214,.14), rgba(28,111,180,.14));
  display:flex; align-items:center; justify-content:center;
}
.service-ico svg{width:28px; height:28px; fill:none; stroke:var(--blue-600); stroke-width:2.4;}
.service-card h3{font-size:1.12rem; margin-bottom:.4em;}
.service-card p{font-size:.92rem; margin:0;}

/* =========================================================
   PROMO / FOMAG
   ========================================================= */
.promo{
  padding:90px 0;
  background:var(--navy-950);
  position:relative;
}
.promo-inner{
  display:grid; grid-template-columns:.55fr 1fr; gap:56px; align-items:center;
}
.promo-img{
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  aspect-ratio:3/4; object-fit:cover;
  max-width:280px;
}
.promo-copy h2{color:#fff; font-size:clamp(1.6rem,2.8vw,2.1rem);}
.promo-copy p{color:rgba(255,255,255,.75);}
.promo-price{
  font-family:var(--font-mono);
  font-size:1.1rem;
  color:rgba(255,255,255,.9);
  margin-bottom:28px;
}
.promo-price span{
  font-size:2.4rem; font-weight:600;
  color:var(--teal-400);
  display:inline-block; margin-right:.3em;
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners{padding:90px 0; background:var(--white);}
.partner-row{
  margin-top:48px;
  display:flex; flex-wrap:wrap; justify-content:center; gap:20px;
}
.partner-row span{
  font-family:var(--font-display); font-weight:600; font-size:1.05rem;
  color:var(--navy-800);
  padding:16px 30px;
  border-radius:12px;
  background:var(--offwhite);
  border:1px solid rgba(11,32,54,.06);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{padding:110px 0; background:var(--offwhite);}
.contact-inner{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:stretch;
}
.contact-list{display:grid; gap:20px; margin:28px 0 34px;}
.contact-list li{display:flex; align-items:flex-start; gap:14px; font-weight:500; color:var(--ink);}
.contact-list .ico{width:22px; height:22px; fill:var(--blue-600); flex-shrink:0; margin-top:2px;}
.contact-actions{display:flex; flex-wrap:wrap; gap:16px;}
.contact-map{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); min-height:320px;}
.contact-map iframe{width:100%; height:100%; border:0; min-height:320px;}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{background:var(--navy-950); color:rgba(255,255,255,.65); padding:64px 0 24px;}
.footer-inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.1);}
.footer-logo{height:60px; margin-bottom:14px; border-radius:6px;}
.footer-inner p{color:rgba(255,255,255,.55); font-size:.85rem; margin:0 0 4px;}
.footer-links{display:flex; gap:22px; align-self:flex-start;}
.footer-links a{color:rgba(255,255,255,.7); font-size:.9rem;}
.footer-links a:hover{color:var(--teal-400);}
.footer-bottom{text-align:center; font-size:.8rem; color:rgba(255,255,255,.4); margin:24px 0 0;}

/* whatsapp floating button */
.whatsapp-fab{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(37,211,102,.6);
  transition:transform .2s ease;
}
.whatsapp-fab svg{width:30px; height:30px; fill:#fff;}
.whatsapp-fab:hover{transform:scale(1.08);}

/* demo badge — remove before final delivery to client */
.demo-badge{
  position:fixed; left:16px; bottom:16px; z-index:60;
  background:rgba(8,27,50,.85);
  color:#fff; font-family:var(--font-mono); font-size:.72rem;
  padding:8px 14px; border-radius:8px;
  border:1px solid rgba(52,201,214,.4);
  backdrop-filter:blur(6px);
}

/* reveal-on-scroll */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .about-inner, .contact-inner{grid-template-columns:1fr;}
  .about-media{max-width:420px; margin:0 auto 20px;}
  .service-grid{grid-template-columns:repeat(2, 1fr);}
  .promo-inner{grid-template-columns:1fr; text-align:center;}
  .promo-img{margin:0 auto;}
  .hero-stats{gap:32px;}
}

@media (max-width: 760px){
  .nav, .nav-cta{
    position:fixed; inset:78px 0 auto 0;
    background:var(--navy-950);
    flex-direction:column;
    padding:20px 24px 28px;
    gap:0;
    transform:translateY(-12px);
    opacity:0; pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .nav a{padding:14px 0; border-bottom:1px solid rgba(255,255,255,.06); width:100%;}
  .nav.is-open, .nav-cta.is-open{opacity:1; transform:translateY(0); pointer-events:auto;}
  .nav-cta{justify-content:center; margin-top:6px;}
  .hamburger{display:flex;}
  .service-grid{grid-template-columns:1fr;}
  .hero{padding:64px 0 56px;}
  .hero-stats{flex-wrap:wrap; row-gap:24px;}
  .footer-inner{flex-direction:column;}
  .demo-badge{font-size:.62rem; padding:6px 10px;}
}
