
/* ------------------------------
   TIPOGRAFÍA Y BASE
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Inter', sans-serif;
  background-color: #FDF8F3;
  color: #1F2D44;
  scroll-behavior: smooth;
}

/* ------------------------------
   COLORES Y UTILIDADES
--------------------------------*/
.bg-cream { background-color: #FDF8F3; }
.bg-white { background-color: #ffffff; }
.bg-orange { background-color: #F75C03; }
.text-orange { color: #F75C03; }
.text-navy { color: #1F2D44; }
.text-gray-600 { color: #4B5563; }
.text-gray-500 { color: #6B7280; }
.text-red-600 { color: #DC2626; }

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #F75C03;
}

/* ------------------------------
   CONTENEDORES Y ESTRUCTURA
--------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 1.5rem;
  color: #1F2D44;
  font-weight: 700;
  margin-bottom: 1rem;
}

section p, section li {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
}

ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

/* ------------------------------
   TIPOGRAFÍA
--------------------------------*/
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ------------------------------
   BOTONES
--------------------------------*/
button,
.btn,
.btn-primary,
.btn-outline {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #F75C03;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #d94f02;
}

.btn-outline {
  background-color: transparent;
  color: #F75C03;
  border: 2px solid #F75C03;
}

.btn-outline:hover {
  background-color: #F75C03;
  color: white;
}

/* ------------------------------
   FORMULARIOS
--------------------------------*/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  background-color: #fff;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #F75C03;
}

/* ------------------------------
   HEADER
--------------------------------*/
/* Estilos base */
/* HEADER FIJO */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }
  
  /* Contenedor interno */
  header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Logo */
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F75C03;
    text-decoration: none;
  }
  
  /* Botón hamburguesa */
  #menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
  }
  
  /* Navegación (desktop) */
  nav {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  
  nav a:hover {
    color: #F75C03;
  }
  
  /* Navegación móvil */
  @media (max-width: 768px) {
    #menu-toggle {
      display: block;
    }
  
    nav {
      display: none;
      flex-direction: column;
      background-color: #fff;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 1rem 1.5rem;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      animation: fadeIn 0.3s ease-in-out;
    }
  
    nav.active {
      display: flex;
    }
  
    nav a {
      padding: 0.75rem 0;
      border-bottom: 1px solid #eee;
    }
  
    nav a:last-child {
      border-bottom: none;
    }
  
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
  
  

/* ------------------------------
   HERO SECTION
--------------------------------*/
/* ------------------------------
   HERO SECTION COMPACTO PANORÁMICO
--------------------------------*/

.hero-compact {
    position: relative;
    background-image: url('../img/hero-hotel.png'); /* Ajusta si cambia la ruta */
    background-size: cover;
    background-position: center;
    min-height: calc(460px + var(--header-height, 80px)); /* Altura + espacio para header */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--header-height, 80px); /* Espacio para que no lo tape el header */
    overflow: hidden;
  }
  
  /* Capa oscura degradada */
  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
  }
  
  /* Contenido del hero */
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-left: 5rem;
    color: white;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: white;
  }
  
  .hero-content .highlight {
    color: #FBBF24;
    font-weight: 700;
  }
  
  .hero-content p {
    font-size: 1rem;
    color: #f3f4f6;
    margin-bottom: 2rem;
    max-width: 90%;
  }
  
  /* Botones */
  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .hero-buttons .btn-primary {
    background-color: #F75C03;
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
  }
  
  .hero-buttons .btn-primary:hover {
    background-color: #d94f02;
  }
  
  .hero-buttons .btn-outline {
    border: 2px solid #F75C03;
    color: #F75C03;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }
  
  .hero-buttons .btn-outline:hover {
    background-color: #F75C03;
    color: white;
  }
  
  /* Responsive: centrado y espaciado */
  @media (max-width: 768px) {
    .hero-content {
      padding: 0 1.5rem;
    }
  
    .hero-content h1 {
      font-size: 1.8rem;
    }
  
    .hero-content p {
      font-size: 0.95rem;
    }
  }
  
  
/* ------------------------------
   CARD HOTEL
--------------------------------*/
.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #1F2D44;
}

.card p.location {
  color: #4B5563;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.card p.description {
  font-size: 0.9rem;
  color: #6B7280;
  margin-top: 0.5rem;
}

.card p.interests {
  font-size: 0.85rem;
  color: #F75C03;
  margin-top: 0.5rem;
}

.card .actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card .actions .btn {
  flex: 1;
}

/* ------------------------------
   GALERÍA DE MEDIOS
--------------------------------*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery img,
.gallery video {
  width: 100%;
  border-radius: 0.5rem;
  height: 100px;
  object-fit: cover;
}

/* ------------------------------
   LOGIN / FORMULARIOS
--------------------------------*/
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf8f3, #fff);
  padding: 2rem;
}

.login-card {
  background-color: #fff;
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.login-card h1 {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1F2D44;
}

.login-card .input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
}

.login-card .input:focus {
  outline: none;
  border-color: #F75C03;
}

.login-card .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: #F75C03;
  color: white;
  transition: background 0.3s;
}

.login-card .btn:hover {
  background-color: #d94f02;
}

.login-card .btn-outline {
  background-color: transparent;
  border: 2px solid #F75C03;
  color: #F75C03;
}

.login-card .btn-outline:hover {
  background-color: #F75C03;
  color: white;
}

.login-card p {
  text-align: center;
  font-size: 0.9rem;
  color: #6B7280;
  margin-top: 1rem;
}

.login-card p a {
  color: #F75C03;
  font-weight: 600;
}

.login-card p a:hover {
  text-decoration: underline;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
  background-color: #ffffff;
  border-top: 1px solid #E5E7EB;
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 1.5rem;
  color: #6B7280;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 768px) {
  header nav a {
    margin-left: 0.75rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  button,
  .btn {
    width: 100%;
    text-align: right;
  }
}
/* -----------------------
Respuesta chatgpt
---------------- */
.result-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-top: 2rem;
    border-left: 6px solid #F75C03;
    color: #1F2D44;
    font-family: 'Inter', sans-serif;
    white-space: pre-wrap;
  }
  
  .result-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #F75C03;
  }
  
  .result-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .result-card table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
  }
  
  .result-card table th,
  .result-card table td {
    padding: 0.6rem 0.8rem;
    border: 1px solid #e5e7eb;
    text-align: left;
  }
  
  .result-card table th {
    background-color: #fef3ec;
    color: #F75C03;
  }
  

  /* -----------
  Servicios del analizador
  ------------*/

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .services-grid label {
    background-color: #fdf8f3;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1F2D44;
    font-weight: 500;
  }
  
  .services-grid input[type="checkbox"].hidden {
    display: none;
  }
  
  .services-grid input[type="checkbox"].hidden:checked + span {
    background-color: #F75C03;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
  }
  
  .services-grid label:hover {
    background-color: #fbe8dc;
  }
/* -------------
Aceptaciones de contacto analisis
---------------- */
.legal-consent {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #1F2D44;
  }
  
  .checkbox-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .checkbox-item input[type="checkbox"] {
    transform: scale(1.2);
    margin-top: 0.25rem;
  }
  
  .checkbox-item span {
    line-height: 1.6;
  }
  
  .checkbox-item a {
    color: #F75C03;
    font-weight: 500;
    text-decoration: underline;
  }
  
  .checkbox-item a:hover {
    color: #d94f02;
  }

  /*----------------
  Estrellas analysis
  ----------------*/
  .star-rating {
    font-size: 2rem;
    color: #D1D5DB;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .star-rating span {
    color: #D1D5DB;
    transition: color 0.2s;
  }
  
  .star-rating span.active {
    color: #FBBF24;
  }
  
  .star-rating:hover span {
    color: #FBBF24;
  }
  
  .star-rating:hover span:hover ~ span {
    color: #D1D5DB;
  }
/* -------------
Popup loading respuesta chatgpt
---------------- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .loading-box {
    background: white;
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .loading-box p {
    margin-top: 1rem;
    color: #1F2D44;
    font-weight: 500;
    font-size: 1.1rem;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #F75C03;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
/* ---------------
cards index ventajas
---------------- */
.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    color: #1F2D44;
  }
  
  .advantage-card h3 {
    color: #F75C03;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .advantage-card:hover {
    transform: translateY(-4px);
  }

  /* -------------------
  Login subir nuevo hotel popup error
  ----------------- */
      /* Modal backdrop */
.modal-backdrop {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease forwards;
  }
  
  /* Modal box */
  .modal-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease forwards;
  }
  
  .modal-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1F2D44;
    margin-bottom: 1rem;
  }
  
  .modal-box p {
    color: #555;
    margin-bottom: 2rem;
  }
  
  /* Modal actions */
  .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  /* Botones */
  .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }
  
  .btn.primary {
    background: #1F2D44;
    color: white;
    border: none;
  }
  
  .btn.outline {
    background: white;
    color: #1F2D44;
    border: 2px solid #1F2D44;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  /* Animaciones */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* Bloqueo de scroll */
  body.modal-open {
    overflow: hidden;
  }
  
  /*--------------------
  FORM REGISTRO HOTEL
-------------------*/
/* CONTENEDOR PRINCIPAL */
.reg-container {
    max-width: 800px;
    margin: 3rem auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }
  
  .reg-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1F2D44;
  }
  
  /* GRUPOS DE INPUTS */
  .reg-form {
    display: flex;
    flex-direction: column;
  }
  
  .reg-group {
    position: relative;
    margin-bottom: 1.8rem;
  }
  
  .reg-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  /* INPUTS Y TEXTAREAS */
  .reg-input {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.3s ease;
  }
  
  .reg-input:focus {
    outline: none;
    border-color: #f75c03;
    box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
  }
  
  /* FLOATING LABEL */
  .reg-floating input,
  .reg-floating textarea {
    padding-top: 1.25rem;
  }
  
  .reg-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fff;
    padding: 0 0.3rem;
    color: #6b7280;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.2s ease;
  }
  
  .reg-floating input:focus + label,
  .reg-floating input:not(:placeholder-shown) + label,
  .reg-floating textarea:focus + label,
  .reg-floating textarea:not(:placeholder-shown) + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: #f75c03;
  }
  
  /* FILAS */
  .reg-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* ESTRELLAS */
  .reg-stars span {
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    user-select: none;
  }
  
  .reg-stars span.hover,
  .reg-stars span.selected {
    color: #f75c03;
  }
  
  /* SERVICIOS */
  .reg-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }
  
  .reg-service {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    background: #fff;
    color: #374151;
    transition: all 0.2s;
  }
  
  .reg-service:hover {
    background-color: #fff2e8;
    border-color: #f75c03;
  }
  
  .reg-service.selected {
    background-color: #f75c03;
    color: #fff;
    border-color: #f75c03;
  }
  
  /* CHECKBOXES DE INTERÉS */
  .reg-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #374151;
  }
  
  /* MAPA */
  .reg-map {
    height: 300px;
    border-radius: 1rem;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
  }
  
  /* BOTONES */
  .reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .reg-btn.primary {
    background-color: #f75c03;
    color: #fff;
    font-size: 1rem;
    padding: 0.9rem;
    width: 100%;
  }
  
  .reg-btn.primary:hover {
    background-color: #e45b00;
  }
  
  .reg-btn.small {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    margin-top: 0.5rem;
  }
  
  .reg-btn.small:hover {
    background-color: #e5e7eb;
  }
  
  /* SPINNER */
  .reg-btn .btn-spinner {
    display: none;
    margin-left: 0.5rem;
  }
  
  .conditional {
    display: none;
  }
  
  /* FULL WIDTH HELPER */
  .w-full {
    width: 100%;
  }
/* ✅ Ajuste de títulos y espacios */
.reg-label {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #1f2937;
  }
  
  /* ✅ Más aire debajo del mapa */
  #map.reg-map {
    margin-bottom: 1.5rem;
  }
  
  /* ✅ Estrellas separadas del título */
  #categoryStars {
    margin-top: 0.4rem;
  }
  
  /* ✅ Mejor alineación de inputs y selects */
  .reg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .reg-row .reg-group {
    flex: 1;
    min-width: 180px;
  }
  
  /* ✅ Uniformidad entre inputs y selects */
  select.reg-input {
    appearance: none;
    background-color: #fff;
    font-size: 1rem;
    padding: 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    transition: border-color 0.3s ease;
  }
  select.reg-input:focus {
    outline: none;
    border-color: #f75c03;
    box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
  }
  
  /* ✅ Servicios más modernos */
  .reg-service {
    border-radius: 0.6rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.92rem;
  }
  
  /* ✅ Alineación visual de las opciones de interés */
  .reg-checks {
    gap: 1.5rem;
    margin-top: 0.7rem;
    font-size: 1rem;
  }
  .reg-checks input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f75c03;
    margin-right: 0.5rem;
  }
  
  /* ✅ Input condicional más espaciado */
  .conditional {
    margin-top: 1.2rem;
  }
/* ---------------
header
----------------------- */
    