.gx{ position:relative; display:block; min-height:0; padding-left:0 !important; padding-right:0 !important; padding-top:clamp(90px,12vh,calc(150 * var(--u))); padding-bottom:clamp(90px,12vh,calc(150 * var(--u))); overflow:hidden; }
.gx .section__inner{ width:calc(100% - 2 * var(--pad)); max-width:calc(1240 * var(--u)); margin-inline:auto !important; }
.gx__cabeza{ display:flex; align-items:flex-end; justify-content:space-between; gap:calc(24 * var(--u)) calc(40 * var(--u)); margin-bottom:clamp(30px,3.4vw,calc(52 * var(--u))); }
body[data-page] main#smooth-wrapper #smooth-content .gx__titulo{ margin:0; font-size:clamp(2.25rem, 4.4vw, calc(76 * var(--u))) !important; font-weight:800; line-height:1 !important; letter-spacing:-.04em; }
.gx__titulo .accent{ font-weight:300; }
body[data-page] main#smooth-wrapper #smooth-content .gx__ayuda{ display:flex; align-items:center; gap:10px; margin:0 0 .5em; font-size:max(13px, calc(14 * var(--u))) !important; font-weight:700; letter-spacing:.12em; text-transform:uppercase; opacity:.55; white-space:nowrap; }
.gx__ayuda-dedo{ display:none; }

.gx-pista{ position:relative; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; -ms-overflow-style:none; overscroll-behavior-x:contain; cursor:grab; -webkit-user-select:none; user-select:none; }
.gx-pista::-webkit-scrollbar{ display:none; }
.gx.is-arrastrando .gx-pista{ cursor:grabbing; }
.gx-tren{ display:flex; gap:clamp(14px,1.6vw,calc(28 * var(--u))); width:max-content; padding:0 max(var(--pad), (100vw - calc(1240 * var(--u))) / 2); }

.gx-carta{ --claro:#F4F2EE; --suave:#E6E1DA; --acento:#C1121F; position:relative; flex:none; display:block; height:clamp(320px, 56vh, calc(620 * var(--u))); aspect-ratio:16 / 10; overflow:hidden; isolation:isolate; container-type:inline-size;
  border-radius:clamp(16px,1.6vw,calc(28 * var(--u))); background:radial-gradient(70% 90% at 78% 18%, rgba(255,255,255,.75), rgba(255,255,255,0) 60%), linear-gradient(155deg, var(--claro) 0%, var(--suave) 100%); color:#1A1410; text-decoration:none;
  box-shadow:inset 0 0 0 1px rgba(26,20,16,.05); transform:translateZ(0); transition:transform .8s cubic-bezier(.22,1,.36,1); -webkit-user-drag:none; }
.gx-carta img{ max-width:none; pointer-events:none; -webkit-user-drag:none; }
.gx.is-arrastrando .gx-carta{ transform:scale(.975); }
.gx-carta:focus-visible{ outline:3px solid #1A1410; outline-offset:4px; }

.gx-carta__texto{ position:absolute; z-index:5; left:5cqw; top:5cqw; display:flex; flex-direction:column; align-items:flex-start; width:24cqw; }
.gx-carta__marca{ display:block; height:5.6cqw; width:auto; margin-bottom:2cqw; }
.gx-carta__marca--ancha{ height:2.6cqw; margin-bottom:2.4cqw; }
.gx-carta__texto b{ font-size:2.5cqw; font-weight:800; line-height:1.1; letter-spacing:-.025em; }
.gx-carta__texto > span{ margin-top:.7cqw; font-size:max(12px, 1.2cqw); line-height:1.4; opacity:.68; }
.gx-carta__texto em{ display:inline-flex; align-items:center; gap:.6cqw; margin-top:1.8cqw; font-size:max(12px, 1.1cqw); font-style:normal; font-weight:800; color:var(--acento); }
.gx-carta__texto em i{ font-style:normal; transition:transform .5s cubic-bezier(.22,1,.36,1); }
.gx-carta:hover .gx-carta__texto em i{ transform:translate(3px,-3px); }

.gx-carta--captura{ aspect-ratio:var(--ratio); background:#1A1410; box-shadow:0 30px 60px -40px rgba(26,20,16,.55); }
.gx-captura{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform:scale(1.001); transition:transform 1.4s cubic-bezier(.22,1,.36,1); }
.gx-carta--captura:hover .gx-captura, .gx-carta--captura:focus-visible .gx-captura{ transform:scale(1.035); }
.gx-captura__ver{ position:absolute; z-index:2; right:var(--ver-d, 6%); bottom:var(--ver-a, 6%); display:inline-flex; align-items:center; gap:.5em; padding:.8em 1.35em; border-radius:999px; background:#FFFFFF; color:#1A1410; font-size:max(12px, 1.05cqw); font-weight:800; line-height:1.2; white-space:nowrap; transition:background-color .35s ease; }
.gx-captura__dato{ position:absolute; z-index:2; left:8.4%; bottom:var(--ver-a, 6%); display:flex; align-items:baseline; gap:.7cqw; color:#FFFFFF; line-height:1; }
.gx-captura__dato strong{ font-size:2.6cqw; font-weight:800; letter-spacing:-.03em; color:#FFCB1F; white-space:nowrap; }
.gx-captura__dato small{ max-width:22cqw; font-size:max(12px, 1.15cqw); font-weight:600; line-height:1.25; }
.gx-captura__ver i{ font-style:normal; transition:transform .5s cubic-bezier(.22,1,.36,1); }
.gx-carta--captura:hover .gx-captura__ver, .gx-carta--captura:focus-visible .gx-captura__ver{ background:#FFCB1F; }
.gx-carta--captura:hover .gx-captura__ver i, .gx-carta--captura:focus-visible .gx-captura__ver i{ transform:translate(3px,-3px); }
.gx-vista{ position:relative; display:block; overflow:hidden; background:#FFFFFF; }
.gx-largo{ position:absolute; left:0; top:0; width:100%; height:auto; transform:translateY(0); transition:top 7s cubic-bezier(.45,0,.25,1), transform 7s cubic-bezier(.45,0,.25,1); }
.gx-carta:hover .gx-largo, .gx-carta:focus-visible .gx-largo{ top:100%; transform:translateY(-100%); }

.gx-nav{ position:absolute; z-index:1; left:31cqw; top:6.5cqw; width:73cqw; height:62cqw; display:flex; flex-direction:column; overflow:hidden; border-radius:1.3cqw; background:#FFFFFF;
  box-shadow:0 0 0 1px rgba(26,20,16,.07), 0 .6cqw 1.4cqw -.4cqw rgba(26,20,16,.12), 0 3cqw 7cqw -2cqw rgba(30,50,35,.28); transition:transform 1.1s cubic-bezier(.22,1,.36,1); }
.gx-nav__barra{ position:relative; flex:none; display:flex; align-items:center; gap:.55cqw; height:3cqw; padding:0 1.3cqw; background:#F5F3EF; border-bottom:1px solid rgba(26,20,16,.06); }
.gx-nav__barra i{ width:.8cqw; height:.8cqw; border-radius:50%; background:#DCD7D0; }
.gx-nav__barra em{ position:absolute; left:50%; top:50%; translate:-50% -50%; padding:.3cqw 3cqw; border-radius:.6cqw; background:#FFFFFF; color:#7A736C; font-size:max(8px, 1.05cqw); font-style:normal; font-weight:600; white-space:nowrap; box-shadow:0 0 0 1px rgba(26,20,16,.06); }
.gx-nav .gx-vista{ flex:1 1 auto; }
.gx-tel{ position:absolute; z-index:2; left:20cqw; top:23cqw; height:47cqw; aspect-ratio:9 / 19.4; padding:.7cqw; border-radius:3.9cqw; background:#121213;
  box-shadow:inset 0 0 0 .16cqw rgba(255,255,255,.16), 0 1cqw 2cqw -.6cqw rgba(0,0,0,.25), 0 3.6cqw 6cqw -2cqw rgba(30,50,35,.38); transition:transform 1.1s cubic-bezier(.22,1,.36,1); }
.gx-tel .gx-vista{ height:100%; border-radius:3.2cqw; }
.gx-tel .gx-largo{ transition-duration:6s; }
.gx-tel__isla{ position:absolute; z-index:2; left:50%; top:1.5cqw; width:26%; height:1.4cqw; translate:-50% 0; border-radius:999px; background:#000; }
.gx-carta--ventana:hover .gx-nav{ transform:translateY(-1cqw); }
.gx-carta--ventana:hover .gx-tel{ transform:translateY(-2.6cqw); }

.gx-iso{ position:absolute; z-index:1; left:27cqw; top:-9cqw; width:84cqw; height:84cqw; pointer-events:none; }
.gx-iso__plano{ position:absolute; inset:0; transform:rotateX(55deg) rotateZ(-36deg) scale(1); transform-style:preserve-3d; }
.gx-iso__pag{ position:absolute; width:47%; height:auto; border-radius:1.2cqw; background:#FFFFFF;
  box-shadow:0 0 0 1px rgba(26,20,16,.06), 1.2cqw 1.6cqw 2cqw rgba(110,20,55,.16), 3cqw 4cqw 5cqw rgba(110,20,55,.12); transition:transform 1.1s cubic-bezier(.22,1,.36,1); }
.gx-iso__pag--1{ left:2%; top:16%; transform:translateZ(0); }
.gx-iso__pag--2{ left:52%; top:6%; transform:translateZ(1.2cqw); }
.gx-iso__pag--3{ left:-2%; top:50%; transform:translateZ(.6cqw); }
.gx-iso__pag--4{ left:48%; top:40%; transform:translateZ(1.8cqw); }
.gx-carta--iso:hover .gx-iso__pag--1{ transform:translateZ(1.6cqw); }
.gx-carta--iso:hover .gx-iso__pag--2{ transform:translateZ(5cqw); }
.gx-carta--iso:hover .gx-iso__pag--3{ transform:translateZ(3cqw); }
.gx-carta--iso:hover .gx-iso__pag--4{ transform:translateZ(7cqw); }

.gx--sola{ padding-top:clamp(120px,16vh,calc(190 * var(--u))); }
.gx-mas{ margin-top:clamp(90px,11vw,calc(170 * var(--u))) !important; }
.gx--sola .gx-mas{ margin-top:0 !important; }
body[data-page] main#smooth-wrapper #smooth-content .gx-mas__titulo{ margin:0 0 clamp(34px,4vw,calc(64 * var(--u))); text-align:center; font-size:clamp(2.8rem, 8vw, calc(140 * var(--u))) !important; font-weight:800; line-height:.92 !important; letter-spacing:-.05em; }
.gx-mas__titulo .accent{ font-weight:300; }
.gx-rejilla{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:clamp(12px,1.4vw,calc(22 * var(--u))) clamp(12px,1.4vw,calc(22 * var(--u))); }
.gx-obj{ position:relative; display:flex; flex-direction:column; gap:4px; color:#1A1410; text-decoration:none; cursor:pointer; }
.gx-obj__caja{ position:relative; display:grid; place-items:center; aspect-ratio:4 / 4.4; margin-bottom:12px; overflow:hidden; border-radius:clamp(12px,1.2vw,calc(20 * var(--u))); background:var(--tono); transition:background-color .6s ease; }
.gx-obj__caja::after{ content:""; position:absolute; inset:0; background:rgba(26,20,16,.04); opacity:0; transition:opacity .6s ease; }
.gx-obj__caja img{ width:62%; height:auto; max-height:70%; object-fit:contain; filter:drop-shadow(0 18px 22px rgba(26,20,16,.18)); transition:transform 1s cubic-bezier(.22,1,.36,1); }
.gx-obj:hover .gx-obj__caja img{ transform:translateY(-4%) scale(1.06) rotate(-2deg); }
.gx-obj:hover .gx-obj__caja::after{ opacity:1; }
.gx-obj__nombre{ font-size:max(15px, calc(17 * var(--u))); font-weight:800; letter-spacing:-.01em; }
.gx-obj__frase{ font-size:max(13px, calc(14 * var(--u))); line-height:1.4; opacity:.65; }
.gx-obj:focus-visible .gx-obj__caja{ outline:3px solid #1A1410; outline-offset:4px; }

.gx-cursor{ position:fixed; z-index:60; left:0; top:0; display:inline-flex; align-items:center; gap:8px; padding:9px 14px 9px 12px; border-radius:999px; background:#C1121F; color:#FFFFFF; box-shadow:0 10px 26px -12px rgba(26,20,16,.45);
  font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; pointer-events:none; opacity:0; transform:translate3d(-100px,-100px,0); transition:opacity .25s ease; }
.gx-cursor i{ width:7px; height:7px; background:#FFFFFF; transform:rotate(45deg); }
.gx-cursor.is-visible{ opacity:1; }

@keyframes gx-recorre{ 0%, 12%{ top:0; transform:translateY(0); } 88%, 100%{ top:100%; transform:translateY(-100%); } }
@media (hover:none), (max-width:900px){
  .gx-pista, .gx-obj{ cursor:auto; }
  .gx-cursor{ display:none; }
  .gx-pista{ scroll-snap-type:x mandatory; }
  .gx-carta{ scroll-snap-align:center; }
  .gx-largo{ animation:gx-recorre 16s ease-in-out infinite alternate; }
  .gx-tel .gx-largo{ animation-duration:13s; }
  .gx__ayuda-raton{ display:none; }
  .gx__ayuda-dedo{ display:inline; }
}
@media (max-width:900px){
  .gx__cabeza{ flex-direction:column; align-items:flex-start; }
  .gx-carta{ width:86vw; height:auto; aspect-ratio:10 / 11.5; }
  .gx-tren{ padding:0 7vw; }
  .gx-carta__texto{ left:7cqw; top:7cqw; width:80cqw; }
  .gx-carta--captura{ align-self:center; aspect-ratio:4 / 3; }
  .gx-captura{ object-position:5% 50%; }
  .gx-captura__ver{ right:5cqw; bottom:5cqw; font-size:3.4cqw; }
  .gx-captura__dato{ display:none; }
  .gx-carta__marca{ height:10cqw; margin-bottom:3cqw; }
  .gx-carta__marca--ancha{ height:5cqw; }
  .gx-carta__texto b{ font-size:6cqw; }
  .gx-carta__texto > span{ font-size:3.4cqw; }
  .gx-carta__texto em{ font-size:3.4cqw; margin-top:3cqw; }
  .gx-nav{ left:16cqw; top:56cqw; width:92cqw; height:70cqw; border-radius:2.4cqw; }
  .gx-nav__barra{ height:5cqw; }
  .gx-nav__barra i{ width:1.4cqw; height:1.4cqw; }
  .gx-nav__barra em{ font-size:2.2cqw; }
  .gx-tel{ left:6cqw; top:62cqw; height:58cqw; border-radius:6cqw; padding:1.2cqw; }
  .gx-tel .gx-vista{ border-radius:5cqw; }
  .gx-tel__isla{ top:2.4cqw; height:2.2cqw; }
  .gx-iso{ left:2cqw; top:40cqw; width:110cqw; height:110cqw; }
  .gx-rejilla{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  body[data-page] main#smooth-wrapper #smooth-content .gx-mas__titulo{ font-size:44px !important; }
}
@media (prefers-reduced-motion: reduce){
  .gx-carta, .gx-obj__caja img, .gx-nav, .gx-tel, .gx-largo, .gx-iso__pag, .gx-captura{ transition:none; animation:none; }
}
body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .fdt__titulo{ font-size:clamp(2.6rem, 4.6vw, calc(80 * var(--u))) !important; line-height:1.02 !important; letter-spacing:-.035em; text-wrap:balance; }
@media (max-width:900px){ body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .fdt__titulo{ font-size:38px !important; } }
.dw-acierto{ position:relative; overflow:hidden; padding-top:clamp(120px,17vh,calc(210 * var(--u))) !important; padding-bottom:clamp(120px,17vh,calc(210 * var(--u))) !important; }
.dw-acierto .section__inner{ display:block !important; position:relative; z-index:3; }
.dw-acierto .tn-ayudas__texto{ max-width:60%; }
body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .dw-acierto__titulo{ margin:0; font-size:clamp(2.3rem, 4vw, calc(74 * var(--u))) !important; line-height:1 !important; letter-spacing:-.04em; }
body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .dw-acierto__lead{ margin:clamp(22px,2.4vw,calc(32 * var(--u))) 0 0; max-width:calc(560 * var(--u)); min-width:0; }
@media (min-width:901px){ body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .dw-acierto__lead{ max-width:calc(600 * var(--u)); } }
.dw-david{ position:absolute; z-index:4; right:max(2vw, calc((100vw - calc(1500 * var(--u))) / 2)); bottom:0; display:block; height:78%; aspect-ratio:1310 / 1200; max-width:34vw; will-change:transform; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.dw-david__img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:right bottom; -webkit-user-select:none; user-select:none; -webkit-user-drag:none; pointer-events:none; }
.dw-david__img--guino{ opacity:0; }
.dw-david.is-guino .dw-david__img--guino{ opacity:1; }
.dw-david.is-guino .dw-david__img:not(.dw-david__img--guino){ opacity:0; }
@media (max-width:900px){
  .dw-acierto{ flex-direction:column; align-items:stretch; padding-bottom:0 !important; }
  .dw-acierto .tn-ayudas__texto{ max-width:none; }
  body[data-page="diseno-web"] main#smooth-wrapper #smooth-content .dw-acierto__titulo{ font-size:34px !important; }
  .dw-david{ position:relative; right:auto; width:min(76vw, 400px); height:auto; max-width:none; margin:40px 0 0 auto; }
}
body[data-page="diseno-web"] #contacto:has(.ficha-cta){ padding-top:0; padding-bottom:0; }
