/* ============================================================
   web-replica-pieterkoopt v2 — RECONSTRUIDO con valores medidos
   en vivo del DOM de pieterkoopt.nl (Playwright, 1440x900):
   body #171C1C · texto #D4C6B9 · panel verde #7A8B69 r9 ·
   tarjetas #6E7D5F 420x350 r9 · navbar 1404x52 borde #706D66 r6 ·
   headings 72/54/42px grotesca + 2ª línea serif itálica ·
   tarjetas stack #171C1C 1287x480 r6 · links footer 30px.
   ============================================================ */

:root {
  /* Paleta corporativa PGK (tailwind-design-system) */
  --ink:   #08170f;   /* fondo (PGK darker) */
  --green: #0e291a;   /* panel grande (PGK dark) */
  --gcard: #1b4d32;   /* tarjetas uc (PGK accent) */
  --gold:  #C9A96E;   /* acento PGK */
  --grey:  #6B7268;   /* bordes secundarios */
  --beige: #E9E4D8;   /* texto crema */
  --paper: #F2EEE3;   /* secciones claras */

  --f-grot: "Jost", Arial, Helvetica, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-mono: "Jost", Arial, Helvetica, sans-serif;

  --r-panel: 9px; --r-bar: 6px; --r-btn: 3px;
  --ease-site: cubic-bezier(.509,.188,.041,.989);
  --ease-roll: cubic-bezier(.16,1,.3,1);
  --page-pad: 18px;
  --ecosystem-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--beige);
  font-family: var(--f-grot);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 300;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Ecosistema PGK ---------- */
.pgk-ecosystem {
  position: fixed; inset: 0 0 auto 0; z-index: 110; min-height: var(--ecosystem-h);
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 32px);
  padding: 7px var(--page-pad); background: var(--ink); border-bottom: 1px solid rgba(201,169,110,.18);
  font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
}
.pgk-ecosystem a { color: rgba(233,228,216,.62); transition: color .2s ease; }
.pgk-ecosystem a:hover, .pgk-ecosystem a.is-active { color: var(--gold); }

/* ---------- Tipografía medida ---------- */
.heading-l {           /* 72px, panel verde + stories */
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400; line-height: 1; letter-spacing: -0.025em;
}
.hero h1 {             /* 54px */
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400; line-height: 1.02; letter-spacing: -0.025em;
}
.heading-s {           /* 42px, tarjetas uc + footer */
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.005em;
}
.paragraph-m { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.7; max-width: 36em; }
.alt-heading {        /* segunda línea: serif itálica — patrón firma */
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.mono { font-family: var(--f-mono); font-size: clamp(11px, .75vw, 13px); font-weight: 400; letter-spacing: .12em; }

/* FOUC reveal */
html.js [data-gsap-reveal] { visibility: hidden; will-change: transform, opacity; }
html.js [data-gsap-reveal] .line { display: block; overflow: hidden; }

/* ---------- Navbar (medida: 1404x52 @18,18 · borde 1px grey · r6) ---------- */
.navbar {
  position: fixed; top: calc(var(--ecosystem-h) + var(--page-pad)); left: var(--page-pad); right: var(--page-pad);
  z-index: 90; height: 52px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border: 1px solid rgba(201,169,110,.45);
  border-radius: var(--r-bar);
  background: rgba(8,23,15,.62);
  backdrop-filter: blur(12px);
  transition: top .4s var(--ease-site), height .4s var(--ease-site);
}
.navbar.is-nav-small { top: calc(var(--ecosystem-h) + 8px); height: 44px; }
.navbar_col { display: flex; align-items: center; gap: 10px; height: 100%; }
.navbar_col.is-left { justify-content: flex-start; padding-left: 8px; }
.navbar_col.is-center { justify-content: center; gap: 4px; }
.navbar_col.is-right { justify-content: flex-end; padding-right: 8px; }
.brand { font-weight: 400; font-size: 14px; letter-spacing: .08em; padding: 0 8px; }
.brand sup { font-size: 8px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  font-family: var(--f-mono); font-size: 12px; padding: 4px 6px;
  border-radius: var(--r-btn); color: rgba(212,198,185,.6);
}
.lang-switch a.is-active { background: rgba(212,198,185,.1); color: var(--beige); }

/* Sound toggle + ecualizador */
.sound-toggle {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  border: none; background: none; padding: 6px; color: var(--beige);
}
.sound-bars { display: flex; gap: 3px; height: 14px; align-items: flex-end; }
.sound-icon_mask { width: 3px; height: 10%; background: var(--beige); border-radius: 2px; }
.sound-state { font-family: var(--f-mono); font-size: 11px; }
.sound-state .is-off { display: none; }
body:not(.sound-on) .sound-state .is-on { display: none; }
body:not(.sound-on) .sound-state .is-off { display: block; }

/* ---------- Botones roll-up por caracteres (v2: duplicado real recortado) ----------
   La técnica anterior (text-shadow 1.3em) hacía visible el duplicado de los
   diacríticos polacos (ż ą ę) dentro del padding del botón. Ahora cada carácter
   tiene su propia ventana con overflow:hidden y el duplicado real se recorta. */
.btn-animate-chars [data-button-animate-chars] {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.btn-animate-chars .ch {
  display: inline-block;
  overflow: hidden;
  height: 1.45em;              /* ventana de UNA línea con aire para diacríticos */
  line-height: 1.45em;
  vertical-align: top;
}
.btn-animate-chars .ch-in {
  display: block;
  transform: translateY(0) rotate(.001deg);
  transition: transform .6s var(--ease-roll);
  will-change: transform;
}
.btn-animate-chars .ch-in i {
  display: block;
  font-style: normal;
  height: 1.45em;
  line-height: 1.45em;
}
.btn-animate-chars:hover .ch-in {
  transform: translateY(-1.45em) rotate(.001deg);
}
.btn-animate-chars .ch.sp { width: .35em; }
.btn-animate-chars {
  position: relative; display: inline-flex; align-items: center;
  height: 42px; padding: 0 18px; border-radius: var(--r-btn);
  background: rgba(212,198,185,.05);
  border: 1px solid transparent;
  font-family: var(--f-grot); font-size: clamp(12px, .9vw, 14px); font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; color: inherit;
}
.btn-animate-chars [data-button-animate-chars] {
  position: relative; display: inline-block; vertical-align: top;
}
/* El roll-up real lo hacen .ch/.ch-in definidos arriba; aquí no hay text-shadow
   para no duplicar diacríticos polacos (ż ą ę) como fantasmas. */
.btn-animate-chars__bg {
  position: absolute; inset: 0; border-radius: var(--r-btn);
  background: currentColor; opacity: 0;
  transition: opacity .25s ease, inset .6s var(--ease-roll);
}
.btn-animate-chars:hover .btn-animate-chars__bg { opacity: .08; inset: .2em; }
.btn-animate-chars.is-solid { background: var(--beige); color: var(--ink); }
.btn-animate-chars.is-solid .btn-animate-chars__bg { background: var(--ink); }

/* ---------- Intro (firma + audio) ---------- */
.intro-content {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 44px; background: var(--ink);
}
.intro-signature { width: min(420px, 70vw); color: var(--beige); }
.intro-signature path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.intro-choice { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Transición páginas ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: 180; display: none;
  align-items: stretch; justify-content: center;
}
.page-transition_column {
  flex: 1; background: var(--ink); opacity: 0;
  border-right: 1px solid rgba(212,198,185,.05);
}
.page-transition_column:last-child { border-right: none; }

/* ---------- HERO (medido: video full · h1 @48,576 · btn @48,810 · callout y833) ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  background: var(--ink);
  clip-path: polygon(0% 50%, 100% 50%, 100% 50%, 0% 50%);
  will-change: clip-path;
  overflow: hidden;
}
.video-container {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%);
  will-change: transform, clip-path;
}
.media-synth {
  position: absolute; inset: -12%;
  background:
    radial-gradient(55% 75% at 28% 32%, rgba(122,139,105,.38), transparent 62%),
    radial-gradient(45% 55% at 74% 68%, rgba(212,198,185,.20), transparent 66%),
    radial-gradient(100% 100% at 50% 50%, #202727 0%, #121616 72%);
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.15) translate(-2.5%,-2%); }
}
.grain {
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 56px 48px;
}
.hero-inner h1 { max-width: 12.5em; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; align-items: center; }
.hero-callout {
  position: absolute; right: 48px; bottom: 56px; z-index: 2;
  text-align: right; color: rgba(212,198,185,.85);
  max-width: 300px;
}

/* ---------- USP: panel verde pinned + tarjetas que SUBEN una a una y se apilan ----------
   Coreografía medida en la original: panel fijo (y=18, 864px) durante TODA la sección
   (3582px); 3 tarjetas suben desde bajo el viewport, cada una en su segmento de
   ~900px de scroll, y aterrizan apiladas con rot -3°/0°/+3° y x 687/798/875. ---------- */
.usp-section { position: relative; height: 270vh; }
.usp-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.cta-wrap {
  position: absolute; inset: var(--page-pad);
  background: var(--green);
  border: 1px solid rgba(201,169,110,.28);
  border-radius: var(--r-panel);
  color: var(--beige);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 117px;
}
.cta-wrap .heading-l { max-width: 480px; }
.cta-wrap .paragraph-m { max-width: 480px; margin-top: 40px; color: rgba(233,228,216,.82); }
.cta-wrap .btn-animate-chars { margin-top: 40px; color: var(--beige); }

.uc-stack {
  position: absolute; left: calc(50% - 100px); top: 270px;
  width: 440px; height: 330px; z-index: 3;
}
.uc-card {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #173a28, var(--ink));
  border: 1px solid rgba(201,169,110,.45);
  border-radius: var(--r-panel);
  padding: 28px 30px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px;
  color: var(--beige); cursor: pointer;
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 0 18px 40px rgba(4,10,7,.5);
  transition: border-color .25s var(--ease-site), background .25s var(--ease-site), box-shadow .25s var(--ease-site);
}
.uc-card:hover, .uc-card:focus-visible {
  background: linear-gradient(145deg, #215238, #0a1d13);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(4,10,7,.62);
  outline: none;
}
.uc-card .mono { color: var(--gold); opacity: .9; }
.uc-card .heading-s { font-size: clamp(26px, 2.5vw, 34px); text-transform: uppercase; }
.uc-card .alt-heading { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; opacity: .92; max-width: 22em; }
.uc-card-cta {
  margin-top: auto; color: var(--gold); font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .04em;
}
.uc-card-cta b { display: inline-block; font-size: 17px; margin-left: 5px; transition: transform .25s var(--ease-site); }
.uc-card:hover .uc-card-cta b, .uc-card:focus-visible .uc-card-cta b { transform: translate(3px,-3px); }

/* ---------- STACKING CARDS (medidas: 1287x480 · #171C1C · r6 · margen 77) ---------- */
.stack-section { padding-top: 0; }
.stack-head {
  padding: 100px 77px 40px 77px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  flex-wrap: wrap;
}
.stack-head .heading-l { max-width: 520px; }
.stack-head .paragraph-m { max-width: 400px; color: rgba(233,228,216,.8); }
/* Pila sticky: cada tarjeta clavada; la siguiente sube POR ENCIMA de la
   anterior y la anterior se hunde un poco hacia atrás. Sin huecos. */
.slide {
  position: sticky; top: 0;
  height: 100vh; padding: 0 77px;
  display: flex; align-items: center;
  z-index: var(--z, 1);
}
.slide .content-wrapper { width: 100%; }
.stacking-card {
  width: 100%; height: min(540px, calc(100vh - 96px)); min-height: 500px;
  background: var(--green);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: var(--r-bar);
  padding: 32px 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .88fr); gap: 42px; align-items: stretch;
  overflow: hidden;
  backface-visibility: hidden; will-change: transform;
  transform-style: preserve-3d;
}
.stacking-card {
  position: relative; z-index: var(--z, 1);
}
.stacking-card_info-wrap { display: flex; flex-direction: column; justify-content: flex-start; height: 100%; }
.card-number {
  display: flex; align-items: center; gap: 20px;
  font-size: 84px; font-weight: 400; line-height: 1; letter-spacing: -0.02em;
  color: var(--beige);
}
.card-number::after {
  content: ""; display: block; flex: 1; max-width: 220px;
  height: 1px; background: rgba(201,169,110,.45);
}
.stacking-card_info { margin-top: 24px; max-width: 440px; }
.stacking-card_info .heading-s { margin: 0 0 18px 0; font-size: clamp(32px, 3vw, 44px); }
.stacking-card_info .paragraph-m { font-size: clamp(16px, 1.1vw, 18px); color: rgba(212,198,185,.88); max-width: 400px; }
.stacking-card_media {
  width: 100%; height: 100%; min-height: 0; align-self: stretch; border-radius: var(--r-btn);
  overflow: hidden; position: relative;
  background: var(--gcard);
}
.stacking-card_media img {
  width: 100%; height: 100%; object-fit: cover;
}
.stacking-card_media .grain { opacity: .12; }

/* ---------- STORIES: video full-bleed con parallax + heading (medido) ---------- */
.stories-cta {
  position: relative; height: 1350px; overflow: hidden;
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  margin: var(--page-pad) var(--page-pad) 0 var(--page-pad);
  color: var(--beige);
}
.image-parallax_media {
  position: absolute; left: 0; top: -20%; width: 100%; height: 140%;
  background: var(--gcard);
  will-change: transform;
}
.image-parallax_media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.image-parallax_media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,23,15,.88) 22%, rgba(8,23,15,.25) 65%, rgba(8,23,15,.45));
}
.stories-cta .grain { opacity: .08; }
.fade-bottom-custom {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.stories-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 120px;
}
.stories-content .heading-l { max-width: 593px; }
.stories-content .paragraph-m { max-width: 480px; margin-top: 32px; color: rgba(233,228,216,.85); }
.stories-content .btn-animate-chars { margin-top: 40px; color: var(--beige); }

/* ---------- Equipo y contacto PGK ---------- */
.identity-section { padding: 110px 77px; background: var(--paper); color: var(--ink); }
.identity-intro { max-width: 980px; }
.identity-intro .mono, .contact-rapport .mono { color: #77653d; }
.identity-intro .heading-l, .contact-rapport .heading-l { margin-top: 18px; color: var(--green); }
.identity-intro .paragraph-m, .contact-rapport .paragraph-m { margin-top: 24px; color: rgba(8,23,15,.78); }
.team-rapport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.team-rapport-card { min-width: 0; overflow: hidden; background: var(--green); color: var(--beige); border: 1px solid rgba(201,169,110,.34); border-radius: var(--r-panel); }
.team-rapport-card > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
/* El original de Kenyi termina en la línea del cabello: añadimos aire superior para que el retrato no parezca recortado. */
.team-rapport-card.is-kenyi > img { box-sizing: border-box; padding-top: 18px; background: #1e1e1e; object-position: center top; }
.team-rapport-card > div { padding: 24px; }
.team-rapport-card .mono { color: var(--gold); font-size: 10px; }
.team-rapport-card h3 { margin-top: 11px; font-size: clamp(29px, 2.3vw, 38px); line-height: 1; font-weight: 400; }
.team-role { min-height: 48px; margin-top: 10px; color: var(--gold); font-family: var(--f-serif); font-size: 20px; font-style: italic; line-height: 1.2; }
.team-rapport-card p:not(.team-role) { margin-top: 16px; color: rgba(233,228,216,.84); font-size: 15px; line-height: 1.6; }
.team-rapport-card ul { margin: 18px 0; padding-left: 18px; list-style: disc; color: rgba(233,228,216,.72); font-size: 13px; line-height: 1.55; }
.team-rapport-card a { color: var(--gold); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.contact-rapport { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 68px; padding: 110px 77px; background: var(--green); color: var(--beige); }
.contact-rapport .heading-l { color: var(--beige); }
.contact-rapport .paragraph-m { color: rgba(233,228,216,.82); }
.contact-rapport dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 38px 0 0; }
.contact-rapport dl div { padding-top: 12px; border-top: 1px solid rgba(233,228,216,.18); }
.contact-rapport dt { color: var(--gold); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; }
.contact-rapport dd { margin: 6px 0 0; color: var(--beige); font-size: 15px; line-height: 1.45; }
.contact-rapport dd a { text-decoration: underline; text-underline-offset: 3px; }
.contact-rapport dd small { display: block; margin-top: 5px; color: rgba(233,228,216,.56); font-size: 11px; line-height: 1.35; }
.contact-rapport__form { align-self: start; padding: 28px; background: var(--ink); border: 1px solid rgba(201,169,110,.36); border-radius: var(--r-panel); }
.contact-rapport__form label:not(.contact-consent) { display: block; margin: 0 0 7px; color: var(--gold); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.contact-rapport__form input:not([type="checkbox"]), .contact-rapport__form textarea { width: 100%; margin: 0 0 18px; padding: 12px 13px; border: 1px solid rgba(233,228,216,.28); border-radius: 3px; background: rgba(233,228,216,.06); color: var(--beige); font: inherit; }
.contact-rapport__form textarea { resize: vertical; min-height: 132px; }
.contact-sensitive-warning { margin: -4px 0 16px; padding: 10px 12px; border-left: 2px solid var(--gold); background: rgba(201,169,110,.09); color: rgba(233,228,216,.84); font-size: 12px; line-height: 1.5; }
.contact-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 15px; color: rgba(233,228,216,.78); font-size: 13px; line-height: 1.5; }
.contact-consent input { margin-top: 4px; accent-color: var(--gold); }
.contact-consent a { color: var(--gold); text-decoration: underline; }
.ohnohoney { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-rapport__notice, .contact-rapport__status { margin-top: 12px; color: rgba(233,228,216,.57); font-size: 12px; line-height: 1.5; }
.contact-rapport__status { min-height: 1.5em; color: var(--gold); }
.contact-rapport__status[data-state="success"] { color: #a6d8a0; }
.contact-rapport__status[data-state="error"] { color: #ffb4a8; }

/* ---------- FOOTER (medido: #171C1C · heading 42 · links 30px) ---------- */
.site-footer { background: var(--ink); padding: 64px 21px 32px 21px; }
.footer-top {
  display: grid; grid-template-columns: 574px 1fr; gap: 140px;
  padding: 0 3px;
}
.footer-col.is-left .heading-s { max-width: 422px; }
.footer-col.is-left .btn-animate-chars { margin-top: 24px; }
.footer-signature { width: 144px; margin-top: 28px; color: var(--beige); }
.footer-signature path { fill: none; stroke: currentColor; stroke-width: 2; }
.footer-note { margin-top: 18px; max-width: 55ch; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; color: rgba(212,198,185,.75); }
.footer-menu { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer-menu a {
  font-size: 30px; font-weight: 400; letter-spacing: -0.015em;
  line-height: 1.2; transition: opacity .3s var(--ease-site);
}
.footer-menu a:hover { opacity: .55; }
.footer-bottom {
  margin-top: 72px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(212,198,185,.14); color: var(--grey);
}
.pgk-legal-footer {
  max-width: 960px; margin: 46px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(212,198,185,.14); color: rgba(233,228,216,.55);
  font-size: 14px; line-height: 1.6;
}
.pgk-legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.pgk-legal-footer a { color: var(--gold); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }

/* ---------- Páginas legales: mismo shell, lectura en papel ---------- */
.legal-rapport { min-height: 72vh; padding: calc(var(--ecosystem-h) + 112px) 20px 90px; background: var(--paper); color: var(--ink); }
.legal-rapport__inner { width: min(900px, 100%); margin: 0 auto; }
.legal-rapport .container { max-width: none !important; padding: 0 !important; }
.legal-rapport h1, .legal-rapport h2 { font-family: var(--f-serif); font-weight: 400; line-height: 1.08; }
.legal-rapport h1 { margin: 0 0 38px; color: var(--green); font-size: clamp(42px, 6vw, 74px); letter-spacing: -.025em; }
.legal-rapport h2 { margin: 48px 0 14px; font-size: clamp(28px, 3vw, 38px); color: var(--green); }
.legal-rapport p, .legal-rapport li { color: rgba(8,23,15,.8); }
.legal-rapport p { margin: 0 0 16px; }
.legal-rapport ul { list-style: disc; padding-left: 22px; margin: 0 0 20px; }
.legal-rapport li { margin: 8px 0; }
.legal-rapport strong { font-weight: 500; color: var(--ink); }

/* ---------- Popup (medido: 162x84 · rgba(23,28,28,.4) · r6) ---------- */
.popup-comp {
  position: fixed; right: var(--page-pad); bottom: calc(var(--page-pad) + 12px); z-index: 120;
  display: flex; align-items: stretch; gap: 8px;
  background: rgba(23,28,28,.4);
  border-radius: var(--r-bar);
  padding: 6px;
}
.popup-text { overflow: hidden; }
.popup-text-inner {
  opacity: 0; pointer-events: none;
  writing-mode: vertical-rl; max-height: 210px;
  font-family: var(--f-mono); font-size: 11px; color: var(--beige);
}
.popup-text.open .popup-text-inner.visible { pointer-events: auto; }
.icon-button {
  width: 44px; height: 44px; border-radius: var(--r-btn);
  background: rgba(212,198,185,.08);
  display: grid; place-items: center; color: var(--beige);
  cursor: pointer; border: none;
  transition: background .25s ease, transform .3s var(--ease-roll);
}
.icon-button:hover { background: rgba(212,198,185,.2); transform: translateY(-2px); }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.32); }

/* ---------- Casos ---------- */
.casos-hero {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 48px 64px 48px;
}
.casos-grid {
  padding: 24px 18px 140px 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.case-card {
  position: relative; border-radius: var(--r-panel); overflow: hidden;
  aspect-ratio: 3/4; background: var(--gcard);
  border: 1px solid var(--ink);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink);
  transition: transform .35s var(--ease-roll);
}
.case-card:hover { transform: translateY(-6px); }
.case-card .mono { font-size: 11px; opacity: .75; }
.case-card .heading-s { font-size: 30px; text-transform: uppercase; }
.case-card .case-big {
  font-family: var(--f-serif); font-style: italic;
  font-size: 96px; line-height: .9; opacity: .35;
}
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 88px; height: 88px; border-radius: 999px;
  background: var(--green); color: var(--ink);
  display: grid; place-items: center; opacity: 0;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .media-synth { animation: none; }
  .btn-animate-chars [data-button-animate-chars] span { transition: none; }
  .navbar { transition: none; }
}

/* ---------- Tablet: navbar sin menú central (la original lo oculta <992) ---------- */
@media (max-width: 991.98px) {
  .navbar_col.is-center { display: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
  .navbar_col.is-center { display: none; }
  .hero-inner, .hero-callout { padding-left: 20px; padding-right: 20px; }
  .hero-callout { display: none; }
  /* USP en móvil: panel arriba + naipes cayendo encima (mismo patrón que desktop,
     adaptado a 100vh: panel de contenido y pila de naipes centrada debajo) */
  .usp-section { height: 320vh; }
  .usp-sticky { position: sticky; top: 0; height: 100vh; }
  .cta-wrap {
    position: absolute; inset: 10px;
    padding: 32px 22px;
    justify-content: flex-start; align-items: flex-start;
    display: flex; flex-direction: column;
    padding-top: 72px;
  }
  .cta-wrap .heading-l { font-size: 38px; }
  .cta-wrap .paragraph-m { font-size: 18px; margin-top: 18px; }
  .cta-wrap .btn-animate-chars { margin-top: 20px; }
  .uc-stack {
    position: absolute; left: 50%; bottom: 6px;
    width: 270px; height: 210px;
    transform: translateX(-50%);
    z-index: 3;
  }
  .uc-card { position: absolute; inset: 0; padding: 17px; gap: 7px; }
  .uc-card .heading-s { font-size: 23px; }
  .uc-card .alt-heading { font-size: 15px; line-height: 1.42; }
  .uc-card-cta { font-size: 10px; }
  .whatsapp-float { right: 12px; bottom: 12px; width: 38px; height: 38px; }
  @media (max-height: 700px) {
    .cta-wrap { padding-top: 58px; }
    .cta-wrap .paragraph-m { font-size: 16px; line-height: 1.45; }
    .uc-stack { width: 250px; height: 188px; bottom: 4px; }
    .uc-card { padding: 14px; }
    .uc-card .heading-s { font-size: 21px; }
    .uc-card .alt-heading { font-size: 14px; }
  }
  .stack-head { padding: 64px 20px 24px 20px; }
  .slide { padding: 0 18px; }
  .stacking-card { grid-template-columns: 1fr; height: auto; padding: 24px; gap: 24px; }
  .stacking-card_media { width: 100%; height: 260px; }
  .card-number { font-size: 52px; }
  .stories-cta { margin: 10px 10px 0 10px; height: 900px; }
  .stories-content { padding: 0 24px; }
  .identity-section, .contact-rapport { padding: 72px 20px; }
  .team-rapport-grid, .contact-rapport { grid-template-columns: 1fr; }
  .team-rapport-grid { gap: 16px; margin-top: 34px; }
  .team-rapport-card { display: grid; grid-template-columns: 112px 1fr; }
  .team-rapport-card > img { height: 100%; aspect-ratio: auto; }
  .team-rapport-card > div { padding: 18px; }
  .team-rapport-card h3 { font-size: 29px; }
  .team-role { min-height: 0; font-size: 18px; }
  .contact-rapport { gap: 38px; }
  .contact-rapport dl { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .contact-rapport__form { padding: 22px 18px; }
  .site-footer { padding: 48px 14px 24px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-menu a { font-size: 24px; }
  .casos-hero { padding: 110px 20px 40px 20px; }
  .casos-grid { grid-template-columns: 1fr; padding: 12px 10px 90px 10px; }
  .cursor { display: none; }
}

/* ---------- HERO: vídeo amanecer/atardecer ---------- */
.hero video.hero-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  object-fit: cover; opacity: .8;
}
.hero .hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,23,15,.78) 8%, rgba(8,23,15,.12) 55%, rgba(8,23,15,.35));
}

/* ---------- Zakres (analiza przed zakupem) ---------- */
.zakres-section { padding: 110px 77px; }
.zakres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.zakres-card {
  background: var(--green);
  border: 1px solid rgba(201,169,110,.22);
  border-radius: var(--r-panel);
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px;
  color: var(--beige);
}
.zakres-card .mono { color: var(--gold); }
.zakres-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.zakres-card p { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.7; color: rgba(233,228,216,.9); }
.zakres-card .note {
  margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(233,228,216,.16);
  font-size: 12px; color: rgba(233,228,216,.6);
}
.article-byline {
  margin-top: 22px; color: rgba(233,228,216,.72); font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
}
.article-byline strong { color: var(--gold); font-weight: 400; }
.article-hero { min-height: 48vh; }
.article-breadcrumb { display: flex; gap: 10px; margin-bottom: 28px; color: rgba(233,228,216,.55); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.article-breadcrumb a { color: var(--gold); }
.article-library .guide-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 30px; }
.article-filter { padding: 10px 15px; border: 1px solid rgba(233,228,216,.22); background: transparent; color: rgba(233,228,216,.72); border-radius: var(--r-btn); font-family: var(--f-grot); font-size: 14px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.article-filter:hover, .article-filter.is-active { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.article-library-card { min-height: 330px; padding: 28px 30px; border-color: rgba(201,169,110,.3); background: rgba(233,228,216,.025); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.article-library-card:hover { background: rgba(233,228,216,.07); border-color: var(--gold); transform: translateY(-4px); }
.article-library-card[hidden] { display: none; }
.article-library-card h3 { max-width: 28ch; font-family: var(--f-serif); font-size: clamp(27px, 2.25vw, 36px); font-weight: 400; line-height: 1.1; }
.article-library-card p { max-width: 50ch; }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.article-tags span { padding: 4px 8px; background: rgba(233,228,216,.06); color: rgba(233,228,216,.62); font-family: var(--f-mono); font-size: 11px; }
.article-library-read { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(233,228,216,.16); color: rgba(233,228,216,.58); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.article-library-read b { color: var(--gold); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq-section { padding: 40px 77px 130px 77px; }
.faq-list { max-width: 860px; margin: 40px auto 0 auto; }
.faq-item {
  border: 1px solid rgba(201,169,110,.22);
  border-radius: var(--r-btn);
  margin-bottom: 14px; overflow: hidden;
  background: rgba(14,41,26,.55);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 26px;
  font-size: clamp(16px, 1.1vw, 18px); font-weight: 400; color: var(--beige);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--f-mono); color: var(--gold);
  font-size: 18px; transition: transform .3s var(--ease-site);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 26px 22px 26px;
  font-size: clamp(15px, 1vw, 17px); line-height: 1.7; color: rgba(233,228,216,.8);
}

/* ---------- Case cards con foto ---------- */
.case-card { overflow: hidden; }
.case-card .photo {
  position: absolute; inset: 0;
}
.case-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-roll);
}
.case-card:hover .photo img { transform: scale(1.06); }
.case-card .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,23,15,.92) 12%, rgba(8,23,15,.15) 60%);
}
.case-card > *:not(.photo) { position: relative; z-index: 2; }

@media (max-width: 767px) {
  .zakres-section { padding: 64px 20px; }
  .zakres-grid { grid-template-columns: 1fr; }
  .article-hero { min-height: 0; padding: 92px 20px 30px; }
  .article-library .guide-stack { grid-template-columns: 1fr; gap: 16px; }
  .article-library-card { min-height: 0; padding: 24px 20px; }
  .article-filters { margin-top: 28px; }
  .article-filter { font-size: 13px; padding: 9px 12px; }
  .faq-section { padding: 24px 20px 90px 20px; }
}
