/* ==========================================================================
   Feelusion · Landing
   Estilos de la landing y de las páginas legales y de gracias.
   Colores: negro #0a0a0a · amarillo #f2ff00 · rojo #ff3f3f
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nohemi";
  src: url("../fonts/nohemi-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nohemi";
  src: url("../fonts/nohemi-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: "Manrope";
  --font-title: "Nohemi";
  --yellow: #f2ff00;
  --red: #ff3f3f;
  --bg: #0a0a0a;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset base */

body,
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Imagen que rellena su contenedor (antes next/image con fill) */
.fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #0a0a0a;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #0a0a0a;
  color: white;
  font-family: var(--font-body), sans-serif;
  overflow-x: hidden;
}

::selection {
  background: #f2ff00;
  color: #0a0a0a;
}

/* Hero */

.hero-section {
  position: relative;
  width: 100%;
  height: 980px;
  overflow: hidden;
  background: url("../img/hero/hero-bg.webp") center top / cover no-repeat;
}

.hero-logo {
  position: absolute;
  left: 50%;
  top: 48px;
  width: 124px;
  height: 21px;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-subtitle {
  position: absolute;
  left: 50%;
  top: 580px;
  width: 720px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.hero-subtitle p {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 44px;
  color: #dddddd;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-cta-block {
  position: absolute;
  left: 50%;
  top: 784px;
  width: 480px;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.cta-button {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 456px;
  height: 68px;
  padding: 24px 34px;

  border-radius: 8px;
  background: #f2ff00;
  text-decoration: none;

  font-family: var(--font-title), sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #38381b;

  position: relative;
  overflow: hidden;
  transition: box-shadow 0.36s ease, transform 1s ease;
}

.cta-button:hover {
  box-shadow:
    0 0 24px rgba(242, 255, 0, 0.18),
    0 0 48px rgba(242, 255, 0, 0.12);
  transform: translateY(-2px);
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 36%;
  height: 140%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(0) skewX(-22deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.cta-button:hover::after {
  opacity: 1;
  animation: cta-sweep 1.2s ease forwards;
}

.hero-cta-note {
  width: 480px;
  margin: 0;

  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(204, 204, 204, 0.8) 30%,
    rgba(204, 204, 204, 0.8) 70%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@keyframes cta-sweep {
  0% {
    left: -35%;
  }

  100% {
    left: 120%;
  }
}

/* Hero mobile */
@media (max-width: 768px) {
  .hero-section {
    height: 700px;
    background: url("../img/hero/hero-bg-mobile.webp") center top / cover no-repeat;
  }

  .hero-logo {
    top: 48px;
    width: 124px;
    height: auto;
    padding: 0 0 0 20px;
  }

  .hero-subtitle {
    top: 400px;
    width: calc(100% - 48px);
    max-width: 400px;
  }

  .hero-subtitle p {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-cta-block {
    top: 560px;
    width: calc(100% - 48px);
    max-width: 360px;
    gap: 24px;
  }

  .hero-cta-button {
    width: 100%;
    height: 58px;
    padding: 20px;
    font-size: 17px;
    line-height: 18px;
  }

  .hero-cta-note {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }
}

/* Problem */

.event-risk-section {
  width: 100%;
  background: #080808;
  padding: 80px 0;
  overflow: hidden;
}

.event-risk-container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
}

.event-risk-header {
  text-align: center;
  margin-bottom: 64px;
}

.event-risk-header h2 {
  margin: 0 auto;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
  max-width: 840px;
}

.event-risk-header p {
  margin: 28px 0 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #606060;
}

.event-risk-grid {
  display: grid;
  grid-template-columns: 404px 364px 336px;
  grid-template-rows: 284px 300px;
  gap: 16px;
}

.risk-card {
  position: relative;
  overflow: hidden;
  background: #101010;
  border-radius: 18px;
  backdrop-filter: blur(34px);

  cursor: default;
}

.risk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;

  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 63, 63, 0.08) 0%,
    rgba(255, 63, 63, 0.04) 34%,
    rgba(255, 63, 63, 0.01) 58%,
    rgba(255, 63, 63, 0) 78%
  );

  transform: scale(0.15);
  opacity: 0;

  transition:
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out;
}

.risk-card:hover::after {
  transform: scale(1.8);
  opacity: 1;

  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease-in;
}

.risk-card-large {
  grid-row: span 2;
  padding: 40px 36px;
}

.risk-card-small {
  padding: 40px 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
}

.risk-card-wide {
  grid-column: span 2;
  padding: 40px 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
}

.risk-card.edge-left-strong::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 2px;
  right: 0;
  background: linear-gradient(180deg,
      rgba(255, 63, 63, 0) 0%,
      rgba(255, 63, 63, 0.68) 35%,
      rgba(255, 63, 63, 1) 50%,
      rgba(255, 63, 63, 0.68) 65%,
      rgba(255, 63, 63, 0) 100%);
  pointer-events: none;
  z-index: 4;
}

.edge-bottom-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(14deg,
      rgba(255, 63, 63, 1) 0%,
      rgba(255, 63, 63, 0.95) 4%,
      rgba(255, 63, 63, 0.35) 18%,
      rgba(255, 63, 63, 0.08) 36%,
      rgba(255, 63, 63, 0) 68%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 10;
}

.edge-bottom-glow_soft::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(24deg,
      rgba(255, 63, 63, 0.08) 0%,
      rgba(255, 63, 63, 0.20) 2%,
      rgba(255, 63, 63, 0.08) 12%,
      rgba(255, 63, 63, 0.04) 20%,
      rgba(255, 63, 63, 0) 36%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 10;
}

.edge-top-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(156deg,
      rgba(255, 63, 63, 1) 0%,
      rgba(255, 63, 63, 0.95) 4%,
      rgba(255, 63, 63, 0.35) 14%,
      rgba(255, 63, 63, 0.08) 24%,
      rgba(255, 63, 63, 0) 48%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 10;
}

.edge-large-bottom-glow::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;

  background: linear-gradient(90deg,
      rgba(242, 255, 0, 0) 0%,
      rgba(242, 255, 0, 0.68) 35%,
      rgba(242, 255, 0, 1) 50%,
      rgba(242, 255, 0, 0.68) 65%,
      rgba(242, 255, 0, 0) 100%);

  pointer-events: none;
  z-index: 4;
}

.risk-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.risk-icon {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
  background: rgba(255, 63, 63, 0.16);
  backdrop-filter: blur(26px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.risk-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(255, 63, 63, 0.48) 0%,
      rgba(255, 63, 63, 0.08) 32%,
      rgba(255, 63, 63, 0.08) 68%,
      rgba(255, 63, 63, 0.48) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.risk-icon img {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
}

.risk-text {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.risk-text span {
  color: #777777;
}

.risk-team-image {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 40px;
  height: 279px;
  border-radius: 16px;
  overflow: hidden;
  background: #090909;
}

.risk-floating-image {
  position: absolute;
  right: -36px;
  top: -24px;
  --rotate: -14deg;
  animation: floatSoft 2s ease-in-out infinite;
  will-change: transform;
}

.risk-newspaper {
  position: absolute;
  right: -34px;
  bottom: -34px;
  --rotate: 0deg;
  animation: floatSoft 3s ease-in-out infinite;
  animation-delay: 1.5s; /* desincroniza → más natural */
  will-change: transform;
}

/* Floating animation */
@keyframes floatSoft {
  0% {
    transform: translateY(0px) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-8px) rotate(var(--rotate, 0deg));
  }
  100% {
    transform: translateY(0px) rotate(var(--rotate, 0deg));
  }
}

.risk-content,
.risk-text,
.risk-icon {
  position: relative;
  z-index: 3;
}

.risk-floating-image,
.risk-newspaper,
.risk-team-image {
  z-index: 2;
}

.event-risk-bottom {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  height: 260px;
  border-radius: 16px;
  background: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-risk-bottom p {
  position: relative;
  z-index: 5;
  margin: 0 auto;
  font-family: var(--font-title), sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  text-align: center;
  color: #ffffff;
  max-width: 760px;
}

.event-risk-bottom span {
  color: #f2ff00;
}

@media (max-width: 1200px) {
  .event-risk-container {
    max-width: calc(100% - 48px);
  }

  .event-risk-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .risk-card-large,
  .risk-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .event-risk-section {
    padding: 60px 20px;
  }

  .event-risk-container {
    max-width: 100%;
  }

  .event-risk-header {
    margin-bottom: 44px;
  }

  .event-risk-header h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .event-risk-header p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .event-risk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .risk-card,
  .risk-card-large,
  .risk-card-small,
  .risk-card-wide {
    grid-column: span 1;
    min-height: auto;
    border-radius: 16px;
  }

  /* quitar edges en mobile */
  .risk-card::before,
  .risk-card::after,
  .edge-bottom-glow::before,
  .edge-bottom-glow::after,
  .edge-bottom-glow_soft::before,
  .edge-bottom-glow_soft::after,
  .edge-top-glow::before,
  .edge-top-glow::after,
  .edge-left-strong::before,
  .edge-left-strong::after {
    display: none !important;
    content: none !important;
  }

  .risk-card-large {
    min-height: 560px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .risk-card-small {
    min-height: 260px;
    padding: 36px 32px 40px;
    gap: 28px;
  }

  .risk-card-wide {
    min-height: 380px;
    padding: 32px 28px 36px;
    gap: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .risk-content {
    gap: 28px;
    margin-bottom: 36px;
  }

  .risk-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 12px;
  }

  .risk-icon img {
    width: 22px;
    height: 22px;
  }

  .risk-text {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -0.02em;
    padding: 0 12px 0 0;
  }

  .risk-card-small .risk-text {
    max-width: 260px;
  }

  .risk-card-wide .risk-text {
    max-width: 360px;
  }

  .risk-team-image {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border-radius: 14px;
  }

  .risk-floating-image {
    width: 240px;
    height: auto;
    right: -4px;
    top: -8px;
  }

  .risk-newspaper {
    width: 188px;
    height: auto;
    right: 0;
    bottom: -28px;
  }

  .event-risk-bottom {
    margin-top: 16px;
    min-height: 240px;
    height: auto;
    padding: 48px 24px;
    border-radius: 16px;
  }

  .event-risk-bottom p {
    font-size: 24px;
    line-height: 34px;
  }
}

/* Solution */

.solution-section {
  width: 100%;
  background: #080808;
  padding: 80px 0 120px;
  overflow: hidden;
}

.solution-container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
}

.solution-header {
  text-align: center;
  margin-bottom: 64px;
}

.solution-header h2 {
  margin: 0 auto;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
  max-width: 880px;
}

.solution-header p {
  margin: 28px 0 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #606060;
}

.solution-gallery {
  display: grid;
  grid-template-columns: 576px 560px;
  grid-template-rows: 180px 180px;
  width: 1136px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}

.solution-image {
  position: relative;
  overflow: hidden;
  background: #101010;
}

.solution-image-large {
  grid-row: span 2;
}

.solution-image-top {
  grid-column: 2;
  grid-row: 1;
}

.solution-image-bottom {
  grid-column: 2;
  grid-row: 2;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 309px;
  border-radius: 14px;
  padding: 40px 36px 48px;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(34px);
  border: 1px solid rgba(255, 255, 255, 0);
  transition: transform 0.8s ease, background 0.35s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background-image: url("../img/noise.webp");
  background-size: 60px;
  background-repeat: repeat;

  opacity: 0.20;
  mix-blend-mode: overlay;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 28%,
      rgba(255, 255, 255, 0.02) 72%,
      rgba(255, 255, 255, 0.06) 100%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 3;

  opacity: 1;
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card-yellow-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;

  background: linear-gradient(
    135deg,
    rgba(242, 255, 0, 0.9) 0%,
    rgba(242, 255, 0, 0.18) 28%,
    rgba(242, 255, 0, 0.18) 72%,
    rgba(242, 255, 0, 0.9) 100%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card:hover .solution-card-yellow-edge {
  opacity: 1;
}

.solution-card-number {
  display: block;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #606060;
  margin-bottom: 40px;
}

.solution-card-number,
.solution-card-content {
  position: relative;
  z-index: 4;
}

.solution-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.solution-card h3.is-highlighted {
  color: #f2ff00;
}

.solution-card p {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #808080;
}

@media (max-width: 1200px) {
  .solution-container {
    max-width: calc(100% - 48px);
  }

  .solution-gallery {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .solution-section {
    padding: 60px 20px;
  }

  .solution-container {
    max-width: 100%;
  }

  .solution-header {
    margin-bottom: 44px;
  }

  .solution-header h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .solution-header p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .solution-gallery {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 260px 180px 180px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .solution-image-large,
  .solution-image-top,
  .solution-image-bottom {
    grid-column: 1;
    grid-row: auto;
  }

  .solution-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-card {
    min-height: auto;
    border-radius: 16px;
    padding: 32px 28px 36px;
  }

  .solution-card-number {
    font-size: 18px;
    margin-bottom: 36px;
  }

  .solution-card h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 14px;
  }

  .solution-card p {
    font-size: 18px;
    line-height: 30px;
  }

  .solution-card::after {
    padding: 1.5px;
  }
}

/* Events */

.events-section {
  padding: 120px 0 80px;
  background: #050505;
}

.events-container {
  max-width: 100%;
  margin: 0 auto;
}

.events-header {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}

.events-header h2 {
  margin: 0;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.events-header p {
  margin: 28px 0 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #606060;
}

/* CARD */
.event-card {
  position: relative;
  flex: 0 0 auto;
  width: 400px;
  height: 540px;
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
}

.event-card:hover .event-img {
  transform: scale(1.12);
}

.event-card:hover .event-content h3 {
  color: #f2ff00;
}

.event-card:hover .event-content span {
  color: #eeeeee;
}

/* EDGE */
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.36) 4%,
      rgba(255, 255, 255, 0.24) 18%,
      rgba(255, 255, 255, 0.16) 36%,
      rgba(255, 255, 255, 0.04) 68%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 3;
}

.event-img {
  transition: transform 0.8s ease;
}

/* DARK OVERLAY */
.event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

/* TEXT */
.event-content {
  position: absolute;
  bottom: 48px;
  left: 40px;
  z-index: 2;
}

.event-content h3 {
  font-family: var(--font-title), sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  margin: 0 0 6px;
  transition: color 1s ease;
}

.event-content span {
  font-family: var(--font-body), sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #808080;
  display: block;
  transition: color 1s ease;
}

.event-content p {
  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #505050;
  margin: 24px 0 0;
}

/* CTA */
.events-cta {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .events-section {
    padding: 60px 0;
  }

  .events-header {
    max-width: calc(100% - 40px);
    margin-bottom: 44px;
  }

  .events-header h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .events-header p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .events-track {
    gap: 14px;
  }

  .event-card {
    width: 300px;
    height: 420px;
    border-radius: 14px;
  }

  .event-content {
    left: 24px;
    bottom: 28px;
    right: 24px;
  }

  .event-content h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .event-content span {
    font-size: 16px;
    line-height: 22px;
  }

  .event-content p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 18px;
  }

  .events-cta {
    margin-top: 48px;
    padding: 0 20px;
  }

  .events-cta .cta-button {
    width: 100%;
    max-width: 360px;
    height: 58px;
    padding: 20px;
    font-size: 17px;
    line-height: 18px;
  }
}

/* Process */

.process-section {
  padding: 80px 0 120px;
  background: #050505;
}

.process-container {
  max-width: 1136px;
  margin: 0 auto;
}

.process-title {
  text-align: center;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
  max-width: 880px;
  margin: 0 auto 80px;
}

/* LIST */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD */
.process-card {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;

  width: 1136px;
  min-height: 304px;
  padding: 40px 40px 44px 60px;

  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(34px);
  border-radius: 20px;
  overflow: hidden;
}

.process-card.reverse {
  flex-direction: row-reverse;
  padding: 40px 60px 44px 40px;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  pointer-events: none;
  z-index: 1;

  background-image: url("../img/noise.webp");
  background-size: 68px;
  /* más grande = menos patrón repetitivo */
  background-repeat: repeat;

  opacity: 0.12;
  /* clave → mucho más sutil */
  mix-blend-mode: soft-light;
  /* mejor que overlay para este look */
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px dashed rgba(242, 255, 0, 0.35);
}

.process-card.edge-yellow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px dashed rgba(242, 255, 0, 0.55);
  pointer-events: none;
  z-index: 3;

  -webkit-mask-image: linear-gradient(
    156deg,
    #000 0%,
    #000 4%,
    rgba(0,0,0,0.16) 20%
  );
  mask-image: linear-gradient(
    156deg,
    #000 0%,
    #000 4%,
    rgba(0,0,0,0.16) 20%
  );
}

.process-card.edge-yellow-br::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;

  border: 3px dashed rgba(242, 255, 0, 0.55);

  -webkit-mask-image: linear-gradient(
    332deg,
    #000 0%,
    #000 4%,
    rgba(0,0,0,0.16) 20%
  );
  mask-image: linear-gradient(
    332deg,
    #000 0%,
    #000 4%,
    rgba(0,0,0,0.16) 20%
  );
}

.process-card>* {
  position: relative;
  z-index: 2;
}

/* TEXTO */
.process-text {
  flex: 1;
  max-width: 544px;
}

.process-text span {
  display: block;
  margin: 12px 0 44px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #606060;
}

.process-text h3 {
  margin: 0 0 12px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.process-text p {
  margin: 0 0 8px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #808080;
}

.process-card:first-child .process-text h3,
.process-card:nth-child(3) .process-text h3 {
  color: #f2ff00;
}

/* IMAGE */
.process-image {
  position: relative;
  flex: 0 0 440px;
  width: 440px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: #121212;
}

.process-image img {
  object-fit: cover;
}

.image-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;

  background:
    /* TOP LEFT */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.6) 6%,
      rgba(255, 255, 255, 0.2) 18%,
      rgba(255, 255, 255, 0.06) 32%,
      rgba(255, 255, 255, 0) 55%
    ),
    /* BOTTOM RIGHT */
    linear-gradient(
      315deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.6) 6%,
      rgba(255, 255, 255, 0.2) 18%,
      rgba(255, 255, 255, 0.06) 32%,
      rgba(255, 255, 255, 0) 55%
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 3;
}

.process-cta {
  margin: 68px auto 0;
  width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.process-cta-text {
  width: 480px;
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(204, 204, 204, 0.8) 30%,
    rgba(204, 204, 204, 0.8) 70%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .process-section {
    padding: 60px 20px;
  }

  .process-container {
    max-width: 100%;
  }

  .process-title {
    max-width: 100%;
    margin: 0 auto 44px;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .process-list {
    gap: 16px;
  }

  .process-card,
  .process-card.reverse {
    width: 100%;
    min-height: auto;
    padding: 32px 28px 36px;
    border-radius: 16px;
    gap: 32px;
  }

  .process-card {
    flex-direction: column;
    align-items: stretch;
  }

  .process-card.reverse {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .process-text {
    max-width: 100%;
    width: 100%;
  }

  .process-text span {
    margin: 0 0 32px;
    font-size: 18px;
  }

  .process-text h3 {
    font-size: 24px;
    line-height: 31px;
    margin-bottom: 12px;
  }

  .process-text p {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 0;
  }

  .process-image {
    flex: none;
    width: 100%;
    height: 220px;
    border-radius: 12px;
  }

  .process-card::after {
    border-width: 1px;
  }

  .process-card.edge-yellow::after,
  .process-card.edge-yellow-br::after {
    border-width: 2px;
  }

  .process-cta {
    margin-top: 48px;
    width: 100%;
    gap: 24px;
    padding: 0 20px;
  }

  .process-cta .cta-button {
    width: 100%;
    max-width: 360px;
    height: 58px;
    padding: 20px;
    font-size: 17px;
    line-height: 18px;
  }

  .process-cta-text {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }
}

/* Difference */

.difference-section {
  width: 100%;
  padding: 120px 0 80px;
  overflow: hidden;
}

.difference-container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
}

.difference-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.difference-badge p {
  margin: 0;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #f8f8f8;
}

.difference-badge-icon {
  width: 19px;
  height: 36px;
  flex: 0 0 auto;
}

.difference-header {
  text-align: center;
  margin-bottom: 72px;
}

.difference-header h2 {
  margin: 0 auto;
  max-width: 920px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.difference-header p {
  margin: 36px auto 0;
  max-width: 880px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #606060;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.difference-card {
  position: relative;
  overflow: hidden;
  min-height: 243px;
  border-radius: 20px;
  padding: 60px 40px;
  background: #101010;
  backdrop-filter: blur(34px);
}

.difference-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background-image: url("../img/noise.webp");
  background-size: 68px;
  background-repeat: repeat;
  opacity: 0.4;
  mix-blend-mode: soft-light;
}

.difference-card > * {
  position: relative;
  z-index: 2;
}

.difference-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.difference-card p {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 34px;
  color: #808080;
}

.difference-card-wide {
  grid-column: span 2;
  min-height: 384px;
  display: grid;
  grid-template-columns: 1fr 516px;
  align-items: center;
  gap: 60px;
  padding: 32px 32px 32px 60px;
}

.difference-wide-text {
  max-width: 468px;
}

.difference-image {
  position: relative;
  width: 516px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #121212;
}

.difference-image img {
  object-fit: cover;
}

/* edges estilo Problem.tsx */
.difference-card.edge-bottom-right::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    -40deg,
    rgba(242, 255, 0, 1) 0%,
    rgba(242, 255, 0, 0.78) 6%,
    rgba(242, 255, 0, 0.28) 14%,
    rgba(242, 255, 0, 0.07) 24%,
    rgba(242, 255, 0, 0) 44%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.difference-card.edge-bottom-left::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    40deg,
    rgba(242, 255, 0, 1) 0%,
    rgba(242, 255, 0, 0.78) 6%,
    rgba(242, 255, 0, 0.28) 14%,
    rgba(242, 255, 0, 0.07) 24%,
    rgba(242, 255, 0, 0) 44%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.difference-card.edge-top-soft::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 2px;

  background: linear-gradient(90deg,
      rgba(242, 255, 0, 0) 14%,
      rgba(242, 255, 0, 0.68) 44%,
      rgba(242, 255, 0, 1) 50%,
      rgba(242, 255, 0, 0.68) 56%,
      rgba(242, 255, 0, 0) 84%);

  pointer-events: none;
  z-index: 3;
}

@media (max-width: 1200px) {
  .difference-container {
    max-width: calc(100% - 48px);
  }
}

@media (max-width: 768px) {
  .difference-section {
    padding: 60px 20px;
  }

  .difference-container {
    max-width: 100%;
  }

  .difference-badge {
    gap: 12px;
    margin-bottom: 28px;
  }

  .difference-badge p {
    font-size: 15px;
    line-height: 22px;
  }

  .difference-badge-icon {
    width: 16px;
    height: 30px;
  }

  .difference-header {
    margin-bottom: 44px;
  }

  .difference-header h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .difference-header p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .difference-card {
    transition: transform 0.8s ease, background 0.35s ease;
  }

  .difference-card,
  .difference-card-wide {
    grid-column: span 1;
    min-height: auto;
    border-radius: 16px;
    padding: 36px 28px 36px;
  }

  .difference-card h3 {
    font-size: 24px;
    line-height: 31px;
    margin-bottom: 14px;
  }

  .difference-card p {
    font-size: 18px;
    line-height: 28px;
  }

  .difference-card-wide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .difference-wide-text {
    max-width: 100%;
  }

  .difference-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
  }

  .difference-card.edge-bottom-right::after,
  .difference-card.edge-bottom-left::after {
    padding: 1.5px;
  }

  .difference-card.edge-top-soft::after {
    left: 18%;
    right: 18%;
    height: 1.5px;
  }
}

/* BigCTA */

.bigcta-section {
  width: 100%;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.bigcta-card {
  position: relative;
  overflow: hidden;

  width: 100%;
  max-width: 1136px;
  padding: 120px 40px;
  border-radius: 24px;

  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(40px);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bigcta-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 2px;

  background: linear-gradient(
    90deg,
    rgba(242, 255, 0, 0) 14%,
    rgba(242, 255, 0, 0.68) 44%,
    rgba(242, 255, 0, 1) 50%,
    rgba(242, 255, 0, 0.68) 56%,
    rgba(242, 255, 0, 0) 84%
  );

  pointer-events: none;
  z-index: 2;
}

.bigcta-card::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0; /* 👈 aquí está la clave */
  height: 2px;

  background: linear-gradient(
    90deg,
    rgba(242, 255, 0, 0) 14%,
    rgba(242, 255, 0, 0.68) 44%,
    rgba(242, 255, 0, 1) 50%,
    rgba(242, 255, 0, 0.68) 56%,
    rgba(242, 255, 0, 0) 84%
  );

  pointer-events: none;
  z-index: 2;
}

.bigcta-card > *:not(.bigcta-noise) {
  position: relative;
  z-index: 2;
}

.bigcta-noise {
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background-image: url("../img/noise.webp");
  background-size: 68px;
  background-repeat: repeat;

  opacity: 0.2;
  mix-blend-mode: soft-light;

  pointer-events: none;
  z-index: 1;
}

.bigcta-title {
  margin: 0;
  max-width: 860px;

  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  text-align: center;

  color: #ffffff;
}

.bigcta-subtitle {
  margin: 24px 0 0;
  max-width: 760px;

  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  text-align: center;

  color: #6e6e6e;
}

.bigcta-cta {
  margin-top: 68px;
  width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.bigcta-cta-text {
  width: 480px;
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(204, 204, 204, 0.8) 30%,
    rgba(204, 204, 204, 0.8) 70%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .bigcta-section {
    padding: 60px 20px;
  }

  .bigcta-card {
    max-width: 100%;
    padding: 72px 24px;
    border-radius: 18px;
  }

  .bigcta-card::before,
  .bigcta-card::after {
    left: 16%;
    right: 16%;
    height: 1.5px;
  }

  .bigcta-noise {
    background-size: 60px;
    opacity: 0.16;
  }

  .bigcta-title {
    max-width: 100%;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.01em;
  }

  .bigcta-subtitle {
    max-width: 100%;
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
  }

  .bigcta-cta {
    width: 100%;
    margin-top: 48px;
    gap: 24px;
  }

  .bigcta-cta .cta-button {
    width: 100%;
    max-width: 360px;
    height: 58px;
    padding: 20px;
    font-size: 17px;
    line-height: 18px;
  }

  .bigcta-cta-text {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }
}

/* FAQ */

.faq-section {
  width: 100%;
  padding: 80px 0;
}

.faq-container {
  max-width: 1136px;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 72px;
  text-align: center;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 44px 56px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(34px);
  text-align: left;
  cursor: pointer;
  transition: transform 0.8s ease, background 0.35s ease;
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/noise.webp");
  background-size: 68px;
  background-repeat: repeat;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.faq-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.035) 30%,
    rgba(255,255,255,0.035) 70%,
    rgba(255,255,255,0.32) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.faq-question,
.faq-answer {
  position: relative;
  z-index: 2;
  display: block;
}

.faq-question {
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 44px;
    letter-spacing: 0.01em;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-card {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .faq-question {
    font-size: 20px;
    line-height: 28px;
  }

  .faq-answer p {
    font-size: 17px;
    line-height: 26px;
  }

  .faq-card.is-open .faq-answer-inner {
    padding-top: 16px;
  }
}

/* Final CTA */

.finalcta-section {
  width: 100%;
  padding: 80px 0 160px;
}

.finalcta-container {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.finalcta-title {
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 68px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.finalcta-subtitle {
  margin: 48px auto 0;
  max-width: 600px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #606060;
}

.finalcta-cta {
  margin: 68px auto 0;
  width: 566px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.finalcta-note {
  width: 566px;
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(204, 204, 204, 0.8) 30%,
    rgba(204, 204, 204, 0.8) 70%,
    rgba(255, 255, 255, 0.8) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .finalcta-section {
    padding: 60px 20px 100px;
  }

  .finalcta-container {
    max-width: 100%;
  }

  .finalcta-title {
    font-size: 34px;
    line-height: 42px;
    letter-spacing: 0.01em;
  }

  .finalcta-subtitle {
    margin-top: 28px;
    font-size: 18px;
    line-height: 28px;
  }

  .finalcta-cta {
    width: 100%;
    margin-top: 48px;
    gap: 24px;
  }

  .finalcta-cta .cta-button {
    width: 100%;
    max-width: 360px;
    height: 58px;
    padding: 20px;
    font-size: 17px;
    line-height: 18px;
  }

  .finalcta-note {
    width: 100%;
    padding: 0 60px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* Legal Pages */

.legal-page {
  width: 100%;
  min-height: 100vh;
  padding: 120px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 255, 0, 0.06), transparent 32%),
    #080808;
}

.legal-container {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px;
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(34px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/noise.webp");
  background-size: 68px;
  background-repeat: repeat;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.legal-container > * {
  position: relative;
  z-index: 2;
}

.legal-title {
  margin: 0 0 40px;
  font-family: var(--font-title), sans-serif;
  font-size: 44px;
  line-height: 54px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.legal-heading {
  margin: 44px 0 16px;
  font-family: var(--font-title), sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #f2ff00;
}

.legal-text,
.legal-container p {
  margin: 0 0 18px;
  font-family: var(--font-body), sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #b0b0b0;
}

.legal-list {
  margin: 0 0 28px;
  padding-left: 22px;
  color: #b0b0b0;
}

.legal-list li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 30px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 28px 20px;
  }

  .legal-container {
    padding: 40px 24px;
    border-radius: 18px;
  }

  .legal-title {
    margin-top: 48px;
    font-size: 34px;
    line-height: 42px;
  }

  .legal-heading {
    font-size: 22px;
    line-height: 30px;
  }

  .legal-text,
  .legal-container p,
  .legal-list li {
    font-size: 16px;
    line-height: 27px;
  }
}

.legal-back {
  position: absolute;
  top: 36px;
  right: 40px;

  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #808080;

  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-back:hover {
  color: #f2ff00;
}

/* Thanks Page */

.thanks-page {
  min-height: 100vh;
  width: 100%;
  padding: 100px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 255, 0, 0.06), transparent 32%),
    #080808;
  display: flex;
  align-items: start;
  justify-content: center;
}

.thanks-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  padding: 72px 64px;
  border-radius: 24px;
  border: 2px solid #202020;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(34px);
  text-align: center;
}

.thanks-noise {
  position: absolute;
  inset: 0;
  background-image: url("../img/noise.webp");
  background-size: 68px;
  background-repeat: repeat;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.thanks-card > *:not(.thanks-noise) {
  position: relative;
  z-index: 3;
}

.thanks-logo {
  margin: 0 auto 40px;
  width: 124px;
  height: 21px;
}

.thanks-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(46, 213, 115, 0.12);
  color: #7ff0ad;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  gap: 8px;
  overflow: hidden;
}

/* EDGE estilo premium */
.thanks-label::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;

  background: linear-gradient(
    148deg,
    rgba(127, 240, 173, 0.9) 0%,
    rgba(127, 240, 173, 0.5) 8%,
    rgba(127, 240, 173, 0.2) 18%,
    rgba(127, 240, 173, 0.06) 32%,
    rgba(127, 240, 173, 0) 55%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
}

.thanks-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;

  background: linear-gradient(
    332deg,
    rgba(127, 240, 173, 0.32) 0%,
    rgba(127, 240, 173, 0.24) 8%,
    rgba(127, 240, 173, 0.12) 18%,
    rgba(127, 240, 173, 0.06) 32%,
    rgba(127, 240, 173, 0) 55%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
}

.thanks-success-icon {
  width: 18px;
  height: 18px;
}

.thanks-title {
  margin: 0 auto;
  max-width: 480px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 62px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.thanks-instructions {
  margin: 40px auto 0;
  max-width: 640px;
  display: grid;
  gap: 4px;
}

.thanks-instructions p {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: #b0b0b0;
}

.thanks-commitment {
  margin: 40px auto 0;
  max-width: 480px;
  font-family: var(--font-body), sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #707070;
}

.thanks-whatsapp-box {
  margin-top: 56px;
  padding: 48px 0 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(1px);
}

.thanks-whatsapp-box h2 {
  margin: 0 0 12px;
  font-family: var(--font-title), sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 34px;
  color: #ffffff;
}

.thanks-whatsapp-box p {
  margin: 0 auto 28px;
  max-width: 360px;
  font-family: var(--font-body), sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: #808080;
}

.thanks-whatsapp-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 18px 32px 18px 24px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 20px;
  letter-spacing: -0.4px;
  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* EDGE */
.thanks-whatsapp-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(
    148deg,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.5) 12%,
    rgba(255,255,255,0.18) 28%,
    rgba(255,255,255,0.05) 44%,
    rgba(255,255,255,0) 65%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}

/* SWEEP LIGHT (igual que CTA principal) */
.thanks-whatsapp-button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 36%;
  height: 140%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.38) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.thanks-whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(37, 211, 102, 0.18),
    0 0 48px rgba(37, 211, 102, 0.1);
}

.thanks-whatsapp-button:hover::after {
  opacity: 1;
  animation: thanks-cta-sweep 1.2s ease forwards;
}

@keyframes thanks-cta-sweep {
  0% { left: -35%; }
  100% { left: 120%; }
}

.thanks-whatsapp-icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .thanks-page {
    padding: 28px 20px;
    align-items: flex-start;
  }

  .thanks-card {
    padding: 56px 24px;
    border-radius: 18px;
  }

  .thanks-title {
    font-size: 36px;
    line-height: 44px;
  }

  .thanks-instructions {
    margin-top: 32px;
    gap: 6px;
  }

  .thanks-instructions p {
    font-size: 16px;
    line-height: 27px;
  }

  .thanks-commitment {
    margin-top: 24px;
    font-size: 15px;
    line-height: 25px;
  }

  .thanks-whatsapp-box {
    margin-top: 44px;
    padding: 28px 20px;
  }

  .thanks-whatsapp-button {
    width: 100%;
    font-size: 16px;
    padding: 16px 20px;
  }
}

/* Social proof: carrusel de tarjetas */

.social-proof-section {
  width: 100%;
  overflow: hidden;
  padding: 12px 0 80px;
  background: #080808;
}

.social-proof-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-proof-title {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 88px;
  text-align: center;
  color: #606060;
}

.social-proof-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.social-proof-card {
  flex: 0 0 auto;
  height: 100px;
}

.social-proof-card img {
  display: block;
  height: 100%;
  width: auto;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.social-proof-card:hover img {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

@media (max-width: 768px) {
  .social-proof-section {
    padding: 28px 0 24px;
  }

  .social-proof-inner {
    gap: 28px;
  }

  .social-proof-title {
    font-size: 20px;
    line-height: 32px;
    color: #505050;
  }

  .social-proof-rows {
    gap: 14px;
  }

  .social-proof-card {
    height: 72px;
  }
}

@media (max-width: 420px) {
  .social-proof-card {
    height: 56px;
  }
}

/* Marquee: carrusel infinito reutilizable (social proof y eventos).
   main.js lo mueve con requestAnimationFrame a velocidad constante
   y lo frena con suavidad al pasar el ratón. */

.marquee {
  --gap: 24px;
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
}

.events-track {
  --gap: 16px;
}

@media (max-width: 768px) {
  .social-proof-rows .marquee {
    --gap: 14px;
  }

  .events-track {
    --gap: 14px;
  }
}

@media (max-width: 420px) {
  .social-proof-rows .marquee {
    --gap: 12px;
  }
}

.events-carousel {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

@media (max-width: 768px) {
  .events-carousel {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  }
}

/* FAQ: acordeón */

.faq-card {
  display: block;
}

.faq-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, background 0.4s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: background 0.4s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-card.is-open .faq-icon {
  transform: rotate(135deg);
  border-color: rgba(242, 255, 0, 0.5);
  background: rgba(242, 255, 0, 0.08);
}

.faq-card.is-open .faq-icon::before,
.faq-card.is-open .faq-icon::after {
  background: var(--yellow);
}

.faq-answer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.6s var(--ease-out),
    opacity 0.45s ease;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  transition: padding-top 0.6s var(--ease-out);
}

.faq-answer p {
  max-width: 940px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #808080;
  transform: translateY(-8px);
  transition: transform 0.6s var(--ease-out);
}

.faq-card.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-card.is-open .faq-answer-inner {
  padding-top: 24px;
}

.faq-card.is-open .faq-answer p {
  transform: none;
}

.faq-card:hover {
  background: rgba(12, 12, 12, 0.9);
}

.faq-card:hover .faq-icon {
  border-color: rgba(255, 255, 255, 0.24);
}

@media (max-width: 768px) {
  .faq-icon {
    width: 30px;
    height: 30px;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer-brand {
  font-family: var(--font-title), sans-serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer-links a {
  transition: color 0.3s ease;
}

.site-footer-links a:hover {
  color: #ffffff;
}

@media (min-width: 640px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 0 24px;
  }

  .site-footer-links {
    flex-direction: row;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .site-footer-inner {
    padding: 0 32px;
  }
}

/* ==========================================================================
   Animaciones
   ========================================================================== */

/* Intro: círculo que se abre con el logo (solo CSS, no depende de JS) */

.reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  clip-path: circle(130% at 50% 50%);
  animation: overlay-open 1.4s var(--ease-out) 0.6s forwards;
  pointer-events: none;
}

.reveal-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  transform: translate(-50%, -50%);
  animation:
    logo-in 0.6s ease both,
    logo-out 1.2s ease 1s forwards;
}

@keyframes overlay-open {
  0% {
    clip-path: circle(130% at 50% 50%);
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }

  to {
    opacity: 0.9;
    transform: translate(-50%, -50%);
  }
}

@keyframes logo-out {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    filter: blur(2px);
  }
}

/* Hero: el fondo se asienta y los textos entran escalonados tras la intro */

.hero-section {
  background: #080808;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero/hero-bg.webp") center top / cover no-repeat;
  transform-origin: 50% 30%;
  animation: hero-bg-in 2.6s var(--ease-expo) 0.7s both;
}

@media (max-width: 768px) {
  .hero-section {
    background: #080808;
  }

  .hero-section::before {
    background-image: url("../img/hero/hero-bg-mobile.webp");
  }
}

.hero-logo,
.hero-subtitle,
.hero-cta-block {
  animation: hero-item-in 1.2s var(--ease-expo) both;
}

.hero-logo {
  animation-delay: 1.1s;
}

.hero-subtitle {
  animation-delay: 1.3s;
}

.hero-cta-block {
  animation-delay: 1.5s;
}

@keyframes hero-bg-in {
  from {
    transform: scale(1.08);
    opacity: 0.4;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes hero-item-in {
  from {
    opacity: 0;
    translate: 0 24px;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

/* Brillo periódico en el botón principal del hero */

.hero-cta-button::after {
  animation: cta-shine 6s ease-in-out 3s infinite;
}

@keyframes cta-shine {
  0% {
    left: -35%;
    opacity: 1;
  }

  18%,
  100% {
    left: 120%;
    opacity: 1;
  }
}

.cta-button:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}

/* Entradas al hacer scroll (main.js añade .is-in). Sin JS todo se ve normal. */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease-expo),
    transform 1.2s var(--ease-expo),
    filter 1s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal="left"] {
  transform: translate3d(-48px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(48px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Titulares que entran palabra a palabra */

.js [data-split] .word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.5em, 0);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-expo),
    transform 1s var(--ease-expo),
    filter 0.9s var(--ease-expo);
  transition-delay: calc(var(--i) * 45ms);
}

.js [data-split].is-in .word {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Galería de Solution: las fotos se descubren con una cortina */

.js .solution-gallery .solution-image {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}

.js .solution-gallery .solution-image .fill-img {
  transform: scale(1.12);
  transition: transform 2s var(--ease-expo);
  transition-delay: var(--delay, 0s);
}

.js .solution-gallery.is-in .solution-image {
  clip-path: inset(0 0 0 0);
}

.js .solution-gallery.is-in .solution-image .fill-img {
  transform: scale(1);
}

/* Fotos del proceso y de "Done for you": zoom suave al entrar y al pasar el ratón */

.process-image .fill-img,
.difference-image .fill-img,
.risk-team-image .fill-img {
  transition: transform 1.6s var(--ease-expo);
}

.js .process-card[data-reveal] .process-image .fill-img {
  transform: scale(1.1);
}

.js .process-card.is-in .process-image .fill-img {
  transform: scale(1);
}

.process-card:hover .process-image .fill-img,
.difference-card-wide:hover .difference-image .fill-img,
.risk-card-large:hover .risk-team-image .fill-img {
  transform: scale(1.04);
}

.process-card,
.difference-card,
.solution-card {
  transition: transform 0.8s var(--ease-out), background 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  background: rgba(12, 12, 12, 0.9);
}

/* Luz que sigue al ratón dentro de las tarjetas (main.js añade .spotlight) */

.spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    var(--spot, rgba(242, 255, 0, 0.07)),
    transparent 60%
  );
  transition: opacity 0.5s ease;
}

.risk-card .spotlight {
  --spot: rgba(255, 63, 63, 0.09);
}

.faq-card .spotlight,
.process-card .spotlight {
  --spot: rgba(255, 255, 255, 0.05);
}

[data-spotlight]:hover > .spotlight {
  opacity: 1;
}

/* Páginas legales y de gracias: entrada de la tarjeta */

.legal-container,
.thanks-card {
  animation: page-card-in 1.1s var(--ease-expo) 0.1s both;
}

@keyframes page-card-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.legal-list {
  list-style: disc;
}

/* Menos movimiento si el usuario lo pide en su sistema */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal-overlay {
    display: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

.risk-text-wide {
  width: 448px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .risk-card-wide .risk-text-wide {
    max-width: 360px;
  }
}
