/* Mejoras técnicas aplicadas 2026-06-05: accesibilidad, responsive y UX sin tocar la identidad visual. */
:root {
  --jgf-primary: #425c59;
  --jgf-accent: #4b9ca3;
  --jgf-surface: #ffffff;
  --jgf-muted: #f6f8f8;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--jgf-primary);
  color: #fff;
  border-radius: .5rem;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
  outline: 3px solid #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--jgf-accent);
  outline-offset: 3px;
}

.navbar {
  background-color: var(--jgf-primary);
}

.navbar-brand img,
.logofooter {
  max-width: 180px;
  height: auto;
}

.card {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(66, 92, 89, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(66, 92, 89, .18);
}

.card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.btn,
.btn-form {
  min-height: 44px;
}

.form-consulta {
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(66, 92, 89, .10);
}

.campo-form {
  min-height: 44px;
}

textarea.campo-form {
  min-height: 140px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.float {
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-float {
  margin-top: 0 !important;
}

iframe {
  max-width: 100%;
}

video.video-fluid {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .navbar {
    margin-left: 0 !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #properties {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 4rem;
    padding-bottom: 4rem;
  }

  .arrow {
    margin-bottom: 2rem;
  }

  .swag {
    background-attachment: scroll;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 18px;
  }

  .form-consulta {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
