/* The Studio page (studio.html, en/studio.html), on top of site.css (its tokens, fonts, buttons, focus ring and the
   cover logo). A normal scrolling page, dark and sober: black, warm white and greys; the only colour is the logo's.
   No ambient motion. Until the Studio opens the page is only the teaser; the offer's rules wait for the full page. */
:root {
  --pared: rgba(250, 250, 244, .035);   /* the lift of a featured column */
  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --ancho: 1120px;
}
/* site.css locks the home to one screen for the journey; this page scrolls */
html, body { height: auto; overflow: visible; overscroll-behavior: auto; }
body.studio { font-size: 16px; line-height: 1.6; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

.studio-top, main > section, .studio-foot { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
section[id] { scroll-margin-top: 24px; }

/* ---------- top bar ---------- */
.studio-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 18px;
}
.studio-top .mark { font: 700 21px/1 var(--f-marca); text-decoration: none; padding: 8px 0; }
.studio-top .lang-switch { margin-right: -8px; }   /* the text lines up with the gutter; the padding is touch room */

/* ---------- the offer: one calm screen, the logo, creative web experiences, the contacts and the way back ---------- */
.teaser {
  min-height: min(760px, calc(100svh - 220px)); display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding-block: clamp(16px, 5vh, 64px);
}
.teaser-logo { width: min(68vw, 300px); aspect-ratio: 2.5 / 1.9; margin-bottom: clamp(22px, 5vh, 44px); }
.opening {
  display: flex; align-items: center; gap: 14px; margin: 0; color: var(--ui);
  font: 600 12.5px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase;
}
.opening::before, .opening::after { content: ""; width: clamp(24px, 6vw, 44px); height: 1px; background: var(--filo); }
.teaser h1 { margin: 20px 0 0; font: 700 clamp(34px, 5.6vw, 62px)/1.08 var(--f-marca); letter-spacing: -.015em; }
.teaser .lead {
  margin: 22px 0 0; max-width: 31em; color: var(--ui); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; text-wrap: balance;
}
.teaser .note { margin: 12px 0 0; color: var(--ui-dim); font-size: 15px; }
.teaser .call { margin: 30px 0 0; font: 600 clamp(19px, 2.2vw, 24px)/1.25 var(--f-marca); text-wrap: balance; }
.teaser .contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.teaser .ctas { margin-top: 22px; }
.teaser-page .studio-foot { margin-top: clamp(24px, 6vh, 64px); }

/* ---------- qué es (the full page, once the Studio opens) ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
  gap: clamp(28px, 5vw, 72px); padding-block: clamp(24px, 7vh, 88px) clamp(40px, 8vh, 96px);
}
.hero h1 {
  margin: 0; font: 700 clamp(28px, 3.5vw, 46px)/1.14 var(--f-marca); letter-spacing: -.015em; text-wrap: balance;
}
.hero .lead { margin: 22px 0 0; max-width: 32em; color: var(--ui); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.hero .ctas { justify-content: flex-start; margin-top: 30px; }
.hero-logo { width: 100%; max-width: 500px; aspect-ratio: 2.5 / 1.9; justify-self: center; }

.facts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 28px; margin: 0;
}
.facts div { border-top: 1px solid var(--filo); padding-top: 14px; }
.facts dt { font-weight: 600; line-height: 1.35; }
.facts dd { margin: 6px 0 0; color: var(--ui-dim); font-size: 15px; line-height: 1.5; }

/* ---------- sections ---------- */
.block { padding-top: clamp(72px, 12vh, 136px); }
.block h2 { margin: 0; font: 700 clamp(28px, 3.2vw, 40px)/1.15 var(--f-marca); letter-spacing: -.01em; text-wrap: balance; }
.block .intro { margin: 12px 0 0; max-width: 40em; color: var(--ui); }

/* ---------- packs and plans: one row of columns under a rule; the column to act on is outlined ---------- */
.offer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; }
.offer-item {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 22px 24px; border-top: 1px solid var(--filo); border-radius: 0;
}
.offer-item.featured {
  border-top-color: transparent; outline: 1px solid var(--blanco); outline-offset: -1px; border-radius: 20px;
  background: var(--pared);
}
.badge {
  position: absolute; top: 0; left: 22px; transform: translateY(-50%); margin: 0;
  background: var(--blanco); color: var(--negro); font: 600 12.5px/1 var(--f-ui); padding: 7px 12px; border-radius: 999px;
}
.offer-name { margin: 0; font: 700 22px/1.2 var(--f-marca); }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price .amount { font: 700 clamp(30px, 2.6vw, 36px)/1 var(--f-marca); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--ui-dim); font-size: 14px; }
.alt-price { margin: -8px 0 0; color: var(--ui-dim); font-size: 14px; }
.features { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; color: var(--ui); font-size: 15px; line-height: 1.45; }
.features li { position: relative; padding-left: 16px; }
.features li::before {
  content: ""; position: absolute; left: 1px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--ui-dim);
}
.licence { margin: 0; color: var(--ui-dim); font-size: 14px; }
.licence-note { margin: 22px 0 0; color: var(--ui-dim); font-size: 14px; }

/* placeholders: focusable, inert, dashed so they read as «not yet» */
.offer-item > .btn, .soon-field { margin-top: auto; }
.offer-item > .btn { align-self: flex-start; }
.btn.soon[aria-disabled="true"] { background: transparent; color: var(--ui); border-style: dashed; cursor: not-allowed; }
.btn.soon[aria-disabled="true"]:hover { border-color: var(--filo); }
.soon-field { display: grid; gap: 8px; justify-items: start; }
.soon-field label { font-size: 13px; color: var(--ui-dim); }
.soon-field input {
  width: 100%; min-height: 46px; padding: 12px 18px; border: 1px dashed var(--filo); border-radius: 999px;
  background: transparent; color: var(--blanco); font: 400 15px/1.2 var(--f-ui); cursor: not-allowed;
}
.soon-field input::placeholder { color: var(--ui-dim); opacity: 1; }

/* ---------- antes y después ---------- */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px 32px; margin-top: 40px; }
.pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-label { margin: 0 0 8px; color: var(--ui-dim); font-size: 13px; }
.pair img, .pair video { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--pared); }
.slot { aspect-ratio: 1; border: 1px dashed var(--filo); border-radius: 12px; }
.pair figcaption { grid-column: 1 / -1; color: var(--ui-dim); font-size: 13px; }

/* ---------- preguntas ---------- */
.block.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.faq { border-bottom: 1px solid var(--filo); }
.faq details { border-top: 1px solid var(--filo); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font: 600 17px/1.4 var(--f-ui);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; content: "+" / "";   /* decorative: the empty alternative keeps it out of the accessible name */
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--ui-dim); font: 400 24px/1 var(--f-ui);
}
.faq details[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
.faq details p { margin: 0 0 22px; max-width: 62ch; color: var(--ui); }

/* ---------- pie ---------- */
.studio-foot {
  margin-top: clamp(96px, 16vh, 176px); padding-top: 40px; padding-bottom: max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--filo);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
}
.studio-foot .wordmark { font-size: clamp(30px, 3.6vw, 44px); }
.brand-line { margin: 8px 0 0; color: var(--ui); font: 600 clamp(17px, 1.6vw, 20px)/1.3 var(--f-marca); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.foot-links > a { color: var(--ui); text-underline-offset: 4px; padding: 10px 0; }
.foot-links > a:hover { color: var(--blanco); }
.studio-foot .credits { flex-basis: 100%; justify-content: flex-start; }

@media (max-width: 1040px) {
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(76%, 340px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block.split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .offer { grid-template-columns: 1fr; row-gap: 20px; }
  .offer-item { padding-inline: 18px; }
  .badge { left: 18px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
}
