:root{
  --black:#070707;
  --black-2:#111;
  --white:#fff;
  --gray:#efefef;
  --red:#f04e37;
  --red-dark:#d84430;
  --text:#161616;
  --muted:#666;
  --max:1240px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: 'Inter', sans-serif;
  background:#fff;
  color:var(--text);
}
img{ display:block; max-width:100%; }
a{ text-decoration:none; color:inherit; }

h1,h2,h3,h4,h5{
  font-family: 'Montserrat', sans-serif;
}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

/* =========================
   TOPBAR / NAV
========================= */
.topbar{
  background:var(--black);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  min-height:64px;
  display:flex;
  align-items:center;
  gap:16px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:140px;
}

.brand-logo{
  width:180px;
  height:auto;
}

.nav-links{
  display:flex;
  gap:22px;
  margin-left:20px;
  color:rgba(255,255,255,.92);
  font-size:14px;
}

.nav-links a{
  opacity:.85;
}

.nav-links a:hover{
  opacity:1;
  text-decoration:underline;
}

.nav-links a.active{
  opacity:1;
  font-weight:700;
}

.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px;
  height:40px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.25);
  color:#fff;
  border-radius:8px;
  cursor:pointer;
}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:2px;
  font-size:11px;
  font-weight:800;
}

.btn-header{
  margin-left:auto;
  background:var(--red);
  color:#fff;
  transition:background .2s ease;
}

.btn-header:hover{
  background:var(--red-dark);
}

/* HERO */
.projects-hero{
  position:relative;
  min-height:420px;
  background:url("../images/kube-projects.png") center/cover no-repeat;
}
.projects-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.3) 100%);
}
.hero-content{
  position:relative;
  z-index:1;
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.hero-box{
  max-width:470px;
  color:#fff;
}
.hero-box h1{
  color:var(--red);
  font-size:42px;
  line-height:1;
  margin:0 0 12px;
}
.hero-box p{
  margin:0 0 18px;
  font-size:14px;
  line-height:1.6;
  background:rgba(255,255,255,.72);
  color:#333;
  padding:10px 12px;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:3px;
  font-size:12px;
  font-weight:800;
}
.btn-red{
  background:var(--red);
  color:#fff;
}
.btn-red:hover{
  background:var(--red-dark);
}

/* SOLUTIONS */
.solutions{
  background:#000;
  padding:38px 0 42px;
  position:relative;
  overflow:hidden;
}
.solutions::before{
  content:"";
  position:absolute;
  inset:auto auto 0 0;
  width:220px;
  height:220px;
  background:linear-gradient(135deg, transparent 20%, rgba(240,78,55,.95) 20%, rgba(240,78,55,.55) 62%, transparent 62%);
  opacity:.8;
}
.solutions::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:240px;
  height:220px;
  background:linear-gradient(225deg, rgba(240,78,55,.95) 0%, rgba(240,78,55,.35) 48%, transparent 48%);
  opacity:.85;
}
.section-title{
  text-align:center;
  margin:0 0 26px;
}
.section-title-orange{
  color:#ff5a22;
  font-size:34px;
}
.solutions-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.solution-card{
  background:#fff;
  padding:20px 18px 16px;
  min-height:100%;
}
.icon-circle{
  margin-bottom:10px;
}

.icon-circle img{
  width:50px;
  height:50px;
  object-fit:contain;
  display:block;
}

.solution-card h3{
  margin:0 0 10px;
  color:var(--red);
  font-size:24px;
  line-height:1.1;
}
.solution-card p{
  margin:0 0 12px;
  color:#444;
  font-size:13px;
  line-height:1.55;
}
.solution-card ul{
  margin:0 0 16px 16px;
  padding:0;
  color:#444;
  font-size:12.5px;
  line-height:1.55;
}
.solution-preview{
  width:100%;
  height:240px;
  object-fit:cover;
  margin-top:16px;
  display:block;
}

/* PROFESSIONALS */
.professionals{
  background:#fff;
  padding:0;
}

.professionals-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:stretch;
  gap:0;
  width:100%;
}

.professionals-image{
  display:flex;
  min-width:0;
}

.professionals-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left top;
  display:block;
}

/* columna derecha con fondo blanco */
.professionals-content-wrap{
  background:#fff;
  display:flex;
  align-items:center;
}

/* aquí controlas el ancho interno del texto */
.professionals-content{
  width:100%;
  max-width:680px;
  padding:48px 46px 32px 56px;
}

.professionals-content h2{
  color:var(--red);
  font-size:34px;
  margin:0 0 14px;
}

.professionals-content > p{
  margin:0 0 18px;
  color:#555;
  line-height:1.65;
  font-size:13.5px;
}

.pro-list{
  display:grid;
  gap:16px;
}

.pro-item{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:14px;
  align-items:flex-start;
}

.pro-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:10px;
  margin-top:2px;
}

.pro-item h4{
  margin:0 0 6px;
  color:var(--red);
  font-size:15px;
}

.pro-item p{
  margin:0;
  color:#555;
  font-size:13px;
  line-height:1.55;
}

/* TESTIMONIALS */
.testimonials{
  background:#050505;
  color:#fff;
  padding:34px 0 42px;
}
.testimonials-title{
  text-align:center;
  margin:0 0 24px;
  font-size:28px;
}
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.testimonial-card{
  background:var(--red);
  padding:22px 20px;
  text-align:center;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.quote-mark{
  font-size:28px;
  line-height:1;
  margin-bottom:10px;
}
.testimonial-card p{
  margin:0 0 18px;
  font-size:13px;
  line-height:1.65;
}
.testimonial-card strong{
  display:block;
  font-size:13px;
}
.testimonial-card span{
  display:block;
  font-size:11px;
  margin-top:4px;
}

/* CTA */
.collaborate{
  background:#ececec;
  text-align:center;
  padding:38px 0 28px;
}
.collaborate-content h2{
  color:var(--red);
  font-size:32px;
  margin:0 0 12px;
}
.collaborate-content p{
  max-width:900px;
  margin:0 auto 18px;
  color:#444;
  font-size:13px;
  line-height:1.7;
}

/* STATS */
.stats{
  background:#ececec;
  padding:0 0 30px;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  text-align:center;
}
.stat h3{
  margin:0 0 6px;
  color:var(--red);
  font-size:34px;
}
.stat p{
  margin:0;
  color:#555;
  font-size:12px;
  line-height:1.45;
}

/* FOOTER */
.footer{
  background:#070707;
  color:#fff;
}
.footer-top{
  display:grid;
  grid-template-columns:1.1fr .8fr .9fr 1fr;
  gap:26px;
  padding:26px 0 18px;
}
.footer-logo{
  width:145px;
  height:auto;
}
.brand-col p{
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.6;
  margin:12px 0 14px;
  max-width:38ch;
}
.footer-col h4{
  color:var(--red);
  font-size:14px;
  margin:8px 0 12px;
}
.footer-col a,
.contact-item{
  display:block;
  color:rgba(255,255,255,.75);
  font-size:12px;
  line-height:1.7;
  margin-bottom:4px;
}

.social{
  display:flex;
  gap:14px;
}

.social-icon{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#161616;
  display:grid;
  place-items:center;
  transition:0.25s ease;
}

.social-icon svg{
  width:18px;
  height:18px;
  fill:#fff;
  display:block;
}

.social-icon:hover{
  background: var(--red);
  transform:translateY(-2px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  padding:14px 0 18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:11px;
  color:rgba(255,255,255,.58);
}
.policies{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .solutions-grid,
  .testimonials-grid,
  .stats-grid{
    grid-template-columns:1fr 1fr;
  }

  .professionals-grid,
  .footer-top{
    grid-template-columns:1fr;
  }

  .professionals-content{
    max-width:none;
    padding:36px 24px;
  }
}

@media (max-width: 640px){
  .container{
    width:min(var(--max), calc(100% - 28px));
  }

  .brand-logo{
    width:78px;
  }

  .nav-toggle{
    display:block;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:56px;
    right:20px;
    background:rgba(0,0,0,.85);
    border:1px solid rgba(255,255,255,.18);
    padding:10px 12px;
    border-radius:10px;
    flex-direction:column;
    gap:10px;
    margin-left:0;
  }

  .nav-links.show{
    display:flex;
  }

  .btn-header{
    display:none;
  }

  .service-block{
    padding:40px 0 36px;
  }

  .first-block{
    padding-top:28px;
  }

  .service-title{
    font-size:17px;
    margin-bottom:24px;
    gap:10px;
  }

  .title-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
  }

  .footer-top{
    grid-template-columns:1fr;
  }

  .tours-block::after{
    width:160px;
    height:110px;
    right:-30px;
  }
}