:root {
    --primary-color: #00A9B4; 
    --secondary-color: #d1b28d;
    --text-color: #333; 
    --bg-light: #f9f9f9;
    --white-color: #ffffff;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Playfair Display', serif; 
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==============================
   HEADER
============================== */
.main-header {
  width: 100%;
  box-shadow: var(--shadow-light);
  z-index: 1000;
  background-color: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
}

.header-superior {
  width: 100%;
  height: 25px;
  background-color: #00A9B4;
}

.header-inferior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:white;
  padding: 0 50px; 
  height: 60px; 
  position: relative;
  z-index: 10;
}

.logo-container {
  position: relative;
  width: 140px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -75px;
  z-index: 5;
}

.logo-content {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-33%);
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.logo-image {
  height: 280px;
  object-fit: contain;
}

/* ===== NAVBAR MEJORADO ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 5px;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.navbar li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar li a:hover {
  color: var(--primary-color);
  background: rgba(0, 170, 162, 0.08);
}

.navbar li a:hover::after {
  width: 60%;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

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

.dropdown-toggle::before {
  font-size: 0.8rem;
  transition: all 0.3s ease;
  order: 2;
}

.dropdown:hover .dropdown-toggle::before {
  transform: rotate(180deg);
}

/* ===== SUBMENU ===== */
.submenu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 260px;
  background: white;
  padding: 8px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  list-style: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  width: 100%;
  margin: 0;
}

.submenu a {
  display: block;
  padding: 14px 18px 14px 45px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.submenu a::before {
  content: '→';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  font-size: 1.2rem;
  color: var(--primary-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.submenu a:hover {
  background: linear-gradient(135deg, rgba(0, 170, 162, 0.1), rgba(22, 50, 60, 0.05));
  padding-left: 45px;
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

.submenu a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.submenu a::after {
  display: none !important;
}

/* ===== BOTÓN DE CONTACTO ===== */
.btn-contact {
  background: #00A9B4;
  color: white !important;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px #067f88b9;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px #02777fa1;
}

.btn-contact::after {
  display: none !important;
}

/* ===== MENÚ MÓVIL ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.menu-toggle::before {
  content: "☰";
}

.menu-toggle.open::before {
  content: "✖";
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    margin-top: 25px;
    overflow: hidden;
}

.hero-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.stats-banner {
    background: #00BCD4;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 13px 10px;
    text-align: center;
}

/* ===== OPTIMIZACIÓN PARA TABLETS ===== */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
        min-height: 250px;
        margin-top: 10px;
        padding: 1rem;
    }
    
    .hero-fondo {
        object-fit: cover;
        object-position: center center;
    }
    
    .stats-banner {
        display: none;
    }
}

/* ===== OPTIMIZACIÓN PARA MÓVILES ===== */
@media (max-width: 480px) {
    .hero {
        height: auto; /* ✅ Altura automática */
        min-height: unset; /* ✅ Sin altura mínima */
        max-height: 200px; /* ✅ MUY compacto */
        margin-top: 0;
        padding: 0;
        background: white;
        aspect-ratio: 16/9; /* ✅ Proporción horizontal compacta */
    }
    
    .hero-fondo {
        object-fit: contain;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    
    .stats-banner {
        display: none !important;
    }
}

/* ===== PARA MÓVILES MUY PEQUEÑOS ===== */
@media (max-width: 360px) {
    .hero {
        max-height: 180px; /* ✅ Aún más pequeño */
        aspect-ratio: 16/9;
    }
    
    .hero-fondo {
        object-fit: contain;
        object-position: center center;
    }
}

.hero h1 { 
    font-family: var(--font-title); 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    margin: 0; 
}

.hero p { 
    font-size: clamp(1rem, 2vw, 1.5rem); 
    margin-top: 0.5rem; 
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.content p {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-main);
    background: white;
    border-radius: 20px;
    color: #00BCD4;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    background: var(--primary-color);
    padding: 5px;
    border-radius: 10px;
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: white;
    margin-top: 4rem;
}

.section-text {
    background: white;
    padding: 5px;
    text-align: center;
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    border-radius: 10px;
    width: 50%; 
    margin: 1rem auto 2rem;
    color: var(--primary-color);
}

.section-titulo {
    text-align: center;
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--primary-color);
    margin-top: 4rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.about-section .content {
    flex: 1;
    text-align: center;
}

.about-section img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.about-section img:hover { 
    transform: scale(1.02); 
}

@media (min-width: 768px) {
    .about-section { 
        flex-direction: row; 
        text-align: left; 
    }
    .about-section .content { 
        text-align: left; 
    }
}

/* ===== LODGING GRID ===== */
.lodging-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 30px;
}

.lodging-card {
    background-color: var(--white-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.lodging-card:hover { 
    transform: translateY(-10px); 
}

.lodging-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.lodging-card-content { 
    padding: 1.5rem; 
}

.lodging-card-content h3 { 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    margin: 0 0 0.5rem; 
}

.lodging-card-content p { 
    margin: 0 0 1rem; 
    color: var(--text-color); 
}

@media (min-width: 768px) {
    .lodging-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* ========================================
   FIX: TESTIMONIOS CORREGIDO
   ======================================== */
.testimonials-section {
    background: #00A9B4;
    margin-top: 4rem;
    padding: 3rem 0;
}

.section-texto {
    background: white;
    padding: 12px 20px;
    text-align: center;
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    border-radius: 10px;
    width: auto;
    max-width: 90%;
    margin: 1rem auto 2rem;
    color: var(--primary-color);
    display: inline-block;
}

.testimonials-wrapper {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}

.image-container {
    flex: 1;
    max-width: 40%;
    display: flex;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    min-height: 350px;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    object-position: center;
    display: block;
}

.testimonials-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.rating {
    margin-bottom: 1rem;
}

.star {
    color: #ffd700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-block {
    font-style: italic;
    color: black;
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 0, 0, 0.993);
}

.testimonial-footer span {
    color: black;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== CONTACTO ===== */
.contact-section {
  padding: 70px 20px;
  background: #fff;
  margin-top: 4rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.contact-header .highlight {
  color: #00BCD4;
}

.contact-header .brand {
  color: white;
  background: #00BCD4;
  padding: 5px 10px;
  border-radius: 8px;
}

.contact-description {
  margin-top: 15px;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-details {
  background: #00A9B4;
  color: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.contact-details h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  font-size: 1.3rem;
  color: white;
  margin-right: 12px;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: var(--bg-light);
  font-size: 1.6rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.map-container h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #00BCD4;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ========================================
   FIX: UBICACIONES CERCANAS (CARDS)
   ======================================== */
.service {
    background: #00bcd4;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.service .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service h1 {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    border-radius: 20px;
    color: #00BCD4;
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 35s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.card {
    position: relative;
    width: 360px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    border: 2px solid rgba(0, 188, 212, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.4);
    border-color: #00BCD4;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.85);
}

.card:hover .card-image {
    transform: scale(1.08);
    filter: brightness(1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 30, 40, 0.98) 0%, rgba(10, 30, 40, 0.85) 50%, transparent 100%);
    padding: 1.5rem;
    z-index: 3;
}

.card-title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
}

.card-location {
    color: #00BCD4;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.location-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== MODAL ===== */
.modal {
    display: none !important; /* ✅ Forzar que esté oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex !important; /* ✅ Solo mostrar cuando tenga clase active */
}

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

.modal-content {
    background: linear-gradient(135deg, #0f2a35 0%, #1a3e4d 100%);
    border-radius: 25px;
    max-width: 900px;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 188, 212, 0.3);
    animation: slideUp 0.4s ease;
    border: 2px solid rgba(0, 188, 212, 0.3);
    margin: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-image {
    width: 45%;
    flex-shrink: 0;
    min-height: 400px;
    position: relative;
}

.modal-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 42, 53, 0.3) 100%);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.modal-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.modal-details {
    background: rgba(0, 188, 212, 0.08);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #00BCD4;
}

.modal-details h4 {
    font-size: 1.1rem;
    color: #00BCD4;
    margin-bottom: 1rem;
}

.modal-details ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.modal-details li {
    color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.98rem;
}

.modal-details li::before {
    content: '✓';
    color: #00BCD4;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00BCD4;
    color: #0a1e28;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.6);
}

.icon-location {
    width: 20px;    
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}

.modal-subtitle {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== SERVICIOS ===== */
.services {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.services-container h2 {
  font-size: 4.5rem;
  margin-bottom: 15px;
  color: #00b6c9;
}

.services-container h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #00BCD4;
}

.services-container p {
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: #00BCD4;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-item {
  background: url("../../../img/fondo oasis.png");
  border-radius: 20px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s ease;
  color: #00BCD4;
}

.service-item:hover {
  transform: translateY(-10px); 
}

.service-item-1 {
  background: url("../../../img/fondo galu negro.webp");
  border-radius: 20px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s ease;
  color: #00BCD4;
}

.service-item-1:hover {
  transform: translateY(-10px); 
}

.service-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-circle.img1 {
  background-image: url("../../../img/oasis/Electricidad.png");
}

.service-circle.img2 {
  background-image: url("../../../img/oasis/agua.png");
}

.service-circle.img3 {
  background-image: url("../../../img/oasis/desague.png");
}

/* ===== FOOTER ===== */
.main-footer {
  background-color: #01ACB9;
  color: var(--light-text-color);
  padding: 50px 20px 20px 20px;
  font-family: var(--font-montserrat);
  box-shadow: var(--shadow-footer);
  margin-top: 180px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--footer-border-color);
}

.footer-column {
  flex: 1;
  min-width: 200px;
  padding: 10px 0;
}

.branding-column {
  min-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.slogan {
  font-style: italic;
  font-size: 0.95em;
  color: #ffffff;
  margin-top: -5px;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 8px 0;
  font-size: 0.9em;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon-img {
  width: 18px;  
  height: 18px; 
  object-fit: contain;
  margin-top: 2px;
}

.footer-column h3 {
  color: var(--white-color);
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.footer-column h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: white;
  margin-top: 8px;
  border-radius: 2px;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

/* --- Estilos para Iconos Sociales --- */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block; 
  transition: transform 0.3s ease;
}

.social-icon-img {
  width: 24px; 
  height: 24px;
  object-fit: contain;
}

.social-icons a:hover {

  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: #a0a0a0;
  font-size: 0.8em;
  padding-top: 20px;
}

.imagenes-horizontal-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
  padding: 100px;
  max-width: 1200px;
  margin: 0px auto;
}

  h1 {
            text-align: center;
            margin-top: 6rem;
            color: #00AAA2;
            margin-bottom: 40px;
            font-weight: 600;
            letter-spacing: 1px;
            font-size: 2.2rem;
            padding: 0 20px;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto 60px auto;
            padding: 0 20px;
        }

        .gallery img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            object-position: center;
            border-radius: 15px;
            cursor: pointer;
            transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
            display: block;
        }

        .gallery img:hover {
            transform: scale(1.05);
            filter: brightness(1.1);
            box-shadow: 0 10px 25px rgba(0,170,162,0.4);
        }

        /* ===== LIGHTBOX ===== */
        .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.95);
            display: none;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            z-index: 10000;
            padding: 20px;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox img {
            max-width: 90%;
            max-height: 85%;
            border-radius: 15px;
            box-shadow: 0 0 40px rgba(0,170,162,0.6);
            animation: zoomIn 0.3s ease;
            object-fit: contain;
        }

        @keyframes zoomIn {
            from { 
                transform: scale(0.8); 
                opacity: 0; 
            }
            to { 
                transform: scale(1); 
                opacity: 1; 
            }
        }

        .controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 20px;
            pointer-events: none;
        }

        .controls .btn {
            pointer-events: auto;
        }

        .btn {
            background: rgba(0,170,162,0.8);
            color: white;
            border: none;
            font-size: 2rem;
            padding: 10px 18px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }

        .btn:hover {
            background: #38b6b0;
            transform: scale(1.1);
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 2.5rem;
            color: #f3f3f3;
            cursor: pointer;
            background: rgba(0,0,0,0.6);
            border-radius: 50%;
            padding: 5px 15px;
            transition: all 0.3s ease;
            z-index: 10001;
        }

        .close-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.1);
        }

    /* ========================================
   RESPONSIVE MÓVIL MEJORADO
   ======================================== */
    /* === HERO PARA PANTALLAS GRANDES (1920x1080 o más) === */
@media (min-width: 1600px) {
    .hero {
    height: 70vh;
    background-size: cover;
    background-position: center center;
    padding: 3rem 4rem; 
  }
}
@media (max-width: 768px) {
    /* BODY Y CONTENEDOR GENERAL */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    /* HEADER MÓVIL - OCULTAR LOGO */
    .header-inferior {
        padding: 0 20px;
        height: 60px;
    }

    .logo-container {
        display: none !important;
    }

    .logo-content {
        display: none !important;
    }

    .logo-image {
        display: none !important;
    }

    /* MENÚ MÓVIL */
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        color: var(--text-color);
        transition: all 0.3s ease;
        border: none;
        background: transparent;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        height: calc(100vh - 85px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* HERO MÓVIL */
    .hero {
        height: 60vh;
        margin-top: 60px;
        padding: 1rem;
    }

    .hero-fondo {
        object-fit: cover;
        object-position: center center;
    }

    /* ABOUT SECTION MÓVIL */
    .about-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .about-section img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 10px;
        margin-top: 2rem;
    }

    .content p {
        font-size: 1rem;
        padding: 10px 15px;
        margin-bottom: 1rem;
    }

    /* GALERÍA MÓVIL - SIN BORDES BLANCOS */
    h1 {
        font-size: 1.5rem;
        margin-top: 3rem;
        margin-bottom: 20px;
        padding: 0 15px;
        color: #00AAA2;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto 40px auto;
        box-sizing: border-box;
    }

    .gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        max-height: none;
        display: block;
        background: transparent;
    }

    /* LIGHTBOX MÓVIL */
    .lightbox {
        padding: 10px;
        display: none;
    }

    .lightbox.active {
        display: flex !important;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 80vh;
        border-radius: 10px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        padding: 5px 12px;
    }

    .btn {
        font-size: 1.5rem;
        padding: 8px 14px;
    }

    .controls {
        padding: 0 10px;
    }

    /* CARDS UBICACIONES MÓVIL - MEJORADO */
    .service {
        padding: 2rem 0;
        overflow-x: hidden;
    }

    .service .container {
        padding: 0;
        max-width: 100%;
    }

    .service h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 10px 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .carousel-container {
        padding: 1.5rem 0;
        padding-left: 15px;
        overflow: visible;
    }

    .carousel-track {
        gap: 15px;
        animation: scroll 40s linear infinite;
        padding-right: 15px;
    }

    .card {
        width: 260px;
        height: 340px;
        flex-shrink: 0;
    }

    .card-overlay {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .card-location {
        font-size: 0.85rem;
    }

    /* MODAL MÓVIL - CENTRADO Y COMPACTO */
    .modal {
        padding: 0;
        overflow-y: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        flex-direction: column;
        max-width: 85%;
        width: 90%;
        max-height: 75vh;
        margin: 0 auto;
        border-radius: 15px;
        position: relative;
    }

    .modal-image {
        width: 100%;
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }

    .modal-image img {
        object-fit: cover;
        object-position: center;
    }

    .modal-info {
        padding: 1.2rem;
        overflow-y: auto;
        max-height: calc(75vh - 180px);
    }

    .modal-title {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .modal-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .modal-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .modal-details {
        padding: 0.8rem;
    }

    .modal-details h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .modal-details li {
        font-size: 0.8rem;
    }

    .modal-close {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
        top: 8px;
        right: 8px;
        z-index: 1001;
    }

    /* TESTIMONIOS MÓVIL - MEJORADO */
    .testimonials-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .section-texto {
        width: 90%;
        max-width: none;
        font-size: 1.4rem;
        padding: 10px 15px;
        margin-bottom: 1.5rem;
    }

    .testimonials-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
        padding: 0 15px;
    }

    .image-container {
        max-width: 100%;
        width: 100%;
    }

    .image-container img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        max-height: 400px;
        min-height: auto;
        object-fit: cover;
        object-position: center;
        border-radius: 1rem;
    }

    .testimonials-content {
        max-width: 100%;
        width: 100%;
    }

    .testimonial-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .testimonial-card::before {
        font-size: 70px;
        top: -10px;
        left: 10px;
    }

    .rating {
        margin-bottom: 0.8rem;
    }

    .star {
        font-size: 1.2rem;
    }

    .testimonial-block {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-footer {
        padding-top: 0.8rem;
    }

    .testimonial-footer span {
        font-size: 0.85rem;
    }

    /* SERVICIOS MÓVIL - MEJORADO */
    .services {
        padding: 2.5rem 15px;
    }

    .services-container h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .services-container h3 {
        font-size: 1.3rem;
    }

    .services-container p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .services-grid {
        gap: 20px;
        padding: 0 10px;
    }

    .service-item-1 {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .service-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    /* CONTACTO MÓVIL - MEJORADO */
    .contact-section {
        padding: 50px 15px;
        margin-top: 2rem;
    }

    .contact-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .contact-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .contact-grid {
        gap: 25px;
    }

    .contact-details {
        padding: 20px;
    }

    .contact-details h3 {
        font-size: 1.1rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .social-icons {
        justify-content: center;
    }

    .map-container h3 {
        font-size: 1.1rem;
    }

    .map-container iframe {
        height: 280px;
        border-radius: 12px;
    }

    /* FOOTER MÓVIL */
    .main-footer {
        padding: 40px 15px 20px 15px;
        margin-top: 100px;
    }

    .footer-container {
        gap: 30px;
        padding-bottom: 20px;
    }

    .footer-column {
        min-width: 100%;
        text-align: center;
    }

    .branding-column {
        min-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo img {
        height: 60px;
    }

    .contact-info p {
        justify-content: center;
        text-align: left;
        font-size: 0.85rem;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 15px;
    }

    /* VIDEO MÓVIL */
    .video-oasis {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

   .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
  }

  .nav-links {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: calc(100vh - 85px);
    background: white;
    flex-direction: column;
    padding: 30px 0; 
    transform: translateX(-100%);
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; 
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .navbar li {
    width: 100%;
  }

  .navbar li a {
    width: auto;
    margin: 0 20px;
    padding: 16px 20px;
    font-size: 1.05rem;
    color: #333; 
    display: block;
    box-sizing: border-box;
    text-align: left;
    border-radius: 8px;
  }

  .dropdown.active > .dropdown-toggle {
    background-color: rgba(0, 92, 153, 0.08);
    color: #068b95;
    font-weight: 700;
    position: relative;
    margin-bottom: 5px;
  }
  
  .dropdown.active > .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 40px; 
    width: 30px;
    height: 2px;
    background: #068b95;
  }

  .submenu {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important; 
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding: 0 !important;
        margin-top: 8px;
        display: block;
        border: none !important;
        pointer-events: auto !important;
    }

  .dropdown.active .submenu {
        max-height: 500px;
        padding: 8px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown:hover .submenu {
        /* No aplicar estilos de hover en móvil */
    }

  .submenu li {
        margin: 8px 0 !important; 
        border-radius: 0px;
        overflow: hidden;
        width: 90%;
        pointer-events: auto !important;
    }

  .submenu a {
        background: linear-gradient(135deg, #00c4ba, #068b95) !important;
        color: white !important;
        padding: 14px 20px !important; 
        text-align: center !important; 
        font-weight: 600;
        border-radius: 10px !important;
        display: block;
        border: none !important;
        pointer-events: auto !important;
    }

    .submenu a:hover {
        background: linear-gradient(135deg, #00a9a0, #057580) !important;
    }

  

  .submenu a::before, .submenu a::after {
    display: none !important;
  }
  .btn-contact {
     margin: 20px 0 0 0 !important; 
        padding: 14px 0 !important;
        background: #00A9B4 !important;
        color: white !important;
        border-radius: 10px; 
        width: 80% !important; 
        display: block !important;
        text-align: center !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        box-sizing: border-box;
  }

  /* Ocultar logos y extras */
  .logo-image {
    display: none !important;
  }
}

/* MÓVILES PEQUEÑOS (menor a 480px) */
@media (max-width: 480px) {
    .hero {
        height: 50vh;
        margin-top: 60px;
    }

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

    /* Galería imágenes cuadradas perfectas */
    .gallery {
        padding: 0 10px;
        gap: 12px;
    }

    .gallery img {
        aspect-ratio: 1/1;
        border-radius: 10px;
        max-height: none;
    }

    h1 {
        font-size: 1.3rem;
        margin-top: 2.5rem;
    }

    .card {
        width: 240px;
        height: 320px;
    }

    .contact-header h2 {
        font-size: 1.3rem;
    }

    .services-container h2 {
        font-size: 1.7rem;
    }

    /* Modal más pequeño en móviles pequeños */
    .modal-content {
        max-width: 92%;
        width: 92%;
        max-height: 70vh;
    }

    .modal-image {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }

    .modal-info {
        padding: 1rem;
        max-height: calc(70vh - 160px);
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-subtitle {
        font-size: 0.75rem;
    }

    .modal-description {
        font-size: 0.8rem;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* TABLETS */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery img {
        height: 250px;
    }

    .card {
        width: 300px;
        height: 380px;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    .testimonials-wrapper {
        gap: 2rem;
    }

    .image-container img {
        max-height: 500px;
    }
}

.video-oasis {
    width: 400px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .video-oasis {
        width: 100%;
        max-width: 350px;
    }
}