body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
body {
  background-image: url('../../assets/portada3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  position: relative;
}


  .menu-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    background: transparent;
    position: relative;
    z-index: 10;
  }

  .menu-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-color, #e09027);
    margin-bottom: 0.5em;
    text-align: center;
    display: block;
    width: 100%;
    background: transparent;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }

  .menu-subtitle {
    font-family: 'Markazi', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 2.2rem;
    letter-spacing: 0.03em;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 0 #fff2;
    background: transparent;
    display: block;
    width: 100%;
  }

.section-divider {
  width: 50%;
  height: 0.32rem;
  background: var(--primary-color, #e09027);
  border-radius: 0.2rem;
  margin: 0.7rem auto 3.5rem auto;
  box-shadow: 0 2px 8px 0 rgba(224,144,39,0.13);
  display: block;
}

.section-divider.modal-divider {
  margin-bottom: 1.6rem;
  margin-top: 0.7rem;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.service-card {
  background: var(--white) url('../../assets/fondotarjeta2.png') center center/cover no-repeat;
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.08);
  border: 2px solid rgba(224,144,39,0.13);
  min-width: 16.5rem;
  max-width: 25%;
  flex: 1 1 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.18s;
  overflow: hidden;
  padding: 0;
}

.service-card:hover {
  box-shadow: 0 0.7rem 2.2rem rgba(224,144,39,0.18), 0 0.4rem 2rem rgba(0,0,0,0.13);
  border-color: var(--primary-color, #e09027);
  transform: translateY(-0.3rem) scale(1.025);
}

.service-card-img {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  display: block;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.7rem 1rem 0.7rem;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.service-item-btn {
  margin-top: 0;
  margin-bottom: 0.5rem;

}

.service-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 600;
      color: var(--black);
  margin: 0.7rem 0 1.2rem 0;
  text-align: center;
}

.service-card-desc {
  font-size: 1rem;
  color: rgb(95, 95, 95);
  text-align: center;
  margin: 0 0.5rem 1.7rem 0.5rem;
  width: 100%;
}

.slider-arrow {
  display: none !important;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.slider-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: rgba(224,144,39,0.18);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-block;
}
.slider-dot.active {
  background: var(--primary-color, #e09027);
  transform: scale(1.18);
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  display: none;
  z-index: 1;
  opacity: 0;
  transform: translateX(2rem) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.slider-img.active {
  display: block;
  opacity: 1;
  transform: translateX(0) scale(1);
}
/* Animación lateral: entrada desde la derecha */
.slider-img.slide-in-right {
  display: block;
  opacity: 1;
  transform: translateX(3rem) scale(1);
  animation: slideInRight 0.35s cubic-bezier(0.4,0,0.2,1) forwards;
}
/* Animación lateral: entrada desde la izquierda */
.slider-img.slide-in-left {
  display: block;
  opacity: 1;
  transform: translateX(-3rem) scale(1);
  animation: slideInLeft 0.35s cubic-bezier(0.4,0,0.2,1) forwards;
}
/* Animación lateral: salida hacia la izquierda */
.slider-img.slide-out-left {
  display: block;
  opacity: 0;
  transform: translateX(-3rem) scale(0.98);
  transition: opacity 0.35s, transform 0.35s;
}
/* Animación lateral: salida hacia la derecha */
.slider-img.slide-out-right {
  display: block;
  opacity: 0;
  transform: translateX(3rem) scale(0.98);
  transition: opacity 0.35s, transform 0.35s;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(3rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-3rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.service-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 43, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 1rem;
  box-sizing: border-box;
}
.service-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-content {
  background: var(--white) url('../../assets/fondotarjeta2.png') center center/cover no-repeat;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.18);
  max-width: 38rem;
  width: 92vw;
  max-height: 85vh;
  padding: 1.8rem 1.3rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  outline: none;
  transform: scale(0.96) translateY(1.5rem);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s cubic-bezier(0.4,0,0.2,1);
  box-sizing: border-box;
  justify-content: space-between;
}
.service-modal.open .service-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.service-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--black);
  cursor: pointer;
  z-index: 2;
}

.menu-main {
  position: relative;
  z-index: 10;
}

.footer-section{
  z-index: 100;
}

.footer {
  z-index: 100;
  position: relative;
}



.service-description {
  background: rgba(20, 20, 20, 0.65);
  color: var(--accent-color) !important;
  border-radius: 1rem;
  padding: 1.2rem 2rem;
  margin: 4rem auto 4rem auto;
  max-width: 700px;
  width: calc(100% - 3.4rem);
  font-size: 1.15rem;
  line-height: 1.6;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
  text-align: center;
  z-index: 1;
  position: relative;
  display: block;
}

.service-modal-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
}
.service-modal-info:first-of-type {
  margin-top: 0;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.service-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1.4rem;
  width: 100%;
}
.service-modal-desc {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
  color: rgb(97, 97, 97);
  font-size: 1rem;
  width: 100%;
}
.service-modal-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-modal-slider-wrap {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 1.3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: grab;
  flex: 1;
  min-height: 0;
  justify-content: center;
}
.service-modal-slider-wrap:active {
  cursor: grabbing;
}

.service-modal-slider {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(224, 144, 39, 0.04);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  max-height: 60vh;
}

.slider-images {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  position: absolute;
  top: 0; 
  left: 0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.menu-wrap {
  position: static !important;
  width: 100%;
  background: transparent;
  box-shadow: 0 5px 12px 0 rgba(0,0,0,0.23);
}

.nav {
  position: static !important;
  width: 100%;
  background: transparent;
  box-shadow: none;
}

/* =====================
   MEDIA QUERIES - MODAL
===================== */

/* Mobile - max-width: 600px */
@media (max-width: 600px) {
  .service-modal {
    padding: 0.5rem;
  }
  
  .service-modal-content {
    width: 98vw;
    padding: 1.5rem 1rem 1rem 1rem;
    max-height: 95vh;
  }
  
  .service-modal-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .service-modal-desc {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 1rem;
  }
  
  .service-modal-slider {
    aspect-ratio: 4/3;
    max-height: 50vh;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 1rem;
  }
}

/* Tablet - min-width: 601px and max-width: 900px */
@media (min-width: 601px) and (max-width: 900px) {
  .service-modal-content {
    max-height: 90vh;
    padding: 1.8rem 1.3rem 1.3rem 1.3rem;
  }
  
  .service-modal-title {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
  }
  
  .service-modal-desc {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 1.2rem;
  }
  
  .service-modal-slider {
    max-height: 55vh;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 1.2rem;
  }
}

/* Desktop - min-width: 901px */
@media (min-width: 901px) {
  .service-modal-content {
    max-height: 90vh;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
  
  .service-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
  }
  
  .service-modal-desc {
    font-size: 1.08rem;
    margin-bottom: 1.3rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 1.5rem;
  }
  
  .service-modal-slider {
    max-height: 60vh;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 1.5rem;
  }
}

/* Media queries optimizadas para altura */
@media (max-height: 700px) and (min-height: 601px) {
  .service-modal-content {
    max-height: 95vh;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  }
  
  .service-modal-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  
  .service-modal-desc {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 1.2rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 1rem;
    width: 95%;
    max-width: 380px;
  }
  
  .service-modal-slider {
    max-height: 52vh;
    width: 100%;
  }
}

@media (max-height: 600px) {
  .service-modal-content {
    max-height: 98vh;
    padding: 1.2rem 1rem 1rem 1rem;
  }
  
  .service-modal-title {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }
  
  .service-modal-desc {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 1rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 0.8rem;
    width: 95%;
    max-width: 360px;
  }
  
  .service-modal-slider {
    max-height: 52vh;
    width: 100%;
  }
}

@media (max-height: 500px) {
  .service-modal {
    align-items: flex-start;
    padding: 0.5rem;
  }
  
  .service-modal-content {
    max-height: 99vh;
    margin-top: 0.5rem;
    padding: 1rem 0.8rem 0.8rem 0.8rem;
    justify-content: flex-start;
  }
  
  .service-modal-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .service-modal-desc {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .service-modal-info:first-of-type {
    margin-bottom: 0.8rem;
  }
  
  .service-modal-slider-wrap {
    margin-bottom: 0.6rem;
    width: 90%;
    max-width: 320px;
  }
  
  .service-modal-slider {
    max-height: 40vh;
    width: 100%;
  }
  
  .slider-dots {
    margin-top: 0.6rem;
  }
}

