:root {
    --main-bg: #c0b7ae;
    --text: #2e2e2e;
    --accent: #364b36;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
  }

  body {
    margin: 0;
    background-color: var(--main-bg);
    font-family: var(--font-body);
    color: var(--text);
  }

  header {
    padding: 2rem;
    text-align: center;
  }

  header h1 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin: 0;
    letter-spacing: 2px;
  }

  nav a:hover {
    background-color: #dcd9d6;
    color: #000;
  }

  .hero {
    width: 90%;
    max-width: 800px;
    height: auto;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero img {
    width: 100%;
    display: block;
  }

  .hero-text {
    text-align: center;
    margin: 2rem auto;
  }

  .hero-text h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin: 0.5rem 0;
  }

  .hero-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #5a5a5a;
    margin: 0;
  }

  
/* Ocultar texto mobile por defecto */
.hero-text-mobile {
  display: none;
}

  .about {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin: 10em auto;
    max-width: 1000px;
    align-items: center;
  }

  .about-text {
    flex: 1;
    min-width: 250px;
    margin-left: auto;
  }

  .about-text h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-img {
    flex: 1;
    min-width: 250px;
  }

  .about-img img {
    width: 80%;
    border-radius: 20px;
  }

  .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
  }

  .gallery img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .cta {
    text-align: center;
    margin-top: 3rem;
  }

  .cta a {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }

  .cta a:hover {
    background: #8ea88c;
  }

  footer {
    background: #c0b7ae;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    margin-top: 4rem;
  }

  @media (max-width: 768px) {
    nav {
      display: none;
    }

    .mobile-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.5rem;
      background-color: #eae7e3;
    }

    .mobile-header h1 {
      font-size: 1.2rem;
      font-family: var(--font-title);
    }

    .burger {
      font-size: 1.5rem;
      cursor: pointer;
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background-color: #f3f1ee;
      padding: 1rem;
      border-top: 1px solid #dcd9d6;
      animation: slideDown 0.3s ease forwards;
    }

    .mobile-menu a {
      padding: 0.75rem 0;
      color: var(--text);
      text-decoration: none;
      border-bottom: 1px solid #dcd9d6;
    }
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  /* Ocultamos el menú que no corresponde */
.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f6f4f2;
  }
  
  .desktop-nav {
    display: flex;
    gap: 2rem;
  }
  
  .desktop-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
  }
  .desktop-nav a:hover {
    color: #000;
  }
  
  .mobile-header, .mobile-menu {
    display: none;
  }
  
  /* Mostrar solo en pantallas pequeñas */
  @media (max-width: 768px) {
    .desktop-header {
      display: none;
    }
  
    .mobile-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #eae7e3;
      padding: 1rem 1.5rem;
    }
  
    .mobile-logo {
      height: 30px;
      margin-right: 0.5rem;
    }
  
    .logo-title {
      display: flex;
      align-items: center;
      font-family: var(--font-title);
      font-size: 1.3rem;
    }
  
    .mobile-menu {
      display: none;
      flex-direction: column;
      background-color: #f3f1ee;
      padding: 1rem;
      animation: slideDown 0.3s ease forwards;
    }
  
    .mobile-menu a {
      padding: 1rem 0;
      text-decoration: none;
      color: var(--text);
      border-bottom: 1px solid #dcd9d6;
    }
  
    .mobile-menu.show {
      display: flex;
    }
  }
  
  /* Animaciones */
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  

















  .hotel-arenales {
    background-color: #c0b7ae;
    padding: 3rem 1.5rem;
    margin-top: 4rem;
  }
  
  .hotel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
  }
  
  .hotel-content img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .hotel-text {
    max-width: 450px;
    text-align: center;
  }
  
  .hotel-text h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .hotel-text p {
    font-size: 1rem;
    color: #5a5a5a;
    margin-bottom: 1.5rem;
  }
  
  .hotel-btn {
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .hotel-btn:hover {
    background-color: #8ea88c;
  }
  




















  .popup {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .popup.hidden {
    display: none;
  }
  
  .popup-content {
    background: #c0b7ae;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: var(--font-body);
    position: relative;
  }
  
  .popup-content h3 {
    font-family: var(--font-title);
    margin-bottom: 1rem;
  }
  
  .popup-content label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
  }
  
  .popup-content input,
  .popup-content select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    border: 1px solid #000000;
    border-radius: 8px;
  }
  
  .popup-content button {
    margin-top: 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .popup-content button:hover {
    background: #8ea88c;
  }
  
  .popup-content .close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
  }
  .hidden {
    display: none;
  }
  #preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--main-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loader {
    border: 8px solid #e0ddd9;
    border-top: 8px solid var(--accent);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .cta-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
  }
  
  .cta button {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    cursor: pointer;
  }
  
  .cta button:hover {
    background: #8ea88c;
  }
  .about-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .about-btn:hover {
    background-color: #8ea88c;
  }
  /* Barra inicial */
.desktop-header-inicial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 10;
}

/* Sticky nav que aparece al scrollear */
.desktop-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 2rem;
  background-color: rgba(246, 244, 242, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Cuando aparece */
.desktop-header-sticky.show {
  opacity: 1;
  pointer-events: auto;
}

/* Logo tamaño adecuado */
.nav-logo {
  height: 40px;
}
body {
  padding-top: 250px; /* o el equivalente a la altura real de la sticky bar */
}
.duna-header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c5baaf;
  border-radius: 50px;
  padding: 1rem 2rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: all 0.4s ease;
  width: 80%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.duna-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.duna-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.duna-logo span {
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 1px;
}

.menu-icon {
  font-size: 1.5rem;
  background-color: transparent;
  border: 2px solid #1e1e1e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.duna-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  width: 100%;
  border-top: 1px solid #1e1e1e44;
  padding-top: 1rem;
  animation: fadeInDown 0.4s ease;
}

.duna-nav a {
  color: #1e1e1e;
  text-decoration: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
}

.hidden {
  display: none;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-icon {
  font-size: 1.5rem;
  background-color: transparent;
  border: 2px solid #1e1e1e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-icon:hover {
  background-color: #e0d8d0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: scale(1.05);
}
.duna-logo img {
  height: 40px;
  object-fit: contain;
  filter: contrast(1.1);
}








.medano-arenales {
  background-color: #c0b7ae;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.medano-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}

.medano-content img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.medano-text {
  max-width: 450px;
  text-align: center;
}

.medano-text h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.medano-text p {
  font-size: 1rem;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
}

.medano-btn {
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.medano-btn:hover {
  background-color: #8ea88c;
}










.divisor {
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 4rem auto;
}














.img-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.img-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.img-popup.hidden {
  display: none;
}

.close-img {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.close-img:hover {
  transform: scale(1.2);
}








































.popup-carta {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.popup-carta.hidden {
  display: none;
}

.popup-carta-content {
  background: #c0b7ae;
  padding: 3rem 2rem;
  border-radius: 20px;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.close-carta {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #1e1e1e;
  cursor: pointer;
  z-index: 10000;
}

.logo-duna {
  text-align: center;
  font-weight: 400;
  letter-spacing: 6px;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.logo-duna small {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 300;
  margin-top: 0.3rem;
  color: #333;
}

.carta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.col {
  flex: 1 1 400px;
  max-width: 450px;
}

.menu-item {
  background: #f6f4f2;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.menu-item p {
  margin: 0;
  font-size: 0.95rem;
}

.menu-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.carta-clasica-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Helvetica Neue', sans-serif;
  color: #1e1e1e;
  background-color: #c0b7ae;
  padding: 2rem;
  border-radius: 16px;
}

.carta-clasica-grid .col {
  flex: 1 1 400px;
  max-width: 450px;
}

.carta-clasica-grid h3 {
  text-transform: uppercase;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #2e2e2e;
}

.producto-linea {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  background-color: #c5baaf;
  border-radius: 10px;
  padding: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.producto-linea img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.producto-linea p {
  margin: 0;
  font-size: 0.92rem;
  color: #333;
}

.producto-linea strong {
  font-weight: bold;
}

.producto-linea em {
  font-style: normal;
  font-weight: 300;
  display: block;
  margin-top: 0.2rem;
  color: #555;
}
.pagina {
  display: none;
}
.pagina.visible {
  display: block;
}

.footer-carta {
  text-align: right;
  margin-top: 1rem;
}
.footer-carta img {
  width: 50px;
  opacity: 0.8;
}

/* Para la página que muestra imagen completa */
.carta-imagen {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin-top: 1rem;
}
.pagina {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: none;
}
.pagina.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.carta-nav-sticky {
  position: sticky;
  bottom: 0;
  background: #c0b7ae;
  padding: 1rem 0.5rem 0.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.carta-nav button {
  background: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carta-nav button:hover {
  background: #eee;
}

.whatsapp-btn {
  background: #25d366;
  color: rgb(0, 0, 0);
  margin-left: 1rem;
}
.whatsapp-btn:hover {
  background: #ffffff;
}







.duna-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background-color: #c0b7ae;
  padding: 1.2rem;
  border-radius: 16px;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.duna-nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.duna-nav a:hover {
  border-bottom: 2px solid #444;
  color: #000;
}

/* Divisores entre links */
.duna-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 1.2rem;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Menú horizontal en pantallas grandes */
@media (min-width: 768px) {
  .duna-nav {
    flex-direction: row;
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth;
}

.duna-nav {
  max-height: 0px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  padding: 0;          /* ← importante */
  margin: 0;           /* ← si lo usás */
  border: none;        /* ← si hay */
}


/* Mostrado con altura más baja */
.duna-nav.show {
  max-height: 140px; /* Ajustá este valor hasta que te quede simétrico */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.duna-nav a {
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
}













.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.btn-floating {
  background-color: #c0b7ae;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.btn-floating img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: none !important; /* ← muy importante para evitar efecto hover */
  pointer-events: none; /* ← asegura que el hover se aplica solo al botón */
}









@media (max-width: 768px) {
  .duna-nav.show {
    max-height: 250px;
  }

  .duna-header .duna-inner {
    justify-content: space-between;
    padding: 1rem;
  }

  .menu-icon {
    font-size: 1.8rem;
    cursor: pointer;
  }

  .duna-nav a {
    padding: 0.6rem 0;
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .popup-carta-content {
    width: 95%;
    max-height: 90vh;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .carta-clasica-grid {
    flex-direction: column;
  }

  .col {
    max-width: 100%;
  }

  .producto-linea {
    gap: 0.6rem;
  }

  .producto-linea img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  p {
    font-size: 0.95rem;
    text-align: center;
    padding: 0 1rem;
  }

  .about-btn,
  .cta button {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
  }
}

@media (max-width: 768px) {
  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .about-text p {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.6;
    color: #444;
  }

  
  .about-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
}
@media (max-width: 768px) {
  .hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/tizi/img/duna/hero1.png'); /* tu imagen mobile */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    overflow: hidden;
    padding: 0;
  }

  .hero img {
    display: none;
  }

  .hero-text-mobile {
    font-family:   'Playfair Display', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 2rem 1rem;
  
    /* Fondo con blur */
    background: rgba(0, 0, 0, 0.4); /* color semitransparente */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0;
  }
  

  .hero-text h2 {
    font-size: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }

  .hero-text p {
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}
@media (max-width: 768px) {
  .hero {
    margin-top: 0;
    padding-top: 0;
  }

  body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }
}


@media (max-width: 768px) {
  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .gallery img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
  }

  .gallery img:hover {
    transform: scale(1.02);
  }
}
@media (max-width: 768px) {
  /* Ocultamos texto de abajo */
  .hero-text {
    display: none;
  }

  /* Mostramos texto sobre la imagen */
  .hero-text-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 2rem 1rem;
  }

  .hero-text-mobile h2 {
    font-size: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  }

  .hero-text-mobile p {
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
}
