:root {
  --bg-color: #1b3059;      /* Azul */
  --accent-color: #fff7e3; /* Cremita */
  --text-main: #1b3059;
  --text-light: #fff7e3;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overscroll-behavior: none;
  touch-action: manipulation;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: radial-gradient(circle at top, #2c477e, var(--bg-color));
  color: var(--text-light);
  overflow-x: hidden;
}

/* Centrado */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100%;
  max-width: 100%;
}

.card {
  width: 92%;
  max-width: 320px;
  background: var(--accent-color);
  color: var(--text-main);
  border-radius: 5px;
  padding: 28px 22px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

/* Logo */
.logo-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 2px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Textos */
.subtitle {
  font-size: 0.92rem;
  color: rgba(27, 48, 89, 0.75);
}

/* Links */
.links {
  margin-top: 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Botones normales */
.link-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 5px;
  border: 2px solid var(--bg-color);
  background: transparent;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}

.link-button:hover {
  background: var(--bg-color);
  color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

/* Iconos */
.icon-wrapper {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon {
  font-size: 28px;
  margin-right: 14px;
  color: var(--bg-color);
  vertical-align: middle;
  transform: translateY(-1px);
  font-weight: 100; /* 👈 AQUI: afina las líneas */
}

.link-button:hover .icon {
  color: var(--accent-color);
}

/* ===========================
   🔵 BOTÓN MARCA (ÚLTIMO)
   =========================== */

.brand-button {
  justify-content: center !important;
  background: var(--bg-color);        /* AZUL por default */
  border-color: var(--bg-color);
  color: var(--accent-color);
}

.brand-button:hover {
  background: var(--accent-color);    /* CREMA en hover */
  color: var(--bg-color);
}

/* Swap logos */
.swap-logo {
  position: relative;
  width: 120px;
  height: 35px;
  margin: 0 auto;
}

.swap-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  transition: opacity 0.25s ease;
}

/* Default */
.swap-logo .logo-default {
  opacity: 1;
}

.swap-logo .logo-hover {
  opacity: 0;
}

/* Hover swap */
.brand-button:hover .logo-default {
  opacity: 0;
}

.brand-button:hover .logo-hover {
  opacity: 1;
}

/* Footer */
.footer {
  font-size: 0.75rem;
  color: rgba(27, 48, 89, 0.7);
}

/* Mobile */
@media (max-width: 480px) {
  .card {
    padding: 36px 22px 42px;
    max-width: 94%;
  }
}

.link-button {
  height: 51.2px;          /* 🔥 igual a los otros botones */
}

.horario {
  margin-top: 24px;
}


