/* ==========================================================================
   A2GO PROPERTIES - CATÁLOGO DE PROPIEDADES AIRBNB
   Paleta de Marca Oficial: #050a30 (Azul Marino Profundo) y #e63946 (Rojo A2GO)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #050a30;
  --navy-light: #0d164d;
  --navy-subtle: #f0f2fa;
  --accent-red: #e63946;
  --accent-red-hover: #c92a37;
  --accent-red-light: #fdf2f3;
  
  --primary: #050a30;
  --primary-hover: #0d164d;
  --primary-light: #f0f2fa;
  
  --dark: #050a30;
  --darker: #02051a;
  --dark-hero: #050a30;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #F4F6FC;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --star-gold: #f59e0b;
  --success: #10b981;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(5, 10, 48, 0.06), 0 1px 2px rgba(5, 10, 48, 0.04);
  --shadow-md: 0 4px 14px rgba(5, 10, 48, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(5, 10, 48, 0.15), 0 4px 6px -2px rgba(5, 10, 48, 0.05);
  --shadow-hover: 0 14px 30px rgba(5, 10, 48, 0.2);
  
  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body, html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #fafbfc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

body {
  padding-top: 80px;
}

body.admin-body,
.admin-layout {
  padding-top: 0;
}

input, button, select, textarea, optgroup, label, table, th, td, a, p, span, h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  box-sizing: border-box;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-red);
}

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

/* Tipografía de A2GO */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

h1 b, h2 b, h3 b {
  color: var(--accent-red);
  font-weight: 800;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   HEADER & NAVBAR (CABECERA FLOTANTE CON SCROLL)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 14px rgba(5, 10, 48, 0.05);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 25px rgba(5, 10, 48, 0.09);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .header-inner {
  height: 66px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .site-logo-img {
  height: 40px;
}

.logo-badge {
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  border-left: 4px solid var(--accent-red);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease-in-out;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  border-radius: 1px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--accent-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-red);
}

/* SUBMENÚ / DROPDOWN NAVEGACIÓN */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  color: currentColor;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 200px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(5, 10, 48, 0.14);
  border: 1px solid rgba(5, 10, 48, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-dropdown-item .dropdown-icon {
  font-size: 1rem;
}

.nav-dropdown-item:hover {
  background: #f8fafc;
  color: var(--accent-red);
  transform: translateX(4px);
}

.nav-dropdown-item.active {
  background: #fff1f2;
  color: var(--accent-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  background: var(--accent-red);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn-header-cta:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
}


.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO / SLIDER SECTION (ESTILO A2GO OFICIAL)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88)), url('../images/fondo.png'), url('../images/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--navy);
  padding: 100px 0 135px;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section > .container {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text-col {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.35;
}

.hero-title-line {
  display: block;
  margin-bottom: 8px;
}

.hero-title-line:last-child {
  margin-bottom: 0;
}

.hero-title b,
.hero-title strong {
  font-weight: 700;
  color: var(--navy);
}

.hero-title-star {
  color: var(--accent-red);
  font-size: 1.35rem;
  display: inline-block;
  vertical-align: 2px;
  line-height: 1;
  margin-right: 6px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 530px;
}

.hero-subtitle b,
.hero-subtitle strong {
  font-weight: 600;
  color: var(--navy);
}

.hero-subtitle-cta {
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-top: 10px;
  font-size: 1.02rem;
}

.btn-hero-primary {
  background: var(--accent-red);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  display: inline-block;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.45);
}

.hero-slider-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(5, 10, 48, 0.12));
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   SEARCH & FILTER BAR (ESTILO AIRBNB / A2GO)
   ========================================================================== */
.search-filter-wrapper {
  margin-top: -42px;
  position: relative;
  z-index: 10;
  margin-bottom: 45px;
}

.search-filter-card {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 10px 30px rgba(5, 10, 48, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 1.3fr 1.1fr auto;
  gap: 12px;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  color: #64748b;
  margin-bottom: 5px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  height: 38px;
  padding: 7px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 450;
  color: #1e293b;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: #050a30;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(5, 10, 48, 0.07);
}

.btn-search {
  background: var(--accent-red);
  color: #fff;
  border: none;
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  padding: 0 20px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  height: 38px;
  margin-top: 17px;
  box-shadow: 0 3px 10px rgba(230, 57, 70, 0.22);
}

.btn-search:hover {
  background: var(--accent-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(230, 57, 70, 0.32);
}

.btn-reset-filter {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.74rem;
  cursor: pointer;
  padding: 4px 8px;
  margin-top: 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-reset-filter:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

/* ==========================================================================
   SECCIÓN DE CATÁLOGO / PROPIEDADES (AIRBNB GRID)
   ========================================================================== */
.catalog-section {
  padding: 20px 0 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--navy);
}

.section-title b {
  color: var(--accent-red);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 4px;
}

.properties-count {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* TARJETA DE PROPIEDAD */
.property-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(230, 57, 70, 0.35);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cbd5e1;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .card-image {
  transform: scale(1.05);
}

/* Badges sobre la imagen */
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.badge-superhost {
  background: #ffffff;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
}

.badge-featured {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(230, 57, 70, 0.3);
}

.badge-type {
  background: rgba(5, 10, 48, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-operation {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-venta {
  background: #059669;
  color: #ffffff;
}

.badge-alquiler {
  background: #2563eb;
  color: #ffffff;
}

.card-price-container {
  margin-top: 10px;
  margin-bottom: 6px;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-price-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: #15803d;
}

.pill-venta {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.pill-alquiler {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.card-rating-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.card-rating-badge svg {
  color: var(--star-gold);
  fill: var(--star-gold);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: var(--navy);
}

.card-title a:hover {
  color: var(--accent-red);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-view {
  background: var(--navy);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-view:hover {
  background: var(--accent-red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-card-wa {
  background: #e6f7ef;
  color: var(--whatsapp-dark);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-card-wa:hover {
  background: var(--whatsapp);
  color: #ffffff;
}

/* ==========================================================================
   SECCIÓN CONÓCENOS / JERRY SUPERANFITRIÓN (ESTILO A2GO)
   ========================================================================== */
.about-founder-section {
  background: var(--bg-white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-main);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.about-badges-row {
  display: flex;
  gap: 16px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border-color);
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--navy);
}

.about-image-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.superhost-floating-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(5, 10, 48, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 3.5px solid var(--accent-red);
}

.superhost-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.superhost-floating-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--navy);
  line-height: 1.2;
}

.superhost-floating-card p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   SECCIÓN DE TESTIMONIOS (CARRUSEL DELICADO Y ELEGANTE)
   ========================================================================== */
.testimonials-section {
  padding: 45px 0 55px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.testimonials-header-centered {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 24px;
}

.testimonials-eyebrow {
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-bottom: 4px;
}

.testimonials-heading {
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.testimonials-heading b {
  font-weight: 800;
  color: var(--accent-red);
}

.testimonials-subheading {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0 auto;
  max-width: 520px;
}

.testimonials-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 4px 14px;
}

.testimonials-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.testimonials-carousel-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 280px;
  height: 215px;
  box-sizing: border-box;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  padding: 18px 18px 16px;
  box-shadow: 0 4px 16px rgba(5, 10, 48, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(5, 10, 48, 0.07);
  border-color: #cbd5e1;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.testimonial-user-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.testimonial-avatar-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(124, 58, 237, 0.12);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

.testimonial-location {
  font-size: 0.70rem;
  color: #94a3b8;
  display: block;
  margin-top: 1px;
  margin-bottom: 1px;
  font-weight: 400;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 1px;
}

.testimonial-stars {
  color: #1e293b;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  line-height: 1;
}

.testimonial-dot {
  color: #cbd5e1;
  font-size: 0.70rem;
}

.testimonial-date {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.72rem;
}

.testimonial-quote-icon {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
  color: var(--accent-red);
}

.testimonial-content {
  font-size: 0.81rem;
  line-height: 1.54;
  color: #475569;
  font-weight: 350;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.testimonial-content::-webkit-scrollbar {
  width: 3px;
}

.testimonial-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.testimonial-content::-webkit-scrollbar-track {
  background: transparent;
}

.testimonial-content p {
  margin: 0 0 6px 0;
}

.testimonial-content p:last-child {
  margin-bottom: 0;
}

.testimonials-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
}

.carousel-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.carousel-nav-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.carousel-nav-btn:active {
  transform: scale(0.95);
}

.testimonials-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-red);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 20px) / 2);
    height: 215px;
  }
}

@media (max-width: 640px) {
  .testimonials-section {
    padding: 35px 0 40px;
  }
  
  .testimonials-heading {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .testimonials-eyebrow {
    font-size: 0.68rem;
  }

  .testimonials-subheading {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .superhost-floating-card {
    padding: 8px 12px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    gap: 10px;
  }

  .superhost-badge-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .superhost-floating-card h4 {
    font-size: 0.80rem;
  }

  .superhost-floating-card p {
    font-size: 0.70rem;
    line-height: 1.3;
  }
  
  .testimonial-card {
    flex: 0 0 88%;
    min-width: 250px;
    height: 200px;
    padding: 14px 14px 12px;
  }
}

/* ==========================================================================
   SERVICIOS DESTACADOS (CARDS DE A2GO)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-red);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-red-light);
  color: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   VISTA DE DETALLE DE LA PROPIEDAD (PROPERTY.PHP)
   ========================================================================== */
.property-detail-header {
  padding: 30px 0 20px;
}

.property-title-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

.prop-detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
}

.prop-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-rating {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   GALERÍA DE FOTOS RESPONSIVA, SLIDER MÓVIL Y LIGHTBOX
   ========================================================================== */
.property-gallery-container {
  position: relative;
  margin-bottom: 35px;
}

.desktop-only-gallery {
  display: grid;
}

.mobile-only-gallery {
  display: none;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-main-img {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #f1f5f9;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #f1f5f9;
}

.gallery-thumb img, .gallery-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  display: block;
}

.gallery-thumb:hover img, .gallery-main-img:hover img {
  transform: scale(1.04);
}

.btn-show-all-photos {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.btn-show-all-photos:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* Slider Móvil con Scroll-Snap */
.mobile-gallery-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  height: 310px;
}

.mobile-slider-track::-webkit-scrollbar {
  display: none;
}

.mobile-slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  background-color: #f1f5f9;
}

.mobile-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-slider-nav-btn.prev {
  left: 10px;
}

.mobile-slider-nav-btn.next {
  right: 10px;
}

.mobile-slider-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.mobile-slider-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
  z-index: 5;
}

/* Lightbox Modal Fullscreen */
.photo-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  flex-direction: column;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.photo-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  min-width: 80px;
}

.lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  text-align: center;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
}

.lightbox-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: calc(100vh - 180px);
  position: relative;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0.4; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.lightbox-thumbs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  overflow-x: auto;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
}

.lightbox-thumb-btn {
  width: 60px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.lightbox-thumb-btn.active, .lightbox-thumb-btn:hover {
  opacity: 1;
  border-color: var(--primary);
  transform: scale(1.06);
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LAYOUT DE DETALLE: 2 COLUMNAS (INFO + CAJA DE RESERVA) */
.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  margin-bottom: 80px;
}

.host-info-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(5, 10, 48, 0.03);
  max-width: 100%;
}

.host-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.host-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
}

.host-super-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.62rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
}

.host-info-content {
  min-width: 0;
}

.host-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.host-name span {
  font-weight: 500;
  color: var(--text-muted);
}

.host-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.prop-section-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.prop-specs-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.prop-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prop-spec-dot {
  color: var(--text-muted);
  opacity: 0.6;
}

.prop-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.prop-description {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.75;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: break-word;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.4;
}

.amenity-item span {
  word-break: break-word;
  overflow-wrap: break-word;
}

.amenity-item svg {
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.prop-location-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* CAJA DE RESERVA / CALCULADORA STICKY */
.booking-sticky-box {
  position: sticky;
  top: 100px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(5, 10, 48, 0.08);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.booking-price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.booking-price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

.booking-form-dates {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.date-input-group {
  padding: 10px 12px;
  box-sizing: border-box;
  min-width: 0;
}

.date-input-group:first-child {
  border-right: 1px solid var(--border-color);
}

.date-input-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.date-input-group input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--navy);
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

.guests-input-group {
  padding: 10px 12px;
  box-sizing: border-box;
  width: 100%;
}

.guests-input-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.guests-input-group select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--navy);
  outline: none;
  background: transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.booking-breakdown {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.breakdown-total {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.btn-book-whatsapp {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  margin-bottom: 10px;
  box-sizing: border-box;
}

.btn-book-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-view-airbnb {
  width: 100%;
  background: #fff;
  color: var(--accent-red);
  border: 2px solid var(--accent-red);
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-view-airbnb:hover {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-submit-inquiry {
  width: 100%;
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.22);
}

.btn-submit-inquiry:hover {
  background: #be123c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.32);
}

.btn-submit-inquiry svg {
  flex-shrink: 0;
  display: block;
}

.btn-submit-inquiry span {
  white-space: nowrap;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL (ESTILO A2GO)
   ========================================================================== */
.site-footer {
  background: #050a30;
  color: #cbd5e1;
  padding: 65px 0 28px;
  border-top: 4px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 50px;
  margin-bottom: 45px;
  align-items: start;
}

.footer-logo-link {
  display: inline-block;
  background: #ffffff;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand-text {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 380px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 11px;
}

.footer-links-list li a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-title {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-contact-item p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

.footer-contact-item p a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-contact-item p a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn svg {
  display: block;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
}

.social-icon-btn.facebook-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-icon-btn.instagram-btn:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
}

.social-icon-btn.whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: var(--whatsapp-dark);
  color: #ffffff;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-layout {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  position: relative;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #334155;
}

.admin-mobile-topbar {
  display: none;
}

.admin-sidebar-overlay {
  display: none;
}

.admin-sidebar {
  width: 260px;
  background: #090e24;
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-logo-img {
  height: 38px;
  width: auto;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-sidebar-close {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.admin-sidebar-close:hover {
  background: var(--accent-red);
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}

.admin-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  flex-shrink: 0;
}

.admin-user-info {
  min-width: 0;
  flex-grow: 1;
}

.admin-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-status {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.admin-nav-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #64748b;
  padding: 6px 12px;
  margin-top: 6px;
}

.admin-nav-link {
  color: #94a3b8;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-nav-link.active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35);
}

.nav-counter-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: auto;
  font-weight: 700;
}

.admin-topbar-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.admin-nav-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.link-external {
  color: #60a5fa !important;
}
.link-external:hover {
  background: rgba(96, 165, 250, 0.12) !important;
  color: #93c5fd !important;
}

.link-logout {
  color: #f87171 !important;
}
.link-logout:hover {
  background: rgba(248, 113, 113, 0.12) !important;
  color: #fca5a5 !important;
}

.admin-main {
  flex-grow: 1;
  padding: 32px 40px;
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  box-sizing: border-box;
  background: #f8fafc;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 16px;
}

.admin-header h1 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.admin-header p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

.admin-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.admin-metric-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 20px 22px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.admin-metric-card .metric-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.admin-metric-card .metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 6px;
  line-height: 1;
}

.admin-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.admin-filter-tab {
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.admin-filter-tab.active {
  background: #090e24;
  color: #fff;
  border: 1px solid #090e24;
  box-shadow: 0 2px 8px rgba(9, 14, 36, 0.25);
}

.admin-filter-tab.inactive {
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.admin-filter-tab.inactive:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f8fafc;
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table th, .admin-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Botones Modernos de Acción */
.btn-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}

.btn-act svg {
  flex-shrink: 0;
}

.btn-act-view {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
.btn-act-view:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-act-edit {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}
.btn-act-edit:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.btn-act-hide {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}
.btn-act-hide:hover {
  background: #fef3c7;
  color: #b45309;
}

.btn-act-activate {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}
.btn-act-activate:hover {
  background: #dcfce7;
  color: #15803d;
}

.btn-act-delete {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
.btn-act-delete:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Badges Delicados */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pill-superhost {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.pill-featured {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  cursor: pointer;
}
.pill-featured:hover {
  background: #ffe4e6;
}

.pill-featured-off {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-weight: 500;
  cursor: pointer;
}
.pill-featured-off:hover {
  background: #f1f5f9;
  color: #334155;
}

.pill-active {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  cursor: pointer;
}
.pill-active:hover {
  background: #dcfce7;
}

.pill-hidden {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  font-weight: 500;
  cursor: pointer;
}
.pill-hidden:hover {
  background: #f1f5f9;
  color: #475569;
}

.pill-pasadia {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.pill-alojamiento {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 16px;
}

.admin-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.admin-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-form-group {
  margin-bottom: 16px;
}

.admin-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: var(--accent-red);
}

.admin-form-actions {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES) & MOBILE BUTTONS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-section {
    padding: 70px 0 100px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slider-img-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .search-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  .search-form-grid .btn-search {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .photo-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Header y Navegación Móvil Flotante */
  body {
    padding-top: 66px;
  }

  .site-header {
    height: auto;
    padding: 0;
  }

  .header-inner {
    height: 66px;
  }

  .site-header.is-scrolled .header-inner {
    height: 58px;
  }

  .site-logo-img {
    height: 36px;
    max-width: 160px;
  }

  .site-header.is-scrolled .site-logo-img {
    height: 30px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-header-cta {
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 6px;
    border-radius: var(--radius-full);
  }

  .header-actions a[title="Panel Administrador"] {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:active {
    background: #f1f5f9;
    color: var(--accent-red);
    border-color: #cbd5e1;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 18px 22px;
    box-shadow: 0 20px 40px rgba(5, 10, 48, 0.14);
    border-top: 1px solid #f1f5f9;
    border-bottom: 3px solid var(--accent-red);
    flex-direction: column;
    gap: 4px;
    z-index: 9999;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .main-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .main-nav .nav-link:hover {
    background: #f8fafc;
    color: var(--accent-red);
  }

  .main-nav .nav-link.active {
    background: rgba(229, 9, 20, 0.08);
    color: var(--accent-red);
    font-weight: 700;
  }

  .main-nav .nav-link.active::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e2e8f0;
    background: transparent;
    margin: 2px 0 6px 16px;
    padding: 2px 0 2px 8px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    font-size: 0.93rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav-dropdown-item:hover {
    background: #f8fafc;
    color: var(--navy);
    box-shadow: none;
  }

  .nav-dropdown-item.active {
    background: #fff1f2;
    color: var(--accent-red);
    font-weight: 700;
    box-shadow: none;
  }

  /* Hero Section Móvil */
  .hero-section {
    padding: 50px 0 75px;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .btn-hero-primary {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    padding: 15px 24px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  /* Buscador y Filtros */
  .search-filter-wrapper {
    margin-top: -30px;
    margin-bottom: 35px;
  }

  .search-filter-card {
    padding: 20px 16px;
  }

  .search-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .search-form-grid .btn-search {
    grid-column: span 1;
    width: 100%;
    padding: 10px 16px;
    height: 40px;
    font-size: 0.86rem;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 6px;
  }

  .btn-reset-filter {
    width: 100%;
    padding: 10px;
    font-size: 0.88rem;
    margin-top: 8px;
    text-align: center;
    display: block;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    box-sizing: border-box;
  }

  /* Encabezado de Sección en Móvil */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 6px;
  }

  .properties-count {
    align-self: flex-start;
    font-size: 0.82rem;
    padding: 6px 14px;
    white-space: nowrap;
  }

  /* Grilla de Propiedades */
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .property-card {
    border-radius: var(--radius-md);
  }

  .card-body {
    padding: 18px 16px;
  }

  .card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
  }

  .card-price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  .card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .btn-card-view {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
    text-align: center;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }

  .btn-card-wa {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-sizing: border-box;
  }

  /* Sección Jerry / Superanfitrión */
  .about-text .btn-header-cta {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .about-badges-row {
    flex-direction: column;
    gap: 10px;
  }

  /* Formulario de Contacto en Móvil */
  #contacto form {
    padding: 24px 18px !important;
  }

  #contacto form div[style*="grid-template-columns:1fr 1fr"],
  #contacto form div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #contacto form button[type="submit"] {
    width: 100% !important;
    padding: 15px !important;
    font-size: 1rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Ficha de Propiedad (Property.php) */
  .desktop-only-gallery {
    display: none !important;
  }

  .mobile-only-gallery {
    display: block !important;
  }

  .property-gallery-container {
    margin-bottom: 24px;
  }

  .mobile-slider-track {
    height: 280px;
    border-radius: var(--radius-lg);
  }

  .lightbox-title {
    display: none;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }

  .lightbox-thumbs-bar {
    display: none;
  }

  .property-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 25px;
  }

  .prop-section-block {
    padding: 16px 0;
  }

  .prop-section-title {
    font-size: 1.16rem;
    margin-bottom: 10px;
  }

  .prop-description {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
  }

  .amenity-item {
    font-size: 0.86rem;
    gap: 8px;
  }

  .prop-specs-bar {
    font-size: 0.88rem;
    gap: 8px 12px;
  }

  .prop-location-text {
    font-size: 0.9rem;
  }

  .host-info-card {
    display: flex;
    padding: 9px 12px;
    gap: 10px;
    margin-bottom: 16px;
  }

  .host-avatar {
    width: 36px;
    height: 36px;
  }

  .host-name {
    font-size: 0.86rem;
  }

  .host-meta {
    font-size: 0.74rem;
  }

  .booking-sticky-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 14px !important;
    margin-top: 10px;
    box-sizing: border-box !important;
    border-radius: var(--radius-md);
  }

  .booking-form-dates {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .dates-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .date-input-group {
    padding: 8px 12px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .date-input-group:first-child {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  .date-input-group input {
    font-size: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .guests-input-group {
    padding: 8px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .guests-input-group select {
    font-size: 0.88rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .property-inquiry-section {
    margin: 10px auto 40px !important;
  }

  .btn-book-whatsapp {
    width: 100% !important;
    padding: 13px 16px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .btn-view-airbnb {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  #inquiry-form {
    padding: 20px 16px !important;
  }

  #inquiry-form div[style*="grid-template-columns:1fr 1fr"],
  #inquiry-form div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #inquiry-form button[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
  }

  /* Botón WhatsApp Flotante */
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Admin Panel Móvil */
  .admin-layout {
    flex-direction: column;
    min-height: 100vh;
  }

  .admin-mobile-topbar {
    display: flex;
    background: #050a30;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--accent-red);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .admin-mobile-logo img {
    height: 34px;
    width: auto;
    background: #fff;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    display: block;
  }

  .admin-mobile-toggle-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 600;
  }

  .admin-mobile-toggle-btn:hover,
  .admin-mobile-toggle-btn:active {
    background: var(--accent-red);
    border-color: var(--accent-red);
  }

  .admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 10, 48, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .admin-sidebar-overlay.active {
    display: block;
    opacity: 1;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    z-index: 1100;
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.5);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 24px 18px;
  }

  .admin-sidebar.active {
    left: 0;
  }

  .admin-sidebar-close {
    display: flex !important;
  }

  .admin-main {
    padding: 18px 14px;
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 20px;
  }

  .admin-header h1 {
    font-size: 1.4rem;
  }

  .admin-header .btn-header-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 20px;
  }

  .admin-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

  .admin-metric-card {
    padding: 16px;
  }

  .admin-card {
    padding: 18px 14px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
  }

  .admin-grid-2,
  .admin-grid-3,
  .admin-radio-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .admin-form-group input,
  .admin-form-group select,
  .admin-form-group textarea {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    padding: 11px 12px !important;
  }

  .admin-form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .admin-form-actions button,
  .admin-form-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .admin-filter-tabs {
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .admin-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-filter-tab {
    font-size: 0.8rem !important;
    padding: 7px 12px !important;
  }

  .admin-table td .btn-card-wa {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    height: 32px;
    max-width: 140px;
  }

  .btn-header-cta {
    padding: 6px 12px;
    font-size: 0.76rem;
    gap: 5px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .properties-count {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .mobile-slider-track {
    height: 240px;
  }

  .prop-section-title {
    font-size: 1.08rem;
  }

  .prop-description {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .amenity-item {
    font-size: 0.85rem;
  }

  .prop-specs-bar {
    font-size: 0.82rem;
    gap: 6px 10px;
  }

  .prop-spec-badge svg {
    width: 15px;
    height: 15px;
  }

  .prop-location-text {
    font-size: 0.86rem;
  }

  .btn-submit-inquiry {
    padding: 11px 14px;
    font-size: 0.88rem;
  }
}