/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #2C3E50;
  background: #FFFFFF;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
}

ul { list-style: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: 'Clicker Script', cursive;
  font-weight: 400;
  color: #5DADE2;
  line-height: 1.2;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2rem); }

.section-sub {
  font-size: 1rem;
  color: #8CA6B0;
  font-weight: 300;
  margin-top: 0.5rem;
}

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.7rem 0;
  border-bottom: 1px solid #E8F0FE;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Clicker Script', cursive;
  font-size: 1.8rem;
  color: #5DADE2;
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: #5A6B7A;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #5DADE2;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #5DADE2;
}
.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #5DADE2;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #5A6B7A;
  background: rgba(255,255,255,0.85);
  border: 1px solid #E8F0FE;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235A6B7A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 10px 6px;
  padding-right: 2rem;
  transition: border-color 0.3s;
}
.lang-switcher:hover,
.lang-switcher:focus {
  border-color: #5DADE2;
}

/* ============ VIEWS (SPA) ============ */
.view {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.view.active {
  display: block;
  opacity: 1;
}
#homeView.active { display: block; }
#detailView.active {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6b96 30%, #4a9bc7 60%, #87CEEB 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.active {
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
  animation: fadeInDown 1s ease 0.3s both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Hero Dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  animation: fadeIn 1s ease 0.9s both;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: #5DADE2;
  box-shadow: 0 0 12px rgba(93, 173, 226, 0.6);
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ============ SECTION COMMON ============ */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ============ GALLERY ============ */
.gallery-wrap {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 2rem;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid #E8F0FE;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  position: relative;
  background: #FAFCFE;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px #5DADE2;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.gallery-img.active {
  opacity: 1;
}

.gallery-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #d4e6f1 0%, #a9cce3 50%, #7fb3d5 100%);
  color: rgba(255,255,255,0.5);
}

.gallery-item h3 {
  padding: 0.8rem 1rem 0.5rem;
  font-size: 1.4rem;
}

.gallery-item .gallery-location {
  padding: 0 1rem 1.2rem;
  font-size: 0.85rem;
  color: #8CA6B0;
  font-weight: 300;
}

.gallery-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-arrow {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid #E8F0FE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #5DADE2;
  transition: all 0.3s;
}
.gallery-arrow:hover {
  background: #5DADE2;
  color: #fff;
  border-color: #5DADE2;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-item {
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: background 0.3s ease;
}

.service-item:hover {
  background: #F8FBFE;
}

.service-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.3rem;
}

.service-item h4 {
  font-size: 0.85rem;
  color: #5DADE2;
  font-weight: 500;
  margin-bottom: 0.1rem;
  letter-spacing: 0.3px;
}

.service-item p {
  font-size: 0.75rem;
  color: #8CA6B0;
  font-weight: 300;
}

/* ============ TIPS ============ */
.tips-grid {

.tip-item {
  background: #FAFCFE;
  border: 1px solid #E8F0FE;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.tip-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.tip-item h4 {
  font-family: 'Clicker Script', cursive;
  font-size: 1.3rem;
  color: #5DADE2;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.tip-item p {
  font-size: 0.85rem;
  color: #8CA6B0;
  font-weight: 300;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.services-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.services-cta .cta-btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid #5DADE2;
  color: #5DADE2;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn:hover {
  background: #5DADE2;
  color: #FFFFFF;
}

/* ============ CONTACT ============ */
#contacto {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F8FF 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 0.9rem 1.2rem;
  border: 1px solid #E0ECF5;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2C3E50;
  background: #FFFFFF;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  font-weight: 300;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #5DADE2;
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #B0C4D0;
}

.contact-form .cta-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #5DADE2, #4A9BC7);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 173, 226, 0.3);
  background: linear-gradient(135deg, #4A9BC7, #5DADE2);
  color: #FFFFFF;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: #FFFFFF;
  padding: 1.5rem 1.2rem;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  font-size: 1.4rem;
  background: #EBF5FB;
}

.contact-card h4 {
  font-family: 'Clicker Script', cursive;
  font-size: 1.2rem;
  color: #5DADE2;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.contact-card a,
.contact-card p {
  font-size: 0.85rem;
  color: #5A6B7A;
}

.contact-card a:hover {
  color: #5DADE2;
}

.contact-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  color: #8CA6B0;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
}

/* ============ DETAIL VIEW ============ */
.detail-view {
  min-height: 100vh;
  padding-top: 0;
}

.back-btn {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 1001;
  font-family: 'Clicker Script', cursive;
  font-size: 1.3rem;
  color: #FFFFFF;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
}

.back-btn:hover {
  background: rgba(0,0,0,0.4);
}

.detail-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1a3a5c, #2d6b96);
  overflow: hidden;
}

.detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.detail-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.detail-ubicacion {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: 0.3rem;
}

.detail-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.detail-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4A5B6A;
  font-weight: 300;
  margin-bottom: 3rem;
}

.detail-section {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E8F0FE;
}

.detail-section h3 {
  margin-bottom: 1.5rem;
}

.detail-actividades {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #E8F0FE;
  border: 1px solid #E8F0FE;
}

.actividad-item {
  background: #FFFFFF;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.actividad-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.actividad-item span:last-child {
  font-size: 0.95rem;
  color: #4A5B6A;
  font-weight: 300;
}

/* Comidas & Juegos — Menu Cards */
.detail-section--food h3 {
  color: #E67E22;
}
.detail-section--games h3 {
  color: #3498DB;
}

.detail-comidas,
.detail-juegos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid #E8F0FE;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.detail-section--food .menu-item {
  background: linear-gradient(135deg, #FFFDF5, #FFFFFF);
  border-left: 3px solid #F39C12;
}

.detail-section--games .menu-item {
  background: linear-gradient(135deg, #F0F8FF, #FFFFFF);
  border-left: 3px solid #3498DB;
}

.menu-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  line-height: 1;
}

.menu-body {
  flex: 1;
  min-width: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.menu-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2C3E50;
}

.menu-price {
  font-size: 0.9rem;
  font-family: 'Clicker Script', cursive;
  font-weight: 400;
  white-space: nowrap;
}

.detail-section--food .menu-price {
  color: #E67E22;
}

.detail-section--games .menu-price {
  color: #3498DB;
}

.menu-desc {
  font-size: 0.8rem;
  color: #8CA6B0;
  font-weight: 300;
  line-height: 1.4;
}

.detail-precios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #E8F0FE;
  border: 1px solid #E8F0FE;
}

.precio-item {
  background: #FAFCFE;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.precio-item .item-name {
  font-size: 0.95rem;
  color: #4A5B6A;
  font-weight: 300;
}

.precio-item .item-price {
  font-size: 1rem;
  color: #5DADE2;
  font-family: 'Clicker Script', cursive;
  font-weight: 400;
}

.precio-note {
  font-size: 0.8rem;
  color: #8CA6B0;
  margin-top: 1rem;
  font-style: italic;
}

.detail-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E8F0FE;
  border: 1px solid #E8F0FE;
}

.detail-galeria img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #F0F6FA;
}

.detail-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #E8F0FE;
}

.detail-cta .cta-btn {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6b96 50%, #1a3a5c 100%);
  padding: 3.5rem 2rem 1.5rem;
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Clicker Script', cursive;
  font-size: 1.6rem;
  color: #FFFFFF;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.6); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .gallery-item {
    flex: 0 0 280px;
  }

  .gallery-img-wrap {
    height: 320px;
  }

  .back-btn {
    top: 1rem;
    left: 1rem;
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  .detail-galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-hero {
    height: 45vh;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    padding: 5rem 2rem 2rem env(safe-area-inset-bottom, 1rem);
    gap: 1.5rem;
    transition: right 0.4s ease;
    border-left: 1px solid #E8F0FE;
  }
  .nav-links .nav-link {
    padding: 0.6rem 0;
    font-size: 1.05rem;
  }
  .nav-links.open {
    right: 0;
  }
  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .gallery-item {
    flex: 0 0 260px;
  }

  .gallery-img-wrap {
    height: 300px;
  }

  .gallery-arrows {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.92);
    padding: 0.75rem 0;
    z-index: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    max-width: 100%;
  }

  .detail-comidas,
  .detail-juegos {
    grid-template-columns: 1fr;
  }

  .detail-actividades,
  .detail-precios {
    grid-template-columns: 1fr;
  }

  .detail-galeria {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    height: 40vh;
    height: 40dvh;
    min-height: 300px;
  }

  .back-btn {
    top: 1rem;
    left: 1rem;
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 0 0 220px;
  }

  .gallery-img-wrap {
    height: 260px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 400px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .gallery-item {
    flex: 0 0 180px;
  }

  .gallery-img-wrap {
    height: 220px;
  }

  .gallery-item h3 {
    font-size: 1.1rem;
  }

  .service-item {
    padding: 1.5rem 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .detail-body {
    padding: 2rem 1rem 4rem;
  }

  .detail-hero {
    min-height: 250px;
  }

  .detail-hero-content {
    padding: 2rem 1rem;
  }
}

/* Touch devices — no hover, active state instead */
@media (hover: none) {
  .gallery-item:hover {
    transform: none;
    box-shadow: none;
  }
  .gallery-item:active {
    transform: scale(0.98);
  }

  .menu-item:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-bg {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6b96 30%, #4a9bc7 60%, #87CEEB 100%);
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
