:root{
--bg:#07111f;
--bg2:#0b1730;
--surface:rgba(255,255,255,0.06);
--surface2:rgba(255,255,255,0.08);
--white:#ffffff;
--text:#e8eefc;
--muted:#a8b5d3;
--line:rgba(255,255,255,0.12);
--cyan:#59e1ff;
--blue:#60a5fa;
--violet:#9b8cff;
--shadow:0 20px 50px rgba(0,0,0,0.28);
--radius:28px;
--max:1180px;
}F

*{
box-sizing:border-box;
}
/* Fondo general */
body{
background-color:#000821;
color:#E5E7EB;
}

/* Secciones que antes eran blancas */
section{
background-color:#0A1A3A;
}

/* Secciones grises */
.section-gray{
background-color:#111827;
}

/* Cards de servicios */
.service-card{
background-color:#111827;
border-radius:12px;
padding:16px;
}

/* Texto dentro de las secciones */
section h2,
section h3{
color:#E5E7EB;
font-family:'Inter', sans-serif;
font-weight:600;
}

section p{
color:#E5E7EB;
font-family:'Inter', sans-serif;
font-weight:400;
line-height:1.6;
}

.container{
width:min(var(--max),calc(100% - 32px));
margin:0 auto;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

/* GRID BACKGROUND */

.bg-grid{
position:fixed;
inset:0;
pointer-events:none;
background-image:
linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
background-size:36px 36px;
mask-image:radial-gradient(circle at center,black 40%,transparent 100%);
z-index:-1;
}

/* HEADER */

.header{
position:sticky;
top:0;
z-index:50;
backdrop-filter:blur(14px);
background:rgba(7,17,31,0.6);
border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-inner{
min-height:78px;
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
display:flex;
align-items:center;
gap:12px;
font-weight:700;
font-size: 32px;
letter-spacing: 1px;
font-family:'Inter', sans-serif;
}

.logo-mark{
width:14px;
height:14px;
border-radius:50%;
background:linear-gradient(135deg,var(--cyan),var(--violet));
box-shadow:0 0 24px rgba(89,225,255,0.6);
}

.nav{
display:flex;
gap:26px;
color:var(--muted);
font-family:'Inter', sans-serif;
}

.nav a:hover{
color:white;
font-family:'Inter', sans-serif;
}

.nav-cta{
padding:10px 16px;
border-radius:999px;
background:linear-gradient(135deg,rgba(89,225,255,0.2),rgba(155,140,255,0.2));
border:1px solid rgba(255,255,255,0.12);
color:white;
font-family:'Inter', sans-serif;
}

.menu-btn{
display:none;
background:rgba(255,255,255,0.06);
border:1px solid var(--line);
color:white;
padding:10px 14px;
border-radius:14px;
font-family:'Inter', sans-serif;
}

/* HERO */

.hero{
padding:90px 0;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:36px;
align-items:center;
}

.badge{
padding:6px 14px;
border-radius:999px;
background:rgba(255,255,255,0.08);
font-size:0.85rem;
text-transform:uppercase;
letter-spacing:1px;
font-family:'Inter', sans-serif;
}

h1{
font-family: 'Orbitron', sans-serif;
font-size:54px;
line-height:1.2;
text-transform:uppercase;
letter-spacing:2px;
}

.hero p{
color:var(--muted);
}

.hero-actions{
margin-top:24px;
display:flex;
gap:14px;
}

.btn{
padding:12px 22px;
border-radius:16px;
display:inline-flex;
align-items:center;
justify-content:center;
font-weight:600;
text-transform: uppercase;
letter-spacing:1px;
font-family:'Inter', sans-serif;
}

.btn-primary{
background:linear-gradient(135deg,var(--cyan),var(--blue));
color:#03111e;
text-transform: uppercase;
letter-spacing:1px;
font-family:'Inter', sans-serif;
}

.btn-secondary{
border:1px solid rgba(255,255,255,0.2);
text-transform: uppercase;
letter-spacing:1px;
font-family:'Inter', sans-serif;
}

/* HERO PANEL */

.hero-panel{
position:relative;
}

.hero-image{
border-radius:24px;
}

.hero-overlay-card{
position:absolute;
bottom:20px;
right:20px;
padding:14px;
border-radius:20px;
background:rgba(4,12,24,0.8);
border:1px solid rgba(255,255,255,0.1);
}

/* INTRO */

.intro{
padding:80px 0;
}

.intro-box{
display:grid;
grid-template-columns:1fr 1fr;
gap:24px;
padding:28px;
border-radius:28px;servi
background:rgba(255,255,255,0.05);
}

/* SERVICES */

.services{
padding:80px 0;
font-family:'Inter', sans-serif;
font-weight:600;
}

.services-grid{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
align-items: start;
}

.service-card{
border-radius:24px;
overflow:hidden;
background:rgba(255,255,255,0.05);
font-family:'Inter', sans-serif;
font-weight:600;
}

.service-image{
aspect-ratio:16/10;
object-fit:cover;
}

.service-content{
padding:20px;
}

.service-content h3{
margin-bottom:10px;
}

.service-content p{
color:var(--muted);
}

/* PROCESS */

.process{
padding:80px 0;
}

.steps{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:16px;
}

.step{
padding:22px;
border-radius:22px;
background:rgba(255,255,255,0.05);
}

.step span{
display:inline-flex;
width:40px;
height:40px;
border-radius:14px;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,rgba(89,225,255,0.18),rgba(155,140,255,0.18));
margin-bottom:14px;
}

/* BENEFITS */

.benefits{
padding:80px 0;
}

.benefits-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:24px;
}

.mini-card{
padding:24px;
border-radius:24px;
background:rgba(255,255,255,0.05);
margin-bottom:14px;
}

/* FAQ */

.faq{
padding:80px 0;
}

.faq-item{
border-radius:18px;
padding:14px 20px;
background:rgba(255,255,255,0.05);
margin-bottom:10px;
}

/* CONTACT */

.contact{
padding:80px 0;
}

.contact-box{
display:grid;
grid-template-columns:1fr 1fr;
gap:24px;
padding:26px;
border-radius:28px;
background:rgba(255,255,255,0.05);
}

.contact-form{
display:grid;
gap:12px;
}

.field{
padding:12px;
border-radius:14px;
border:1px solid rgba(255,255,255,0.1);
background:rgba(255,255,255,0.05);
color:white;
}

textarea.field{
min-height:120px;
}

/* FOOTER */

.footer{
padding:30px 0;
border-top:1px solid rgba(255,255,255,0.1);
}

.footer-inner{
display:flex;
justify-content:space-between;
color:var(--muted);
}

/* ANIMATION */

.reveal{
opacity:0;
transform:translateY(20px);
transition:0.6s;
}

.reveal.visible{
opacity:1;
transform:translateY(0);
}


.form-message{
display:none;
margin-top:12px;
font-family:'Inter', sans-serif;
font-size:14px;
font-weight:500;
}

.form-message.success{
color:#59E1FF;
}

.form-message.error{
color:#ff8a8a;
}

.whatsapp-btn{
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
z-index: 999;
}

.whatsapp-btn img{
width: 35px;
height: 35px;
object-fit: contain;
}

.whatsapp-btn:hover{
transform: scale(1.1);
transition: 0.3s ease;
}


.service-card{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.service-image{
  transition: transform 0.35s ease;
}

.service-card:hover .service-image{
  transform: scale(1.05);
}

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition: opacity 0.9s cubic-bezier(.17,.67,.38,.98),
              transform 0.9s cubic-bezier(.17,.67,.38,.98);
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition: opacity 0.9s cubic-bezier(.17,.67,.38,.98),
              transform 0.9s cubic-bezier(.17,.67,.38,.98);
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.reveal{
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE DEFINITIVO TEKNOKOM
========================================= */

/* base segura */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

.hero-image,
.service-image{
  width:100%;
  display:block;
}

/* ===== TABLET ===== */
@media (max-width: 1024px){

  .container{
    width:min(var(--max), calc(100% - 28px));
  }

  .hero{
    padding:72px 0;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .hero-panel{
    max-width:520px;
    margin:0 auto;
    width:100%;
  }

  h1{
    font-size:46px;
    line-height:1.1;
  }

  .services-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }

  .contact-box{
    grid-template-columns:1fr;
    gap:20px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px){

  .container{
    width:calc(100% - 24px);
  }

  .logo{
    font-size:24px;
    gap:10px;
  }

  .nav{
    gap:14px;
    flex-wrap:wrap;
  }

  .hero{
    padding:56px 0;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hero-panel{
    width:100%;
    max-width:100%;
    margin:0 auto;
  }

  .hero-image{
    width:100%;
    max-width:100%;
    border-radius:20px;
  }

  .hero-overlay-card{
    bottom:14px;
    right:14px;
    padding:10px 12px;
    border-radius:16px;
  }

  h1{
    font-size:34px;
    line-height:1.08;
    letter-spacing:1px;
  }

  .badge{
    font-size:0.72rem;
    padding:6px 12px;
    letter-spacing:0.8px;
  }

  .hero p{
    font-size:14px;
    line-height:1.55;
  }

  .hero-actions{
    flex-direction:column;
    gap:12px;
    width:100%;
  }

  .btn{
    width:100%;
    padding:13px 18px;
    font-size:14px;
  }

  .services-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .service-card{
    border-radius:20px;
  }

  .service-image{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
  }

  .service-content{
    padding:18px;
  }

  .service-content h3{
    margin-bottom:8px;
    font-size:22px;
    line-height:1.2;
  }

  .service-content p{
    font-size:15px;
    line-height:1.55;
  }

  .contact{
    padding:56px 0;
  }

  .contact-box{
    grid-template-columns:1fr;
    gap:18px;
    padding:20px;
    border-radius:22px;
  }

  .contact-form{
    gap:10px;
  }

  .field{
    width:100%;
    padding:14px 16px;
    font-size:16px;
    border-radius:14px;
  }

  textarea.field{
    min-height:130px;
  }

  .whatsapp-btn{
    bottom:16px;
    right:16px;
    width:48px;
    height:48px;
  }

  .whatsapp-btn img{
    width:32px;
    height:32px;
  }
}

/* ===== MOBILE CHICO ===== */
@media (max-width: 480px){

  .container{
    width:calc(100% - 20px);
  }

  .hero{
    padding:44px 0;
  }

  .logo{
    font-size:22px;
  }

  .nav{
    gap:10px;
  }

  h1{
    font-size:28px;
    line-height:1.06;
    letter-spacing:0.5px;
  }

  .badge{
    font-size:0.68rem;
    padding:6px 10px;
  }

  .hero p{
    font-size:13px;
  }

  .btn{
    font-size:13px;
    padding:12px 16px;
    border-radius:14px;
  }

  .hero-image{
    border-radius:18px;
  }

  .hero-overlay-card{
    bottom:10px;
    right:10px;
    padding:8px 10px;
    border-radius:14px;
  }

  .service-card{
    border-radius:18px;
  }

  .service-content{
    padding:16px;
  }

  .service-content h3{
    font-size:20px;
  }

  .service-content p{
    font-size:14px;
  }

  .contact-box{
    padding:16px;
    border-radius:18px;
  }

  .field{
    padding:13px 14px;
    font-size:16px;
  }

  textarea.field{
    min-height:120px;
  }

  .whatsapp-btn{
    bottom:14px;
    right:14px;
    width:44px;
    height:44px;
  }

  .whatsapp-btn img{
    width:30px;
    height:30px;
  }
}

/* =========================================
   AJUSTES MOBILE FINOS
========================================= */
@media (max-width: 768px){

  /* NAVBAR */
  .header .container,
  .navbar .container,
  .container.navbar,
  header .container{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .logo{
    font-size:22px;
    line-height:1;
  }

  .nav{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    align-items:center;
  }

  .nav a{
    font-size:14px;
    line-height:1.2;
  }

  .btn.btn-secondary,
  .nav .btn,
  .nav a.btn{
    width:auto;
    padding:10px 18px;
    font-size:14px;
  }

  /* HERO */
  .hero{
    padding:40px 0 48px;
  }

  h1{
    font-size:30px;
    line-height:1.05;
    letter-spacing:0.5px;
  }

  .hero p{
    font-size:14px;
    line-height:1.55;
  }

  .hero-actions{
    width:100%;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-panel{
    margin-top:8px;
  }

  .hero-image{
    width:100%;
    max-width:100%;
    border-radius:20px;
  }

  /* CÓMO TRABAJAMOS */
  .process-grid,
  .steps-grid,
  .work-grid{
    display:grid;
    grid-template-columns:1fr !important;
    gap:16px;
  }

  .process-card,
  .step-card,
  .work-card{
    width:100%;
    min-width:0;
  }

  .process-card h3,
  .step-card h3,
  .work-card h3{
    font-size:20px;
    line-height:1.2;
  }

  .process-card p,
  .step-card p,
  .work-card p{
    font-size:15px;
    line-height:1.55;
  }

  /* FAQ */
  .faq-item,
  .accordion-item{
    width:100%;
  }

  /* WHATSAPP */
  .whatsapp-btn{
    bottom:90px;
    right:16px;
  }
}

/* =========================================
   MOBILE CHICO
========================================= */
@media (max-width: 480px){

  .header .container,
  .navbar .container,
  .container.navbar,
  header .container{
    gap:12px;
  }

  .logo{
    font-size:20px;
  }

  .nav{
    gap:8px 12px;
  }

  .nav a{
    font-size:13px;
  }

  .btn.btn-secondary,
  .nav .btn,
  .nav a.btn{
    padding:9px 16px;
    font-size:13px;
    border-radius:14px;
  }

  h1{
    font-size:27px;
    line-height:1.04;
  }

  .hero{
    padding:34px 0 42px;
  }

  .badge{
    font-size:0.68rem;
  }

  .process-card,
  .step-card,
  .work-card{
    padding:18px;
    border-radius:18px;
  }

  .whatsapp-btn{
    bottom:86px;
    right:14px;
  }
}

/* =========================================
   FIX MOBILE - COMO TRABAJAMOS
========================================= */
@media (max-width: 768px){

  .process,
  .steps,
  .work,
  .how-we-work{
    width:100%;
    overflow:hidden;
  }

  .process-grid,
  .steps-grid,
  .work-grid,
  .process-box,
  .steps-box,
  .work-box{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    width:100% !important;
  }

  .process-card,
  .step-card,
  .work-card,
  .process-item,
  .step-item,
  .work-item{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:20px !important;
    border-radius:20px !important;
  }

  .process-card h3,
  .step-card h3,
  .work-card h3,
  .process-item h3,
  .step-item h3,
  .work-item h3{
    font-size:20px !important;
    line-height:1.2 !important;
    margin-bottom:10px !important;
  }

  .process-card p,
  .step-card p,
  .work-card p,
  .process-item p,
  .step-item p,
  .work-item p{
    font-size:15px !important;
    line-height:1.55 !important;
  }
}

/* si esa sección está hecha con FLEX en vez de GRID */
@media (max-width: 768px){
  .process-grid,
  .steps-grid,
  .work-grid,
  .process-box,
  .steps-box,
  .work-box{
    flex-direction:column !important;
    flex-wrap:wrap !important;
  }

  .process-grid > *,
  .steps-grid > *,
  .work-grid > *,
  .process-box > *,
  .steps-box > *,
  .work-box > *{
    flex:1 1 100% !important;
  }
}

/* =========================================
   COMO TRABAJAMOS - RESPONSIVE
========================================= */

/* desktop */
.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.step{
  background:rgba(255,255,255,0.05);
  border-radius:24px;
  padding:24px;
  min-width:0;
}

.step span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:20px;
  background:rgba(117,153,255,0.18);
  font-size:20px;
  margin-bottom:20px;
}

.step h3{
  margin:0 0 14px 0;
  font-size:22px;
  line-height:1.2;
}

.step p{
  margin:0;
  font-size:16px;
  line-height:1.6;
}

/* tablet */
@media (max-width: 1024px){
  .steps{
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }
}

/* mobile */
@media (max-width: 768px){
  .steps{
    grid-template-columns:1fr;
    gap:16px;
  }

  .step{
    width:100%;
    max-width:100%;
    padding:20px;
    border-radius:20px;
  }

  .step span{
    width:56px;
    height:56px;
    border-radius:18px;
    font-size:18px;
    margin-bottom:16px;
  }

  .step h3{
    font-size:20px;
    margin-bottom:10px;
  }

  .step p{
    font-size:15px;
    line-height:1.55;
  }
}

/* mobile chico */
@media (max-width: 480px){
  .steps{
    gap:14px;
  }

  .step{
    padding:18px;
    border-radius:18px;
  }

  .step span{
    width:50px;
    height:50px;
    font-size:17px;
    border-radius:16px;
  }

  .step h3{
    font-size:18px;
  }

  .step p{
    font-size:14px;
  }
}
