/* ClipBoost Spain — site styles. No framework. Tokens first, then components top to bottom of the page.
   Phone first: the base rules are the phone layout, wider screens are added with min-width queries. */

/* ---------- Fonts: served from this site (assets/fonts/), no request to Google or anyone else ----------
   The same files and rules Google Fonts serves for
   css2?family=Archivo:wdth,wght@62..100,400..900&family=Martian+Mono:wdth,wght@87.5,400..600&display=swap
   (Archivo v25, Martian Mono v6; SIL Open Font License 1.1, see assets/fonts/OFL.txt).
   One file per alphabet: the browser only downloads the ones the page's text needs (today just
   the two "latin" files). Keep the order: it decides which file draws a character two ranges share. */
/* Archivo, vietnamese */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 100%; font-display: swap;
  src: url("fonts/archivo-v25-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Archivo, latin-ext */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 100%; font-display: swap;
  src: url("fonts/archivo-v25-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo, latin */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 100%; font-display: swap;
  src: url("fonts/archivo-v25-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Martian Mono, cyrillic-ext */
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-weight: 400 600; font-stretch: 87.5%; font-display: swap;
  src: url("fonts/martian-mono-v6-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Martian Mono, cyrillic */
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-weight: 400 600; font-stretch: 87.5%; font-display: swap;
  src: url("fonts/martian-mono-v6-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Martian Mono, latin-ext */
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-weight: 400 600; font-stretch: 87.5%; font-display: swap;
  src: url("fonts/martian-mono-v6-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Martian Mono, latin */
@font-face {
  font-family: "Martian Mono"; font-style: normal; font-weight: 400 600; font-stretch: 87.5%; font-display: swap;
  src: url("fonts/martian-mono-v6-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F1F1EE;
  --paper-2: #E6E6E1;
  --ink: #121213;
  --ink-2: #4F5054;
  --ink-3: #66676B;
  --line: rgba(18, 18, 19, .14);
  --line-strong: rgba(18, 18, 19, .4);
  --accent: #D62D17;          /* tally red: the light on a camera that is rolling */
  --accent-hover: #B8240F;
  --accent-ink: #B4230F;      /* accent for small text on paper (5.8:1) */
  --on-accent: #FFFFFF;
  --offer-hot: #FF5A3C;       /* accent on the inverted offer strip */
  --screen: #0B0C0D;          /* the screening room behind the samples */
  --tick: rgba(18, 18, 19, .25);
  --tick-strong: rgba(18, 18, 19, .6);
  --scrim: rgba(18, 18, 19, .38);

  /* Condensed system faces first in the fallback, so the headlines keep their width while
     Archivo loads (Arial Narrow on Windows/Mac, Helvetica Neue Condensed on iPhone, Roboto
     Condensed on Android). */
  --f-display: "Archivo", "Arial Narrow", "HelveticaNeue-CondensedBold", "Roboto Condensed", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* The side gutter never puts content under a notch (landscape iPhone, viewport-fit=cover). */
  --safe-x: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --gutter: max(16px, var(--safe-x));
  --maxw: 1240px;
  --bar-h: 56px;              /* 44 px controls with 6 px of air */
  --ruler-h: 10px;
  --sec-pad: 56px;            /* top and bottom padding of a section */
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0F10;
    --paper-2: #16181A;
    --ink: #ECEBE7;
    --ink-2: #A6A8AD;
    --ink-3: #8C8E93;
    --line: rgba(236, 235, 231, .13);
    --line-strong: rgba(236, 235, 231, .38);
    --accent: #FF4B2F;
    --accent-hover: #FF6A52;
    --accent-ink: #FF6A52;
    --on-accent: #0E0F10;
    --offer-hot: #B4230F;
    --screen: #030304;
    --tick: rgba(236, 235, 231, .22);
    --tick-strong: rgba(236, 235, 231, .55);
    --scrim: rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0F10;
  --paper-2: #16181A;
  --ink: #ECEBE7;
  --ink-2: #A6A8AD;
  --ink-3: #8C8E93;
  --line: rgba(236, 235, 231, .13);
  --line-strong: rgba(236, 235, 231, .38);
  --accent: #FF4B2F;
  --accent-hover: #FF6A52;
  --accent-ink: #FF6A52;
  --on-accent: #0E0F10;
  --offer-hot: #B4230F;
  --screen: #030304;
  --tick: rgba(236, 235, 231, .22);
  --tick-strong: rgba(236, 235, 231, .55);
  --scrim: rgba(0, 0, 0, .55);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: max(32px, var(--safe-x)); --bar-h: 64px; --sec-pad: 80px; } }
@media (min-width: 1000px) { :root { --sec-pad: 104px; } }
@media (min-width: 1200px) { :root { --gutter: max(48px, var(--safe-x)); } }

/* ---------- Language switch: every line exists in both languages; the other one is hidden ---------- */
html[lang="es"] [lang="en"],
html[lang="en"] [lang="es"] { display: none !important; }

/* ---------- Contact route: until the WhatsApp number is set (site.js adds .no-wa), the buttons say
   "email me" and open a ready-made email instead ---------- */
html.no-wa .wa-only,
html:not(.no-wa) .mail-only { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth;
  /* An anchor lands right under the sticky bar and the timeline ruler */
  scroll-padding-top: calc(var(--bar-h) + var(--ruler-h));
  -webkit-tap-highlight-color: rgba(214, 45, 23, .15);
}
html[data-menu-open] { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
p { margin: 0 0 1em; }
p, li, dd, figcaption, summary { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-stretch: 87.5%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }
/* An inline text link with a finger-sized hit area (44 px tall) that does not move the text */
.tap { display: inline-block; padding-block: 11px; margin-block: -11px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 18px;
  font-family: var(--f-body); font-weight: 650; font-size: 1rem; line-height: 1.15; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  touch-action: manipulation;
}
.btn svg { flex: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 10px 14px; font-size: .92rem; }
.btn--lg { min-height: 52px; padding: 14px 22px; font-size: 1.05rem; }
.btn--xl { min-height: 64px; padding: 14px 24px; font-size: 1.125rem; justify-content: flex-start; }
.btn--block { width: 100%; }
.btn__stack { display: grid; text-align: left; gap: 3px; }
.btn__sub { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .8125rem; font-weight: 500; letter-spacing: .02em; }
.btn__sub[hidden] { display: none; }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  transition: transform .25s ease;
}
/* Phones: the bar slides away while reading down and comes back on the way up; the timeline
   ruler with its playhead stays pinned at the top. */
.bar[data-hidden] { transform: translateY(calc(-1 * var(--bar-h))); }
.bar__in { display: flex; align-items: center; gap: 8px; height: var(--bar-h); }
.brand {
  display: inline-flex; align-items: center; min-height: 44px; flex: none;
  font-family: var(--f-display); font-stretch: 72%; font-weight: 850; font-size: 1.4rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .01em; text-decoration: none; color: var(--ink);
}
.brand__cut { display: inline-block; width: 3px; height: 1.05em; background: var(--accent); margin: 0 .12em; transform: translateY(-.02em); }
.brand__es {
  margin-left: 8px; padding: 3px 5px 2px; border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2);
}
.nav { display: none; }
.bar__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
/* The outline is drawn inside, so each button is a full 44 x 44 px target */
.seg { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: 2px; }
.seg__btn {
  min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 2px; background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-2);
  touch-action: manipulation;
}
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.iconbtn, .menubtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; flex: none;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink);
  touch-action: manipulation;
}
.iconbtn:hover, .menubtn:hover { border-color: var(--ink); }
.seg__btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.i-sun { display: none; }
html.is-dark .i-sun { display: block; }
html.is-dark .i-moon { display: none; }
.bar__theme, .bar__wa { display: none; }

/* Menu button: three clips on a timeline that turn into a cross */
.menubtn { grid-auto-flow: column; gap: 8px; }
.menubtn .i-close, .menubtn[aria-expanded="true"] .i-menu { display: none; }
.menubtn[aria-expanded="true"] .i-close { display: block; }
.menubtn[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menubtn__label { display: none; font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 359px) {
  .brand { font-size: 1.25rem; }
  .brand__es { display: none; }
}
@media (min-width: 560px) {
  .bar__theme { display: inline-grid; }
  .bar__wa { display: inline-flex; }
  .menubtn { width: auto; padding: 0 14px 0 12px; }
  .menubtn__label { display: inline; }
  .bar__tools { gap: 8px; }
}
@media (min-width: 1000px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--ink-2);
    font-size: .95rem; font-weight: 560;
  }
  .nav a:hover { color: var(--ink); }
  .nav a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
  .bar__tools { margin-left: 18px; }
  .menubtn { display: none; }
}

/* Timeline ruler under the header; the red playhead follows the scroll position (moved with a
   transform by site.js, so scrolling never triggers layout) */
.ruler {
  position: relative; height: var(--ruler-h); border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(to right, var(--tick-strong) 0 1px, transparent 1px 100px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to right, var(--tick) 0 1px, transparent 1px 10px) left bottom / 100% 4px no-repeat;
}
.ruler__head { position: absolute; top: 0; bottom: -1px; left: 0; width: 2px; background: var(--accent); will-change: transform; }
.ruler__head::before {
  content: ""; position: absolute; top: 0; left: -4px;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--accent);
}

/* ---------- Section menu (phones and tablets): the markers of the timeline, one per row ---------- */
.sheet {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--bar-h) - var(--ruler-h));
  max-height: calc(100dvh - var(--bar-h) - var(--ruler-h));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 6px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.sheet[data-open] { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.sheet__nav { display: grid; }
.sheet__nav a {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 54px; padding: 6px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.sheet__no { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .8rem; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.sheet__name {
  font-family: var(--f-display); font-stretch: 70%; font-weight: 800; text-transform: uppercase;
  font-size: 1.6rem; line-height: 1; letter-spacing: .005em;
}
.sheet__tc { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sheet__nav a:hover .sheet__name, .sheet__nav a[aria-current="true"] .sheet__name { color: var(--accent-ink); }
.sheet__nav a[aria-current="true"] .sheet__tc::before { content: "▸ "; color: var(--accent-ink); }
.sheet__foot { display: grid; gap: 12px; padding-top: 14px; }
.sheet__theme {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink);
  font-weight: 600; font-size: 1rem; text-align: left;
}
.sheet__switch {
  margin-left: auto; position: relative; width: 38px; height: 22px; flex: none;
  border: 1.5px solid var(--ink-2); border-radius: 11px;
}
.sheet__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink-2); transition: transform .15s ease;
}
.sheet__theme[aria-pressed="true"] .sheet__switch { border-color: var(--accent); }
.sheet__theme[aria-pressed="true"] .sheet__switch::after { transform: translateX(16px); background: var(--accent); }
.scrim {
  position: fixed; inset: 0; z-index: 45; background: var(--scrim);
  visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility 0s linear .18s;
}
.scrim[data-open] { visibility: visible; opacity: 1; transition: opacity .18s ease, visibility 0s; }
@media (min-width: 560px) {
  .sheet__nav { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 28px; }
  .sheet__theme { display: none; }   /* the header has the theme button from here up */
  .sheet__foot .btn { justify-self: start; width: auto; }
}
@media (min-width: 1000px) { .sheet, .scrim { display: none; } }
html:not(.js) .menubtn { display: none; }   /* the menu needs the script */

/* ---------- Shared type ----------
   The mono face is kept for things that are data on an edit timeline: timecodes, ratios, durations,
   per-video prices, clip names. Everything else is set in Archivo, sentence case.
   Nothing that carries information is smaller than 12 px (.75rem). */
.marker, .hud, .film figcaption, .slate dt, .foot .mono, .viewer__cap .mono, .eyebrow__tc {
  font-family: var(--f-mono); font-stretch: 87.5%; letter-spacing: .04em; text-transform: uppercase;
}
.each, .offer__small, .clip__head, .player__label, .fmt__group button, .sample__meta b, .clipfig__cap b {
  font-family: var(--f-mono); font-stretch: 87.5%; letter-spacing: .02em;
}
.h2 {
  font-family: var(--f-display); font-stretch: 68%; font-weight: 820; text-transform: uppercase;
  font-size: clamp(2.35rem, 9.5vw, 4.4rem); line-height: .92; letter-spacing: -.003em;
  margin: 0 0 20px; max-width: 17ch; text-wrap: balance;
}
/* A plain, sentence-case heading for the personal sections (About, Contact) */
.h2--plain {
  font-stretch: 88%; font-weight: 760; text-transform: none;
  font-size: clamp(2rem, 7.2vw, 3.3rem); line-height: 1.04; letter-spacing: -.018em; max-width: 20ch;
}
.h3 { font-family: var(--f-body); font-weight: 720; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 8px; text-wrap: balance; }
.sub { color: var(--ink-2); max-width: 52ch; font-size: 1.0625rem; }
.kicker { font-size: .875rem; font-weight: 650; letter-spacing: .005em; color: var(--accent-ink); margin: 0 0 8px; }
.fine { font-size: .875rem; color: var(--ink-2); max-width: 58ch; margin: 18px 0 0; }
.nobr { white-space: nowrap; }
/* "Precios sin IVA (21 %)": its own line at the top of Prices, in full ink so it is not missed */
.sub__vat { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 650; }

/* Section marker: number, name, a hairline and the marker's timecode (like a marker on an edit timeline) */
.marker { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 500; color: var(--ink-2); margin: 0 0 20px; }
.marker__no { color: var(--accent-ink); font-weight: 600; }
.marker__name { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.marker__name::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marker__tc { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Hero ----------
   Phones and tablets: headline, then the moving sample, then the WhatsApp button, so all three
   are on the first screen; the longer text follows. Wide screens: text left, video right. */
.hero { padding: 18px 0 40px; }
.hero__grid { display: grid; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: .95rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.eyebrow__tc { font-size: .75rem; font-weight: 500; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.hero__title {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 880; text-transform: uppercase;
  font-size: clamp(3.4rem, 16.5vw, 6.6rem); line-height: .84; letter-spacing: -.006em;
  margin: 12px 0 18px;
}
.hero__lead { font-size: 1.1rem; line-height: 1.5; max-width: 38ch; margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__sample { margin: 16px 0 0; font-size: .95rem; color: var(--ink-2); }
.hero__sample a, .more a, .service__price a { color: var(--accent-ink); font-weight: 650; text-underline-offset: 3px; }
.spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 26px 0 0; border-top: 1px solid var(--line); }
.spec > div { padding: 12px 14px 0 0; margin-right: 14px; border-right: 1px solid var(--line); }
.spec > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.spec dt { font-size: .8rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; line-height: 1.25; }
.spec dd { margin: 4px 0 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 750; font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec dd .vat { font-family: var(--f-body); font-stretch: 100%; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 359px) {
  .spec > div { padding-right: 10px; margin-right: 10px; }
  .spec dt { white-space: normal; }
}
@media (min-width: 400px) {
  .spec > div { padding-right: 22px; margin-right: 22px; }
  .spec dt { font-size: .82rem; }
  .spec dd { font-size: 1.4rem; }
}
@media (max-width: 999px) {
  .hero__copy, .hero__cta { display: contents; }
  .eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__media { order: 3; }
  .hero__wa { order: 4; margin-top: 20px; }
  .hero__lead { order: 5; margin-top: 24px; }
  .hero__prices { order: 6; margin-top: 20px; }
  .hero__sample { order: 7; }
  .spec { order: 8; }
}
@media (max-width: 559px) {
  .hero__wa, .hero__prices { width: 100%; }
}
@media (min-width: 560px) and (max-width: 999px) {
  .hero__wa, .hero__prices { justify-self: start; }
  .hero__lead { max-width: 46ch; }
}

.hero__media { margin: 0; min-width: 0; }
.viewer { position: relative; aspect-ratio: 16 / 9; background: #000; color: #fff; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
.viewer__poster, .viewer__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Transparent until the first frame arrives, so the poster image underneath shows */
.viewer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; }
.viewer__hud {
  --m: rgba(255, 255, 255, .8);
  position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 16px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 16px,
    linear-gradient(var(--m) 0 0) top right / 16px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 16px,
    linear-gradient(var(--m) 0 0) bottom left / 16px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 16px,
    linear-gradient(var(--m) 0 0) bottom right / 16px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 16px;
  background-repeat: no-repeat;
}
.hud { position: absolute; font-size: .75rem; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); white-space: nowrap; }
.hud--tc { top: 7px; left: 10px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.hud--tc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.viewer[data-state="playing"] .hud--tc::before { background: #FF4B2F; }
.hud--fmt { top: 7px; right: 10px; }
.hud--tag { bottom: 9px; right: 10px; }
.viewer__ctl { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.vbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 12px; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px;
  font-size: .8125rem; font-weight: 600; touch-action: manipulation;
}
.vbtn[data-hero-play] { padding: 0; width: 44px; }
.vbtn:hover { background: rgba(0, 0, 0, .8); border-color: #fff; }
.viewer[data-state="playing"] .i-play, .viewer:not([data-state="playing"]) .i-pause { display: none; }
[data-hero-sound][aria-pressed="false"] .i-wave, [data-hero-sound][aria-pressed="true"] .i-x { display: none; }
[data-hero-sound][aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.viewer[data-state="empty"] .viewer__ctl, .viewer[data-state="empty"] .hud--tc { display: none; }
.viewer__cap { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.viewer__cap .mono { flex: none; font-size: .75rem; padding: 2px 6px; border: 1px solid var(--line-strong); color: var(--ink); }
.viewer__cap .mono[hidden] { display: none; }

@media (min-width: 760px) {
  .viewer { margin-inline: 0; }
  .viewer__hud { inset: 16px; }
  .viewer__cap { margin-top: 12px; }
}
@media (min-width: 1000px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .hero__title { font-size: clamp(5rem, 7.6vw, 7.4rem); margin: 16px 0 20px; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec-pad) 0; scroll-margin-top: calc(22px - var(--sec-pad)); }
.sec--tint { background: var(--paper-2); }
.sec__head { display: grid; gap: 4px 48px; margin-bottom: 32px; }
.sec__head .h2 { margin-bottom: 12px; }
@media (min-width: 1000px) {
  .sec__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; margin-bottom: 36px; }
  .sec__head .h2 { margin-bottom: 0; }
  .sec__head > p { margin-bottom: 4px; }
}

/* The screening room: the samples always sit on a dark screen, whatever the theme, between two
   rows of film sprocket holes (so it still reads as its own room in the dark theme) */
.sec--dark {
  --paper: var(--screen);
  --paper-2: #141618;
  --ink: #ECEBE7;
  --ink-2: #A6A8AD;
  --ink-3: #8C8E93;
  --line: rgba(236, 235, 231, .14);
  --line-strong: rgba(236, 235, 231, .4);
  --accent: #FF4B2F;
  --accent-hover: #FF6A52;
  --accent-ink: #FF6A52;
  --on-accent: #0E0F10;
  position: relative;
  background: var(--paper); color: var(--ink);
  border-block: 1px solid var(--line);
}
.sec--dark::before, .sec--dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 5px; pointer-events: none;
  background: repeating-linear-gradient(to right, transparent 0 9px, rgba(236, 235, 231, .2) 9px 17px);
}
.sec--dark::before { top: 9px; }
.sec--dark::after { bottom: 9px; }
.note { color: var(--ink-2); max-width: 54ch; margin: 0; }
.note strong { color: var(--ink); font-weight: 650; }

/* ---------- Services ---------- */
.services { display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.service { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.service__frames { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 20px; }
/* A still from a sample in each format, framed like a camera viewfinder: corner marks, a centre
   cross and the aspect ratio */
.aframe {
  --m: rgba(255, 255, 255, .85);
  position: relative; overflow: hidden; background: #000; color: #fff; flex: none;
  border: 1.5px solid var(--ink);
  font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .02em;
}
.aframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aframe::before {
  content: ""; position: absolute; inset: 6px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 8px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 8px,
    linear-gradient(var(--m) 0 0) top right / 8px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 8px,
    linear-gradient(var(--m) 0 0) bottom left / 8px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 8px,
    linear-gradient(var(--m) 0 0) bottom right / 8px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 8px;
  background-repeat: no-repeat;
}
.aframe::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 11px; height: 11px; margin: -6px 0 0 -6px;
  background: linear-gradient(#FF4B2F 0 0) center / 100% 1.5px no-repeat, linear-gradient(#FF4B2F 0 0) center / 1.5px 100% no-repeat; }
.aframe span { position: absolute; z-index: 1; left: 9px; bottom: 7px; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.aframe--v { aspect-ratio: 9 / 16; }
.aframe--h { aspect-ratio: 16 / 9; }
.aframe--small span { left: 7px; bottom: 6px; }
/* Phones: a row of three vertical stills (a feed of Reels), and the wide + vertical pair at one
   height across the full width */
.service__frames--feed .aframe { height: 160px; }
.service__frames--pair { max-width: 460px; }
.service__frames--pair .aframe--h { flex: 16 1 0; height: auto; min-width: 0; }
.service__frames--pair .aframe--v { flex: 5.0625 1 0; height: auto; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 11px; height: 2px; background: var(--accent); }
.service__price { margin: 18px 0 0; font-weight: 650; }
.service__price a { margin-left: 2px; white-space: nowrap; }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 40px 36px 44px 0; }
  .service + .service { border-left: 1px solid var(--line); padding-left: 36px; padding-right: 0; }
  .service__frames { flex-direction: column; align-items: flex-start; margin: 6px 0 0; gap: 10px; max-width: none; }
  .service__frames--feed .aframe { height: 200px; }
  .service__frames .aframe--extra { display: none; }
  .service__frames--pair .aframe--h { flex: none; width: 160px; }
  .service__frames--pair .aframe--v { flex: none; height: 120px; }
}

/* ---------- Samples ---------- */
.samples { display: grid; gap: 52px; }
.sample { display: grid; gap: 18px; grid-template-areas: "head" "stage" "raw"; }
.sample__head { grid-area: head; }
.sample__stage { grid-area: stage; min-width: 0; }
.sample__raw { grid-area: raw; min-width: 0; }
.sample__type { font-size: .875rem; font-weight: 650; color: var(--accent-ink); margin: 0; }
.sample__title {
  font-family: var(--f-display); font-stretch: 70%; font-weight: 820; text-transform: uppercase;
  font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: .92; margin: 8px 0 12px;
}
.sample__flag { display: inline-block; margin: 0; padding: 4px 9px; border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.sample__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-2); }
.sample__meta b { color: var(--ink); font-weight: 600; font-size: .8rem; margin-left: 4px; }

.pair { display: grid; gap: 14px; }
.clipfig { margin: 0; min-width: 0; }
.clipfig--side { display: none; }
.clipfig__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.clipfig__cap b { color: var(--ink); font-weight: 600; font-size: .8rem; }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; width: 100%; margin-inline: auto; overflow: hidden; }
/* A vertical cut always fits the visible screen under the bar, with room for its caption and the
   format switch (svh: the screen with the browser toolbars showing) */
.player[data-format="9x16"] {
  aspect-ratio: 9 / 16;
  width: min(100%, calc(min(100vh - var(--bar-h) - var(--ruler-h) - 150px, 700px) * 9 / 16));
  width: min(100%, calc(min(100svh - var(--bar-h) - var(--ruler-h) - 150px, 700px) * 9 / 16));
}
.player video, .player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
@media (max-width: 759px) {
  /* Phones: wide players run edge to edge, like the hero */
  .sample__stage .player[data-format="16x9"] { width: auto; margin-inline: calc(-1 * var(--gutter)); }
}
@media (min-width: 1000px) {
  .sample--featured .pair--two { grid-template-columns: minmax(0, 256fr) minmax(0, 81fr); gap: 12px; align-items: start; }
  .sample--featured .pair--two .clipfig--side { display: block; }
  .sample--featured .pair--two .clipfig--side .player { width: 100%; }
  .sample--featured .pair--two .clipfig--main .player { aspect-ratio: 16 / 9; width: 100%; }
  .sample--featured .pair--two + .fmt { display: none; }
  .clipfig--side .pp { width: 52px; height: 52px; }
}
.player__play {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55));
  touch-action: manipulation;
}
.player__play::before {
  --m: rgba(255, 255, 255, .75);
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--m) 0 0) top left / 14px 1.5px, linear-gradient(var(--m) 0 0) top left / 1.5px 14px,
    linear-gradient(var(--m) 0 0) top right / 14px 1.5px, linear-gradient(var(--m) 0 0) top right / 1.5px 14px,
    linear-gradient(var(--m) 0 0) bottom left / 14px 1.5px, linear-gradient(var(--m) 0 0) bottom left / 1.5px 14px,
    linear-gradient(var(--m) 0 0) bottom right / 14px 1.5px, linear-gradient(var(--m) 0 0) bottom right / 1.5px 14px;
  background-repeat: no-repeat;
}
.pp { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(0, 0, 0, .35); transition: background-color .15s, border-color .15s; }
.pp svg { margin-left: 4px; }
.player__play:hover .pp, .player__play:focus-visible .pp { background: #FF4B2F; border-color: #FF4B2F; }
.player__label { position: absolute; left: 30px; bottom: 16px; font-size: .75rem; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.player[data-state="playing"] .player__play,
.player[data-state="paused"] .player__play { display: none; }
.player[data-state="preview"] .player__play { background: transparent; }
.player[data-state="preview"] .pp { opacity: .85; }

.fmt { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.fmt__group { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.fmt__group button {
  min-height: 44px; min-width: 64px; padding: 0 14px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2);
  font-size: .8125rem; font-weight: 500; touch-action: manipulation;
}
.fmt__group button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .fmt { justify-content: flex-start; } }

.raw__label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.raw__label .arrow { color: var(--accent-ink); flex: none; }
/* On the smaller cards the raw-clip strip folds away behind one row */
.raw__more > summary {
  list-style: none; cursor: pointer; min-height: 44px; margin: 0; padding: 0 2px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.raw__more > summary::-webkit-details-marker { display: none; }
.raw__more > summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
}
.raw__more[open] > summary { margin-bottom: 12px; }
.raw__more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.raw__more > summary:hover { color: var(--ink); }
.film {
  position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 3px;
  margin: 0; padding: 11px 3px; list-style: none; background: #000;
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(to right, transparent 0 5px, rgba(255, 255, 255, .28) 5px 11px);
}
.film::before { top: 4px; }
.film::after { bottom: 4px; }
.film li { position: relative; margin: 0; }
.film figure { margin: 0; }
.film img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1a1a1a; }
.film figcaption { position: absolute; left: 5px; bottom: 3px; font-size: .75rem; font-weight: 500; line-height: 1.2; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 6px rgba(0, 0, 0, .6); }
.film__final { display: none; }
.film__final img { outline: 2px solid #FF4B2F; outline-offset: -2px; }
.raw__cap { color: var(--ink-2); font-size: .9rem; margin: 12px 0 0; max-width: 52ch; }

@media (min-width: 600px) {
  .film.has-final { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)) 18px minmax(0, 1fr); }
  .film__arrow { display: grid; place-items: center; color: #FF4B2F; }
  .film__final { display: block; }
}
.film__arrow { display: none; }
.film__arrow .arrow { width: 14px; height: auto; }
@media (min-width: 600px) { .film.has-final .film__arrow { display: grid; } }

@media (min-width: 1000px) {
  .sample--featured {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "head raw" "stage stage";
    gap: 32px 56px; align-items: end;
  }
  .sample--featured .raw__cap { margin-bottom: 0; }
  .samples--rest { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
}

.samples[hidden], .note[hidden], .credit[hidden] { display: none; }
.more { margin: 52px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 60ch; }
.credit { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); line-height: 1.6; max-width: 70ch; }

/* ---------- Prices ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 40px;
  background: var(--ink); color: var(--paper);
}
.offer__slate { height: 14px; background: repeating-linear-gradient(-55deg, var(--paper) 0 13px, var(--ink) 13px 26px); }
.offer__body { padding: 20px 20px 4px; }
.offer__kicker { margin: 0 0 8px; font-size: .95rem; font-weight: 650; color: var(--offer-hot); }
.offer__deal {
  margin: 0; font-family: var(--f-display); font-stretch: 68%; font-weight: 840; text-transform: uppercase;
  font-size: clamp(2.3rem, 10vw, 3.6rem); line-height: .92;
}
.offer__deal b { color: var(--offer-hot); font-weight: 880; }
.offer__vat { font-size: .55em; font-weight: 800; color: var(--offer-hot); }
.offer__small { margin: 10px 0 0; font-size: .8125rem; opacity: .85; }
.offer__then { margin: 6px 0 0; font-size: .95rem; font-weight: 650; }
.offer .btn { margin: 18px 20px 20px; justify-self: stretch; min-height: 52px; }
@media (min-width: 760px) {
  .offer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .offer__slate { grid-column: 1 / -1; }
  .offer__body { padding: 26px 28px; }
  .offer .btn { margin: 0 28px 0 0; justify-self: start; }
}

/* Price summary (phones and tablets): one row per plan, like an edit decision list */
.edl { display: grid; margin: 0 0 32px; border-top: 1.5px solid var(--ink); }
.edl a {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: baseline; gap: 10px;
  min-height: 48px; padding: 12px 0; border-bottom: 1px dashed var(--line);
  text-decoration: none; color: var(--ink);
}
.edl__no { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.edl__name { font-weight: 650; font-size: 1rem; line-height: 1.3; }
.edl__name small { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.edl__price {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.3rem; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right;
}
.edl__price small { font-family: var(--f-body); font-stretch: 100%; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.edl a:hover .edl__name { color: var(--accent-ink); }
.rate { scroll-margin-top: 8px; }
@media (min-width: 900px) { .edl { display: none; } }

.rates { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rate { display: grid; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rate__name .h3 { font-size: 1.35rem; }
.rate__name p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rate__qty { display: flex; align-items: baseline; gap: 8px; }
.num { font-family: var(--f-display); font-stretch: 68%; font-weight: 820; font-size: 2.6rem; line-height: .9; font-variant-numeric: tabular-nums; }
.unit { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.rate__inc { list-style: none; margin: 0; padding: 0; }
.rate__inc li { position: relative; padding: 4px 0 4px 20px; font-size: .95rem; }
.rate__inc li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 2px; background: var(--accent); }
.price { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-family: var(--f-body); font-stretch: 100%; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.each { margin: 0; font-size: .8125rem; color: var(--ink-2); }
/* Phones and tablets: plan name and price on one line, then "8 vídeos / mes · aprox. 31,13 € por
   vídeo", what is included and a full-width button, so the plans compare at a glance */
@media (max-width: 899px) {
  .rate {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "title title price" "desc desc desc" "qty each each" "inc inc inc" "btn btn btn";
    gap: 0 12px; padding: 20px 0 22px;
  }
  .rate__name, .rate__price { display: contents; }
  .rate__name .h3 { grid-area: title; align-self: baseline; margin: 0; }
  .rate__price .price { grid-area: price; align-self: baseline; justify-self: end; text-align: right; }
  .rate__name p { grid-area: desc; margin-top: 6px; }
  .rate__qty { grid-area: qty; align-self: baseline; margin-top: 12px; gap: 6px; white-space: nowrap; }
  .rate__qty .num { font-size: 1.7rem; }
  .rate__price .each { grid-area: each; align-self: baseline; margin-top: 12px; }
  .rate__price .each::before { content: "·"; margin-right: 8px; color: var(--ink-3); }
  .rate__inc { grid-area: inc; margin-top: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
  .rate__price .btn { grid-area: btn; margin-top: 14px; width: 100%; min-height: 48px; font-size: 1rem; }
}
/* Narrow phones (360-414 px): "16 vídeos / mes · aprox. 28,06 € por vídeo" does not fit on one
   line, so the per-video price goes on its own line under the quantity instead of wrapping */
@media (max-width: 419px) {
  .rate { grid-template-areas: "title title price" "desc desc desc" "qty qty qty" "each each each" "inc inc inc" "btn btn btn"; }
  .rate__price .each { margin-top: 6px; }
  .rate__price .each::before { content: none; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .rate__price .btn { justify-self: start; width: auto; min-width: 220px; }
}
@media (min-width: 900px) {
  .rate {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr) minmax(0, 3.3fr) minmax(0, 2.3fr);
    gap: 28px; padding: 30px 0; align-items: start;
  }
  .rate__qty { flex-direction: column; gap: 4px; }
  .rate__price { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; text-align: right; gap: 8px; }
  .rate__price .btn { margin: 6px 0 0; }
}

/* ---------- Process: three clips on a timeline track ---------- */
.track { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.clip { background: var(--paper); border: 1px solid var(--line); padding: 0 20px 22px; }
.clip__head {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 -20px 18px; padding: 8px 12px;
  background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 500;
}
.clip__head > span:first-child { padding: 1px 5px; border: 1px solid currentColor; }
.clip:nth-child(2) .clip__head { background: var(--accent); color: var(--on-accent); }
.clip p:last-child { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .track { grid-template-columns: 3fr 4fr 3fr; gap: 4px; }
}

/* ---------- Shot list ---------- */
.shots { display: grid; border-top: 1px solid var(--line); }
.shotlist { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.shotlist__title { font-family: var(--f-body); font-weight: 720; font-size: 1.1rem; margin: 0 0 10px; }
.shotlist ol { list-style: none; margin: 0; padding: 0; counter-reset: shot; }
.shotlist li { counter-increment: shot; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 8px 0; border-top: 1px dashed var(--line); font-size: .98rem; }
.shotlist li::before { content: counter(shot, decimal-leading-zero); font-size: .85rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: .1em; }
@media (min-width: 640px) {
  .shots { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1100px) {
  .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- About: a film slate instead of a photo ---------- */
.about__grid { display: grid; gap: 32px; }
.slate { width: 100%; max-width: 440px; background: #121213; color: #ECEBE7; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
/* closed clapper: two striped sticks, stripes leaning opposite ways, a hinge pin on the left */
.slate__sticks { position: relative; height: 42px; border-bottom: 2px solid #121213; }
.slate__sticks::before, .slate__sticks::after {
  content: ""; position: absolute; left: 0; right: 0; height: 19px;
  background: repeating-linear-gradient(-55deg, #ECEBE7 0 15px, #121213 15px 30px);
}
.slate__sticks::before { top: 0; }
.slate__sticks::after { bottom: 0; background: repeating-linear-gradient(55deg, #ECEBE7 0 15px, #121213 15px 30px); }
.slate__board { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 20px; }
.slate__mono {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 6.5rem; line-height: .78;
  color: #FF4B2F; padding-right: 18px; border-right: 1px solid rgba(236, 235, 231, .2);
}
.slate__fields { margin: 0; align-self: center; }
.slate__fields > div { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(236, 235, 231, .16); }
.slate__fields > div:last-child { border-bottom: 0; }
.slate dt { font-size: .75rem; font-weight: 500; line-height: 1.25; opacity: .75; padding-top: .2em; }
.slate dd { margin: 0; font-weight: 600; font-size: .95rem; }
.about__title { max-width: 18ch; }
@media (min-width: 400px) {
  .slate__board { gap: 20px; padding: 22px; }
  .slate__mono { font-size: 7.5rem; padding-right: 20px; }
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
.contact__direct .btn--xl { width: 100%; margin-top: 10px; }
.mail { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.mail__label { margin: 0 0 4px; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.mail__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; }
.mail__addr {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 1.2rem; font-weight: 650; color: var(--ink); text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere;
}
.copy__done { display: none; }
[data-copied] .copy__idle { display: none; }
[data-copied] .copy__done { display: inline; }

.form { background: var(--paper-2); border: 1px solid var(--line); padding: 22px 18px; }
.form__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.form__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 650; font-size: .95rem; margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 2px;
}
.field ::placeholder { color: var(--ink-3); opacity: 1; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field__err { display: none; margin: 6px 0 0; color: var(--accent-ink); font-size: .875rem; font-weight: 600; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: var(--accent); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; min-height: 52px; }
@media (min-width: 768px) { .form { padding: 30px; } }
@media (min-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .contact__direct .btn--xl { width: auto; min-width: 360px; }
}

/* ---------- Footer ---------- */
.foot { padding: 52px 0 calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot__mark {
  display: flex; align-items: center; margin: 0 0 24px;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.75rem, 12vw, 7rem); line-height: .8; letter-spacing: -.01em; color: var(--ink);
}
.foot__mark .brand__cut { width: .045em; height: .82em; margin: 0 .07em; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.foot__row p { margin: 0; }
.foot__row a { color: var(--ink); text-underline-offset: 3px; }
.foot__row--small { font-size: .8125rem; }
.foot .mono { font-size: .75rem; font-weight: 500; color: var(--ink-3); }
/* A list whose items are separated by a dot; the dot that would start a line is clipped away */
.dots { overflow: hidden; }
.dots__list { display: flex; flex-wrap: wrap; margin-left: -1.2em; }
.dots__list > * { white-space: nowrap; }
.dots__list > *::before { content: "·"; display: inline-block; width: 1.2em; text-align: center; color: var(--ink-3); }
/* Email and WhatsApp: two finger-sized rows on phones, one line with a dot on wider screens */
.foot__links { display: grid; width: 100%; }
.foot__links a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot__links a + a { border-top: 1px dashed var(--line); }
/* Local landing pages: a row of links, one per trade (and "Inicio" on the pages themselves) */
.foot__label { font-family: var(--f-mono); font-stretch: 87.5%; font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.foot__local { align-items: center; }
.foot__local .foot__links a { min-width: 44px; }
.foot__links a[aria-current="page"] { font-weight: 700; text-decoration: none; }
@media (min-width: 560px) {
  .foot__links { display: flex; width: auto; }
  .foot__links a + a { border-top: 0; }
  .foot__links a + a::before { content: "·"; display: inline-block; width: 1.2em; text-align: center; color: var(--ink-3); text-decoration: none; }
}

/* ---------- Mobile WhatsApp dock: after the hero button scrolls away; hidden at the contact
   section, the footer, while the menu is open and while a sample is playing ---------- */
.dock { display: none; }
@media (max-width: 759px) {
  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); visibility: hidden;
    transition: transform .25s ease, background-color .2s ease, visibility 0s linear .25s;
  }
  .dock[data-show] { transform: none; visibility: visible; transition: transform .25s ease, background-color .2s ease, visibility 0s; }
  /* Over the dark samples room the dock turns dark too, instead of a bright strip */
  .dock[data-on-dark] { background: #0B0C0D; border-top-color: rgba(236, 235, 231, .16); }
  .dock .btn { min-height: 50px; }
  /* color-mix() is checked too: Safari 15.4-16.1 has the blur but not color-mix(), and there the
     background would turn fully transparent */
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) and (background: color-mix(in srgb, red 50%, blue)) {
    .dock { background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
    .dock[data-on-dark] { background: rgba(11, 12, 13, .8); }
  }
}
