:root {
  --exp-ink: #1a2428;
  --exp-ink-soft: #536267;
  --exp-night: #0f191d;
  --exp-paper: #f1efe9;
  --exp-paper-soft: #fbfaf6;
  --exp-mist: #dfe6e5;
  --exp-line: rgba(26, 36, 40, .18);
  --exp-line-light: rgba(241, 239, 233, .24);
  --exp-copper: #c76f4f;
  --exp-copper-soft: #e2a087;
  --exp-blue: #91adb1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--exp-paper); }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--exp-paper);
  color: var(--exp-ink);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: inherit; }

.exp-shell {
  width: min(1260px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1260px, calc(100% - 72px));
  height: 68px;
  padding: 0 28px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(241, 240, 235, .48);
  color: var(--exp-paper);
}

.expedientes-header {
  position: fixed;
  top: 22px;
  border: 1px solid rgba(26, 36, 40, .3);
  border-radius: 2px;
  background: rgba(241, 239, 233, .84);
  color: var(--exp-ink);
  box-shadow: 0 12px 34px rgba(26, 36, 40, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  color: rgba(26, 36, 40, .84);
  font-size: 13px;
  text-decoration: none;
  transition: color .25s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--exp-copper);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--exp-copper); }

.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.expedientes-header .site-nav a.is-current { color: var(--exp-copper); }
.expedientes-header .site-nav a.is-current::after { transform: scaleX(1); transform-origin: left center; }

.expedientes-header .site-nav-general {
  padding: 7px 13px;
  border: 1px solid rgba(199, 111, 79, .72);
  border-radius: 999px;
  color: var(--exp-ink);
}

.expedientes-header .site-nav-general::after { display: none; }
.expedientes-header .brand-logo { filter: brightness(0) saturate(100%); }

.exp-section {
  position: relative;
  overflow: hidden;
}

[id^="expedientes-"], #contacto { scroll-margin-top: 108px; }

.exp-hero {
  min-height: max(720px, 100vh);
  padding: 150px 0 52px;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 24%, rgba(199, 111, 79, .14), transparent 27%),
    linear-gradient(115deg, #fbfaf6 0%, #f1efe9 64%, #e6e8e3 100%);
  color: var(--exp-ink);
}

.exp-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 36, 40, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 36, 40, .055) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .64) 60%, transparent 100%);
}

.exp-hero::after {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: 7%;
  width: 44vw;
  height: 120%;
  border-left: 1px solid rgba(26, 36, 40, .08);
  border-right: 1px solid rgba(26, 36, 40, .08);
  content: "";
  transform: skewX(-17deg);
  pointer-events: none;
}

.exp-hero-topline,
.exp-hero-footer,
.exp-block-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(26, 36, 40, .6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.exp-hero-topline { padding-bottom: 17px; border-bottom: 1px solid var(--exp-line); }

.exp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  min-height: 570px;
}

.exp-hero-copy { position: relative; z-index: 1; max-width: 700px; }

.exp-overline {
  margin: 0 0 20px;
  color: var(--exp-copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.exp-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--exp-ink);
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .95;
  text-wrap: balance;
}

.exp-lead {
  max-width: 590px;
  margin-top: 34px;
  color: var(--exp-ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.exp-lead p { margin: 0 0 10px; }

.exp-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  margin-top: 33px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(26, 36, 40, .5);
  color: var(--exp-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .3s ease, color .3s ease, border-color .3s ease;
}

.exp-hero-link:hover,
.exp-hero-link:focus-visible { gap: 48px; border-color: var(--exp-copper); color: var(--exp-copper); }

.exp-dossier-visual {
  position: relative;
  width: min(100%, 640px);
  justify-self: end;
  padding: 16px 17px 14px;
  border: 1px solid rgba(26, 36, 40, .32);
  background: var(--exp-night);
  box-shadow: 22px 22px 0 rgba(199, 111, 79, .13);
}

.exp-dossier-toolbar,
.exp-dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(241, 239, 233, .65);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.exp-dossier-toolbar { padding: 0 1px 13px; border-bottom: 1px solid rgba(241, 239, 233, .2); }
.exp-dossier-toolbar span:first-child { color: var(--exp-copper-soft); }
.exp-dossier-sheet { position: relative; margin: 15px 0 13px; overflow: hidden; aspect-ratio: 1.2 / 1; border: 1px solid rgba(241, 239, 233, .16); background: #ebe8df; }
.exp-dossier-svg { display: block; width: 100%; height: 100%; }
.exp-drawing-frame { stroke: rgba(26, 36, 40, .42); stroke-width: 1.5; }
.exp-drawing-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.exp-drawing-line-soft { stroke: rgba(26, 36, 40, .12); stroke-width: 13; }
.exp-drawing-line-main { stroke: var(--exp-copper); stroke-width: 3; stroke-dasharray: 160 13; animation: exp-drawing-trace 7s linear infinite; }
.exp-drawing-line-secondary { stroke: var(--exp-blue); stroke-width: 2; stroke-dasharray: 80 16; animation: exp-drawing-trace 9s linear infinite reverse; }
@keyframes exp-drawing-trace { to { stroke-dashoffset: -300; } }
.exp-drawing-axis { fill: none; stroke: rgba(26, 36, 40, .3); stroke-width: 1; stroke-dasharray: 4 8; }
.exp-drawing-dimension { fill: none; stroke: rgba(26, 36, 40, .48); stroke-width: 1; }
.exp-drawing-titlebox { stroke: rgba(26, 36, 40, .42); stroke-width: 1; }
.exp-drawing-titleline { fill: none; stroke: rgba(26, 36, 40, .28); stroke-width: 1; }
.exp-drawing-label { fill: rgba(26, 36, 40, .63); font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 1.1px; }
.exp-drawing-label-accent { fill: var(--exp-copper); }
.exp-drawing-node { fill: #fbfaf6; stroke: var(--exp-copper); stroke-width: 2; }
.exp-drawing-node-b { stroke: var(--exp-blue); }
.exp-dossier-stamp { position: absolute; right: 7%; bottom: 9%; padding: 9px 12px; border: 1px solid rgba(199, 111, 79, .72); color: var(--exp-copper); font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-align: center; text-transform: uppercase; transform: rotate(-8deg); }
.exp-dossier-footer { justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px; color: rgba(241, 239, 233, .52); }
.exp-dossier-footer span:last-child { margin-left: auto; color: var(--exp-copper-soft); }

.exp-proof-strip {
  display: grid;
  grid-template-columns: .72fr .82fr 1.46fr;
  margin-top: 20px;
  border-top: 1px solid var(--exp-line);
  border-bottom: 1px solid var(--exp-line);
}

.exp-proof-strip > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 66px;
  padding: 14px 18px 13px 0;
  border-right: 1px solid var(--exp-line);
}

.exp-proof-strip > div + div { padding-left: 18px; }
.exp-proof-strip > div:last-child { border-right: 0; }
.exp-proof-strip strong { color: var(--exp-ink); font-size: 21px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.exp-proof-strip span { color: var(--exp-ink-soft); font-size: 11px; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }

.exp-hero-footer { justify-content: flex-start; padding-top: 16px; border-top: 1px solid var(--exp-line); }
.exp-hero-footer > span:first-child { color: rgba(26, 36, 40, .82); }
.exp-hero-footer > span:last-child { margin-left: auto; }
.exp-hero-line { display: block; width: 80px; height: 1px; background: var(--exp-copper); }

.exp-block {
  padding: 112px 0 118px;
  background: var(--exp-paper);
}

.exp-block::before {
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 100%;
  background: var(--exp-line);
  content: "";
  opacity: .45;
}

.exp-block-intro { background: var(--exp-paper-soft); }
.exp-block-text { background: linear-gradient(118deg, #e7e4dc 0%, #f1efe9 72%); }
.exp-block-process { background: var(--exp-night); color: var(--exp-paper); }
.exp-block-gallery { background: var(--exp-paper-soft); }
.exp-block-cta { background: var(--exp-ink); color: var(--exp-paper); }

.exp-block-intro::after,
.exp-block-text::after {
  position: absolute;
  right: -7%;
  bottom: 7%;
  width: 43%;
  height: 28%;
  border-top: 1px solid rgba(199, 111, 79, .18);
  border-radius: 50%;
  content: "";
  transform: rotate(-10deg);
  pointer-events: none;
}

.exp-block-meta {
  justify-content: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--exp-line);
  color: var(--exp-copper);
}

.exp-block-process .exp-block-meta,
.exp-block-cta .exp-block-meta { border-color: var(--exp-line-light); color: var(--exp-copper-soft); }

.exp-block-meta span:first-child { min-width: 32px; }
.exp-block-meta span:last-child { color: inherit; opacity: .8; }

.exp-block-grid {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(42px, 8vw, 132px);
  padding-top: 42px;
}

.exp-block-heading { max-width: 360px; }
.exp-block-intro .exp-block-heading,
.exp-block-item-03 .exp-block-heading { padding-left: 22px; border-left: 2px solid var(--exp-copper); }

.exp-block-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(35px, 3.9vw, 64px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .98;
  text-wrap: balance;
}

.exp-block-intro .exp-block-heading h2 { font-size: clamp(32px, 3vw, 48px); }

.exp-block-heading .exp-overline { margin-bottom: 19px; color: var(--exp-copper); }
.exp-block-process .exp-block-heading .exp-overline,
.exp-block-cta .exp-block-heading .exp-overline { color: var(--exp-copper-soft); }

.exp-block-content { min-width: 0; max-width: 720px; }

.exp-block-item-04 .exp-block-grid { grid-template-columns: minmax(0, 1.38fr) minmax(220px, .62fr); }
.exp-block-item-04 .exp-block-heading { order: 2; justify-self: end; }
.exp-block-item-04 .exp-block-content { order: 1; }

.exp-copy {
  max-width: 720px;
  color: var(--exp-ink-soft);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}

.exp-block-intro .exp-copy { font-size: clamp(17px, 1.25vw, 20px); }

.exp-copy p { margin: 0 0 18px; }
.exp-copy p:last-child { margin-bottom: 0; }

.exp-block-process .exp-copy,
.exp-block-cta .exp-copy { color: rgba(241, 240, 235, .79); }

.exp-media {
  position: relative;
  overflow: hidden;
  margin: 38px 0 0;
  aspect-ratio: auto;
  border: 1px solid var(--exp-line);
  background: #c9d0d0;
}

.exp-media::after {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(255, 255, 255, .9);
  border-right: 1px solid rgba(255, 255, 255, .9);
  content: "";
  pointer-events: none;
}

.exp-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
  transform: scale(1.001);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.exp-media:hover img { transform: scale(1.015); }

.exp-data-plate {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  padding-top: 16px;
  border-top: 1px solid var(--exp-line);
  color: var(--exp-copper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
}

.exp-data-plate-rule { display: block; height: 1px; background: currentColor; opacity: .46; }
.exp-data-plate-value { grid-column: 1 / -1; color: var(--exp-ink-soft); font-weight: 600; }

.exp-block-process .exp-data-plate { border-color: var(--exp-line-light); }
.exp-block-process .exp-data-plate-value,
.exp-block-cta .exp-data-plate-value { color: rgba(241, 240, 235, .57); }

.exp-block-rule {
  width: 100%;
  height: 1px;
  margin-top: 78px;
  background: var(--exp-line);
}

.exp-block-process .exp-block-rule,
.exp-block-cta .exp-block-rule { background: var(--exp-line-light); }

.exp-empty {
  min-height: 680px;
  padding: 220px 0 120px;
  background: var(--exp-night);
  color: var(--exp-paper);
}

.exp-empty h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .98;
}

.exp-empty > .exp-shell > p:last-child { color: rgba(241, 240, 235, .65); font-size: 18px; }

.expedientes-footer {
  padding: 0;
  border-top: 0;
  background: #111b1f;
  color: var(--exp-paper);
}

.exp-footer-shell {
  display: grid;
  grid-template-columns: .7fr 1.1fr 1fr;
  align-items: end;
  gap: 36px;
  min-height: 190px;
  padding-top: 36px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(241, 240, 235, .2);
}

.footer-brand { display: flex; align-items: center; min-height: 52px; }
.footer-mark { display: block; width: 52px; height: 52px; object-fit: contain; }

.exp-footer-contact {
  display: grid;
  gap: 4px;
  color: rgba(241, 240, 235, .66);
  font-size: 13px;
}

.exp-footer-contact a { width: fit-content; color: rgba(241, 240, 235, .9); text-decoration: none; }
.exp-footer-contact a:hover { color: var(--exp-copper-soft); }

.exp-footer-legal { align-self: end; justify-self: end; color: rgba(241, 240, 235, .52); font-size: 11px; }

[data-exp-reveal] { opacity: 1; transform: none; }
.expedientes-ready [data-exp-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .75, .2, 1); }
.expedientes-ready [data-exp-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .exp-shell,
  .site-header { width: min(100% - 48px, 760px); }
  .exp-hero { min-height: auto; padding-top: 138px; }
  .exp-hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding: 76px 0 64px; }
  .exp-dossier-visual { width: min(100%, 620px); justify-self: start; }
  .exp-block-grid { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); gap: 48px; }
  .exp-footer-shell { grid-template-columns: .7fr 1.2fr; }
  .exp-footer-legal { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 700px) {
  .exp-shell { width: calc(100% - 40px); }
  .site-header { top: 14px; width: calc(100% - 32px); height: 62px; padding: 0 17px; }
  .brand-logo { width: 29px; height: 29px; }
  .site-nav { gap: 9px; }
  .site-nav a { font-size: 10px; }
  .site-nav a::after { bottom: -5px; }
  .expedientes-header .site-nav-general { padding: 6px 9px; }

  .exp-hero { padding: 112px 0 32px; }
  .exp-hero-topline { display: grid; gap: 5px; }
  .exp-hero-grid { gap: 38px; padding: 63px 0 48px; }
  .exp-hero h1 { font-size: clamp(45px, 14vw, 68px); letter-spacing: -.07em; }
  .exp-lead { margin-top: 27px; font-size: 17px; }
  .exp-hero-link { gap: 22px; margin-top: 27px; }
  .exp-dossier-visual { width: 100%; padding: 13px 12px 12px; box-shadow: 12px 12px 0 rgba(199, 111, 79, .1); }
  .exp-dossier-sheet { margin: 12px 0 11px; aspect-ratio: 1.12 / 1; }
  .exp-dossier-toolbar,
  .exp-dossier-footer { font-size: 8px; }
  .exp-dossier-stamp { right: 6%; bottom: 8%; padding: 7px 9px; font-size: 8px; }
  .exp-drawing-label { font-size: 9px; }
  .exp-proof-strip { grid-template-columns: 1fr; margin-top: 8px; }
  .exp-proof-strip > div,
  .exp-proof-strip > div + div { min-height: 0; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--exp-line); }
  .exp-proof-strip > div:last-child { border-bottom: 0; }
  .exp-hero-footer { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; }
  .exp-hero-footer > span:last-child { grid-column: 1 / -1; margin: 4px 0 0; }
  .exp-hero-line { width: 100%; }

  .exp-block { padding: 78px 0 84px; }
  .exp-block::before { right: 20px; }
  .exp-block-grid { display: block; padding-top: 31px; }
  .exp-block-heading { max-width: 100%; margin-bottom: 32px; }
  .exp-block-heading h2 { font-size: clamp(40px, 12vw, 58px); }
  .exp-copy { font-size: 18px; }
  .exp-media { aspect-ratio: auto; margin-top: 32px; }
  .exp-data-plate { margin-top: 40px; }
  .exp-block-rule { margin-top: 56px; }

  .exp-empty { min-height: 560px; padding: 160px 0 90px; }
  .exp-empty h1 { font-size: clamp(44px, 13vw, 64px); }

  .exp-footer-shell { display: grid; grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-top: 32px; padding-bottom: 28px; }
  .exp-footer-legal { grid-column: auto; justify-self: start; }
}

@media (max-width: 390px) {
  .site-nav { gap: 7px; }
  .site-nav a { font-size: 9px; }
  .expedientes-header .site-nav-general { padding: 5px 7px; }
  .brand-logo { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .expedientes-ready [data-exp-reveal] { opacity: 1; transform: none; }
}

/* Composición de pantalla completa: cada bloque ocupa el mismo escenario. */
.expedientes-page {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--exp-paper);
}

.expedientes-page main {
  position: relative;
  height: 100%;
  min-height: 640px;
}

.expedientes-page .exp-section,
.expedientes-page .expedientes-footer {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(.987);
  transition: opacity .56s ease, transform .72s cubic-bezier(.2, .75, .2, 1), visibility 0s linear .72s;
}

.expedientes-page .exp-section.is-active,
.expedientes-page .expedientes-footer.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.expedientes-page .exp-section.is-leaving {
  z-index: 1;
  visibility: visible;
  pointer-events: none;
  transition-delay: 0s;
}

.expedientes-page .exp-hero {
  height: 100%;
  min-height: 0;
  padding: 126px 0 22px;
}

.expedientes-page .exp-hero .exp-shell,
.expedientes-page .exp-block .exp-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.expedientes-page .exp-hero-grid {
  grid-template-columns: minmax(0, .82fr) minmax(300px, 1.18fr);
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 0 18px;
  gap: clamp(36px, 6vw, 100px);
}

.expedientes-page .exp-hero-copy { max-width: 560px; }

.expedientes-page .exp-hero h1 {
  max-width: 13ch;
  font-size: clamp(40px, 4.8vw, 76px);
  letter-spacing: -.065em;
  line-height: .98;
}

.expedientes-page .exp-lead {
  max-width: 520px;
  margin-top: 25px;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.46;
}

.expedientes-page .exp-hero-link { margin-top: 24px; }

.expedientes-page .exp-dossier-visual {
  width: min(100%, 640px);
  height: min(540px, calc(100svh - 270px));
  min-height: 0;
  justify-self: end;
  display: flex;
  flex-direction: column;
}

.expedientes-page .exp-dossier-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 15px 0 13px;
  overflow: hidden;
}

.exp-sheet-back,
.exp-sheet-main {
  position: absolute;
  border: 1px solid rgba(26, 36, 40, .18);
}

.exp-sheet-back {
  inset: 18px 28px 0;
  background:
    linear-gradient(rgba(26, 36, 40, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 36, 40, .045) 1px, transparent 1px),
    #d9d6ce;
  background-size: 27px 27px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, .12);
}

.exp-sheet-back-a {
  transform: rotate(-4deg) translate(-8px, 10px);
  animation: exp-sheet-layer-a 7s ease-in-out infinite;
}

.exp-sheet-back-b {
  transform: rotate(3deg) translate(10px, 7px);
  background-color: #cfd5d2;
  animation: exp-sheet-layer-b 8s ease-in-out infinite;
}

@keyframes exp-sheet-layer-a {
  0%, 100% { transform: rotate(-4deg) translate(-8px, 10px); }
  50% { transform: rotate(-3deg) translate(-5px, 7px); }
}

@keyframes exp-sheet-layer-b {
  0%, 100% { transform: rotate(3deg) translate(10px, 7px); }
  50% { transform: rotate(2deg) translate(7px, 4px); }
}

.exp-sheet-main {
  inset: 0 12px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 11px;
  overflow: hidden;
  background: #f1efe8;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
  animation: exp-sheet-settle 6s ease-in-out infinite;
}

@keyframes exp-sheet-settle {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(0); }
}

.exp-sheet-label,
.exp-sheet-footerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(26, 36, 40, .65);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.exp-sheet-label span:first-child { color: var(--exp-copper); }
.exp-sheet-footerline { color: rgba(26, 36, 40, .48); }
.exp-sheet-footerline span:last-child { color: var(--exp-copper); }

.exp-plan-svg {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 8px 0 7px;
}

.exp-plan-frame { fill: none; stroke: rgba(26, 36, 40, .38); stroke-width: 1.3; }
.exp-plan-frame path { stroke-dasharray: 3 7; }
.exp-plan-lines path { fill: none; stroke: rgba(26, 36, 40, .6); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 10 8; animation: exp-plan-flow 13s linear infinite; }
.exp-plan-lines path + path { stroke: rgba(26, 36, 40, .34); stroke-width: 1; animation-duration: 17s; animation-direction: reverse; }
.exp-plan-accent path { fill: none; stroke: var(--exp-copper); stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 900; stroke-dashoffset: 900; animation: exp-plan-build 6s ease-in-out infinite alternate; }
.exp-plan-dimensions path { fill: none; stroke: var(--exp-blue); stroke-width: 1; stroke-dasharray: 3 5; }
.exp-plan-labels text { fill: rgba(26, 36, 40, .56); font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.exp-plan-labels text:nth-child(1), .exp-plan-labels text:nth-child(3) { fill: var(--exp-copper); }

@keyframes exp-plan-flow { to { stroke-dashoffset: -340; } }
@keyframes exp-plan-build { 0%, 18% { stroke-dashoffset: 900; } 72%, 100% { stroke-dashoffset: 0; } }

.exp-dossier-stamp {
  right: 7%;
  bottom: 11%;
  padding: 7px 9px;
  font-size: 8px;
  letter-spacing: .13em;
  line-height: 1.3;
  transform: rotate(-7deg);
}

.exp-dossier-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 1px;
  color: rgba(241, 239, 233, .46);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.exp-dossier-sequence span { position: relative; }
.exp-dossier-sequence span.is-active { color: var(--exp-copper-soft); }
.exp-dossier-sequence span.is-active::before { position: absolute; top: 50%; left: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--exp-copper); content: ""; transform: translateY(-50%); }

.expedientes-page .exp-dossier-footer { margin-top: 9px; }
.expedientes-page .exp-dossier-footer span:last-child { margin-left: auto; }

.expedientes-page .exp-proof-strip { margin-top: 11px; }
.expedientes-page .exp-proof-strip > div { min-height: 57px; padding-top: 11px; padding-bottom: 10px; }
.expedientes-page .exp-proof-strip strong { font-size: 20px; }
.expedientes-page .exp-proof-strip span { font-size: 10px; }
.expedientes-page .exp-hero-footer { padding-top: 11px; }

.expedientes-page .exp-block {
  height: 100%;
  min-height: 0;
  padding: 116px 0 22px;
}

.expedientes-page .exp-block-grid {
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  padding-top: 24px;
  gap: clamp(36px, 7vw, 110px);
}

.expedientes-page .exp-block-heading h2 {
  font-size: clamp(31px, 3.25vw, 54px);
  line-height: 1;
}

.expedientes-page .exp-block-intro .exp-block-heading h2 { font-size: clamp(30px, 2.7vw, 44px); }
.expedientes-page .exp-copy { font-size: clamp(16px, 1.22vw, 19px); line-height: 1.45; }
.expedientes-page .exp-copy p { margin-bottom: 11px; }

.expedientes-page .exp-media {
  height: min(31vh, 270px);
  min-height: 150px;
  margin-top: 20px;
  aspect-ratio: 16 / 9;
}

.expedientes-page .exp-media img { width: 100%; height: 100%; object-fit: contain; }
.expedientes-page .exp-data-plate { margin-top: 22px; }
.expedientes-page .exp-block-rule { margin-top: 15px; }

.expedientes-page .expedientes-footer {
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(circle at 82% 24%, rgba(199, 111, 79, .16), transparent 28%),
    #111b1f;
}

.expedientes-page .exp-footer-shell {
  height: 100%;
  min-height: 0;
  padding-top: 126px;
  padding-bottom: 34px;
}

.expedientes-page .exp-footer-contact { font-size: 15px; }

@media (max-width: 700px) {
  .expedientes-page {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .expedientes-page main { height: auto; min-height: 0; }

  .expedientes-page .exp-section,
  .expedientes-page .expedientes-footer {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .expedientes-page .exp-hero { min-height: 100svh; padding: 112px 0 30px; }
  .expedientes-page .exp-hero .exp-shell,
  .expedientes-page .exp-block .exp-shell { height: auto; display: block; }
  .expedientes-page .exp-hero-grid { grid-template-columns: 1fr; gap: 31px; padding: 42px 0 33px; }
  .expedientes-page .exp-hero h1 { max-width: 11ch; font-size: clamp(42px, 12.5vw, 66px); }
  .expedientes-page .exp-lead { margin-top: 22px; font-size: 16px; }
  .expedientes-page .exp-hero-link { margin-top: 22px; }
  .expedientes-page .exp-dossier-visual { width: 100%; height: auto; padding: 13px 12px 12px; }
  .expedientes-page .exp-dossier-stage { height: 285px; flex: none; }
  .expedientes-page .exp-dossier-sequence { gap: 7px 14px; font-size: 7px; }
  .expedientes-page .exp-sheet-label,
  .expedientes-page .exp-sheet-footerline,
  .expedientes-page .exp-dossier-toolbar,
  .expedientes-page .exp-dossier-footer { font-size: 7px; }
  .expedientes-page .exp-proof-strip { margin-top: 0; }
  .expedientes-page .exp-hero-footer { margin-top: 0; }

  .expedientes-page .exp-block { min-height: 100svh; padding: 108px 0 46px; }
  .expedientes-page .exp-block-grid { display: block; padding-top: 26px; overflow: visible; }
  .expedientes-page .exp-block-heading { max-width: 100%; margin-bottom: 27px; }
  .expedientes-page .exp-block-heading h2,
  .expedientes-page .exp-block-intro .exp-block-heading h2 { font-size: clamp(38px, 11vw, 55px); }
  .expedientes-page .exp-copy { font-size: 17px; }
  .expedientes-page .exp-media { height: auto; min-height: 0; aspect-ratio: auto; margin-top: 27px; }
  .expedientes-page .exp-media img { height: auto; object-fit: contain; }
  .expedientes-page .exp-block-rule { margin-top: 48px; }
  .expedientes-page .expedientes-footer { min-height: 100svh; }
  .expedientes-page .exp-footer-shell { height: auto; padding-top: 108px; padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .expedientes-page .exp-section,
  .expedientes-page .expedientes-footer,
  .exp-sheet-back-a,
  .exp-sheet-back-b,
  .exp-sheet-main,
  .exp-plan-lines path,
  .exp-plan-accent path { animation: none !important; }
  .expedientes-page .exp-section,
  .expedientes-page .expedientes-footer { transition: none !important; }
}
