/* STAGING only: photographic hero overlay and integrated header treatment.
   Each page keeps its existing image and layout, with per-hero overlay strength. */
body.inser-integrated-hero-page { --inser-photo-nav-space:85px; }
@media (max-width:760px) { body.inser-integrated-hero-page { --inser-photo-nav-space:74px; } }

/* Transparent header over the photo; turn solid on scroll via the shared header script. */
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-space { display:none!important; height:0!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer {
  position:fixed!important; top:var(--inser-photo-admin-offset,0px)!important; transform:none!important;
  background:transparent!important; background-color:transparent!important; border:0!important; box-shadow:none!important;
  transition:background-color .18s ease,box-shadow .18s ease!important;
}
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer #top,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer #top .container { background:transparent!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) #top nav>ul>li>a,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) #top nav>ul>li>a:hover,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .social-in-menu a,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .nectar-menu-icon,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .icon-salient-search:before,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) #search-btn a { color:#fff!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) #logo img,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .icono-normal,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .icono-fixed { filter:brightness(0) invert(1)!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .lines-button:after,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer:not(.inser-photo-header-solid) .lines:after { background-color:#fff!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986).material-ocm-open #header-outer {
  background:#fff!important; background-color:#fff!important; border-bottom:1px solid rgba(20,32,51,.08)!important;
  box-shadow:0 4px 16px rgba(20,32,51,.08)!important;
}
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #top,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #top .container { background:#fff!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #top nav>ul>li>a,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #top nav>ul>li>a:hover,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .social-in-menu a,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .nectar-menu-icon,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .icon-salient-search:before,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #search-btn a { color:#142033!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid #logo img,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .icono-normal,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .icono-fixed { filter:none!important; }
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .lines-button:after,
body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer.inser-photo-header-solid .lines:after { background-color:#142033!important; }

/* Quiénes somos: retain the rowers while replacing the milky left fade. */
body.page-id-6914 .qs-hero { margin-top:calc(-1 * var(--inser-photo-nav-space))!important; }
body.page-id-6914 .qs-hero:before {
  background:linear-gradient(90deg,rgba(7,25,43,.58) 0%,rgba(7,25,43,.48) 34%,rgba(7,25,43,.28) 61%,rgba(7,25,43,.16) 100%),linear-gradient(180deg,rgba(7,25,43,.20),transparent 36%)!important;
}
body.page-id-6914 .qs-hero__copy h1 { color:#fff!important; }
body.page-id-6914 .qs-hero__copy h1 span { color:#fff!important; }
body.page-id-6914 .qs-hero__copy h1 span.qs-accent { color:#20c1c8!important; }
body.page-id-6914 .qs-hero__copy .qs-hero__lead { color:rgba(255,255,255,.92)!important; }
body.page-id-6914 .qs-hero__copy .qs-eyebrow,
body.page-id-6914 .qs-hero__copy .qs-hero__eyebrow { color:#32cbd1!important; }

/* Nuestro Método: keep the original full-width photo and copy placement. */
body.page-id-6608 .nm-method__hero { margin-top:calc(-1 * var(--inser-photo-nav-space))!important; }
body.page-id-6608 .nm-method__hero:after {
  background:linear-gradient(90deg,rgba(7,25,43,.58) 0%,rgba(7,25,43,.45) 36%,rgba(7,25,43,.22) 64%,rgba(7,25,43,.14) 100%),linear-gradient(180deg,rgba(7,25,43,.19),transparent 38%)!important;
}
body.page-id-6608 .nm-method__hero-copy h1 { color:#fff!important; }
body.page-id-6608 .nm-method__hero-copy h1 span { color:#20c1c8!important; }
body.page-id-6608 .nm-method__hero-copy p:not(.nm-method__eyebrow) { color:rgba(255,255,255,.92)!important; }
body.page-id-6608 .nm-method__hero-copy .nm-method__eyebrow { color:#32cbd1!important; }

/* Software a medida: remove white lateral wash; the image remains unchanged. */
body.page-id-6591 .sam26-hero {
  margin-top:calc(-1 * var(--inser-photo-nav-space))!important;
  min-height:calc(440px + var(--inser-photo-nav-space))!important;
  padding:calc(44px + var(--inser-photo-nav-space)) 0 44px!important;
}
body.page-id-6591 .sam26-hero:before {
  background:linear-gradient(90deg,rgba(7,25,43,.62) 0%,rgba(7,25,43,.52) 32%,rgba(7,25,43,.35) 52%,rgba(7,25,43,.18) 74%,rgba(7,25,43,.12) 100%)!important;
}
body.page-id-6591 .sam26-hero .home26-eyebrow,
body.page-id-6591 .sam26-hero .sam26-eyebrow { color:#32cbd1!important; }
body.page-id-6591 .sam26-hero h1 { color:#fff!important; }
body.page-id-6591 .sam26-hero h1 span { color:#20c1c8!important; }
body.page-id-6591 .sam26-hero__lead { color:rgba(255,255,255,.93)!important; }
body.page-id-6591 .sam26-hero .sam26-button { color:#fff!important; }

@media (min-width:761px) { body.page-id-6591 .sam26-hero__copy { transform:translateY(28px); } }

/* GET: keep both existing images and darken their light fades. */
body.page-id-7986 .get-reference .gr-hero {
  margin-top:calc(-1 * var(--inser-photo-nav-space))!important;
  min-height:calc(368px + var(--inser-photo-nav-space))!important;
  background-color:#0b2339!important;
  background-image:linear-gradient(90deg,#0b2339 0%,#0b2339 38%,rgba(11,35,57,.86) 52%,rgba(11,35,57,.15) 100%)!important;
}
body.page-id-7986 .get-reference .gr-hero:before {
  background:linear-gradient(90deg,rgba(7,25,43,.44) 0%,rgba(7,25,43,.34) 40%,rgba(7,25,43,.18) 72%,rgba(7,25,43,.10) 100%),linear-gradient(180deg,rgba(7,25,43,.22),transparent 40%)!important;-webkit-mask-image:none!important;mask-image:none!important;
}
body.page-id-7986 .get-reference .gr-hero:after {
  background-image:linear-gradient(90deg,rgba(7,25,43,.26) 0%,rgba(7,25,43,.13) 20%,rgba(7,25,43,.17) 100%),linear-gradient(90deg,rgba(7,25,43,.25),transparent 24%),url("https://weareinser.es/wp-content/uploads/2026/10/get-hero-barcos.png")!important;
}
body.page-id-7986 .get-reference .gr-hero-inner { padding-top:calc(72px + var(--inser-photo-nav-space))!important; }
body.page-id-7986 .get-reference .gr-hero h1 { color:#fff!important; }
body.page-id-7986 .get-reference .gr-hero h1 span { color:#20c1c8!important; }
body.page-id-7986 .get-reference .gr-hero .gr-hero-copy { color:rgba(255,255,255,.93)!important; }
body.page-id-7986 .get-reference .gr-hero .gr-eyebrow { color:#32cbd1!important; }

/* Contact keeps its two-column composition, with a navy copy field and controlled photo overlay. */
body.page-id-177 .in-contact__hero {
  margin-top:calc(-1 * var(--inser-photo-nav-space))!important;
  min-height:calc(520px + var(--inser-photo-nav-space))!important;
  background:#10263c!important;
}
body.page-id-177 .in-contact__hero-copy { padding-top:calc(72px + var(--inser-photo-nav-space))!important; }
body.page-id-177 .in-contact__hero h1 { color:#fff!important; }
body.page-id-177 .in-contact__eyebrow { color:#32cbd1!important; }
body.page-id-177 .in-contact__lead { color:rgba(255,255,255,.91)!important; }
body.page-id-177 .in-contact__hero-image { position:relative; }
body.page-id-177 .in-contact__hero-image:after { position:absolute; inset:0; background:rgba(7,25,43,.24); content:""; pointer-events:none; }

/* Shared desktop hero scale and consistent breathing room below the navigation. */
@media (min-width:761px) {
  body { --inser-unified-hero-height:clamp(620px,35vw,720px); }
  body.page-id-7682 .home26-hero,
  body.page-id-6527 .services-six-intro,
  body.page-id-5995 .in-cases__hero { box-sizing:border-box!important; height:var(--inser-unified-hero-height)!important; min-height:var(--inser-unified-hero-height)!important; }
  body.page-id-6914 .qs-hero { box-sizing:border-box!important; height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; min-height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; }
  body.page-id-6608 .nm-method__hero,
  body.page-id-6608 .nm-method__hero-grid { box-sizing:border-box!important; height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; min-height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; }
  body.page-id-175 .inser-blog-hero { box-sizing:border-box!important; height:var(--inser-unified-hero-height)!important; min-height:var(--inser-unified-hero-height)!important; }
  body:is(.page-id-7982,.page-id-7983,.page-id-7984,.page-id-7985) .inser-sdg-hero { box-sizing:border-box!important; height:var(--inser-unified-hero-height)!important; min-height:var(--inser-unified-hero-height)!important; }
  body.page-id-177 .in-contact__hero,
  body.page-id-6591 .sam26-hero,
  body.page-id-7986 .get-reference .gr-hero { box-sizing:border-box!important; height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; min-height:calc(var(--inser-unified-hero-height) + var(--inser-photo-nav-space))!important; }
  body.page-id-6914 .qs-hero__copy { transform:translateY(34px); }
  body.page-id-6608 .nm-method__hero-copy { transform:translateY(18px); }
  body.page-id-177 .in-contact__hero-copy { transform:translateY(25px); }
  body.page-id-6591 .sam26-hero__copy { transform:translateY(25px); }
  body.page-id-7986 .get-reference .gr-hero-inner { padding-top:calc(94px + var(--inser-photo-nav-space))!important; }
  body.page-id-7986 .get-reference .gr-hero { background-position:center!important; background-size:cover!important; }

  /* Blog uses the same photo-led header treatment while retaining its image and layout. */
  body.page-id-175 #header-space { display:none!important; height:0!important; }
  body.page-id-175 #header-outer { position:fixed!important; top:var(--inser-photo-admin-offset,0px)!important; background:transparent!important; border:0!important; box-shadow:none!important; }
  body.page-id-175 #header-outer #top,
  body.page-id-175 #header-outer #top .container { background:transparent!important; }
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) #top nav>ul>li>a,
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) .social-in-menu a,
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) .nectar-menu-icon,
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) .icon-salient-search:before,
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) #search-btn a { color:#fff!important; }
  body.page-id-175 #header-outer:not(.inser-photo-header-solid) #logo img { filter:brightness(0) invert(1)!important; }
  body.page-id-175 #header-outer.inser-photo-header-solid { background:#fff!important; border-bottom:1px solid rgba(20,32,51,.08)!important; box-shadow:0 4px 16px rgba(20,32,51,.08)!important; }
  body.page-id-175 #header-outer.inser-photo-header-solid #top,
  body.page-id-175 #header-outer.inser-photo-header-solid #top .container { background:#fff!important; }
  body.page-id-175 #header-outer.inser-photo-header-solid #top nav>ul>li>a,
  body.page-id-175 #header-outer.inser-photo-header-solid .social-in-menu a,
  body.page-id-175 #header-outer.inser-photo-header-solid .nectar-menu-icon,
  body.page-id-175 #header-outer.inser-photo-header-solid .icon-salient-search:before,
  body.page-id-175 #header-outer.inser-photo-header-solid #search-btn a { color:#142033!important; }
  body.page-id-175 #header-outer.inser-photo-header-solid #logo img { filter:none!important; }
  body.page-id-175 .inser-blog-hero { background:#0b2339!important; }
  body.page-id-175 .inser-blog-hero::before { background:linear-gradient(90deg,rgba(7,25,43,.62) 0%,rgba(7,25,43,.46) 34%,rgba(7,25,43,.26) 62%,rgba(7,25,43,.16) 100%),linear-gradient(180deg,rgba(7,25,43,.20),transparent 38%)!important; }
  body.page-id-175 .inser-blog-hero__copy,
  body.page-id-175 #inser-blog-title,
  body.page-id-175 .inser-blog-hero__intro { color:#fff!important; }
  body.page-id-175 .inser-blog-hero .inser-blog-eyebrow { color:#32cbd1!important; }
}

@media (max-width:760px) {
  body.page-id-175 #header-outer { background:rgba(247,249,248,.96)!important; }
  body.page-id-175 #header-outer #top,
  body.page-id-175 #header-outer #top .container { background:transparent!important; }
  body.page-id-175 #header-outer #top nav>ul>li>a,
  body.page-id-175 #header-outer .social-in-menu a,
  body.page-id-175 #header-outer .nectar-menu-icon,
  body.page-id-175 #header-outer .icon-salient-search:before,
  body.page-id-175 #header-outer #search-btn a { color:#142033!important; }
  body.page-id-175 #header-outer #logo img { filter:none!important; }
}
/* Mobile preserves each page's existing image order and crop, without white fades. */
@media (max-width:760px) {
  body.page-id-6914 .qs-hero,
  body.page-id-6608 .nm-method__hero { background-color:#10263c!important; }
  body.page-id-6914 .qs-hero,
  body.page-id-6608 .nm-method__hero {
    background-image:linear-gradient(180deg,rgba(7,25,43,.26) 0%,rgba(7,25,43,.68) 220px,#10263c 100%),var(--inser-hero-mobile-photo)!important;
    background-size:100% 100%,100% 260px!important;
    background-position:center top!important;
    background-repeat:no-repeat!important;
  }
  body.page-id-6914 .qs-hero:before,
  body.page-id-6608 .nm-method__hero:after { display:none!important; }
  body.page-id-6914 .qs-hero__copy h1,
  body.page-id-6608 .nm-method__hero-copy h1 { color:#fff!important; }
  body.page-id-6914 .qs-hero__copy .qs-hero__lead,
  body.page-id-6608 .nm-method__hero-copy p:not(.nm-method__eyebrow) { color:rgba(255,255,255,.93)!important; }
  body.page-id-6591 .sam26-hero {
    min-height:0!important; padding:calc(36px + var(--inser-photo-nav-space)) 0 0!important;
    background:#10263c!important;
  }
  body.page-id-6591 .sam26-hero:before { display:none!important; }
  body.page-id-6591 .sam26-hero .sam26-hero__copy,
  body.page-id-6591 .sam26-hero h1,
  body.page-id-6591 .sam26-hero__lead { color:#fff!important; }
  body.page-id-6591 .sam26-hero__image { -webkit-mask-image:none!important; mask-image:none!important; }
  body.page-id-7986 .get-reference .gr-hero {
    min-height:calc(560px + var(--inser-photo-nav-space))!important;
    background-color:#10263c!important;
  }
  body.page-id-7986 .get-reference .gr-hero:before { display:block!important; }
  body.page-id-7986 .get-reference .gr-hero-inner { padding-top:calc(38px + var(--inser-photo-nav-space))!important; }
  body.page-id-7986 .get-reference .gr-hero h1,
  body.page-id-7986 .get-reference .gr-hero .gr-hero-copy { color:#fff!important; }
  body.page-id-177 .in-contact__hero { min-height:0!important; background:#10263c!important; }
  body.page-id-177 .in-contact__hero-copy { padding:calc(48px + var(--inser-photo-nav-space)) 20px 38px!important; background:#10263c!important; }
  body.page-id-177 .in-contact__hero-image { height:250px!important; min-height:0!important; }
}
@media (prefers-reduced-motion:reduce) {
  body.inser-integrated-hero-page:is(.page-id-6914,.page-id-6608,.page-id-177,.page-id-6591,.page-id-7986) #header-outer { transition:none!important; }
}
/* Staging button type scale: match the Contact form's “Enviar consulta” control. */
body #ajax-content-wrap :is(
  a.nectar-button,
  a.nm-method__button,
  a.dec26-button,
  a.gr-button,
  a.inser-case-button,
  a.sam26-button,
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  .wpcf7-submit
) {
  font-family: inherit!important;
  font-size: 18px!important;
  font-weight: 400!important;
  line-height: 1.2!important;
}
body #ajax-content-wrap :is(
  a.nectar-button,
  a.nm-method__button,
  a.dec26-button,
  a.gr-button,
  a.inser-case-button,
  a.sam26-button
) > span {
  font-family: inherit!important;
  font-size: inherit!important;
  font-weight: inherit!important;
  line-height: inherit!important;
}
/* Include custom anchor buttons used by individual service and case layouts. */
body #ajax-content-wrap a[class*="button"] {
  font-family: inherit!important;
  font-size: 18px!important;
  font-weight: 400!important;
  line-height: 1.2!important;
}
body #ajax-content-wrap a[class*="button"] > span {
  font-family: inherit!important;
  font-size: inherit!important;
  font-weight: inherit!important;
  line-height: inherit!important;
}


/* Keep one teal animated underline for Services across staging headers. */
body #header-outer #top nav > ul > li.menu-item-6545 > a .menu-title-text::after,
body #header-outer #top nav > ul > li.inser-services-menu > a .menu-title-text::after {
  border-top-color:#009ba7!important;
}
body.page-id-6527 #header-outer #top nav > ul > li.menu-item-6545 > a {
  text-decoration:none!important;
}
body #header-outer #top nav > ul > li.menu-item-6545 > a,
body #header-outer #top nav > ul > li.inser-services-menu > a {
  text-decoration:none!important;
}

/* Use Inser teal for active and hover underlines on every top-level menu link. */
body #header-outer #top nav > ul > li > a {
  text-decoration-color:#009ba7!important;
}
body #header-outer[data-lhe="animated_underline"] #top nav > ul > li > a .menu-title-text::after {
  border-top-color:#009ba7!important;
}
