*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", sans-serif;
  overflow-x: hidden;

  background-image:
    linear-gradient(rgba(245, 244, 240, 0.75), rgba(245, 244, 240, 0.75)),
    linear-gradient(
      to right,
      #000000 0%,
      transparent 6%,
      transparent 94%,
      #000000 100%
    ),
    linear-gradient(
      to bottom,
      #000000 0%,
      transparent 8%,
      transparent 92%,
      #000000 100%
    ),
    url("../assets/back-new.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}

.bc {
  font-family: "Barlow", sans-serif;
}

.or {
  font-family: "Orbitron", sans-serif;
}

.noise {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.noise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* ── BUTTON ── */
.btn-red-lt {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-red-lt:hover {
  background: #a93226;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f5f4f0;
}

::-webkit-scrollbar-thumb {
  background: #c0392b;
  border-radius: 2px;
}

/* ── MOBILE NAV ── */
#mobile-menu a {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid #d8d5ce;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a18;
  transition: color 0.15s;
}

#mobile-menu a:hover {
  color: #c0392b;
}

#mobile-menu a.active-link {
  color: #c0392b;
}

/* ANIMACIÓNES DE ENTRADA */

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.2s;
}

.reveal.d3 {
  transition-delay: 0.3s;
}

.reveal.d4 {
  transition-delay: 0.4s;
}

.reveal.d5 {
  transition-delay: 0.5s;
}

.reveal.d6 {
  transition-delay: 0.6s;
}

.reveal.d7 {
  transition-delay: 0.7s;
}

.reveal.d8 {
  transition-delay: 0.8s;
}

.reveal.d9 {
  transition-delay: 0.9s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GENERALES */

.card {
  background: #1a1a1a;
  border: 0.5px solid #2a2a2a00;
  border-left: 3px solid #c0392b;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(192, 57, 43, 0.15);
}

.shadow {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(192, 57, 43, 0.15);
}

.card-float {
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}
