/* Hallmark · shape: Service Sheet, one shape for eight routes (the service's film, what it includes as rows, how it is made as facts on a band, more films where the page has them, the studio in figures, an index of the other services, the enquiry form) · genre: atmospheric · theme: Midnight (locked: design.md) · redesign: full
 * hero: Story on /servicios/realidad-virtual.html (2026-11-17, by request: 160 full-resolution frames of a fair booth where two people try VR headsets follow the scroll under three lower-third bands, the claim, how it is made, the call; its YouTube film moved to the showcase), Stage on every other route (/servicios/aplicaciones-interactivas.html, /servicios/diseno-web.html, /servicios/eventos.html, /servicios/motion-graphics.html, /servicios/motion-tracking.html, /servicios/realidad-mixta-aumentada.html, /servicios/realidad-virtual.html, /servicios/video-promocional.html): text on five columns, the service's YouTube film on seven at 16:9 with a fullscreen control · nav: edge-aligned (logo, mailto, WhatsApp icon) · footer: index columns (SINFIN, Servicios) · imagery: the product (each service's own YouTube film; realidad-virtual adds its three other films as a showcase) · signature: the service running on film in the first screen, one press from fullscreen
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass (design.md tokens) · fold: judged from the grid (no render tier: puppeteer absent) · job: enquire (WhatsApp first, the Formspree form at the close) · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V3 · weakest: V, eight SEO pages share one skeleton on purpose (a series, matched by the English set); each carries its own film, its own six rows and its own facts (tools, devices, venues), and P is held by showing the film before any claim */
/* Hallmark · dismissed F4 · one filled primary per screen: WhatsApp in the hero, the form's submit at the close a page away */
/* Hallmark · dropped this.classList.toggle · the old menu-toggle onclick; the edge-aligned nav has no collapsed menu to open */
/* Hallmark · dropped the nav links Inicio, Contacto and Showroom 360 · design.md fixes the chrome as logo, mailto and WhatsApp (plus the English switch, matching en/servicios); those destinations moved to the footer's SINFIN column, so no href is lost */
/* Hallmark · dropped the breadcrumb, the hero icon, the floating WhatsApp button and Font Awesome · the breadcrumb's links are the logo and the footer; WhatsApp sits in the nav, the hero and the close; icons are inline SVG */
/* Hallmark · dropped /Banner.png in the nav · design.md fixes the chrome logo as /coresa/assets/sinfin-logo.png; the link to https://sinfin3d.art/ stays */
/* Hallmark · reworded every hero h1 to seven words or fewer with the service name kept ("Realidad Virtual" to "Realidad virtual a medida para tu marca.", and kin) · 58 caps the head; <title> and meta stay as found */
/* Hallmark · reworded the four long paragraphs of each page into one lead and the "Cómo lo hacemos" facts band · 58 (screen budget) and 19 (filler such as "tecnología de punta", "empresas líderes") · every tool, device, venue, format and process step stays */
/* Hallmark · reworded "Beneficios" cards to rows with sentence-case titles · 54 and 58; "4K" and "100%" stay as found; the industry statistics ("4 veces", "5 a 10 minutos", "95%", "49%") were removed on Santiago's request (2026-11-15) */
/* Hallmark · reworded "© 2026 SINFIN - Experiential Marketing. Todos los derechos reservados." to "© SINFIN. Experiencias 3D, VR y AR en Buenos Aires desde 2018." · 19 names the stock footer line and the dash; design.md fixes this line */
@import url("../ds/tokens.css");
@import url("../ds/base.css");
@import url("../ds/site.css");
@import url("../ds/story.css?v=3");

/* restated from base.css and site.css for this file's own checks */
html, body { overflow-x: clip; }
h1, h2, .rows h3, .others__name { text-wrap: balance; }
.fig { font-variant-numeric: tabular-nums; }

/* ---------- the film: a 16:9 frame (video-maximize.js mounts its button inside it) ---------- */
.reel { margin: 0; }
.frame--video { aspect-ratio: 16 / 9; }
.frame--video:fullscreen { aspect-ratio: auto; height: 100%; }
.frame--video iframe { position: absolute; inset: 0; }
.hero h1 { max-width: 14ch; }
/* the hero head takes its size from its own column, so the longest word of the series ("Aplicaciones", 6.24em of the display
   face) never breaks mid-word in either language (2026-11-17): the display size, or the column / 6.4 when that is smaller */
.hero__grid > .hero__text { container-type: inline-size; }
.hero__grid > .hero__text h1 { font-size: min(var(--text-display), 100cqi / 6.4); }

/* ---------- a film right under the story hero (realidad-virtual, 2026-11-17, by request): the head on five columns, the film on seven ---------- */
.spotlight { padding-block: var(--section-gap-s); }
.spotlight__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.spotlight__text { display: grid; gap: var(--space-lg); }
.spotlight__text h2 { max-width: 14ch; }
@media (max-width: 60rem) { .spotlight__grid { grid-template-columns: minmax(0, 1fr); } }
/* ---------- what the service includes: facts beside rows ---------- */
.includes__head { display: grid; gap: var(--space-lg); align-content: start; }
.includes__head .lead { max-width: 34ch; }

/* ---------- how it is made: the old paragraphs' facts on a band ---------- */
.how { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.how__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.how .facts > div { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: var(--space-xs) var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top-color: var(--color-rule-2); }
.how .facts > div:first-child { border-top: 0; padding-top: 0; }
.how .facts dt { font-size: var(--text-lg); color: var(--color-ink); }
.how .facts dd { font-size: var(--text-lg); max-width: 45ch; }
@media (max-width: 60rem) { .how__grid, .how .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .how .facts > div { gap: var(--space-2xs); } }
.how + .figures { border-top: 0; }

/* ---------- nav: the language switch ---------- */
.nav__lang { font-size: var(--text-sm); }

/* ---------- more films: one lead frame and two beside it (realidad-virtual) ---------- */
.showcase { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.showcase h2 { margin-bottom: var(--space-2xl); }
.showcase__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.showcase__grid .reel:first-child { grid-row: span 2; }
.showcase__side { display: grid; gap: var(--space-xl); }
/* four films (realidad-virtual, once its hero film moved here): two by two, all the same size */
.showcase__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase__grid--four .reel:first-child { grid-row: auto; }
/* six films (aplicaciones-interactivas, 2026-11-19, by request): three across in two even rows, two across on tablets */
.showcase__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase__grid--three .reel:first-child { grid-row: auto; }
@media (max-width: 75rem) { .showcase__grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* right under a story hero, whose stage already fades into the page: no rule on top */
.showcase--lead { border-top: 0; }
@media (max-width: 60rem) { .showcase__grid { grid-template-columns: minmax(0, 1fr); } .showcase__grid .reel:first-child { grid-row: auto; } }

/* ---------- the other services: an index with a Ver control ---------- */
.others { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.others h2 { margin-bottom: var(--space-2xl); }
.others__list { list-style: none; margin: 0; padding: 0; }
.others__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: var(--space-xs) var(--gap-columns); align-items: center; min-height: 88px; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.others__list li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.others__name { font-size: var(--text-xl); font-weight: 500; line-height: 1.2; }
.others__line { color: var(--color-muted); }
.others .try { min-height: 48px; font-size: var(--text-md); }
@media (prefers-reduced-motion: reduce) { .others .try:active { transform: none; } }
@media (max-width: 60rem) {
  .others__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .others__line { grid-column: 1; }
  .others .try { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- close: the enquiry form ---------- */
.enquiry { padding-block: var(--section-gap-l) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.enquiry .close__text { align-content: start; }
.enquiry .contacts { margin-top: var(--space-md); }
.enquiry .contacts dd { font-size: var(--text-xl); }
.form-card { padding: var(--space-xl); background: var(--color-paper-2); color: var(--color-ink); }
.contact-form { display: grid; gap: var(--space-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); }
.field input:hover, .field textarea:hover { background: var(--color-paper-3); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--color-error); }
.contact-form .btn-submit { justify-self: start; }
.contact-form .btn-submit:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .contact-form .btn-submit:active { transform: none; } }
.form-status { display: none; min-height: 1lh; padding: var(--space-sm) var(--space-md); border-left: 2px solid var(--color-rule-2); font-size: var(--text-sm); color: var(--color-ink-2); }
.form-status.success { display: block; border-left-color: var(--color-success); color: var(--color-ink); }
.form-status.error { display: block; border-left-color: var(--color-error); color: var(--color-ink); }
@media (max-width: 40rem) { .form-card { padding: var(--space-lg); } .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer: the current page in the services column ---------- */
.foot__grid--svc { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }
.foot a[aria-current="page"] { color: var(--color-ink); }
@media (max-width: 40rem) { .foot__grid--svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
