:root{
  --height-desktop: 70px;
  --bg: #ffffff;
  --accent: #111;
  --muted: #555;
  --footer-bg:#263238;
  --primary-btn:#008b7a;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:#f6f7f8;
  padding-top: var(--height-desktop); /* espacio para header fijo en desktop */
}

/* ---------- HEADER FIJO A TODO ANCHO ---------- */
.navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:var(--bg);
  border-bottom: 3px solid rgba(0,0,0,0.04);
}

.navbar-inner{
 /* max-width:1100px;*/
  margin:0 auto;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--height-desktop);
}

.nav-left{
  display:flex;
  align-items:center;
  gap:24px;
}

.logo{
  height:40px;
  cursor:pointer;
}

.nav-link{
  font-size:16px;
  color:var(--muted);
  text-decoration:none;
  padding-bottom:4px;
  border-bottom:2px solid transparent;
}
.nav-link.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
}

/* ---------- MOBILE HEADER (también fijo full-width) ---------- */
.mobile-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:var(--bg);
  border-bottom: 3px solid rgba(0,0,0,0.04);
  display:none;
}

.mobile-header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:14px 18px;
}

.mobile-row{ display:flex; align-items:center; justify-content:space-between; }

.close-btn{
  width:36px; height:36px;
  display:inline-grid; place-items:center;
  border:2px solid #222; border-radius:6px; cursor:pointer;
  background:transparent;
}

.mobile-body{
  margin-top:14px;
  display:flex; flex-direction:column; gap:10px; align-items:stretch;
}
.mobile-body.collapsed{ display:none; }

.mobile-home{ display:flex; justify-content:center; }
.mobile-home a{
  font-size:18px;
  color:var(--muted);
  text-decoration:none;
  padding-bottom:6px;
  border-bottom:2px solid transparent;
}
.mobile-home a.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
}

.mobile-social{
  display:flex;
  gap:12px;
  justify-content:flex-end;
}
.mobile-social .icon{
  width:32px;height:32px;
  display:inline-grid;place-items:center;
}

@media(max-width:800px){
  .navbar{ display:none; }
  .mobile-header{ display:block; }
  body{ padding-top:90px; } /* algo más alto para el header móvil */
}

/* ---------- HERO VIDEO ---------- */
.hero{
  position:relative;
  height:420px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  color:#fff;
  padding-bottom:40px;
  overflow:hidden;
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.hero-text-container{
  position:relative; z-index:2; text-align:center;
  max-width:900px; padding:0 20px;
}
.hero-title{
  font-size:48px; font-weight:700; margin:0; line-height:1.1;
  text-shadow:0 6px 18px rgba(0,0,0,0.5);
}
.hero-subtitle{
  margin-top:18px; font-size:22px; line-height:1.4;
  text-shadow:0 4px 12px rgba(0,0,0,0.45);
}

/* ---------- SERVICES SECTION (3 CARDS) ---------- */
.services-section{
  background:#263238;
  padding:60px 0 80px;
  color:#fff;
}
.services-inner{
  max-width:1100px; margin:0 auto; padding:0 18px;
}
.services-title{
  font-size:36px; margin:0 0 10px; text-align:center; font-weight:700;
}
.services-subtitle{
  text-align:center; color:#d0d7dd; font-size:16px; max-width:700px; margin:0 auto;
}
.services-grid{
  margin-top:40px;
  display:grid; gap:24px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.service-card{
  background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.35);
}
.service-card img{
  width:100%; height:220px; object-fit:cover;
}
.service-card-body{
  padding:22px; color:#222;
}
.service-card-title{ font-size:18px; font-weight:600; margin:0 0 10px; }

@media(max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .services-grid{ grid-template-columns:1fr; } }

/* ---------- INNOVATIVE PROJECTS SECTION ---------- */
.projects-section{
  padding:80px 0;
  background:#f6f7f8;
}
.projects-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  text-align:center;
}
.projects-title{
  font-size:36px;
  margin:0 0 12px;
  font-weight:700;
}
.projects-subtitle{
  font-size:16px; color:#555; margin-bottom:50px;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
  align-items:center;
  margin-bottom:30px;
}
.project-img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
}

.project-info{
  text-align:left;
  max-width:500px;
}
.project-title{
  font-size:22px;
  font-weight:600;
  margin:0 0 10px;
}
.project-text{
  font-size:15px;
  color:#555;
  margin:0 0 20px;
}

.discover-btn{
  display:inline-block;
  padding:14px 34px;
  border:2px solid #111;
  border-radius:40px;
  font-size:16px;
  color:#111;
  text-decoration:none;
  transition:0.2s;
}
.discover-btn:hover{
  background:#111; color:#fff;
}

@media(max-width:900px){
  .projects-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
  .project-info{
    text-align:center;
    margin:auto;
  }
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials-section{
  background:#050919;
  padding:80px 0 90px;
  color:#fff;
}

.testimonials-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  text-align:center;
}

.testimonials-title{
  font-size:34px;
  margin:0 0 12px;
  font-weight:700;
}

.testimonials-subtitle{
  font-size:15px;
  color:#c3cede;
  margin:0 0 40px;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.testimonial-card{
  background:#0b1122;
  border-radius:24px;
  padding:26px 24px 24px;
  box-shadow:0 18px 40px rgba(0,0,0,0.55);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.testimonial-header{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
}

.testimonial-avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(255,255,255,0.35);
  flex-shrink:0;
}

.testimonial-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.testimonial-text{
  font-size:15px;
  line-height:1.6;
  margin:0 0 14px;
  font-style:italic;
  text-align:left;
}

.testimonial-name{
  margin:0;
  font-size:14px;
  font-weight:600;
  text-align:left;
}

.testimonial-role{
  margin:4px 0 0;
  font-size:12px;
  color:#a8b4d5;
  text-align:left;
}

@media(max-width:900px){
  .testimonials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .testimonials-grid{
    grid-template-columns:1fr;
  }
}

/* ---------- FOOTER ---------- */
.site-footer{
  background:var(--footer-bg);
  color:#fff;
  padding:50px 0 30px;
}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:2fr 1.3fr 2fr;
  gap:40px;
  align-items:flex-start;
  font-size:14px;
}

.footer-col-title{
  font-size:18px;
  font-weight:600;
  margin:0 0 14px;
}

.footer-brand-text{
  max-width:260px;
  line-height:1.5;
  margin:0 0 22px;
  color:#d5dde0;
}

.footer-social{
  display:flex;
  gap:18px;
  margin-bottom:24px;
}
.footer-social a{
  text-decoration:none;
  border:none;
  width:auto;
  height:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.footer-social a:visited{
  color:#fff;
}
.footer-social a:hover{
  color:#fff;
  opacity:0.8;
}
.footer-social i{
  font-size:24px;
  color:inherit;
}

.footer-copy{
  font-size:13px;
  color:#b9c4c9;
  margin-top:6px;
}

.footer-services p,
.footer-services a{
  margin:0 0 6px;
  color:#e5eef2;
  text-decoration:none;
  line-height:1.5;
}
.footer-services-title,
.footer-contact-title{
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  margin-bottom:10px;
}

.footer-contact label{
  display:block;
  font-size:13px;
  margin-bottom:8px;
  color:#e5eef2;
}
.footer-input-wrap{
  width:100%;
  max-width:360px;
}
.footer-input{
  width:100%;
  border-radius:8px;
  border:none;
  padding:10px 12px;
  font-size:14px;
  outline:none;
}
.footer-input::placeholder{
  color:#b0b7bc;
}

.footer-btn{
  margin-top:14px;
  border:none;
  border-radius:999px;
  padding:12px 28px;
  font-size:15px;
  cursor:pointer;
  background:var(--primary-btn);
  color:#fff;
  font-weight:500;
  box-shadow:0 10px 20px rgba(0,0,0,0.35);
  transition:transform .15s, box-shadow .15s, opacity .15s;
}
.footer-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(0,0,0,0.4);
  opacity:.95;
}

@media(max-width:900px){
  .footer-inner{
    grid-template-columns:1.5fr 1.5fr;
  }
  .footer-contact{
    grid-column:1 / -1;
  }
}

@media(max-width:600px){
  .footer-inner{
    grid-template-columns:1fr;
    gap:30px;
  }
  .footer-brand-text{
    max-width:none;
  }
  .footer-input-wrap{
    max-width:none;
  }
}

.container-quantumai {
  margin-top: 10px;
}

.contailer-logo-2 {
  text-align: center;
}

.img-logo-2 {
  width: 150px;
}


