/* Shared visual language with the keynote: royal blue, glass, bold type and LatinAd ribbons. */
:root {
  color-scheme: dark;
  --bg: #030624;
  --ink: #fff;
  --muted: #bcc9ee;
  --line: rgba(140,170,255,.25);
  --blue: #7fe3ff;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 83% 28%, #2f63ff66, transparent 52%),
    radial-gradient(ellipse at 12% 80%, #6b4dff4d, transparent 60%),
    linear-gradient(160deg, #0b1566, #070d45 45%, #040831);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.ambience { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.ambience::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(#82a0ff0c 1px,transparent 1px),linear-gradient(90deg,#82a0ff0c 1px,transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse,#000,transparent 80%);
}
.ambience::after {
  content: ''; position: absolute; width: 160%; height: 170px; left: -30%; top: 30%;
  background: linear-gradient(90deg,transparent,#8c9bff40,transparent);
  filter: blur(45px); transform: rotate(-24deg); animation: streak 18s ease-in-out infinite alternate;
}
.spark { position: absolute; width: 3px; height: 3px; background: #a8d8ff; border-radius: 50%; opacity: .4; animation: twinkle 5s ease-in-out infinite alternate; }
.cross { position: absolute; width: 45px; height: 45px; opacity: .65; animation: float 8s ease-in-out infinite; }
.cross::before,.cross::after { content:''; position:absolute; background:#4278ff; }
.cross::before { width:100%; height:30%; top:35%; }
.cross::after { height:100%; width:30%; left:35%; }
.shell { position: relative; max-width: 1700px; margin: auto; padding: 0 6vw; }
header { height: 112px; display: flex; align-items: center; justify-content: space-between; gap:20px; }
.logo { width: 192px; height: auto; }
.event { font: 11px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #b7d5ff; }
.event b { color: white; }
.intro { padding: 26px 0 34px; position: relative; }
.eyebrow {
  font: 600 11px 'JetBrains Mono',monospace; letter-spacing: .17em; text-transform: uppercase;
  color: #7fe3ff; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #74b0ff40; background: #164aa440; border-radius: 99px; padding: 11px 18px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; flex: none; background: #ff5b73; border-radius: 50%; box-shadow: 0 0 12px #ff5b73; }
h1 { font: 900 clamp(42px,5vw,78px)/.98 'Montserrat',sans-serif; letter-spacing: -.045em; margin: 24px 0 18px; text-shadow: 0 10px 60px #00002855; }
h1 span { background: linear-gradient(100deg,#2196f3,#557aef 65%,#9e84ff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.intro p { font-size: 16px; font-weight: 300; color: #cbd4f2; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-bottom: 38px; }
.card {
  --accent: #7fe3ff; display: flex; flex-direction: column; position: relative;
  border: 1px solid #8caaff50; border-radius: 22px; overflow: hidden; text-decoration: none;
  background: linear-gradient(135deg,#304fde66,#15257066 65%,#111b6155);
  box-shadow: inset 0 1px 0 #c6deff25,0 18px 55px #02052040;
  backdrop-filter: blur(16px);
  transition: transform .3s,border-color .3s,box-shadow .3s;
}
.card:hover { transform: translateY(-7px); border-color: #9ccdff; box-shadow: inset 0 1px 0 #fff4,0 15px 65px #2f63ff55; }
.card:focus-visible,.back:focus-visible,.motion:focus-visible { outline: 3px solid #a1d5ff; outline-offset: 5px; }
.card.ai { --accent: #b6baff; }
.card.commercial { --accent: #9edaff; }
.art { height: 226px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 65%,#637dff45,transparent 67%); }
.art::after { content:'';position:absolute; bottom:0;left:7%;right:7%;height:1px;background:linear-gradient(90deg,transparent,#a3c6ff55,transparent); }
.art svg { width: 100%; height: 100%; position: relative; overflow: visible; }
.number { position: absolute; left: 24px; top: 20px; color: #a8c7ff; font: 12px 'JetBrains Mono',monospace; letter-spacing: .12em; }
.art-label { position: absolute; right: 22px; top: 21px; color: var(--accent); font: 9px 'JetBrains Mono',monospace; letter-spacing: .12em; }
.content { padding: 23px 27px 24px; flex: 1; display: flex; flex-direction: column; }
.type { font: 600 10px 'JetBrains Mono',monospace; letter-spacing: .13em; color: var(--accent); text-transform: uppercase; margin-bottom: 11px; }
h2 { font: 800 clamp(22px,2.1vw,32px)/1.05 'Montserrat',sans-serif; letter-spacing: -.035em; margin: 0 0 15px; }
.description { font-size: 13px; line-height: 1.7; color: #ccd5f4; margin: 0 0 18px; min-height: 45px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.tags span { font: 10px 'JetBrains Mono',monospace; color: #c7e6ff; background:#22469d40; border: 1px solid #7cafff40; padding: 6px 9px; border-radius: 5px; }
.cta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight:600; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.arrow { display: grid; place-items: center; border: 1px solid #82bfff70; border-radius: 9px; width: 32px; height: 32px; color: white; background:linear-gradient(135deg,#368bff,#3037d9); box-shadow:0 3px 15px #2f63ff40; font-size:18px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 24px; color: #9cacdc; font-size: 10px; }
.motion { background: #14247870; border: 1px solid #84adff40; color: #c4d7ff; border-radius: 99px; padding: 8px 14px; cursor: pointer; font-size: 10px; }
.brand-ribbons { height:150px; position:relative; overflow:hidden; pointer-events:none; margin-top:8px; }
.ribbon { position:absolute; left:-5%; width:110%; height:52px; display:flex; align-items:center; box-shadow:0 4px 30px #03062440; }
.ribbon:first-child { top:25px; transform:rotate(2.4deg); background:linear-gradient(90deg,#2d6cf0,#4c8dff,#2d6cf0); }
.ribbon:last-child { top:87px; transform:rotate(-3deg); background:linear-gradient(90deg,#1a2fb0,#2748d6,#1a2fb0); }
.ribbon-track { display:flex; gap:50px; align-items:center; width:max-content; animation:marquee 38s linear infinite; }
.ribbon:last-child .ribbon-track { animation-direction:reverse; animation-duration:44s; }
.ribbon img { width:145px; height:auto; flex:none; }
.back { text-decoration: none; color: #c3dcff; font-size: 13px; }
.placeholder { min-height: calc(100svh - 350px); max-width: 1100px; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 60px 0; }
.placeholder h1 { margin: 30px 0; max-width: 950px; }
.placeholder p { color: var(--muted); font-size: 17px; line-height: 1.9; max-width: 580px; }
.placeholder .tags { margin-top: 18px; }
.placeholder .back { margin-top: 30px; border: 1px solid #82bfff60; padding: 13px 22px; border-radius: 10px; background:linear-gradient(135deg,#2f63ff80,#3037d960); }
.status { font: 10px 'JetBrains Mono',monospace; letter-spacing: .14em; color: #b5cdff; border: 1px solid #8caaff50; background:#243dbb40; padding: 10px 15px; border-radius: 99px; }
.float { animation: float 6s ease-in-out infinite; }
.float.delay { animation-delay:-3s; }
.pulse { animation: twinkle 4s ease-in-out infinite; }
.orbit { animation: orbit 24s linear infinite; transform-origin:200px 135px; }
.flow { stroke-dasharray:5 10; animation:flow 3s linear infinite; }
.bar { animation:grow 5s ease-in-out infinite; transform-box:fill-box; transform-origin:bottom; }
.bar:nth-child(2) { animation-delay:-1s; }
.bar:nth-child(3) { animation-delay:-2s; }
.paused *, .paused *::before, .paused *::after { animation-play-state:paused!important; }
@keyframes float { 50% { transform:translateY(-9px); } }
@keyframes twinkle { 50% { opacity:.35; } }
@keyframes orbit { to { transform:rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset:-60; } }
@keyframes grow { 50% { transform:scaleY(.8); } }
@keyframes streak { to { transform:rotate(-20deg) translateY(100px); } }
@keyframes marquee { to { transform:translateX(-50%); } }
@media(min-width:1600px) { .art { height:260px; } .intro { padding-top:40px; } .content { padding:27px 32px; } }
@media(max-width:1050px) { .shell { padding:0 4vw; } .cards { gap:16px; } .content { padding:22px 20px; } .art { height:210px; } .description { min-height:66px; } .art-label { font-size:8px; } }
@media(max-width:720px) {
  .shell { padding:0 6vw; } header { height:94px; } .logo { width:140px; } .event { font-size:9px; letter-spacing:.05em; }
  .intro { padding:25px 0 30px; } .eyebrow { font-size:9px; letter-spacing:.1em; padding:10px 13px; }
  h1 { font-size:clamp(36px,8.8vw,62px); } .intro p { font-size:14px; } .cards { grid-template-columns:1fr; gap:24px; }
  .art { height:240px; } .content { padding:25px; } h2 { font-size:29px; } .description { min-height:0; font-size:14px; }
  footer { flex-wrap:wrap; } .placeholder { min-height:calc(100svh - 330px); } .cross { opacity:.3; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

/* Extruded event mark, adapted from the original OOH Summit website. */
.intro { padding-right: 300px; min-height: 285px; }
.intro h1 { font-size: clamp(42px,4.6vw,72px); }
.summit-logo-stage { position:absolute; right:40px; top:12px; width:240px; height:250px; perspective:1100px; display:grid; place-items:center; }
.summit-logo-3d { position:relative; width:210px; aspect-ratio:360/296; transform-style:preserve-3d; transform:rotateX(calc(9deg + var(--logo-rx,0deg))) rotateY(calc(-20deg + var(--logo-ry,0deg))); transition:transform .55s cubic-bezier(.2,1,.3,1); animation:logoBob 9s ease-in-out infinite; }
.summit-logo-3d img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transform:translateZ(.5px); }
.summit-logo-3d i { position:absolute; inset:0; display:block; mask:url('../img/logo-ooh-summit.png') center/contain no-repeat; -webkit-mask:url('../img/logo-ooh-summit.png') center/contain no-repeat; }
.summit-logo-3d .logo-depth { background:rgb(30 var(--shade) 185); transform:translate3d(calc(var(--i) * -.4px),calc(var(--i) * .34px),calc(var(--i) * -2.5px)); }
.summit-logo-3d .logo-face { background:linear-gradient(145deg,#fff 5%,#ccecff 40%,#79b8ff 70%,#eff8ff 94%); transform:translateZ(1px); }
.summit-logo-glow { position:absolute; inset:-45%; background:radial-gradient(ellipse,#679aff75, #3949e830 45%,transparent 70%); transform:translateZ(-100px); }
.summit-edition { align-self:end; font:9px 'JetBrains Mono',monospace; letter-spacing:.2em; color:#a8c9ff; }
@keyframes logoBob { 50% { translate:0 -13px; } }

/* Preserve the 3D context: glass and clipped highlights live on separate layers. */
.cards { perspective:1600px; padding-top:22px; gap:32px; }
.card {
  --rest-ry:0deg; --rest-rx:0deg; --lift:0px;
  overflow:visible; transform-style:preserve-3d; background:none; border:0;
  backdrop-filter:none; box-shadow:none;
  transform:perspective(1400px) rotateY(var(--ry,var(--rest-ry))) rotateX(var(--rx,var(--rest-rx))) translateZ(var(--lift));
  transition:transform .7s cubic-bezier(.2,.8,.2,1);
  animation:cardDrift 8s ease-in-out infinite;
}
.card:nth-child(1) { --rest-ry:9deg; --rest-rx:2deg; animation-delay:-2s; }
.card:nth-child(2) { --rest-rx:-2deg; animation-delay:-5s; }
.card:nth-child(3) { --rest-ry:-9deg; --rest-rx:2deg; animation-delay:-3.5s; }
.card::before { content:''; position:absolute; inset:0; border-radius:22px; transform:translateZ(-12px); background:linear-gradient(145deg,#547bef,#142270 65%,#243798); border:1px solid #82a4ff90; box-shadow:0 30px 70px -15px #000020a0,0 2px 0 #536bd4,0 5px 0 #263b9c,0 8px 0 #182879; }
.card::after { content:''; position:absolute; inset:0; border:1px solid #91b9ff60; border-radius:22px; background:linear-gradient(145deg,#3548b8ee,#101751f5); transform:translateZ(0); box-shadow:inset 0 2px 1px #cfdeff40,inset 0 -2px 1px #060b3980; pointer-events:none; }
.card > * { z-index:1; }
.card .art { border-radius:22px 22px 0 0; overflow:visible; transform:translateZ(32px); background:radial-gradient(ellipse at 50% 65%,#637dff35,transparent 67%); }
.card .art svg { transform:translate3d(var(--px,0px),var(--py,0px),0); transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.card .content { position:relative; transform-style:preserve-3d; transform:translateZ(20px); }
.card h2 { transform:translateZ(24px); }
.card .cta { transform:translateZ(16px); }
.card .arrow { transform:translateZ(12px); }
.card .card-glare { position:absolute; inset:0; border-radius:22px; transform:translateZ(2px); pointer-events:none; background:radial-gradient(480px circle at var(--gx,50%) var(--gy,0%),#e0edff28,transparent 65%); z-index:1; }
.card.tracking { transition:transform .14s linear; z-index:3; }
.card:hover,.card:focus-visible { --lift:28px; transform:perspective(1400px) rotateY(var(--ry,var(--rest-ry))) rotateX(var(--rx,var(--rest-rx))) translateZ(var(--lift)); box-shadow:none; }
.card:hover::before,.card:focus-visible::before { box-shadow:0 40px 90px -15px #000020c0,0 0 60px -12px #5f8bff90,0 2px 0 #7798ee,0 5px 0 #3752b5,0 8px 0 #223592; }
.card:hover::after,.card:focus-visible::after { border-color:#add8ff; }
@keyframes cardDrift { 50% { translate:0 -9px; } }
body.paused .card,body.paused .card:hover { transform:perspective(1400px) rotateY(var(--rest-ry)) rotateX(var(--rest-rx)); }
body.paused .card .art svg { transform:none; }
body.paused .summit-logo-3d { transform:rotateX(9deg) rotateY(-20deg); }
@media(min-width:1600px) { .summit-logo-stage { top:20px; right:60px; } }
@media(max-width:1100px) { .intro { padding-right:240px; } .intro h1 { font-size:clamp(38px,4.4vw,52px); } .summit-logo-stage { right:0; width:210px; } .summit-logo-3d { width:170px; } .cards { gap:22px; } }
@media(max-width:720px) {
  .intro { padding-right:0; padding-top:195px; }
  .intro h1 { font-size:clamp(36px,8.8vw,62px); }
  .summit-logo-stage { width:100%; height:170px; top:0; }
  .summit-logo-3d { width:140px; }
  .summit-edition { font-size:8px; }
  .cards { gap:40px; padding-top:12px; }
  .card:nth-child(n) { --rest-ry:0deg; --rest-rx:0deg; }
  .card .art { transform:translateZ(16px); }
  .card .content { transform:translateZ(10px); }
}
@media(prefers-reduced-motion:reduce) {
  .card,.card:hover { transform:none; }
  .card .art svg { transform:none; }
  .summit-logo-3d { transform:rotateX(9deg) rotateY(-20deg); }
}
.card:hover,.card:focus-visible { animation-play-state:paused; }

/* Botón a las presentaciones comerciales, debajo de las tarjetas */
.learn-wrap { display: flex; justify-content: center; padding: 6px 0 34px; }
.learn-more { display: inline-flex; align-items: center; gap: 16px; padding: 14px 18px 14px 26px; border-radius: 999px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #2f63ff, #2196f3); box-shadow: 0 16px 40px -16px rgba(33, 150, 243, .9), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .25s, box-shadow .25s; }
.learn-more:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(33, 150, 243, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.learn-more:focus-visible { outline: 3px solid #a1d5ff; outline-offset: 5px; }
.learn-more .lm-txt { font-weight: 700; font-size: 15px; }
.learn-more .lm-url { font: 500 11px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; color: #d6e8ff; opacity: .85; }
.learn-more .arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 14px; }
@media (max-width: 600px) { .learn-more .lm-url { display: none; } }

/* ---------- Modo liviano en celulares (html.lite) ---------- */
html.lite .summit-logo-3d .logo-depth, html.lite .summit-logo-glow, html.lite .ambience::after { display: none !important; }
html.lite .summit-logo-3d { transform: none !important; }
html.lite .card, html.lite .float, html.lite .orbit, html.lite .bar, html.lite .spark, html.lite .cross { animation: none !important; }
html.lite *, html.lite *::before, html.lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
