/* chrome.css — header/nav + fullscreen menu + footer + main wrapper, extraído verbatim de assets/less/main.css. Fase C drop main.css. Paridad exacta. */

/* ============================================================
   BTN-PLUS / BOX-MENU-HEADER-CLOSE / BTN-CLOSE-NEWSLETTER
   (lines 27–135)
   ============================================================ */

.btn-plus {
  position: relative;
  width: clamp(22.5px, 1.5625vw, 37.5px);
  height: clamp(22.5px, 1.5625vw, 37.5px);
  display: block;
  border: 0;
  outline: none !important;
  background: transparent;
  margin-left: 75px;
  transition: all 0.3s ease;
  z-index: 3;
}

.btn-plus span {
  width: clamp(21.75px, 1.5104167vw, 36.25px);
  height: 2px;
  display: block;
  background: #efefef;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  transition: all 0.3s ease;
}

.btn-plus span:nth-child(2) {
  transform: rotate(90deg);
}

.btn-plus.active {
  transform: rotate(45deg);
}

.btn-plus.active span {
  background: #fff;
}

.menu-active .content-main-header-nav-logo {
  filter: invert(1);
}

.box-menu-header-close {
  margin-left: auto;
  position: relative;
  width: clamp(22.5px, 1.5625vw, 37.5px);
  height: clamp(22.5px, 1.5625vw, 37.5px);
  display: block;
  border: 0;
  outline: none !important;
  background: transparent;
}

.box-menu-header-close span {
  width: clamp(21.75px, 1.5104167vw, 36.25px);
  height: 2px;
  display: block;
  background: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

.box-menu-header-close span:first-child {
  transform: rotate(45deg);
}

.box-menu-header-close span:last-child {
  transform: rotate(-45deg);
}

.btn-close-newsletter {
  margin-left: auto;
  position: relative;
  width: clamp(22.5px, 1.5625vw, 37.5px);
  height: clamp(22.5px, 1.5625vw, 37.5px);
  display: block;
  border: 0;
  outline: none !important;
  background: transparent;
  position: absolute;
  top: clamp(23.25px, 1.6145833vw, 38.75px);
  right: clamp(39.75px, 2.7604167vw, 66.25px);
}

.btn-close-newsletter span {
  width: clamp(21.75px, 1.5104167vw, 36.25px);
  height: 2px;
  display: block;
  background: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

.btn-close-newsletter span:first-child {
  transform: rotate(45deg);
}

.btn-close-newsletter span:last-child {
  transform: rotate(-45deg);
}

/* ============================================================
   LINK1-HEADER / BOX-MENU-FOOTER-CONTENT3 SPAN
   (lines 146–168)
   ============================================================ */

.link1-header {
  position: relative;
  width: -webkit-fit-content;
  width: fit-content;
}

.link1-header small {
  color: #fff;
}

.box-menu-footer-content3 span {
  font-size: clamp(14px, 1.05vw, 26px);
  line-height: clamp(18px, 1.567vw, 39px);
}

/* ============================================================
   BODY / CURSOR GLOBAL
   (lines 760–784)
   ============================================================ */

body * {
  cursor: none;
  font-family: "PP Neue Montreal", sans-serif;
}

body.body-animation {
  overflow: hidden;
}

body.body-animation .content-main {
  z-index: 6;
}

body.content-main-invert:not(.content-main-modal) {
  background: #0f0f0f;
}

body:hover .cursor-follower {
  visibility: visible;
}

/* ============================================================
   CONTENT-MAIN + CONTENT-MAIN-INVERT* + VARIANTS
   (lines 920–1087)
   ============================================================ */

.content-main {
  background: #efefef;
  position: relative;
  z-index: 4;
  padding-top: 0px;
  transition: background 0.5s ease;
  border-radius: 20px 20px 0px 0px;
}

.content-main-gray {
  background-color: #d9d9d9 !important;
}

.content-main.content-main-invert:not(.content-main-modal),
.content-main.content-main-modal-invert:not(.content-main-modal),
.content-main.content-main-invert-cultura:not(.content-main-modal) {
  background: #0f0f0f;
}

.content-main.content-main-invert:not(.content-main-modal) *,
.content-main.content-main-modal-invert:not(.content-main-modal) *,
.content-main.content-main-invert-cultura:not(.content-main-modal) * {
  color: #fff;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-home4-content-title
  u
  div,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-home4-content-title
  u
  div,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-home4-content-title
  u
  div {
  border-color: #fff;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-servicios5-content-item-left-btn-text,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-servicios5-content-item-left-btn-text,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-servicios5-content-item-left-btn-text {
  color: #ff4343 !important;
}

.content-main.content-main-invert:not(.content-main-modal)
  .btn1:hover
  .section-servicios5-content-item-left-btn-text,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .btn1:hover
  .section-servicios5-content-item-left-btn-text,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .btn1:hover
  .section-servicios5-content-item-left-btn-text {
  color: #ffffff !important;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-home5-content-img,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-home5-content-img,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-home5-content-img {
  filter: invert(1);
}

.content-main.content-main-invert:not(.content-main-modal) .title4 img,
.content-main.content-main-modal-invert:not(.content-main-modal) .title4 img,
.content-main.content-main-invert-cultura:not(.content-main-modal) .title4 img {
  filter: invert(1);
}

.content-main.content-main-invert:not(.content-main-modal)
  .content-main-header-nav-logo,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .content-main-header-nav-logo,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .content-main-header-nav-logo {
  filter: invert(1);
}

.content-main.content-main-invert:not(.content-main-modal)
  .content-main-header-nav
  .btn-plus
  span,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .content-main-header-nav
  .btn-plus
  span,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .content-main-header-nav
  .btn-plus
  span {
  background: #fff;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-home5-content-title
  lottie-player,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-home5-content-title
  lottie-player,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-home5-content-title
  lottie-player {
  filter: invert(1);
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-servicios2-content-left-list-link:after,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-servicios2-content-left-list-link:after,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-servicios2-content-left-list-link:after {
  background: transparent;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-method-content-item-content,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-method-content-item-content,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-method-content-item-content {
  background: #0f0f0f;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-method-content-item,
.content-main.content-main-modal-invert:not(.content-main-modal)
  .section-method-content-item,
.content-main.content-main-invert-cultura:not(.content-main-modal)
  .section-method-content-item {
  background: #0f0f0f;
}

.content-main.content-main-sticky {
  position: sticky;
  bottom: 0;
}

.content-main.content-main-services-active {
  background: #ff4343;
}

.content-main.content-main-services-active
  .section-services-new-content-items-nav
  .section-services-new-content-items-nav-title {
  color: #0f0f0f;
  opacity: 0.3;
}

.content-main.content-main-services-active
  .section-services-new-content-items-nav.active
  .section-services-new-content-items-nav-title {
  opacity: 1;
}

.content-main-referentes {
  border-radius: 0;
}

.pin-content-main {
  mix-blend-mode: difference;
}

/* ============================================================
   CONTENT-MAIN-HEADER + CTA-CONTENT-MAIN-HEADER + NAV + ANIMATION-ENTER-MENU
   (lines 1089–1249)
   ============================================================ */

.content-main-header {
  position: relative;
  top: 0;
  z-index: 11;
  left: 0;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 20px;
  transition:
    inset 1s ease,
    opacity 1s ease;
  border-radius: 20px 20px 0px 0px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #efefef -3.12%,
    rgba(239, 239, 239, 0) 62.47%
  );
  background: transparent !important;
  pointer-events: none;
}

.content-main-header.menu-fixed {
  inset: -200px auto auto 0 !important;
  border-radius: 0px;
}

.content-main-header.menu-fixed.active {
  inset: 0px auto auto 0 !important;
}

.cta-content-main-header {
  position: absolute;
  top: 0;
  z-index: 10;
  left: 0;
  padding-top: 25px;
  padding-bottom: 20px;
  width: 100%;
  -webkit-transition:
    inset 1s ease,
    opacity 1s ease;
  -o-transition:
    inset 1s ease,
    opacity 1s ease;
  transition:
    inset 1s ease,
    opacity 1s ease;
  overflow: hidden;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(-3.12%, #efefef),
    color-stop(62.47%, rgba(239, 239, 239, 0))
  );
  background: -o-linear-gradient(
    top,
    #efefef -3.12%,
    rgba(239, 239, 239, 0) 62.47%
  );
  background: linear-gradient(
    180deg,
    #efefef -3.12%,
    rgba(239, 239, 239, 0) 62.47%
  );
  background: transparent !important;
  pointer-events: none;
  -webkit-filter: invert(1);
  filter: invert(1);
}

.cta-content-main-header.menu-fixed {
  inset: -100px auto auto 0 !important;
  border-radius: 0px;
}

.cta-content-main-header.menu-fixed.active {
  inset: 0px auto auto 0 !important;
}

.cta-content-main-header .content-main-header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.cta-text-light {
  filter: invert(1) !important;
}

.animation-enter-menu {
  overflow: hidden;
  width: -webkit-fit-content;
  width: fit-content;
}

.animation-enter-menu > span {
  display: block;
  width: -webkit-fit-content;
  width: fit-content;
}

.animation-enter-menu-lottie {
  overflow: visible;
}

.content-main-header-nav {
  display: flex;
  align-items: center;
  pointer-events: all;
}

.link-custom-line-lottie {
  position: relative;
  overflow: visible;
}

.link-custom-line-lottie lottie-player {
  position: absolute;
  left: -7%;
  width: 120%;
  bottom: -53%;
  height: 100%;
  transform: rotate(6deg);
}

.link-custom-line-lottie:after {
  display: none;
}

.content-main-header-nav-talk-link {
  font-weight: 400;
  font-size: clamp(15px, 1.0416667vw, 26px);
  line-height: clamp(22.5px, 1.5625vw, 39px);
  color: #efefef;
  text-decoration: none !important;
}

/* single-proyecto + single-articulo: Let's talk con mix-blend-mode difference renderiza
   thinner sobre bg claro. Bump font-weight para visual match con home. */
.single-proyecto .content-main-header-nav-talk-link span,
.single-articulo .content-main-header-nav-talk-link span,
.single .content-main-header-nav-talk-link span {
  font-weight: 500;
}

.content-main-header-nav-talk-link lottie-player {
  transform: rotate(7deg);
  filter: invert(1);
}

.content-main-header-nav-logo {
  margin-right: auto;
  transition: all 0.3s ease;
  z-index: 3;
  filter: invert(1);
}

/* ============================================================
   BOX-MENU (fullscreen menu)
   (lines 1251–1345)
   ============================================================ */

.box-menu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: -5%;
  background: #ff4343;
  z-index: 2;
  display: block;
  transform: translateY(-200%);
  transition: all 1s ease;
}

.box-menu.active {
  transform: translateY(0%);
}

.box-menu.active:after {
  height: 10vh;
  bottom: -10vh;
}

.box-menu .menu-phrase {
  content: "";
  background: #ff4343;
  width: 100%;
  display: block;
  transition: all 1s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.box-menu-header {
  display: flex;
  align-items: center;
}

.box-menu-footer .animation-enter-menu-btn-plus {
  margin-bottom: 25px;
}

.box-menu-footer .btn-plus {
  margin-left: 0;
}

.box-menu-footer .btn-plus span {
  background: #fff;
}

.box-menu-footer-content {
  display: flex;
  align-items: flex-end;
}

.box-menu-body-links-right {
  display: flex;
  margin-left: auto;
  padding: 0;
}

.box-menu-body-links-right .animation-enter-menu-int {
  margin-left: 15px;
}

.box-menu-body-links-lang {
  color: #efefef;
  display: flex;
  align-items: center;
  padding-bottom: 0;
  margin-left: clamp(58.5px, 4.0625vw, 97.5px);
}

.box-menu-body-links-lang .animation-enter-menu-int-separate {
  margin: 0 10px;
}

.box-menu-body {
  margin-top: auto;
}

.box-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 2500px;
  margin: auto;
  padding: 25px 40px 80px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: #0f0f0f;
}

.box-menu-footer {
  margin-top: 25px;
}

/* ============================================================
   FOOTER
   (lines 2317–2529)
   ============================================================ */

footer {
  background: #0f0f0f;
  border-radius: 20px 20px 0px 0px;
  width: 100%;
  padding: 60px 0 30px 0;
  z-index: 5;
  position: relative;
}

.content-footer {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-footer-int1 {
  display: flex;
  margin-bottom: auto;
}

.copyright-text {
  margin-left: auto;
  text-align: right;
}

.content-footer-int2 {
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(37.5px, 2.6041667vw, 62.5px);
}

.content-footer-int2 .copyright-text {
  display: none;
}

.content-footer .box-menu-footer-content {
  width: 50%;
  margin-left: auto;
}

.content-footer .box-menu-footer-content .box-menu-footer-content1,
.content-footer .box-menu-footer-content .box-menu-footer-content2 {
  width: 30%;
  display: flex;
  flex-direction: column;
}

.content-footer .box-menu-footer-content .box-menu-footer-content3 {
  width: 30%;
  color: #fff;
}

.content-footer .box-menu-footer-content .box-menu-footer-content4 {
  width: 10%;
  text-align: right;
}

.content-footer-int1-right {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  height: -webkit-fit-content;
  height: fit-content;
  width: clamp(566.25px, 39.3229167vw, 943.75px);
  justify-content: space-between;
}

.links-footer-right {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links-footer-right li {
  margin-right: 1rem;
}

.links-footer-right li:last-child {
  margin: 0;
}

.links-footer-right-rd {
  margin-right: clamp(30px, 2.0833333vw, 50px);
}

.links-footer-right-cookies {
  margin-right: clamp(30px, 2.0833333vw, 50px);
}

.links-footer-right-lang {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  margin-right: clamp(30px, 2.0833333vw, 50px);
}

.links-footer-right-lang li {
  margin-right: 0.5rem;
}

.links-footer-right-lang li span {
  font-size: clamp(14px, 1.05vw, 26px);
  line-height: clamp(18px, 1.567vw, 39px);
}

.content-footer-int3-logo img {
  width: 100%;
}

.content-footer-int2-left-left {
  padding-right: clamp(30px, 2.0833333vw, 50px);
}

.content-footer-int2-left-left .title8 {
  color: #ffffff;
}

.content-footer-int2-left-right .title8 {
  color: #ffffff;
}

.content-footer-int2-left {
  display: flex;
}

.content-footer-int2-right {
  margin-left: auto;
  margin-right: clamp(103.33333333px, 8.0729vw, 206.66666667px);
  width: clamp(400px, 31.25vw, 800px);
}

.box-newsletter-title {
  padding-bottom: clamp(15px, 1.0416667vw, 25px);
}

.box-newsletter-form-content {
  position: relative;
  border-bottom: 1px solid #fff;
  margin-bottom: clamp(12.75px, 0.8854167vw, 21.25px);
}

.box-newsletter-form-content input {
  font-style: normal;
  color: #ffffff;
  width: 100%;
  background: transparent;
  border: 0;
  outline: none !important;
  padding: 10px 0;
}

.box-newsletter-form-content input::placeholder {
  color: #bababa;
}

.btn-newsletter {
  position: absolute;
  right: 0;
  top: 0;
  font-size: clamp(18px, 1.25vw, 30px);
  line-height: 1.4;
  background: transparent;
  color: #fff;
  line-height: 1;
  padding: 0;
  bottom: 0;
  border: 0;
  z-index: 1001;
}

.box-newsletter-form-check input {
  display: none;
}

.box-newsletter-form-check input:checked + label:after {
  opacity: 1;
}

.box-newsletter-form-check label {
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
}

.box-newsletter-form-check label:before {
  content: "";
  border: 1px solid #f5f5f5;
  border-radius: 3px;
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 9px;
}

.box-newsletter-form-check label:after {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  left: 7px;
  top: 7px;
  background: #fff;
  opacity: 0;
  transition: all 0.3s ease;
}

/* ============================================================
   TITLE2-ACTION-HOVER + CONTENT-MAIN-HEADER-NAV-LOGO (2nd block)
   + LOGO-MOBILE + CURSOR + CURSOR-FOLLOWER + PRELOADER
   + ARROW-TITLE-FOOTER + CONTENT-FOOTER-INT1-LINK
   (lines 3782–3995)
   ============================================================ */

.title2-action-hover .title-hover {
  position: relative;
}

.title2-action-hover .title-hover img {
  position: absolute;
  left: -5%;
  top: 5%;
  width: 140%;
  opacity: 0;
  transition: all 0.3s ease;
}

.title2-action-hover .title-hover span {
  opacity: 1;
  transition: all 0.3s ease;
}

.title2-action-hover:hover .title-hover span {
  opacity: 0;
}

.title2-action-hover:hover .title-hover img {
  opacity: 1;
}

.content-main-header-nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(40px, 2.3958333vw, 57.5px);
}

.content-main-header-nav-logo img {
  object-fit: cover;
  object-position: left;
  height: 100%;
}

.content-main-header-nav-logo .content-main-header-nav-logo-hover {
  position: absolute;
  left: 0;
  opacity: 0;
  height: clamp(89.947826087px, 2.3958333vw, 129.3px);
  overflow: visible;
  transform: translatey(-2px) translatex(-0.5px);
}

.logo-mobile {
  display: none;
}

.cursor {
  position: fixed;
  top: -3%;
  left: -2%;
  pointer-events: none;
  background: #efefef;
  width: 0;
  height: 0;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 999;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  background: #ff4343;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  z-index: 99999;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  display: none;
  visibility: hidden;
}

.title2-action-hover:hover .arrow-title-footer {
  transform: translateX(20px);
}

.arrow-title-footer {
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

.preloader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #efefef;
}

.content-footer-int1-link {
  color: #fff;
}

/* ============================================================
   CONTENT-FOOTER-INT3-LINKS (desktop: display none)
   (line 4854)
   ============================================================ */

.content-footer-int3-links {
  display: none;
}

/* ============================================================
   LINK1-HEADER-MOBILE (desktop: display none)
   (line 4958)
   ============================================================ */

.link1-header-mobile {
  display: none;
}

/* ============================================================
   CONTENT-MAIN-HEADER-CONTACT / CONTENT-MAIN.CONTENT-MAIN-CONTACT
   (lines 4988–4997)
   ============================================================ */

.content-main-header-contact {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
}

.content-main.content-main-contact {
  padding: 0;
}

/* ============================================================
   BOX-MENU-HEADER-LOGO IMG / PIN-CONTENT-MAIN-MODAL
   (lines 5326–5334)
   ============================================================ */

.box-menu-header-logo img {
  height: clamp(40px, 2.3958333vw, 57.5px);
  filter: brightness(0) invert(1);
}

.pin-content-main-modal {
  z-index: 9999 !important;
  mix-blend-mode: normal;
}

/* ============================================================
   CONTENT-MAIN-CONTACT .PIN-CONTENT-MAIN
   (line 5294)
   ============================================================ */

.content-main-contact .pin-content-main {
  position: fixed !important;
}

/* ============================================================
   CONTENT-MAIN-HEADER-MODAL
   (lines 5365–5391)
   ============================================================ */

.content-main-header-modal {
  background: #efefef;
  position: absolute;
  top: 0;
  z-index: 5;
  width: 100%;
  padding: 15px 0 30px;
  opacity: 0;
  pointer-events: none;
  display: none;
}

.content-main-header-modal .content-main-header-nav-logo {
  filter: initial;
}

.content-main-header-modal .content-main-header-nav-talk-link {
  color: #0f0f0f;
}

.content-main-header-modal .content-main-header-nav-talk-link lottie-player {
  filter: initial;
}

.content-main-header-modal .btn-plus span {
  background: #0f0f0f;
}

/* ============================================================
   CONTENT-MAIN-MODAL-OPEN
   (line 5393)
   ============================================================ */

.content-main-modal-open {
  background-color: #efefef !important;
}

/* ============================================================
   CONTENT-MAIN-INVERT .SECTION-CONTENT-MODAL-SECTION6* / TITLE10
   (lines 5454–5461)
   NOTE: descendants of page-specific sections BUT these are invert-scoped
   chrome state rules — included because they affect chrome context.
   ============================================================ */

.content-main-invert .section-content-modal-section6-item-title,
.content-main-invert-cultura .section-content-modal-section6-item-title,
.content-main-invert .section-content-modal-section6-item-text,
.content-main-invert-cultura .section-content-modal-section6-item-text,
.content-main-invert .title10 ul,
.content-main-invert-cultura .title10 ul {
  color: #fff;
}

/* ============================================================
   CURSOR-FOLLOWER STATES
   (lines 5783–5810)
   ============================================================ */

.cursor-follower::after,
.cursor-follower::after {
  content: "→";
  display: block;
  opacity: 0;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.cursor-follower.cultura-e-cursor-next::after {
  content: "→";
  opacity: 1;
}

.cursor-follower.cultura-e-cursor-prev::after {
  content: "←";
  opacity: 1;
}

.cursor-follower.cultura-e-cursor-next,
.cursor-follower.cultura-e-cursor-prev {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   CONTENT-FOOTER-INT1-RIGHT .LINKS-FOOTER-RIGHT-COOKIES:LAST-CHILD
   (line 5726–5728)
   ============================================================ */

.content-footer-int1-right .links-footer-right-cookies:last-child {
  margin-right: 0;
}

/* ============================================================
   CONTENT-MAIN.MENU-ACTIVE + CONTENT-MAIN HEADER FIXED STATES
   (lines 4664–4697)
   ============================================================ */

.content-main:not(.content-main-modal).menu-active {
  z-index: 6;
}

.content-main:not(.content-main-modal) .content-main-header.menu-fixed {
  inset: -100px auto auto 0 !important;
}

.content-main:not(.content-main-modal)
  .content-main-header.menu-fixed:not(.active)
  + .content-modal-projects
  .section-content-modal-absolute-bg-header {
  top: 0;
}

.content-main:not(.content-main-modal)
  .content-main-header.menu-fixed:not(.active)
  + .content-modal-projects
  .section-content-modal-absolute {
  top: 0px;
  border-radius: 0;
}

.content-main:not(.content-main-modal) .content-main-header.menu-fixed.active,
.content-main:not(.content-main-modal)
  .content-main-header.menu-fixed.menu-active {
  inset: 0 auto auto 0 !important;
}

.content-main.content-main-invert:not(.content-main-modal)
  .section-servicios2-content-right-img
  img {
  filter: invert(1);
}

/* ============================================================
   CONTENT-MAIN-SINGLE-PROJECT HEADER OVERRIDES
   (lines 4197–4247)
   ============================================================ */

.content-main-single-project .content-main-header {
  padding: 11px 0;
  border-radius: 0;
  background: #efefef !important;
  margin-bottom: 0;
  top: 0 !important;
  margin-bottom: -50px;
  padding-bottom: 50px;
  z-index: 9999;
}

.content-main-single-project .content-main-header-nav-logo {
  filter: invert(0) !important;
}

.content-main-single-project .content-main-header-nav-talk-link > * {
  color: #0f0f0f !important;
}

.content-main-single-project .content-main-header-nav .btn-plus span {
  background: #0f0f0f !important;
}

.body-animation .content-main-header.menu-active {
  z-index: 99999;
}

.body-animation .content-main-header.menu-active .btn-plus span {
  background: #fff !important;
}

.body-animation .content-main-header.menu-active .content-main-header-nav-logo {
  filter: invert(1) !important;
}

/* ============================================================
   CONTENT-MAIN-MODAL-OPEN HEADER OVERRIDES
   (lines 4253–4295)
   ============================================================ */

.content-main-modal-open .content-main-header {
  border-radius: 0;
  top: 0 !important;
  background: #efefef !important;
  padding-bottom: 5px;
  z-index: 99999;
  opacity: 0;
  z-index: -1;
}

.content-main-modal-open .content-main-header-nav-logo {
  filter: invert(0) !important;
}

.content-main-modal-open .content-main-header-nav-talk-link span {
  color: #0f0f0f !important;
}

.content-main-modal-open .content-main-header-nav .btn-plus span {
  background-color: #0f0f0f !important;
}

.content-main-modal-open.content-main-modal-open-show-header
  .menu-fixed.active {
  opacity: 1;
  z-index: 2;
}

.content-main-modal-open.content-main-modal-open-show-header
  .section-content-modal-absolute {
  top: 85px;
}

.content-main-modal-open.content-main-modal-open-show-header
  .content-main-header-nav-talk-link
  lottie-player {
  filter: initial;
}

.content-main-modal-open.content-main-modal-open-show-header
  .pin-content-main-modal {
  z-index: 99999 !important;
}

/* ============================================================
   CONTENT-MAIN-BLOGS HEADER OVERRIDES
   (lines 4324–4358)
   ============================================================ */

.content-main-blogs .content-main-header {
  border-radius: 0 !important;
}

.content-main-blogs {
  border-radius: 0;
  padding-bottom: clamp(150px, 10.4166667vw, 250px);
}

.content-main-blogs.content-main-modal-open .content-main-header {
  background: #0f0f0f !important;
}

.content-main-blogs.content-main-modal-open
  .content-main-header
  .content-main-header-nav-logo {
  filter: invert(1) !important;
}

.content-main-blogs.content-main-modal-open
  .content-main-header-nav-talk-link
  span {
  color: #fff !important;
}

.content-main-blogs.content-main-modal-open
  .content-main-header-nav
  .btn-plus
  span {
  background: #fff !important;
}

/* ============================================================
   CONTENT-MAIN.CONTENT-MAIN-INT
   (line 3964)
   ============================================================ */

.content-main.content-main-int {
  padding: 0;
  padding-bottom: 100px;
}

/* ============================================================
   SHOW-MOBILE (desktop default)
   (lines 6025–6027)
   ============================================================ */

/* !important: en main.css estas utilities ganan por orden de fuente (van al final, tras
 * los display:flex de títulos/secciones). Al partir main.css en foundations/chrome/page,
 * chrome carga ANTES que page → un `.section-home3-content-title{display:flex}` (page,
 * misma especificidad) las anularía y mostraría ambas variantes desktop+mobile. !important
 * restaura el comportamiento autoritativo del toggle (idiomático para utilities de display). */
.show-mobile {
  display: none !important;
}

/* ============================================================
   BOX-MENU .HOVER-ANIMATION-IMAGE-MENU-IMG
   (lines 5440–5442)
   ============================================================ */

.box-menu .hover-animation-image-menu-img {
  position: fixed;
}

/* ============================================================
   CONTENT-MAIN HEADER MENU-UP / SHOW-HEADER STATES
   (lines 5444–5452)
   ============================================================ */

.content-main:not(.content-main-modal)
  .content-main-header.menu-fixed.content-main-header-menu-up.content-main-header {
  inset: -200px 0 0 0 !important;
}

.content-main:not(.content-main-modal).content-main-modal-open-show-header
  .content-main-header.menu-fixed.active {
  inset: 0px auto auto 0 !important;
}

/* ============================================================
   PAGE-TEMPLATE-CONTACTO HEADER FIXED OVERRIDE
   (lines 5531–5535)
   ============================================================ */

.page-template-contacto
  .content-main:not(.content-main-modal)
  .content-main-header.menu-fixed {
  inset: 0px auto auto 0 !important;
}

/* ============================================================
   CONTENT-MAIN-SERVICES-ACTIVE INVERT + DROPDOWN OVERRIDES
   (lines 6438–6508)
   ============================================================ */

.content-main-services-active .swiper-slide-services-new-left-img {
  background: #ee3f3f;
}

.dropdown-item-button {
  background: #ff4343;
  position: relative;
  z-index: 2;
}

.content-main.content-main-invert
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img,
.content-main.content-main-invert-cultura
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img {
  background: #191919;
}

.content-main.content-main-invert
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img
  lottie-player,
.content-main.content-main-invert-cultura
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img
  lottie-player {
  filter: invert(1);
}

.content-main.content-main-invert
  .section-services-new.content-main-services-active
  .dropdown-item-button,
.content-main.content-main-invert-cultura
  .section-services-new.content-main-services-active
  .dropdown-item-button {
  background: #0f0f0f;
}

.dropdown-item-button {
  transition: background 0.5s ease;
}

.content-main:not(.content-main.content-main-invert):not(
    .content-main-services-active
  )
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img {
  background: #e4e4e4;
}

.content-main:not(.content-main.content-main-invert):not(
    .content-main-services-active
  )
  .section-services-new.content-main-services-active
  .swiper-slide-services-new-left-img
  lottie-player {
  filter: invert(0);
}

.content-main:not(.content-main.content-main-invert):not(
    .content-main-services-active
  )
  .section-services-new.content-main-services-active
  .dropdown-item-button {
  background: #efefef;
}

/* ============================================================
   LANG-ITEM + LANG-ITEM-FIRST + LINKS-FOOTER-RIGHT LANG SEPARATOR
   + LINKS-FOOTER-RIGHT-COOKIES UPPERCASE
   (lines 6518–6557)
   ============================================================ */

.lang-item a {
  display: inline-block;
  font-weight: 400;
  color: #efefef !important;
  text-decoration: none !important;
  font-size: clamp(12px, 1.05vw, 26px);
  line-height: clamp(16px, 1.567vw, 39px);
}

.lang-item {
  list-style: none;
  overflow: hidden;
  width: -webkit-fit-content;
  width: fit-content;
}

.lang-item-first {
  padding-right: 25px;
  position: relative;
}

.lang-item-first::after {
  content: "";
  display: block;
  width: 1px;
  height: 60%;
  background: #efefef;
  position: absolute;
  left: 69%;
  top: 17%;
  transform: rotate(20deg);
}

.links-footer-right .lang-item-first::after {
  left: 71%;
}

.links-footer-right-cookies a {
  text-transform: uppercase;
}

/* ============================================================
   @media (min-width: 991px) — LOGO HOVER + content-main-header-nav-logo
   (lines 6686–6715)
   ============================================================ */

@media (min-width: 991px) {
  .content-main-header-nav-logo:hover
    img:not(.content-main-header-nav-logo-hover) {
    opacity: 0;
  }

  .content-main-header-nav-logo:hover .content-main-header-nav-logo-hover {
    opacity: 1;
  }
}

/* ============================================================
   @media (max-width: 991px) — MAIN RESPONSIVE BLOCK
   Contains: header nav, footer, menu, content-main, cursor, wobble, show-desktop/mobile
   (lines 6874–9566)
   ============================================================ */

@media (max-width: 991px) {
  .content-main-header-nav {
    flex-wrap: wrap;
  }

  .content-footer-int1 {
    flex-wrap: wrap;
    padding-bottom: 35px;
  }

  .content-footer-int1 .title2 {
    color: #efefef;
  }

  .content-main-header-nav-logo img {
    width: 176px;
    object-fit: contain;
    object-position: left;
  }

  .btn-menu.btn-plus {
    margin-left: auto;
  }

  .content-main {
    padding-top: 30px;
  }

  footer {
    padding: 50px 0;
  }

  .content-footer-int2 {
    flex-wrap: wrap;
    padding-bottom: clamp(57.75px, 19.7435897vw, 96.25px);
  }

  .content-footer-int2 .copyright-text {
    display: block;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: #0f0f0f;
    text-decoration: none;
    margin: 0;
  }

  .content-footer .box-menu-footer-content {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
    align-items: flex-end;
  }

  .copyright-text {
    margin: auto;
    display: none;
  }

  .content-main-header-nav-talk-link {
    display: none;
  }

  .box-menu-header-logo {
    width: 200px;
  }

  .box-menu-header-logo img {
    width: 100%;
  }

  .box-menu-footer-content {
    flex-wrap: wrap;
    height: 100%;
    align-items: stretch;
    margin-top: 40px;
  }

  .box-menu-body-links-lang {
    margin-top: auto;
  }

  .box-menu-footer {
    margin-top: 40px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .box-menu-body-links {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .box-menu-body-links-right {
    width: 25%;
    padding-bottom: 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .box-menu-body {
    margin-top: 50%;
  }

  .box-menu-footer .btn-plus {
    margin: 0;
  }

  .box-menu {
    padding: 29px 0px 40px;
    top: -30px;
    bottom: -7%;
    z-index: 99999;
  }

  .box-menu-content {
    width: 570px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
  }

  .content-main {
    border-radius: 15px;
  }

  .content-main {
    padding-top: 0;
  }

  .box-menu-footer .animation-enter-menu-btn-plus {
    padding-bottom: 10px;
  }

  .content-main-header.active {
    top: 0;
  }

  .content-main-header .container {
    padding: 0 30px 0 20px;
  }

  .cta-content-main-header .container {
    padding: 0 30px 0 20px;
  }

  body:hover .cursor-follower {
    display: none;
  }

  body.body-animation {
    overflow: hidden;
  }

  body.body-animation.body-chrome,
  body.body-animation.body-opera {
    padding-right: 0;
  }

  body.body-animation .content-main {
    z-index: 6;
  }

  .wobble {
    animation: wobble 1.5s ease infinite;
  }

  @keyframes wobble {
    0% {
      transform: translateX(0%);
    }

    50% {
      transform: translateX(10%);
    }

    100% {
      transform: translateX(0%);
    }
  }

  .content-footer-int1-link {
    color: #fff;
  }

  .content-footer .box-menu-footer-content .box-menu-footer-content1,
  .content-footer .box-menu-footer-content .box-menu-footer-content2 {
    width: 50%;
    margin-bottom: 50px;
  }

  .content-footer-int2 .copyright-text {
    color: #fff;
  }

  .content-main-blogs {
    padding-bottom: 50px;
  }

  .content-footer-int1-right {
    display: none;
  }

  .content-footer-int1-link {
    font-size: clamp(37.5px, 12.8205128vw, 62.5px);
    line-height: clamp(48.75px, 16.6666667vw, 81.25px);
  }

  .content-footer-int2-left {
    flex-direction: column;
    margin-left: auto;
    text-align: right;
    padding-bottom: clamp(58.5px, 20vw, 97.5px);
  }

  .content-footer-int2-left-left {
    padding: 0;
    margin-bottom: 1.3rem;
  }

  .content-footer-int3-links {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 13px;
  }

  .content-footer-int3-links ul:last-child {
    margin-left: auto;
  }

  .links-footer-right-rd {
    margin-right: auto;
    width: 50%;
  }

  .links-footer-right-cookies {
    margin: 0;
    order: 3;
  }

  .links-footer-right.links-footer-right-lang {
    margin: 0;
  }

  .content-footer-int2-right {
    width: 100%;
    margin-right: auto;
  }

  footer {
    overflow: hidden;
    padding-bottom: 20px;
  }

  .box-newsletter-form-check label {
    font-size: 11.38px;
    width: 60%;
  }

  .box-newsletter-form-check label:before {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    border-radius: 1.7px;
    flex: 0 0 14px;
  }

  .box-newsletter-form-check label:after {
    width: 6px;
    height: 6px;
    left: 4px;
    top: 4px;
    border-radius: 0;
    bottom: 4px;
    margin: auto;
  }

  .btn-newsletter {
    font-size: 18px;
    bottom: -36px;
    height: -webkit-fit-content;
    height: fit-content;
    top: initial;
  }

  .box-newsletter-title .title3 {
    color: #fff;
    font-size: clamp(25.5px, 8.7179487vw, 42.5px);
    line-height: clamp(30px, 10.2564103vw, 50px);
  }

  .box-newsletter-form-content input {
    padding: 5px 0;
  }

  .content-footer-int1 {
    padding-bottom: 20px;
  }

  .link1-header {
    font-size: 54px;
    line-height: 60px;
  }

  .box-menu-body-links {
    width: 100%;
    height: -webkit-fit-content;
    height: fit-content;
  }

  .box-menu-body-links-right {
    width: 50%;
    flex-direction: row;
    justify-content: flex-start;
    margin-left: 0;
  }

  .box-menu-body-links-right
    .animation-enter-menu:first-child
    .animation-enter-menu-int {
    margin-left: 0;
  }

  .box-menu-footer-content {
    padding-bottom: 46px;
    margin-top: 0;
  }

  .box-menu-body-links-lang {
    margin-left: auto;
  }

  .box-menu-footer {
    margin-top: 20px;
  }

  .box-menu-footer .animation-enter-menu-btn-plus {
    margin-bottom: 15px;
  }

  .box-menu-body {
    margin-top: 43%;
  }

  .box-menu-header {
    padding-top: 26px;
  }

  .content-main.content-main-modal-open-show-header:not(.content-main-modal)
    .content-main-header.menu-fixed.active {
    inset: 0px auto auto 0 !important;
    padding: 20px 0 !important;
  }

  .cursor-follower,
  .cursor {
    display: none !important;
  }

  .animation-enter-menu .hover-animation-image-menu-img {
    display: none;
  }

  .page-template-contacto
    .content-main:not(.content-main-modal)
    .content-main-header.menu-fixed.active {
    inset: 0px auto auto 0 !important;
  }

  .page-template-contacto
    .content-main:not(.content-main-modal)
    .content-main-header.menu-fixed {
    inset: -100px auto auto 0 !important;
  }

  .show-desktop {
    display: none !important;
  }

  .show-mobile {
    display: flex !important;
  }

  .lang-item a {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #040404;
    text-decoration: none;
    margin: 0;
    margin-bottom: 5px;
  }

  .links-footer-right-lang .lang-item-first {
    padding-right: 10px;
  }

  .links-footer-right .lang-item-first::after {
    left: 83%;
    top: 7%;
  }
}

/* Menú — hover images (sistema hover-images-menu: opacity:0 default, JS togglea on hover).
 * Faltaba en extracción Fase C → en legales salían todas + hover roto. Subset main.css. */
.animation-hover-images {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(322.5px, 22.3958333vw, 537.5px);
  height: clamp(247.5px, 17.1875vw, 412.5px);
  border-radius: 20px;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.hover-animation-image-menu {
  position: relative;
  width: -webkit-fit-content;
  width: fit-content;
}

.hover-animation-image-menu-img {
  width: clamp(367.5px, 25.5208333vw, 612.5px);
  height: clamp(285.75px, 19.84375vw, 476.25px);
  border-radius: 20px;
}

.box-menu .hover-animation-image-menu-img {
  position: fixed;
}

@media (max-width: 991px) {
  .animation-enter-menu .hover-animation-image-menu-img {
    display: none;
  }
}

/* Modal de servicios — incluido GLOBAL en header.php (oculto por defecto, JS lo abre en servicios).
 * Faltaba en extracción Fase C → en plantillas sin main.css el modal NO se ocultaba y su
 * .box-btn-animate-area interno escapaba a 1440px tapando el hover de las primeras cards (proyectos).
 * display:none oculta todo el subtree en desktop y móvil (el @media padre también termina en none). */
.box-modal-services {
  display: none;
}

.box-modal-services .section-servicios5-content-item-left {
  display: none;
}

/* content-main-int — wrapper de páginas modal (proyectos / single-proyecto / single-articulo).
 * Variante de .content-main (chrome). Subset exacto main.css. */
.content-main.content-main-int {
  padding: 0;
  padding-bottom: 100px;
}

/* Botón cerrar modal (single-proyecto/articulo): rotate 45 = "+" → "X". Faltaba → salía como +. */
.btn-close-modal {
  margin: 0;
  margin-left: auto;
  transform: rotate(45deg);
  z-index: 1;
}

.btn-close-modal span {
  background: #110e11;
}

/* Header modal (segundo header variant single-proyecto): oculto por defecto + width:100%.
 * Faltaba → en child salía visible y angosto (sin width). Subset main.css. */
.content-main-header-modal {
  background: #efefef;
  position: absolute;
  top: 0;
  z-index: 5;
  width: 100%;
  padding: 15px 0 30px;
  opacity: 0;
  pointer-events: none;
  display: none;
}

.content-main-header-modal .content-main-header-nav-logo {
  filter: initial;
}

.content-main-header-modal .content-main-header-nav-talk-link {
  color: #0f0f0f;
}

.content-main-header-modal .content-main-header-nav-talk-link lottie-player {
  filter: initial;
}

.content-main-header-modal .btn-plus span {
  background: #0f0f0f;
}

/* Swiper navs ocultos por defecto (global main.css:4866). Sin esto los swipers
 * (section-cultura2, etc.) muestran las flechas glyph default de swiper-bundle CDN.
 * Páginas que sí muestran navs override con mayor especificidad (.swiper-cultura-e .swiper-button-navs). */
.swiper-button-navs {
  display: none;
}
