
/* JB Electricidad 2.5.0 — Fidelity pass contra mockup maestro */
:root{
  --navy:#031827;
  --yellow:#ffbd00;
  --yellow-2:#f3a900;
  --text:#0f1c27;
  --muted:#697782;
  --line:#e5eaee;
  --radius:5px;
}
html{background:#e9edf0}
body{
  max-width:1440px;
  margin:0 auto;
  background:#fff;
  color:var(--text);
  font-size:15px;
  line-height:1.45;
  box-shadow:0 0 30px rgba(5,24,39,.08);
}
.wrap{width:min(1200px,83.5%);margin-inline:auto}
.eyebrow{
  color:#f4a900;
  font-size:11px;
  line-height:1;
  letter-spacing:.07em;
  font-weight:900;
}

/* HEADER */
.site-header{
  position:relative;
  height:64px;
  background:#031827;
  border:0;
  box-shadow:none;
}
.header-inner{height:64px;gap:28px}
.site-header .brand{gap:10px}
.site-header .brand-logo{
  width:50px!important;height:50px!important;
}
.site-header .brand span{
  font-size:20px!important;
  line-height:1;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-shadow:none!important;
}
.nav ul{gap:25px}
.nav a{
  padding:23px 0 20px;
  font-size:12px;
  font-weight:700;
}
.nav a:after{bottom:10px;height:2px}
.btn-phone{
  min-height:38px;
  padding:0 18px;
  border-radius:4px;
  font-size:12.5px;
  box-shadow:none;
}

/* HERO */
.hero{background:#031827}
.hero-grid{
  height:350px;
  grid-template-columns:51% 49%;
}
.hero-copy{padding:36px 36px 28px 10px}
.hero h1{
  max-width:570px;
  margin:10px 0 10px;
  font-size:43px;
  line-height:.99;
  letter-spacing:-.035em;
}
.hero p{
  max-width:500px;
  color:#fff;
  font-size:14px;
  line-height:1.35;
}
.actions{gap:12px;margin-top:18px}
.hero .btn{
  min-height:42px;
  padding:0 18px;
  font-size:12.5px;
  border-radius:4px;
}
.hero-photo{background-position:58% center}
.hero-photo:before{
  background:linear-gradient(90deg,#031827 0,rgba(3,24,39,.58) 18%,rgba(3,24,39,.08) 48%,transparent 75%);
}
.trust{
  min-height:64px;
  gap:36px;
}
.trust>div{gap:12px}
.trust i{
  width:38px;height:38px;
  font-size:30px;
}
.trust i .jbe-svg{width:31px;height:31px}
.trust b{font-size:13px;font-weight:800}
.trust small{font-size:11px;line-height:1.2}

/* SERVICIOS */
.section{padding:34px 0}
.section h2,.why h2,.cta h2{
  margin:5px 0 8px;
  font-size:27px;
  line-height:1.02;
}
.section-head{
  align-items:end;
  margin-bottom:16px;
}
.section-head>p{
  max-width:390px;
  font-size:12.5px;
  line-height:1.45;
}
.cards{gap:13px}
.cards article{
  border-radius:4px;
  box-shadow:none;
}
.service-image{height:103px}
.card-body{padding:9px 12px 11px}
.cards .icon{
  width:28px;height:28px;
  margin:0;
  font-size:24px;
}
.cards .icon .jbe-svg{width:25px;height:25px}
.cards h3{
  margin:3px 0 1px;
  font-size:12.5px;
  line-height:1.15;
}
.cards p,.card-text{
  font-size:11.5px;
  line-height:1.28;
}
.more{
  margin-top:10px;
  gap:5px!important;
  font-size:11.5px;
  line-height:1;
}
.more::after{font-size:1.3em!important}

/* WHY */
.why{
  grid-template-columns:34% 38% 28%;
  min-height:300px;
}
.why-photo{background-position:center}
.why-copy{padding:28px 26px}
.why-copy h2{font-size:25px}
.why-copy>p{font-size:12px;line-height:1.4}
.why-copy ul{margin-top:12px}
.why-copy li{
  margin:5px 0;
  font-size:12px;
  line-height:1.15;
}
.why-copy li:before{
  flex-basis:18px;width:18px;height:18px;
  margin-right:8px;
}
.why .benefits{
  padding:18px 22px 18px 0!important;
}
.why .benefits>div{
  min-height:56px!important;
  gap:12px!important;
  padding:9px 13px!important;
}
.why .benefits i{
  flex:0 0 36px!important;
  width:36px!important;height:36px!important;
}
.why .benefits i .jbe-svg{
  width:32px!important;height:32px!important;
}
.why .benefits b{
  font-size:12.5px!important;
  line-height:1.1;
}
.why .benefits small{
  margin-top:2px;
  font-size:10.5px!important;
  line-height:1.2;
}

/* CTA */
.cta{
  min-height:192px;
  background-position:center!important;
}
.cta .wrap{padding:24px 0}
.cta h2{
  max-width:455px;
  margin:5px 0 8px;
  font-size:29px;
  line-height:1.02;
}
.cta p{
  max-width:430px;
  margin-bottom:13px;
  font-size:12.5px;
  line-height:1.4;
}
.cta .btn{
  min-height:40px;
  font-size:12px;
}
.sectors .wrap{min-height:68px}
.sectors .wrap>div{gap:10px;padding:0 18px}
.sectors i{
  width:35px;height:35px;
}
.sectors i .jbe-svg{width:31px;height:31px}
.sectors b{font-size:12px}
.sectors small{font-size:10.5px;line-height:1.2}

/* PROYECTOS */
.projects-section{padding:27px 0 30px}
.title-row{margin-bottom:12px}
.title-row h2{font-size:25px}
.title-row>a{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:11.5px;
  line-height:1;
}
.projects-carousel .projects{gap:13px!important}
.projects-carousel .projects article{
  flex-basis:calc((100% - 39px)/4)!important;
  min-width:calc((100% - 39px)/4)!important;
  border-radius:4px;
  box-shadow:none;
}
.project-image{height:103px}
.project-image span{
  padding:3px 7px;
  font-size:7px;
}
.project-zoom{
  right:5px!important;bottom:5px!important;
  width:21px!important;height:21px!important;
}
.project-copy{padding:6px 9px 8px}
.project-copy h3{
  margin-bottom:2px;
  font-size:11.5px;
  line-height:1.15;
}
.project-copy p,.project-location{
  font-size:10px!important;
}
.project-location svg{width:11px!important;height:11px!important}
.projects-nav{display:flex!important}

/* TESTIMONIOS — se conservan sin controles por pedido anterior */
.testimonials{
  padding:24px 0 29px;
  background:#f5f7f8!important;
}
.testimonials h2{
  margin:5px 0 12px!important;
  font-size:24px!important;
}
.testimonial-nav{display:none!important}
.quotes{gap:14px}
.quotes blockquote{
  min-height:121px!important;
  padding:12px 15px!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
.quote-top>b{
  font-size:31px!important;
  font-weight:900!important;
}
.stars{font-size:9px!important}
.quote-text{
  margin:5px 0 9px!important;
  font-size:11.5px!important;
  line-height:1.25!important;
}
.person{gap:8px!important}
.person .avatar-photo,.avatar{
  width:36px!important;height:36px!important;
  flex:0 0 36px!important;
}
.person strong{font-size:11.5px!important}
.person small{font-size:9.5px!important}

/* PROCESO — disposición del mockup:
   icono; número y conector arriba; título y descripción debajo */
.process{
  min-height:128px!important;
  padding:11px 0 12px!important;
  background:#031827!important;
}
.process:after{
  display:block!important;
  width:35%!important;
  opacity:.25!important;
}
.process .wrap{position:relative;z-index:2}
.process .eyebrow{
  display:block!important;
  margin:0 0 4px!important;
  font-size:10.5px!important;
}
.process .wrap>h2{
  display:block!important;
  margin:0 0 10px!important;
  font-size:22px!important;
  line-height:1!important;
}
.process .steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
}
.process .steps>div{
  position:relative!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  grid-template-rows:22px auto!important;
  column-gap:9px!important;
  min-width:0!important;
  margin:0!important;padding:0!important;
}
.process .steps>div>i{
  grid-column:1!important;
  grid-row:1/3!important;
  width:58px!important;height:58px!important;min-width:58px!important;
  margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.process .steps .process-step-png{
  display:block!important;
  width:58px!important;height:58px!important;max-width:58px!important;
  object-fit:contain!important;
}
.process .steps>div>b{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  width:max-content!important;
  margin:0!important;
  padding:0 8px 0 0!important;
  background:#031827!important;
  color:#ffbd00!important;
  font-size:20px!important;
  line-height:22px!important;
  font-weight:900!important;
  position:relative!important;
  z-index:5!important;
}
.process .steps>div>span{
  grid-column:2!important;
  grid-row:2!important;
  display:block!important;
  margin:0!important;padding:0!important;
  background:#031827!important;
  position:relative!important;
  z-index:5!important;
}
.process .steps>div>span>strong{
  display:block!important;
  width:auto!important;
  max-width:190px!important;
  margin:0 0 3px!important;
  padding:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:11.5px!important;
  line-height:1.08!important;
  font-weight:800!important;
}
.process .steps>div>span>small{
  display:block!important;
  max-width:180px!important;
  margin:0!important;padding:0!important;
  background:transparent!important;
  color:#c2ccd3!important;
  font-size:10px!important;
  line-height:1.18!important;
}
.process .steps>div:not(:last-child)::after{
  content:""!important;
  position:absolute!important;
  left:77px!important;
  right:-18px!important;
  top:11px!important;
  width:auto!important;
  border-top:1px dashed #ffbd00!important;
  z-index:1!important;
}
.process .steps>div:not(:last-child)::before{
  content:"◆"!important;
  position:absolute!important;
  right:-21px!important;
  top:5px!important;
  color:#ffbd00!important;
  font-size:7px!important;
  line-height:1!important;
  z-index:2!important;
}

/* FOOTER — se mantiene SIN mapa por pedido anterior */
.site-footer{
  padding:22px 0 9px!important;
  background:#031522!important;
}
.footer-grid{
  grid-template-columns:1.45fr .72fr 1.08fr 1.08fr!important;
  gap:44px!important;
  padding-bottom:13px!important;
}
.footer-about{max-width:240px}
.footer-brand{gap:8px!important;margin-bottom:7px!important}
.footer-brand img{width:52px!important;height:52px!important}
.footer-brand span{
  font-size:18px!important;
  font-weight:800!important;
}
.footer-about>p{
  max-width:225px!important;
  margin:0 0 10px!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}
.socials{gap:16px!important;margin-top:8px!important}
.socials a{width:14px!important;height:14px!important}
.socials svg{width:14px!important;height:14px!important}
.footer-grid h3{
  color:#fff!important;
  margin:1px 0 8px!important;
  padding:0!important;
  font-size:11.5px!important;
  line-height:1.1!important;
  font-weight:800!important;
}
.footer-grid h3:after{display:none!important}
.footer-grid a{
  margin:2px 0!important;
  color:#bcc6cd!important;
  font-size:10px!important;
  line-height:1.25!important;
}
.footer-contact .contact-row{
  gap:7px!important;
  margin-bottom:5px!important;
  color:#bcc6cd!important;
  font-size:10px!important;
  line-height:1.25!important;
}
.footer-contact .jbe-svg{
  width:12px!important;height:12px!important;
  color:#ffbd00!important;
}
.copyright{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-top:0!important;
  padding:9px 0 7px!important;
  font-size:9px!important;
  line-height:1.2!important;
}
.copyright a{font-size:9px!important}

/* Flechas: más cuerpo y alineación vertical */
.more,.title-row>a,.btn{
  align-items:center!important;
}
.more,.title-row>a{
  font-weight:800!important;
}
.more::after,.title-row>a::after{
  line-height:1!important;
  font-weight:900!important;
}

/* Desktop pequeño / tablet */
@media(max-width:1050px){
  .wrap{width:min(100% - 40px,920px)}
  .site-header{height:auto}
  .header-inner{height:68px}
  .hero-grid{height:auto}
  .hero-copy{padding:45px 0 30px}
  .process .steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:20px!important}
  .process .steps>div:nth-child(2)::after,.process .steps>div:nth-child(2)::before{display:none!important}
}
@media(max-width:620px){
  body{max-width:none;box-shadow:none}
  .wrap{width:calc(100% - 28px)}
  .process .steps{grid-template-columns:1fr!important}
  .process .steps>div::after,.process .steps>div::before{display:none!important}
}


/* v2.5.1 — Menús WordPress nativos */
.nav .primary-menu{
  display:flex;
  align-items:center;
  gap:25px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav .primary-menu li{
  position:relative;
  margin:0;
  padding:0;
  list-style:none;
}
.nav .primary-menu .sub-menu{
  position:absolute;
  left:0;
  top:100%;
  min-width:190px;
  margin:0;
  padding:8px 0;
  list-style:none;
  background:#031827;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  transform:translateY(5px);
  transition:.18s ease;
  z-index:50;
}
.nav .primary-menu li:hover>.sub-menu,
.nav .primary-menu li:focus-within>.sub-menu{
  opacity:1;
  visibility:visible;
  transform:none;
}
.nav .primary-menu .sub-menu a{
  display:block;
  padding:9px 14px;
  white-space:nowrap;
}
.nav .primary-menu .sub-menu a:after{display:none}

.footer-menu{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.footer-menu li{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.footer-menu a{
  display:block!important;
}

.footer-legal-menu{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.footer-legal-menu li{
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.footer-legal-menu li+li:before{
  content:"";
  width:1px;
  height:11px;
  margin:0 10px;
  background:rgba(255,255,255,.28);
}
.footer-legal-menu a{
  color:#aab5bd!important;
  font-size:9px!important;
  text-decoration:none!important;
}

/* Si un menú todavía no fue asignado, no se inventa contenido hardcodeado. */
.footer-menu-column:has(> .footer-menu:empty){display:block}

@media(max-width:1050px){
  .nav .primary-menu{
    gap:16px;
  }
}
@media(max-width:620px){
  .nav .primary-menu{
    display:block;
  }
  .footer-legal-menu{
    margin-top:8px!important;
    flex-wrap:wrap;
  }
}

/* v2.5.3 — archivo público y ficha individual de Proyectos */
.project-card-link{display:block;color:inherit;text-decoration:none}
.project-copy h3 a{color:inherit;text-decoration:none}

.projects-archive-hero{padding:46px 0 34px;background:#031827;color:#fff}
.projects-archive-hero h1{margin:6px 0 8px;font-size:38px;line-height:1}
.projects-archive-hero p{max-width:650px;margin:0;color:#c4cdd3;font-size:14px}
.projects-archive-list{padding:38px 0 48px;background:#f5f7f8}
.projects-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.project-archive-card{overflow:hidden;background:#fff;border:1px solid #e4e9ed;border-radius:5px}
.project-archive-image{position:relative;display:block;height:190px;overflow:hidden;background:#dfe5e9}
.project-archive-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.project-archive-card:hover .project-archive-image img{transform:scale(1.025)}
.project-badge{position:absolute;left:8px;bottom:8px;padding:4px 8px;background:#0a7893;color:#fff;font-size:9px;line-height:1;font-weight:800;text-transform:uppercase}
.project-archive-zoom{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:27px;height:27px;background:#031827;color:#fff;font-size:18px}
.project-archive-copy{padding:13px 14px 15px}
.project-archive-copy h2{margin:0 0 5px;font-size:17px;line-height:1.18}
.project-archive-copy h2 a{color:#111d27;text-decoration:none}
.project-archive-location{margin:0 0 8px;color:#7b8790;font-size:12px}
.project-archive-location span{color:#ffbd00}
.project-archive-excerpt{margin:0 0 11px;color:#687681;font-size:12.5px}
.project-archive-more{display:inline-flex;align-items:center;color:#f0a900;font-size:12px;font-weight:800;text-decoration:none}
.projects-pagination{margin-top:30px}
.projects-pagination .nav-links{display:flex;justify-content:center;align-items:center;gap:6px}
.projects-pagination .page-numbers{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid #dbe2e7;border-radius:4px;background:#fff;color:#12212c;text-decoration:none;font-size:12px;font-weight:700}
.projects-pagination .current{border-color:#ffbd00;background:#ffbd00;color:#031827}

.project-single-hero{position:relative;min-height:360px;display:flex;align-items:end;overflow:hidden;background:#031827}
.project-single-bg{position:absolute;inset:0}
.project-single-bg img{width:100%;height:100%;object-fit:cover}
.project-single-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,24,39,.92) 0%,rgba(3,24,39,.48) 55%,rgba(3,24,39,.12) 100%)}
.project-single-head{position:relative;z-index:2;padding-bottom:36px;color:#fff}
.project-single-badge{display:inline-block;margin-bottom:9px;padding:5px 9px;background:#0b7894;font-size:10px;font-weight:800;text-transform:uppercase}
.project-single-head h1{max-width:760px;margin:0 0 8px;font-size:42px;line-height:1.02}
.project-single-location{margin:0;color:#d7dfe4;font-size:13px}
.project-single-content{padding:42px 0}
.project-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:46px;align-items:start}
.project-single-article{font-size:15px;line-height:1.65}
.project-single-article img{max-width:100%;height:auto;border-radius:5px}
.project-single-box{padding:24px;border:1px solid #e1e7eb;border-radius:5px;background:#f7f9fa}
.project-single-box h2{margin:6px 0 8px;font-size:22px;line-height:1.1}
.project-single-box p{color:#677681;font-size:13px}
.project-single-back{padding:0 0 42px}
.project-single-back a{color:#f0a900;font-size:12px;font-weight:800;text-decoration:none}

@media(max-width:900px){
 .projects-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .project-single-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .projects-archive-grid{grid-template-columns:1fr}
 .project-archive-image{height:210px}
 .project-single-hero{min-height:300px}
 .project-single-head h1{font-size:32px}
}


/* v2.5.4 — imágenes de proyectos y hero corregidos */
.project-archive-image img,
.project-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

.project-single-bg img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* El hero del Home toma la composición fotográfica del mockup y evita recortes agresivos. */
@media(min-width:1001px){
  .hero-grid{
    height:270px!important;
    grid-template-columns:48% 52%!important;
  }
  .hero-copy{
    padding:29px 28px 23px 10px!important;
  }
  .hero h1{
    margin:8px 0 9px!important;
    font-size:40px!important;
    line-height:.98!important;
  }
  .hero p{
    font-size:13px!important;
    line-height:1.35!important;
  }
  .actions{
    margin-top:16px!important;
  }
  .hero-photo{
    background-color:#031827!important;
    background-size:100% 100%!important;
    background-repeat:no-repeat!important;
    background-position:right center!important;
  }
  .hero-photo:before{
    background:linear-gradient(90deg,#031827 0,rgba(3,24,39,.55) 12%,rgba(3,24,39,.10) 34%,transparent 58%)!important;
  }
  .trust{
    min-height:58px!important;
  }
}


/* =========================================================
   v2.5.5 — MOBILE FIDELITY PASS
   Revisado específicamente para 320–767 px.
   Esta sección debe quedar al FINAL de la cascada.
   ========================================================= */
@media(max-width:767px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body{
    margin:0!important;
    box-shadow:none!important;
    font-size:15px!important;
    line-height:1.5!important;
  }

  .wrap{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  /* HEADER */
  .site-header{
    position:sticky!important;
    top:0!important;
    height:62px!important;
    min-height:62px!important;
    z-index:1000!important;
  }

  .header-inner{
    height:62px!important;
    min-height:62px!important;
    gap:10px!important;
    padding:0!important;
  }

  .site-header .brand{
    gap:8px!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }

  .site-header .brand-logo{
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
  }

  .site-header .brand span{
    font-size:16px!important;
    line-height:1!important;
    letter-spacing:.02em!important;
    white-space:nowrap!important;
  }

  .btn-phone{
    display:none!important;
  }

  .menu-toggle{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    height:40px!important;
    margin-left:auto!important;
    padding:0!important;
    font-size:25px!important;
    line-height:1!important;
    cursor:pointer!important;
  }

  .nav{
    display:none!important;
    position:absolute!important;
    top:62px!important;
    left:0!important;
    right:0!important;
    margin:0!important;
    padding:8px 14px 14px!important;
    background:#031827!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 12px 22px rgba(0,0,0,.26)!important;
    max-height:calc(100vh - 62px)!important;
    overflow-y:auto!important;
  }

  .nav.open{
    display:block!important;
  }

  .nav .primary-menu,
  .nav ul{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }

  .nav .primary-menu>li,
  .nav ul>li{
    display:block!important;
    width:100%!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
  }

  .nav .primary-menu>li:last-child{
    border-bottom:0!important;
  }

  .nav a{
    display:block!important;
    width:100%!important;
    padding:12px 4px!important;
    font-size:14px!important;
    line-height:1.2!important;
  }

  .nav a:after{
    display:none!important;
  }

  .nav .primary-menu .sub-menu{
    position:static!important;
    display:block!important;
    min-width:0!important;
    margin:0!important;
    padding:0 0 4px 14px!important;
    background:transparent!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }

  .nav .primary-menu .sub-menu li{
    border-bottom:0!important;
  }

  .nav .primary-menu .sub-menu a{
    padding:8px 4px!important;
    color:#b9c7d1!important;
    font-size:13px!important;
  }

  /* HERO HOME */
  .hero{
    overflow:hidden!important;
  }

  .hero-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    height:auto!important;
  }

  .hero-copy{
    order:1!important;
    padding:28px 0 24px!important;
  }

  .hero-copy .eyebrow{
    margin-bottom:8px!important;
    font-size:10px!important;
    line-height:1.15!important;
  }

  .hero h1{
    max-width:100%!important;
    margin:0 0 12px!important;
    font-size:34px!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
  }

  .hero p{
    max-width:100%!important;
    font-size:14px!important;
    line-height:1.42!important;
  }

  .actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:18px!important;
  }

  .hero .btn{
    width:100%!important;
    min-height:44px!important;
    font-size:13px!important;
  }

  .hero-photo{
    order:2!important;
    width:100%!important;
    min-height:230px!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }

  .hero-photo:before{
    background:linear-gradient(180deg,#031827 0,rgba(3,24,39,.18) 22%,transparent 48%)!important;
  }

  .trust{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:10px 0 14px!important;
    min-height:0!important;
  }

  .trust>div{
    min-height:58px!important;
    padding:8px 0!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
  }

  .trust>div:last-child{
    border-bottom:0!important;
  }

  .trust i{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }

  .trust i .jbe-svg{
    width:30px!important;
    height:30px!important;
  }

  .trust b{
    font-size:13px!important;
  }

  .trust small{
    font-size:11px!important;
  }

  /* SECCIONES / SERVICIOS */
  .section{
    padding:28px 0!important;
  }

  .section-head,
  .title-row,
  .testimonial-heading{
    display:block!important;
    margin-bottom:14px!important;
  }

  .section h2,
  .why h2,
  .cta h2,
  .testimonials h2{
    font-size:25px!important;
    line-height:1.08!important;
  }

  .section-head>p{
    max-width:none!important;
    margin-top:8px!important;
    font-size:13px!important;
    line-height:1.45!important;
  }

  .cards{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .cards article{
    width:100%!important;
  }

  .service-image{
    height:170px!important;
  }

  .cards .card-body{
    padding:13px 14px 14px!important;
  }

  .cards h3{
    font-size:15px!important;
  }

  .cards p,
  .card-text{
    font-size:13px!important;
    line-height:1.4!important;
  }

  .more{
    margin-top:10px!important;
    font-size:12.5px!important;
  }

  /* POR QUÉ ELEGIRNOS */
  .why{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  .why-photo{
    min-height:235px!important;
    background-position:center!important;
  }

  .why-copy{
    padding:26px 14px 22px!important;
  }

  .why-copy>p,
  .why-copy li{
    font-size:13px!important;
    line-height:1.42!important;
  }

  .why-copy li{
    align-items:flex-start!important;
    margin:7px 0!important;
  }

  .why .benefits{
    grid-column:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    margin:0 14px 26px!important;
    padding:0!important;
    border-radius:6px!important;
  }

  .why .benefits>div{
    min-height:68px!important;
    padding:10px 12px!important;
    gap:10px!important;
  }

  .why .benefits i{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }

  .why .benefits i .jbe-svg{
    width:33px!important;
    height:33px!important;
  }

  .why .benefits b{
    font-size:13px!important;
  }

  .why .benefits small{
    font-size:11.5px!important;
  }

  /* CTA */
  .cta{
    min-height:315px!important;
    align-items:flex-end!important;
    background-position:62% center!important;
    background-size:cover!important;
  }

  .cta .wrap{
    padding:28px 0!important;
  }

  .cta h2{
    max-width:92%!important;
    font-size:28px!important;
  }

  .cta p{
    max-width:92%!important;
    font-size:13px!important;
    line-height:1.45!important;
  }

  .cta .btn{
    width:100%!important;
    min-height:44px!important;
  }

  /* SECTORES: 2 x 2 en móvil, no una columna interminable */
  .sectors .wrap{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    min-height:0!important;
  }

  .sectors .wrap>div{
    min-height:88px!important;
    padding:12px 8px!important;
    gap:9px!important;
    border-right:1px solid rgba(255,255,255,.10)!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }

  .sectors .wrap>div:nth-child(2n){
    border-right:0!important;
  }

  .sectors .wrap>div:nth-last-child(-n+2){
    border-bottom:0!important;
  }

  .sectors i{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }

  .sectors i .jbe-svg{
    width:27px!important;
    height:27px!important;
  }

  .sectors b{
    font-size:11.5px!important;
  }

  .sectors small{
    font-size:9.5px!important;
    line-height:1.2!important;
  }

  /* PROYECTOS HOME */
  .projects-section{
    padding:26px 0 30px!important;
  }

  .title-row>a{
    margin-top:7px!important;
    font-size:0!important;
  }

  .title-row>a::before{
    font-size:12px!important;
  }

  .title-row>a::after{
    font-size:16px!important;
  }

  .projects-carousel{
    padding-bottom:43px!important;
    overflow:visible!important;
  }

  .projects-carousel .projects{
    display:flex!important;
    grid-template-columns:none!important;
    gap:12px!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x mandatory!important;
    scrollbar-width:none!important;
    padding:0 0 4px!important;
  }

  .projects-carousel .projects article{
    flex:0 0 88%!important;
    min-width:88%!important;
    scroll-snap-align:start!important;
  }

  .project-image{
    height:175px!important;
  }

  .project-copy h3{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:13px!important;
  }

  .projects-nav{
    right:0!important;
    bottom:0!important;
  }

  .projects-nav button{
    width:34px!important;
    height:34px!important;
  }

  /* TESTIMONIOS */
  .quotes{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  .quotes blockquote{
    min-height:0!important;
    padding:13px 14px!important;
  }

  .quote-text{
    max-width:none!important;
    min-height:0!important;
    margin:4px 0 10px!important;
    font-size:12.5px!important;
  }

  /* PROCESO */
  .process{
    min-height:0!important;
    padding:22px 0 24px!important;
  }

  .process .wrap>h2{
    margin-bottom:16px!important;
    font-size:23px!important;
  }

  .process .steps{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .process .steps>div{
    display:grid!important;
    grid-template-columns:54px 26px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    column-gap:8px!important;
    min-height:58px!important;
    padding:0!important;
  }

  .process .steps>div>i{
    grid-column:1!important;
    grid-row:1!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }

  .process .steps .process-step-png{
    width:54px!important;
    height:54px!important;
    max-width:54px!important;
  }

  .process .steps>div>b{
    grid-column:2!important;
    grid-row:1!important;
    margin:2px 0 0!important;
    padding:0!important;
    background:transparent!important;
    font-size:20px!important;
    line-height:1.05!important;
  }

  .process .steps>div>span{
    grid-column:3!important;
    grid-row:1!important;
    display:block!important;
    margin:1px 0 0!important;
    background:transparent!important;
  }

  .process .steps>div>span>strong{
    margin-bottom:4px!important;
    font-size:13px!important;
  }

  .process .steps>div>span>small{
    max-width:none!important;
    font-size:11.5px!important;
    line-height:1.3!important;
  }

  .process .steps>div::after,
  .process .steps>div::before{
    display:none!important;
    content:none!important;
  }

  /* FOOTER */
  .site-footer{
    padding:24px 0 10px!important;
  }

  .footer-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
    padding-bottom:10px!important;
  }

  .footer-about{
    max-width:none!important;
  }

  .footer-brand img{
    width:48px!important;
    height:48px!important;
  }

  .footer-brand span{
    font-size:17px!important;
  }

  .footer-about>p{
    max-width:290px!important;
    font-size:11.5px!important;
  }

  .footer-grid h3{
    margin-bottom:8px!important;
    font-size:12.5px!important;
  }

  .footer-grid a,
  .footer-contact .contact-row{
    font-size:11.5px!important;
  }

  .copyright{
    display:block!important;
    padding:10px 0 5px!important;
    font-size:9.5px!important;
  }

  .footer-legal-menu{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:0!important;
    margin-top:8px!important;
  }

  .footer-legal-menu a{
    font-size:9.5px!important;
  }

  /* ARCHIVO /PROYECTOS/ */
  .projects-archive-hero{
    padding:30px 0 24px!important;
  }

  .projects-archive-hero h1{
    font-size:31px!important;
  }

  .projects-archive-hero p{
    font-size:13px!important;
    line-height:1.45!important;
  }

  .projects-archive-list{
    padding:26px 0 36px!important;
  }

  .projects-archive-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .project-archive-image{
    height:210px!important;
  }

  .project-archive-copy h2{
    font-size:16px!important;
  }

  /* SINGLE PROYECTO */
  .project-single-hero{
    min-height:275px!important;
  }

  .project-single-head{
    padding-bottom:24px!important;
  }

  .project-single-head h1{
    font-size:30px!important;
    line-height:1.05!important;
  }

  .project-single-content{
    padding:28px 0!important;
  }

  .project-single-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }

  .project-single-article{
    font-size:14px!important;
    line-height:1.58!important;
  }

  .project-single-box{
    padding:18px!important;
  }

  .project-single-box .btn{
    width:100%!important;
  }

  .project-single-back{
    padding-bottom:30px!important;
  }
}

/* móviles muy estrechos */
@media(max-width:360px){
  .site-header .brand span{
    font-size:14px!important;
  }

  .hero h1{
    font-size:31px!important;
  }

  .sectors .wrap{
    grid-template-columns:1fr!important;
  }

  .sectors .wrap>div{
    border-right:0!important;
  }

  .process .steps>div{
    grid-template-columns:50px 24px minmax(0,1fr)!important;
  }

  .process .steps>div>i,
  .process .steps .process-step-png{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
  }
}
