:root{
  --navy:#06182a;
  --navy-2:#0a2238;
  --navy-3:#0f2c48;
  --navy-4:#13314f;
  --orange:#f48120;
  --orange-2:#ff9a3c;
  --white:#ffffff;
  --light:#f4f6f8;
  --text:#132234;
  --muted:#697887;
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.18);
  --dark-line:rgba(19,34,52,.14);
  --shadow:0 18px 45px rgba(0,0,0,.18);
  --font-main:'Inter',Arial,sans-serif;
  --font-head:'Montserrat',Arial,sans-serif;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:var(--font-main);
  color:#dfe6ee;
  background:var(--navy);
  line-height:1.55;
  overflow-x:hidden;
}

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

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1180px, calc(100% - 44px));
  margin:0 auto;
}

/* =========================
ANIMATIONS
========================= */

@keyframes fadeUp{
  from{opacity:0; transform:translateY(40px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes glowPulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.05);}
  100%{transform:scale(1);}
}

/* =========================
HEADER
========================= */

header{
  background:rgba(6,24,42,.88);
  color:#fff;
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:.35s ease;
}

header.scrolled{
  background:rgba(6,24,42,.98);
  box-shadow:0 12px 40px rgba(0,0,0,.4);
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  transition:.25s ease;
}

.brand:hover{
  transform:translateY(-2px);
}

.brand-logo{
  font-size:34px;
  line-height:.9;
  letter-spacing:-1.5px;
  font-weight:800;
  font-family:var(--font-head);
  color:#fff;
}

.brand-divider{
  width:1px;
  height:32px;
  background:rgba(255,255,255,.22);
}

.brand-name{
  font-size:10px;
  line-height:1.4;
  letter-spacing:1.8px;
  text-transform:uppercase;
  font-weight:800;
  color:rgba(255,255,255,.78);
}

nav ul{
  display:flex;
  list-style:none;
  gap:32px;
  align-items:center;
}

nav ul li a{
  position:relative;
  text-transform:none;
  font-size:14px;
  font-weight:600;
  letter-spacing:.2px;
  color:rgba(255,255,255,.85);
  transition:.25s ease;
  padding:6px 0;
}

nav ul li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--orange);
  transition:.25s ease;
}

nav ul li a:hover,
nav ul li a.active,
nav ul li.current-menu-item > a,
nav ul li.current-menu-ancestor > a{
  color:#fff;
}

nav ul li a:hover::after,
nav ul li a.active::after,
nav ul li.current-menu-item > a::after,
nav ul li.current-menu-ancestor > a::after{
  width:100%;
}

/* =========================
BUTTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 22px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.3px;
  transition:.3s ease;
  position:relative;
  overflow:hidden;
  border:none;
  cursor:pointer;
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.18), transparent 80%);
  transform:translateX(-120%);
  transition:.8s ease;
}

.btn:hover::before{
  transform:translateX(120%);
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-orange{
  background:var(--orange);
  color:#fff;
  box-shadow:0 12px 28px rgba(244,129,32,.32);
}

.btn-orange:hover{
  background:var(--orange-2);
}

.btn-ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

.btn-ghost:hover{
  background:rgba(255,255,255,.06);
}

/* =========================
HERO
========================= */

.hero{
  position:relative;
  min-height:560px;
  color:#fff;
  overflow:hidden;
  background:
    linear-gradient(
      90deg,
      rgba(6,24,42,.96) 0%,
      rgba(6,24,42,.85) 38%,
      rgba(6,24,42,.40) 70%,
      rgba(6,24,42,.18) 100%
    ),
    url("images/laboratoria/hero.jpg") center/cover;
}

.hero::after{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  border-radius:50%;
  right:-180px;
  top:-160px;
  background:radial-gradient(circle, rgba(244,129,32,.18), transparent 70%);
  animation:glowPulse 7s infinite ease-in-out;
  pointer-events:none;
}

.hero .container{
  position:relative;
  z-index:2;
  padding:90px 0 100px;
  animation:fadeUp .9s ease forwards;
}

.eyebrow{
  color:var(--orange);
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:3px;
  margin-bottom:18px;
  font-size:12px;
}

.hero h1{
  font-family:var(--font-head);
  font-size:clamp(40px,5.6vw,64px);
  line-height:1;
  max-width:680px;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:-1.5px;
  margin-bottom:22px;
}

.hero h2.sub{
  font-family:var(--font-head);
  font-weight:700;
  font-size:20px;
  color:#fff;
  max-width:560px;
  margin-bottom:18px;
  line-height:1.4;
}

.hero p{
  max-width:540px;
  color:rgba(255,255,255,.78);
  font-size:15px;
  margin-bottom:30px;
  line-height:1.65;
}

/* =========================
PROOF BAR
========================= */

.proof{
  background:var(--navy);
  padding:48px 0 12px;
}

.proof-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.proof-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:22px 24px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  border-radius:14px;
  transition:.35s ease;
}

.proof-item:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(244,129,32,.35);
  transform:translateY(-4px);
}

.proof-icon{
  flex:0 0 44px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  display:grid;
  place-items:center;
  color:var(--orange);
  font-size:20px;
}

.proof-item h3{
  font-family:var(--font-head);
  font-size:15px;
  font-weight:700;
  margin-bottom:4px;
  color:#fff;
}

.proof-item p{
  font-size:12.5px;
  color:rgba(255,255,255,.6);
  line-height:1.45;
}

/* =========================
SECTIONS GENERAL
========================= */

section{
  padding:70px 0;
}

.section-eyebrow{
  font-family:var(--font-head);
  text-transform:uppercase;
  font-size:22px;
  letter-spacing:1.5px;
  font-weight:800;
  color:#fff;
  margin-bottom:36px;
  position:relative;
  padding-bottom:14px;
}

.section-eyebrow::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:48px;
  height:3px;
  background:var(--orange);
}

.section-eyebrow.center{
  text-align:center;
  padding-bottom:18px;
}

.section-eyebrow.center::after{
  left:50%;
  transform:translateX(-50%);
}

/* =========================
SPECIALIZATIONS
========================= */

.specializations{
  background:var(--navy);
}

.spec-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

.spec-card{
  border-radius:14px;
  overflow:hidden;
  background:#0c2540;
  border:1px solid var(--line);
  transition:.4s ease;
  display:flex;
  flex-direction:column;
}

.spec-card:hover{
  transform:translateY(-8px);
  border-color:rgba(244,129,32,.4);
  box-shadow:0 22px 50px rgba(0,0,0,.4);
}

.spec-card .img-wrap{
  height:140px;
  overflow:hidden;
}

.spec-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s ease;
}

.spec-card:hover img{
  transform:scale(1.08);
}

.spec-content{
  padding:18px 20px 22px;
  flex:1;
}

.spec-card h3{
  font-family:var(--font-head);
  font-size:14px;
  font-weight:800;
  color:#fff;
  margin-bottom:10px;
  line-height:1.3;
  text-transform:none;
}

.spec-card p{
  font-size:12.5px;
  color:rgba(255,255,255,.62);
  line-height:1.5;
}

/* =========================
HOW IT WORKS / STEPS
========================= */

.howitworks{
  background:var(--navy);
  padding-top:30px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}

.step{
  padding:18px 22px;
  position:relative;
  transition:.35s ease;
}

.step:not(:last-child)::after{
  content:"→";
  position:absolute;
  top:14px;
  right:-6px;
  font-size:22px;
  color:var(--orange);
  font-weight:300;
  z-index:1;
}

.step-icon-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

.step-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  display:grid;
  place-items:center;
  color:var(--orange);
  font-size:20px;
  flex-shrink:0;
}

.step-num{
  font-family:var(--font-head);
  font-size:14px;
  font-weight:800;
  color:#fff;
  letter-spacing:1px;
}

.step h3{
  font-family:var(--font-head);
  font-size:18px;
  font-weight:800;
  color:#fff;
  margin-bottom:8px;
}

.step p{
  font-size:13px;
  color:rgba(255,255,255,.6);
  line-height:1.5;
}

/* =========================
KNOWLEDGE / FEATURES
========================= */

.knowledge{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding:60px 0 70px;
}

.knowledge-wrap{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:50px 0 10px;
}

.knowledge-title{
  text-align:center;
  font-family:var(--font-head);
  font-size:clamp(20px,2.4vw,26px);
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:800;
  color:#fff;
  margin-bottom:48px;
}

.k-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.k-item{
  text-align:center;
  padding:10px 14px 40px;
  transition:.35s ease;
}

.k-item:hover{
  transform:translateY(-6px);
}

.k-icon{
  width:64px;
  height:64px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  color:var(--orange);
}

.k-icon svg{
  width:48px;
  height:48px;
  stroke:var(--orange);
  fill:none;
  stroke-width:1.5;
}

.k-item h3{
  font-family:var(--font-head);
  font-size:15px;
  font-weight:800;
  color:#fff;
  margin-bottom:10px;
  text-transform:none;
}

.k-item p{
  font-size:13px;
  color:rgba(255,255,255,.62);
  line-height:1.55;
}

/* =========================
APP MANAGEMENT
========================= */

.app-section{
  background:var(--navy-2);
  padding:70px 0 40px;
}

.app-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center;
}

.app-image img{
  width:100%;
  filter:drop-shadow(0 30px 50px rgba(0,0,0,.4));
}

.app-text h2{
  font-family:var(--font-head);
  font-size:clamp(28px,3.4vw,36px);
  text-transform:uppercase;
  font-weight:800;
  color:#fff;
  margin-bottom:32px;
  line-height:1.1;
  letter-spacing:-.5px;
}

.app-list{
  list-style:none;
}

.app-list li{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:15px;
  color:rgba(255,255,255,.86);
  font-weight:500;
}

.app-list li:last-child{
  border-bottom:0;
}

.check-circle{
  width:24px;
  height:24px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  display:grid;
  place-items:center;
  color:var(--orange);
  font-size:13px;
  flex-shrink:0;
  font-weight:700;
}

/* =========================
MINI-ICONS (after app)
========================= */

.mini-icons{
  background:var(--navy-2);
  padding:30px 0 70px;
}

.mi-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  max-width:760px;
  margin:0 auto;
}

.mi-item{
  text-align:center;
  padding:12px;
  transition:.35s ease;
}

.mi-item:hover{
  transform:translateY(-4px);
}

.mi-icon{
  width:56px;
  height:56px;
  margin:0 auto 14px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  display:grid;
  place-items:center;
  color:var(--orange);
}

.mi-icon svg{
  width:26px;
  height:26px;
  stroke:var(--orange);
  fill:none;
  stroke-width:1.5;
}

.mi-item h4{
  font-family:var(--font-head);
  font-size:13px;
  font-weight:700;
  color:#fff;
  text-transform:none;
}

/* =========================
CTA SPECIALIZATION
========================= */

.cta-spec{
  position:relative;
  color:#fff;
  overflow:hidden;
  background:
    linear-gradient(
      90deg,
      rgba(6,24,42,.96) 0%,
      rgba(6,24,42,.85) 38%,
      rgba(6,24,42,.30) 75%,
      rgba(6,24,42,.10) 100%
    ),
    url("images/laboratoria/cta.jpg") center/cover;
  padding:80px 0;
}

.cta-spec h2{
  font-family:var(--font-head);
  font-size:clamp(28px,3.6vw,40px);
  font-weight:800;
  line-height:1.1;
  color:#fff;
  max-width:560px;
  margin-bottom:22px;
  letter-spacing:-.5px;
}

.cta-spec h2 .accent{
  color:#fff;
}

.cta-spec p{
  max-width:540px;
  color:rgba(255,255,255,.82);
  font-size:15px;
  margin-bottom:30px;
  line-height:1.65;
}

/* =========================
FOOTER
========================= */

footer{
  background:#04111e;
  color:#fff;
  padding:60px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1.2fr 1.3fr;
  gap:48px;
}

.footer-brand-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.footer-desc{
  color:rgba(255,255,255,.6);
  font-size:13px;
  line-height:1.6;
  max-width:300px;
  margin-bottom:18px;
}

footer h4{
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:1.5px;
  margin-bottom:20px;
  font-family:var(--font-head);
  color:#fff;
  font-weight:800;
}

footer ul{
  list-style:none;
}

footer li{
  margin-bottom:10px;
}

footer li a,
footer p{
  color:rgba(255,255,255,.6);
  font-size:13.5px;
  transition:.2s ease;
}

footer li a:hover{
  color:var(--orange);
}

footer li a.active{
  color:var(--orange);
}

.contact-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:rgba(255,255,255,.74);
  font-size:13.5px;
}

.contact-line .ci{
  color:var(--orange);
  font-size:15px;
}

.contact-compact-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  color:var(--orange);
  flex-shrink:0;
}

.contact-compact-icon svg{
  width:16px;
  height:16px;
}

.contact-compact-item{
  display:flex;
  align-items:center;
  gap:8px;
}

.social{
  display:flex;
  gap:10px;
  margin-top:8px;
}

.social a{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.22);
  font-size:12px;
  font-weight:700;
  transition:.25s ease;
}

.social a:hover{
  background:var(--orange);
  border-color:var(--orange);
}

.social a.social-fb svg{
  width:14px;
  height:14px;
  display:block;
}

.social a.social-fb:hover{
  background:#1877f2;
  border-color:#1877f2;
  color:#fff;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:1100px){
  nav ul{gap:18px;}
  nav ul li a{font-size:13px;}
  .proof-grid,
  .spec-grid{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr); gap:24px;}
  .step:not(:last-child)::after{display:none;}
  .step:nth-child(2n)::after{display:none;}
  .k-grid{grid-template-columns:repeat(2,1fr);}
  .app-layout{grid-template-columns:1fr; gap:30px;}
  .mi-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:700px){
  nav ul{display:none;}
  .hero{min-height:520px;}
  .proof-grid,
  .spec-grid,
  .steps,
  .k-grid,
  .mi-grid,
  .footer-grid{grid-template-columns:1fr;}
  .hero h1{font-size:38px;}
}