/* ARKADIS - SERVICIOS: ANIMACION Y ESPACIADO MOVIL */
@media (max-width: 768px) {
  html body.page-id-165 .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up {
    opacity: 0 !important;
    transform: translateY(18px) !important;
    transition: opacity .8s ease .25s, transform .8s ease .25s !important;
    animation: none !important;
  }

  html body.page-id-165 .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  html body.page-id-165 .entry-content > h2.wp-block-heading + p.has-text-align-center.texto-justificado.reveal-up {
    opacity: 0 !important;
    transform: translateY(18px) !important;
    transition: opacity .8s ease .25s/* ARKADIS — SERVICIOS MÓVIL: ANIMACIÓN Y CIERRE UNIFICADOS */
@media (max-width: 768px) {
  html body.page-id-165.page .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up.reveal-delay-2 { opacity: 0 !important; transform: translateY(30px) !important; transition: opacity 1.8s ease .6s, transform 1.8s ease .6s !important; animation: none !important; }
  html body.page-id-165.page .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up.reveal-delay-2.is-visible { opacity: 1 !important; transform: none !important; }
  html body.page-id-165.page .entry-content > .wp-block-columns.alignfull.is-layout-flex { row-gap: 34px !important; column-gap: 34px !important; }
  html body.page-id-165.page .entry-content > .wp-block-columns.alignfull.is-layout-flex + .wp-block-columns.alignfull.is-layout-flex { margin-block-start: 34px !important; }
  html body.page-id-165.page .wp-site-blocks > .wp-block-group:last-child, html body.page-id-165.page footer { min-height: 0 !important; padding-top: 22px !important; padding-bottom: 22px !important; }
  html body.page-id-165.page .wp-site-blocks > .wp-block-group:last-child .wp-block-social-links, html body.page-id-165.page footer .wp-block-social-links { gap: 14px !important; }
}
/* ARKADIS — SERVICIOS MÓVIL: ANIMACIÓN Y CIERRE UNIFICADOS */
@media (max-width: 768px) {
html body.page-id-165.page .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up.reveal-delay-2 { opacity:0!important; transform:translateY(30px)!important; transition:opacity 1.8s ease .6s,transform 1.8s ease .6s!important; animation:none!important; }
html body.page-id-165.page .entry-content > h2.wp-block-heading + p + p.texto-justificado.reveal-up.reveal-delay-2.is-visible { opacity:1!important; transform:none!important; }
html body.page-id-165.page .entry-content > .wp-block-columns.alignfull.is-layout-flex { row-gap:34px!important; column-gap:34px!important; }
html body.page-id-165.page .entry-content > .wp-block-columns.alignfull.is-layout-flex + .wp-block-columns.alignfull.is-layout-flex { margin-block-start:34px!important; }
html body.page-id-165.page .wp-site-blocks > .wp-block-group:last-child,html body.page-id-165.page footer { min-height:0!important;padding-top:22px!important;padding-bottom:22px!important; }
html body.page-id-165.page .wp-site-blocks > .wp-block-group:last-child .wp-block-social-links,html body.page-id-165.page footer .wp-block-social-links { gap:14px!important; }
}
, transform .8s ease .25s !important;
    animation: none !important;
  }

  html body.page-id-165 .entry-content > h2.wp-block-heading + p.has-text-align-center.texto-justificado.reveal-up.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  html body.page-id-165 .entry-content > .wp-block-columns.alignfull {
    row-gap: 34px !important;
    column-gap: 34px !important;
  }


/* ARKADIS SERVICIOS MOVIL — AJUSTE DEFINITIVO */
@media (max-width: 768px) {
  html body.page-id-165.page .entry-content > h2.wp-block-heading + p.has-text-align-center.reveal-up.reveal-delay-2 + p.texto-justificado.reveal-up.reveal-delay-2 {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 1.8s ease .6s, transform 1.8s ease .6s !important;
    animation: none !important;
  }
  html body.page-id-165.page .entry-content > h2.wp-block-heading + p.has-text-align-center.reveal-up.reveal-delay-2 + p.texto-justificado.reveal-up.reveal-delay-2.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns.alignfull > .wp-block-column > .wp-block-spacer {
    display: none !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns.alignfull {
    row-gap: 34px !important;
    column-gap: 34px !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns.alignfull + .wp-block-columns.alignfull {
    margin-block-start: 34px !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns:last-of-type {
    min-height: 60px !important;
    height: auto !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 14px 16px !important;
    align-items: center !important;
    gap: 10px !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns:last-of-type .wp-block-image img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns:last-of-type .whatsapp-block__button {
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
  }
  html body.page-id-165.page .entry-content > .wp-block-columns:last-of-type + p {
    display: none !important;
  }
}

  html body.page-id-165 .entry-content > .wp-block-columns.alignfull + .wp-block-columns.alignfull {
    margin-block-start: 34px !important;
  }
}
@media (max-width: 768px) { html body.page-id-165 .entry-content > p.texto-justificado { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } }
/* ARKADIS - SERVICIOS: TEXTOS MOVILES UNIFORMES */
@media (max-width: 768px) {
  html body.page-id-165 .entry-content > p.texto-justificado {
    text-align: center !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.page-id-165 .entry-content > .wp-block-columns.alignfull > .wp-block-column > p {
    text-align: center !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 768px) { html body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) .wp-block-column:last-child > p.has-upper-medium-font-size { text-align: left !important; } }
@media (max-width: 768px) { html body.page-id-165 .texto-justificado, html body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) .wp-block-column:last-child > p { text-align: left !important; } }
/* ARKADIS - SERVICIOS AJUSTE FINAL PRIORITARIO */
body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-cover__inner-container > p strong {
font-weight: inherit !important;
}
@media (max-width: 768px) {
html body.page-id-165 .menu-hero {
height: 64px !important;
min-height: 64px !important;
padding: 0 8px !important;
}
html body.page-id-165 .menu-hero .wp-block-navigation__container {
height: 64px !important;
min-height: 64px !important;
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
justify-content: center !important;
align-items: center !important;
gap: 10px !important;
}
html body.page-id-165 .menu-hero .wp-block-navigation-item__content {
font-size: 10px !important;
line-height: 1 !important;
letter-spacing: 0 !important;
padding: 6px 2px !important;
white-space: nowrap !important;
}
}
html body.page-id-165 .entry-content > .wp-block-cover:first-of-type { margin-block-start: 0 !important; margin-top: 0 !important; }


/* ARKADIS - SERVICIOS: CONSISTENCIA DESKTOP Y MOVIL */
body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-cover__inner-container > p {
  font-weight: 500 !important;
}
body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-cover__inner-container > p strong {
  font-weight/* ARKADIS - SERVICIOS MENU MOVIL ESPECIFICO */
@media (max-width: 768px) {
html body.page-id-165 .menu-hero {
height: 64px !important;
min-height: 64px !important;
padding: 0 8px !important;
}
html body.page-id-165 .menu-hero .wp-block-navigation__container {
height: 64px !important;
min-height: 64px !important;
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
justify-content: center !important;
align-items: center !important;
gap: 10px !important;
}
html body.page-id-165 .menu-hero .wp-block-navigation-item__content {
font-size: 10px !important;
line-height: 1 !important;
letter-spacing: 0 !important;
padding: 6px 2px !important;
white-space: nowrap !important;
}
}
: inherit !important;
}
body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) .wp-block-column:last-child > p.has-upper-medium-font-size {
  font-size: 17px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}

@media (max-width: 768px) {
  body.page-id-165 {
    padding-top: 64px !important;
  }

  body.page-id-165 .menu-hero {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 8px !important;
  }

  body.page-id-165 .menu-hero .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    height: 64px !important;
    min-height: 64px !important;
  }

  body.page-id-165 .menu-hero .wp-block-navigation-item {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  body.page-id-165 .menu-hero .wp-block-navigation-item__content {
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    padding: 6px 2px !important;
    white-space: nowrap !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:first-of-type {
    min-height: calc(100svh - 64px) !important;
    height: calc(100svh - 64px) !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p:first-child {
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p:not(:first-child) {
    font-size: 13px !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-165 .entry-content > h2.wp-block-heading {
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 21px !important;
    line-height: 1.22 !important;
  }

  body.page-id-165 .entry-content > p,
  body.page-id-165 .entry-content .wp-block-column > p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  body.page-id-165 .entry-content > p.texto-justificado {
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-165 .entry-content > .wp-block-spacer {
    height: 28px !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns.alignfull {
    gap: 34px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns.alignfull > .wp-block-column {
    gap: 10px !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-cover {
    min-height: 520px !important;
    height: 520px !important;
    border: 2px solid #000000 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-cover__inner-container > p {
    font-size: 22px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns.alignfull .wp-block-column > p {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    text-align: center !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) {
    gap: 28px !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) .wp-block-column {
    flex-basis: 100% !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) h2 {
    font-size: 21px !important;
    line-height: 1.22 !important;
    text-align: center !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:not(.alignfull) .wp-block-column:last-child > p.has-upper-medium-font-size {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:last-of-type {
    min-height: 720px !important;
    height: 720px !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:last-of-type .wp-block-cover__inner-container > p:first-child {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  body.page-id-165 .entry-content > .wp-block-cover:last-of-type .wp-block-cover__inner-container > p:not(:first-child) {
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:has(.whatsapp-block__button) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:has(.whatsapp-block__button) > .wp-block-column {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image {
    margin: 0 !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
  }

  body.page-id-165 .entry-content > .wp-block-columns:has(.whatsapp-block__button) .whatsapp-block__button {
    min-width: 100px !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 8px 12px 8px 36px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    background-size: 18px 18px !important;
    background-position: 10px center !important;
    background-repeat: no-repeat !important;
  }
}


}
}

/* ARKADIS - CORRECCION DEFINITIVA MENU SERVICIOS */
.menu-hero {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

.menu-hero .wp-block-navigation__container {
  height: auto !important;
  min-height: 28px !important;
  overflow: visible !important;
}

.menu-hero .wp-block-navigation-item,
.menu-hero .wp-block-navigation-item__content {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 2 !important;
}

body.admin-bar .menu-hero {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .menu-hero {
    top: 46px !important;
  }
}

@media (max-width: 768px) {
  body:not(.home) .menu-hero {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 8px !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation__container {
    height: 64px !important;
    min-height: 64px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation-item {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation-item__content {
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
  }

  body:not(.home) {
    padding-top: 64px !important;
  }
}
/* ARKADIS - CENTRADO UNIVERSAL DE TARJETAS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) h2,
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column > p {
  text-align: center !important;
}
/* ARKADIS - MARCOS UNIVERSALES EN MEDIOS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-jetpack-videopress,
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video .wp-block-embed__wrapper {
  line-height: 0 !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video iframe {
  display: block !important;
  vertical-align: top !important;
}
/* ARKADIS - PORTADA COMPLETA Y PIE COMPACTO */
@media (min-width: 769px) {
  body.home .wp-block-post-content > .wp-block-cover:first-of-type {
    min-height: 1200px !important;
    height: 1200px !important;
  }
}

body.home .wp-block-columns:has(.whatsapp-block__button) {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

body.home .wp-block-columns:has(.whatsapp-block__button) + p:empty {
  display: none !important;
  margin: 0 !important;
}

body.home footer.wp-block-template-part {
  margin-top: 16px !important;
}
.zoom-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Imagen */
.zoom-img img {
  transition: transform 0.7s ease, filter 0.5s ease;
  display: block;
}

/* Overlay oscuro elegante */
.zoom-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Hover efecto completo */
.zoom-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

/* Aparece overlay */
.zoom-img:hover::after {
  opacity: 1;
}

/* Sombra elegante */
.zoom-img:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.texto-justificado,
.texto-justificado p {
  text-align: justify !important;
}

/* En la web pública */
body:not(.wp-admin) .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.8s ease, transform 1.8s ease;
  will-change: opacity, transform;
}

body:not(.wp-admin) .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body:not(.wp-admin) .reveal-delay-1 {
  transition-delay: 0.25s;
}

body:not(.wp-admin) .reveal-delay-2 {
  transition-delay: 0.6s;
}

body:not(.wp-admin) .reveal-delay-3 {
  transition-delay: 0.95s;
}

/* En el editor, siempre visible */
.editor-styles-wrapper .reveal-up,
.block-editor-block-list__layout .reveal-up,
.is-root-container .reveal-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.menu-hero {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    z-index: 99999 !important;
	  line-height: 1 !important;
}

.menu-hero .wp-block-navigation__container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu-hero a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* espacio para que el contenido no quede debajo del menú */
body {
    padding-top: 70px !important;
}

@media screen and (max-width: 768px) {
    .menu-hero {
        padding: 12px 10px !important;
    }

    .menu-hero .wp-block-navigation__container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 24px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .menu-hero a {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }

    body {
        padding-top: 120px !important;
    }
}

html, body,
.wp-site-blocks,
main,
.site-content,
.wp-block-group,
.wp-block-post-content {
    background-color: #ffffff !important;
}

html, body,
.wp-site-blocks,
main,
.site-content,
.wp-block-post-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.wp-block-button__link {
    border: 1px solid #ffffff !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wp-block-button__link:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transition: 0.3s;
}

.boton-hero {
    position: relative;
    top: 100px;
}

.wp-block-button__link {
    border-radius: 0 !important;
    border: 1px solid #ffffff !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 14px 34px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wp-block-button__link:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transition: 0.3s ease;
	}

/* CONTENEDOR DEL MENÚ */
.menu-hero {
    height: 90px !important; /* controla la franja negra */
    display: flex !important;
    align-items: center !important; /* CENTRADO VERTICAL REAL */
    justify-content: center !important;
    padding: 0 !important; /* elimina empuje hacia arriba */
}

/* CONTENEDOR INTERNO */
.menu-hero .wp-block-navigation__container {
    display: flex !important;
    align-items: center !important; /* centra texto vertical */
    justify-content: center !important;
    height: 12.5% !important;
    gap: 42px !important;
}

/* TEXTO DEL MENÚ */
.menu-hero .wp-block-navigation-item__content {
    font-size: 25px !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* IGUALA ESTILO CUANDO ESTÁ ACTIVO (INICIO / SERVICIOS) */
.menu-hero .current-menu-item > a,
.menu-hero .wp-block-navigation-item__content {
    font-size: 20px !important;
    font-weight: 500 !important;
}

/* SOLO PÁGINAS INTERNAS (NO INICIO) */
body:not(.home) .menu-hero {
    height: 90px !important;
    display: flex !important;
    align-items: center !important; /* centra vertical */
    justify-content: center !important;
    padding: 0 !important;
}

/* CONTENEDOR INTERNO */
body:not(.home) .menu-hero .wp-block-navigation__container {
    height: 12.5% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 42px !important;
}

/* TEXTO */
body:not(.home) .menu-hero .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    line-height: 1 !important;
}

/* MENÚ MÓVIL EN UNA SOLA FILA, MÁS COMPACTO */
@media (max-width: 768px) {

  /* MENÚ MÓVIL ULTRA COMPACTO */
@media (max-width: 768px) {

 /* MENÚ MÓVIL ULTRA COMPACTO */
@media (max-width: 768px) {

  /* contenedor */
  .wp-block-navigation__container,
  .wp-block-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2px !important;
  }

  /* cada item */
  .wp-block-navigation-item {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  /* links (AQUÍ ESTÁ LA CLAVE) */
  .wp-block-navigation-item__content,
  .wp-block-navigation-item__content span,
  .wp-block-navigation-item__content a {
    font-size: 10px !important;
    padding: 6px 4px !important;
    line-height: 1 !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
  }

  /* si son botones negros (muy importante en tu caso) */
  .wp-block-button__link {
    font-size: 10px !important;
    padding: 6px 6px !important;
  }
}
	
	@media (max-width: 768px) {

  /* reducir espacio entre items */
  .wp-block-navigation__container,
  .wp-block-navigation ul,
  .wp-block-buttons {
    gap: 2px !important;
  }

  /* reducir espacio interno de cada botón */
  .wp-block-navigation-item__content,
  .wp-block-navigation a,
  .wp-block-button__link {
    padding: 4px 2px !important;
    letter-spacing: -0.2px !important;
  }

  /* hacer que no ocupen más ancho del necesario */
  .wp-block-navigation-item,
  .wp-block-button {
    flex: 0 1 auto !important;
  }
}
  
	.proyecto-hover-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.imagen-proyecto {
  display: block;
  width: 100%;
  height: auto;
}

.clip-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.proyecto-hover-video:hover .clip-hover {
  opacity: 1;
}
	
	

/* ARKADIS - AJUSTES PORTADA MOVIL */
@media (max-width: 768px) {
  body.home .menu-hero {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 8px !important;
  }

  body.home .menu-hero .wp-block-navigation__container {
    height: 64px !important;
    min-height: 64px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  body.home .menu-hero .wp-block-navigation-item__content {
    font-size: 14px !important;
    line-height: 1 !important;
    padding: 6px 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type h1.wp-block-heading {
    font-size: 34px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p.reveal-delay-2 {
    font-size: 14px !important;
    line-height: 1.35 !important;
    padding: 0 10px !important;
  }

  body.home .wp-block-button.boton-hero .wp-block-button__link {
    min-width: 220px !important;
    padding: 13px 20px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.4px !important;
    white-space: nowrap !important;
  }

  body.home .boton-hero {
    top: 50px !important;
  }

  body.home p.boton-hero {
    padding: 0 14px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}


/* ARKADIS - CONTINUIDAD Y ESCALA MOVIL */
@media (max-width: 768px) {
  body.home {
    padding-top: 64px !important;
  }

  body.home h2.wp-block-heading {
    max-width: 100% !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.home h2.wp-block-heading[style*="font-size:40px"] {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  body.home h2.wp-block-heading.has-fit-text {
    font-size: 34px !important;
    line-height: 1.1 !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) > .wp-block-column {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image {
    margin: 0 !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) .whatsapp-block__button {
    min-width: auto !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}
/* ARKADIS - AJUSTE TIPOGRAFICO FINAL MOVIL */
@media (max-width: 768px) {
  body.home .entry-content p:not(.has-large-font-size) {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.home .entry-content > h2.wp-block-heading:has(+ .wp-block-columns h2) {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  body.home .entry-content > h2.wp-block-heading + .wp-block-columns:has(h2) h2.wp-block-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) .whatsapp-block__button {
    min-width: 100px !important;
    padding: 8px 12px 8px 36px !important;
    background-size: 18px 18px !important;
    background-position: 10px center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
  }
}
/* ARKADIS - ESCALA EDITORIAL MOVIL */
@media (max-width: 768px) {
  body.home .wp-block-post-content > .wp-block-cover:first-of-type h1.wp-block-heading {
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p.reveal-delay-2 {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.home .wp-block-button.boton-hero .wp-block-button__link {
    min-width: 180px !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.2px !important;
  }

  body.home .entry-content p:not(.has-large-font-size) {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.home .entry-content p.boton-hero {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.home h2.wp-block-heading {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content p.has-large-font-size {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content > h2.wp-block-heading:has(+ .wp-block-columns h2) {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content > h2.wp-block-heading + .wp-block-columns:has(h2) h2.wp-block-heading {
    font-size: 24px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) h2,
  body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column > p {
    text-align: center !important;
  }
}
/* ARKADIS - TARJETAS COHERENTES */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .wp-block-cover.zoom-img:has(.has-large-font-size) {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* ARKADIS - MARCO SOLO EN MEDIOS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-jetpack-videopress {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* ARKADIS - MARCO VIDEO INTERIORISMO */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
}

/* cierre de reglas móviles antiguas */
}

/* ARKADIS - CORRECCION DEFINITIVA MENU SERVICIOS */
body .menu-hero {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

body .menu-hero .wp-block-navigation__container {
  height: auto !important;
  min-height: 28px !important;
  overflow: visible !important;
}

body .menu-hero .wp-block-navigation-item,
body .menu-hero .wp-block-navigation-item__content {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 2 !important;
}

body.admin-bar .menu-hero {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .menu-hero {
    top: 46px !important;
  }
}

@media (max-width: 768px) {
  body:not(.home) .menu-hero {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 8px !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation__container {
    height: 64px !important;
    min-height: 64px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation-item {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  body:not(.home) .menu-hero .wp-block-navigation-item__content {
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
  }

  body:not(.home) {
    padding-top: 64px !important;
  }
}
/* ARKADIS - CENTRADO UNIVERSAL DE TARJETAS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) h2,
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column > p {
  text-align: center !important;
}
/* ARKADIS - MARCOS UNIVERSALES EN MEDIOS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-jetpack-videopress,
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video .wp-block-embed__wrapper {
  line-height: 0 !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video iframe {
  display: block !important;
  vertical-align: top !important;
}
/* ARKADIS - PORTADA COMPLETA Y PIE COMPACTO */
@media (min-width: 769px) {
  body.home .wp-block-post-content > .wp-block-cover:first-of-type {
    min-height: 1200px !important;
    height: 1200px !important;
  }
}

body.home .wp-block-columns:has(.whatsapp-block__button) {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

body.home .wp-block-columns:has(.whatsapp-block__button) + p:empty {
  display: none !important;
  margin: 0 !important;
}

body.home footer.wp-block-template-part {
  margin-top: 16px !important;
}
.zoom-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Imagen */
.zoom-img img {
  transition: transform 0.7s ease, filter 0.5s ease;
  display: block;
}

/* Overlay oscuro elegante */
.zoom-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Hover efecto completo */
.zoom-img:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

/* Aparece overlay */
.zoom-img:hover::after {
  opacity: 1;
}

/* Sombra elegante */
.zoom-img:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.texto-justificado,
.texto-justificado p {
  text-align: justify !important;
}

/* En la web pública */
body:not(.wp-admin) .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.8s ease, transform 1.8s ease;
  will-change: opacity, transform;
}

body:not(.wp-admin) .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body:not(.wp-admin) .reveal-delay-1 {
  transition-delay: 0.25s;
}

body:not(.wp-admin) .reveal-delay-2 {
  transition-delay: 0.6s;
}

body:not(.wp-admin) .reveal-delay-3 {
  transition-delay: 0.95s;
}

/* En el editor, siempre visible */
.editor-styles-wrapper .reveal-up,
.block-editor-block-list__layout .reveal-up,
.is-root-container .reveal-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.menu-hero {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    z-index: 99999 !important;
	  line-height: 1 !important;
}

.menu-hero .wp-block-navigation__container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu-hero a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* espacio para que el contenido no quede debajo del menú */
body {
    padding-top: 70px !important;
}

@media screen and (max-width: 768px) {
    .menu-hero {
        padding: 12px 10px !important;
    }

    .menu-hero .wp-block-navigation__container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 24px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .menu-hero a {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }

    body {
        padding-top: 120px !important;
    }
}

html, body,
.wp-site-blocks,
main,
.site-content,
.wp-block-group,
.wp-block-post-content {
    background-color: #ffffff !important;
}

html, body,
.wp-site-blocks,
main,
.site-content,
.wp-block-post-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.wp-block-button__link {
    border: 1px solid #ffffff !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wp-block-button__link:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transition: 0.3s;
}

.boton-hero {
    position: relative;
    top: 100px;
}

.wp-block-button__link {
    border-radius: 0 !important;
    border: 1px solid #ffffff !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 14px 34px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wp-block-button__link:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transition: 0.3s ease;
	}

/* CONTENEDOR DEL MENÚ */
.menu-hero {
    height: 90px !important; /* controla la franja negra */
    display: flex !important;
    align-items: center !important; /* CENTRADO VERTICAL REAL */
    justify-content: center !important;
    padding: 0 !important; /* elimina empuje hacia arriba */
}

/* CONTENEDOR INTERNO */
.menu-hero .wp-block-navigation__container {
    display: flex !important;
    align-items: center !important; /* centra texto vertical */
    justify-content: center !important;
    height: 12.5% !important;
    gap: 42px !important;
}

/* TEXTO DEL MENÚ */
.menu-hero .wp-block-navigation-item__content {
    font-size: 25px !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* IGUALA ESTILO CUANDO ESTÁ ACTIVO (INICIO / SERVICIOS) */
.menu-hero .current-menu-item > a,
.menu-hero .wp-block-navigation-item__content {
    font-size: 20px !important;
    font-weight: 500 !important;
}

/* SOLO PÁGINAS INTERNAS (NO INICIO) */
body:not(.home) .menu-hero {
    height: 90px !important;
    display: flex !important;
    align-items: center !important; /* centra vertical */
    justify-content: center !important;
    padding: 0 !important;
}

/* CONTENEDOR INTERNO */
body:not(.home) .menu-hero .wp-block-navigation__container {
    height: 12.5% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 42px !important;
}

/* TEXTO */
body:not(.home) .menu-hero .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    line-height: 1 !important;
}

/* MENÚ MÓVIL EN UNA SOLA FILA, MÁS COMPACTO */
@media (max-width: 768px) {

  /* MENÚ MÓVIL ULTRA COMPACTO */
@media (max-width: 768px) {

 /* MENÚ MÓVIL ULTRA COMPACTO */
@media (max-width: 768px) {

  /* contenedor */
  .wp-block-navigation__container,
  .wp-block-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2px !important;
  }

  /* cada item */
  .wp-block-navigation-item {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  /* links (AQUÍ ESTÁ LA CLAVE) */
  .wp-block-navigation-item__content,
  .wp-block-navigation-item__content span,
  .wp-block-navigation-item__content a {
    font-size: 10px !important;
    padding: 6px 4px !important;
    line-height: 1 !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
  }

  /* si son botones negros (muy importante en tu caso) */
  .wp-block-button__link {
    font-size: 10px !important;
    padding: 6px 6px !important;
  }
}
	
	@media (max-width: 768px) {

  /* reducir espacio entre items */
  .wp-block-navigation__container,
  .wp-block-navigation ul,
  .wp-block-buttons {
    gap: 2px !important;
  }

  /* reducir espacio interno de cada botón */
  .wp-block-navigation-item__content,
  .wp-block-navigation a,
  .wp-block-button__link {
    padding: 4px 2px !important;
    letter-spacing: -0.2px !important;
  }

  /* hacer que no ocupen más ancho del necesario */
  .wp-block-navigation-item,
  .wp-block-button {
    flex: 0 1 auto !important;
  }
}
  
	.proyecto-hover-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.imagen-proyecto {
  display: block;
  width: 100%;
  height: auto;
}

.clip-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.proyecto-hover-video:hover .clip-hover {
  opacity: 1;
}
	
	

/* ARKADIS - AJUSTES PORTADA MOVIL */
@media (max-width: 768px) {
  body.home .menu-hero {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 8px !important;
  }

  body.home .menu-hero .wp-block-navigation__container {
    height: 64px !important;
    min-height: 64px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  body.home .menu-hero .wp-block-navigation-item__content {
    font-size: 14px !important;
    line-height: 1 !important;
    padding: 6px 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type h1.wp-block-heading {
    font-size: 34px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p.reveal-delay-2 {
    font-size: 14px !important;
    line-height: 1.35 !important;
    padding: 0 10px !important;
  }

  body.home .wp-block-button.boton-hero .wp-block-button__link {
    min-width: 220px !important;
    padding: 13px 20px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.4px !important;
    white-space: nowrap !important;
  }

  body.home .boton-hero {
    top: 50px !important;
  }

  body.home p.boton-hero {
    padding: 0 14px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}


/* ARKADIS - CONTINUIDAD Y ESCALA MOVIL */
@media (max-width: 768px) {
  body.home {
    padding-top: 64px !important;
  }

  body.home h2.wp-block-heading {
    max-width: 100% !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.home h2.wp-block-heading[style*="font-size:40px"] {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }

  body.home h2.wp-block-heading.has-fit-text {
    font-size: 34px !important;
    line-height: 1.1 !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) > .wp-block-column {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image {
    margin: 0 !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) figure.wp-block-image img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) .whatsapp-block__button {
    min-width: auto !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}
/* ARKADIS - AJUSTE TIPOGRAFICO FINAL MOVIL */
@media (max-width: 768px) {
  body.home .entry-content p:not(.has-large-font-size) {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.home .entry-content > h2.wp-block-heading:has(+ .wp-block-columns h2) {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  body.home .entry-content > h2.wp-block-heading + .wp-block-columns:has(h2) h2.wp-block-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  body.home .wp-block-columns:has(.whatsapp-block__button) .whatsapp-block__button {
    min-width: 100px !important;
    padding: 8px 12px 8px 36px !important;
    background-size: 18px 18px !important;
    background-position: 10px center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
  }
}
/* ARKADIS - ESCALA EDITORIAL MOVIL */
@media (max-width: 768px) {
  body.home .wp-block-post-content > .wp-block-cover:first-of-type h1.wp-block-heading {
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  body.home .wp-block-post-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p.reveal-delay-2 {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.home .wp-block-button.boton-hero .wp-block-button__link {
    min-width: 180px !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 1.2px !important;
  }

  body.home .entry-content p:not(.has-large-font-size) {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.home .entry-content p.boton-hero {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.home h2.wp-block-heading {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content p.has-large-font-size {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content > h2.wp-block-heading:has(+ .wp-block-columns h2) {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.home .entry-content > h2.wp-block-heading + .wp-block-columns:has(h2) h2.wp-block-heading {
    font-size: 24px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) h2,
  body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column > p {
    text-align: center !important;
  }
}
/* ARKADIS - TARJETAS COHERENTES */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.home .wp-block-cover.zoom-img:has(.has-large-font-size) {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* ARKADIS - MARCO SOLO EN MEDIOS */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) > .wp-block-column {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-jetpack-videopress {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* ARKADIS - MARCO VIDEO INTERIORISMO */
body.home .wp-block-columns.alignfull:has(.jetpack-videopress-player) figure.wp-block-video {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}


}

/* cierre del bloque móvil anterior */
}

/* ARKADIS - AJUSTES RESPONSIVE SOLICITADOS 15-08-2026 */
html body.wp-singular.page.page-id-165 div.wp-site-blocks > main.wp-block-group + footer.wp-block-template-part {
  margin-block-start: 16px !important;
  margin-top: 16px !important;
}

@media (max-width: 768px) {
  body.home .entry-content > .wp-block-columns.alignfull:has(.jetpack-videopress-player),
  body.home .entry-content > .wp-block-columns.alignfull:has(.zoom-img) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ARKADIS - SERVICIOS: BOTON WHATSAPP SIN SOLAPAMIENTO */
html body.page-id-165.page .wp-block-jetpack-whatsapp-button .whatsapp-block__button {
  padding-left: 36px !important;
  background-position: 10px 50% !important;
}


html body.wp-singular.page.page-id-165 .wp-block-jetpack-whatsapp-button.alignright a.whatsapp-block__button {
  padding-left: 36px !important;
  background-position: 10px 50% !important;
}

/* ARKADIS - PROYECTOS: UNIFICACION CON INICIO Y SERVICIOS */
html body.wp-singular.page.page-id-166 div.wp-site-blocks > main.wp-block-group + footer.wp-block-template-part {
  margin-block-start: 16px !important;
  margin-top: 16px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
}

body.page-id-166 .entry-content > .wp-block-cover.alignfull:first-of-type {
  min-height: 1200px !important;
  height: 1200px !important;
}

body.page-id-166 .entry-content > .wp-block-columns.alignfull:has(.wp-block-video) figure.wp-block-video {
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.page-id-166 .entry-content > .wp-block-columns.alignfull:has(.wp-block-video) .wp-block-heading {
  font-family: var(--wp--preset--font-family--montserrat) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

@media (max-width: 768px) {
  body.page-id-166 .entry-content > .wp-block-cover.alignfull:first-of-type {
    min-height: 900px !important;
    height: 900px !important;
  }

  body.page-id-166 .entry-content > .wp-block-columns.alignfull:has(.wp-block-video) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    row-gap: 34px !important;
    column-gap: 34px !important;
  }

  body.page-id-166 .entry-content > .wp-block-columns.alignfull:has(.wp-block-video) .wp-block-button__link {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ARKADIS - MENU Y WHATSAPP: AJUSTE UNIFICADO */
@media (min-width: 769px) {
  body.home nav.menu-hero,
  body.page-id-165 nav.menu-hero,
  body.page-id-166 nav.menu-hero {
    min-height: 134px !important;
    height: 134px !important;
    align-items: center !important;
  }
}
@media (max-width: 768px) {
  body.home nav.menu-hero,
  body.page-id-165 nav.menu-hero,
  body.page-id-166 nav.menu-hero {
    min-height: 100px !important;
    height: 100px !important;
    align-items: center !important;
  }
}
body.page-id-165 .wp-block-jetpack-whatsapp-button .whatsapp-block__button {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 16px 8px 56px !important;
  background-position: 14px center !important;
  background-size: 32px 32px !important;
  background-repeat: no-repeat !important;
  box-sizing: border-box !important;
}

/* ARKADIS - SERVICIOS: ESPACIO FINAL DE WHATSAPP */
html body.wp-singular.page.page-id-165 .wp-block-jetpack-whatsapp-button.alignright a.whatsapp-block__button {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 16px 8px 56px !important;
  background-position: 14px center !important;
  background-size: 32px 32px !important;
  background-repeat: no-repeat !important;
  box-sizing: border-box !important;
}

/* ARKADIS - PROYECTOS: TARJETAS COMO SERVICIOS */
body.page-id-166 .entry-content > .wp-block-cover.proyectos-hero:first-of-type {
  margin-top: 0 !important;
}

body.page-id-166 .proyectos-hero .wp-block-cover__inner-container,
body.page-id-166 .proyectos-hero .wp-block-cover__inner-container > * {
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-166 .proyectos-hero .wp-block-cover__inner-container > p {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-166 .project-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 1280px !important;
  margin: 56px auto 72px !important;
  gap: 56px 28px !important;
  align-items: start !important;
}

body.page-id-166 .project-gallery-grid > .wp-block-column {
  min-width: 0 !important;
  width: auto !important;
  flex-basis: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.page-id-166 .project-gallery-grid figure.wp-block-video {
  width: 100% !important;
  height: 900px !important;
  min-height: 900px !important;
  margin: 0 0 20px !important;
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.page-id-166 .project-gallery-grid .wp-block-embed__wrapper,
body.page-id-166 .project-gallery-grid .wp-block-embed__wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

body.page-id-166 .project-gallery-grid h3 {
  margin: 0 0 8px !important;
  font-family: var(--wp--preset--font-family--montserrat) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

body.page-id-166 .project-gallery-grid p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

@media (max-width: 768px) {
  body.page-id-166 .project-gallery-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: auto !important;
    max-width: none !important;
    margin: 38px 20px 48px !important;
    gap: 42px !important;
  }

  body.page-id-166 .project-gallery-grid figure.wp-block-video {
    height: 520px !important;
    min-height: 520px !important;
    margin-bottom: 18px !important;
  }

  body.page-id-166 .project-gallery-grid h3 {
    font-size: 22px !important;
  }
}

/* ARKADIS - PROYECTOS: ANCHO IGUAL A SERVICIOS */
@media (min-width: 769px) {
  body.page-id-166 .project-gallery-grid {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-left: calc(50% - 50vw + 8px) !important;
    margin-right: calc(50% - 50vw + 8px) !important;
  }
}

/* ARKADIS - PROYECTOS: ESPACIOS DE VIDEO Y ACCIONES FINALES */
body.page-id-166 .project-gallery-grid .project-video-placeholder {
  width: 100% !important;
  height: 900px !important;
  min-height: 900px !important;
  margin: 0 0 20px !important;
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

body.page-id-166 .project-social-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  margin: 52px auto 24px !important;
}

body.page-id-166 .project-social-actions > .wp-block-column {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body.page-id-166 .project-social-actions figure {
  margin: 0 !important;
}

body.page-id-166 .project-social-actions figure img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

html body.page-id-166 .project-social-actions .whatsapp-block__button {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 16px 8px 56px !important;
  background-position: 14px center !important;
  background-size: 32px 32px !important;
  background-repeat: no-repeat !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  body.page-id-166 .project-gallery-grid .project-video-placeholder {
    height: 520px !important;
    min-height: 520px !important;
    margin-bottom: 18px !important;
  }

  body.page-id-166 .project-social-actions {
    gap: 14px !important;
    margin: 42px 20px 24px !important;
  }
}

/* ARKADIS - AJUSTE FINAL PROYECTOS E INICIO */
html body.page-id-166 .proyectos-hero .wp-block-cover__inner-container > .reveal-up {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}
html body.page-id-166 .proyectos-hero .wp-block-cover__inner-container > .reveal-up.reveal-delay-2 {
  transition-delay: 0.18s !important;
}
html body.page-id-166 .proyectos-hero .wp-block-cover__inner-container > .reveal-up.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html body.page-id-166 .project-photo-gallery {
  width: calc(100vw - 16px) !important;
  max-width: calc(100vw - 16px) !important;
  margin: 48px calc(50% - 50vw + 8px) 64px !important;
  gap: 24px !important;
  align-items: stretch !important;
}
html body.page-id-166 .project-photo-gallery > .wp-block-column {
  min-width: 0 !important;
}
html body.page-id-166 .project-photo-gallery figure.project-gallery-image {
  width: 100% !important;
  height: 900px !important;
  margin: 0 !important;
  border: 2px solid #000000 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  cursor: zoom-in !important;
}
html body.page-id-166 .project-photo-gallery figure.project-gallery-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

html body.wp-singular.page.page-id-166 .project-social-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: calc(100vw - 16px) !important;
  max-width: calc(100vw - 16px) !important;
  margin: 16px calc(50% - 50vw + 8px) 0 !important;
  padding: 14px 16px !important;
  gap: 24px !important;
  box-sizing: border-box !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions > .wp-block-column {
  width: auto !important;
  margin: 0 !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions > .wp-block-column:nth-child(-n+3) {
  flex: 0 0 50px !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions > .project-social-spacer {
  display: block !important;
  flex: 1 1 0 !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions > .wp-block-column:last-child {
  flex: 0 0 auto !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions figure,
html body.wp-singular.page.page-id-166 .project-social-actions .wp-block-jetpack-whatsapp-button {
  margin: 0 !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions figure img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}
html body.wp-singular.page.page-id-166 .project-social-actions a.whatsapp-block__button {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 16px 8px 56px !important;
  background-position: 14px center !important;
  background-size: 32px 32px !important;
  background-repeat: no-repeat !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  html body.page-id-166 .project-photo-gallery {
    width: auto !important;
    max-width: none !important;
    margin: 38px 20px 48px !important;
    gap: 34px !important;
    flex-direction: column !important;
  }
  html body.page-id-166 .project-photo-gallery figure.project-gallery-image {
    height: 520px !important;
  }
  html body.wp-singular.page.page-id-166 .project-social-actions {
    width: auto !important;
    max-width: none !important;
    margin: 16px 0 0 !important;
    padding: 14px 12px !important;
    justify-content: center !important;
    gap: 14px !important;
  }
  html body.wp-singular.page.page-id-166 .project-social-actions > .project-social-spacer {
    display: none !important;
  }
  html body.wp-singular.page.page-id-166 .project-social-actions > .wp-block-column:nth-child(-n+3) {
    flex: 0 0 36px !important;
  }
  html body.wp-singular.page.page-id-166 .project-social-actions figure img {
    width: 28px !important;
    height: 28px !important;
  }
  html body.wp-singular.page.page-id-166 .project-social-actions a.whatsapp-block__button {
    min-width: 100px !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 8px 12px 8px 36px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    background-size: 18px 18px !important;
    background-position: 10px center !important;
  }
@media (max-width: 781px) {

  .procesos-full {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
  }

  .procesos-full > .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
  }

  .procesos-full .wp-block-cover {
    width: 100% !important;
    margin: 0 !important;
  }
}


/* ARKADIS — INICIO MÓVIL: SEPARACIÓN ENTRE PROCESOS */
@media (max-width: 768px) {
  html body.home .wp-block-columns.procesos-full {
    gap: 74px !important;
  }
}

/* Ajuste final: misma separación visual que Servicios */
@media (max-width: 768px) {
  html body.home .wp-block-columns.procesos-full {
    gap: 34px !important;
  }
}