/* Responsive global */
/* ============================================
   MEDIA QUERIES FINALES PARA MÓVIL
   ============================================ */

@media (max-width: 1200px) {
  /* Imágenes responsivas */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Tablas responsivas */
  table {
    font-size: 13px;
  }

  /* Espacios generales */
  body {
    background-attachment: scroll;
  }

  /* Headings */
  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 17px !important;
  }

  h4 {
    font-size: 15px !important;
  }

  /* Links clickeables */
  a {
    min-height: 44px;
    display: inline-block;
    padding: 8px 0;
  }

  /* Elementos interactivos con touch-friendly size */
  button,
  input[type="button"],
  input[type="submit"],
  .btn-mes,
  .btn-submit,
  form button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Espacios entre elementos */
  section,
  #reservas,
  #contacto {
    margin-bottom: 15px;
  }

  /* Padding para contenedores */
  .hero,
  main {
    padding-left: 0;
    padding-right: 0;
  }

  /* Cookie banner responsive */
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner__text {
    font-size: 12px;
    line-height: 1.4;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  /* Texto legible en móvil */
  body {
    font-size: 14px;
  }

  p {
    line-height: 1.5;
  }

  /* Bordes suaves en móvil */
  section,
  .hero-card,
  .servicio-card,
  .apartamento-bloque {
    border-radius: 10px;
  }

  /* Sombras suaves */
  section,
  .hero-card,
  .servicio-card,
  .apartamento-bloque {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  /* Transiciones rápidas */
  * {
    transition-duration: 0.2s !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1 {
    font-size: 20px !important;
  }

  h2 {
    font-size: 18px !important;
  }

  section,
  #reservas,
  #contacto {
    padding: 20px 12px;
    margin: 0 0 10px 0;
  }

  section h2 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .hero-card {
    margin: 0 10px;
    padding: 20px 15px;
  }

  .hero-card h1 {
    font-size: 20px;
  }

  .hero-card p {
    font-size: 13px;
  }

  .servicio-card {
    padding: 12px;
  }

  .apartamento-grid {
    gap: 10px;
  }

  .apartamento-bloque {
    padding: 12px 14px;
  }

  .selector-meses {
    padding: 8px;
  }

  .btn-mes {
    padding: 8px 10px;
    font-size: 11px;
    min-width: 70px;
  }

  form input,
  form select,
  form textarea {
    font-size: 16px;
  }

  button,
  .btn-submit,
  form button {
    min-height: 48px;
    font-size: 14px;
  }

  main {
    padding-top: 75px;
  }

  header {
    height: 65px;
  }

  .main-nav.active {
    top: 65px;
  }
}
/* ====================================
   ESTILOS ADICIONALES PARA ADMIN
   ==================================== */

/* Grid para dos columnas en formularios grandes */
.admin-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .admin-forms-grid {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .admin-forms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .admin-forms-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .admin-forms-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
}

