/* GOGLO x Webgen: editorial home theme */
:root {
  --wg-ink: #080808;
  --wg-paper: #f4f1ea;
  --wg-white: #ffffff;
  --wg-cyan: #57feff;
  --wg-pink: #e20261;
  --wg-yellow: #ffb400;
  --wg-line: rgba(8, 8, 8, 0.16);
}

html,
body {
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  background: var(--wg-paper);
  color: var(--wg-ink);
  overflow-x: hidden;
}

body::before {
  background-image: linear-gradient(to right, transparent calc(100% - 1px), rgba(8,8,8,.06) 1px);
  background-size: 25% 100%;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 50;
}

header.sticky-top {
  background: var(--wg-ink);
  border-bottom: 1px solid rgba(255,255,255,.16);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.goglo-header {
  background: var(--wg-ink);
  backdrop-filter: none;
  box-shadow: none !important;
  min-height: 92px;
  padding: 18px clamp(22px, 5vw, 78px) !important;
}

.goglo-header-logo {
  background-image: url("../img/global/goglo-agency-logo-web-blanco.svg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 44px;
  width: 130px;
}

.goglo-header .navbar-nav { align-items: center; gap: clamp(6px, 1.5vw, 24px); }
.goglo-header .nav-link {
  font-family: "Neighbor", sans-serif;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.goglo-header .btn {
  background: var(--wg-cyan) !important;
  border-radius: 100px !important;
  color: var(--wg-ink) !important;
  padding: 12px 22px;
}

#goglo-first,
main#goglo-first,
.goglo-first {
  background: var(--wg-paper) !important;
}

main[id^="goglo-first"] {
  background: var(--wg-paper);
  display: grid;
  min-height: calc(100vh - 92px);
  overflow: hidden;
  padding: 0 clamp(20px, 4vw, 68px) 54px;
  position: relative;
}

main[id^="goglo-first"]::before {
  color: rgba(8,8,8,.055);
  content: "GOGLO";
  font-family: "Urbane", sans-serif;
  font-size: clamp(8rem, 25vw, 30rem);
  font-weight: 900;
  left: -2vw;
  letter-spacing: -.1em;
  line-height: .8;
  position: absolute;
  top: 4%;
  white-space: nowrap;
}

#video-background {
  border-radius: 0 0 120px 0;
  box-shadow: 18px 18px 0 var(--wg-cyan);
  grid-area: 1 / 1;
  height: 56vh !important;
  margin: auto 0 0 auto;
  min-height: 430px;
  object-fit: cover;
  object-position: center !important;
  position: relative !important;
  width: min(58vw, 900px) !important;
  z-index: 1 !important;
}

main[id^="goglo-first"] > .goglo-first {
  align-items: center;
  background: transparent !important;
  color: var(--wg-ink) !important;
  display: flex;
  grid-area: 1 / 1;
  height: auto;
  min-height: calc(100vh - 146px);
  pointer-events: none;
  position: relative;
  z-index: 3;
}

main[id^="goglo-first"] .container.row {
  margin: 0 !important;
  max-width: 1500px;
  padding: 70px 0 !important;
  width: 100%;
}

.goglo-titulo-principal {
  color: var(--wg-ink);
  font-size: clamp(3.4rem, 7.7vw, 8.6rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .83;
  max-width: 1050px;
  text-wrap: balance;
}

.wg-home-hero .goglo-titulo-principal,
.wg-home-hero .goglo-titulo-principal span {
  animation: none !important;
  transform: none !important;
}

.goglo-titulo-principal .text-cian,
.goglo-titulo-principal .text-rosa { color: var(--wg-ink) !important; }
.goglo-titulo-principal .text-cian { -webkit-text-stroke: 2px var(--wg-ink); color: transparent !important; }
.goglo-titulo-principal .text-rosa { color: var(--wg-pink) !important; }

main[id^="goglo-first"] .btn {
  background: var(--wg-ink) !important;
  border-radius: 100px !important;
  color: var(--wg-white) !important;
  font-size: .88rem;
  letter-spacing: .08em;
  padding: 17px 28px;
  pointer-events: auto;
}
main[id^="goglo-first"] .btn::after { color: var(--wg-cyan); content: "  \2197"; font-size: 1.2em; }

#swiper {
  background: var(--wg-ink) !important;
  border: 0;
  color: var(--wg-white);
  overflow: hidden;
  padding: 25px 0 !important;
  transform: rotate(-1.2deg) scale(1.02);
}
.goglo-marquee {
  overflow: hidden;
}
.goglo-marquee-item {
  display: inline-flex;
  font-size: clamp(1.2rem, 2.1vw, 2rem) !important;
  white-space: nowrap;
}
.goglo-marquee-item span::after { color: var(--wg-cyan); content: " \2726"; margin-left: 2rem; }

.wg-marquee-track {
  animation: wg-marquee-move var(--wg-marquee-duration, 26s) linear infinite;
  display: flex;
  min-width: max-content;
  width: max-content;
  will-change: transform;
}
.wg-marquee-group {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 30px;
  justify-content: space-around;
  min-width: 100vw;
  padding-right: 30px;
}
.wg-footer-marquee { --wg-marquee-duration: 32s; }

@keyframes wg-marquee-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .wg-marquee-track { animation-play-state: paused; }
}

#servicios {
  background: var(--wg-ink) !important;
  color: var(--wg-white) !important;
  padding: clamp(90px, 11vw, 170px) 0 !important;
}
#servicios .container { max-width: 1320px; }
#servicios section > .row:first-child { border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 38px; }
.wg-service-link { color: inherit; display: block; height: 100%; text-decoration: none; }
.wg-service-link .card { height: calc(100% - 1rem); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.wg-service-link:hover .card { border-color: var(--wg-cyan); transform: translateY(-7px); }
.wg-service-link .card-body { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.wg-service-link .card-title { font-size: 1rem; margin: 0; text-align: left !important; }
.wg-service-arrow { display: none; }
#servicios h2,
#proyectos h2 {
  font-size: clamp(3rem, 7vw, 7.4rem);
  letter-spacing: -.065em;
  line-height: .9;
  text-align: left;
}
#servicios h2::before { color: var(--wg-cyan); content: "01 / "; font-size: .17em; letter-spacing: .1em; vertical-align: top; }
#servicios section > .row:first-child p { color: rgba(255,255,255,.65); margin-left: auto; max-width: 560px; text-align: left; }
#servicios section > .row:last-child { margin-top: 50px !important; }
#servicios .col-12 { padding: 0; width: 100%; }
#servicios .card {
  align-items: center;
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2) !important;
  display: grid;
  grid-template-columns: 170px 1fr 80px;
  margin: 0 !important;
  min-height: 150px;
  overflow: hidden;
  padding: 18px 0;
  transition: background-color .3s, padding .3s;
}
#servicios .card:hover { background: var(--wg-pink) !important; padding: 18px 28px; }
#servicios .card-img-top {
  border-radius: 80px;
  height: 100px;
  object-fit: cover;
  width: 140px;
}
#servicios .card-body { padding: 0 20px; }
#servicios .card-title { font-size: clamp(1.6rem, 3.1vw, 3.4rem); letter-spacing: -.04em; margin: 0; text-align: left !important; }
#servicios .card::after { color: var(--wg-cyan); content: "\2197"; font-size: 2.8rem; text-align: right; }
#servicios .card:hover::after { color: var(--wg-white); }

#proyectos {
  background: var(--wg-paper) !important;
  color: var(--wg-ink) !important;
  padding: clamp(90px, 11vw, 160px) 0 !important;
}
#proyectos .container { max-width: 1320px; }
#proyectos h2::before { color: var(--wg-pink); content: "02 / "; font-size: .17em; letter-spacing: .1em; vertical-align: top; }
#proyectos .text-center { text-align: left !important; }
#proyectos .text-center p { font-size: 1.1rem; margin-left: auto; max-width: 520px; }
#proyectos .row.pb-4 { border-top: 1px solid var(--wg-line); margin-top: 45px !important; padding-top: 42px; }
#proyectos .card {
  align-items: center;
  aspect-ratio: 1.4;
  background: var(--wg-white) !important;
  border: 1px solid var(--wg-line);
  border-radius: 0 !important;
  display: flex;
  justify-content: center;
  overflow: hidden;
  transition: background-color .3s, transform .3s;
}
#proyectos .card:hover { background: var(--wg-cyan) !important; transform: translateY(-8px); }
#proyectos .goglo-clientes-logo { filter: grayscale(1); max-height: 150px; opacity: .65; width: 100%; }
#proyectos .card:hover .goglo-clientes-logo { filter: none; opacity: 1; }

#contacto {
  background: var(--wg-pink) !important;
  color: var(--wg-white) !important;
  padding: clamp(70px, 9vw, 130px) 0 !important;
}
#contacto h2 { font-size: clamp(3.4rem, 9vw, 9rem); letter-spacing: -.075em; line-height: .82; }
#contacto h2::after { color: var(--wg-cyan); content: " \2197"; }
#contacto p { font-size: clamp(1rem, 1.7vw, 1.35rem); margin: 32px auto 0; max-width: 720px; }

#form-contacto { background: var(--wg-paper) !important; padding: clamp(70px, 9vw, 120px) 0 !important; }
#form-contacto .row { margin: auto !important; }
#form-contacto .col-12 {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#form-contacto .form-label { font-family: "Urbane", sans-serif; font-weight: 700; text-transform: uppercase; }
#form-contacto .form-control {
  background: transparent;
  border-bottom: 2px solid var(--wg-ink) !important;
  border-radius: 0;
  box-shadow: none !important;
  font-size: 1.15rem;
  padding: 15px 0;
}
#form-contacto .btn { background: var(--wg-ink); border-radius: 100px; color: white; padding: 15px 34px; }

footer { background: var(--wg-ink) !important; }
footer .bg-amarillo { background: var(--wg-cyan) !important; padding: 28px clamp(25px, 6vw, 90px) !important; }
footer .mt-5 { margin-top: 0 !important; padding-top: 60px; }
footer .goglo-header-logo { height: 52px; width: 155px; }

@media (max-width: 991px) {
  .goglo-header { min-height: 76px; padding: 14px 20px !important; }
  .goglo-header .navbar-collapse { padding-top: 18px; }
  .goglo-header .navbar-nav { align-items: stretch; }
  main[id^="goglo-first"] { min-height: 850px; padding: 0 20px 40px; }
  main[id^="goglo-first"] > .goglo-first { align-items: flex-start; min-height: 720px; }
  main[id^="goglo-first"] .container.row { padding-top: 70px !important; }
  #video-background { height: 44vh !important; margin-top: auto; min-height: 330px; width: 88vw !important; }
  .goglo-titulo-principal { font-size: clamp(3rem, 13vw, 6rem); }
}

@media (max-width: 767px) {
  body::before { display: none; }
  main[id^="goglo-first"] { min-height: 760px; }
  main[id^="goglo-first"] > .goglo-first { min-height: 570px; }
  #video-background { border-radius: 0 0 60px 0; box-shadow: 10px 10px 0 var(--wg-cyan); height: 300px !important; min-height: 300px; width: calc(100% - 12px) !important; }
  #servicios .card { grid-template-columns: 84px 1fr 42px; min-height: 110px; }
  #servicios .card-img-top { height: 66px; width: 66px; }
  #servicios .card-body { padding: 0 12px; }
  #servicios .card-title { font-size: 1.2rem; }
  #servicios .card::after { font-size: 1.8rem; }
  #proyectos .goglo-clientes-logo { padding: 24px !important; }
  #contacto h2 { font-size: clamp(3rem, 17vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Hero layout correction: content and artwork must never obscure each other. */
main[id^="goglo-first"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: clamp(40px, 6vw, 90px);
}

main[id^="goglo-first"] > .goglo-first {
  display: block;
  flex: none;
  min-height: 0;
  order: 1;
  width: 100%;
}

main[id^="goglo-first"] .container.row {
  margin-inline: auto !important;
  padding: clamp(55px, 7vw, 110px) 0 clamp(42px, 5vw, 75px) !important;
}

main[id^="goglo-first"] .container.row > div {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.goglo-titulo-principal {
  font-size: clamp(3.25rem, 7.2vw, 7.6rem);
  max-width: 1280px;
  overflow-wrap: normal;
  position: relative;
  word-break: normal;
  z-index: 2;
}

main[id^="goglo-first"] .btn {
  display: inline-flex;
  margin-top: clamp(30px, 4vw, 54px) !important;
}

#video-background {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0 0 clamp(45px, 7vw, 110px) 0;
  flex: none;
  height: auto !important;
  margin: 0 auto !important;
  min-height: 0;
  object-fit: contain !important;
  object-position: center !important;
  order: 2;
  width: min(100%, 1500px) !important;
}

@media (max-width: 991px) {
  main[id^="goglo-first"] {
    min-height: 0;
    padding: 0 18px 58px;
  }

  main[id^="goglo-first"] > .goglo-first {
    min-height: 0;
  }

  main[id^="goglo-first"] .container.row {
    padding: 54px 4px 38px !important;
  }

  .goglo-titulo-principal {
    font-size: clamp(2.75rem, 11.5vw, 5.8rem);
    letter-spacing: -.065em;
    line-height: .88;
    overflow-wrap: anywhere;
  }

  #video-background {
    height: auto !important;
    min-height: 0;
    width: 100% !important;
  }
}

@media (max-width: 575px) {
  main[id^="goglo-first"]::before {
    font-size: 36vw;
    left: -4vw;
    top: 3%;
  }

  main[id^="goglo-first"] .container.row {
    padding-top: 45px !important;
  }

  main[id^="goglo-first"] .container.row > div {
    text-align: center !important;
  }

  .goglo-titulo-principal {
    font-size: clamp(2.45rem, 11.8vw, 4.1rem);
    letter-spacing: -.055em;
    line-height: .9;
    margin-inline: auto;
    max-width: 100%;
    text-align: center;
  }

  .goglo-titulo-principal .text-cian {
    -webkit-text-stroke-width: 1px;
  }

  main[id^="goglo-first"] .btn {
    font-size: .75rem;
    justify-content: center;
    margin-inline: auto;
    max-width: 100%;
    padding: 15px 20px;
    width: auto;
  }

  #video-background {
    border-radius: 0 0 42px 0;
    box-shadow: 8px 8px 0 var(--wg-cyan);
  }
}

/* Webgen-style global navigation */
.wg-header { background: var(--wg-ink); border-bottom: 1px solid rgba(255,255,255,.14); color: white; z-index: 1000; }
.wg-header-inner { align-items: center; display: grid; grid-template-columns: 170px 1fr auto; margin: auto; max-width: 1540px; min-height: 92px; padding: 0 clamp(20px,4vw,64px); }
.wg-brand { display: inline-flex; }
.wg-nav { justify-self: center; }
.wg-nav ul { align-items: center; display: flex; gap: clamp(22px,2.6vw,46px); list-style: none; margin: 0; padding: 0; }
.wg-nav a,.wg-nav button { background: none; border: 0; color: white; font-family: "Urbane",sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 34px 0; text-decoration: none; text-transform: uppercase; }
.wg-nav a:hover,.wg-nav button:hover { color: var(--wg-cyan); }
.wg-has-submenu { position: relative; }
.wg-has-submenu > button span { color: var(--wg-cyan); margin-left: 6px; }
.wg-nav .wg-submenu { align-items: stretch; background: var(--wg-ink); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 0; left: -24px; min-width: 270px; opacity: 0; padding: 12px 22px; pointer-events: none; position: absolute; top: calc(100% - 12px); transform: translateY(10px); transition: .25s ease; }
.wg-submenu li + li { border-top: 1px solid rgba(255,255,255,.1); }
.wg-nav .wg-submenu a { display: block; font-family: "Neighbor",sans-serif; font-size: .86rem; padding: 12px 0; text-transform: none; }
.wg-has-submenu:hover .wg-submenu,.wg-has-submenu:focus-within .wg-submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.wg-header-cta { background: var(--wg-cyan); border-radius: 100px; color: var(--wg-ink); font-family: "Urbane",sans-serif; font-size: .78rem; font-weight: 800; padding: 14px 22px; text-decoration: none; text-transform: uppercase; }
.wg-header-cta span { margin-left: 8px; }
.wg-menu-toggle { background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; display: none; height: 48px; padding: 12px; width: 52px; }
.wg-menu-toggle span { background: white; display: block; height: 2px; margin: 5px 0; transition: .2s; width: 100%; }

/* Transparent chameleon hero. The ID selector overrides the legacy background shorthand. */
main#goglo-first.wg-home-hero { background-color: var(--wg-paper) !important; background-image: url("/assets/img/goglo/goglo-camaleon-fondohome-png.webp") !important; background-position: right -1px bottom -1px !important; background-repeat: no-repeat !important; background-size: min(58vw,920px) auto !important; min-height: min(900px,calc(100vh - 92px)) !important; padding-bottom: 0 !important; }
.wg-home-hero > .goglo-first { align-items: center; display: flex; min-height: min(900px,calc(100vh - 92px)); }
.wg-home-hero .container.row { margin: 0 !important; padding-bottom: 120px !important; }
.wg-home-hero .goglo-titulo-principal { max-width: 930px; }

/* Internal content system */
.wg-page-hero { background: var(--wg-paper); border-bottom: 1px solid var(--wg-line); padding: clamp(90px,12vw,180px) 0 clamp(70px,9vw,130px); position: relative; }
.wg-page-hero::after { color: rgba(8,8,8,.05); content: "GOGLO"; font-family: "Urbane",sans-serif; font-size: clamp(8rem,25vw,28rem); font-weight: 900; left: -3vw; line-height: .6; pointer-events: none; position: absolute; top: 20%; }
.wg-page-hero .container { position: relative; z-index: 1; }
.wg-eyebrow { color: var(--wg-pink); display: block; font-family: "Urbane",sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 28px; text-transform: uppercase; }
.wg-page-hero h1 { font-family: "Urbane",sans-serif; font-size: clamp(3.7rem,8vw,8.5rem); font-weight: 900; letter-spacing: -.075em; line-height: .86; max-width: 1250px; text-transform: uppercase; }
.wg-page-hero .page-intro { font-size: clamp(1.15rem,2vw,1.6rem); line-height: 1.45; margin: 45px 0 0 auto; max-width: 720px; }
.wg-page-content { background: white; color: var(--wg-ink); padding: clamp(75px,10vw,150px) 0; }
.wg-page-content article { margin: auto; max-width: 900px; }
.wg-page-content article > h2 { font-size: clamp(2rem,4vw,4rem); letter-spacing: -.045em; margin: 70px 0 22px; }
.wg-page-content article > h2:first-child { margin-top: 0; }
.wg-page-content article p,.wg-page-content article li { font-size: 1.12rem; line-height: 1.75; }
.wg-page-content article li + li { margin-top: 10px; }
.wg-content-lead { border-bottom: 1px solid var(--wg-line); padding-bottom: 70px; }
.wg-content-lead h2 { font-size: clamp(3rem,6vw,6.5rem) !important; line-height: .92; }
.wg-stat-grid { display: grid; gap: 1px; grid-template-columns: repeat(3,1fr); margin: 80px 0; background: var(--wg-line); }
.wg-stat-grid > div { background: var(--wg-paper); padding: 45px 35px; }
.wg-stat-grid strong { font-family: "Urbane",sans-serif; font-size: 1.6rem; }
.wg-process { display: grid; }
.wg-process > div { align-items: start; border-top: 1px solid var(--wg-line); display: grid; gap: 25px; grid-template-columns: 80px 1fr 1fr; padding: 40px 0; }
.wg-process span { color: var(--wg-pink); font-family: "Urbane",sans-serif; font-weight: 800; }
.wg-process h2 { font-size: clamp(2rem,4vw,4rem); margin: 0; }
.wg-faq details { border-top: 1px solid var(--wg-line); padding: 30px 0; }
.wg-faq details:last-child { border-bottom: 1px solid var(--wg-line); }
.wg-faq summary { cursor: pointer; font-family: "Urbane",sans-serif; font-size: clamp(1.3rem,2.2vw,2rem); font-weight: 800; list-style: none; }
.wg-faq summary::after { color: var(--wg-pink); content: "+"; float: right; }
.wg-faq details[open] summary::after { content: "−"; }
.wg-inline-cta,.wg-article-cta a { background: var(--wg-ink); border-radius: 100px; color: white; display: inline-flex; font-family: "Urbane",sans-serif; font-weight: 800; padding: 16px 28px; text-decoration: none; }
.wg-blog-grid { display: grid; gap: 1px; grid-template-columns: repeat(2,1fr); background: var(--wg-line); }
.wg-blog-card { background: var(--wg-paper); margin: 0 !important; max-width: none !important; min-height: 390px; padding: clamp(28px,4vw,55px); }
.wg-blog-card > span { color: var(--wg-pink); font-family: "Urbane",sans-serif; font-size: .75rem; font-weight: 800; }
.wg-blog-card h2 { font-size: clamp(1.8rem,3vw,3rem) !important; margin: 35px 0 20px !important; }
.wg-blog-card h2 a { color: var(--wg-ink); text-decoration: none; }
.wg-read-more { color: var(--wg-ink); display: inline-block; font-family: "Urbane",sans-serif; font-weight: 800; margin-top: 25px; }
.wg-article-cta { align-items: center; background: var(--wg-cyan); display: flex; justify-content: space-between; margin: 100px auto 0; max-width: 900px; padding: 35px; }
.wg-article-cta h2 { margin: 0; }

/* Professional footer */
.wg-footer { background: var(--wg-ink) !important; color: white; }
.wg-footer-marquee { background: var(--wg-cyan); color: var(--wg-ink); font-family: "Urbane",sans-serif; font-size: clamp(1rem,2vw,1.8rem); font-weight: 900; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.wg-footer-inner { margin: auto; max-width: 1500px; padding: clamp(65px,9vw,130px) clamp(22px,5vw,75px) 28px; }
.wg-footer-lead { border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: clamp(60px,8vw,110px); position: relative; }
.wg-footer-lead h2 { font-size: clamp(3.5rem,8vw,8rem); letter-spacing: -.07em; line-height: .88; max-width: 1100px; }
.wg-footer-lead h2 em { color: var(--wg-pink); font-style: normal; }
.wg-footer-cta { align-items: center; background: var(--wg-cyan); border-radius: 100%; color: var(--wg-ink); display: flex; font-family: "Urbane",sans-serif; font-weight: 900; height: 150px; justify-content: center; padding: 25px; position: absolute; right: 0; text-align: center; text-decoration: none; top: 30%; width: 150px; }
.wg-footer-grid { display: grid; gap: 55px; grid-template-columns: 1.5fr repeat(3,1fr); padding: 70px 0; }
.wg-footer-grid h3 { color: var(--wg-cyan); font-size: .8rem; letter-spacing: .12em; margin-bottom: 22px; text-transform: uppercase; }
.wg-footer-grid a,.wg-footer-grid span,.wg-footer-grid p { color: rgba(255,255,255,.68); display: block; line-height: 1.8; text-decoration: none; }
.wg-footer-grid a:hover { color: white; }
.wg-footer-grid .goglo-header-logo { margin-bottom: 25px; }
.wg-social { display: flex; gap: 16px; margin-top: 20px; }
.wg-social a {
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition: .25s ease;
  width: 42px;
}
.wg-social a:hover { background: var(--wg-cyan); color: var(--wg-ink); }
.wg-social span {
  position: absolute;
  left: -9999px;
}
.wg-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); display: flex; font-size: .8rem; justify-content: space-between; padding-top: 28px; }
.wg-footer-bottom a { color: white; }

@media (max-width: 991px) {
  body.menu-open { overflow: hidden; }
  .wg-header { position: sticky; top: 0; width: 100%; }
  .wg-header-inner { align-items: center; grid-template-columns: minmax(0,1fr) 52px; min-height: 76px; padding: 0 18px; width: 100%; }
  .wg-brand { align-items: center; display: flex; justify-self: start; }
  .wg-brand .goglo-header-logo { height: 40px; width: 122px; }
  .wg-menu-toggle { align-self: center; display: block; grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  .wg-menu-toggle span { margin: 5px auto; }
  .wg-header-cta { display: none; }
  .wg-nav { background: var(--wg-ink); border-top: 1px solid rgba(255,255,255,.14); display: none; inset: 76px 0 auto; justify-self: stretch; margin: 0; max-height: calc(100dvh - 76px); overflow-y: auto; padding: 12px 20px 28px; position: fixed; width: 100%; }
  .wg-header.is-open .wg-nav { display: block; }
  .wg-nav > ul { align-items: stretch; display: grid; gap: 0; }
  .wg-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.14); display: block; width: 100%; }
  .wg-nav a,.wg-nav button { align-items: center; display: flex; font-size: 1.05rem; justify-content: space-between; line-height: 1.2; margin: 0; padding: 19px 2px; text-align: left; width: 100%; }
  .wg-nav .wg-submenu { border: 0; display: none; opacity: 1; padding: 0 0 16px 20px; pointer-events: auto; position: static; transform: none; }
  .wg-has-submenu.is-open .wg-submenu { display: grid; }
  .wg-nav .wg-submenu a { font-size: .9rem; }
  main#goglo-first.wg-home-hero { background-position: right -8vw center !important; background-size: min(90vw,760px) auto !important; min-height: 820px !important; }
  .wg-home-hero > .goglo-first { min-height: 820px; }
  .wg-home-hero .container.row { align-self: flex-start; padding-top: 70px !important; }
  .wg-home-hero .goglo-titulo-principal { max-width: 760px; }
  .wg-stat-grid { grid-template-columns: 1fr; }
  .wg-footer-grid { grid-template-columns: repeat(2,1fr); }
  .wg-footer-cta { border-radius: 999px; height: auto; margin-top: 35px; max-width: 100%; padding: 17px 27px; position: static; width: fit-content; }
}

@media (max-width: 575px) {
  main#goglo-first.wg-home-hero { background-position: right -24vw top 125px !important; background-size: 122vw auto !important; min-height: 760px !important; }
  .wg-home-hero > .goglo-first { min-height: 760px; }
  .wg-home-hero .container.row { padding: 42px 0 330px !important; }
  .wg-home-hero .goglo-titulo-principal { font-size: clamp(2.25rem,11.4vw,3.25rem); }
  .wg-page-hero h1 { font-size: clamp(3rem,15vw,5rem); overflow-wrap: anywhere; }
  .wg-page-hero .page-intro { margin-top: 30px; }
  .wg-process > div { grid-template-columns: 45px 1fr; }
  .wg-process > div p { grid-column: 2; }
  .wg-blog-grid { grid-template-columns: 1fr; }
  .wg-article-cta { align-items: flex-start; flex-direction: column; gap: 25px; }
  .wg-footer-grid { grid-template-columns: 1fr; }
  .wg-footer-bottom { flex-direction: column; gap: 12px; }
  .wg-footer-cta { justify-content: center; width: 100%; }
}

/* Artwork closes directly against the marquee on phone-sized screens. */
@media (max-width: 767px) {
  main#goglo-first.wg-home-hero {
    background-position: right -1px bottom -1px !important;
    background-size: min(108vw,680px) auto !important;
    min-height: 650px !important;
  }
  .wg-home-hero > .goglo-first { min-height: 650px; }
  .wg-home-hero .container.row { padding: 42px 0 175px !important; }
}

/* GOGLO modular content system */
.wg-page-hero {
  overflow: hidden;
}
.wg-page-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(45px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}
.wg-page-hero-grid > div {
  min-width: 0;
}
.wg-page-hero-media {
  aspect-ratio: 4 / 5;
  border-radius: 0 0 90px 0;
  box-shadow: 18px 18px 0 var(--wg-cyan);
  margin: 0;
  max-height: 610px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.wg-page-hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.wg-page-content > .container {
  max-width: 1320px;
}
.wg-content-system {
  margin: auto;
  max-width: 1120px;
}
.wg-content-system > :first-child {
  margin-top: 0;
}
.wg-module {
  margin: 0 auto clamp(90px, 11vw, 160px);
}
.wg-kicker,
.wg-module-heading > span,
.wg-section-heading > span {
  color: var(--wg-pink);
  display: block;
  font-family: "Urbane", sans-serif;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .15em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.wg-module h2,
.wg-module-heading h2,
.wg-section-heading h2 {
  font-family: "Urbane", sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .92;
  margin: 0;
  text-transform: uppercase;
}
.wg-module-heading {
  align-items: end;
  border-bottom: 1px solid var(--wg-line);
  display: grid;
  gap: 30px;
  grid-template-columns: .45fr 1.55fr;
  margin-bottom: 55px;
  padding-bottom: 35px;
}
.wg-module-heading > span {
  margin: 0;
}
.wg-split-module,
.wg-service-intro,
.wg-contact-intro {
  align-items: center;
  display: grid;
  gap: clamp(45px, 8vw, 110px);
  grid-template-columns: 1.05fr .95fr;
}
.wg-split-module p,
.wg-service-intro p,
.wg-contact-intro p {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
  margin-top: 28px;
}
.wg-split-module figure {
  aspect-ratio: 1;
  border-radius: 80px 0 0 0;
  box-shadow: -16px 16px 0 var(--wg-pink);
  margin: 0;
  overflow: hidden;
}
.wg-split-module img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.wg-feature-grid,
.wg-link-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--wg-line);
}
.wg-feature-grid article,
.wg-link-grid a {
  background: var(--wg-paper);
  color: var(--wg-ink);
  min-height: 340px;
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
.wg-feature-grid i,
.wg-link-grid i {
  color: var(--wg-pink);
  font-size: 2.3rem;
  margin-bottom: 70px;
}
.wg-feature-grid h3,
.wg-link-grid h3 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -.04em;
}
.wg-feature-grid p,
.wg-link-grid p {
  font-size: 1rem;
  line-height: 1.65;
}
.wg-link-grid a:hover {
  background: var(--wg-cyan);
}
.wg-link-grid b {
  display: block;
  font-family: "Urbane", sans-serif;
  margin-top: 28px;
}
.wg-quote-module {
  background: var(--wg-ink);
  color: white;
  margin: clamp(90px, 11vw, 160px) auto 0;
  padding: clamp(50px, 8vw, 100px);
  position: relative;
}
.wg-quote-module::before {
  color: var(--wg-cyan);
  content: "✦";
  font-size: 2.3rem;
  position: absolute;
  right: 45px;
  top: 35px;
}
.wg-quote-module p {
  font-family: "Urbane", sans-serif;
  font-size: clamp(2.2rem, 5vw, 5rem) !important;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  max-width: 980px;
}
.wg-quote-module span {
  color: var(--wg-cyan);
  display: block;
  font-family: "Urbane", sans-serif;
  font-size: .8rem;
  font-weight: 900;
  margin-top: 38px;
  text-transform: uppercase;
}
.wg-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.wg-process-grid article {
  border: 1px solid var(--wg-line);
  margin-left: -1px;
  min-height: 400px;
  padding: 32px;
  position: relative;
}
.wg-process-grid b {
  color: var(--wg-pink);
  font-family: "Urbane", sans-serif;
}
.wg-process-grid i {
  color: var(--wg-cyan);
  display: block;
  font-size: 2rem;
  margin: 90px 0 28px;
}
.wg-process-grid h3 {
  font-size: 1.7rem;
}
.wg-process-grid p {
  font-size: .98rem;
  line-height: 1.65;
}
.wg-metric-band {
  background: var(--wg-pink);
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(40px, 6vw, 75px);
}
.wg-metric-band div {
  border-left: 1px solid rgba(255,255,255,.4);
  padding: 0 35px;
}
.wg-metric-band div:first-child {
  border: 0;
}
.wg-metric-band strong,
.wg-metric-band span {
  display: block;
}
.wg-metric-band strong {
  font-family: "Urbane", sans-serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
}
.wg-icon-panel {
  align-items: flex-start;
  background: var(--wg-cyan);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(40px, 6vw, 75px);
}
.wg-icon-panel i {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: auto;
}
.wg-icon-panel strong {
  font-family: "Urbane", sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.7rem);
  line-height: 1;
  margin: 60px 0 14px;
}
.wg-icon-panel span {
  line-height: 1.5;
}
.wg-deliverables ol {
  list-style: none;
  margin: 55px 0 0;
  padding: 0;
}
.wg-deliverables li {
  align-items: center;
  border-top: 1px solid var(--wg-line);
  display: grid;
  font-family: "Urbane", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.7rem) !important;
  font-weight: 800;
  gap: 28px;
  grid-template-columns: 70px 1fr;
  padding: 30px 0;
}
.wg-deliverables li:last-child {
  border-bottom: 1px solid var(--wg-line);
}
.wg-deliverables li span {
  color: var(--wg-pink);
  font-size: .9rem;
}
.wg-faq-layout {
  display: grid;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: .75fr 1.25fr;
}
.wg-faq-layout aside {
  position: sticky;
  top: 125px;
}
.wg-faq-layout aside > i {
  color: var(--wg-cyan);
  font-size: clamp(5rem, 12vw, 10rem);
  margin-top: 60px;
}
.wg-listing-section {
  padding: clamp(90px, 11vw, 160px) 0;
}
.wg-services-list {
  background: var(--wg-ink);
  color: white;
}
.wg-projects-list {
  background: var(--wg-paper);
  color: var(--wg-ink);
}
.wg-section-heading {
  align-items: end;
  border-bottom: 1px solid currentColor;
  display: grid;
  gap: 30px;
  grid-template-columns: .35fr 1.2fr .65fr;
  margin-bottom: 55px;
  padding-bottom: 40px;
}
.wg-section-heading > span {
  margin: 0;
}
.wg-section-heading p {
  line-height: 1.6;
  margin: 0;
}
.wg-visual-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.wg-visual-card {
  background: #151515;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  text-decoration: none;
}
.wg-visual-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.wg-visual-card-media img {
  filter: saturate(.75);
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
  width: 100%;
}
.wg-visual-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
  position: relative;
}
.wg-visual-card-copy > span {
  color: var(--wg-cyan);
  font-family: "Urbane", sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wg-visual-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
  letter-spacing: -.04em;
  margin: 35px 0 18px;
}
.wg-visual-card p {
  color: rgba(255,255,255,.68);
  font-size: .98rem;
  line-height: 1.6;
}
.wg-visual-card i {
  color: var(--wg-pink);
  font-size: 1.5rem;
  margin: auto 0 0 auto;
}
.wg-visual-card:hover img {
  filter: saturate(1);
  transform: scale(1.06);
}
.wg-section-link {
  border-bottom: 2px solid var(--wg-cyan);
  color: white;
  display: table;
  font-family: "Urbane", sans-serif;
  font-weight: 900;
  margin: 50px 0 0 auto;
  padding-bottom: 7px;
  text-decoration: none;
}
.wg-project-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(2, 1fr);
}
.wg-project-card {
  color: var(--wg-ink);
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.wg-project-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}
.wg-project-card > div {
  background: white;
  margin: -55px 25px 0;
  padding: 28px;
  position: relative;
}
.wg-project-card span {
  color: var(--wg-pink);
  font-family: "Urbane", sans-serif;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.wg-project-card h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -.045em;
  margin: 16px 0 28px;
}
.wg-project-card b {
  font-family: "Urbane", sans-serif;
  font-size: .82rem;
}
.wg-project-card:hover img {
  transform: scale(1.04);
}
.wg-client-section {
  background: white;
  padding: clamp(75px, 9vw, 120px) 0;
}
.wg-client-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
  background: var(--wg-line);
}
.wg-client-grid > div {
  align-items: center;
  background: white;
  display: flex;
  justify-content: center;
  min-height: 180px;
  padding: 35px;
}
.wg-client-grid img {
  filter: grayscale(1);
  max-height: 82px;
  max-width: 180px;
  opacity: .7;
  transition: .25s ease;
}
.wg-client-grid > div:hover img {
  filter: none;
  opacity: 1;
}
.wg-blog-grid {
  background: transparent;
  gap: 28px;
}
.wg-blog-card {
  border: 1px solid var(--wg-line);
  min-height: 0;
  padding: 0;
}
.wg-blog-card-media {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
}
.wg-blog-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}
.wg-blog-card:hover .wg-blog-card-media img {
  transform: scale(1.04);
}
.wg-blog-card-body {
  padding: clamp(28px, 4vw, 48px);
}
.wg-blog-card-body > span {
  color: var(--wg-pink);
  font-family: "Urbane", sans-serif;
  font-size: .72rem;
  font-weight: 900;
}
.wg-article-body {
  max-width: 820px;
}
.wg-article-body h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
}
.wg-next-action {
  align-items: end;
  background: var(--wg-cyan);
  display: grid;
  gap: 25px;
  grid-template-columns: .4fr 1.2fr auto;
  margin: clamp(90px, 11vw, 150px) auto 0;
  max-width: 1120px;
  padding: clamp(35px, 5vw, 65px);
}
.wg-next-action > span {
  font-family: "Urbane", sans-serif;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.wg-next-action h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -.05em;
  margin: 0;
}
.wg-next-action a {
  background: var(--wg-ink);
  border-radius: 999px;
  color: white;
  font-family: "Urbane", sans-serif;
  font-size: .82rem;
  font-weight: 900;
  padding: 17px 25px;
  text-decoration: none;
  white-space: nowrap;
}
.wg-project-detail {
  display: grid;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: 300px 1fr;
  margin: auto;
  max-width: 1120px;
}
.wg-project-facts {
  border-top: 4px solid var(--wg-pink);
  display: flex;
  flex-direction: column;
  height: fit-content;
  padding-top: 25px;
  position: sticky;
  top: 120px;
}
.wg-project-facts span {
  color: var(--wg-pink);
  font-family: "Urbane", sans-serif;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-top: 22px;
  text-transform: uppercase;
}
.wg-project-facts strong {
  border-bottom: 1px solid var(--wg-line);
  font-size: 1rem;
  padding: 8px 0 22px;
}
.wg-error-page {
  align-items: center;
  background: var(--wg-paper) url("../img/goglo/goglo-camaleon-fondohome-png.webp") right bottom / min(62vw, 900px) auto no-repeat;
  display: flex;
  min-height: calc(100vh - 92px);
  padding: clamp(60px, 8vw, 120px);
}
.wg-error-page > div {
  max-width: 760px;
}
.wg-error-page > div > span {
  color: var(--wg-pink);
  font-family: "Urbane", sans-serif;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  line-height: .7;
}
.wg-error-page h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -.06em;
  line-height: .9;
  margin: 45px 0 25px;
}
.wg-error-page p {
  font-size: 1.15rem;
  max-width: 580px;
}
.wg-error-page a {
  background: var(--wg-ink);
  border-radius: 999px;
  color: white;
  display: inline-block;
  font-family: "Urbane", sans-serif;
  font-weight: 900;
  margin-top: 30px;
  padding: 17px 27px;
  text-decoration: none;
}

@media (max-width: 991px) {
  .wg-page-hero-grid { grid-template-columns: 1fr; }
  .wg-page-hero-media { aspect-ratio: 16 / 9; max-height: 480px; }
  .wg-module-heading,.wg-section-heading { align-items: start; grid-template-columns: 1fr; }
  .wg-split-module,.wg-service-intro,.wg-contact-intro { grid-template-columns: 1fr; }
  .wg-feature-grid,.wg-link-grid { grid-template-columns: 1fr; }
  .wg-feature-grid article,.wg-link-grid a { min-height: 280px; }
  .wg-process-grid { grid-template-columns: repeat(2, 1fr); }
  .wg-metric-band { grid-template-columns: 1fr; }
  .wg-metric-band div { border-left: 0; border-top: 1px solid rgba(255,255,255,.4); padding: 28px 0; }
  .wg-metric-band div:first-child { border-top: 0; }
  .wg-faq-layout { grid-template-columns: 1fr; }
  .wg-faq-layout aside { position: static; }
  .wg-visual-grid { grid-template-columns: repeat(2, 1fr); }
  .wg-client-grid { grid-template-columns: repeat(2, 1fr); }
  .wg-next-action { align-items: start; grid-template-columns: 1fr; }
  .wg-next-action a { width: fit-content; }
  .wg-project-detail { grid-template-columns: 1fr; }
  .wg-project-facts { position: static; }
}

@media (max-width: 575px) {
  .wg-page-hero-grid { gap: 40px; }
  .wg-page-hero-media { border-radius: 0 0 48px 0; box-shadow: 10px 10px 0 var(--wg-cyan); }
  .wg-page-content { padding: 70px 0; }
  .wg-module { margin-bottom: 85px; }
  .wg-process-grid,.wg-visual-grid,.wg-project-grid { grid-template-columns: 1fr; }
  .wg-process-grid article { min-height: 310px; }
  .wg-process-grid i { margin-top: 55px; }
  .wg-visual-card { min-height: 500px; }
  .wg-client-grid > div { min-height: 135px; padding: 25px; }
  .wg-project-card > div { margin: -35px 12px 0; }
  .wg-next-action a { text-align: center; width: 100%; }
  .wg-error-page { align-items: flex-start; background-size: 115vw auto; min-height: 760px; padding: 80px 22px 300px; }
}
