:root {
  --rojo: #991216;
  --rojo-oscuro: #7a0e12;
  --turquesa: #2ac4ea;
  --gradiente: linear-gradient(135deg, #2ac4ea 0%, #991216 100%);

  --blanco: #ffffff;
  --gris: #e8ecef;
  --gris-borde: #dbe2e7;
  --oscuro: #14171a;

  --texto: #16191d;
  --texto-suave: #5b646d;

  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;

  --radio: 14px;
  --radio-sm: 10px;
  --sombra-alta: 0 18px 44px rgba(16, 24, 40, 0.16);
  --trans: 0.25s ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--rojo);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rojo-oscuro);
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--turquesa);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background-color var(--trans), color var(--trans), border-color var(--trans);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn--red {
  background: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(153, 18, 22, 0.25);
}

.btn--red:hover {
  background: var(--rojo-oscuro);
  color: var(--blanco);
  box-shadow: 0 12px 26px rgba(153, 18, 22, 0.32);
}

.btn--outline-red {
  background: transparent;
  border-color: var(--rojo);
  color: var(--rojo);
}

.btn--outline-red:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--texto);
}

.brand__logo {
  width: auto;
  max-height: 46px;
}

.brand__fallback {
  display: none;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--rojo);
}

.brand__sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.brand--text .brand__logo {
  display: none;
}

.brand--text .brand__fallback {
  display: flex;
}

.maint {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 3rem) 0;
  background: var(--gradiente);
  position: relative;
  overflow: hidden;
}

.maint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 9, 12, 0.62) 0%, rgba(5, 9, 12, 0.45) 60%, rgba(5, 9, 12, 0.3) 100%);
}

.maint__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.6rem;
  justify-items: center;
}

.maint__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.maint__brand .brand__logo {
  max-height: clamp(76px, 15vw, 112px);
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.maint__brand .brand__fallback {
  flex-direction: column;
  line-height: 1;
}

.maint__brand .brand__name {
  color: var(--blanco);
}

.maint__brand .brand__sub {
  color: rgba(255, 255, 255, 0.82);
}

.maint__card {
  width: min(100%, 620px);
  padding: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  background: var(--blanco);
  border-radius: calc(var(--radio) + 10px);
  box-shadow: var(--sombra-alta);
}

.maint__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(153, 18, 22, 0.09);
  color: var(--rojo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maint__badge .icon {
  width: 1.1em;
  height: 1.1em;
}

.maint__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rojo);
  animation: maintPulse 1.6s ease-in-out infinite;
}

@keyframes maintPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.maint__title {
  margin-bottom: 0.9rem;
  font-size: clamp(1.6rem, 4.4vw, 2.3rem);
  line-height: 1.15;
}

.maint__lead {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--texto-suave);
}

.maint__contact-label {
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--texto);
}

.maint__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.maint__foot {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .maint__badge-dot {
    animation: none;
  }
}
