
:root{
  --navy:#071b2c;
  --navy2:#0b2842;
  --blue:#087cf0;
  --blue2:#2f9aff;
  --text:#102237;
  --muted:#5f6f80;
  --line:#dfe7ef;
  --soft:#f4f7fa;
  --white:#fff;
  --radius:16px;
  --shadow:0 14px 38px rgba(6,30,52,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin-inline:auto}
.site-header{height:96px;background:#fff;position:sticky;top:0;z-index:1000;border-bottom:1px solid rgba(20,40,60,.08)}
.nav-wrap{height:100%;display:flex;align-items:center;gap:30px}
.brand img{width:390px;height:90px;object-fit:contain;object-position:left center}
.main-nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.main-nav a{font-size:14px;font-weight:650;position:relative;padding:36px 0}
.main-nav a::after{content:"";position:absolute;left:0;bottom:18px;width:0;height:2px;background:var(--blue);transition:.2s}
.main-nav a:hover::after{width:100%}
.menu-toggle{display:none;margin-left:auto;border:0;background:none;font-size:28px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:8px;
  padding:15px 22px;font-weight:750;cursor:pointer;transition:.2s;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--blue),#0567cc);color:#fff;box-shadow:0 9px 24px rgba(8,124,240,.22)}
.btn-sm{padding:12px 18px;font-size:14px}
.hero{
  min-height:560px;position:relative;color:#fff;display:flex;align-items:center;
  background:
    linear-gradient(90deg,rgba(1,14,26,.92) 0%,rgba(3,20,35,.75) 38%,rgba(1,14,26,.28) 70%,rgba(1,14,26,.62) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85") center/cover;
}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:70px;align-items:center;padding:78px 0}
.eyebrow{display:inline-block;font-size:12px;font-weight:850;letter-spacing:.16em;color:#66c7ff;margin-bottom:12px}
.eyebrow.blue{color:var(--blue)}
.hero h1{font-size:clamp(45px,5vw,74px);line-height:1.02;letter-spacing:-.035em;margin:0 0 22px;max-width:850px}
.hero h1 span{color:var(--blue2)}
.hero p{font-size:18px;color:#e6eef5;max-width:720px;margin:0 0 30px}
.hero-actions{margin-bottom:28px}
.tech-strip{display:flex;flex-wrap:wrap;gap:0;color:#eaf3fb;font-size:14px}
.tech-strip span{display:flex;align-items:center}
.tech-strip span:not(:last-child)::after{content:"";height:16px;width:1px;background:#8fa3b5;margin:0 14px}
.hero-features{border-left:1px solid rgba(255,255,255,.25);padding-left:28px;display:grid;gap:23px}
.hero-features div{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:center}
.hero-features b{font-size:27px;font-weight:500;color:#fff}
.hero-features span{font-size:13px;text-transform:uppercase;font-weight:800;line-height:1.25}
.benefits{background:#fff;border-bottom:1px solid var(--line)}
.benefit-grid{min-height:104px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center}
.benefit{display:flex;align-items:center;gap:18px;padding:0 25px;min-height:65px}
.benefit:not(:last-child){border-right:1px solid var(--line)}
.benefit .ico{font-size:34px;color:var(--navy)}
.benefit b{display:block;font-size:15px;margin-bottom:3px}
.benefit small{display:block;color:var(--muted);font-size:13px}
.section{padding:76px 0}
.section.soft{background:var(--soft)}
.section-heading{text-align:center;max-width:820px;margin:0 auto 40px}
.section-heading h2{font-size:clamp(30px,4vw,45px);letter-spacing:-.025em;margin:0 0 10px}
.section-heading p{color:var(--muted);margin:0 auto;max-width:700px}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid #e4ebf2;border-radius:12px;overflow:hidden;box-shadow:0 10px 25px rgba(8,33,54,.05);transition:.25s}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card-img{height:190px;background-position:center;background-size:cover}
.img-bms{background-image:url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80")}
.img-industrial{background-image:url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=900&q=80")}
.img-integration{background-image:url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80")}
.img-electric{background-image:url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=900&q=80")}
.card-body{padding:22px}
.service-title{display:flex;gap:10px;align-items:flex-start}
.service-title span{font-size:23px}
.card h3{font-size:18px;margin:1px 0 12px}
.card p{color:var(--muted);font-size:14px;min-height:132px;margin:0 0 15px}
.card a{color:var(--blue);font-weight:800;font-size:14px}
.about{position:relative;min-height:520px;background:var(--navy);color:#fff;overflow:hidden}
.about-image{
  position:absolute;right:0;top:0;width:58%;height:100%;
  background:
    linear-gradient(90deg,var(--navy) 0%,rgba(7,27,44,.4) 20%,rgba(7,27,44,.05) 100%),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&q=85") center/cover;
}
.about-grid{position:relative;display:grid;grid-template-columns:47% 1fr;min-height:520px;align-items:center}
.about-copy{padding:60px 0}
.about h2{font-size:44px;line-height:1.08;margin:0 0 18px;max-width:500px}
.about p{color:#dbe6ee;max-width:560px;margin-bottom:25px}
.about-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px}
.about-points div{border-left:1px solid rgba(255,255,255,.22);padding-left:14px}
.about-points b{display:block;font-size:16px}
.about-points span{display:block;color:#b8c7d4;font-size:12px;margin-top:3px}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project{background:#fff;border:1px solid var(--line);padding:28px;border-radius:12px}
.project span{display:block;color:var(--blue);font-weight:900;font-size:13px;letter-spacing:.08em}
.project h3{font-size:21px;margin:14px 0 8px}
.project p{margin:0;color:var(--muted)}
.commitment{padding:38px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.commit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:18px;text-align:left}
.commit-grid>div{display:flex;gap:13px;align-items:center;padding:10px 17px}
.commit-grid b{font-size:26px}
.commit-grid strong,.commit-grid small{display:block}
.commit-grid small{color:var(--muted);font-size:12px;margin-top:3px}
.contact-band{
  padding:70px 0;color:#fff;
  background:
    linear-gradient(90deg,rgba(7,27,44,.97),rgba(7,27,44,.88)),
    url("https://images.unsplash.com/photo-1497436072909-f5e4be1713c0?auto=format&fit=crop&w=1800&q=75") center/cover;
}
.contact-grid{display:grid;grid-template-columns:1fr 470px;gap:70px}
.contact-band h2{font-size:42px;margin:0 0 8px}
.contact-band p{color:#d7e2eb;margin-top:0}
.contact-info{display:grid;gap:12px;margin-top:28px}
.contact-info a,.contact-info span{color:#eaf2f8}
.contact-form{background:#fff;color:var(--text);border-radius:14px;padding:25px;box-shadow:var(--shadow);display:grid;gap:14px}
.contact-form label{font-size:13px;font-weight:750}
.contact-form input,.contact-form textarea{
  width:100%;margin-top:7px;padding:13px 14px;border:1px solid #ced9e3;border-radius:8px;
  font:inherit;outline:none;background:#fbfdff;
}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(8,124,240,.12)}
.hidden{display:none}
.footer{background:#071725;color:#d8e3ec}
.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:30px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-brand img{width:330px;height:105px;object-fit:contain;object-position:left center;background:#fff;border-radius:9px;padding:5px}
.footer-brand p{font-size:12px;margin:4px 0 0;color:#98aabb}
.footer-links{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-size:12px;color:#93a6b7}

@media (max-width:980px){
  .desktop-cta{display:none}
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;left:0;right:0;top:96px;background:#fff;display:none;flex-direction:column;
    align-items:stretch;gap:0;padding:10px 4%;box-shadow:0 14px 28px rgba(0,0,0,.12)
  }
  .main-nav.open{display:flex}
  .main-nav a{font-size:14px;font-weight:650;position:relative;padding:36px 0}
  .main-nav a::after{display:none}
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .hero-features{grid-template-columns:repeat(2,1fr);border-left:0;border-top:1px solid rgba(255,255,255,.25);padding:25px 0 0}
  .benefit-grid{grid-template-columns:repeat(2,1fr)}
  .benefit:nth-child(2){border-right:0}
  .benefit:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .about-image{width:100%;opacity:.28}
  .about-grid{grid-template-columns:1fr}
  .about-copy{max-width:700px}
  .project-grid{grid-template-columns:1fr}
  .commit-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
  .brand img{width:390px;height:90px;object-fit:contain;object-position:left center}
  .hero{min-height:auto}
  .hero-grid{padding:60px 0}
  .hero h1{font-size:44px}
  .hero p{font-size:16px}
  .hero-features{grid-template-columns:1fr}
  .benefit-grid{grid-template-columns:1fr}
  .benefit{padding:18px 0;border-right:0!important;border-bottom:1px solid var(--line)}
  .service-grid{grid-template-columns:1fr}
  .card p{min-height:auto}
  .about h2{font-size:35px}
  .about-points{grid-template-columns:1fr}
  .commit-grid{grid-template-columns:1fr}
  .contact-band h2{font-size:34px}
  .footer-top,.footer-bottom{flex-direction:column;align-items:flex-start}
}

/* Footer v4 */
.footer{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(27,78,116,.32), transparent 38%),
    linear-gradient(135deg,#071725 0%,#0a2236 50%,#061522 100%);
  color:#d8e3ec;
}
.footer::before,.footer::after{
  content:"";
  position:absolute;
  width:260px;height:260px;
  border:1px solid rgba(43,133,218,.18);
  transform:rotate(45deg);
  pointer-events:none;
}
.footer::before{left:-190px;top:40px}
.footer::after{right:-190px;top:15px}
.footer-centered{
  position:relative;
  z-index:1;
  padding:38px 0 20px;
  text-align:center;
}
.footer .footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.footer .footer-brand img{
  width:300px;
  height:auto;
  max-height:150px;
  object-fit:contain;
  background:transparent;
  border-radius:0;
  padding:0;
  margin:0 auto;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.20));
}
.footer .footer-brand p{
  margin:8px 0 0;
  color:#a9bed0;
  font-size:13px;
  letter-spacing:.04em;
}
.footer .footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
  margin:30px auto 25px;
  font-size:14px;
}
.footer .footer-links a{
  padding:0 22px;
  color:#f1f6fa;
}
.footer .footer-links a:not(:last-child){
  border-right:1px solid rgba(255,255,255,.24);
}
.footer-divider{
  height:1px;
  background:rgba(255,255,255,.18);
  width:100%;
}
.footer .footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  padding:20px 0 0;
  font-size:12px;
  color:#9db2c3;
  text-align:left;
}
@media (max-width:620px){
  .footer .footer-brand img{width:250px}
  .footer .footer-links{gap:12px}
  .footer .footer-links a{padding:0 10px;border-right:0!important}
  .footer .footer-bottom{flex-direction:column;align-items:center;text-align:center}
}

/* Footer v5 - integración final */
.footer-centered{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.footer .footer-brand{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.footer .footer-brand img{
  display:block;
  width:290px;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
  padding:0;
  background:transparent !important;
  border:none;
  border-radius:0;
  box-shadow:none;
}
.footer .footer-brand p{
  width:100%;
  text-align:center;
  margin:8px auto 0;
}
.footer .footer-links{
  width:100%;
  justify-content:center;
  text-align:center;
}
.footer .footer-bottom{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 38px;
  text-align:center;
}
.footer .footer-bottom span{
  text-align:center;
}
@media (max-width:620px){
  .footer .footer-brand img{width:235px}
  .footer .footer-bottom{justify-content:center;text-align:center}
}

/* Footer v6 - logo nítido sin fondo blanco */
.footer .footer-brand{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.footer .footer-brand .footer-symbol{
  width:92px !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain;
  background:transparent !important;
  padding:0 !important;
  margin:0 auto 12px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.20));
}
.footer-brand-name{
  color:#ffffff;
  font-size:31px;
  line-height:1.02;
  letter-spacing:.10em;
  font-weight:400;
  text-align:center;
}
.footer-brand-name span{
  display:inline-block;
  margin-top:5px;
}
.footer .footer-brand p{
  width:100%;
  margin:10px auto 0;
  color:#9ec4df;
  font-size:14px;
  text-align:center;
  letter-spacing:.015em;
}
.footer .footer-links{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  margin:30px auto 25px;
}
.footer .footer-bottom{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 38px;
  text-align:center;
}
@media (max-width:620px){
  .footer .footer-brand .footer-symbol{width:78px !important}
  .footer-brand-name{font-size:25px}
}

/* V7 - corrección definitiva de logos */
.site-header .brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.site-header .brand img{
  width:310px !important;
  height:72px !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}
.footer .footer-brand .footer-symbol{
  width:105px !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 auto 14px !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
@media (max-width:980px){
  .site-header .brand img{
    width:270px !important;
    height:68px !important;
  }
}
@media (max-width:620px){
  .site-header .brand img{
    width:220px !important;
    height:62px !important;
  }
  .footer .footer-brand .footer-symbol{
    width:88px !important;
  }
}

/* V9 - iconos Áreas de aplicación */
.project{
  position:relative;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.project:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 34px rgba(8,33,54,.10);
  border-color:#c9dced;
}
.project-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}
.project-top > span{
  color:var(--blue);
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
}
.project-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:var(--blue);
  background:linear-gradient(145deg,#eef7ff,#ffffff);
  border:1px solid #d8eaff;
  box-shadow:0 8px 18px rgba(8,124,240,.08);
}
.project-icon svg{
  width:31px;
  height:31px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.project h3{margin-top:0}

/* V10 - tamaño final del isotipo del footer */
.footer .footer-brand .footer-symbol{
  width:82px !important;
  height:auto !important;
}
@media (max-width:620px){
  .footer .footer-brand .footer-symbol{
    width:72px !important;
  }
}
