/* ==========================================================================
   Palisandro Consulting y Gestión
   Estilos propios sobre Bootstrap 5 (vendorizado en assets/vendor/).
   Conserva la identidad original: tarjeta centrada, fondo gris, logo con
   línea divisoria, dirección en gris y enlaces en verde oliva.
   ========================================================================== */

:root {
  --pal-blue: #369;
  --pal-green: #314f1c;
  --pal-green-dark: #233913;
  --pal-muted: #6c757d;
  --pal-divider: #b3b3b3;
  --pal-card-border: #e3e6e9;
  --pal-bg: #f0f0f0;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  display: grid;
  place-items: center;
  color: var(--pal-blue);
  background:
    radial-gradient(1100px 550px at 50% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 65%),
    var(--pal-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* Tarjeta principal ------------------------------------------------------- */

.site-card {
  width: 100%;
  max-width: 560px;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #fff;
  border: 1px solid var(--pal-card-border);
  border-radius: 1rem;
  box-shadow:
    0 18px 45px -20px rgba(23, 37, 51, 0.25),
    0 2px 8px rgba(23, 37, 51, 0.05);
  animation: card-in 0.45s ease-out both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* Cabecera y logo --------------------------------------------------------- */

.site-header {
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
  border-bottom: 3px solid var(--pal-divider);
}

.logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: 0.5rem;
}

.logo {
  width: min(100%, 440px);
  height: auto;
}

.logo-link:focus-visible {
  outline: 3px solid rgba(54, 102, 153, 0.45);
  outline-offset: 4px;
}

/* Dirección --------------------------------------------------------------- */

.site-address {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.55;
  text-align: center;
  color: var(--pal-muted);
}

.site-address p {
  margin-bottom: 0;
}

/* Contacto ---------------------------------------------------------------- */

.contact-row {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.contact-link {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  color: var(--pal-green);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.contact-link:hover {
  color: var(--pal-green-dark);
  background-color: rgba(49, 79, 28, 0.07);
}

.contact-link:focus-visible {
  outline: 3px solid rgba(54, 102, 153, 0.45);
  outline-offset: 2px;
}

.contact-sep {
  color: var(--pal-divider);
  font-weight: 400;
  user-select: none;
}

/* Móvil: los contactos se apilan y el separador "/" desaparece ------------- */

@media (max-width: 575.98px) {
  .contact-row {
    gap: 0.35rem;
  }

  .contact-sep {
    display: none;
  }

  .contact-link {
    display: block;
    width: 100%;
    padding: 0.5rem;
    text-align: center;
  }
}
