:root {
  --primary: #002D72;

  /* Modal palette */
  --modal-bg: #fff;
  --modal-border: rgba(255, 255, 255, 0.3);
  --modal-text: var(--primary);
  --modal-input-bg: var(--primary);
  --modal-input-border: var(--primary);
  --modal-input-text: #fff;
  --modal-input-focus-bg: var(--primary);
  --modal-input-focus-border: var(--primary);
  --modal-input-focus-ring: rgba(255, 255, 255, 1.0);
  --modal-input-placeholder: rgba(255, 255, 255, 0.5);
  --modal-check-border: var(--primary);
  --modal-check-checked-bg: #013b96;
  --modal-check-checked-border: var(--primary);
  --modal-check-checked-ring: rgba(255, 255, 255, 0.25);
  --modal-check-focus-border: var(--primary);
  --modal-check-focus-ring: rgba(255, 255, 255, 0.25);
  --modal-picker-filter: invert(1);

  --modal-btn-cancel-bg: var(--primary);
  --modal-btn-cancel-border: var(--primary);
  --modal-btn-cancel-text: #fff;
  --modal-btn-cancel-hover-bg: #fff;
  --modal-btn-cancel-hover-border: var(--primary);
  --modal-btn-cancel-hover-text: #000;

  --modal-btn-submit-bg: var(--primary);
  --modal-btn-submit-border: var(--primary);
  --modal-btn-submit-text: #fff;
  --modal-btn-submit-hover-bg: #fff;
  --modal-btn-submit-hover-border: var(--primary);
  --modal-btn-submit-hover-text: #000;
}

@font-face {
  font-family: Asap-Regular;
  src: url(../fonts/asap/Asap-Regular.ttf);
  font-display: swap;
}

@font-face {
  font-family: Asap-SemiBold;
  src: url(../fonts/asap/Asap-SemiBold.ttf);
  font-display: swap;
}

@font-face {
  font-family: Asap-Thin;
  src: url(../fonts/asap/Asap-Thin.ttf);
  font-display: swap;
}

@font-face {
  font-family: Asap-Italic;
  src: url(../fonts/asap/Asap-ThinItalic.ttf);
  font-display: swap;
}

@font-face {
  font-family: Asap-SemiItalic;
  src: url(../fonts/asap/Asap-SemiBoldItalic.ttf);
  font-display: swap;
}

h5 {
  font-size: 1.1rem !important;
}


.text-grey {
  color: var(--primary);
}

.navbar-brand {
  margin-bottom: 0px;
}

.navbar-collapse {
  padding-top: 0rem !important;
}

.bg-grey {
  background-color: var(--primary);
}

.reservation-toggle-btn {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 1.0rem;
  --bs-btn-font-size: 1.0rem;
  --bs-btn-line-height: 1.2;
  --bs-btn-border-radius: 0.35rem;
}

.reservation-toggle-btn .fs-4,
.reservation-toggle-btn .fs-5 {
  font-size: 1.1rem !important;
  line-height: 1.2;
}

.reservation-toggle-btn .fs-6 {
  font-size: 1rem !important;
  line-height: 1.2;
}

body {
  background: var(--primary) !important;
  font-family: Asap-Regular;
  overflow-anchor: none;
  overflow-x: hidden;
}

.brand-tight {
  line-height: 1.2;
}

.font-semithin {
  font-family: Asap-SemiItalic;
}

.font-thin {
  font-family: Asap-Thin;
}

.font-thin2 {
  font-family: Asap-Thin;
  color: #032a66 !important;
}

.font-semibold {
  font-family: Asap-SemiBold;
}

.font-italic {
  font-family: Asap-Italic;
}

.section-title {
  font-size: 2.2rem !important;
  margin-bottom: 2.5rem !important;
}

.shadow-light {
  box-shadow: 0 0.125rem 0.25rem rgb(255, 255, 255, 0.075);
}

.navbar-toggler {
  border: none;
  box-shadow: none;
}

.card-size {
  max-width: 300px;
  min-width: 300px;
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
}

.radius20 {
  border-radius: 20px !important;
}

.radius0 {
  border-radius: 0px !important;
}

.radius80 {
  border-radius: 80px !important;
}

.full-height {
  min-height: 80px;
}

.card-size {
  width: 18rem;
  /* o la medida que prefieras */
  height: 100%;
}

.card-wrapper {
  margin-bottom: 1rem;
  margin-right: 1rem;
}

.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-separator {
  height: 80px;
  /* O el alto que consideres adecuado */
}

.auto-show {
  animation: autoShowAnimation both;
  animation-timeline: view(70% 5%);
}

@keyframes autoShowAnimation {
  from {
    opacity: 0;
    transform: translateY(200px) scale(0.3);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auto-show2 {
  animation: autoShowAnimation both;
  animation-timeline: view(100% 0%);
}

@keyframes autoShowAnimationFoot {
  from {
    opacity: 0;
    transform: translateY(200px) scale(0.3);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auto-fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: var(--delay);
  animation-timeline: view(70% 5%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-grid {
  width: min(100%, 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 300px);
  justify-content: center;
  gap: 28px;
}

.card-size {
  width: 300px;
  height: 400px;
}

.card-img,
.card-placeholder {
  width: 100%;
  height: 100%;
}

@media (max-width: 1980px) {
  .menu-grid {
    grid-template-columns: repeat(5, 300px);
  }
}

@media (max-width: 1620px) {
  .menu-grid {
    grid-template-columns: repeat(4, 300px);
  }
}

@media (max-width: 1320px) {
  .menu-grid {
    grid-template-columns: repeat(3, 300px);
  }
}

@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 680px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .card-size {
    width: min(100%, 320px);
  }
}


.border-gradient {
  border-image: linear-gradient(to right, #ff8a00, #e52e71) 1;
}

.blur-img {
  filter: blur(3px) brightness(0.7);
}

.card-img:hover {
  transform: scale(2);
}

.card:hover .card-img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
  filter: brightness(0.85);
  /* efecto oscurecer */
}

.card-img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.icon-hover {
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.icon-hover-card:hover .icon-hover {
  transform: scale(1.2) rotate(10deg);
}

.hover-btn {
  transition: opacity 0.4s ease;
}

.hover-btn-card:hover .hover-btn {
  opacity: 1;
}

.overlay-darken {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.overlay-hover-card:hover .overlay-darken {
  background-color: rgba(0, 0, 0, 0.4);
}

.font-nav {
  font-size: calc(1rem + 0.3vw) !important;
}

a {
  font-size: 0.95rem !important;
}

#contact-section h5 a {
  font-size: inherit !important;
}

.span-bottom {
  font-size: 0.95rem !important;
}

.no-focus-ring:focus,
.no-focus-ring:active {
  outline: none !important;
  box-shadow: none !important;
}

.logo {
  width: clamp(130px, 15vw, 200px);
  height: auto;
  z-index: 2;
}

@media (width <=576px) {
  nav.navbar {
    margin-top: 0.5rem;
  }

  .navbar-brand {
    margin-left: 0.5rem;
  }

  .mobile-hero-instagram {
    margin-top: 5rem !important;
  }

  .card-size {
    max-width: 200px;
    min-width: 200px;
    min-height: 300px;
    max-height: 300px;
    overflow: hidden;
  }
}

@media (width <=450px) {
  .font-nav {
    font-size: 0.9rem !important;
  }

  .btn-center {
    justify-content: center !important;
    align-items: center !important;
  }

  .card-size {
    max-width: 170px;
    min-width: 170px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
  }

  h5 {
    font-size: 0.9rem !important;
  }
}

@media (width <=380px) {
  .font-nav {
    font-size: 0.4rem !important;
  }

  .btn-center {
    justify-content: center !important;
    align-items: center !important;
  }
}

#events-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#events-section .events-card {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(0, 45, 114, 0.18);
  border-radius: 22px;
  padding: clamp(2.75rem, 3vw, 2.75rem);
  box-shadow: 0 14px 34px rgba(0, 24, 66, 0.14);
}

.events-text-row {
  max-width: 980px;
  margin: 0 !important;
  padding-top: calc(var(--bs-gutter-x, 0rem) / 2);
}

.events-column-gap {
  --bs-gutter-x: 3rem !important;
}

.events-lang-col {
  color: var(--primary);
  text-align: left;
  white-space: pre-wrap;
  line-height: 1.4;
}

.events-lang-right {
  text-align: left;
}

#events-section .events-contact-btn {
  min-width: 230px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
}

#events-section .events-contact-btn:hover,
#events-section .events-contact-btn:focus {
  background: #013b96;
  border-color: #013b96;
  color: #fff;
}

@media (max-width: 768px) {
  .events-text-row>div+div {
    margin-top: 1rem;
  }

  .events-lang-right {
    text-align: left;
  }

  #events-section .events-card {
    border-radius: 16px;
  }
}

.events-modal-content {
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  color: var(--modal-text);
}

.events-modal-content .events-input {
  background: var(--modal-input-bg);
  border: 1px solid var(--modal-input-border);
  color: var(--modal-input-text);
}

.events-modal-content .events-input:focus {
  background: var(--modal-input-focus-bg);
  border-color: var(--modal-input-focus-border);
  box-shadow: 0 0 0 0.2rem var(--modal-input-focus-ring);
  color: var(--modal-input-text);
}

.events-modal-content .events-input::placeholder {
  color: var(--modal-input-placeholder) !important;
  opacity: 1;
}

.events-modal-content .events-input::-webkit-input-placeholder {
  color: var(--modal-input-placeholder) !important;
}

.events-text {
  font-size: 1.1rem !important;
}

.events-modal-content .events-input::-moz-placeholder {
  color: var(--modal-input-placeholder) !important;
  opacity: 1;
}

.events-modal-content .events-input:-ms-input-placeholder {
  color: var(--modal-input-placeholder) !important;
}

.events-modal-content .events-comments {
  resize: none;
}

.events-modal-content input[type="date"]::-webkit-calendar-picker-indicator,
.events-modal-content input[type="time"]::-webkit-calendar-picker-indicator {
  filter: var(--modal-picker-filter);
  opacity: 1;
}

.events-modal-content .form-check-input {
  background-color: transparent;
  border-color: var(--modal-check-border);
}

.events-modal-content .form-check-input:checked {
  background-color: var(--modal-check-checked-bg);
  border-color: var(--modal-check-checked-border);
  box-shadow: 0 0 0 0.15rem var(--modal-check-checked-ring);
}

.events-modal-content .form-check-input:focus {
  border-color: var(--modal-check-focus-border);
  box-shadow: 0 0 0 0.2rem var(--modal-check-focus-ring);
}

.events-modal-content .modal-cancel-btn {
  background: var(--modal-btn-cancel-bg);
  border-color: var(--modal-btn-cancel-border);
  color: var(--modal-btn-cancel-text);
}

.events-modal-content .modal-cancel-btn:hover,
.events-modal-content .modal-cancel-btn:focus {
  background: var(--modal-btn-cancel-hover-bg);
  border-color: var(--modal-btn-cancel-hover-border);
  color: var(--modal-btn-cancel-hover-text);
}

.events-modal-content .modal-submit-btn {
  background: var(--modal-btn-submit-bg);
  border-color: var(--modal-btn-submit-border);
  color: var(--modal-btn-submit-text) !important;
}

.events-modal-content .modal-submit-btn:hover,
.events-modal-content .modal-submit-btn:focus {
  background: var(--modal-btn-submit-hover-bg);
  border-color: var(--modal-btn-submit-hover-border);
  color: var(--modal-btn-submit-hover-text) !important;
}

.legal-card {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(0, 45, 114, 0.18);
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 14px 34px rgba(0, 24, 66, 0.14);
}

.legal-title {
  font-size: 2.2rem !important;
}


.legal-title,
.legal-subtitle {
  color: var(--primary);
  text-align: center;
}

.legal-text {
  color: var(--primary);
  text-align: left;
}

.legal-rich {
  white-space: pre-line;
  line-height: 1.45;
  font-size: 0.93rem;
  max-width: 92ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.legal-rich p,
.legal-rich ul {
  margin-bottom: 0.9rem !important;
}

.legal-rich strong {
  font-family: Asap-SemiBold;
}

.legal-section-line {
  border-left: 3px solid rgba(0, 45, 114, 0.2);
  padding-left: 0.8rem;
}

.legal-inline-title {
  font-family: Asap-SemiBold;
  font-size: 1.08em;
  margin-top: 0.35rem;
  margin-bottom: 0.7rem;
}

.legal-list {
  margin-left: 1rem;
  padding-left: 0.8rem;
}

@media (max-width: 576px) {
  #events-section .events-contact-btn {
    font-size: 1rem;
  }

  footer .row {
    row-gap: 0.55rem;
  }

  footer .col-md-2 a {
    line-height: 1.2 !important;
  }

  footer .row>.col-md-2:empty {
    display: none;
  }
}

.legal-back-btn {
  min-width: 230px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}

.legal-back-btn:hover,
.legal-back-btn:focus {
  background: #013b96;
  border-color: #013b96;
  color: #fff;
}