:root {
  --navy: #031d36;
  --cyan: #00bff3;
  --ice: #b8efff;
  --white: #f7fcff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Fondo general */

.site {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(0, 153, 218, 0.2),
      transparent 28rem
    ),
    linear-gradient(145deg, #03162a, #052c4c 58%, #063958);
}

.site::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(43, 200, 255, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(43, 200, 255, 0.2) 1px,
      transparent 1px
    );
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

/* Navegación */

nav {
  width: 100%;
  height: 130px;
  max-width: 1440px;
  margin: auto;
  padding: 30px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.brand {
  display: grid;
  color: white;
  line-height: 0.8;
  text-decoration: none;
  transform: skew(-5deg);
}

.brand small {
  color: var(--ice);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.brand b {
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand em {
  margin-top: 13px;
  font-size: 11px;
  opacity: 0.72;
}

/* Portada */

.hero {
  width: 100%;
  min-height: calc(100vh - 130px);
  max-width: 1540px;
  margin: auto;
  padding: clamp(50px, 8vh, 90px) 28px 100px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: start center;
  text-align: center;
}

.hero-copy {
  width: min(900px, 75vw);
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 7.5vw, 112px);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px #4fcfff;
  text-shadow: 0 0 28px rgba(0, 191, 243, 0.15);
}

/* “Hay algo que no te contaron…” */

.teaser {
  width: min(100%, 510px);
  margin: 30px auto 34px;
  color: #b7d5e6;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Personajes de escritorio */

.collage-art {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28))
    saturate(0.88);
}

.art-girl {
  width: clamp(170px, 20vw, 300px);
  left: -1%;
  bottom: -10px;
  transform: rotate(-2deg);
  transform-origin: bottom left;
}

.art-monkey-point {
  width: clamp(190px, 23vw, 330px);
  right: 8%;
  bottom: -5px;
  transform-origin: 70% 100%;
  animation: monkeyFloat 3.2s ease-in-out infinite;
}

.mobile-characters {
  display: none;
}

/* Movimiento del mono */

@keyframes monkeyFloat {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  35% {
    transform: translateY(-5px) rotate(-1deg);
  }

  65% {
    transform: translateY(2px) rotate(1.5deg);
  }
}

/* Botón de evidencia */

.evidence-action {
  width: min(440px, 100%);
  margin: 0 auto;
}

.reveal-button {
  --mouse-x: 50%;
  --mouse-y: 50%;

  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 17px 55px;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border: 1px solid rgba(145, 235, 255, 0.8);
  border-radius: 8px;

  background:
    radial-gradient(
      circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.32),
      transparent 35%
    ),
    linear-gradient(135deg, #00bced, #007caf);

  color: white;
  cursor: pointer;
  text-align: center;

  box-shadow:
    0 18px 45px rgba(0, 120, 181, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    background 0.25s ease;
}

/* Destello del botón */

.reveal-button::before {
  content: "";
  width: 24%;
  height: 220%;
  position: absolute;
  z-index: -1;
  top: -60%;
  left: -35%;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(2px);
  transform: rotate(22deg) translateX(-300%);
  transition: transform 0.65s ease;
}

/* Flecha */

.reveal-button::after {
  content: "↘";
  position: absolute;
  top: 50%;
  right: 22px;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.reveal-button:active {
  transform: translateY(-1px) scale(0.98);
}

.reveal-button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

/* “VER LA EVIDENCIA” */

.reveal-button b {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 30, 55, 0.35);
}

/* “Prometemos que vale la pena” */

.reveal-button small {
  width: 100%;
  display: block;
  margin-top: 7px;
  position: relative;
  z-index: 2;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(9px, 1.2vw, 11px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0.86;
}

/* Estado del botón después de tocarlo */

.reveal-button.is-revealed {
  background: linear-gradient(135deg, #00d0aa, #008f91);
  box-shadow:
    0 18px 45px rgba(0, 186, 167, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.reveal-button.is-revealed::after {
  content: "✓";
}

.note {
  margin-top: 18px;
  color: #779bb1;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Sección revelada */

.reveal {
  display: none;
  position: relative;
  z-index: 2;
  animation: rise 0.7s ease;
}

.reveal.show {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carpetas */

.files-panel {
  max-width: 860px;
  margin: 0 auto 80px;
  padding: clamp(42px, 7vw, 90px) 24px;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: clamp(22px, 5vw, 52px);
}

.folder-card {
  min-height: 390px;
  padding: 27px;
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(64, 196, 241, 0.22);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(8, 72, 105, 0.72),
      rgba(3, 35, 59, 0.88)
    );

  color: var(--white);
  text-align: left;
  cursor: pointer;

  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.folder-card:active {
  transform: scale(0.98);
}

.folder-card:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.folder-card-alt {
  background:
    linear-gradient(
      145deg,
      rgba(5, 58, 90, 0.9),
      rgba(3, 27, 48, 0.96)
    );
}

.file-thumb {
  width: 94px;
  height: 94px;
  margin-bottom: 22px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 2px solid rgba(0, 191, 243, 0.5);
  border-radius: 19px;
  background: radial-gradient(circle, #20577a, #082a48);
  box-shadow:
    0 0 0 7px rgba(0, 191, 243, 0.055),
    0 13px 25px rgba(0, 0, 0, 0.2);
}

.file-thumb img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
}

.file-thumb-alt {
  border-color: rgba(125, 72, 255, 0.75);
  background: radial-gradient(circle, #6848a0, #132b59);
}

.file-thumb-alt img {
  width: 94%;
  height: 94%;
  filter: saturate(0.85) contrast(1.05);
}

.folder-number {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.folder-card strong {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.folder-card small {
  display: block;
  margin-top: 15px;
  color: #86afc4;
  font-size: 12px;
}

.folder-action {
  position: absolute;
  right: 27px;
  bottom: 24px;
  left: 27px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(115, 206, 240, 0.16);
  color: #aee9ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.folder-action b {
  color: var(--cyan);
  font-size: 16px;
}

/* Diálogos */

.campaign-dialog {
  width: min(590px, calc(100% - 32px));
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(58, 203, 255, 0.42);
  border-radius: 24px;
  background: linear-gradient(145deg, #073b5b, #031c32);
  color: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.campaign-dialog::backdrop {
  background: rgba(0, 12, 24, 0.78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.dialog-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 15px;
  right: 16px;
  border: 1px solid rgba(91, 211, 255, 0.24);
  border-radius: 50%;
  background: rgba(1, 22, 40, 0.38);
  color: #c7efff;
  font-size: 25px;
  cursor: pointer;
}

.dialog-close:active {
  transform: scale(0.92);
}

.dialog-label {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.dialog-symbol {
  width: 76px;
  height: 76px;
  margin: 26px auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 191, 243, 0.4);
  border-radius: 50%;
  background: rgba(0, 191, 243, 0.08);
  color: var(--cyan);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(0, 191, 243, 0.1);
}

.dialog-symbol-message {
  font-size: 27px;
}

.campaign-dialog h2 {
  margin: 0 0 15px;
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: -0.05em;
}

.campaign-dialog > p {
  max-width: 470px;
  margin: 0 auto;
  color: #aed0e0;
  font-size: 16px;
  line-height: 1.6;
}

.dialog-links {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dialog-links a {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(73, 203, 248, 0.25);
  border-radius: 12px;
  background: rgba(0, 114, 162, 0.18);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.dialog-links a:active {
  transform: scale(0.98);
}

.campaign-dialog > small {
  color: #6e9bb1;
  font-size: 10px;
}

/* Contacto */

.contact-list {
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.contact-list a {
  padding: 17px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(73, 203, 248, 0.22);
  border-radius: 12px;
  background: rgba(0, 114, 162, 0.14);
  color: white;
  text-decoration: none;
  text-align: left;
}

.contact-list a:active {
  transform: scale(0.98);
}

.contact-list span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.contact-list b {
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Hover solamente para dispositivos con mouse */

@media (hover: hover) and (pointer: fine) {
  .reveal-button:hover {
    transform: translateY(-5px) scale(1.025);
    filter: brightness(1.1);
    box-shadow:
      0 24px 55px rgba(0, 174, 235, 0.38),
      0 0 25px rgba(0, 191, 243, 0.22),
      inset 0 1px rgba(255, 255, 255, 0.28);
  }

  .reveal-button:hover::before {
    transform: rotate(22deg) translateX(750%);
  }

  .reveal-button:hover::after {
    transform: translate(5px, -35%);
  }

  .folder-card:hover {
    transform: translateY(-7px);
    border-color: var(--cyan);
    box-shadow:
      0 22px 40px rgba(0, 0, 0, 0.22),
      inset 0 0 35px rgba(0, 191, 243, 0.06);
  }

  .dialog-close:hover {
    border-color: var(--cyan);
    color: white;
  }

  .dialog-links a:hover {
    border-color: var(--cyan);
    background: rgba(0, 141, 193, 0.27);
  }
}

/* Versión para celulares */

@media (max-width: 720px) {
  nav {
    width: 100%;
    height: auto;
    padding: 8px;
    position: absolute;
    inset: 0 0 auto;
  }

  .brand {
    min-width: 200px;
    padding: 5px 22px 11px 0;
    background: rgba(0, 24, 45, 0.32);
  }

  .brand small {
    font-size: 8px;
  }

  .brand b {
    font-size: 37px;
  }

  .brand em {
    margin-top: 8px;
    font-size: 6px;
  }

  .hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 115px 14px 300px;
    display: block;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding-inline: 4px;
    text-align: center;
  }

  .eyebrow {
    width: 100%;
    margin: 0 auto 22px;
    font-size: clamp(7px, 2.3vw, 9px);
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-align: center;
  }

  h1 {
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    font-size: clamp(55px, 18vw, 78px);
    line-height: 0.82;
    letter-spacing: -0.055em;
    text-align: center;
  }

  h1 span {
    display: inline-block;
    -webkit-text-stroke-width: 1px;
  }

  .teaser {
    width: min(100%, 340px);
    margin: 28px auto 24px;
    padding-inline: 6px;
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.55;
  }

  .art-girl,
  .art-monkey-point {
    display: none;
  }

  .evidence-action {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .reveal-button {
    min-height: 72px;
    padding: 14px 46px;
    border-radius: 7px;
  }

  .reveal-button b {
    font-size: clamp(12px, 3.5vw, 15px);
    letter-spacing: 0.09em;
  }

  .reveal-button small {
    margin-top: 6px;
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .reveal-button::after {
    right: 17px;
    font-size: 18px;
  }

  .note {
    width: 100%;
    margin: 15px auto 0;
    font-size: 7px;
    letter-spacing: 0.04em;
  }

  /* Personajes inferiores */

  .mobile-characters {
    height: 300px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    overflow: visible;
    pointer-events: none;
  }

  .mobile-characters img {
    height: auto;
    object-fit: contain;
    filter:
      drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28))
      saturate(0.9);
  }

  .mobile-characters img:first-child {
    width: 43%;
    position: absolute;
    left: -4%;
    bottom: 25px;
    object-position: left bottom;
  }

  .mobile-characters img:last-child {
    width: 58%;
    position: absolute;
    right: -7%;
    bottom: 0;
    object-position: right bottom;
    transform-origin: 70% 100%;
    animation: monkeyFloat 3.2s ease-in-out infinite;
  }

  .files-panel {
    margin: 0 auto 60px;
    padding: 48px 18px;
  }

  .folder-grid {
    grid-template-columns: 1fr;
  }

  .folder-card {
    width: min(100%, 360px);
    min-height: 365px;
    margin: auto;
  }

  .campaign-dialog {
    max-height: 90vh;
    max-height: 90svh;
    overflow-y: auto;
    padding: 38px 24px 28px;
  }

  .campaign-dialog h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .campaign-dialog > p {
    font-size: 14px;
  }

  .dialog-links {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* Celulares pequeños */

@media (max-width: 390px) {
  .hero {
    padding: 110px 10px 270px;
  }

  h1 {
    font-size: clamp(52px, 17.5vw, 68px);
  }

  .brand {
    min-width: 175px;
  }

  .brand b {
    font-size: 34px;
  }

  .mobile-characters {
    height: 260px;
  }

  .mobile-characters img:first-child {
    width: 41%;
    bottom: 24px;
  }

  .mobile-characters img:last-child {
    width: 56%;
    right: -3%;
  }
}

/* Celulares muy angostos */

@media (max-width: 340px) {
  .hero {
    padding-top: 105px;
    padding-bottom: 245px;
  }

  h1 {
    font-size: 51px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 7px;
  }

  .teaser {
    margin-block: 23px 20px;
    font-size: 10px;
  }

  .reveal-button b {
    font-size: 11px;
  }

  .mobile-characters {
    height: 235px;
  }
}

/* Celulares con poca altura */

@media (max-width: 720px) and (max-height: 700px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 235px;
  }

  h1 {
    font-size: clamp(50px, 16.5vw, 67px);
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .teaser {
    margin-block: 20px 18px;
  }

  .reveal-button {
    min-height: 64px;
  }

  .mobile-characters {
    height: 225px;
  }

  .mobile-characters img:first-child {
    bottom: 20px;
  }
}

/* Accesibilidad */

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


/* =========================================
   NUEVA PRESENTACIÓN DE LAS CARPETAS
   ========================================= */

.reveal {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(88, 216, 255, 0.14);
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0, 191, 243, 0.14),
      transparent 24rem
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(108, 69, 255, 0.13),
      transparent 25rem
    ),
    linear-gradient(
      180deg,
      rgba(2, 31, 55, 0.96),
      rgba(2, 21, 39, 0.99)
    );
}

.reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(
      rgba(74, 206, 255, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(74, 206, 255, 0.15) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
}

.files-panel {
  position: relative;
  z-index: 1;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  justify-content: center;
  gap: clamp(22px, 4vw, 44px);
}

/* Tarjetas */

.folder-card {
  min-height: 440px;
  padding: 24px 24px 78px;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border: 1px solid rgba(116, 220, 255, 0.24);
  border-radius: 24px;

  color: var(--white);
  text-align: left;
  cursor: pointer;

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.08);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.folder-evidence {
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(0, 217, 255, 0.22),
      transparent 14rem
    ),
    linear-gradient(145deg, #075477, #052d4a 52%, #031d35);
}

.folder-contact {
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(154, 93, 255, 0.26),
      transparent 14rem
    ),
    linear-gradient(145deg, #263767, #122849 52%, #061c34);
}

/* Línea luminosa superior */

.folder-card::before {
  content: "";
  height: 3px;
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  z-index: 2;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan),
    transparent
  );
  opacity: 0.7;
}

/* Luz interna */

.folder-card::after {
  content: "";
  width: 180px;
  height: 180px;
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -80px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.17);
  filter: blur(25px);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.folder-contact::after {
  background: rgba(145, 86, 255, 0.2);
}

.folder-decoration {
  display: inline-flex;
  margin-bottom: 17px;
  padding: 6px 9px;

  border: 1px solid rgba(174, 236, 255, 0.2);
  border-radius: 100px;

  background: rgba(0, 20, 39, 0.25);
  color: #bcecff;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* Imagen grande */

.file-thumb {
  width: 100%;
  height: 158px;
  margin-bottom: 21px;
  position: relative;
  display: grid;
  place-items: end center;
  overflow: hidden;

  border: 1px solid rgba(112, 220, 255, 0.35);
  border-radius: 17px;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(36, 141, 184, 0.45),
      rgba(3, 31, 55, 0.95)
    );

  box-shadow:
    inset 0 0 35px rgba(0, 191, 243, 0.09),
    0 15px 30px rgba(0, 0, 0, 0.2);
}

.file-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(1, 21, 38, 0.65)
  );
}

.file-thumb img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.32))
    saturate(0.95);
  transition: transform 0.4s ease;
}

.file-thumb-monkey img {
  width: 87%;
}

.file-thumb-logo {
  place-items: center;
  background:
    radial-gradient(
      circle,
      rgba(42, 111, 161, 0.55),
      rgba(5, 27, 54, 0.97)
    );
}

.file-thumb-logo img {
  width: 76%;
  height: 76%;
  object-position: center;
}

.folder-number {
  margin-bottom: 9px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.folder-evidence .folder-number {
  color: #55ddff;
}

.folder-contact .folder-number {
  color: #bda2ff;
}

.folder-card strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.folder-card > small {
  margin-top: 13px;
  color: #9cc0d3;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.folder-action {
  right: 24px;
  bottom: 23px;
  left: 24px;
  padding-top: 14px;
  align-items: center;
  border-color: rgba(155, 226, 255, 0.15);
  font-family: "Montserrat", Arial, sans-serif;
}

.folder-action b {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(103, 220, 255, 0.3);
  border-radius: 50%;

  background: rgba(0, 191, 243, 0.1);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

/* Logo dentro del diálogo */

.dialog-logo {
  width: min(220px, 70%);
  min-height: 80px;
  margin: 26px auto 22px;
  padding: 17px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(81, 210, 255, 0.25);
  border-radius: 18px;

  background:
    radial-gradient(
      circle,
      rgba(14, 121, 170, 0.28),
      rgba(1, 25, 45, 0.4)
    );

  box-shadow: 0 0 35px rgba(0, 191, 243, 0.09);
}

.dialog-logo img {
  width: 100%;
  max-height: 65px;
  display: block;
  object-fit: contain;
}

/* =========================================
   BOTONES DE INSTAGRAM Y FACEBOOK
   ========================================= */

.social-links {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.social-links .social-button {
  min-height: 72px;
  padding: 13px 15px;
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;

  border: 0;
  border-radius: 15px;
  color: white;
  text-decoration: none;
  text-align: left;

  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.2);

  animation: socialFloat 3s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.social-links .social-button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.18),
    transparent 75%
  );
  transform: translateX(-130%);
  animation: socialShine 4s ease-in-out infinite;
}

.instagram-button {
  background:
    linear-gradient(
      135deg,
      #405de6,
      #833ab4 38%,
      #c13584 62%,
      #e1306c 78%,
      #fd1d1d,
      #fcb045
    );
}

.facebook-button {
  background: linear-gradient(135deg, #1877f2, #0b56b9);
  animation-delay: 0.45s !important;
}

.facebook-button::before {
  animation-delay: 1s !important;
}

.social-icon {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.15);
  color: white;

  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
}

.instagram-icon {
  font-size: 28px;
}

.facebook-icon {
  font-family: Arial, sans-serif;
  font-size: 29px;
  text-transform: lowercase;
}

.social-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.social-text small {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.social-text strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.social-button > b {
  position: relative;
  z-index: 1;
  font-size: 17px;
}

@keyframes socialFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes socialShine {
  0%,
  62% {
    transform: translateX(-130%);
  }

  82%,
  100% {
    transform: translateX(130%);
  }
}

/* Interacciones con mouse */

@media (hover: hover) and (pointer: fine) {
  .folder-card:hover {
    transform: translateY(-9px);
    border-color: rgba(86, 220, 255, 0.8);
    box-shadow:
      0 32px 70px rgba(0, 0, 0, 0.34),
      0 0 25px rgba(0, 191, 243, 0.1);
  }

  .folder-card:hover::after {
    opacity: 1;
    transform: scale(1.3);
  }

  .folder-card:hover .file-thumb img {
    transform: scale(1.08);
  }

  .folder-card:hover .folder-action b {
    transform: rotate(12deg) scale(1.1);
    background: rgba(0, 191, 243, 0.24);
  }

  .social-links .social-button:hover {
    transform: scale(1.035);
    filter: brightness(1.1);
    box-shadow:
      0 17px 34px rgba(0, 0, 0, 0.32),
      inset 0 1px rgba(255, 255, 255, 0.25);
  }
}

/* Ajustes para celular */

@media (max-width: 720px) {
  .reveal {
    border-top-color: rgba(92, 218, 255, 0.2);
  }

  .files-panel {
    padding: 48px 15px 70px;
  }

  .folder-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .folder-card {
    width: min(100%, 370px);
    min-height: 425px;
    margin: 0 auto;
    padding: 20px 20px 72px;
    border-radius: 21px;
  }

  .folder-card::before {
    right: 20px;
    left: 20px;
  }

  .file-thumb {
    height: clamp(135px, 40vw, 165px);
    margin-bottom: 19px;
  }

  .folder-card strong {
    font-size: clamp(26px, 8vw, 34px);
  }

  .folder-action {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .social-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .social-links .social-button {
    width: 100%;
    min-height: 68px;
    animation-duration: 3.4s;
  }

  .dialog-logo {
    width: min(205px, 76%);
  }
}

/* Respetar configuración de movimiento reducido */

@media (prefers-reduced-motion: reduce) {
  .folder-card,
  .file-thumb img,
  .folder-action b,
  .social-button,
  .social-button::before {
    animation: none !important;
    transition: none !important;
    translate: none !important;
  }
}


/* Logos pequeños dentro de los botones sociales */

.social-links .social-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 4px;

  display: grid;
  place-items: center;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;

  background: rgba(255, 255, 255, 0.14);
}

.social-links .social-icon img {
  width: 21px !important;
  height: 21px !important;
  max-width: 21px !important;
  max-height: 21px !important;

  margin: 0 !important;
  padding: 0 !important;
  position: static !important;

  display: block;
  object-fit: contain !important;
  object-position: center !important;

  transform: none;
  filter: none;
}

/* Distribución interna del botón */

.social-links .social-button {
  min-height: 64px;
  padding: 12px 14px;

  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.social-links .social-text {
  min-width: 0;
}

.social-links .social-text small,
.social-links .social-text strong {
  display: block;
  width: auto;
  margin: 0;
}

.social-links .social-text strong {
  margin-top: 3px;
  font-size: 14px;
}

/* Movimiento pequeño del icono */

.social-button:active .social-icon {
  transform: scale(0.9);
}

@media (hover: hover) and (pointer: fine) {
  .social-button:hover .social-icon {
    transform: scale(1.08) rotate(-4deg);
  }

  .facebook-button:hover .social-icon {
    transform: scale(1.08) rotate(4deg);
  }
}


/* Imagen del apartado “Te estamos leyendo” */

.dialog-symbol-image {
  width: 92px;
  height: 92px;
  margin: 26px auto 22px;
  padding: 8px;
  overflow: hidden;

  display: grid;
  place-items: center;

  border: 2px solid rgba(0, 191, 243, 0.5);

  /* Cuadro con esquinas ligeramente redondeadas */
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(0, 191, 243, 0.2),
      rgba(0, 79, 121, 0.1)
    );

  box-shadow:
    0 0 30px rgba(0, 191, 243, 0.17),
    0 0 0 7px rgba(0, 191, 243, 0.04),
    inset 0 1px rgba(255, 255, 255, 0.13);
}

/* Imagen lap.png */

.dialog-symbol-image img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;

  margin: 0 !important;
  padding: 0 !important;
  position: static !important;

  display: block;
  object-fit: contain !important;
  object-position: center !important;

  border-radius: 10px;

  filter: drop-shadow(
    0 5px 8px rgba(0, 0, 0, 0.28)
  );

  animation: lapMovement 2.8s ease-in-out infinite;
}

/* Movimiento únicamente de la imagen */

@keyframes lapMovement {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  35% {
    transform: translateY(-4px) rotate(-3deg) scale(1.03);
  }

  70% {
    transform: translateY(2px) rotate(2deg) scale(1);
  }
}

/* Ajuste para celulares pequeños */

@media (max-width: 390px) {
  .dialog-symbol-image {
    width: 84px;
    height: 84px;
    padding: 7px;
    border-radius: 14px;
  }

  .dialog-symbol-image img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 9px;
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  .dialog-symbol-image img {
    animation: none !important;
  }
}