/* GLMedia: navegación fija, legible y adaptable. */

.site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
  height: 84px !important;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 10, 0.96) 0%,
    rgba(4, 7, 10, 0.86) 100%
  ) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.site-header .brand img {
  width: 112px !important;
  height: 62px !important;
  object-fit: contain;
}

.site-header button.header-cta {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.site-header button.header-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.glmedia-contact-form > small a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Dedicated case-study and legal pages added after the original static
   export. They inherit the global header, footer and contact layers. */
.glmedia-case-page,
.glmedia-legal-page {
  min-height: 100vh;
  padding-top: 84px;
  background: #f3f1eb;
  color: #08111d;
}

.glmedia-case-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  min-height: 700px;
  background: #07111d;
  color: #fff;
}

.glmedia-case-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 9vw, 150px) clamp(28px, 6vw, 100px);
}

.glmedia-case-hero-copy h1,
.glmedia-legal-hero h1 {
  margin: 10px 0 24px;
  font-size: clamp(54px, 7vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.glmedia-case-hero-copy > p:not(.section-kicker) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.55;
}

.glmedia-case-facts {
  display: grid;
  gap: 10px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.glmedia-case-facts li::before {
  margin-right: 10px;
  color: #b8ff39;
  content: "↗";
}

.glmedia-case-hero figure {
  min-height: 700px;
  margin: 0;
  overflow: hidden;
}

.glmedia-case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glmedia-case-story,
.glmedia-legal-content {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) 0;
}

.glmedia-case-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(44px, 9vw, 140px);
}

.glmedia-case-story h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.glmedia-case-story p,
.glmedia-legal-content p,
.glmedia-legal-content li {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.72;
}

.glmedia-case-cta {
  padding: clamp(80px, 9vw, 130px) 22px;
  background: #b8ff39;
  text-align: center;
}

.glmedia-case-cta h2 {
  margin: 0 auto 34px;
  max-width: 900px;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.glmedia-case-cta button {
  border: 0;
  padding: 18px 26px;
  background: #07111d;
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.glmedia-legal-hero {
  padding: clamp(100px, 13vw, 190px) max(22px, calc((100vw - 1180px) / 2));
  background: #07111d;
  color: #fff;
}

.glmedia-legal-hero p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.6;
}

.glmedia-legal-content {
  max-width: 900px;
}

.glmedia-legal-content h2 {
  margin: 58px 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.035em;
}

.glmedia-legal-content a {
  color: inherit;
  font-weight: 800;
}

html {
  scroll-padding-top: 98px;
}

section[id],
main[id],
div[id] {
  scroll-margin-top: 98px;
}

/* Selector bilingüe: mercado estadounidense identificado sin presentar el
   español como exclusivo de un país latinoamericano. */
.site-header .language-switcher,
.mobile-menu-actions .language-switcher {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  white-space: nowrap;
}

.site-header .language-switcher {
  padding: 7px 11px;
}

.language-switcher .language-flag {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
}

.language-switcher .language-divider {
  color: rgba(255, 255, 255, 0.48);
}

.language-switcher .language-arrow {
  color: #b8ff39;
  font-size: 1.05em;
}

.language-switcher:focus-visible {
  outline: 3px solid #b8ff39;
  outline-offset: 3px;
}

body.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 980px) {
  .site-header {
    height: 72px !important;
    padding: 0 18px !important;
    grid-template-columns: minmax(96px, 1fr) auto !important;
  }

  .site-header .brand img {
    width: 94px !important;
    height: 52px !important;
  }

  .site-menu-toggle {
    top: 14px !important;
  }

  html {
    scroll-padding-top: 84px;
  }

  section[id],
  main[id],
  div[id] {
    scroll-margin-top: 84px;
  }

  .mobile-menu-actions .language-switcher {
    min-height: 48px;
    padding: 13px 15px;
  }

  .glmedia-case-page,
  .glmedia-legal-page {
    padding-top: 72px;
  }

  .glmedia-case-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .glmedia-case-hero figure {
    min-height: 56vw;
  }

  .glmedia-case-story {
    grid-template-columns: 1fr;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #04070a !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.glmedia-team-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding-top: clamp(80px, 10vw, 150px);
  padding-bottom: clamp(80px, 10vw, 150px);
  background: #f3f1eb;
  color: #09101a;
}

.glmedia-team-section figure {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  background: #09101a;
}

.glmedia-team-section figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.glmedia-team-section h2 {
  margin: 16px 0 26px;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.glmedia-team-section h2 em {
  color: #5e7900;
  font-family: Georgia, serif;
  font-weight: 400;
}

.glmedia-team-section p:not(.section-kicker) {
  max-width: 620px;
  color: #4f555b;
  font-size: 17px;
  line-height: 1.7;
}

.glmedia-team-section a {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .glmedia-team-section {
    grid-template-columns: 1fr;
  }

  .glmedia-team-section figure,
  .glmedia-team-section figure img {
    min-height: 360px;
  }
}

/* Volkswagen T-Cross at Estadio Obras Sanitarias: real wall + floor proof. */
.vw-tcross-case {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  background: #080b0e;
  color: #fff;
}

.vw-tcross-copy {
  align-self: center;
  padding: 110px 6.5vw;
}

.vw-tcross-copy h2 {
  margin: 22px 0 28px;
  font-size: clamp(52px, 5.5vw, 96px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.vw-tcross-copy h2 em {
  color: #b8ff39;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.vw-tcross-copy > p:not(.section-kicker) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.vw-tcross-copy .vw-tcross-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.vw-tcross-videos {
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 1px;
  background: #20262c;
}

.vw-tcross-videos figure {
  margin: 0;
  background: #000;
}

.vw-tcross-videos video,
.vw-tcross-videos img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.vw-tcross-videos figcaption {
  padding: 12px 16px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: #101418;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .vw-tcross-case {
    grid-template-columns: 1fr;
  }

  .vw-tcross-copy {
    padding: 90px 7vw;
  }
}

@media (max-width: 680px) {
  .vw-tcross-copy {
    padding: 72px 22px;
  }

  .vw-tcross-copy h2 {
    font-size: 46px;
  }

  .vw-tcross-copy > p:not(.section-kicker) {
    font-size: 15px;
  }
}

/* Barra inferior fija: redes y contacto disponibles en todo momento. */

.contact-dock {
  display: none !important;
}

.glmedia-quick-dock {
  position: fixed;
  z-index: 107;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  gap: 0 !important;
  overflow: hidden;
  color: #fff;
  background: rgba(5, 8, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.36);
}

.glmedia-quick-dock a,
.glmedia-quick-dock button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.glmedia-quick-dock button {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  cursor: pointer;
}

.glmedia-quick-dock a:last-child,
.glmedia-quick-dock button:last-child {
  border-right: 0;
}

.glmedia-quick-dock strong {
  color: #b8ff39;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.glmedia-quick-dock span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 800;
}

.glmedia-quick-dock a:hover,
.glmedia-quick-dock a:focus-visible,
.glmedia-quick-dock button:hover,
.glmedia-quick-dock button:focus-visible {
  color: #08090a;
  background: #fff;
}

.glmedia-quick-dock .quick-dock-form {
  background: #13304b;
}

.glmedia-quick-dock .quick-dock-whatsapp {
  color: #08090a;
  background: #b8ff39;
}

.glmedia-quick-dock .quick-dock-whatsapp strong {
  color: #08090a;
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .glmedia-quick-dock {
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .glmedia-quick-dock a,
  .glmedia-quick-dock button {
    flex: 1 1 14.285%;
    min-width: 0;
    min-height: 58px;
    padding: 0 5px;
  }

  .glmedia-quick-dock strong {
    font-size: 11px;
  }

  .glmedia-quick-dock span {
    display: none;
  }
}

/* Formulario modal bilingüe. */

.glmedia-contact-modal {
  position: fixed;
  z-index: 109;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  padding: 24px;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.glmedia-contact-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.glmedia-contact-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 5, 8, 0.86);
  border: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.glmedia-contact-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  color: #08090a;
  background: #f2f0eb;
  border-top: 5px solid #b8ff39;
  padding: 42px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.glmedia-contact-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #08090a;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.glmedia-contact-heading {
  max-width: 760px;
  padding-right: 54px;
}

.glmedia-contact-heading > p {
  margin: 0 0 15px;
  color: #586356;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 10px;
  font-weight: 800;
}

.glmedia-contact-heading h2 {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.92;
}

.glmedia-contact-heading > span {
  display: block;
  max-width: 680px;
  color: #555851;
  font-size: 15px;
  line-height: 1.55;
}

.glmedia-contact-form {
  margin-top: 32px;
}

.glmedia-form-required {
  margin: 0 0 18px;
  color: #676961;
  font-size: 11px;
}

.glmedia-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.glmedia-contact-form label {
  display: grid;
  gap: 8px;
}

.glmedia-contact-form label > span {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 9px;
  font-weight: 800;
}

.glmedia-form-section {
  margin: 12px 0 -2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(8, 9, 10, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 800;
}

.glmedia-contact-form input,
.glmedia-contact-form select,
.glmedia-contact-form textarea {
  width: 100%;
  min-height: 50px;
  color: #08090a;
  background: #fff;
  border: 1px solid rgba(8, 9, 10, 0.25);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 16px;
}

.glmedia-contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.glmedia-contact-form .glmedia-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 3px;
}

.glmedia-contact-form .glmedia-form-consent input {
  flex: 0 0 auto;
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #08090a;
}

.glmedia-contact-form .glmedia-form-consent > span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.glmedia-contact-form input:focus,
.glmedia-contact-form select:focus,
.glmedia-contact-form textarea:focus {
  outline: 3px solid rgba(184, 255, 57, 0.72);
  outline-offset: 1px;
  border-color: #08090a;
}

.glmedia-form-wide {
  grid-column: 1 / -1;
}

.glmedia-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 23px;
}

.glmedia-form-actions button {
  min-height: 54px;
  color: #08090a;
  background: #b8ff39;
  border: 1px solid #b8ff39;
  padding: 0 21px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.glmedia-form-actions button i {
  margin-left: 24px;
  font-style: normal;
}

.glmedia-form-actions a {
  color: #08090a;
  border-bottom: 1px solid #08090a;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 9px;
  font-weight: 800;
}

.glmedia-contact-form > small {
  display: block;
  margin-top: 19px;
  color: #676961;
  font-size: 11px;
}

.glmedia-form-status {
  margin: 25px 0 0;
  padding: 15px 17px;
  border-left: 4px solid;
  font-size: 14px;
  font-weight: 700;
}

.glmedia-form-status.is-success {
  background: #deefc4;
  border-color: #6a9b22;
}

.glmedia-form-status.is-error {
  background: #f5d8d4;
  border-color: #bb392c;
}

.glmedia-honeypot {
  display: none !important;
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.glmedia-contact-open {
  overflow: hidden;
}

body.glmedia-contact-open .site-header,
body.glmedia-contact-open .site-menu-toggle,
body.glmedia-contact-open .glmedia-quick-dock {
  visibility: hidden !important;
}

/* Operational proof: compatible rental LED can travel on touring dollies. */
.touring-dolly-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  min-height: 760px;
  color: #fff;
  background: #081a29;
}

.touring-dolly-feature figure {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
}

.touring-dolly-feature figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 8, 13, 0.86));
  pointer-events: none;
}

.touring-dolly-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.touring-dolly-feature figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  font-weight: 800;
}

.touring-dolly-copy {
  align-self: center;
  padding: 105px 7vw;
}

.touring-dolly-copy h2 {
  margin: 0 0 34px;
  text-transform: uppercase;
  letter-spacing: -0.06em;
  font-size: clamp(52px, 6.1vw, 96px);
  line-height: 0.88;
}

.touring-dolly-copy h2 em {
  color: #b8ff39;
  text-transform: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.touring-dolly-copy > p:not(.section-kicker) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.touring-dolly-copy ul {
  max-width: 690px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.touring-dolly-copy li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.4;
}

.touring-dolly-copy li::before {
  content: "+";
  margin-right: 12px;
  color: #b8ff39;
  font-weight: 800;
}

.touring-dolly-copy .touring-dolly-note {
  max-width: 690px;
  padding-left: 16px;
  border-left: 3px solid #b8ff39;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.touring-dolly-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.touring-dolly-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 9px;
  font-weight: 800;
}

.touring-dolly-actions a:first-child {
  color: #081a29;
  background: #b8ff39;
  border-color: #b8ff39;
}

.touring-dolly-actions span {
  color: inherit;
}

@media (max-width: 980px) {
  .touring-dolly-feature {
    grid-template-columns: 1fr;
  }

  .touring-dolly-feature figure {
    min-height: 650px;
  }

  .touring-dolly-copy {
    padding: 90px 7vw;
  }
}

@media (max-width: 680px) {
  .touring-dolly-feature figure {
    min-height: 520px;
  }

  .touring-dolly-copy {
    padding: 80px 22px;
  }

  .touring-dolly-copy h2 {
    font-size: 46px;
  }

  .touring-dolly-actions {
    flex-direction: column;
  }

  .touring-dolly-actions a {
    width: 100%;
  }

  .glmedia-contact-modal {
    place-items: end center;
    padding: 0;
  }

  .glmedia-contact-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 30px 20px calc(82px + env(safe-area-inset-bottom));
  }

  .glmedia-contact-heading {
    padding-right: 42px;
  }

  .glmedia-contact-heading h2 {
    font-size: 40px;
  }

  .glmedia-form-grid {
    grid-template-columns: 1fr;
  }

  .glmedia-form-wide {
    grid-column: auto;
  }

  .glmedia-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .glmedia-form-actions button,
  .glmedia-form-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glmedia-quick-dock {
    background: #05080b;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
