/*
Theme Name: ZHI Ingenieros
Theme URI: https://zhiingenieros.com
Author: ZHI Ingenieros
Description: Theme minimalista SEO-optimizado y de alta velocidad de carga para ZHI Ingenieros
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zhi-ingenieros
*/

/* =========================================
   Tokens
   ========================================= */
:root {
  --zhi-blue:      #15A1DA;
  --zhi-blue-dark: #1488BC;
  --zhi-blue-foot: #15A1DA;
  --zhi-text:      #3a3a3a;
  --zhi-muted:     #6b7278;
  --zhi-light:     #9aa3ad;
  --zhi-gray-bg:   #ededed;
  --zhi-dark-band: #5b5b5b;
  --zhi-white:     #ffffff;
  --zhi-border:    #d8dde2;
  --zhi-whatsapp:  #25D366;

  --zhi-font: 'Poppins', system-ui, sans-serif;

  --zhi-max: 1100px;
  --zhi-px: 32px;
}

/* =========================================
   Reset / Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--zhi-font);
  font-size: 1rem;
  color: var(--zhi-text);
  background: var(--zhi-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

::selection { background: var(--zhi-blue); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--zhi-blue); transition: opacity .2s, color .2s; }

/* =========================================
   Header (overlay sobre hero)
   ========================================= */
.zhi-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
}

/* Cuando el hero no está presente (páginas interiores),
   el header se vuelve sticky con fondo blanco */
.zhi-header--solid {
  position: sticky;
  background: var(--zhi-white);
  border-bottom: 1px solid var(--zhi-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.zhi-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px var(--zhi-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.zhi-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  color: #fff;
}

.zhi-header--solid .zhi-logo { color: var(--zhi-blue); }

.zhi-logo__brand {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1;
}

.zhi-logo__sub {
  font-size: 8px;
  line-height: 1.25;
  letter-spacing: .3px;
  opacity: .92;
  font-weight: 300;
}

/* Nav */
.zhi-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Ítem de nivel 1 (wrapper del walker) */
.zhi-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Enlace de nivel 1 */
.zhi-nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: opacity .2s, color .2s;
  position: relative;
  white-space: nowrap;
}

.zhi-nav-link:hover { opacity: .8; color: #fff; }
.zhi-nav-link.is-active { font-weight: 600; }

.zhi-header--solid .zhi-nav-link { color: var(--zhi-text); }
.zhi-header--solid .zhi-nav-link:hover { color: var(--zhi-blue); opacity: 1; }
.zhi-header.is-scrolled .zhi-nav-link { color: #fff; }

/* Línea hover desde el centro */
.zhi-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
  transition: width .22s ease;
}

.zhi-nav-link:hover::after,
.zhi-nav-link.is-active::after { width: calc(100% - 28px); }

.zhi-header--solid .zhi-nav-link::after,
.zhi-header--solid .zhi-nav-link.is-active::after { background: var(--zhi-blue); }

/* Submenú flotante */
.zhi-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(0,0,0,.14);
  padding: 8px 0;
  z-index: 100;
  animation: zhiFadeInUp .22s ease forwards;
}

.zhi-nav-item.has-submenu:hover .zhi-submenu { display: block; }

.zhi-nav-sublink {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--zhi-text);
  text-decoration: none;
  padding: 10px 20px;
  transition: background .15s, color .15s;
}

.zhi-nav-sublink:hover {
  background: #f4f8fb;
  color: var(--zhi-blue);
}

/* Fallback — si se usa wp_nav_menu sin walker (links directos en .zhi-nav) */
.zhi-nav > a {
  font-size: 13.5px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  transition: opacity .2s;
  position: relative;
}

.zhi-nav > a:hover { opacity: .8; }

.zhi-nav > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
  transition: width .22s ease;
}

.zhi-nav > a:hover::after { width: calc(100% - 28px); }

.zhi-header--solid .zhi-nav > a { color: var(--zhi-text); }
.zhi-header--solid .zhi-nav > a:hover { color: var(--zhi-blue); opacity: 1; }
.zhi-header--solid .zhi-nav > a::after { background: var(--zhi-blue); }

/* Header CTA */
.zhi-header-btn {
  background: var(--zhi-blue);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 5px;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}

.zhi-header-btn:hover { background: var(--zhi-blue-dark); color: #fff; }

/* Botón cerrar del drawer — oculto en desktop */
.zhi-nav__close { display: none; }

/* Burger */
.zhi-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.zhi-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.zhi-header--solid .zhi-header__burger span { background: var(--zhi-text); }

/* =========================================
   Hero
   ========================================= */
.zhi-hero {
  position: relative;
  width: 100%;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zhi-hero__bg {
  position: absolute;
  inset: 0;
  background: #cfd6dd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zhi-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: zhiHeroBgIn 1.6s cubic-bezier(.4,0,.2,1) .1s forwards;
}

@keyframes zhiHeroBgIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

.zhi-hero__bg-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #9aa3ad;
  font-size: 12px;
  letter-spacing: .4px;
  text-align: center;
}

.zhi-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,30,45,.55) 0%,
    rgba(20,30,45,.30) 35%,
    rgba(20,30,45,.35) 100%);
}

.zhi-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px clamp(48px, 12vw, 220px) 120px;
}

.zhi-hero__body p {
  color: rgba(255,255,255,.88);
}

.zhi-hero h1 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.5px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.zhi-hero__cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--zhi-blue);
  color: #fff;
  text-decoration: none;
  padding: 12px 12px 12px 34px;
  border-radius: 8px;
  transition: background .25s;
}

.zhi-hero__cta:hover { background: #1565c0; color: #fff; }

.zhi-hero__cta-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.zhi-hero__cta-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}

.zhi-hero__cta:hover .zhi-hero__cta-arrow {
  transform: translateX(4px);
}

/* =========================================
   Construimos
   ========================================= */
.zhi-construimos {
  background: var(--zhi-white);
  padding: 80px var(--zhi-px);
}

.zhi-construimos__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.zhi-construimos__images {
  position: relative;
  min-height: 380px;
}

.zhi-img-placeholder {
  background: #dde2e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3ad;
}

.zhi-img-placeholder--main {
  width: 78%;
  height: 300px;
}

.zhi-img-placeholder--secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 240px;
  border: 6px solid #fff;
  background: #c8cfd6;
}

.zhi-img-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 14px;
  font-size: 11px;
}

/* ===========================================
   .zhi-content — wrapper genérico del editor
   =========================================== */
.zhi-content {
  background: var(--zhi-white);
  padding: 80px var(--zhi-px);
}

/* Clase adicional "zhi-overlap" para galería de 2 imágenes superpuestas
   Agregar desde el editor: Bloque galería → Avanzado → Clase CSS adicional
   ----------------------------------------------------------------------- */
.wp-block-gallery.zhi-overlap {
  display: block !important;
  position: relative;
  min-height: 380px;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

.wp-block-gallery.zhi-overlap .wp-block-image:first-child {
  display: block;
  width: 78%;
  height: 300px;
  margin: 0;
}

.wp-block-gallery.zhi-overlap .wp-block-image:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wp-block-gallery.zhi-overlap .wp-block-image:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 240px;
  margin: 0;
  border: 6px solid #fff;
  box-sizing: content-box;
}

.wp-block-gallery.zhi-overlap .wp-block-image:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .wp-block-gallery.zhi-overlap               { min-height: 280px; }
  .wp-block-gallery.zhi-overlap .wp-block-image:first-child { width: 85%; height: 220px; }
  .wp-block-gallery.zhi-overlap .wp-block-image:last-child  { height: 180px; }
}

.zhi-construimos__text h2 {
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.5px;
  color: #2d2d2d;
  margin-bottom: 20px;
  max-width: 320px;
}

.zhi-construimos__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--zhi-muted);
  max-width: 430px;
  margin-bottom: 30px;
}

/* =========================================
   Botón común
   ========================================= */
.zhi-btn {
  display: inline-block;
  background: var(--zhi-blue);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.zhi-btn:hover { background: var(--zhi-blue-dark); color: #fff; }

.zhi-btn--sm { font-size: 12.5px; padding: 10px 26px; }

/* =========================================
   Diferencial (blue band)
   ========================================= */
.zhi-diferencial {
  background: var(--zhi-blue);
  color: #fff;
  padding: 70px var(--zhi-px) 60px;
}

.zhi-diferencial__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
}

.zhi-diferencial__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d7eefa;
}

.zhi-diferencial__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 22px;
}

.zhi-diferencial__grid h2 {
  font-weight: 600;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.25;
  letter-spacing: -.3px;
}

.zhi-diferencial__grid p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #eaf6fd;
  padding-top: 6px;
}

.zhi-diferencial__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 64px;
  text-align: center;
}

.zhi-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.zhi-pillar span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.zhi-pillar svg {
  min-height: 80px;
}

/* =========================================
   Servicios (3 tarjetas imagen)
   ========================================= */
.zhi-servicios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.zhi-service-card {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #bcc4cc;
}

.zhi-service-card:nth-child(2) { background: #aeb6be; }

.zhi-service-card__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b949e;
}

.zhi-service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zhi-service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 20%,
    rgba(0,0,0,.55) 65%,
    rgba(0,0,0,.82) 100%);
  transition: background .4s ease;
}

.zhi-service-card__label {
  position: relative;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  padding: 22px 26px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.22,1,.36,1), padding .4s cubic-bezier(.22,1,.36,1);
}

/* Hover: título sube, más oscuro el fondo */
a.zhi-service-card { text-decoration: none; }

a.zhi-service-card:hover .zhi-service-card__overlay {
  background: linear-gradient(180deg,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.65) 50%,
    rgba(0,0,0,.9) 100%);
}

a.zhi-service-card:hover .zhi-service-card__label {
  transform: translateY(-10px);
  padding-bottom: 32px;
}

/* =========================================
   Proyectos (highlight)
   ========================================= */
.zhi-proyectos {
  background: var(--zhi-white);
  padding: 80px var(--zhi-px);
}

.zhi-proyectos__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Columna de texto */
.zhi-proyectos__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zhi-blue);
  margin-bottom: 16px;
}
.zhi-proyectos__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--zhi-blue);
  flex-shrink: 0;
}

.zhi-proyectos__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 0 0 20px;
}
.zhi-proyectos__title span { color: var(--zhi-blue); }

.zhi-proyectos__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--zhi-muted);
  margin: 0 0 32px;
  max-width: 440px;
}

.zhi-proyectos__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--zhi-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.zhi-proyectos__btn:hover { background: var(--zhi-blue-dark); transform: translateY(-2px); }

/* Columna collage */
.zhi-proyectos__collage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zhi-proyectos__collage-main {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.zhi-proyectos__collage-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.zhi-proyectos__collage-cell {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.zhi-proyectos__collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.zhi-proyectos__collage-main:hover .zhi-proyectos__collage-img,
.zhi-proyectos__collage-cell:hover .zhi-proyectos__collage-img { transform: scale(1.05); }

.zhi-proyectos__collage-placeholder {
  width: 100%;
  height: 100%;
  background: #e5eaf0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .zhi-proyectos__inner    { grid-template-columns: 1fr; gap: 40px; }
  .zhi-proyectos__desc     { max-width: 100%; }
}
@media (max-width: 640px) {
  .zhi-proyectos__collage  { gap: 6px; }
  .zhi-proyectos__collage-grid { gap: 6px; }
}

/* =========================================
   Política de Calidad
   ========================================= */
.zhi-calidad {
  background: var(--zhi-gray-bg);
  padding: 64px var(--zhi-px);
}

.zhi-calidad__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.zhi-calidad h2 {
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -.3px;
  color: #2d2d2d;
  margin-bottom: 18px;
}

.zhi-calidad p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--zhi-muted);
  max-width: 880px;
  margin: 0 auto 50px;
}

.zhi-calidad__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.zhi-calidad-item__num {
  font-size: 56px;
  font-weight: 700;
  color: #cfcfcf;
  line-height: 1;
  margin-bottom: 8px;
}

.zhi-calidad-item p {
  font-size: 13px;
  line-height: 1.5;
  color: #5a5f66;
  margin: 0;
}

/* =========================================
   Ingeniería para la vida (image band)
   ========================================= */
.zhi-vida {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.zhi-vida__bg {
  position: absolute;
  inset: 0;
  background: #b9c1c9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #868f98;
}

.zhi-vida__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zhi-vida__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,20,50,.72), rgba(21,90,140,.55));
}

.zhi-vida__body {
  position: relative;
  z-index: 2;
  padding: 60px var(--zhi-px);
  max-width: 860px;
}

.zhi-vida__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #e3f3fc;
}

.zhi-vida h2 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.22;
  letter-spacing: -.3px;
  margin: 18px 0 28px;
  text-shadow: 0 2px 14px rgba(0,0,0,.25);
}

/* =========================================
   Noticias
   ========================================= */
.zhi-noticias {
  background: var(--zhi-white);
  padding: 78px var(--zhi-px);
}

.zhi-noticias__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
}

.zhi-noticias h2 {
  text-align: center;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.3px;
  color: #2d2d2d;
  margin-bottom: 50px;
}

.zhi-noticias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.zhi-noticia {
  display: flex;
  flex-direction: column;
}

.zhi-noticia__thumb {
  height: 190px;
  background: #cfd6dd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3ad;
  margin-bottom: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.zhi-noticia__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zhi-noticia h3 {
  color: var(--zhi-blue);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.zhi-noticia p {
  font-size: 13px;
  line-height: 1.6;
  color: #8b9098;
  margin-bottom: 20px;
  flex: 1;
}

/* =========================================
   Certificaciones
   ========================================= */
.zhi-certs {
  background: var(--zhi-dark-band);
  padding: 48px var(--zhi-px);
}

.zhi-certs__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.zhi-cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
}

.zhi-cert-logo img {
  max-height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* Placeholder si no hay imagen */
.zhi-cert-logo--placeholder {
  width: 110px;
  height: 70px;
  border: 1px dashed rgba(255,255,255,.4);
  font-size: 11px;
  text-align: center;
  color: rgba(255,255,255,.7);
  flex-direction: column;
  gap: 4px;
}

/* =========================================
   Footer
   ========================================= */
.zhi-footer {
  background: var(--zhi-blue-foot);
  color: #fff;
  padding: 56px var(--zhi-px);
}

.zhi-footer__grid {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.zhi-footer__logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.zhi-footer__logo-brand {
  font-weight: 700;
  font-size: 56px;
  line-height: .85;
  letter-spacing: 1px;
  color: #fff;
}

.zhi-footer__logo-sub {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 300;
  padding-top: 4px;
  color: rgba(255,255,255,.9);
}

.zhi-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13.5px;
}

.zhi-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.zhi-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; }

.zhi-footer__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}

.zhi-footer__social-title {
  font-weight: 500;
  color: #fff;
}

.zhi-footer__social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity .2s;
  flex-shrink: 0;
}

.zhi-footer__social-icon:hover { opacity: .85; }

.zhi-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.zhi-footer__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: opacity .2s;
}

.zhi-footer__links a:hover { opacity: .8; }

/* =========================================
   WhatsApp flotante
   ========================================= */
@keyframes pulsering {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.zhi-wa {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--zhi-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -6px rgba(37,211,102,.6);
  text-decoration: none;
  animation: pulsering 2.4s infinite;
  transition: background .2s;
}

.zhi-wa:hover { background: #1FB857; }

/* =========================================
   Barra CTA fija mobile
   ========================================= */
.zhi-mobile-cta { display: none; }

/* =========================================
   Páginas estáticas (page.php)
   ========================================= */
.zhi-page-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.zhi-page-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px var(--zhi-px) 96px;
}

.zhi-page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--zhi-blue);
}

.zhi-page-header h1 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.5px;
  color: #2d2d2d;
}

.zhi-page-thumb {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.zhi-page-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.zhi-page-article .entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--zhi-text);
}

.zhi-page-article .entry-content h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  color: #2d2d2d;
  margin-top: 2.2rem;
  margin-bottom: .8rem;
}

.zhi-page-article .entry-content h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #2d2d2d;
  margin-top: 1.8rem;
  margin-bottom: .6rem;
}

.zhi-page-article .entry-content p { margin-bottom: 1.2rem; }

.zhi-page-article .entry-content ul,
.zhi-page-article .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.zhi-page-article .entry-content li { margin-bottom: .4rem; }

.zhi-page-article .entry-content a {
  color: var(--zhi-blue);
  text-decoration: underline;
}

.zhi-page-article .entry-content img {
  border-radius: 6px;
  max-width: 100%;
}

.zhi-page-article .entry-content blockquote {
  border-left: 4px solid var(--zhi-blue);
  padding: 14px 20px;
  margin: 1.6rem 0;
  background: #f4f8fb;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--zhi-muted);
}

.zhi-edit-link {
  margin-top: 2rem;
  font-size: 13px;
}

.zhi-edit-link a {
  color: var(--zhi-muted);
  text-decoration: none;
}

/* =========================================
   Inner pages (legacy)
   ========================================= */
.zhi-inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px var(--zhi-px);
}

/* Cuando el header es solid en páginas interiores,
   dejamos espacio para que el header sticky no tape contenido */
.has-solid-header .zhi-inner-main { padding-top: 60px; }

.entry-content { line-height: 1.75; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.zhi-card {
  background: var(--zhi-white);
  border: 1px solid var(--zhi-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.zhi-card:hover {
  box-shadow: 0 8px 24px rgba(21,161,218,.15);
  transform: translateY(-2px);
}

.error-404 { text-align: center; padding: 6rem 1rem; }
.error-404 .error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--zhi-blue);
  line-height: 1;
}

/* =========================================
   Animaciones
   ========================================= */

/* Keyframes */
@keyframes zhiFadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zhiFadeInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes zhiFadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Hero: animaciones de entrada (se disparan al cargar la página) */
.zhi-hero h1 {
  opacity: 0;
  animation: zhiFadeInUp 1.1s cubic-bezier(.22,1,.36,1) .3s forwards;
}

.zhi-hero__cta {
  opacity: 0;
  animation: zhiFadeInLeft 1s cubic-bezier(.22,1,.36,1) .85s forwards;
}

/* Estado inicial de elementos con reveal */
.zhi-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.zhi-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes direccionales (se asignan por clase adicional si hace falta) */
.zhi-reveal--left  { transform: translateX(-42px); }
.zhi-reveal--right { transform: translateX(42px); }
.zhi-reveal--left.is-visible,
.zhi-reveal--right.is-visible { transform: translateX(0); }

/* Header scroll: azul al bajar */
.zhi-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--zhi-blue);
  box-shadow: 0 4px 24px rgba(21,161,218,.3);
}

.zhi-header.is-scrolled .zhi-nav a { color: #fff; }
.zhi-header.is-scrolled .zhi-nav a:hover { opacity: .8; color: #fff; }
.zhi-header.is-scrolled .zhi-logo { color: #fff; }
.zhi-header.is-scrolled .zhi-logo svg,
.zhi-header.is-scrolled .zhi-logo img {
  transform: scale(.8);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.zhi-logo svg,
.zhi-logo img {
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.zhi-header.is-scrolled .zhi-header__burger span { background: #fff; }
.zhi-header.is-scrolled .zhi-header-btn {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.5);
}
.zhi-header.is-scrolled .zhi-header-btn:hover { background: rgba(255,255,255,.3); }

/* El header solid en páginas interiores también adopta el azul al scroll */
.zhi-header--solid.is-scrolled {
  background: var(--zhi-blue);
  border-bottom-color: transparent;
}

.zhi-header--solid.is-scrolled .zhi-nav a { color: #fff; }
.zhi-header--solid.is-scrolled .zhi-logo { color: #fff; }
.zhi-header--solid.is-scrolled .zhi-header__burger span { background: #fff; }

/* Nav hover: línea que crece desde el centro */
.zhi-nav a {
  position: relative;
}

.zhi-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
  transition: width .22s ease;
}

.zhi-nav a:hover::after { width: 80%; opacity: 1; }

.zhi-header--solid .zhi-nav a::after,
.zhi-header.is-scrolled .zhi-nav a::after { background: rgba(255,255,255,.8); }

/* Zoom en imágenes de tarjetas de servicio */
.zhi-service-card .zhi-service-card__bg img {
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.zhi-service-card:hover .zhi-service-card__bg img { transform: scale(1.06); }

/* Zoom en thumbs de noticias */
.zhi-noticia__thumb { overflow: hidden; }
.zhi-noticia__thumb img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.zhi-noticia:hover .zhi-noticia__thumb img { transform: scale(1.05); }

/* Botón scroll-to-top */
.zhi-scroll-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--zhi-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(21,161,218,.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.zhi-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.zhi-scroll-top:hover { background: var(--zhi-blue-dark); }

/* En mobile sube sobre la barra CTA */
@media (max-width: 768px) {
  .zhi-scroll-top { bottom: 76px; left: 16px; }
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
  .zhi-diferencial__pillars    { grid-template-columns: repeat(2, 1fr); }
  .zhi-servicios               { grid-template-columns: 1fr; }
  .zhi-calidad__grid           { grid-template-columns: repeat(2, 1fr); }
  .zhi-noticias__grid          { grid-template-columns: repeat(2, 1fr); }
  .zhi-footer__grid            { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --zhi-px: 16px; }

  /* Mobile CTA bar */
  .zhi-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--zhi-blue);
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  }

  .zhi-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: var(--zhi-font);
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    gap: 10px;
  }

  body { padding-bottom: 64px; }

  /* Header */
  .zhi-header__inner  { padding: 16px var(--zhi-px); gap: 12px; }
  .zhi-header-btn,
  .zhi-header.is-scrolled .zhi-header-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    border-radius: 0;
    border: none;
    text-align: center;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
    background: var(--zhi-blue);
    color: #fff;
  }
  .zhi-header__burger { display: flex; }

  /* Drawer: panel deslizante desde la derecha */
  .zhi-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 70%;
    max-width: 320px;
    background: var(--zhi-blue);
    padding: 20px var(--zhi-px) 32px;
    box-shadow: -4px 0 28px rgba(0,0,0,.25);
    z-index: 200;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .32s cubic-bezier(.22,1,.36,1), visibility 0s linear .32s;
  }

  .zhi-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .32s cubic-bezier(.22,1,.36,1);
  }

  /* Botón cerrar (X) — visible solo dentro del drawer */
  .zhi-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 40px;
    height: 40px;
    margin: 0 -8px 16px 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Links del drawer: blancos, tap targets grandes */
  .zhi-nav .zhi-nav-link,
  .zhi-nav > a,
  .zhi-header.is-scrolled .zhi-nav .zhi-nav-link,
  .zhi-header--solid.is-scrolled .zhi-nav .zhi-nav-link {
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .zhi-nav .zhi-nav-link::after,
  .zhi-nav > a::after { display: none; }

  /* Submenú: estático dentro del drawer */
  .zhi-nav .zhi-submenu {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0 0 0 16px;
    animation: none;
    border-radius: 0;
    background: none;
  }

  .zhi-nav .zhi-nav-sublink {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    text-align: left;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .zhi-nav .zhi-nav-sublink:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
  }

  /* Hero */
  .zhi-hero { min-height: 500px; }
  .zhi-hero__body { padding: 80px var(--zhi-px) 60px; }

  /* Construimos */
  .zhi-construimos__inner  { grid-template-columns: 1fr; gap: 40px; }
  .zhi-construimos__images { min-height: 280px; }
  .zhi-img-placeholder--main { height: 220px; width: 85%; }
  .zhi-img-placeholder--secondary { height: 180px; }

  /* Diferencial */
  .zhi-diferencial__grid   { grid-template-columns: 1fr; gap: 24px; }
  .zhi-diferencial__pillars { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }

  /* Proyectos carousel */
  .zhi-proyectos__slide.is-active { grid-template-columns: 1fr; gap: 32px; }
  .zhi-proyectos__image-wrap { padding-bottom: 20px; padding-right: 20px; }
  .zhi-proyectos__badge { width: 160px; padding: 16px 18px; }
  .zhi-proyectos__badge-num strong { font-size: 28px; }

  /* Calidad */
  .zhi-calidad__grid { grid-template-columns: repeat(2, 1fr); }

  /* Noticias */
  .zhi-noticias__grid { grid-template-columns: 1fr; }

  /* Certs */
  .zhi-certs__inner { gap: 36px; }

  /* Footer */
  .zhi-footer__grid  { grid-template-columns: 1fr; gap: 32px; }
  .zhi-footer__logo-brand { font-size: 40px; }

  /* WhatsApp sube sobre la barra fija */
  .zhi-wa { bottom: 76px; right: 16px; width: 50px; height: 50px; }
}


/* =========================================
   PÁGINA NOSOTROS
   ========================================= */

/* ----- Propósito (imagen + cuerpo superpuesto) ----- */
.zhi-ns-section--proposito {
  padding-bottom: 0; /* el body sobresale hacia abajo, el siguiente section da el espacio */
}

.zhi-ns-proposito {
  position: relative;
}

.zhi-ns-proposito__img {
  width: 100%;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.zhi-ns-proposito__img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.zhi-ns-proposito__body {
  position: relative;
  width: 80%;
  margin: -80px auto 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.zhi-ns-proposito__body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--zhi-blue);
  margin: 0;
}

.zhi-ns-proposito__body p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ----- Placeholder ----- */
.zhi-ns-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #e8edf2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8b9098;
  font-size: 13px;
}

/* ----- Ícono circular ----- */
.zhi-ns-icon {
  width: 56px;
  height: 56px;
  background: var(--zhi-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zhi-ns-icon--lg {
  width: 90px;
  height: 90px;
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom: inherit !important;
}

/* =============================================
   SPLIT — 2 columnas full-bleed (imagen | cuerpo)
   Usado en: intro, equipo técnico
   ============================================= */
.zhi-ns-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  overflow: hidden;
}

.zhi-ns-split__media {
  overflow: hidden;
}

.zhi-ns-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zhi-ns-split__body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: #fff;
}

.zhi-ns-split__body--blue {
  background: var(--zhi-blue);
  gap: 24px;
}

.zhi-ns-split__body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--zhi-blue);
  line-height: 1.3;
  margin: 0;
}

.zhi-ns-split__body--blue h2 {
  color: #fff;
}

.zhi-ns-split__body p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   SECTION — contenedor centrado con padding
   Usado en: contribuimos, stats, misión/visión, valores
   ============================================= */
.zhi-ns-section {
  padding: 40px var(--zhi-px);
}

.zhi-ns-section--border {
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
}

.zhi-ns-section--gray  { background: #f7f9fc; }
.zhi-ns-section--light { background: #e8f4fb; }

.zhi-ns-section__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
}

.zhi-ns-section__inner--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.zhi-ns-section__inner--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.zhi-ns-section__inner--valores {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 32px;
}

.zhi-ns-section__title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--zhi-text);
  margin-bottom: 52px;
}

/* Tipografía dentro de sections */
.zhi-ns-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--zhi-blue);
  line-height: 1.3;
  margin-bottom: 16px;
}

.zhi-ns-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ----- Card (Misión / Visión) ----- */
.zhi-ns-card {
  border: 1.5px solid #c8d8e8;
  border-radius: 6px;
  padding: 36px 32px;
  background: #fff;
}

.zhi-ns-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--zhi-blue);
  margin-bottom: 16px;
}

.zhi-ns-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* ----- Stat ----- */
.zhi-ns-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--zhi-blue);
  line-height: 1.1;
  margin-bottom: 8px;
}

.zhi-ns-stat span {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* ----- Foto con cita superpuesta ----- */
.zhi-ns-foto-cita {
  position: relative;
  overflow: visible;
  border-radius: 4px;
  min-height: 380px;
  padding-bottom: 80px;
}

.zhi-ns-foto-cita img {
  width: 100%;
  height: calc(100% - 80px);
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.zhi-ns-cita {
  position: absolute;
  bottom: -28px;
  left: -24px;
  right: 24px;
  background: var(--zhi-blue);
  color: #fff;
  padding: 28px 28px 24px;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
}

.zhi-ns-cita::before {
  content: '\201C';
  display: block;
  font-size: 72px;
  line-height: .6;
  margin-bottom: 12px;
  color: rgba(255,255,255,.25);
  font-family: Georgia, serif;
}

.zhi-ns-cita p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
  color: rgba(255,255,255,.92);
}

.zhi-ns-cita strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.25);
}

.zhi-ns-cita span {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 3px;
  display: block;
}

/* ----- Bullets ----- */
.zhi-ns-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zhi-ns-bullets li {
  position: relative;
  padding: 14px 16px 14px 36px;
  border: 1.5px solid #d0dce8;
  border-radius: 4px;
  font-size: 14px;
  color: #444;
}

.zhi-ns-bullets li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--zhi-blue);
  border-radius: 50%;
}

.zhi-ns-bullets--white li {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
}

.zhi-ns-bullets--white li::before { background: #fff; }

/* ----- Valores ----- */
.zhi-ns-valor {
  grid-column: span 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.zhi-ns-valor:nth-child(4) { grid-column: 2 / span 2; }
.zhi-ns-valor:nth-child(5) { grid-column: 4 / span 2; }

.zhi-ns-valor h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0;
}

.zhi-ns-valor p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ----- Equipo técnico (dentro de section centrado) ----- */
.zhi-ns-equipo-foto {
  overflow: hidden;
  border-radius: 6px;
}

.zhi-ns-equipo-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zhi-ns-equipo-card {
  background: var(--zhi-blue);
  border-radius: 6px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.zhi-ns-equipo-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

/* =========================================
   FICHA DE PRODUCTO
   ========================================= */

/* Layout 2col: imagen | info */
.zhi-prod-ficha__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 24px;
}

/* Imagen */
.zhi-prod-ficha__img-wrap {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  background: var(--zhi-gray-bg);
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 32px rgba(0, 38, 90, 0.14), 0 2px 8px rgba(0, 38, 90, 0.08);
}
.zhi-prod-ficha__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.zhi-prod-ficha__img-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zhi-gray-bg);
  border-radius: 8px;
}

/* Info */
.zhi-prod-ficha__linea {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--zhi-blue);
  margin-bottom: 10px;
}
.zhi-prod-ficha__title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--zhi-text);
  line-height: 1.25;
  margin: 0 0 16px;
}
.zhi-prod-ficha__desc {
  font-size: 16px;
  color: var(--zhi-muted);
  line-height: 1.7;
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 3px solid var(--zhi-blue);
}

/* CTAs */
.zhi-prod-ficha__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.zhi-prod-ficha__ctas--row {
  flex-direction: row;
}
.zhi-prod-ficha__ctas--row .zhi-prod-ficha__cta {
  flex: 1;
}
.zhi-prod-ficha__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.zhi-prod-ficha__cta:hover { opacity: .88; transform: translateY(-2px); }
.zhi-prod-ficha__cta--blue {
  background: var(--zhi-blue);
  color: #fff;
}
.zhi-prod-ficha__cta--green {
  background: #25D366;
  color: #fff;
}

/* ── CTAs unificados (partial cta-buttons.php) ── */
.zhi-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zhi-cta-btns--row {
  flex-direction: row;
  flex-wrap: wrap;
}
.zhi-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  transition: opacity .2s, transform .2s;
}
.zhi-cta-btn:hover { opacity: .88; transform: translateY(-2px); }
.zhi-cta-btn--primary {
  background: var(--zhi-blue);
  color: #fff;
}
.zhi-cta-btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.zhi-cta-btns--row .zhi-cta-btn { width: auto; flex: 1; }

/* Contenido descriptivo */
.zhi-prod-ficha__content {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--zhi-border);
  font-size: 16px;
  line-height: 1.8;
  color: var(--zhi-text);
}
.zhi-prod-ficha__content h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: var(--zhi-text); }
.zhi-prod-ficha__content h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; }
.zhi-prod-ficha__content p  { margin: 0 0 18px; }
.zhi-prod-ficha__content ul,
.zhi-prod-ficha__content ol { padding-left: 22px; margin-bottom: 18px; }
.zhi-prod-ficha__content li { margin-bottom: 6px; }
.zhi-prod-ficha__content img { border-radius: 6px; max-width: 100%; }
.zhi-prod-ficha__content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.zhi-prod-ficha__content th,
.zhi-prod-ficha__content td {
  padding: 10px 14px;
  border: 1px solid var(--zhi-border);
  text-align: left;
}
.zhi-prod-ficha__content th { background: var(--zhi-gray-bg); font-weight: 700; }

/* Responsive */
.zhi-prod-ficha__img-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--zhi-gray-bg);
  border-radius: 8px;
  color: #b0b8c0;
  font-size: 13px;
}

@media (max-width: 768px) {
  .zhi-prod-ficha__layout { grid-template-columns: 1fr; gap: 32px; }
  .zhi-prod-ficha__img-wrap { position: static; }
  .zhi-prod-ficha__ctas--row { flex-direction: column; }
  .zhi-prod-ficha__content { margin-top: 40px; padding-top: 32px; }
}

/* Secciones extra producto */
.zhi-prod-extra__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0 0 32px;
}

/* Galería */
.zhi-prod-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.zhi-prod-galeria__item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--zhi-gray-bg);
}
.zhi-prod-galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.zhi-prod-galeria__item:hover img { transform: scale(1.05); }
.zhi-prod-galeria__placeholder {
  aspect-ratio: 4/3;
  background: var(--zhi-gray-bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Descargas */
.zhi-prod-descargas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zhi-prod-descargas__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--zhi-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--zhi-text);
  transition: border-color .2s, background .2s;
}
.zhi-prod-descargas__link:hover {
  border-color: var(--zhi-blue);
  background: #f0f8fd;
}
.zhi-prod-descargas__ext {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--zhi-blue);
  border-radius: 4px;
  padding: 3px 8px;
  flex-shrink: 0;
}
.zhi-prod-descargas__name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}
.zhi-prod-descargas__icon {
  color: var(--zhi-muted);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .zhi-prod-galeria { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   PRODUCTOS
   ========================================= */

/* Marcas */
.zhi-prod-marcas .zhi-prod-marcas__content {
  text-align: center;
}
.zhi-prod-marcas .zhi-prod-marcas__content img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  margin: 12px 24px;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s, opacity .3s;
}
.zhi-prod-marcas .zhi-prod-marcas__content img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.zhi-prod-marcas .wp-block-gallery {
  align-items: center;
}
.zhi-prod-marcas .wp-block-gallery.has-nested-images figure.wp-block-image {
  margin-top: auto;
  margin-bottom: auto;
}

/* Título de categoría */
.zhi-prod-categoria__titulo {
  font-size: 26px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0 0 8px;
}
.zhi-prod-categoria__desc {
  color: var(--zhi-muted);
  margin: 0 0 40px;
}

/* Grid de productos */
.zhi-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card producto */
.zhi-prod-card {
  background: #fff;
  border: 1px solid var(--zhi-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.zhi-prod-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.zhi-prod-card__img-wrap {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--zhi-gray-bg);
}
.zhi-prod-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.zhi-prod-card:hover .zhi-prod-card__img {
  transform: scale(1.04);
}
.zhi-prod-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zhi-prod-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.zhi-prod-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--zhi-text);
  margin: 0;
  line-height: 1.4;
}
.zhi-prod-card__title a {
  color: inherit;
  text-decoration: none;
}
.zhi-prod-card__title a:hover { color: var(--zhi-blue); }
.zhi-prod-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
  margin-top: auto;
}
.zhi-prod-card__cta:hover { text-decoration: underline; }

/* =========================================
   SINGLE POST
   ========================================= */

/* Imagen destacada */
.zhi-single__featured-img {
  margin: 24px 0 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.zhi-single__featured-img-el {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Layout: columna centrada */
.zhi-single__wrap {
  max-width: var(--zhi-max);
  margin: 0 auto;
}

/* Breadcrumb */
.zhi-single__breadcrumb {
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .zhi-single__breadcrumb { display: none; }
}
.zhi-single__breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--zhi-muted);
}
.zhi-single__breadcrumb-list a {
  color: var(--zhi-muted);
  text-decoration: none;
}
.zhi-single__breadcrumb-list a:hover { color: var(--zhi-blue); }
.zhi-single__breadcrumb-sep { color: var(--zhi-border); }

/* Meta */
.zhi-single__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--zhi-muted);
  margin-bottom: 12px;
}
.zhi-single__cat {
  color: var(--zhi-blue);
  font-weight: 600;
  text-decoration: none;
}
.zhi-single__read-time {
  color: var(--zhi-muted);
}
.zhi-single__meta-sep { color: var(--zhi-border); }

/* Título */
.zhi-single__title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--zhi-text);
  line-height: 1.25;
  margin: 0 0 24px;
}

/* Autor */
.zhi-single__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--zhi-border);
  border-bottom: 1px solid var(--zhi-border);
  margin-bottom: 32px;
}
.zhi-single__avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.zhi-single__author strong {
  display: block;
  font-size: 14px;
  color: var(--zhi-text);
}
.zhi-single__author span {
  font-size: 12px;
  color: var(--zhi-muted);
}

/* Contenido del artículo */
.zhi-single__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--zhi-text);
}
.zhi-single__content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--zhi-text); }
.zhi-single__content h3 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; color: var(--zhi-text); }
.zhi-single__content p  { margin: 0 0 20px; }
.zhi-single__content ul,
.zhi-single__content ol { padding-left: 24px; margin-bottom: 20px; }
.zhi-single__content li { margin-bottom: 6px; }
.zhi-single__content a  { color: var(--zhi-blue); }
.zhi-single__content img { border-radius: 6px; max-width: 100%; height: auto; display: block; margin-inline: auto; }
.zhi-single__content figure,
.zhi-single__content .wp-block-image { text-align: center; }
.zhi-single__content figcaption,
.zhi-single__content .wp-block-image figcaption,
.zhi-single__content .wp-element-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--zhi-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}
.zhi-single__content blockquote {
  border-left: 4px solid var(--zhi-blue);
  padding: 12px 24px;
  margin: 24px 0;
  background: #f4fafd;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--zhi-muted);
}

/* Tags */
.zhi-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--zhi-border);
}
.zhi-single__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--zhi-blue);
  background: #f0f8fd;
  border: 1px solid #c5e6f5;
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
}
.zhi-single__tag:hover { background: var(--zhi-blue); color: #fff; }

/* Nav anterior/siguiente */
.zhi-single__postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
}
.zhi-single__postnav-next { text-align: right; }
.zhi-single__postnav-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--zhi-muted);
  margin-bottom: 4px;
}
.zhi-single__postnav-title a {
  font-size: 14px;
  font-weight: 600;
  color: var(--zhi-text);
  text-decoration: none;
}
.zhi-single__postnav-title a:hover { color: var(--zhi-blue); }

/* Excerpt destacado */
.zhi-single__excerpt {
  font-size: 18px;
  font-weight: 500;
  color: var(--zhi-muted);
  line-height: 1.7;
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--zhi-blue);
}
.zhi-single__excerpt p { margin: 0; }

/* Compartir */
.zhi-single__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--zhi-border);
  border-bottom: 1px solid var(--zhi-border);
  margin: 24px 0;
}
.zhi-single__share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-muted);
  white-space: nowrap;
}
.zhi-single__share-btns {
  display: flex;
  gap: 10px;
}
.zhi-single__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.zhi-single__share-btn:hover { opacity: .85; transform: translateY(-2px); }
.zhi-single__share-btn--li { background: #0A66C2; }
.zhi-single__share-btn--fb { background: #1877F2; }
.zhi-single__share-btn--wa { background: #25D366; }

/* Relacionados al final */
.zhi-single__related-section .zhi-ns-section__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.zhi-single__related-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0;
}

/* =========================================
   BLOG INDEX
   ========================================= */
.zhi-blog-header {
  margin-bottom: 40px;
}
.zhi-blog-header__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0 0 10px;
}
.zhi-blog-header__desc {
  font-size: 16px;
  color: var(--zhi-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Entrada destacada (primera) --- */
.zhi-blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  background: #fff;
  margin-bottom: 40px;
}
.zhi-blog-featured__img-wrap {
  display: block;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.zhi-blog-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.zhi-blog-featured:hover .zhi-blog-featured__img { transform: scale(1.03); }
.zhi-blog-featured__body {
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zhi-blog-featured__title {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.zhi-blog-featured__title a { color: var(--zhi-text); text-decoration: none; }
.zhi-blog-featured__title a:hover { color: var(--zhi-blue); }

@media (min-width: 1024px) {
  .zhi-blog-featured {
    grid-template-columns: 55% 1fr;
  }
  .zhi-blog-featured__img-wrap {
    aspect-ratio: auto;
    height: 100%;
    min-height: 360px;
  }
}

.zhi-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .zhi-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

.zhi-blog-card {
  background: #fff;
  border: 1px solid var(--zhi-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.zhi-blog-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transform: translateY(-3px);
}

.zhi-blog-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--zhi-gray-bg);
}
.zhi-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.zhi-blog-card:hover .zhi-blog-card__img {
  transform: scale(1.04);
}
.zhi-blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zhi-blog-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.zhi-blog-card__meta {
  font-size: 12px;
  color: var(--zhi-muted);
}
.zhi-blog-card__cat {
  color: var(--zhi-blue);
  font-weight: 600;
}
.zhi-blog-card .zhi-blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0;
  line-height: 1.4;
}
.zhi-blog-card__title a {
  color: var(--zhi-blue);
  text-decoration: none;
}
.zhi-blog-card__title a:hover { color: var(--zhi-text); }
.zhi-blog-card__excerpt {
  font-size: 13px;
  color: var(--zhi-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zhi-blog-card__excerpt p { margin: 0; }
.zhi-blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
  margin-top: auto;
}
.zhi-blog-card__cta:hover { text-decoration: underline; }

.zhi-blog-nav { margin-top: 48px; }
.zhi-blog-empty { color: var(--zhi-muted); text-align: center; padding: 40px 0; }

.zhi-blog-loadmore {
  text-align: center;
  margin-top: 48px;
}
.zhi-blog-loadmore__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--zhi-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.zhi-blog-loadmore__btn:hover:not(:disabled) {
  background: var(--zhi-blue-dark);
  transform: translateY(-2px);
}
.zhi-blog-loadmore__btn:disabled {
  opacity: .6;
  cursor: default;
}

/* =========================================
   PÁGINA PROYECTOS
   ========================================= */

/* Stats band */
.zhi-proy-stats {
  background: var(--zhi-gray-bg);
  padding: 48px var(--zhi-px);
}
.zhi-proy-stats__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}
.zhi-proy-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zhi-proy-stat__num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--zhi-blue);
  line-height: 1;
}
.zhi-proy-stat__label {
  font-size: 12px;
  color: var(--zhi-muted);
  line-height: 1.4;
}

/* Sección proyectos */
.zhi-proy-section { padding-top: 48px; }

/* Filtros */
.zhi-proy-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.zhi-proy-filtro {
  padding: 7px 16px;
  border: 1.5px solid var(--zhi-border);
  border-radius: 24px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--zhi-muted);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--zhi-font);
}
.zhi-proy-filtro:hover { border-color: var(--zhi-blue); color: var(--zhi-blue); }
.zhi-proy-filtro.is-active {
  background: var(--zhi-blue);
  border-color: var(--zhi-blue);
  color: #fff;
  font-weight: 600;
}

/* Grid de cards — 3 columnas */
.zhi-proy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Mensaje sin proyectos */
.zhi-proy-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--zhi-muted);
  font-size: 16px;
}

/* Card de proyecto */
.zhi-proy-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
}
.zhi-proy-card:hover {
  box-shadow: 0 8px 28px rgba(0,38,90,.12);
  transform: translateY(-3px);
}
.zhi-proy-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--zhi-gray-bg);
}
.zhi-proy-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.zhi-proy-card:hover .zhi-proy-card__img { transform: scale(1.04); }
.zhi-proy-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zhi-gray-bg);
}
.zhi-proy-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.zhi-proy-card__meta { display: flex; align-items: center; gap: 10px; }
.zhi-proy-card__ubicacion {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--zhi-muted);
}
.zhi-proy-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--zhi-text);
}
.zhi-proy-card__title a { color: inherit; text-decoration: none; }
.zhi-proy-card__title a:hover { color: var(--zhi-blue); }
.zhi-proy-card__excerpt {
  font-size: 13px;
  color: var(--zhi-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.zhi-proy-card__tipos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zhi-proy-card__tipo {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(21,161,218,.10);
  color: var(--zhi-blue);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.zhi-proy-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
}
.zhi-proy-card__cta:hover { text-decoration: underline; }

/* Load more */
.zhi-proy-loadmore { text-align: center; margin-top: 36px; }

/* Sección cobertura — 3 columnas */
.zhi-proy-cobertura__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.zhi-proy-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--zhi-text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 20px;
  color: var(--zhi-blue);
}

/* Col 1: provincias */
.zhi-proy-provincias {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 16px;
}
.zhi-proy-provincia {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--zhi-muted);
  padding: 4px 0;
  break-inside: avoid;
}
.zhi-proy-provincia__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zhi-blue);
  opacity: .7;
}

/* Col 2: países internacionales */
.zhi-proy-paises { display: flex; flex-direction: column; gap: 20px; }
.zhi-proy-pais { display: flex; align-items: flex-start; gap: 14px; }
.zhi-proy-pais__flag { font-size: 30px; line-height: 1; flex-shrink: 0; }
.zhi-proy-pais__nombre {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--zhi-text);
  margin-bottom: 4px;
}
.zhi-proy-pais__desc {
  font-size: 13px;
  color: var(--zhi-muted);
  line-height: 1.55;
  margin: 0;
}

/* Col 3: entornos */
.zhi-proy-entornos__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.zhi-proy-entorno {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--zhi-text);
}
.zhi-proy-entorno__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(21,161,218,.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zhi-blue);
  margin-top: 1px;
}
.zhi-proy-entorno strong { display: block; font-size: 14px; margin-bottom: 2px; }
.zhi-proy-entorno__sub {
  font-size: 12px;
  color: var(--zhi-muted);
  line-height: 1.5;
  margin: 0;
}

/* CTA final */
.zhi-proy-cta {
  background: linear-gradient(135deg, #00265A 0%, #003d8f 100%);
  padding: 60px var(--zhi-px);
}
.zhi-proy-cta__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.zhi-proy-cta__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.zhi-proy-cta__desc {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}
.zhi-proy-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #fff;
  color: #00265A;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.zhi-proy-cta__btn:hover {
  background: #f0faff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* Responsive proyectos */
@media (max-width: 1024px) {
  .zhi-proy-stats__inner      { grid-template-columns: repeat(3, 1fr); }
  .zhi-proy-grid              { grid-template-columns: repeat(2, 1fr); }
  .zhi-proy-cobertura__grid   { grid-template-columns: 1fr; gap: 36px; }
  .zhi-proy-provincias        { columns: 3; }
}
@media (max-width: 768px) {
  .zhi-proy-stats__inner  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .zhi-proy-grid          { grid-template-columns: 1fr; }
  .zhi-proy-provincias    { columns: 2; }
  .zhi-proy-cta__inner    { flex-direction: column; text-align: center; }
  .zhi-proy-cta__btn      { width: 100%; justify-content: center; }
}

/* PÁGINA CERTIFICACIONES
   ================================================= */

/* Galería de logos */
.zhi-cert-page__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
}
.zhi-cert-page__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.zhi-cert-page__logo-img {
  max-width: 360px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.65);
  transition: filter .3s, transform .2s;
}
.zhi-cert-page__logo-item:hover .zhi-cert-page__logo-img {
  filter: none;
  transform: scale(1.05);
}
.zhi-cert-page__logo-item--placeholder {
  padding: 12px 20px;
  background: #f3f4f6;
  border-radius: 8px;
}
.zhi-cert-page__logo-item--placeholder span {
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: .05em;
}

/* Medical Gas header */
.zhi-cert-page__mg-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.zhi-cert-page__mg-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: #00265A;
  margin: 8px 0 14px;
}
.zhi-cert-page__mg-desc {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Medical Gas grid — 4 columnas */
.zhi-cert-page__mg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.zhi-cert-page__mg-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.zhi-cert-page__mg-card:hover {
  box-shadow: 0 6px 24px rgba(0,38,90,.12);
  transform: translateY(-3px);
}
.zhi-cert-page__mg-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
}
.zhi-cert-page__mg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.zhi-cert-page__mg-card:hover .zhi-cert-page__mg-img { transform: scale(1.04); }
.zhi-cert-page__mg-img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
}
.zhi-cert-page__mg-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #00265A;
  line-height: 1.3;
  margin: 0;
  padding: 16px 18px 8px;
}
.zhi-cert-page__mg-card-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  padding: 0 18px 18px;
  flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .zhi-cert-page__mg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .zhi-cert-page__mg-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .zhi-cert-page__logos   { gap: 20px 28px; }
  .zhi-cert-page__logo-img { max-width: 220px; max-height: 130px; }
}

/* FICHA DE PROYECTO
   ================================================= */

/* Cabecera */
.zhi-proy-ficha__header-section { padding-top: 40px; }

.zhi-proy-ficha__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.zhi-proy-ficha__tipos { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.zhi-proy-ficha__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: #00265A;
  line-height: 1.15;
  margin: 0;
  width: 100%;
}

/* Compartir */
.zhi-proy-ficha__share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.zhi-proy-ficha__share-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-right: 2px;
}
.zhi-proy-ficha__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.zhi-proy-ficha__share-btn:hover { background: #00265A; color: #fff; transform: translateY(-2px); }

/* Copiar enlace — estados de ícono */
.zhi-share-copy__check { display: none; }
.zhi-proy-ficha__share-copy.is-copied { background: #16a34a; color: #fff; }
.zhi-proy-ficha__share-copy.is-copied .zhi-share-copy__icon { display: none; }
.zhi-proy-ficha__share-copy.is-copied .zhi-share-copy__check { display: block; }

/* Imagen destacada */
.zhi-proy-ficha__featured-img {
  margin: 0 0 36px;
  border-radius: 14px;
  overflow: hidden;
}
.zhi-proy-ficha__featured-img-el {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}
.zhi-proy-ficha__img-caption {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  padding: 8px 0 0;
}
.zhi-proy-ficha__featured-placeholder {
  width: 100%;
  aspect-ratio: 16 / 6;
  background: #e9edf3;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #b0b8c0;
  font-size: 13px;
  margin-bottom: 36px;
}

/* Layout 2 columnas */
.zhi-proy-ficha__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Columna contenido */
.zhi-proy-ficha__desc {
  font-size: clamp(15px, 1.6vw, 17px);
  color: #374151;
  line-height: 1.75;
  border-left: 3px solid #0055b3;
  padding-left: 18px;
  margin: 0 0 32px;
}
.zhi-proy-ficha__bloque { margin-bottom: 36px; }
.zhi-proy-ficha__bloque-title {
  font-size: 18px;
  font-weight: 700;
  color: #00265A;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}
.zhi-proy-ficha__bloque-body { font-size: 15px; color: #374151; line-height: 1.75; }
.zhi-proy-ficha__bloque-body p { margin: 0 0 12px; }
.zhi-proy-ficha__bloque-body p:last-child { margin-bottom: 0; }
.zhi-proy-ficha__bloque-body ul,
.zhi-proy-ficha__bloque-body ol { padding-left: 1.4rem; margin: 0 0 12px; }
.zhi-proy-ficha__bloque-body li { margin-bottom: 6px; }

/* Lista de servicios con links */
.zhi-proy-ficha__servicios-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zhi-proy-ficha__servicio-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--zhi-navy);
  text-decoration: none;
  transition: color .2s;
}
.zhi-proy-ficha__servicio-link svg { flex-shrink: 0; color: var(--zhi-blue); }
.zhi-proy-ficha__servicio-link:hover { color: var(--zhi-blue); }

/* Tags genéricos */
.zhi-proy-ficha__tags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zhi-proy-ficha__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 20px;
  background: #e8f0fd;
  color: #0055b3;
  font-size: 13px;
  font-weight: 500;
}
.zhi-proy-ficha__tag--cert {
  background: #f0fdf4;
  color: #15803d;
}
.zhi-proy-ficha__tags-list--sm .zhi-proy-ficha__tag {
  font-size: 12px;
  padding: 4px 10px;
}

/* Aside: ficha técnica */
.zhi-proy-ficha__aside { position: sticky; top: 100px; }
.zhi-proy-ficha__aside > .zhi-cta-btns { margin-bottom: 20px; }
.zhi-proy-ficha__aside-inner {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,38,90,.07);
}
.zhi-proy-ficha__aside-title {
  font-size: 16px;
  font-weight: 700;
  color: #00265A;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}
.zhi-proy-ficha__aside-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 10px;
}
.zhi-proy-ficha__aside-block { margin-top: 24px; }

/* DL de ficha */
.zhi-proy-ficha__ficha { margin: 0; }
.zhi-proy-ficha__ficha-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.zhi-proy-ficha__ficha-row:last-child { border-bottom: none; }
.zhi-proy-ficha__ficha-row dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.zhi-proy-ficha__ficha-row dd {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* CTAs del aside */
.zhi-proy-ficha__aside-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.zhi-proy-ficha__aside-ctas .zhi-prod-ficha__cta {
  width: 100%;
  justify-content: center;
}

/* Galería */
.zhi-proy-ficha__galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.zhi-proy-ficha__galeria-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.zhi-proy-ficha__galeria-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.zhi-proy-ficha__galeria-item:hover .zhi-proy-ficha__galeria-img { transform: scale(1.04); }

/* Responsive */
@media (max-width: 1024px) {
  .zhi-proy-ficha__layout { grid-template-columns: 1fr; }
  .zhi-proy-ficha__aside  { position: static; }
  .zhi-proy-ficha__galeria { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .zhi-proy-ficha__galeria { grid-template-columns: 1fr 1fr; gap: 8px; }
  .zhi-proy-ficha__featured-img-el { aspect-ratio: 16/9; }
}

/* =========================================
   FICHA DE SERVICIO (single-servicio.php)
   ========================================= */

/* Imagen destacada debajo del título */
.zhi-srv-ficha__featured-img {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 6px 24px rgba(0,38,90,.10);
}
.zhi-srv-ficha__featured-img-el {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.zhi-srv-ficha__featured-placeholder {
  margin: 0 0 28px;
  border-radius: 8px;
  background: var(--zhi-gray-bg);
  aspect-ratio: 16/7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--zhi-light);
  font-size: 13px;
  text-align: center;
}

/* Sección header: breadcrumb + layout */
.zhi-srv-ficha__header-section { padding-top: 40px; }
.zhi-prod-ficha__breadcrumb    { margin-bottom: 32px; }

/* Layout 2 columnas: info (izq) + aside (der) */
.zhi-srv-ficha__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

/* Info izquierda */
.zhi-srv-ficha__tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.zhi-srv-ficha__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(21,161,218,.12);
  color: var(--zhi-blue);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}
.zhi-srv-ficha__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--zhi-text);
  line-height: 1.25;
  margin: 0 0 20px;
}
.zhi-srv-ficha__desc {
  font-size: 16px;
  color: var(--zhi-muted);
  line-height: 1.8;
  margin: 0 0 28px;
  border-left: 3px solid var(--zhi-blue);
  padding-left: 18px;
}
.zhi-srv-ficha__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* CTAs en aside — apilados */
.zhi-srv-ficha__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.zhi-srv-ficha__ctas .zhi-prod-ficha__cta {
  justify-content: center;
  width: 100%;
}

/* Aside derecho */
.zhi-cta-btns + .zhi-srv-ficha__aside-inner { margin-top: 20px; }
.zhi-srv-ficha__aside-inner {
  background: #f7f9fc;
  border: 1px solid var(--zhi-border);
  border-radius: 10px;
  padding: 28px 26px;
}
.zhi-srv-ficha__aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--zhi-text);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.zhi-srv-ficha__highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.zhi-srv-ficha__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--zhi-text);
  line-height: 1.5;
}
.zhi-srv-ficha__hl-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--zhi-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Proceso del servicio */
.zhi-srv-ficha__proceso {
  list-style: none;
  counter-reset: paso;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--zhi-border);
  padding-left: 32px;
}
.zhi-srv-ficha__paso {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
.zhi-srv-ficha__paso:last-child { padding-bottom: 0; }
.zhi-srv-ficha__paso::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--zhi-blue);
  border: 2px solid #fff;
  outline: 2px solid var(--zhi-blue);
}
.zhi-srv-ficha__paso-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--zhi-blue);
  opacity: .18;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.zhi-srv-ficha__paso-body { flex: 1; }
.zhi-srv-ficha__paso-body strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--zhi-text);
  margin-bottom: 6px;
}
.zhi-srv-ficha__paso-body p {
  font-size: 14px;
  color: var(--zhi-muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsive ficha servicio */
@media (max-width: 900px) {
  .zhi-srv-ficha__layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .zhi-srv-ficha__featured-img-el      { aspect-ratio: 16/9; }
  .zhi-srv-ficha__featured-placeholder { aspect-ratio: 16/9; }
  .zhi-srv-ficha__proceso              { padding-left: 20px; }
}

/* =========================================
   PÁGINA SERVICIOS
   ========================================= */

/* Intro */
.zhi-srv-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.zhi-srv-intro__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--zhi-text);
  margin-bottom: 16px;
}
.zhi-srv-intro__desc {
  font-size: 17px;
  color: var(--zhi-muted);
  line-height: 1.75;
  margin: 0;
}

/* Grid de servicios — 3 columnas */
.zhi-srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Tarjeta de servicio */
.zhi-srv-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
}
.zhi-srv-card:hover {
  box-shadow: 0 8px 28px rgba(0,38,90,.13);
  transform: translateY(-4px);
}

/* Imagen */
.zhi-srv-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--zhi-gray-bg);
}
.zhi-srv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.zhi-srv-card:hover .zhi-srv-card__img { transform: scale(1.04); }

.zhi-srv-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zhi-gray-bg);
}

/* Cuerpo */
.zhi-srv-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.zhi-srv-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.zhi-srv-card__title a {
  color: var(--zhi-text);
  text-decoration: none;
  transition: color .2s;
}
.zhi-srv-card__title a:hover { color: var(--zhi-blue); }
.zhi-srv-card__excerpt {
  font-size: 13.5px;
  color: var(--zhi-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.zhi-srv-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s;
}
.zhi-srv-card__cta:hover {
  text-decoration: underline;
  gap: 10px;
}

/* Widget catálogo */
.zhi-srv-catalogo {
  background: linear-gradient(135deg, #00265A 0%, #003d8f 100%);
  padding: 56px var(--zhi-px);
}
.zhi-srv-catalogo__inner {
  max-width: var(--zhi-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.zhi-srv-catalogo__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.zhi-srv-catalogo__text { flex: 1; }
.zhi-srv-catalogo__title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.zhi-srv-catalogo__desc {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}
.zhi-srv-catalogo__action { flex-shrink: 0; }
.zhi-srv-catalogo__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: var(--zhi-blue-dark);
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.zhi-srv-catalogo__btn:hover {
  background: #f0faff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .zhi-ns-proposito__img img          { height: 200px; }
  .zhi-ns-proposito__body            { width: 92%; padding: 28px 24px; margin-top: -40px; }

  .zhi-ns-split                       { grid-template-columns: 1fr; }
  .zhi-ns-split__media                { min-height: 240px; }
  .zhi-ns-split__body                 { padding: 36px 24px; }

  .zhi-ns-section                     { padding: 48px var(--zhi-px); }
  .zhi-ns-section__inner--2col        { grid-template-columns: 1fr; gap: 40px; }
  .zhi-ns-section__inner--4col        { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .zhi-ns-section__inner--valores     { grid-template-columns: 1fr; }

  .zhi-ns-stat strong                 { font-size: 24px; }
  .zhi-ns-cita                        { position: relative; left: 0; right: 0; }

  .zhi-ns-valor,
  .zhi-ns-valor:nth-child(4),
  .zhi-ns-valor:nth-child(5)          { grid-column: 1; }

  /* Servicios */
  .zhi-srv-grid                       { grid-template-columns: 1fr; }
  .zhi-srv-catalogo__inner            { flex-direction: column; text-align: center; gap: 24px; }
  .zhi-srv-catalogo__icon             { margin: 0 auto; }
  .zhi-srv-catalogo__desc             { max-width: 100%; }
  .zhi-srv-catalogo__btn              { width: 100%; justify-content: center; }

  /* Productos */
  .zhi-prod-grid                      { grid-template-columns: repeat(2, 1fr); }

  /* Single */
  .zhi-single__wrap                   { max-width: 100%; }
  .zhi-single__featured-img-el        { max-height: 240px; }
  .zhi-single__related-title          { font-size: 18px; }

  /* Blog */
  .zhi-blog-grid                      { grid-template-columns: 1fr; }
  .zhi-blog-loadmore__btn             { width: 100%; justify-content: center; }
  .zhi-blog-featured                  { grid-template-columns: 1fr; }
  .zhi-blog-featured__img-wrap        { aspect-ratio: 16/7; height: auto; }
}

/* ════════════════════════════════════════════════
   LIGHTBOX MODAL
   ════════════════════════════════════════════════ */
.zhi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zhi-lightbox[hidden] { display: none; }

.zhi-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.zhi-lightbox__stage {
  position: relative;
  z-index: 1;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zhi-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.zhi-lightbox__img.is-loading { opacity: 0; }

.zhi-lightbox__close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.zhi-lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* gallery items as buttons */
.zhi-prod-galeria__item,
.zhi-proy-ficha__galeria-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
}

/* =========================================
   PAGE NOTICIAS
   ========================================= */

.zhi-noticias__header {
  background: var(--zhi-blue);
  padding: 64px 24px 48px;
  text-align: center;
}
.zhi-noticias__header-inner {
  max-width: 720px;
  margin-inline: auto;
}
.zhi-noticias__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.zhi-noticias__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  margin: 0;
}

.zhi-noticias__body { padding: 56px 24px 72px; }
.zhi-noticias__inner {
  max-width: 1110px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.zhi-noticias__empty {
  text-align: center;
  color: var(--zhi-muted);
  padding: 48px 0;
}

/* --- Entrada destacada --- */
.zhi-news-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.zhi-news-featured__img-link { display: block; }
.zhi-news-featured__img-wrap {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.zhi-news-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.zhi-news-featured:hover .zhi-news-featured__img { transform: scale(1.03); }

.zhi-news-featured__body {
  padding: 28px 28px 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zhi-news-featured__title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.zhi-news-featured__title a {
  color: var(--zhi-text);
  text-decoration: none;
}
.zhi-news-featured__title a:hover { color: var(--zhi-blue); }
.zhi-news-featured__excerpt {
  font-size: 16px;
  color: var(--zhi-muted);
  line-height: 1.65;
  margin: 0;
}
.zhi-news-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.zhi-news-featured__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
}
.zhi-news-featured__cta:hover { text-decoration: underline; }

/* --- Grid de tarjetas --- */
.zhi-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* --- Tarjeta estándar --- */
.zhi-news-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.zhi-news-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
.zhi-news-card__img-link { display: block; }
.zhi-news-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.zhi-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.zhi-news-card:hover .zhi-news-card__img { transform: scale(1.05); }
.zhi-news-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--zhi-border);
}
.zhi-news-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.zhi-news-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--zhi-blue);
  text-decoration: none;
}
.zhi-news-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.zhi-news-card__title a {
  color: var(--zhi-text);
  text-decoration: none;
}
.zhi-news-card__title a:hover { color: var(--zhi-blue); }
.zhi-news-card__excerpt {
  font-size: 14px;
  color: var(--zhi-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.zhi-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--zhi-border);
}
.zhi-news-card__date {
  font-size: 12px;
  color: var(--zhi-muted);
}
.zhi-news-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--zhi-blue);
  text-decoration: none;
}
.zhi-news-card__link:hover { text-decoration: underline; }

/* --- Paginación --- */
.zhi-noticias__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zhi-noticias__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zhi-text);
  text-decoration: none;
  border: 1px solid var(--zhi-border);
  transition: background .2s, color .2s;
}
.zhi-noticias__pagination .page-numbers:hover,
.zhi-noticias__pagination .page-numbers.current {
  background: var(--zhi-blue);
  color: #fff;
  border-color: var(--zhi-blue);
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .zhi-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .zhi-news-featured {
    grid-template-columns: 55% 1fr;
  }
  .zhi-news-featured__img-wrap { aspect-ratio: auto; height: 100%; min-height: 380px; }
  .zhi-news-grid { grid-template-columns: repeat(3, 1fr); }
}
