:root{
  --navy: #c8d5e6;
  --royal: #5b8cff;
  --sky:  #8db6ff;
  --gray: #0d1a2b;
  --white:#0f1826;
  --muted:#9bb1c9;
  --glass: rgba(255,255,255,0.04);
  --card-bg: #172233;
  --accent: #6ea8ff;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Inter',system-ui;
  background: linear-gradient(180deg,#0b1523,#0f1b2d);
  color:var(--navy);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* LAYOUT */
.container{
  width:92%;
  max-width:1240px;
  margin:0 auto;
}

/* HEADER */
header.site-header{
  position:sticky;top:0;z-index:60;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;padding:18px 0;
}
.brand{display:flex;align-items:center;gap:12px}
.logo-badge{
  width:44px;height:44px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--royal),var(--sky));
  color:#fff;font-weight:700;font-size:18px;
  box-shadow:0 6px 18px rgba(38,109,211,0.38);
}
.brand h1{font-size:16px;font-weight:700;color:var(--navy)}
nav.main-nav a{margin-left:18px;color:var(--muted);font-weight:500}
nav.main-nav a:hover{color:var(--accent)}

/* HERO */
.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
  background:linear-gradient(180deg,#0a1529,#0e2441 60%);
}

.hero .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
  padding:90px 0;
}

/* left */
.hero-left{
  flex:1;
  text-align:left;
  max-width:650px;
}

.hero-title{
  font-size:52px;
  font-weight:900;
  line-height:1.1;
  color:#fff;
  margin-bottom:12px;
}

.hero-big-text{
  font-size:28px;
  font-weight:500;
  color:rgba(255,255,255,0.85);
  margin-bottom:10px;
}

.hero-strong{
  font-size:36px;
  font-weight:800;
  color:#fff;
}

.hero-desc{
  font-size:18px;
  color:rgba(255,255,255,0.85);
  line-height:1.55;
  margin-bottom:20px;
}

/* Buttons */
.cta-row{
  display:flex;gap:14px;align-items:center;
}

.btn-primary{
  background:linear-gradient(90deg,var(--royal),var(--sky));
  color:#fff;
  padding:12px 20px;
  border-radius:10px;
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}
.btn-primary:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(38,109,211,0.28)
}

/* right */
.hero-right{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
}

.hero-shape{
  position:absolute;right:-8%;top:-6%;
  width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(100,166,240,0.12), transparent 35%),
             radial-gradient(circle at 70% 70%, rgba(38,109,211,0.1), transparent 30%);
  filter: blur(22px);
  pointer-events:none;
}

.hero-mockup{
  width:380px;
  border-radius:16px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 25px 45px rgba(0,0,0,0.42);
}

/* ABOUT */
.about{
  padding:56px 0;
  background:linear-gradient(180deg,#0f1b2d,#152337);
  text-align:center;
}
.about .container{max-width:900px}
.about h2{font-size:26px;color:var(--navy);margin-bottom:8px}
.about p{color:var(--navy);opacity:.9;line-height:1.6}
.tagline{
  display:inline-block;
  margin-top:12px;padding:6px 10px;
  border-radius:999px;
  background:#1b2a41;
  color:var(--navy);
  font-weight:600;
}

/* PROJECTS */
.projects{
  padding:42px 0;background:#0f1623;
}
.projects h2{text-align:center;color:var(--navy);font-size:22px;margin-bottom:14px}

.projects-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.project-card {
  background: #1a2638;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 24px;
  border-radius: 14px;
  width: 330px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.project-media img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project-title{font-weight:700;color:var(--navy);margin-bottom:6px}
.project-desc{color:var(--muted);font-size:14px;margin-bottom:12px;line-height:1.45}

/* PROCESS */
.process{
  padding:80px 0;
  background:#101b2a;
  color:var(--navy);
  text-align: center;
}

.process-scroll {
  display: flex;
  justify-content: center; /* Centra horizontalmente las cards */
  align-items: flex-start;
  gap: 20px;

  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;

  margin: 0 auto; /* Centra el contenedor dentro de la página */
  width: 100%;
  max-width: 900px; /* evita que se estiren demasiado */
}

.process-scroll::-webkit-scrollbar{height:6px}
.process-scroll::-webkit-scrollbar-thumb{background:#1f324d;border-radius:10px}
.process-scroll::-webkit-scrollbar-track{background:#0d1522}

.process-card{
  margin-top:20px ;
  min-width:260px;
  max-width:260px;
  background:#1a2638;
  border:2px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:25px;
  text-align:center;
  transition:all .3s ease;
  box-shadow:0 4px 10px rgba(0,0,0,0.4);
}

.process-card:hover{
  transform:translateY(-6px);
  border-color:#6ea8ff;
  box-shadow:0 8px 22px rgba(0,0,0,0.6);
}
.process-card h3{
  color:var(--navy);
  font-size:1.25rem;
  margin-bottom:10px;
  font-weight:600;
}
.process-card p{
  color:#dbe6f7;
  font-size:.95rem;
  line-height:1.5;
}

/* VIDEO & CONTACT */
.section{padding:48px 0}
.video-wrap{
  max-width:900px;
  margin:16px auto;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.5);
}
iframe{width:100%;height:360px;border:0}

.contact-card{
  background:#1a2638;
  padding:18px;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,0.42);
  border:1px solid rgba(255,255,255,0.08);
}
label{
  display:block;font-size:13px;color:var(--navy);
  margin-bottom:6px;font-weight:600;
}
input,textarea{
  width:100%;padding:10px;border-radius:10px;
  border:1px solid rgba(255,255,255,0.12);
  margin-bottom:12px;font-size:14px;
  background:#152032;
  color:#e5ecf5;
}
textarea{min-height:140px;resize:vertical}

.muted{color:var(--muted);font-size:13px}

/* FOOTER */
footer{
  padding:28px 0;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

/* REVEAL */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:all .6s cubic-bezier(.2,.9,.3,1);
}
.reveal.visible{
  opacity:1;
  transform:none;
}

.image-edit img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
}


/* RESPONSIVE */
@media (max-width:1000px){
  .hero{min-height:68vh}
  .hero .container{flex-direction:column;text-align:center;padding:60px 0}

  .hero-left{text-align:center}
  .hero-right{margin-top:20px}

  .project-card{min-width:420px}

  .contact-grid{grid-template-columns:1fr}
}

@media (max-width:600px){
  .hero-title{font-size:32px}
  .hero-big-text{font-size:22px}
  .hero-strong{font-size:28px}

  .project-card{min-width:320px;height:330px}
  iframe{height:240px}
}
