/* Neural Frames: the page's own styles, on top of the kit (system.css, layout.css, cards.css) */
:root {
  /* the studio's own ad style: night navy grounds, white type, the logo's cyan as the one bright colour */
  --p-bg: #070f22; --p-surface: #0c1a36; --p-ink: #f2f7ff; --p-muted: #a3b6d3;
  --p-accent: #3cd5f5; --p-accent-ink: #04122b; --p-action: #1fe0ff; --p-action-ink: #04122b;
  --p-inv-bg: #030812; --p-inv-surface: #0a1530; --p-inv-ink: #f2f7ff; --p-inv-muted: #94a9c8;
  --p-inv-accent: #3cd5f5; --p-inv-accent-ink: #04122b; --p-inv-action: #1fe0ff; --p-inv-action-ink: #04122b;
  color-scheme: dark;
  --font-display: "Montserrat", "Hanken Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --display-tracking-xl: -0.025em;
}

  /* phone feel (mobile-native): no grey tap flash, no double-tap delay on controls, long-press never selects a control's label */
  html { -webkit-tap-highlight-color: transparent; }
  /* the price groups: each led by a picture from the studio's own ads, cropped to the picture without its words */
  .svc-head { display: grid; gap: var(--s-4); }
  .svc-media { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: #0c1a36; box-shadow: 0 0 0 1px rgb(60 213 245 / .22), 0 0 40px -18px rgb(31 224 255 / .55); }
  .svc-media > video, .svc-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 50%); }
  .package__price { margin: 0; font: 700 var(--t-h2)/1 var(--font-display); letter-spacing: var(--display-tracking); color: #1fe0ff; text-shadow: 0 0 28px rgb(31 224 255 / .45); }
  .media-frame { overflow: hidden; background: #0c1a36; box-shadow: 0 0 0 1px rgb(60 213 245 / .22), 0 0 60px -20px rgb(31 224 255 / .5); }
  .media-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
  /* the FAQ picture: a short chat with the studio, on a flat panel */
  .chat-frame { --ratio: 78%; background: var(--g-alt); }
  @media (max-width: 639px) { .chat-frame { --ratio: 100%; } }
  .chat { display: grid; gap: 8px; background: rgb(255 255 255 / .06); color: #e6eefc; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .14); border-radius: 14px; padding: 14px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 18px 44px -20px rgb(15 35 64 / .35); }
  .chat__top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .chat__top b { font-weight: 500; font-size: 15px; }
  .chat__top span { margin-left: auto; font-size: 12px; color: #7fe9ff; }
  .chat__msg { margin: 0; max-width: 82%; padding: 8px 12px; border-radius: 14px; }
  .chat__msg--in { justify-self: start; background: rgb(255 255 255 / .09); border-bottom-left-radius: 4px; }
  .chat__msg--out { justify-self: end; background: #1fe0ff; color: #04122b; border-bottom-right-radius: 4px; }
  /* the ads' look: cyan words with a soft glow, glowing pill buttons, glass panels, a faint grid and two light glows behind the hero */
  #preguntas .faq .faq__item h3 { font-family: var(--font-display); font-weight: 600; }
  .glow { color: #1fe0ff; text-shadow: 0 0 28px rgb(31 224 255 / .45); }
  .btn--primary { box-shadow: 0 0 0 1px rgb(31 224 255 / .5), 0 0 28px -4px rgb(31 224 255 / .55); }
  .hero { background:
      radial-gradient(40% 50% at 85% 30%, rgb(30 111 232 / .28), transparent 70%),
      radial-gradient(35% 45% at 10% 90%, rgb(31 224 255 / .12), transparent 70%),
      linear-gradient(rgb(60 213 245 / .05) 1px, transparent 1px) 0 0 / 56px 56px,
      linear-gradient(90deg, rgb(60 213 245 / .05) 1px, transparent 1px) 0 0 / 56px 56px; }
  /* the hero's live network: dots and lines in the logo's cyan, behind everything in the hero */
  .hero-net { position: absolute; inset: var(--nav, 72px) 0 0 0; width: 100%; height: calc(100% - var(--nav, 72px)); z-index: -1; pointer-events: none; }
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin: 0; }
  .stat { display: grid; gap: 4px; }
  .stat dt { font-size: var(--t-label); color: var(--muted); letter-spacing: .02em; }
  .stat dd { margin: 0; font: 700 clamp(24px, 2.6vw, 36px)/1.1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
  .stat dd span { color: #1fe0ff; text-shadow: 0 0 22px rgb(31 224 255 / .45); }
  .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); row-gap: var(--s-5); }
  .closing__tools { margin-bottom: var(--s-7); display: grid; gap: var(--s-3); }
  .closing__tools .marquee { margin-top: 0; flex: none; height: 36px; }
  .closing__tools .marquee__track { height: 36px; align-items: center; }
  .closing__tools { flex: none; }
  .marquee { margin-top: var(--s-6); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .marquee__track { display: flex; gap: var(--s-7); width: max-content; animation: marquee 32s linear infinite; }
  .marquee__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 15px/1 var(--font-display); color: var(--muted); }
  .marquee__item img { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #fff; }
  @keyframes marquee { to { transform: translateX(calc(-50% - var(--s-7) / 2)); } }
  @media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
  /* the price groups as glass cards; under a mouse they lift a little and a light follows the pointer */
  .svc-card { position: relative; padding: var(--s-4); border-radius: var(--r-lg); background: rgb(255 255 255 / .03); border: 1px solid rgb(60 213 245 / .14); transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease); }
  .svc-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 220ms var(--ease); background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgb(31 224 255 / .12), transparent 70%); }
  @media (hover: hover) and (pointer: fine) {
    .svc-card:hover { transform: translateY(-4px); border-color: rgb(60 213 245 / .4); box-shadow: 0 18px 50px -24px rgb(31 224 255 / .45); }
    .svc-card:hover::before { opacity: 1; }
  }
  /* things enter once as they come on screen: a short rise and fade, in a wave inside each group */
  .rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease) var(--d, 0ms), transform 600ms var(--ease) var(--d, 0ms); }
  .rv-on .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee__track > :nth-child(n + 7) { display: none; }
  }
  /* the quote builder: services as glass chips, the running total below them */
  .qb { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: rgb(255 255 255 / .03); border: 1px solid rgb(60 213 245 / .16); }
  .qb__group { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-2); min-width: 0; }
  .qb__group legend { padding: 0; margin-bottom: var(--s-2); }
  .qb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .qb__chip { position: relative; cursor: pointer; }
  .qb__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .qb__chip span { display: grid; gap: 2px; padding: 9px 14px 9px 34px; border-radius: 14px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 120ms var(--ease); }
  .qb__chip span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; border: 1.5px solid rgb(255 255 255 / .4); transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
  .qb__chip b { font: 600 14px/1.2 var(--font-display); color: #fff; }
  .qb__chip i { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .qb__chip input:checked + span { background: rgb(31 224 255 / .12); border-color: rgb(31 224 255 / .7); box-shadow: 0 0 22px -8px rgb(31 224 255 / .7); }
  .qb__chip input:checked + span::before { background: #1fe0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.5 7.2 2.3 2.3 4.7-5' fill='none' stroke='%2304122b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: #1fe0ff; }
  .qb__chip input:checked + span i { color: #7fe9ff; }
  .qb__chip input:focus-visible + span { outline: 2px solid #1fe0ff; outline-offset: 2px; }
  .qb__chip input:disabled + span { opacity: .4; cursor: not-allowed; }
  .qb__chip:active span { transform: scale(.97); }
  @media (hover: hover) and (pointer: fine) { .qb__chip:hover input:not(:disabled):not(:checked) + span { border-color: rgb(60 213 245 / .45); } }
  .qb__total { display: grid; gap: 4px; padding-top: var(--s-4); border-top: 1px solid rgb(255 255 255 / .1); }
  .qb__label { font-size: var(--t-label); color: var(--muted); }
  .qb__sum { font: 700 clamp(22px, 2.4vw, 32px)/1.15 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
  .qb__sum:not(.has) { font-size: var(--t-body); font-weight: 500; color: var(--muted); }
  .qb__sum.has { color: #1fe0ff; text-shadow: 0 0 24px rgb(31 224 255 / .45); }
  .qb__hint { margin: var(--s-2) 0 0; font-size: var(--t-small); color: #cfe0f5; }
  .qb__use { margin-left: 6px; padding: 4px 12px; border-radius: 99px; border: 1px solid #1fe0ff; background: transparent; color: #7fe9ff; font: 600 13px/1.2 var(--font-display); cursor: pointer; }
  .qb__use:active { transform: scale(.97); }
  .qb__mirror { display: grid; gap: 6px; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: rgb(31 224 255 / .06); border: 1px dashed rgb(60 213 245 / .35); }
  .qb__mirror-label { font-size: var(--t-label); color: var(--muted); }
  .qb__mirror-text { margin: 0; font-size: var(--t-small); color: #e6eefc; }
  /* the hero's 3D logo: a still mark first, the WebGL scene over it once it runs */
  .logo3d { background: radial-gradient(60% 60% at 50% 45%, rgb(30 111 232 / .32), transparent 70%), #081430; box-shadow: 0 0 0 1px rgb(60 213 245 / .22), 0 0 70px -24px rgb(31 224 255 / .55); }
  .logo3d__still { position: absolute; left: 50%; top: 46%; width: min(62%, 380px); height: auto; translate: -50% -50%; filter: drop-shadow(0 0 30px rgb(31 224 255 / .5)); transition: opacity 400ms var(--ease); }
  .logo3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms var(--ease); }
  .logo3d.is-live .logo3d__canvas { opacity: 1; }
  .logo3d.is-live .logo3d__still { opacity: 0; }
  .logo3d__tag { position: absolute; left: var(--x); top: var(--y); z-index: 2; padding: 6px 12px; border-radius: 99px; font: 600 13px/1 var(--font-display); color: #dff7ff; background: rgb(12 26 54 / .7); border: 1px solid rgb(60 213 245 / .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 20px -8px rgb(31 224 255 / .7); animation: tag-bob 5s ease-in-out infinite; animation-delay: var(--t); }
  @keyframes tag-bob { 50% { transform: translateY(-8px); } }
  @media (max-width: 639px) { .logo3d__tag { display: none; } }
  @media (prefers-reduced-motion: reduce) { .logo3d__tag { animation: none; } }
  /* the gallery of the studio's ads: a strip that runs to the right edge, dragged or swiped, each opening large */
  .piezas-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
  .gal-nav { display: flex; gap: 10px; flex: none; }
  .gal-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #dff7ff; background: rgb(255 255 255 / .05); border: 1px solid rgb(60 213 245 / .35); cursor: pointer; transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
  .gal-btn svg { width: 18px; height: 18px; }
  .gal-btn:active { transform: scale(.94); }
  @media (hover: hover) and (pointer: fine) { .gal-btn:hover { background: rgb(31 224 255 / .14); } }
  .gal { margin-right: calc(50% - 50vw); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline-offset: 4px; }
  .gal::-webkit-scrollbar { display: none; }
  .gal.is-drag { cursor: grabbing; }
  .gal.is-drag .gal__item { pointer-events: none; }
  .gal__track { display: flex; gap: var(--s-4); list-style: none; margin: 0; padding: 6px 64px 18px 2px; width: max-content; }
  .gal__item { display: block; padding: 0; border: 0; background: none; cursor: inherit; width: clamp(220px, 23vw, 340px); aspect-ratio: 1792 / 2400; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px rgb(60 213 245 / .22); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
  .gal__item img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
  .gal__item:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 3px; }
  @media (hover: hover) and (pointer: fine) { .gal__item:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgb(60 213 245 / .6), 0 20px 50px -24px rgb(31 224 255 / .6); } }
  @media (max-width: 639px) { .gal-nav { display: none; } .gal__item { width: 68vw; } }
  .gal-view { padding: 0; border: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92vh; overflow: visible; }
  .gal-view::backdrop { background: rgb(3 8 18 / .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .gal-view img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 0 0 1px rgb(60 213 245 / .35), 0 30px 80px -20px rgb(31 224 255 / .45); }
  .gal-view__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1fe0ff; color: #04122b; border: 0; cursor: pointer; }
  .gal-view__close svg { width: 16px; height: 16px; }
  @media (max-width: 639px) { .gal-view__close { top: 8px; right: 8px; } }
  .gal-view[open] { animation: gal-in 220ms var(--ease); }
  @keyframes gal-in { from { opacity: 0; transform: scale(.96); } }
  /* the comparison: drag through 8 weeks; each bar fills toward its delivery window (the lit zone) */
  .cmp { position: relative; display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: rgb(255 255 255 / .03); border: 1px solid rgb(60 213 245 / .16); }
  .cmp__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
  .cmp__title { font-size: var(--t-label); color: var(--muted); }
  .cmp__day { font: 700 18px/1 var(--font-display); color: #1fe0ff; font-variant-numeric: tabular-nums; }
  .cmp__row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); grid-template-areas: "who bar" "who state"; column-gap: var(--s-4); row-gap: 4px; align-items: center; }
  .cmp__who { grid-area: who; display: grid; gap: 2px; }
  .cmp__who b { font: 600 14px/1.2 var(--font-display); color: #fff; }
  .cmp__who span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .cmp__row--new .cmp__who span { color: #7fe9ff; }
  .cmp__bar { grid-area: bar; position: relative; height: 10px; border-radius: 99px; background: rgb(255 255 255 / .07); overflow: hidden; }
  .cmp__zone { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .14) 0 4px, transparent 4px 8px); }
  .cmp__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 99px; transform-origin: left; transform: scaleX(var(--k, 0)); background: #6c7c96; }
  .cmp__row--new .cmp__fill { background: #1fe0ff; box-shadow: 0 0 14px rgb(31 224 255 / .6); }
  .cmp__state { grid-area: state; margin: 0; font-size: 12px; color: var(--muted); }
  .cmp__row.is-done .cmp__state { color: #7fe9ff; font-weight: 600; }
  .cmp__range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 4px 0 0; background: transparent; cursor: pointer; }
  .cmp__range::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: rgb(255 255 255 / .12); }
  .cmp__range::-moz-range-track { height: 4px; border-radius: 99px; background: rgb(255 255 255 / .12); }
  .cmp__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #1fe0ff; border: 3px solid #04122b; box-shadow: 0 0 0 1px #1fe0ff, 0 0 18px rgb(31 224 255 / .7); }
  .cmp__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #1fe0ff; border: 3px solid #04122b; box-shadow: 0 0 0 1px #1fe0ff, 0 0 18px rgb(31 224 255 / .7); }
  .cmp__range:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 4px; border-radius: 99px; }
  .cmp__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: -6px; }
  @media (max-width: 479px) { .cmp__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "bar" "state"; } }
  /* the reel: the studio's vertical animations played one after another, like stories */
  .reel-open { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 6px; border-radius: 99px; border: 1px solid transparent; background: color-mix(in oklab, var(--ink) 8%, var(--bg)); color: #fff; font: 600 14px/1 var(--font-display); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
  .reel-open:active { transform: scale(.97); }
  @media (hover: hover) and (pointer: fine) { .reel-open:hover { background: rgb(31 224 255 / .16); } }
  .reel-open__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1fe0ff; color: #04122b; box-shadow: 0 0 18px rgb(31 224 255 / .6); }
  .reel-open__dot svg { width: 14px; height: 14px; margin-left: 2px; }
  .reel-open__len { color: var(--muted); font-weight: 500; }
  .reel-open--hero { position: absolute; left: var(--s-5); bottom: var(--s-5); z-index: 3; }
  @media (max-width: 639px) { .reel-open--hero { left: 50%; translate: -50% 0; bottom: var(--s-4); } }
  .reel { padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; }
  .reel::backdrop { background: rgb(3 8 18 / .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .reel[open] { animation: gal-in 220ms var(--ease); }
  .reel__frame { position: relative; height: min(88vh, 860px); aspect-ratio: 9 / 16; max-width: 94vw; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgb(60 213 245 / .35), 0 40px 100px -30px rgb(31 224 255 / .5); }
  .reel__video, .reel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .reel__img[hidden], .reel__video[hidden] { display: none; }
  .reel__bars { position: absolute; z-index: 3; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
  .reel__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .3); overflow: hidden; }
  .reel__bars i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--k, 0)); }
  .reel__top { position: absolute; z-index: 3; left: 12px; right: 12px; top: 24px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; text-shadow: 0 1px 6px rgb(0 0 0 / .6); }
  .reel__top b { font: 600 14px/1 var(--font-display); }
  .reel__title { margin-left: auto; color: #cfe0f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .reel__tap { position: absolute; z-index: 2; top: 0; bottom: 0; width: 35%; border: 0; background: transparent; cursor: pointer; }
  .reel__tap--prev { left: 0; } .reel__tap--next { right: 0; width: 65%; }
  .reel__ctrl { position: absolute; z-index: 3; right: 12px; top: 58px; display: grid; gap: 8px; }
  .reel__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .25); background: rgb(3 8 18 / .5); color: #fff; cursor: pointer; }
  .reel__btn svg { width: 16px; height: 16px; }
  .reel .reel__frame .reel__cta { position: absolute; z-index: 3; top: auto; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap; }
  .reel__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1fe0ff; color: #04122b; border: 0; cursor: pointer; z-index: 4; }
  .reel__close svg { width: 16px; height: 16px; }
  @media (max-width: 639px) { .reel__close { top: 10px; right: 10px; } .reel__ctrl { top: 64px; } .reel__frame { height: 86vh; } }
  /* WhatsApp: a round button fixed bottom-right, above the phone's action bar; with a mouse it opens to show the number */
  .wa-float { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(var(--bar, 0px), env(safe-area-inset-bottom, 0px)) + 16px); display: flex; align-items: center; gap: 0; height: 56px; padding: 0 13px; border-radius: 99px; background: #0c1a36; color: #fff; text-decoration: none; box-shadow: 0 0 0 1px rgb(37 211 102 / .55), 0 10px 30px -8px rgb(0 0 0 / .6), 0 0 26px -6px rgb(37 211 102 / .55); transition: gap 220ms var(--ease), transform 120ms var(--ease); }
  .wa-float img { width: 30px; height: 30px; flex: none; }
  .wa-float__label { display: grid; max-width: 0; overflow: hidden; white-space: nowrap; font: 600 14px/1.15 var(--font-display); transition: max-width 260ms var(--ease); }
  .wa-float__label small { font: 500 12px/1.2 var(--font-text); color: var(--muted); }
  .wa-float:active { transform: scale(.95); }
  .wa-float:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
  @media (hover: hover) and (pointer: fine) { .wa-float:hover, .wa-float:focus-visible { gap: 10px; } .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 160px; } }
  /* the logo mark beside the name, in the nav and the footer */
  .logo-mark { display: inline-block; vertical-align: middle; flex: none; margin-right: .45em; object-fit: contain; }
  .nav__logo { display: inline-flex; align-items: center; }
  .footer__mark .logo-mark { width: .8em; height: .8em; margin-right: .3em; }
  a, button, select, summary { touch-action: manipulation; }
  .btn, .nav__toggle, .nav__link { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  /* the project photograph that develops: square, the section's subject */
  #proyectos .develop img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); }
  /* the tools hub fills the split frame */
  /* the process steps, each with its picture from the studio's process carousel */
  .step__when { font-size: var(--t-label); color: #1fe0ff; letter-spacing: .02em; }
  /* the quote frame: one small card of what the visitor gets, on a flat panel */

/* several pages: a page that opens on a section sets its heading as the h1, at the section-heading size */
.page-h1 { font: var(--display-weight) var(--t-h2)/1.05 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; margin: 0; }
/* the home page's service cards: the whole card is the link to the services page */
.intro-card { display: grid; gap: var(--s-3); align-content: start; color: inherit; text-decoration: none; }
.intro-card__title { margin: 0; font: 600 var(--t-lead)/1.3 var(--font-display); color: #fff; text-wrap: balance; }
.intro-card__foot { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid rgb(255 255 255 / .1); color: var(--muted); font-variant-numeric: tabular-nums; }
.intro-card__more { color: #1fe0ff; font: 600 14px/1 var(--font-display); }
.intro-card__more::after { content: " \2192"; display: inline-block; transition: transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .intro-card:hover .intro-card__more::after { transform: translateX(3px); } }
.intro-card:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 4px; }
/* the nav marks the page you are on */
.nav__link[aria-current="page"] { color: #1fe0ff; }

/* inner pages open on a banner (the reference's page header): the page's picture under a navy veil, the path home, the title */
.page-banner { height: auto !important; position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(320px, 52vh, 520px); padding: calc(var(--nav, 72px) + var(--s-7)) 0 var(--s-7); overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-repeat: no-repeat; transform: scale(1.04); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 15 34 / .95) 0%, rgb(7 15 34 / .78) 45%, rgb(7 15 34 / .35) 100%), linear-gradient(0deg, #070f22 0%, rgb(7 15 34 / 0) 40%); }
.page-banner__in { display: grid; gap: var(--s-4); }
.page-banner h1 { margin: 0; max-width: 16ch; font: var(--display-weight) clamp(40px, 5.4vw, 72px)/1.02 var(--font-display); letter-spacing: var(--display-tracking-xl); text-wrap: balance; }
.page-banner__lead { margin: 0; max-width: 52ch; font-size: var(--t-lead); color: #d6e2f3; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #7fe9ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ic-inline { width: 15px; height: 15px; }
.crumbs > .ic-inline { opacity: .6; }
/* the home page's three benefits, in a row above the services (the reference's icon strip) */
.perks { list-style: none; margin: 0 0 var(--s-8); padding: var(--s-5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); border-radius: var(--r-lg); background: rgb(255 255 255 / .03); border: 1px solid rgb(60 213 245 / .14); }
.perk { display: flex; align-items: center; gap: var(--s-4); min-width: 0; }
.perk__ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #1fe0ff; background: rgb(31 224 255 / .1); box-shadow: inset 0 0 0 1px rgb(60 213 245 / .35), 0 0 22px -8px rgb(31 224 255 / .6); }
.perk__ic .ic-inline { width: 24px; height: 24px; }
.perk div { display: grid; gap: 2px; min-width: 0; }
.perk b { font: 600 16px/1.25 var(--font-display); color: #fff; }
.perk span:not(.perk__ic) { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 899px) { .perks { grid-template-columns: minmax(0, 1fr); } }
/* the home intro holds the benefits and the three cards, so it grows past one screen when it needs to */
#intro { height: auto !important; min-height: 100svh; }

/* the WhatsApp button steps aside while the phone menu is open */
:root:has(.nav__toggle[aria-expanded="true"]) .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition: gap 220ms var(--ease), transform 220ms var(--ease), opacity 220ms var(--ease); }
.wa-float.is-away { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa-float.is-away { transform: none; } }

/* the top nav: each page is a clear button; the page you are on is lit */
.nav__links .nav__link { padding: 8px 14px; border-radius: 99px; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav__links .nav__link:hover { background: rgb(255 255 255 / .06); } }
.nav__links .nav__link[aria-current="page"] { background: rgb(31 224 255 / .12); box-shadow: inset 0 0 0 1px rgb(60 213 245 / .35); }
/* tabs for the parts of a page: they stay under the nav while you scroll, and mark the part on screen */
.subnav { position: sticky; top: var(--nav, 72px); z-index: 40; background: rgb(7 15 34 / .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid rgb(60 213 245 / .14); }
.subnav__in { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav__tab { flex: none; padding: 8px 16px; border-radius: 99px; color: var(--muted); font: 600 14px/1 var(--font-display); text-decoration: none; border: 1px solid rgb(255 255 255 / .1); transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease); }
.subnav__tab.is-on { color: #04122b; background: #1fe0ff; border-color: #1fe0ff; }
@media (hover: hover) and (pointer: fine) { .subnav__tab:not(.is-on):hover { color: #fff; border-color: rgb(60 213 245 / .45); } }
.subnav__tab:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 2px; }
/* a part reached from a tab lands below the nav and the tabs */
main > section[id] { scroll-margin-top: calc(var(--nav, 72px) + 56px); }

/* process: the three steps as cards in columns, each with its picture and a large step number */
.step-cards { list-style: none; margin: 0; padding: 0; }
.step-card { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.step-card .svc-media { aspect-ratio: 4 / 3; }
.step-card__n { position: absolute; top: calc(var(--s-4) + 12px); left: calc(var(--s-4) + 12px); padding: 6px 12px; border-radius: 99px; font: 700 16px/1 var(--font-display); color: #04122b; background: #1fe0ff; box-shadow: 0 0 18px rgb(31 224 255 / .6); }
.step-card p { margin: 0; }
/* contact: three ways to reach the studio, each with its action at the foot */
.contact-card { display: grid; gap: var(--s-3); align-content: start; justify-items: start; }
.contact-card p { margin: 0; }
.contact-card .btn { margin-top: var(--s-2); }
.contact-card .perk__ic img { width: 26px; height: 26px; }

/* home: the studio's figures, four cards in a row (the reference's track-record block) */
.cifras-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.cifras-head .section-head { margin-bottom: 0; }
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.fig-card { display: grid; gap: var(--s-3); align-content: start; }
.fig-card p { margin: 0; }
.fig-card__num { font: 700 clamp(32px, 3.4vw, 48px)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.fig-card__num span { color: #1fe0ff; text-shadow: 0 0 22px rgb(31 224 255 / .45); }
.fig-card__num small { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 4px; }
@media (max-width: 899px) { .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cifras-head { flex-direction: column; align-items: start; } }

/* the nav stays one bar on mid-size screens: the name never wraps, the links tighten, and the duplicate quote button gives way to the Cotizar link */
.nav__logo { white-space: nowrap; }
@media (max-width: 1280px) { .nav__links .nav__link { padding: 8px 10px; } }
@media (max-width: 1180px) { .nav__actions { display: none; } .nav--centre .nav__bar { grid-template-columns: auto minmax(0, 1fr); } .nav--centre .nav__links { justify-content: flex-end; } }

/* the form's hidden trap field for robots: off screen, never seen or tabbed to */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer column titles are links too (people click "Servicios" expecting the page) */
.footer__col h3 a { color: inherit; text-decoration: none; transition: color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer__col h3 a:hover { color: var(--ink); } }

/* the legal pages: one readable column */
.legal { max-width: 68ch; }
.legal h2 { font: 600 var(--t-h3)/1.25 var(--font-display); margin: var(--s-7) 0 var(--s-3); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); line-height: 1.7; margin: 0 0 var(--s-4); }
.legal a { color: #1fe0ff; }

/* the reel shows a spinner while a clip is still arriving */
.reel__frame::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .2); border-top-color: #1fe0ff; opacity: 0; transition: opacity 200ms var(--ease); pointer-events: none; }
.reel.is-loading .reel__frame::after { opacity: 1; animation: reel-spin 800ms linear infinite; }
@keyframes reel-spin { to { transform: rotate(1turn); } }

/* --- chat assistant (assets/bot.js) */
.bot-fab { position: fixed; z-index: 61; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(var(--bar, 0px), env(safe-area-inset-bottom, 0px)) + 84px); width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 99px; background: #0c1a36; cursor: pointer; box-shadow: 0 0 0 1px rgb(31 224 255 / .55), 0 10px 30px -8px rgb(0 0 0 / .6), 0 0 26px -6px rgb(31 224 255 / .6); transition: transform 160ms var(--ease), opacity 220ms var(--ease); }
.bot-fab img { width: 26px; height: 26px; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgb(31 224 255 / .7)); }
.bot-fab__dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: #1fe0ff; box-shadow: 0 0 0 2px #0c1a36; }
.bot-fab:active { transform: scale(.95); }
.bot-fab:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 3px; }
.bot { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(var(--bar, 0px), env(safe-area-inset-bottom, 0px)) + 16px); width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 20px; background: #081329; color: #f2f7ff; box-shadow: 0 0 0 1px rgb(60 213 245 / .3), 0 24px 60px -12px rgb(0 0 0 / .75), 0 0 40px -10px rgb(31 224 255 / .35); overflow: hidden; transform-origin: bottom right; animation: bot-in 220ms var(--ease); }
.bot[hidden] { display: none; }
@keyframes bot-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.bot-open .bot-fab, .bot-open .wa-float { opacity: 0; pointer-events: none; }
.bot__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; background: #0c1a36; border-bottom: 1px solid rgb(60 213 245 / .18); }
.bot__head img { filter: brightness(0) invert(1); flex: none; }
.bot__head div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.bot__head b { font: 700 15px/1.2 var(--font-display); }
.bot__status { font: 500 12px/1.3 var(--font-text); color: #a3b6d3; }
.bot__status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #25d366; vertical-align: 1px; }
.bot__close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #f2f7ff; font-size: 26px; line-height: 1; cursor: pointer; }
.bot__close:hover { background: rgb(255 255 255 / .08); }
.bot__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.bot__msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font: 400 14.5px/1.45 var(--font-text); }
.bot__msg p { margin: 0; }
.bot__msg p + p { margin-top: 6px; }
.bot__msg--in { align-self: flex-start; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .08); border-bottom-left-radius: 6px; }
.bot__msg--out { align-self: flex-end; background: #1fe0ff; color: #04122b; border-bottom-right-radius: 6px; }
.bot__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bot__act { display: inline-flex; padding: 7px 11px; border-radius: 99px; font: 600 13px/1.2 var(--font-display); color: #1fe0ff; text-decoration: none; border: 1px solid rgb(31 224 255 / .45); }
.bot__act:hover { background: rgb(31 224 255 / .1); }
.bot__act--wa { color: #fff; background: #1a8f4c; border-color: #25d366; }
.bot__act--wa:hover { background: #1fa356; }
.bot__typing { display: flex; gap: 4px; padding: 14px; }
.bot__typing i { width: 7px; height: 7px; border-radius: 50%; background: #a3b6d3; animation: bot-dot 1s infinite ease-in-out; }
.bot__typing i:nth-child(2) { animation-delay: .15s; } .bot__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bot-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.bot__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.bot__chips:empty { display: none; }
.bot__chip { padding: 7px 12px; border-radius: 99px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .04); color: #f2f7ff; font: 500 13px/1.2 var(--font-text); cursor: pointer; }
.bot__chip:hover { border-color: rgb(31 224 255 / .6); }
.bot__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgb(255 255 255 / .08); }
.bot__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .05); color: #f2f7ff; font: 400 16px/1 var(--font-text); }
.bot__form input:focus { outline: none; border-color: #1fe0ff; }
.bot__send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: #1fe0ff; color: #04122b; font-size: 18px; cursor: pointer; }
.bot__note { margin: 0; padding: 0 14px 10px; font: 400 11.5px/1.35 var(--font-text); color: #94a9c8; }
@media (max-width: 480px) { .bot { right: 8px; left: 8px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); height: calc(100dvh - 16px); } }
@media (prefers-reduced-motion: reduce) { .bot { animation: none; } .bot__typing i { animation: none; opacity: .7; } }
/* --- project previews (assets/visor.js) */
.pv-head { margin-top: var(--s-7, 72px); max-width: 640px; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4, 24px); margin-top: var(--s-4, 24px); }
@media (max-width: 767px) { .pv-grid { grid-template-columns: 1fr; } }
.pv-card { display: grid; gap: 14px; }
.pv-card__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-lg, 18px); overflow: hidden; background: #0c1a36; cursor: pointer; box-shadow: 0 0 0 1px rgb(60 213 245 / .2); transition: box-shadow 220ms var(--ease), transform 220ms var(--ease); }
.pv-card__media img, .pv-card__teaser { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-card__teaser { opacity: 0; transition: opacity 300ms var(--ease); }
.pv-card__media.is-teasing .pv-card__teaser { opacity: 1; }
.pv-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(3 8 18 / .75)); pointer-events: none; }
.pv-card__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: rgb(4 18 43 / .55); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgb(31 224 255 / .6), 0 0 30px -4px rgb(31 224 255 / .6); transition: transform 220ms var(--ease), opacity 220ms var(--ease); }
.pv-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.pv-card__play--360 { font: 700 17px/1 var(--font-display); }
.pv-card__tag { position: absolute; z-index: 1; left: 14px; bottom: 12px; font: 600 13px/1 var(--font-display); color: #fff; letter-spacing: .02em; }
.pv-card__media:hover, .pv-card__media:focus-visible { box-shadow: 0 0 0 1px rgb(31 224 255 / .6), 0 18px 40px -16px rgb(31 224 255 / .45); }
.pv-card__media:hover .pv-card__play { transform: scale(1.06); }
.pv-card__media.is-teasing .pv-card__play { opacity: 0; }
.pv-card__media:focus-visible { outline: 2px solid #1fe0ff; outline-offset: 3px; }
.pv-card__media:active { transform: scale(.99); }
.pv-card__body { display: grid; gap: 6px; }
.pv-card__body h3 { margin: 0; font: 700 20px/1.25 var(--font-display); }
.pv-card__body p { margin: 0; }
.pv-card__link { justify-self: start; margin-top: 4px; font: 600 14px/1.2 var(--font-display); color: #1fe0ff; }
.pv { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 56px 16px 16px; background: rgb(3 8 18 / .88); backdrop-filter: blur(8px); animation: pv-in 200ms var(--ease); }
.pv[hidden] { display: none; }
@keyframes pv-in { from { opacity: 0; } }
.pv-open, .pv-open body { overflow: hidden; }
.pv__frame { width: min(1200px, 100%); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgb(60 213 245 / .3), 0 30px 80px -20px rgb(0 0 0 / .8); }
.pv__frame--video { aspect-ratio: 16 / 9; max-height: calc(100dvh - 90px); width: min(1200px, 100%, calc((100dvh - 90px) * 16 / 9)); }
.pv__frame--video video { display: block; width: 100%; height: 100%; background: #000; }
.pv__frame--tour { height: calc(100dvh - 90px); }
.pv__frame--tour iframe { display: block; width: 100%; height: 100%; border: 0; }
.pv__bar { position: absolute; top: 10px; right: 16px; display: flex; align-items: center; gap: 10px; }
.pv__full { padding: 9px 14px; border-radius: 99px; font: 600 13px/1 var(--font-display); color: #04122b; background: #1fe0ff; text-decoration: none; }
.pv__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.pv__close:hover { background: rgb(255 255 255 / .2); }
.pv-open .bot-fab, .pv-open .wa-float { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pv { animation: none; } }