/* GDS LABS Customizations — Official Brand Logos + Live Scaled Website Stage (ONFORM Method) */

/* Adjust Hero Title so Spanish "TU MARCA TOMA FORMA" fits edge-to-edge with crisp word spacing */
.architecture-hero__title {
  font-size: 10.6vw !important;
}

.architecture-hero .hero-studio-backdrop {
  transform: translate3d(0, calc(var(--hero-travel, 0) * 160px), 0)
    scale(calc(1 + var(--hero-travel, 0) * 0.05)) !important;
  image-rendering: -webkit-optimize-contrast;
}

/* GERARDO DEV Hero Backdrop Vignette & Conversion Hook Block */
.studio-hero.architecture-hero {
  background: #060d24 !important;
}

.studio-hero.architecture-hero::after {
  background: linear-gradient(
    180deg,
    rgba(4, 10, 28, 0.58) 0%,
    rgba(4, 10, 28, 0.22) 28%,
    rgba(4, 10, 28, 0.42) 55%,
    rgba(3, 8, 24, 0.82) 78%,
    rgba(2, 6, 20, 0.94) 100%
  ) !important;
}

.architecture-hero .architecture-hero__intro {
  left: var(--hero-gutter);
  right: auto;
  bottom: clamp(215px, 27.5svh, 330px);
  max-width: min(580px, 54vw);
  align-items: center;
  gap: clamp(18px, 1.6vw, 28px);
}

.architecture-hero .architecture-hero__intro p {
  margin: 0;
  max-width: 460px;
  font: 400 clamp(17px, 1.22vw, 22px) / 1.28 Georgia, 'Times New Roman', serif !important;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.gds-hero-actions {
  position: absolute;
  z-index: 3;
  right: var(--hero-gutter);
  bottom: clamp(224px, 28.2svh, 338px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  transform: translate3d(0, calc(var(--hero-travel, 0) * -54px), 0);
  opacity: clamp(0, calc(1.12 - var(--hero-travel, 0) * 1.9), 1);
}

.gds-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 13px / 1 'DM Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gds-hero-cta--primary {
  background: #ffffff;
  color: #012bba;
  border: 1px solid #ffffff;
  box-shadow: 0 10px 28px rgba(1, 43, 186, 0.38);
}

.gds-hero-cta--primary:hover {
  transform: translateY(-2px);
  background: #eef3ff;
  box-shadow: 0 14px 34px rgba(1, 43, 186, 0.55);
}

.gds-hero-cta--secondary {
  background: rgba(8, 16, 40, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gds-hero-cta--secondary:hover {
  transform: translateY(-2px);
  background: #012bba;
  border-color: #7da8ff;
}

@media (max-width: 960px) {
  .architecture-hero .architecture-hero__intro {
    max-width: calc(100vw - 40px);
    bottom: clamp(245px, 31svh, 340px);
  }
  .gds-hero-actions {
    left: var(--hero-gutter);
    right: auto;
    bottom: clamp(185px, 23.5svh, 265px);
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .architecture-hero .architecture-hero__intro {
    right: 20px;
    bottom: max(255px, 35svh);
  }
  .gds-hero-actions {
    left: 20px;
    bottom: max(195px, 27svh);
  }
  .gds-hero-cta {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* Adjust menu button CLOSE label in Spanish */
.menu-toggle.architecture-menu[aria-expanded="true"]::before {
  content: 'CERRAR';
}

/* Filmstrip Project Switcher Pills in Header */
.gds-filmstrip-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.gds-project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 780px;
}

.gds-project-pill {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(.16,1,.3,1), color 0.3s cubic-bezier(.16,1,.3,1), border-color 0.3s cubic-bezier(.16,1,.3,1), transform 0.3s cubic-bezier(.16,1,.3,1);
}

.gds-project-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.gds-project-pill.is-active {
  background: #fff;
  color: var(--blue, #012bba);
  border-color: #fff;
  font-weight: 600;
}

/* Bespoke 3-Panel Filmstrip Cards for GDS LABS Client Brands */
.portfolio-filmstrip__image {
  background: #06154d;
  color: #fff;
  text-decoration: none;
}

.gds-panel-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.2vw, 34px);
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(.16,1,.3,1);
}

/* Left Panel: Official Brand Logo Pedestal */
.gds-panel-brand {
  background: var(--stage-surface, #ffffff);
  color: var(--stage-ink, #0f172a);
  transition: background 0.4s cubic-bezier(.16,1,.3,1), color 0.4s cubic-bezier(.16,1,.3,1);
}

.gds-panel-brand::before {
  content: '';
  position: absolute;
  inset: clamp(12px, 1.2vw, 20px);
  border: 1px solid var(--stage-grid, rgba(1, 43, 186, 0.1));
  pointer-events: none;
}

.gds-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.gds-panel-badge {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
}

.gds-left-logo-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.5vw, 22px);
  min-height: 0;
}

@keyframes gds-logo-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.03); }
}

.gds-left-logo-stage img {
  width: auto !important;
  height: auto !important;
  max-width: min(94%, 360px) !important;
  max-height: clamp(135px, 15.5vw, 230px) !important;
  object-fit: contain !important;
  animation: gds-logo-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.14));
  transition: transform 0.65s cubic-bezier(.16,1,.3,1), filter 0.65s cubic-bezier(.16,1,.3,1);
}

.portfolio-filmstrip__image:hover .gds-left-logo-stage img {
  transform: scale(1.09);
  filter: drop-shadow(0 20px 38px rgba(1, 43, 186, 0.24));
}

.gds-swatches {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--stage-grid, rgba(1, 43, 186, 0.14));
}

.gds-swatch-group {
  display: flex;
  gap: 7px;
}

.gds-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.35);
}

.gds-domain-mono {
  font-family: monospace;
  font-size: 11px;
  opacity: 0.8;
}

/* Center Wide Panel: Scaled Live Website Iframe (Exact ONFORM Method) + Brand Fallback */
.portfolio-filmstrip__image--website {
  background: #09132c;
}

.gds-live-iframe-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--stage-surface, #ffffff);
}

.gds-live-iframe-host iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  background: #ffffff;
  transition: opacity 0.4s ease;
}

.gds-live-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.gds-live-badge-overlay i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

/* Editorial Brand Stage when a project has no external live iframe URL yet */
.gds-editorial-brand-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.8vw, 44px);
  background: var(--project-bg, #0b192c);
  color: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.gds-editorial-brand-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--project-accent, rgba(59, 130, 246, 0.35)), transparent 65%);
  pointer-events: none;
}

.gds-editorial-brand-center__body {
  position: relative;
  z-index: 1;
  margin: auto 0;
  max-width: 34ch;
}

.gds-editorial-brand-center__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 14px;
}

.gds-editorial-brand-center__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.gds-editorial-brand-center__desc {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.45;
  opacity: 0.85;
}

/* Right Panel: Deliverables & Architecture Card */
.gds-panel-deliverables {
  background: #061445;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.gds-deliverables-list {
  list-style: none;
  padding: 0;
  margin: auto 0;
  display: grid;
  gap: 12px;
}

.gds-deliverables-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: -0.01em;
}

.gds-deliverables-list li span:last-child {
  font-size: 11px;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gds-panel-bottom-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 14px;
}

.gds-panel-bottom-metric strong {
  font-size: clamp(22px, 1.85vw, 30px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gds-panel-bottom-metric span {
  font-size: 12.5px;
  line-height: 1.42;
  opacity: 0.78;
}

/* Caption Meta Subtitle */
.gds-caption-heading-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gds-caption-meta {
  font-size: clamp(14px, 1.15vw, 18px);
  opacity: 0.82;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Kinetic Floating Brand Marquee & 3D Spotlight Showcase Below Filmstrip */
.gds-work-index {
  margin: clamp(48px, 4.8vw, 80px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: clamp(28px, 3vw, 48px);
  position: relative;
}

.gds-work-index__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 var(--filmstrip-edge, clamp(24px, 2.8vw, 56px));
  margin-bottom: clamp(26px, 3vw, 42px);
  flex-wrap: wrap;
}

.gds-work-index__heading-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gds-work-index__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.gds-work-index__heading-group h4 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.gds-work-index__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.gds-work-index__hint {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.gds-view-mode-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.gds-view-mode-btn:hover {
  background: #ffffff;
  color: #012bba;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.gds-kinetic-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}

.gds-kinetic-track-clip {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

@keyframes gds-marquee-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes gds-marquee-right {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes gds-node-breathe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

.gds-kinetic-track {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 34px);
  width: max-content;
  will-change: transform;
}

.gds-kinetic-track--left {
  animation: gds-marquee-left 46s linear infinite;
}

.gds-kinetic-track--right {
  animation: gds-marquee-right 52s linear infinite;
}

.gds-kinetic-track-clip:hover .gds-kinetic-track {
  animation-play-state: paused;
}

/* Individual 3D Floating Brand Node (Seamless Native Surface, Full-Fidelity Cropped Logos!) */
.gds-kinetic-node {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: clamp(270px, 23.5vw, 350px);
  height: clamp(155px, 14vw, 195px);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--node-surface, #ffffff);
  color: var(--node-ink, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  perspective: 900px;
  box-shadow: 0 16px 38px rgba(1, 14, 56, 0.35);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.gds-kinetic-node__glow {
  display: none !important;
}

.onform-footer__media::after {
  background: linear-gradient(
    180deg,
    rgba(2, 8, 24, 0.72) 0%,
    rgba(2, 10, 32, 0.52) 48%,
    rgba(1, 6, 18, 0.78) 100%
  ) !important;
}

.gds-kinetic-node:hover {
  border-color: var(--brand-accent, #38bdf8);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), 0 0 28px var(--brand-accent, rgba(56, 189, 248, 0.45));
  z-index: 3;
}

.gds-kinetic-node:hover .gds-kinetic-node__glow,
.gds-kinetic-node.is-active .gds-kinetic-node__glow {
  opacity: 0.24;
}

.gds-kinetic-node.is-active {
  border-color: var(--brand-accent, #38bdf8);
  box-shadow: 0 0 0 2px var(--brand-accent, #38bdf8) inset, 0 22px 48px rgba(0, 0, 0, 0.45);
}

.gds-kinetic-node__serial {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--node-ink, #0f172a);
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gds-kinetic-node:hover .gds-kinetic-node__serial {
  opacity: 0.22;
  transform: scale(1.08);
}

.gds-kinetic-node__logo-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  min-height: 0;
  animation: gds-node-breathe 4.6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.gds-kinetic-node__logo-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: min(92%, 255px) !important;
  max-height: clamp(68px, 7.2vw, 94px) !important;
  object-fit: contain !important;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}

.gds-kinetic-node:hover .gds-kinetic-node__logo-wrap img {
  transform: scale(1.13);
}

.gds-kinetic-node__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.gds-kinetic-node__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--node-ink, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gds-kinetic-node__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--node-ink, #0f172a);
  opacity: 0.76;
  white-space: nowrap;
}

.gds-kinetic-node__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent, #38bdf8);
  box-shadow: 0 0 8px var(--brand-accent, #38bdf8);
}

/* Expanded Floating Grid Mode (when user toggles "Ver grilla expandida") */
.gds-kinetic-expanded-grid {
  padding: 0 var(--filmstrip-edge, clamp(24px, 2.8vw, 56px));
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 20px;
}

.gds-kinetic-expanded-grid[hidden] {
  display: none !important;
}

.gds-kinetic-expanded-grid .gds-kinetic-node {
  width: 100%;
}

/* Interactive Contact Modal (GDS LABS) */
.gds-contact-modal {
  position: fixed;
  inset: 0;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(28px, 4vw, 52px);
  background: #012bba;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  font-family: 'DM Sans', Arial, sans-serif;
  z-index: 9999;
  overflow-y: auto;
}

.gds-contact-modal::backdrop {
  background: rgba(2, 11, 22, 0.76);
  backdrop-filter: blur(8px);
}

.gds-contact-modal__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.gds-contact-modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.gds-contact-modal__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0;
}

.gds-contact-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -6px -6px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gds-contact-modal__close:hover,
.gds-contact-modal__close:focus-visible {
  background: transparent;
  color: #fff;
  transform: scale(1.12);
}

.gds-contact-modal__close:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.gds-contact-form {
  display: grid;
  gap: 18px;
}

.gds-form-group {
  display: grid;
  gap: 7px;
}

.gds-form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.gds-tier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gds-tier-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.gds-tier-pill.is-selected {
  background: #fff;
  color: #012bba;
  border-color: #fff;
  font-weight: 600;
}

.gds-form-input {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.gds-form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.gds-form-input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.gds-contact-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.gds-btn-white {
  background: #fff;
  color: #012bba;
  border: 1px solid #fff;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.gds-btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.gds-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 22px;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.gds-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1000px) {
  .gds-work-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .gds-work-index__grid {
    grid-template-columns: 1fr;
  }
  .gds-filmstrip-header-right {
    align-items: flex-start;
    margin-top: 18px;
  }
  .gds-project-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .architecture-hero__title {
    font-size: 10.2vw !important;
  }
}

/* Remove Hero Location Badge ("Buenos Aires · Worldwide") */
.architecture-hero__badges {
  display: none !important;
}

/* Approach Showcase Slides: Start with Gerardo's complete uncropped photo (897x1024 ratio), then zoom on scroll (Desktop) */
@media (min-width: 761px) {
  .onform-showcase__window .onform-showcase__slide[data-align="gerardo"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    z-index: 1;
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide.is-active,
  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide.is-early-cinema {
    opacity: 1;
    pointer-events: auto;
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform-origin: 56% 42%;
    transform: scale(calc(1 + var(--cinema-zoom, 0) * 0.12));
    will-change: transform;
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide .gds-cinema-card {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
      opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
      transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide.is-active .gds-cinema-card,
  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide.is-early-cinema .gds-cinema-card {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  body .onform-portfolio-story,
  body[data-demo-pacing] .onform-portfolio-story {
    height: 235svh !important;
    --portfolio-expand-fraction: 0.46 !important;
    --portfolio-expand-end: 46% !important;
    --start-height: min(76svh, 720px) !important;
    --start-width: min(46vw, calc(var(--start-height) * 0.876)) !important;
    --start-top: 12svh !important;
    --cinema-top: 9svh !important;
    --cinema-height: 82svh !important;
  }
}

.onform-showcase__slide[data-align="gerardo"] img {
  object-fit: cover !important;
  object-position: center top !important;
  transform-origin: center 16%;
  transform: scale(calc(1 + var(--portfolio-p, 0) * 0.06));
}

.gds-cinema-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 11, 22, 0.08) 0%,
    rgba(2, 11, 22, 0.35) 52%,
    rgba(2, 11, 22, 0.82) 100%
  );
  pointer-events: none;
}

.gds-cinema-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(20px, 3.2svh, 44px) clamp(24px, 3.5vw, 52px);
  pointer-events: none;
}

.gds-cinema-card {
  max-width: min(640px, 100%);
  background: rgba(6, 15, 42, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(18px, 2.8svh, 34px) clamp(22px, 2.8vw, 38px);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.gds-cinema-step {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: clamp(8px, 1.2svh, 12px);
}

.gds-cinema-card h3 {
  font-size: clamp(21px, min(2.4vw, 4svh), 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(8px, 1.2svh, 12px);
  color: #ffffff;
}

.gds-cinema-card p {
  font-size: clamp(13.5px, min(1.12vw, 2.1svh), 16.5px);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 clamp(14px, 2svh, 20px);
}

.gds-cinema-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gds-cinema-tags span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(1, 43, 186, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* ==========================================================================
   MOBILE & SMALL TABLET EXPERIENCE (<= 760px)
   - Full uncropped portrait of Gerardo (897x1024)
   - No broken half-blue / half-white vertical background wipe
   - Full uncropped Engineering & Full-Stack card
   - Single-row swipeable project selector + 16:10 uncropped live preview
   - Full-width Brand & Deliverables cards without text/badge clipping
   ========================================================================== */
@media (max-width: 760px) {
  /* 1. Approach Section: Clean Editorial Vertical Flow */
  .onform-portfolio-story {
    height: auto !important;
    background: #ffffff !important;
  }

  .onform-portfolio-anchor {
    top: 0 !important;
  }

  .onform-showcase {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 0 !important;
  }

  .onform-showcase::before,
  .onform-showcase::after,
  .onform-showcase__window::after,
  .onform-media-glow {
    display: none !important;
    animation: none !important;
  }

  .onform-showcase__copy {
    order: 1;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    padding: 52px 20px 26px !important;
    background: #ffffff !important;
    color: var(--blue, #012bba) !important;
  }

  .onform-showcase__copy .onform-section-label {
    display: block;
    padding-right: 136px;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
  }

  .onform-showcase__copy .onform-showcase__story {
    padding-top: 16px !important;
  }

  .onform-showcase__copy .onform-showcase__story > p {
    font-size: clamp(25px, 6.6vw, 34px) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.04em !important;
    max-width: 100% !important;
  }

  .onform-showcase__visual {
    order: 2;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    animation: none !important;
    overflow: visible !important;
  }

  .onform-showcase__window.onform-brand-loop {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 0 20px 28px !important;
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 46%,
      var(--blue, #012bba) 46%,
      var(--blue, #012bba) 100%
    ) !important;
    box-shadow: none !important;
  }

  /* Slide 1: Complete 100% Uncropped Portrait of Gerardo (897x1024) */
  .onform-showcase__window .onform-showcase__slide[data-align="gerardo"] {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f9;
    box-shadow: 0 20px 46px rgba(1, 20, 78, 0.24);
  }

  .onform-showcase__window .onform-showcase__slide[data-align="gerardo"] img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 897 / 1024;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  /* Slide 2: Complete Uncropped Engineering & Full-Stack Architecture Card */
  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px;
    overflow: hidden;
    background: #050d24;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 46px rgba(1, 12, 46, 0.42);
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide::after {
    display: none !important;
  }

  .onform-showcase__window .onform-showcase__slide.gds-cinema-slide > img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center !important;
  }

  .gds-cinema-overlay {
    position: relative !important;
    inset: auto !important;
    padding: 0 !important;
    pointer-events: auto;
  }

  .gds-cinema-card {
    max-width: 100%;
    width: 100%;
    padding: 22px 20px 24px;
    background: linear-gradient(180deg, #071333 0%, #050d24 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .gds-cinema-card h3 {
    font-size: clamp(21px, 5.6vw, 26px);
    line-height: 1.16;
    margin-bottom: 10px;
  }

  .gds-cinema-card p {
    font-size: 14.5px;
    line-height: 1.52;
    margin-bottom: 16px;
  }

  .gds-cinema-tags {
    gap: 7px;
  }

  .gds-cinema-tags span {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  /* 2. Selected Work (#work): Single-Row Swipeable Selector & Full-Fidelity Cards */
  .recent-work.portfolio-filmstrip {
    padding: 36px 0 48px !important;
  }

  .portfolio-filmstrip__intro {
    padding: 0 20px !important;
    margin-bottom: 18px !important;
  }

  .portfolio-filmstrip__intro h2 {
    font-size: clamp(42px, 11vw, 58px) !important;
    padding-right: 118px;
  }

  .gds-filmstrip-header-right {
    width: 100%;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }

  .portfolio-filmstrip__label {
    margin-top: 0 !important;
    font-size: 13.5px !important;
  }

  .gds-project-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -20px;
    padding: 4px 20px 10px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gds-project-pills::after {
    content: '';
    flex: 0 0 12px;
  }

  .gds-project-pills::-webkit-scrollbar {
    display: none;
  }

  .gds-project-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 8px 15px;
    font-size: 13px;
  }

  .portfolio-filmstrip__gallery {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    padding-inline: 20px !important;
  }

  /* Panel 1 on Mobile: 16:10 Live Website Preview (matches 1440x900 iframe 1:1 without side cropping) */
  .portfolio-filmstrip__image--website {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .gds-live-badge-overlay {
    top: auto !important;
    bottom: 10px !important;
    right: 10px !important;
    max-width: calc(100% - 20px);
    padding: 5px 11px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .gds-live-badge-overlay span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Panel 2 on Mobile: Official Brand Identity Card */
  .portfolio-filmstrip__image--photo {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    aspect-ratio: auto !important;
    height: auto !important;
    border-radius: 14px;
  }

  .gds-panel-brand {
    padding: 20px !important;
    min-height: 205px;
    gap: 14px;
  }

  .gds-panel-brand::before {
    inset: 10px;
    border-radius: 8px;
  }

  .gds-panel-top {
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.11em;
  }

  .gds-panel-badge {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 9.5px;
  }

  .gds-left-logo-stage {
    padding: 10px 12px;
    min-height: 92px;
  }

  .gds-left-logo-stage img {
    max-width: min(80%, 250px) !important;
    max-height: 84px !important;
  }

  .gds-swatches {
    padding-top: 12px;
  }

  .gds-domain-mono {
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Panel 3 on Mobile: Complete Architecture & Deliverables Card */
  .portfolio-filmstrip__image--packaging {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    aspect-ratio: auto !important;
    height: auto !important;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .gds-panel-deliverables {
    border-left: 0;
    padding: 20px !important;
    gap: 16px;
  }

  .gds-deliverables-list {
    margin: 2px 0;
    gap: 11px;
  }

  .gds-deliverables-list li {
    gap: 12px;
    font-size: 14px;
  }

  .gds-deliverables-list li span:last-child {
    text-align: right;
    flex-shrink: 0;
  }

  .gds-panel-bottom-metric {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding-top: 10px;
  }

  /* Project Caption & CTA */
  .portfolio-filmstrip__caption {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    margin: 24px 20px 0 !important;
  }

  body .portfolio-filmstrip__cta.onform-button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 13.5px;
  }

  /* 3. Client Marquee & Footer Mobile Refinements */
  .gds-work-index__header {
    padding: 0 20px;
  }

  .gds-kinetic-node {
    width: clamp(255px, 74vw, 310px);
    height: 158px;
    padding: 16px 18px;
  }

  .gds-kinetic-node__name {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13.5px;
  }

  .gds-kinetic-node__badge {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9.5px;
  }

  .contact-footer.onform-footer {
    padding-top: 84px;
  }

  .onform-footer__eyebrow {
    padding-right: 136px;
  }

  :where(body[data-work-variant="filmstrip"], body.gds-solution-page) .onform-footer__wordmark {
    font-size: clamp(28px, 11.2vw, 70px) !important;
    white-space: nowrap;
  }
}

/* Preserve space glyph inside inline-block ripple letters ("GERARDO DEV") */
.onform-footer__letter {
  white-space: pre;
}

/* Prevent -webkit-background-clip:text from slicing descenders (g, y, p, q, j) in #studio */
body .onform-statement__text {
  line-height: 1.14;
}

.onform-reading-word:not(.onform-reading-icon) {
  padding: 0 0.03em 0.16em;
  margin: 0 -0.03em -0.16em;
}

/* ==========================================================================
   SHARED ARCHITECTURAL NAVIGATION — ENTRADA "SOLUCIONES" Y SUBMENÚ DE 3 NICHOS
   ========================================================================== */
.navigation.architectural-nav nav a.menu-panel--solutions {
  --surface: #060d24;
  --ink: #ffffff;
  --delay: 0.04s;
}

.navigation.architectural-nav nav.architectural-nav__panels:has(.menu-panel--solutions) {
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.navigation.architectural-nav nav.architectural-nav__panels:has(.gds-menu-solutions.is-open:not([hidden])) {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px;
}

.navigation.architectural-nav nav.architectural-nav__panels:has(.menu-panel--solutions) .menu-panel__title {
  font-size: clamp(34px, min(6.4vw, 10.2dvh), 108px);
}

.navigation.architectural-nav nav.architectural-nav__panels:has(.menu-panel--solutions) .menu-panel__arrow {
  width: clamp(28px, min(4.4vw, 7.2dvh), 64px);
}

.navigation.architectural-nav nav a.menu-panel--solutions[aria-expanded="true"] .menu-panel__arrow {
  transform: rotate(90deg);
}

.gds-menu-solutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navigation.architectural-nav.is-open .gds-menu-solutions.is-open {
  opacity: 1;
  transform: none;
}

.gds-menu-solutions[hidden] {
  display: none !important;
}

.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  background: rgba(6, 13, 36, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.38);
  color: #f8fafc;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  text-transform: none;
  text-decoration: none;
  transform: none;
  opacity: 1;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a::before {
  display: none;
}

.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a span {
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 10.5px !important;
  line-height: 1;
  color: #93c5fd;
  flex-shrink: 0;
}

.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a:hover,
.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a:focus-visible,
.navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a[aria-current="page"] {
  background: #012bba;
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 900px) {
  .menu-split:has(.menu-panel--solutions) {
    top: 84px;
    gap: 12px;
  }
  .menu-split:has(.gds-menu-solutions.is-open:not([hidden])) {
    grid-template-rows: minmax(0, 1fr) !important;
  }
  .navigation.architectural-nav nav.architectural-nav__panels:has(.menu-panel--solutions) {
    height: 54dvh;
    gap: 6px;
  }
  .navigation.architectural-nav nav.architectural-nav__panels:has(.gds-menu-solutions.is-open:not([hidden])) {
    height: auto;
    align-content: start;
    grid-template-rows: repeat(2, minmax(56px, 9.5dvh)) auto repeat(3, minmax(56px, 9.5dvh));
  }
  .navigation.architectural-nav nav.architectural-nav__panels:has(.menu-panel--solutions) .menu-panel__title {
    font-size: clamp(32px, min(11.5vw, 6.5dvh), 64px);
  }
  .menu-split:has(.gds-menu-solutions.is-open:not([hidden])) .menu-gallery {
    display: none;
  }
}

@media (max-width: 720px) {
  .gds-menu-solutions {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .navigation.architectural-nav nav.architectural-nav__panels .gds-menu-solutions a {
    padding: 9px 14px;
    font-size: 13.5px !important;
  }
}

/* ==========================================================================
   PRICING ("ALCANCE") — CLEAN WORD WRAPPING WITHOUT OVERLAPPING PRICE COLUMN
   ========================================================================== */
.pricing-row__identity {
  min-width: 0;
}

.pricing-row h3,
.pricing-title-toggle {
  max-width: 100%;
  white-space: normal;
}

.pricing-title-toggle .onform-copy,
.pricing-inclusions > summary .onform-copy {
  display: inline;
  white-space: normal !important;
}

.gds-scramble-word {
  display: inline-block;
  white-space: nowrap;
}

.gds-scramble-space {
  display: inline !important;
  white-space: normal !important;
  width: auto !important;
}

@media (max-width: 600px) {
  body .pricing-row__overview {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px 16px !important;
    align-items: start !important;
  }

  body .pricing-row h3 {
    font-size: clamp(21px, 5.8vw, 25px) !important;
    line-height: 1.15 !important;
  }

  body .pricing-row__price > span {
    font-size: 13px;
    margin-bottom: 4px;
  }

  body .pricing-row__price > p {
    font-size: clamp(26px, 7.8vw, 38px) !important;
  }
}

/* ==========================================================================
   TECH STACK SHOWCASE ("MI STACK") — FOR TECHNICAL LEADS & RECRUITERS
   ========================================================================== */
.gds-stack-section {
  position: relative;
  background: #050c20;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(54px, 5.5vw, 86px) max(clamp(24px, 5.5vw, 105px), calc((100vw - 1800px) / 2));
  font-family: 'DM Sans', Arial, sans-serif;
  overflow: hidden;
}

.gds-stack-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.gds-stack-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.gds-stack-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
}

.gds-stack-header h2 {
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  color: #ffffff;
}

.gds-stack-header p {
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.74);
  max-width: 34ch;
  margin: 0;
}

.gds-stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.gds-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 18px 10px 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.gds-stack-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--tech-accent, rgba(96, 165, 250, 0.65));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.gds-stack-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gds-stack-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gds-stack-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1260px) {
  .gds-stack-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .gds-stack-header p {
    max-width: 52ch;
  }
}

@media (max-width: 920px) {
  .gds-stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .gds-stack-item {
    padding: 16px 10px 14px;
  }
}

@media (max-width: 600px) {
  .gds-stack-section {
    padding: 46px 20px 52px;
  }

  .gds-stack-eyebrow {
    display: block;
    padding-right: 136px;
  }

  .gds-stack-icon {
    width: 34px;
    height: 34px;
  }

  .gds-stack-name {
    font-size: 12px;
  }
}

/* ==========================================================================
   HYBRID PROFILE INTEGRATION (OPTION A): #APPROACH + #STACK CREDENTIALS
   ========================================================================== */
@media (min-width: 761px) {
  .onform-showcase__copy .onform-showcase__story > p {
    font-size: clamp(25px, min(2.85vw, 4.4svh), 48px);
    line-height: 1.11;
    max-width: 22ch;
  }
}

.gds-approach-credential {
  border-top: 1px solid rgba(1, 43, 186, 0.18);
  padding-top: clamp(14px, 1.8svh, 20px);
  max-width: 44ch;
}

.gds-approach-credential__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #012bba);
  opacity: 0.76;
  margin-bottom: 7px;
}

.gds-approach-credential p {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(14px, 1.02vw, 15.5px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(8, 25, 68, 0.86);
}

@media (max-width: 760px) {
  .gds-approach-credential {
    margin-top: 20px;
    padding-top: 16px;
    max-width: 100%;
  }

  .gds-approach-credential p {
    font-size: 14.5px;
    line-height: 1.48;
  }
}

.gds-stack-academic {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-top: clamp(24px, 2.8vw, 36px);
  margin-top: clamp(4px, 0.8vw, 10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gds-stack-academic__intro .gds-stack-eyebrow {
  margin-bottom: 6px;
}

.gds-stack-academic__title {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
}

.gds-stack-academic__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.gds-stack-academic__main {
  min-width: 0;
}

.gds-stack-academic__main strong {
  display: block;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 5px;
}

.gds-stack-academic__main p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.46;
  color: rgba(255, 255, 255, 0.7);
  max-width: 62ch;
}

.gds-stack-academic__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.36);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.gds-stack-academic__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
  flex-shrink: 0;
}

@media (max-width: 1260px) {
  .gds-stack-academic {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .gds-stack-academic__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px;
    gap: 14px;
  }

  .gds-stack-academic__badge {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .gds-stack-academic__intro .gds-stack-eyebrow {
    padding-right: 0;
  }
}

/* ==========================================================================
   AI-ASSISTED CODING & IDEs SUBSECTION (#STACK) — SPECTACULAR EDITION
   ========================================================================== */
.gds-stack-ai {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding-top: clamp(28px, 3.2vw, 44px);
  margin-top: clamp(8px, 1vw, 14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gds-stack-ai__intro {
  position: relative;
}

.gds-stack-ai__intro .gds-stack-eyebrow {
  margin-bottom: 8px;
}

.gds-stack-ai__title {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 12px;
}

.gds-stack-ai__desc {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.74);
  max-width: 34ch;
}

.gds-stack-ai__desc strong {
  color: #ffffff;
  font-weight: 600;
}

.gds-stack-ai__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(49, 134, 255, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.28);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.gds-stack-ai__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22), 0 0 10px #34d399;
  animation: gdsAiPulse 2.2s ease-in-out infinite;
}

@keyframes gdsAiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.72; }
}

.gds-stack-ai__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* Flagship Google Antigravity Hero Spotlight Card */
.gds-agy-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(49, 134, 255, 0.20) 0%, rgba(49, 134, 255, 0) 60%),
    radial-gradient(90% 90% at 100% 0%, rgba(252, 65, 61, 0.14) 0%, rgba(251, 188, 4, 0.08) 45%, transparent 75%),
    radial-gradient(100% 90% at 80% 100%, rgba(0, 185, 92, 0.14) 0%, transparent 65%),
    linear-gradient(155deg, rgba(13, 25, 56, 0.92) 0%, rgba(6, 13, 32, 0.96) 100%);
  border: 1px solid rgba(96, 165, 250, 0.42);
  box-shadow:
    0 22px 54px rgba(0, 6, 24, 0.55),
    0 0 42px rgba(49, 134, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.gds-agy-hero:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow:
    0 28px 64px rgba(0, 6, 24, 0.68),
    0 0 58px rgba(49, 134, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.gds-agy-hero__aurora {
  position: absolute;
  top: -35%;
  right: -18%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, #3186ff, #fc413d, #fbbc04, #00b95c, #3186ff);
  filter: blur(58px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
  animation: gdsAgyOrbit 14s linear infinite;
}

.gds-agy-hero__beam {
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #60a5fa, #fbbc04, #34d399, transparent);
  opacity: 0.85;
  pointer-events: none;
}

@keyframes gdsAgyOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gds-agy-hero__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.gds-agy-hero__orb {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.14), rgba(8, 17, 42, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.38);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(49, 134, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gds-agy-hero__ring {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 1px dashed rgba(96, 165, 250, 0.35);
  pointer-events: none;
}

.gds-agy-hero__emblem {
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(49, 134, 255, 0.35));
}

.gds-agy-hero__titles {
  min-width: 0;
  flex: 1;
}

.gds-agy-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}

.gds-agy-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.gds-agy-hero__pill--primary {
  background: linear-gradient(90deg, rgba(49, 134, 255, 0.28), rgba(0, 185, 92, 0.22));
  border-color: rgba(147, 197, 253, 0.55);
  color: #ffffff;
}

.gds-agy-hero__name {
  margin: 0 0 8px;
  line-height: 1;
  color: #ffffff;
}

.gds-agy-hero__wordmark {
  height: clamp(22px, 2vw, 27px);
  width: auto;
  max-width: 100%;
  display: block;
  color: #ffffff;
}

.gds-agy-hero__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.46;
  color: rgba(255, 255, 255, 0.76);
}

/* Simulated Live Multi-Agent Console */
.gds-agy-console {
  border-radius: 13px;
  background: rgba(3, 8, 22, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
}

.gds-agy-console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
}

.gds-agy-console__dots {
  display: inline-flex;
  gap: 5px;
}

.gds-agy-console__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.gds-agy-console__dots span:nth-child(1) { background: #fc413d; }
.gds-agy-console__dots span:nth-child(2) { background: #fbbc04; }
.gds-agy-console__dots span:nth-child(3) { background: #00b95c; }

.gds-agy-console__title {
  color: rgba(255, 255, 255, 0.52);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gds-agy-console__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 9.5px;
  flex-shrink: 0;
}

.gds-agy-console__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
}

.gds-agy-console__body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gds-agy-console__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.gds-agy-console__row--active {
  background: rgba(49, 134, 255, 0.13);
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.gds-agy-console__agent {
  color: #93c5fd;
  font-weight: 600;
}

.gds-agy-console__task {
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gds-agy-console__state {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.gds-agy-console__state--ok {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
}

.gds-agy-console__state--run {
  color: #fde047;
  background: rgba(250, 204, 21, 0.14);
}

.gds-agy-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gds-agy-chip {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Right 2x2 Companion AI & IDE Ecosystem Grid */
.gds-stack-ai__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gds-ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background:
    radial-gradient(120% 120% at 100% 0%, var(--ai-glow, rgba(96, 165, 250, 0.16)) 0%, transparent 65%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.gds-ai-card:hover {
  transform: translateY(-4px);
  border-color: var(--ai-accent, #60a5fa);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42), 0 0 26px var(--ai-glow, rgba(96, 165, 250, 0.22));
}

.gds-ai-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gds-ai-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.gds-ai-card__icon--openai {
  background: linear-gradient(145deg, rgba(16, 163, 127, 0.28), rgba(16, 163, 127, 0.08));
  border-color: rgba(16, 163, 127, 0.45);
}

.gds-ai-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gds-ai-card__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.gds-ai-card__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 5px;
}

.gds-ai-card__role {
  margin: 0;
  font-size: 12.2px;
  line-height: 1.44;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1260px) {
  .gds-stack-ai {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .gds-stack-ai__desc {
    max-width: 62ch;
  }
}

@media (max-width: 980px) {
  .gds-stack-ai__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .gds-stack-ai__intro .gds-stack-eyebrow {
    padding-right: 0;
  }

  .gds-agy-hero__brand {
    flex-direction: column;
    gap: 14px;
  }

  .gds-agy-console__row {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    font-size: 10px;
  }

  .gds-stack-ai__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}






