:root{
  --ec-navy:#052650;
  --ec-orange:#FF5A00;
  --ec-white:#FFFFFF;
  --ec-gray-50:#F5F7FA;
  --ec-gray-100:#E8EDF2;
  --ec-gray-200:#DCE3EB;
  --ec-gray-500:#667587;
  --ec-gray-700:#35455A;
  --ec-font-ui:Roboto,Arial,sans-serif;
  --ec-font-hero:clamp(42px,4vw,64px);
  --ec-font-h2:clamp(32px,3vw,48px);
  --ec-font-h3:clamp(22px,2vw,30px);
  --ec-font-body:clamp(16px,1.35vw,18px);
  --ec-font-lead:clamp(18px,1.6vw,21px);
  --ec-radius-sm:6px;
  --ec-radius-md:10px;
  --ec-radius-lg:14px;
  --ec-space-1:8px;
  --ec-space-2:16px;
  --ec-space-3:24px;
  --ec-space-4:32px;
  --ec-space-5:48px;
  --ec-space-section:clamp(58px,6vw,80px);
  --ec-container:1180px;
  --ec-container-narrow:940px;
  --ec-shadow-card:0 10px 30px rgba(5,38,80,.07);
}
body{font-family:var(--ec-font-ui);color:var(--ec-gray-700)}
body.home .entry-content>section{box-sizing:border-box;padding-top:var(--ec-space-section)!important;padding-bottom:var(--ec-space-section)!important}
body.home .entry-content>section>div{max-width:var(--ec-container)!important}
body.home h1,body.page:not(.home) h1{font-size:var(--ec-font-hero)!important;line-height:1.08!important;letter-spacing:-.025em}
body.home #formas-importar>div>h2,
body.home #calculadora h2,
body.home #que-puedes-importar>.ec-info-wrap>h2,
body.home #como-funciona>.ec-info-wrap>h2,
body.home #modelo-cubico>.ec-info-wrap>h2,
body.home #catalogo-ec>div>h2,
body.home #proximas-salidas h2,
body.home .ec23-title,
body.home #clientes h2,
body.home #cotizar h2,
.ecvs-network h2{font-size:var(--ec-font-h2)!important;line-height:1.12!important;letter-spacing:-.018em}
body.home h3{line-height:1.2}
body.home p{line-height:1.65}
body.home .ec23-lead{font-size:var(--ec-font-body)}
body.home article,.ec23-card,.ec-info-card,#proximas-salidas>div{border-radius:var(--ec-radius-md)!important;box-shadow:var(--ec-shadow-card)}
body.home a[style*="background:#ff5a00"],body.home a[style*="background:#FF5A00"],body.home button[style*="background:#ff5a00"],body.home .wp-block-button__link,body.home .ec-cta,body.home .ec23-btn,
.ecvs-network a.ecvs-partner{border-radius:var(--ec-radius-sm)}
body.home a[style*="padding:13px"],body.home a[style*="padding:14px"],body.home a[style*="padding:15px"],body.home button,body.home .ec-cta,body.home .ec23-btn,body.home .wp-block-button__link{min-height:50px;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;padding:13px 22px!important;border-radius:var(--ec-radius-sm)!important;font-size:15px!important;line-height:1.15!important;font-weight:800!important}
body.home a:focus-visible,body.home button:focus-visible,.ecvs-network a:focus-visible{outline:3px solid var(--ec-orange);outline-offset:3px}
.site-header a[href*="mi-espacio-cubico"]{display:inline-flex!important;align-items:center!important;gap:7px!important;white-space:nowrap}
.site-header a[href*="mi-espacio-cubico"]:before{display:block!important;flex:0 0 16px!important;margin:0!important}
.ec23-navy .ec23-node,.ec23-navy .ec23-node strong,.ec23-navy .ec23-node p{color:var(--ec-white)!important}
.ec23-navy .ec23-lead{color:#E7EEF6!important}
.ec23-kicker,.ecvs-eyebrow{color:var(--ec-orange)!important;font-size:14px!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase}
.ecvs-slot-placement{margin-top:var(--ec-space-4)}
.ecvs-media{position:relative;margin:0;overflow:hidden;border-radius:var(--ec-radius-lg);background:var(--ec-gray-50);box-shadow:var(--ec-shadow-card)}
.ecvs-media img{display:block;width:100%;height:100%;object-fit:cover}
.ecvs-aspect-16-9{aspect-ratio:16/9}
.ecvs-aspect-4-3{aspect-ratio:4/3;max-width:780px;margin-inline:auto}
.ecvs-aspect-1-1{aspect-ratio:1/1;max-width:620px;margin-inline:auto}
.ecvs-media figcaption{position:absolute;left:16px;right:16px;bottom:14px;padding:10px 12px;border-radius:var(--ec-radius-sm);background:rgba(5,38,80,.86);color:#fff;font-size:14px}
.ecvs-media-placeholder{display:flex!important;min-height:180px!important;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #9DAABC;border-radius:var(--ec-radius-lg);background:#F8FAFC;color:var(--ec-navy)!important;text-align:center;text-decoration:none!important}
.ecvs-media-placeholder strong{font-size:15px;letter-spacing:.08em}
.ecvs-media-placeholder span{margin-top:6px;color:var(--ec-gray-500);font-size:13px}
.ecvs-network{padding:var(--ec-space-section) 28px;background:var(--ec-gray-50)}
.ecvs-container{max-width:var(--ec-container);margin:0 auto}
.ecvs-center{text-align:center}
.ecvs-network h2{margin:0;color:var(--ec-navy)}
.ecvs-lead{max-width:850px;margin:16px auto 0;color:var(--ec-gray-500);font-size:var(--ec-font-body);line-height:1.7}
.ecvs-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:36px}
.ecvs-partner{min-height:118px;display:flex;align-items:center;justify-content:center;padding:22px;border:1px solid var(--ec-gray-200);border-radius:var(--ec-radius-md);background:#fff;box-shadow:var(--ec-shadow-card);color:var(--ec-navy)!important;text-decoration:none!important}
.ecvs-partner img{max-width:180px;max-height:66px;width:auto;height:auto;object-fit:contain;filter:grayscale(1);transition:.2s ease}
.ecvs-partner:hover img{filter:grayscale(0)}
.ecvs-partner strong{font-size:20px;letter-spacing:.035em}
.ecvs-network-note{max-width:860px;margin:22px auto 0;color:var(--ec-gray-500);font-size:13px;line-height:1.6}
body.single-at_biz_dir h1{font-size:clamp(30px,3vw,44px)!important;color:var(--ec-navy)!important}
body.single-at_biz_dir .directorist-btn{border-radius:var(--ec-radius-sm)!important;min-height:46px}
@media(max-width:900px){
  .ecvs-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .entry-content>section{padding-left:22px!important;padding-right:22px!important}
}
@media(max-width:640px){
  :root{--ec-font-hero:clamp(36px,11vw,48px);--ec-font-h2:clamp(28px,8vw,36px);--ec-space-section:56px}
  body.home .entry-content>section{padding-left:18px!important;padding-right:18px!important}
  body.home h1,body.home h2,body.home h3{overflow-wrap:normal!important;word-break:normal!important;hyphens:none}
  body.home p{text-align:left!important}
  body.home .ec23-center>h2,body.home .ec23-center>.ec23-kicker,.ecvs-center>h2,.ecvs-center>.ecvs-eyebrow{text-align:center!important}
  body.home a[style*="padding:13px"],body.home a[style*="padding:14px"],body.home a[style*="padding:15px"],body.home button,body.home .ec-cta,body.home .ec23-btn{width:100%;max-width:100%}
  .ecvs-network{padding:56px 18px}
  .ecvs-partner-grid{grid-template-columns:1fr;gap:12px}
  .ecvs-partner{min-height:96px}
}



/* CORRECCIÓN PT-024 — Hero fotográfico full-bleed */
@media(min-width:901px){
  .theme-header-menu-area{padding-top:8px!important;padding-bottom:8px!important}
  #site-header.menu-area .custom-logo-link .custom-logo{width:auto!important;max-width:195px!important;max-height:92px!important;object-fit:contain!important}
}
body.home .ecvs-hero-fullbleed{
  position:relative!important;
  isolation:isolate;
  width:100vw!important;
  max-width:none!important;
  min-height:clamp(560px,76vh,860px)!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  background:var(--ec-navy)!important;
}
body.home .ecvs-hero-fullbleed::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(5,38,80,.90) 0%,rgba(5,38,80,.76) 42%,rgba(5,38,80,.42) 70%,rgba(5,38,80,.24) 100%);
  pointer-events:none;
}
body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container{
  position:relative!important;
  z-index:2!important;
  width:min(calc(100% - 48px),var(--ec-container))!important;
  max-width:var(--ec-container)!important;
  margin:0 auto!important;
  padding:clamp(72px,10vh,120px) 0!important;
}
body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>h1,
body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>h2,
body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>p,
body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>.wp-block-buttons{
  max-width:660px!important;
  margin-left:0!important;
  margin-right:0!important;
  text-align:left!important;
}
body.home .ecvs-hero-background{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  margin:0!important;
}
body.home .ecvs-hero-background .ecvs-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  aspect-ratio:auto!important;
}
body.home .ecvs-hero-background .ecvs-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.home .ecvs-hero-background .ecvs-media figcaption{display:none!important}
body.home .ecvs-hero-background>.ecvs-media-placeholder{
  position:absolute!important;
  right:24px!important;
  bottom:24px!important;
  left:auto!important;
  top:auto!important;
  z-index:3!important;
  width:250px!important;
  min-height:88px!important;
  margin:0!important;
  background:rgba(255,255,255,.94)!important;
}
@media(max-width:900px){
  #site-header.menu-area .custom-logo-link .custom-logo{width:auto!important;max-height:72px!important;object-fit:contain!important}
  body.home .ecvs-hero-fullbleed{min-height:clamp(600px,82svh,760px)!important}
  body.home .ecvs-hero-fullbleed::after{background:linear-gradient(180deg,rgba(5,38,80,.82) 0%,rgba(5,38,80,.70) 55%,rgba(5,38,80,.82) 100%)}
  body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container{width:min(calc(100% - 36px),var(--ec-container))!important;padding:72px 0 86px!important}
  body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>h1,
  body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>h2,
  body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>p,
  body.home .ecvs-hero-fullbleed>.wp-block-group__inner-container>.wp-block-buttons{max-width:100%!important}
  body.home .ecvs-hero-background>.ecvs-media-placeholder{right:18px!important;bottom:16px!important;width:210px!important;min-height:72px!important}
}

/* PT-025: cierre comercial de Home */
body.home .ecvs-client-summary,body.home .ecvs-trace-summary{max-width:var(--ec-container);margin-inline:auto}
body.home .ecvs-summary-lead{max-width:820px;margin:0 auto var(--ec-space-6);font-size:clamp(18px,1.6vw,21px);line-height:1.65}
body.home .ecvs-benefit-flow,body.home .ecvs-trace-flow{display:grid;gap:12px;margin:32px auto;align-items:stretch}
body.home .ecvs-benefit-flow{grid-template-columns:repeat(6,minmax(0,1fr))}
body.home .ecvs-trace-flow{grid-template-columns:repeat(7,minmax(0,1fr))}
body.home .ecvs-benefit-flow strong,body.home .ecvs-trace-flow strong{position:relative;display:flex;align-items:center;justify-content:center;min-height:72px;padding:14px 10px;border:1px solid rgba(255,255,255,.28);border-radius:var(--ec-radius-md);font-size:13px;letter-spacing:.055em;line-height:1.25;text-align:center}
body.home #clientes .ecvs-benefit-flow strong{border-color:var(--ec-gray-200);background:var(--ec-white);color:var(--ec-navy);box-shadow:var(--ec-shadow-sm)}
body.home .ecvs-benefit-flow strong:not(:last-child)::after,body.home .ecvs-trace-flow strong:not(:last-child)::after{content:"→";position:absolute;right:-12px;z-index:2;color:var(--ec-orange);font-size:20px}
body.home .ecvs-evidence-line{margin:22px 0 10px;font-weight:700;letter-spacing:.04em}
body.home .ecvs-summary-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:28px}
body.home .ecvs-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:var(--ec-radius-md);font-weight:800;text-decoration:none;letter-spacing:.035em}
body.home .ecvs-button-primary{background:var(--ec-orange);color:var(--ec-white)}
body.home .ecvs-button-secondary{background:var(--ec-navy);color:var(--ec-white)}
body.home #expediente .ecvs-button-secondary{background:var(--ec-white);color:var(--ec-navy)}
body.home .ecvs-slot-image{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:900px){body.home .ecvs-benefit-flow{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .ecvs-trace-flow{grid-template-columns:1fr}body.home .ecvs-trace-flow strong:not(:last-child)::after{content:"↓";right:auto;bottom:-17px}body.home .ecvs-benefit-flow strong:nth-child(2n)::after{display:none}}
@media(max-width:520px){body.home .ecvs-benefit-flow{grid-template-columns:1fr}body.home .ecvs-benefit-flow strong:not(:last-child)::after{display:block;content:"↓";right:auto;bottom:-17px}body.home .ecvs-summary-actions{flex-direction:column}body.home .ecvs-button{width:100%}}

/* PT-025 overflow correction */
body.home .ecvs-hero-fullbleed{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
body.home .ecvs-hero-background,body.home .ecvs-hero-background .ecvs-media,body.home .ecvs-hero-background .ecvs-slot-image{max-width:100%!important}

html,body{overflow-x:clip}

/* PT-024.1 definitive anonymous breakout and corporate media contrast */
body.home #content{container-type:inline-size}
body.home #post-390>.ecvs-hero-fullbleed{width:100cqw!important;max-width:none!important;margin-left:calc(50% - 50cqw)!important;margin-right:calc(50% - 50cqw)!important;padding-left:0!important;padding-right:0!important}
body.home #post-390>.ecvs-hero-fullbleed>.ecvs-hero-background,body.home #post-390>.ecvs-hero-fullbleed>.ecvs-hero-background .ecvs-media,body.home #post-390>.ecvs-hero-fullbleed>.ecvs-hero-background .ecvs-slot-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:cover!important}
body.home #expediente .ecvs-summary-lead,body.home #expediente .ecvs-evidence-line,body.home #expediente small{color:#E7EEF6!important}
body.home #expediente .ecvs-trace-flow strong{color:#FFFFFF!important;background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.38)!important}
body.home .ecvs-slot-placement .ecvs-media{position:relative!important;overflow:hidden!important;background:#052650!important;border-bottom:4px solid #FF5A00!important}
body.home .ecvs-slot-placement .ecvs-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(5,38,80,.04),rgba(5,38,80,.22))}
body.home .ecvs-slot-placement .ecvs-slot-image{filter:saturate(.92) contrast(1.05)}
