:root {
  --gold: #c9a962;
  --night: #0a1628;
  --fir: #0f2c1f;
}

html {
  scroll-behavior: smooth;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1 !important;
  transform: none !important;
}

.nav-scrolled {
  background-color: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.btn-golf-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(
    120deg,
    #d4bc6a 0%,
    var(--gold) 42%,
    #a67c1f 120%
  );
  color: #0a1628;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 30px rgba(201, 169, 98, 0.28);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-golf-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 40px rgba(201, 169, 98, 0.36);
}

.btn-golf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.8125rem 1.62rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fdfcf8;
  background: rgba(15, 44, 31, 0.45);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-golf-secondary:hover {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(15, 44, 31, 0.75);
  transform: translateY(-2px);
}

.card-service {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.95) 10%,
    rgba(15, 44, 31, 0.15) 55%,
    transparent 76%
  );
  opacity: 0.94;
  pointer-events: none;
}

.card-service:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

/* Accesibilidad foco visible */
:is(a, button):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
