/* ===== VARIABLES GLOBALES - PALETA LUJOSA ===== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Montserrat', 'Segoe UI', sans-serif; 
}

:root {
  --primary: #0a1423;           /* Azul medianoche */
  --secondary: #c9a961;         /* Oro champagne */
  --light: #fafafa;             /* Blanco hueso */
  --dark: #1a1a1a;              /* Negro suave */
  --gray: #6b6b6b;              /* Gris medio */
  --whatsapp: #25d366;
}

body { 
  background: var(--light); 
  color: var(--dark); 
  line-height: 1.6; 
}

/* ===== NAVBAR CON LOGO GRANDE ===== */
header {
  background: rgba(10, 20, 35, 0.98);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  border-bottom: 2px solid var(--secondary);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: auto;
}

/* Contenedor del logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}


.logo-img {
  height: 120px;
  width: auto;
  padding: 8px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
  transition: all 0.4s;
}

.logo-img:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

/* Texto al lado del logo */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Navegación */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

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

nav a:hover, nav a.active {
  color: var(--secondary);
}

/* ===== RESPONSIVE - MÓVILES ===== */
@media (max-width: 968px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo-container {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .logo-img {
    height: 70px;
  }
  
  .logo-text {
    align-items: center;
  }
  
  .logo-name {
    font-size: 1.5rem;
  }
  
  nav ul {
    gap: 1rem;
    justify-content: center;
  }
  
  nav a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  .logo-img {
    height: 60px;
  }
  
  .logo-name {
    font-size: 1.3rem;
  }
  
  .logo-tagline {
    font-size: 0.65rem;
  }
  
  nav ul {
    gap: 0.8rem;
  }
  
  nav a {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo { 
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; 
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
}

nav ul { 
  display: flex; 
  list-style: none; 
  gap: 2rem; 
  flex-wrap: wrap; 
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

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

nav a:hover, nav a.active { 
  color: var(--secondary); 
}

/* ===== HERO ESTILO LUJO ===== */
.hero {
  background: linear-gradient(to right, 
              rgba(10, 20, 35, 0.1) 0%, 
              rgba(10, 20, 35, 0.1) 50%, 
              rgba(10, 20, 35, 0.1) 100%),
              url('../img/hero.jpg') center/cover no-repeat;
  color: white;
  padding: 8rem 2rem;
  text-align: left;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
/* Agregar sombra al texto para que se lea sobre cualquier imagen 
.hero h1, .hero p {
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);*/

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--secondary);
  transform: translateY(-50%);
  margin-left: 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 2rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
  max-width: 600px;
  position: relative;
  padding-left: 100px;
}

.hero p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--secondary);
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: white;
  border: 2px solid var(--secondary);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  margin-left: 2rem;
}

.hero-btn:hover {
  background: var(--secondary);
  color: white;
  letter-spacing: 4px;
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

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

/* ===== BUSCADOR ELEGANTE ===== */
.search-box {
  background: white;
  padding: 2rem;
  border-radius: 0;
  max-width: 1000px;
  margin: -4rem auto 3rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

.search-box select, .search-box button {
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.search-box select:focus {
  outline: none;
  border-color: var(--secondary);
}

.search-box button {
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.search-box button:hover { 
  background: var(--secondary);
  letter-spacing: 3px;
}

/* ===== SECCIONES ===== */
section { 
  padding: 4rem 2rem; 
  max-width: 1200px; 
  margin: auto; 
}

h2.section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary);
  margin: 1rem auto 0;
}

/* ===== TARJETAS DE PROPIEDADES LUJOSAS ===== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.property-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.4s;
  border: 1px solid #f0f0f0;
}

.property-card:hover { 
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.property-card img { 
  width: 100%; 
  height: 250px; 
  object-fit: cover;
  transition: transform 0.4s;
}

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

.property-info { 
  padding: 1.5rem; 
}

.property-info h3 { 
  font-family: 'Playfair Display', serif;
  color: var(--primary); 
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.price { 
  color: var(--secondary); 
  font-size: 1.5rem; 
  font-weight: 600;
  margin: 0.8rem 0;
  letter-spacing: 0.5px;
}

.tags { 
  display: flex; 
  gap: 0.5rem; 
  flex-wrap: wrap; 
  margin: 1rem 0; 
}

.tag {
  background: var(--light);
  padding: 0.4rem 0.8rem;
  border-radius: 0;
  font-size: 0.8rem;
  color: var(--gray);
  border: 1px solid #e0e0e0;
  letter-spacing: 0.5px;
}

.map-embed { 
  width: 100%; 
  height: 200px; 
  border: 0; 
  margin-top: 1rem; 
  border-radius: 0; 
}

/* ===== SERVICIOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.4s;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card .info { 
  padding: 1.5rem; 
}

.service-card h3 { 
  font-family: 'Playfair Display', serif;
  color: var(--primary); 
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* ===== NOSOTROS ===== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-container img { 
  width: 100%; 
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-container h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) { 
  .about-container { 
    grid-template-columns: 1fr; 
  } 
}

/* ===== FORMULARIO DE CONTACTO LUJOSO ===== */
.callback-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2a3a 100%);
  padding: 1.5rem 2rem;  /* Antes era 5rem */
  margin: 0;
  position: relative;
  overflow: hidden;
}

.callback-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23c9a961" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.callback-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .callback-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.callback-info {
  color: white;
}

.callback-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  line-height: 1.3;
}

.callback-info p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.callback-info ul {
  list-style: none;
  padding: 0;
}

.callback-info li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.callback-form {
  background: white;
  padding: 0.7rem;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

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

.form-group label {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 0;
  font-size: 0.9rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.btn-callback {
  background: var(--primary);
  color: white;
  padding: 0.7rem;
  border: none;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-callback:hover {
  background: var(--secondary);
  letter-spacing: 3px;
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ===== CONTACTO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-info { 
  background: white; 
  padding: 2.5rem; 
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-info p { 
  margin: 1rem 0; 
  font-size: 1rem;
}

.contact-info strong { 
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
}

.whatsapp-float:hover { 
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== FOOTER ELEGANTE ===== */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 2.5rem;
  margin-top: 3rem;
  border-top: 3px solid var(--secondary);
}

footer p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* ===== BOTONES GLOBALES ===== */
.btn {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin: 0.3rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--secondary);
  letter-spacing: 2px;
}

.btn-danger { background: #8b0000; }
.btn-danger:hover { background: #a00000; }

.btn-success { background: #2d5016; }
.btn-success:hover { background: #3d6b1f; }

.btn-secondary { background: var(--gray); }

/* ===== TABLAS ADMIN ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

table th, table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

table th { 
  background: var(--primary); 
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem;
    text-align: center;
    align-items: center;
    min-height: 500px;
  }
  .hero::before {
    display: none;
  }
  .hero-content {
    padding-left: 0;
  }
  .hero h1 {
    font-size: 2.3rem;
    text-align: center;
  }
  .hero p {
    font-size: 1rem;
    padding-left: 0;
    text-align: center;
  }
  .hero p::before {
    display: none;
  }
  .hero-btn {
    margin-left: 0;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .search-box {
    margin: -3rem 1rem 2rem;
    padding: 1.5rem;
  }
  
  h2.section-title {
    font-size: 2rem;
  }
}

/* ===== TRANSICIÓN SUAVE ENTRE PÁGINAS ===== */
body {
  animation: fadeInPage 0.9s ease-in;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Previene el flash blanco al cargar */
html {
  background: var(--light);
}
/* ===== GALERÍA DE FOTOS ===== */
.property-card img {
  cursor: pointer;
  position: relative;
}

.property-card img::after {
  content: '🔍 Ver fotos';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 35, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.property-card img:hover::after {
  opacity: 1;
}

/* Badge de cantidad de fotos */
.photo-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 20, 35, 0.9);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.property-card {
  position: relative;
}

/* ===== MODAL DE GALERÍA ===== */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 35, 0.98);
  z-index: 10000;
  animation: fadeIn 0.3s;
}

.gallery-modal.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header del modal */
.gallery-header {
  background: var(--primary);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--secondary);
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.8rem;
}

.gallery-close {
  background: transparent;
  border: 2px solid var(--secondary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-close:hover {
  background: var(--secondary);
  transform: rotate(90deg);
}

/* Contenedor de imagen principal */
.gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.gallery-main img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Botones de navegación */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 169, 97, 0.9);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.gallery-nav:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(201, 169, 97, 0.5);
}

.gallery-prev {
  left: 2rem;
}

.gallery-next {
  right: 2rem;
}

/* Contador de imágenes */
.gallery-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 20, 35, 0.9);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

/* Miniaturas */
.gallery-thumbnails {
  background: var(--primary);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  justify-content: center;
  border-top: 2px solid var(--secondary);
}

.gallery-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
  border: 3px solid transparent;
  flex-shrink: 0;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--secondary);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-nav {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .gallery-prev {
    left: 1rem;
  }
  
  .gallery-next {
    right: 1rem;
  }
  
  .gallery-thumb {
    width: 80px;
    height: 55px;
  }
  
  .gallery-title {
    font-size: 1.3rem;
  }
}

/* ===== DESCRIPCIÓN CON "VER MÁS" ===== */
.descripcion-container {
  position: relative;
}

.descripcion-texto {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.descripcion-texto.expandido {
  /* Opcional: agregar efecto de expansión suave */
}

.btn-ver-mas {
  background: transparent;
  color: var(--secondary);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.3rem 0;
  margin-top: 0.5rem;
  transition: all 0.3s;
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.btn-ver-mas:hover {
  color: var(--primary);
  letter-spacing: 1px;
}

/* =========================================
   ESTILOS PARA CELULAR (Móvil) - VERSIÓN MEJORADA
   ========================================= */
@media screen and (max-width: 768px) {
  
  /* Botón hamburguesa - FORZAR que se vea */
  .mobile-menu-btn {
    display: block !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    position: relative !important;
    z-index: 1001 !important;
  }

  /* Contenedor del menú */
  nav#mainNav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #0a1423 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
  }

  /* Cuando el menú está abierto */
  nav#mainNav.mobile-open {
    display: block !important;
  }

  /* Lista del menú */
  nav#mainNav ul {
    flex-direction: column !important;
    padding: 1rem 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  /* Cada elemento del menú */
  nav#mainNav li {
    margin: 0 !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    width: 100% !important;
  }

  /* Enlaces del menú */
  nav#mainNav a {
    display: block !important;
    padding: 1rem !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
  }

  /* Buscador grande en móvil */
  .search-box {
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    margin: 1rem !important;
  }

  .search-box select,
  .search-box button {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .search-box button {
    background-color: #c9a961 !important;
    color: white !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 0.5rem !important;
  }
}

/* En PC, ocultar el botón hamburguesa */
@media screen and (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }
}