/* ==========================================================
   FULL WIDTH REAL - GeneratePress + Elementor
   Este bloque esta pensado para home.css, que solo carga en la home.
   Si lo pegas en CSS adicional, manten el prefijo body.home.
   ========================================================== */

body.home,
body.home #page,
body.home .site,
body.home .site.grid-container,
body.home .container.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .entry-content > *,
body.home .elementor,
body.home .elementor-section-wrap,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column,
body.home .elementor-widget,
body.home .elementor-widget-wrap,
body.home .elementor-widget-container,
body.home .e-con,
body.home .e-con-inner {
  max-width: none !important;
  width: 100% !important;
}

body.home .site,
body.home .site.grid-container,
body.home .container.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .elementor,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column,
body.home .elementor-widget,
body.home .elementor-widget-wrap,
body.home .elementor-widget-container,
body.home .e-con,
body.home .e-con-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .elementor-section.elementor-section-boxed > .elementor-container,
body.home .e-con > .e-con-inner {
  max-width: none !important;
}

body.home .site,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .elementor-widget-container {
  overflow: visible !important;
}

html,
body.home {
  overflow-x: clip !important;
}

body.home .zgz-home-v7 {
  position: relative;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* Si Elementor deja un padding por defecto dentro del widget HTML */
body.home .elementor-widget-html,
body.home .elementor-widget-html > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================
   ZGZweb Home V7
   Enfoque: video sutil, claro, editorial, interactivo
   ========================================================== */

.zgz-home-v7 {
  --zgz-ink: #101010;
  --zgz-ink-soft: #242833;
  --zgz-muted: #596274;
  --zgz-line: rgba(16, 24, 40, 0.14);
  --zgz-soft: #f5f7fb;
  --zgz-cream: #fff8f1;
  --zgz-blue: #145cff;
  --zgz-blue-deep: #0b1b3a;
  --zgz-cyan: #66e8ff;
  --zgz-lime: #b8ff4d;
  --zgz-orange: #ff7a1a;
  --zgz-radius: 30px;
  --zgz-container: 1320px;
  --zgz-spot-x: 50%;
  --zgz-spot-y: 42%;
  --feature-color: #145cff;

  /* Fuerza ancho completo aunque Elementor/GeneratePress meta la home dentro de un contenedor estrecho. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: clip;
  color: var(--zgz-ink);
  background: #ffffff;
  text-rendering: geometricPrecision;
}

.zgz-home-v7 *,
.zgz-home-v7 *::before,
.zgz-home-v7 *::after {
  box-sizing: border-box;
}

/* ==========================================================
   FULL WIDTH WORDPRESS / GENERATEPRESS / ELEMENTOR
   Evita los margenes laterales del contenedor del tema.
   ========================================================== */

html:has(.zgz-home-v7),
body:has(.zgz-home-v7) {
  overflow-x: clip;
}

body:has(.zgz-home-v7) #page,
body:has(.zgz-home-v7) .site,
body:has(.zgz-home-v7) .site-content,
body:has(.zgz-home-v7) .content-area,
body:has(.zgz-home-v7) .inside-article,
body:has(.zgz-home-v7) .entry-content,
body:has(.zgz-home-v7) .elementor,
body:has(.zgz-home-v7) .elementor-section,
body:has(.zgz-home-v7) .elementor-container,
body:has(.zgz-home-v7) .elementor-column,
body:has(.zgz-home-v7) .elementor-widget-wrap,
body:has(.zgz-home-v7) .elementor-widget-container:has(.zgz-home-v7) {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:has(.zgz-home-v7) .entry-content > .zgz-home-v7,
body:has(.zgz-home-v7) .elementor-widget-container > .zgz-home-v7 {
  display: block;
}

.zgz-v7-container {
  width: min(100% - 44px, var(--zgz-container));
  margin-inline: auto;
}

.zgz-v7-section {
  padding: clamp(74px, 8vw, 126px) 0;
}

.zgz-v7-eyebrow {
  margin: 0;
  color: var(--zgz-blue);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.015em;
}

.zgz-v7-section-head {
  max-width: 880px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.zgz-v7-section-head h2 {
  margin: 14px 0 0;
  color: var(--zgz-ink);
  font-size: clamp(2.45rem, 5.3vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.078em;
}

.zgz-v7-section-head p:not(.zgz-v7-eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--zgz-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}


/* ==========================================================
   MARCADOR LATERAL DE SECCIONES
   ========================================================== */

.zgz-home-v7 [id] {
  scroll-margin-top: 88px;
}

.zgz-v7-section-nav {
  position: fixed;
  right: clamp(18px, 2vw, 34px);
  top: 50%;
  z-index: 40;
  display: grid;
  gap: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.zgz-v7-section-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(11, 27, 58, 0.58);
  font-size: 0.72rem;
  font-weight: 920;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.zgz-v7-section-nav a:hover,
.zgz-v7-section-nav a:focus-visible,
.zgz-v7-section-nav a.is-active {
  color: var(--zgz-blue);
  text-decoration: none;
  transform: translateX(-4px);
}

.zgz-v7-section-nav span {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s ease, max-width 0.2s ease;
}

.zgz-v7-section-nav:hover span,
.zgz-v7-section-nav:focus-within span,
.zgz-v7-section-nav a.is-active span {
  opacity: 1;
  max-width: 96px;
}

.zgz-v7-section-nav i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px transparent;
  transition: width 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.zgz-v7-section-nav a.is-active i {
  width: 8px;
  height: 8px;
  background: #ffffff;
  box-shadow:
    0 0 0 2px var(--zgz-blue),
    0 0 18px rgba(20, 92, 255, 0.22);
}

/* ==========================================================
   BOTON GLOW REAL + FLECHA CSS SIN EMOJI
   ========================================================== */

.zgz-v7-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.zgz-v7-btn {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px 15px 26px;
  border: 0;
  border-radius: 999px;
  color: var(--zgz-ink);
  background: #ffffff;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  will-change: transform;
}

.zgz-v7-btn:hover,
.zgz-v7-btn:focus-visible {
  color: var(--zgz-ink);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.11);
}

.zgz-v7-btn-glow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 999px;
  opacity: 1;
  filter: blur(5px);
  background: linear-gradient(
    45deg,
    var(--zgz-blue),
    var(--zgz-cyan),
    var(--zgz-lime),
    var(--zgz-orange),
    #ff4fa3,
    var(--zgz-blue)
  );
  background-size: 400%;
  animation: zgzGlowingButton 20s linear infinite;
  transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.zgz-v7-btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #ffffff;
}

.zgz-v7-btn-glow:hover::before,
.zgz-v7-btn-glow:focus-visible::before {
  filter: blur(7px);
}

.zgz-v7-btn-quiet {
  border: 1px solid rgba(17, 17, 17, 0.10);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.zgz-v7-arrow,
.zgz-v7-row-arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: currentColor;
  background: currentColor;
  transform: translateY(0);
  transition: transform 0.22s ease, opacity 0.22s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.zgz-v7-btn:hover .zgz-v7-arrow,
.zgz-v7-btn:focus-visible .zgz-v7-arrow,
a:hover .zgz-v7-row-arrow,
a:focus-visible .zgz-v7-row-arrow {
  transform: translate(3px, -3px);
}

@keyframes zgzGlowingButton {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

/* ==========================================================
   HERO VIDEO SUTIL
   ========================================================== */

.zgz-v7-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 22px));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(98px, 10vw, 152px) 0 clamp(72px, 8vw, 112px);
  background:
    radial-gradient(circle at var(--zgz-spot-x) var(--zgz-spot-y), rgba(102, 232, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #fff8f1 0%, #f5fbff 50%, #f7fff2 100%);
}

.zgz-v7-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.92) contrast(1.04) brightness(1.08);
  transform: scale(1.035);
}

.zgz-v7-hero__video.is-video-ready {
  opacity: 5;
}

.zgz-v7-hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.84) 42%, rgba(255,255,255,0.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.56) 100%);
  pointer-events: none;
}

.zgz-v7-hero::before {
  content: "";
  position: absolute;
  top: -84px;
  left: 0;
  width: 100%;
  height: 156px;
  background: linear-gradient(90deg, rgba(255,122,26,0.42), rgba(20,92,255,0.10), rgba(184,255,77,0.28));
  filter: blur(34px);
  opacity: 0.9;
  pointer-events: none;
}

.zgz-v7-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,24,40,0.18), transparent);
  pointer-events: none;
}

.zgz-v7-hero__inner {
  position: relative;
  z-index: 1;
}

.zgz-v7-hero__copy {
  max-width: 900px;
}

.zgz-v7-hero h1 {
  max-width: 880px;
  margin: 16px 0 20px;
  color: var(--zgz-ink);
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.082em;
}

.zgz-v7-hero__lead {
  max-width: 670px;
  margin: 0;
  color: #333b4a;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.68;
}

.zgz-v7-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 760px;
  margin-top: 26px;
}

.zgz-v7-hero__links a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 999px;
  color: var(--zgz-ink-soft);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.zgz-v7-hero__links a:hover,
.zgz-v7-hero__links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 92, 255, 0.32);
  background: rgba(255, 255, 255, 0.9);
  color: var(--zgz-blue);
  text-decoration: none;
}

/* ==========================================================
   FRASE DOBLE CON SCROLL
   ========================================================== */

.zgz-v7-scroll-words {
  position: relative;
  height: 260vh;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 122, 26, 0.10), transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(20, 92, 255, 0.08), transparent 34%),
    #ffffff;
}

.zgz-v7-scroll-words__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(46px, 6vw, 88px);
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
}

.zgz-v7-scroll-words__intro {
  position: relative;
  z-index: 2;
}

.zgz-v7-scroll-words__intro p:not(.zgz-v7-eyebrow) {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--zgz-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.68;
}

.zgz-v7-marquee {
  width: 100%;
  display: grid;
  gap: clamp(18px, 2.1vw, 36px);
  pointer-events: none;
}

.zgz-v7-marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 92px);
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(var(--zgz-marquee-x, 0px), 0, 0);
}

.zgz-v7-marquee__row--right,
.zgz-v7-marquee__row--left {
  margin-left: 0;
}

.zgz-v7-marquee__row span {
  display: inline-block;
  color: rgba(16, 16, 16, 0.15);
  font-size: clamp(3rem, 7.7vw, 8.7rem);
  line-height: 0.9;
  font-weight: 890;
  letter-spacing: -0.082em;
}

.zgz-v7-marquee__row span:nth-child(2n) {
  color: rgba(16, 16, 16, 0.25);
}

.zgz-v7-marquee__row span:hover {
  color: var(--zgz-ink);
}

/* ==========================================================
   SERVICIOS DESTACADOS
   ========================================================== */

.zgz-v7-featured {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 9vw, 140px) 0;
  background:
    radial-gradient(circle at var(--zgz-spot-x) var(--zgz-spot-y), color-mix(in srgb, var(--feature-color) 16%, transparent), transparent 38%),
    linear-gradient(135deg, #fff8f1 0%, #f5f8ff 48%, #f7fff2 100%);
}

.zgz-v7-featured__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.zgz-v7-featured__head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--zgz-ink);
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.078em;
}

.zgz-v7-featured__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.zgz-v7-featured__list {
  border-top: 1px solid rgba(16, 24, 40, 0.14);
}

.zgz-v7-featured__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(18px, 3.5vw, 36px) 0;
  border-bottom: 1px solid rgba(16, 24, 40, 0.14);
  color: rgba(16, 16, 16, 0.20);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.zgz-v7-featured__item strong {
  display: block;
  color: inherit;
  font-size: clamp(3rem, 7.2vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.09em;
  font-weight: 870;
}

.zgz-v7-featured__item .zgz-v7-row-arrow {
  opacity: 0;
  color: var(--feature-color);
  transform: translateX(-8px);
}

.zgz-v7-featured__item:hover,
.zgz-v7-featured__item:focus-visible,
.zgz-v7-featured__item.is-active {
  color: var(--zgz-ink);
  padding-left: 1.4vw;
  text-decoration: none;
}

.zgz-v7-featured__item:hover .zgz-v7-row-arrow,
.zgz-v7-featured__item:focus-visible .zgz-v7-row-arrow,
.zgz-v7-featured__item.is-active .zgz-v7-row-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.zgz-v7-featured__note {
  position: sticky;
  top: 110px;
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 28px;
  color: var(--zgz-ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 1.08rem;
  line-height: 1.65;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.07);
}

.zgz-v7-featured__note::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--feature-color);
  box-shadow: 0 0 20px color-mix(in srgb, var(--feature-color) 42%, transparent);
}

/* ==========================================================
   METODO
   ========================================================== */

.zgz-v7-method {
  background: #ffffff;
}

.zgz-v7-method__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zgz-v7-method-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(20,92,255,0.08), transparent 36%),
    #ffffff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zgz-v7-method-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zgz-blue), var(--zgz-cyan), var(--zgz-lime));
}

.zgz-v7-method-card:hover {
  border-color: rgba(20, 92, 255, 0.26);
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.09);
}

.zgz-v7-method-card h3 {
  margin: 0 0 12px;
  color: var(--zgz-ink);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.zgz-v7-method-card p {
  margin: 0;
  color: var(--zgz-muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

/* ==========================================================
   SERVICIOS EN FILAS
   ========================================================== */

.zgz-v7-services {
  background: var(--zgz-soft);
}

.zgz-v7-service-rows {
  border-top: 1px solid var(--zgz-line);
}

.zgz-v7-service-rows article {
  border-bottom: 1px solid var(--zgz-line);
}

.zgz-v7-service-rows a {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.82fr) auto;
  gap: clamp(18px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px) 0;
  color: inherit;
  text-decoration: none;
}

.zgz-v7-service-rows h3 {
  margin: 0;
  color: var(--zgz-ink);
  font-size: clamp(1.85rem, 3.4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.073em;
}

.zgz-v7-service-rows p {
  max-width: 580px;
  margin: 0;
  color: var(--zgz-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.zgz-v7-service-rows strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: var(--zgz-ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.zgz-v7-service-rows a:hover h3,
.zgz-v7-service-rows a:focus-visible h3,
.zgz-v7-service-rows a:hover strong,
.zgz-v7-service-rows a:focus-visible strong {
  color: var(--zgz-blue);
}

/* ==========================================================
   PROYECTOS
   ========================================================== */

.zgz-v7-projects {
  background: #ffffff;
}

.zgz-v7-projects__title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.zgz-v7-projects__title h2 {
  max-width: 760px;
  margin: 0;
  color: var(--zgz-ink);
  font-size: clamp(3rem, 7.2vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.09em;
}

.zgz-v7-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.zgz-v7-project-card {
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.10);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.zgz-v7-project-card:hover {
  border-color: rgba(20, 92, 255, 0.22);
  box-shadow: 0 28px 76px rgba(16, 24, 40, 0.10);
}

.zgz-v7-project-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.zgz-v7-project-card figure {
  overflow: hidden;
  margin: 0;
  background: #edf1f7;
}

.zgz-v7-project-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.zgz-v7-project-card:hover img {
  transform: scale(1.035);
}

.zgz-v7-project-card div {
  padding: clamp(23px, 3vw, 34px);
}

.zgz-v7-project-card span {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--zgz-blue);
  font-size: 0.84rem;
  font-weight: 950;
}

.zgz-v7-project-card h3 {
  margin: 0 0 12px;
  color: var(--zgz-ink);
  font-size: clamp(2.1rem, 3.7vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.zgz-v7-project-card p {
  margin: 0 0 18px;
  color: var(--zgz-muted);
  font-size: 1rem;
  line-height: 1.66;
}

.zgz-v7-project-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zgz-ink);
  font-weight: 900;
}

.zgz-v7-project-card a:hover strong,
.zgz-v7-project-card a:focus-visible strong {
  color: var(--zgz-blue);
}

/* ==========================================================
   MAPA DE ENLACES COMPACTO
   ========================================================== */

.zgz-v7-link-map {
  background:
    radial-gradient(circle at 84% 18%, rgba(20,92,255,0.08), transparent 30%),
    #ffffff;
}

.zgz-v7-route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 6vw, 100px);
  border-top: 1px solid var(--zgz-line);
}

.zgz-v7-route-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--zgz-line);
  color: inherit;
  text-decoration: none;
}

.zgz-v7-route-list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--zgz-blue), var(--zgz-cyan), var(--zgz-lime));
  transition: width 0.25s ease;
}

.zgz-v7-route-list a:hover::before,
.zgz-v7-route-list a:focus-visible::before {
  width: 100%;
}

.zgz-v7-route-list span {
  color: var(--zgz-ink);
  font-size: clamp(1.28rem, 2.25vw, 2.25rem);
  line-height: 1;
  font-weight: 840;
  letter-spacing: -0.055em;
}

.zgz-v7-route-list em {
  color: var(--zgz-blue);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 920;
  white-space: nowrap;
}

.zgz-v7-route-list a:hover span,
.zgz-v7-route-list a:focus-visible span {
  color: var(--zgz-blue);
}

/* ==========================================================
   FAQ
   ========================================================== */

.zgz-v7-faq {
  background: #f3f6fb;
}

.zgz-v7-faq-list {
  max-width: 1040px;
  margin-left: auto;
  border-top: 1px solid var(--zgz-line);
}

.zgz-v7-faq-list details {
  border-bottom: 1px solid var(--zgz-line);
}

.zgz-v7-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  color: var(--zgz-ink);
  list-style: none;
}

.zgz-v7-faq-list summary::-webkit-details-marker {
  display: none;
}

.zgz-v7-faq-list summary span {
  font-size: clamp(1.28rem, 2.2vw, 2.35rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.058em;
}

.zgz-v7-faq-list summary::after {
  content: "+";
  display: block;
  width: 28px;
  color: var(--zgz-blue);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
}

.zgz-v7-faq-list details[open] summary::after {
  content: "−";
}

.zgz-v7-faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 54px 28px 0;
  color: var(--zgz-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

/* ==========================================================
   CTA FINAL
   ========================================================== */

.zgz-v7-final {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 8vw, 132px) 0 clamp(96px, 9vw, 150px);
  background:
    radial-gradient(circle at var(--zgz-spot-x) var(--zgz-spot-y), rgba(102, 232, 255, 0.20), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #fff8f1 45%, #f4fbff 100%);
}

.zgz-v7-final__box {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(16, 24, 40, 0.10);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 10%, rgba(20,92,255,0.12), transparent 28%),
    rgba(255,255,255,0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 32px 94px rgba(16, 24, 40, 0.10);
}

.zgz-v7-final__box h2 {
  max-width: 1040px;
  margin: 16px 0 18px;
  color: var(--zgz-ink);
  font-size: clamp(2.5rem, 5.7vw, 6.5rem);
  line-height: 0.91;
  letter-spacing: -0.08em;
}

.zgz-v7-final__box p:not(.zgz-v7-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--zgz-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ==========================================================
   JS ENHANCEMENTS
   ========================================================== */

.zgz-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

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

.zgz-magnetic,
[data-zgz-tilt] {
  will-change: transform;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1120px) {
  .zgz-v7-featured__layout {
    grid-template-columns: 1fr;
  }

  .zgz-v7-scroll-words__intro {
    max-width: 560px;
  }

  .zgz-v7-featured__note {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .zgz-v7-method__grid {
    grid-template-columns: 1fr;
  }

  .zgz-v7-method-card {
    min-height: 220px;
  }

  .zgz-v7-method-card::before {
    margin-bottom: 46px;
  }

  .zgz-v7-service-rows a {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .zgz-v7-service-rows strong {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .zgz-v7-container {
    width: min(100% - 30px, var(--zgz-container));
  }

  .zgz-v7-section {
    padding: 66px 0;
  }

  .zgz-v7-hero {
    min-height: auto;
    padding: 84px 0 64px;
  }

  .zgz-v7-hero__video {
    opacity: 0.38;
  }

  .zgz-v7-hero__wash {
    background: rgba(255,255,255,0.84);
  }

  .zgz-v7-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.8rem);
  }

  .zgz-v7-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .zgz-v7-btn {
    width: 100%;
  }

  .zgz-v7-scroll-words {
    height: 120vh;
  }

  .zgz-v7-scroll-words__sticky {
    min-height: 100svh;
    padding: 70px 0;
  }

  .zgz-v7-marquee__row {
    gap: 26px;
  }

  .zgz-v7-marquee__row span {
    font-size: clamp(2.7rem, 15vw, 5.8rem);
    letter-spacing: -0.085em;
  }

  .zgz-v7-featured__head {
    display: block;
  }

  .zgz-v7-featured__head h2 {
    margin-top: 14px;
  }

  .zgz-v7-featured__item strong {
    font-size: clamp(2.6rem, 13vw, 5rem);
  }

  .zgz-v7-projects__title {
    display: block;
  }

  .zgz-v7-projects__title .zgz-v7-btn {
    width: auto;
    margin-top: 22px;
  }

  .zgz-v7-project-grid,
  .zgz-v7-route-list {
    grid-template-columns: 1fr;
  }

  .zgz-v7-faq-list summary {
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .zgz-v7-faq-list summary span {
    font-size: clamp(1.22rem, 6vw, 1.8rem);
  }

  .zgz-v7-faq-list p {
    padding-right: 0;
  }
}

@media (max-width: 520px) {
  .zgz-v7-hero__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zgz-v7-hero__links a {
    justify-content: center;
  }

  .zgz-v7-featured__item {
    grid-template-columns: 1fr;
  }

  .zgz-v7-featured__item .zgz-v7-row-arrow {
    display: none;
  }

  .zgz-v7-project-card,
  .zgz-v7-final__box,
  .zgz-v7-method-card {
    border-radius: 24px;
  }
}


@media (max-width: 1280px) {
  .zgz-v7-section-nav {
    display: none;
  }
}

@media (max-width: 860px) {
  .zgz-v7-scroll-words {
    height: 210vh;
  }

  .zgz-v7-scroll-words__sticky {
    gap: 40px;
  }

  .zgz-v7-marquee__row {
    gap: 32px;
  }

  .zgz-v7-marquee__row span {
    font-size: clamp(2.9rem, 13vw, 5.4rem);
    letter-spacing: -0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zgz-home-v7 *,
  .zgz-home-v7 *::before,
  .zgz-home-v7 *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .zgz-reveal {
    opacity: 1;
    transform: none;
  }
}
/* Pegar en Apariencia > Personalizar > CSS adicional si el home.css no gana al contenedor del tema */
body.home,
body.home #page,
body.home .site,
body.home .site.grid-container,
body.home .container.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .entry-content > *,
body.home .elementor,
body.home .elementor-section-wrap,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column,
body.home .elementor-widget,
body.home .elementor-widget-wrap,
body.home .elementor-widget-container,
body.home .e-con,
body.home .e-con-inner {
  max-width: none !important;
  width: 100% !important;
}

body.home .site,
body.home .site.grid-container,
body.home .container.grid-container,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .elementor,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column,
body.home .elementor-widget,
body.home .elementor-widget-wrap,
body.home .elementor-widget-container,
body.home .e-con,
body.home .e-con-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .elementor-section.elementor-section-boxed > .elementor-container,
body.home .e-con > .e-con-inner {
  max-width: none !important;
}

body.home .site,
body.home .site-content,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home .inside-article,
body.home .entry-content,
body.home .elementor-widget-container {
  overflow: visible !important;
}

html,
body.home {
  overflow-x: clip !important;
}

body.home .zgz-home-v7 {
  position: relative;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

body.home .elementor-widget-html,
body.home .elementor-widget-html > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}
