/* ========================================================= */
/* ESTILOS COMPLETOS - FLECHA ROJA (GLOBAL)                */
/* ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding-top: 130px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #1a1a1a;
  --text-primary: #333;
  --text-secondary: #666;
  --text-inverse: #ffffff;
  --primary-color: #D32F2F;
  --secondary-color: #316961;
  --accent-color: #FFD700;
  --border-color: #ddd;
  --card-bg: #ffffff;
  --modal-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --header-bg: linear-gradient(135deg, #316961 0%, #2c3e50 100%);
}

body.dark-mode {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #2d2d2d;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-inverse: #ffffff;
  --primary-color: #ff5252;
  --secondary-color: #4db6ac;
  --accent-color: #FFD700;
  --border-color: #444;
  --card-bg: #2d2d2d;
  --modal-bg: #2d2d2d;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --header-bg: linear-gradient(135deg, #1a3a35 0%, #1c2833 100%);
}

/* ========================================================= */
/* HEADER Y NAVEGACIÓN COMÚN                                */
/* ========================================================= */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: var(--header-bg);
  box-shadow: 0px 2px 6px var(--shadow-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px;
}

.theme-switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 50px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 18px;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider .sun,
.slider .moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: white;
}

.slider .sun {
  left: 6px;
  opacity: 0;
}

.slider .moon {
  right: 6px;
  opacity: 1;
}

input:checked + .slider .sun {
  opacity: 1;
}

input:checked + .slider .moon {
  opacity: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.lang-switcher select {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: .25s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
  padding-right: 28px;
}

.lang-switcher select:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lang-switcher select option {
  background: #2c3e50;
  color: #fff;
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
  transition: .3s;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

nav a i {
  font-size: 16px;
}

nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary-color);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  position: absolute;
  width: 26px;
  height: 3px;
  left: 7px;
  background: #FFFFFF;
  transition: .3s;
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 18px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 18px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 18px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: var(--card-bg);
  padding: 20px 0;
  box-shadow: 0 6px 18px var(--shadow-color);
  z-index: 2001;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 30px;
  font-size: 16px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  transition: .2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu a i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.mobile-menu a:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.mobile-menu a.active {
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

/* ========================================================= */
/* MODAL DE ANUNCIO EMERGENTE                               */
/* ========================================================= */
.announcement-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5000;
  overflow-y: auto;
  animation: fadeIn 0.5s ease;
}

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

.announcement-modal-content {
  position: relative;
  background: var(--modal-bg);
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateY(-50%);
  }
}

.modal-header-announcement {
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  color: white;
  text-align: center;
  position: relative;
}

.modal-header-announcement h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-header-announcement p {
  font-size: 16px;
  margin-top: 10px;
  opacity: 0.95;
  line-height: 1.5;
  padding: 0 10px;
}

.modal-body-announcement {
  padding: 25px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2c3e50 100%);
  color: white;
}

.modal-highlight {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 25px;
}

.modal-deadline {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  padding: 15px;
}

.modal-deadline h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.modal-deadline .date {
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin: 10px 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.modal-btn {
  padding: 18px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.modal-btn.primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #FFC107 100%);
  color: #1a1a1a;
}

.modal-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.close-announcement-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-announcement-modal:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}

/* ========================================================= */
/* MARQUEE                                                  */
/* ========================================================= */
.announcement-marquee {
  width: 100%;
  background: #D32F2F;
  color: white;
  padding: 10px 0;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 1999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-weight: 600;
}

.marquee-container {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.announcement-marquee:hover .marquee-container {
  animation-play-state: paused;
}

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

/* ========================================================= */
/* COOKIES                                                  */
/* ========================================================= */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(150%);
  transition: transform 0.4s ease;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  max-width: 500px;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-legal-info {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.cookie-btn-accept {
  background: var(--primary-color);
  color: white;
  flex: 1;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* ========================================================= */
/* HERO SECTION CON 5 SLIDES (INDEX)                       */
/* ========================================================= */
.hero-section {
  position: relative;
  min-height: 380px;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0 20px 30px;
  justify-content: center;
  margin-top: 0;
  overflow: hidden;
}

.slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: .8s;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-images-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 0 40px;
  pointer-events: none;
}

.overlay-img {
  width: 500px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
}

.overlay-img.left {
  left: 40px;
  right: auto;
}

.overlay-img.center {
  left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
}

.overlay-img.right {
  right: 40px;
  left: auto;
}

.slide-text {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 20;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .slide-text {
    bottom: 15px;
    right: 15px;
    font-size: 11px;
    padding: 5px 10px;
  }
}
@media (max-width: 480px) {
  .slide-text {
    font-size: 9px;
    padding: 4px 8px;
  }
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 900;
  transition: .25s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .overlay-img {
    width: 400px;
  }
  .overlay-img.left {
    left: 20px;
  }
  .overlay-img.right {
    right: 20px;
  }
}
@media (max-width: 480px) {
  .overlay-img {
    width: 280px;
  }
  .overlay-img.left {
    left: 10px;
  }
  .overlay-img.right {
    right: 10px;
  }
}

/* ========================================================= */
/* DESTINOS (INDEX)                                         */
/* ========================================================= */
.destinations-section {
  padding: 60px 20px 80px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.destinations-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: center;
}

.destinations-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.destinations-header .subline {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.destinations-header p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

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

.carousel-container::-webkit-scrollbar {
  display: none;
}

.destination-card {
  min-width: 320px;
  height: 400px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .4s;
  cursor: pointer;
  flex-shrink: 0;
}

.destination-card:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.destination-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.destination-overlay p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.destination-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(211, 47, 47, 0.9);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: .3s;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.carousel-nav-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

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

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

.carousel-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text-primary);
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: .3s;
}

.indicator.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

/* ========================================================= */
/* MODAL DESTINOS                                           */
/* ========================================================= */
.destination-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: var(--modal-bg);
  margin: 50px auto;
  width: 90%;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.modal-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.modal-image {
  height: 250px;
}

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

.modal-info {
  padding: 25px;
  background: var(--bg-secondary);
}

.destination-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 15px;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.destination-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.destination-info {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-icon {
  width: 35px;
  height: 35px;
  background: rgba(211, 47, 47, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 16px;
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0 0 3px 0;
  font-size: 15px;
  color: var(--text-primary);
}

.info-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.inline-map-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-color);
  margin-left: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.inline-map-link:hover {
  color: #B71C1C;
  border-bottom-style: solid;
}

/* ========================================================= */
/* ATENCIÓN CLIENTES (INDEX)                               */
/* ========================================================= */
.customer-care-section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.customer-care-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: var(--secondary-color);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 1;
}

.customer-care-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(45 66 82) 0%, rgba(49, 105, 97, 0.85) 100%);
  backdrop-filter: blur(2px);
}

.customer-care-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1200px) {
  .customer-care-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.customer-care-content {
  color: white;
}

.customer-care-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.customer-care-content h2 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.customer-care-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.contact-image-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: white;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
  text-align: center;
}

.contact-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: center;
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contact-card:hover .contact-action {
  background: var(--primary-color);
  color: white;
}

/* ========================================================= */
/* FORMULARIO DE CONTACTO (INDEX)                          */
/* ========================================================= */
.contact-form-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.contact-form-container h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 25px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #B71C1C 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
}

/* ========================================================= */
/* AGRADECIMIENTO (INDEX)                                  */
/* ========================================================= */
.agradecimiento-section {
  padding: 80px 20px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.agradecimiento-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.agradecimiento-content {
  text-align: center;
}

.agradecimiento-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.agradecimiento-content h2 .highlight {
  color: var(--primary-color);
}

.agradecimiento-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.6;
}

.video-container {
  text-align: center;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow-color);
  transition: all 0.4s ease;
  max-width: 100%;
}

.video-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(211, 47, 47, 0.2);
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(211, 47, 47, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-label {
  margin-top: 15px;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================================================= */
/* VIDEO MODAL (INDEX)                                      */
/* ========================================================= */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 4000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.video-modal-content {
  position: relative;
  background: transparent;
  margin: 50px auto;
  width: 90%;
  max-width: 900px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
}

.video-modal-header {
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.close-video-modal {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-video-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-modal-body {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================= */
/* TESTIMONIOS (INDEX)                                      */
/* ========================================================= */
.testimonials-section {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  background-color: #2D4553;
}

.testimonials-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2D4553;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 1;
}

.testimonials-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2D4553;
  backdrop-filter: blur(2px);
}

.testimonials-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.testimonials-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.testimonials-header .subline {
  font-size: 20px;
  color: aliceblue;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.testimonials-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px var(--shadow-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(211, 47, 47, 0.25);
  border-color: var(--primary-color);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 80px;
  color: rgba(211, 47, 47, 0.15);
  font-family: serif;
  font-weight: bold;
  line-height: 1;
  z-index: 1;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.star {
  color: var(--accent-color);
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(211, 47, 47, 0.2);
  position: relative;
  z-index: 2;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-info h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 700;
}

.user-info p {
  margin: 0;
  font-size: 14px;
  color: #2D4553;
}

/* ========================================================= */
/* APP DOWNLOAD (INDEX)                                     */
/* ========================================================= */
.app-download-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.app-download-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.app-download-content {
  color: var(--text-primary);
}

.app-download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(211, 47, 47, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 30px;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.app-download-badge img {
  width: 180px;
  height: auto;
}

.app-download-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}

.app-download-content h2 .highlight {
  color: var(--primary-color);
}

.app-download-content>p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.app-download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 32px;
  background: var(--card-bg);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.app-download-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
}

.app-download-btn img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.app-download-btn:hover img {
  transform: scale(1.1);
}

.app-download-btn-text {
  display: flex;
  flex-direction: column;
}

.app-download-btn-text span:first-child {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.app-download-btn-text span:last-child {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 700;
}

.app-phone-mockup-container {
  position: relative;
}

.app-phone-mockup {
  width: 240px;
  height: 480px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 30px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.app-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.app-screen {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  position: relative;
}

.app-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

.app-download-counter {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 35px rgba(211, 47, 47, 0.3);
  z-index: 3;
  animation: floatCounter 6s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes floatCounter {
  0% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-8px); }
  100% { transform: translateX(-50%) translateY(0px); }
}

.app-counter-number {
  font-size: 20px;
  font-weight: 900;
  color: white;
}

.app-counter-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ========================================================= */
/* ANIMACIONES GENERALES                                    */
/* ========================================================= */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* FOOTER COMÚN                                             */
/* ========================================================= */
.footer-section {
  background: var(--bg-tertiary);
  color: #fff;
  padding: 60px 20px 0;
  position: relative;
}

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

.footer-banner {
  width: 100%;
  height: 120px;
  margin-bottom: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.footer-banner:hover img {
  transform: scale(1.05);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

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

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

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-info-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  margin: 0 20px;
}

.copyright {
  color: #999;
  font-size: 14px;
  white-space: nowrap;
}

.copyright-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.copyright-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copyright-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright-links .separator {
  color: #666;
  font-size: 14px;
  user-select: none;
}

.social-links-integrated {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 20px;
}

.social-link-integrated {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-link-integrated:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-legend {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.footer-legend p {
  margin: 0;
  font-style: italic;
}

.footer-promo-banner {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  border-radius: 15px;
  margin: 40px 0 60px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.promo-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.promo-content h3 {
  color: white;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.promo-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 600px;
}

.promo-button {
  position: relative;
  z-index: 2;
  padding: 15px 40px;
  background: white;
  color: var(--primary-color);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.promo-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================================= */
/* BOTONES FLOTANTES                                        */
/* ========================================================= */
.bus-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 120px;
  height: 60px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: visible;
}

.bus-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/1car.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.bus-to-top:hover {
  transform: scale(1.1);
}

.scroll-down-btn {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-down-btn:hover {
  transform: translateX(-50%) translateY(-5px);
  background: #B71C1C;
}

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================================= */
/* ESTILOS EXCLUSIVOS DE NOSOTROS.HTML                      */
/* ========================================================= */
.nosotros-hero {
  min-height: 280px;
  height: auto;
  background: linear-gradient(135deg, #316961 0%, #2c3e50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hero-bus-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.6;
  filter: brightness(0.9) contrast(1.1) saturate(1.2);
  min-width: 100%;
  min-height: 100%;
  animation: floatBus 25s ease-in-out infinite;
}

@keyframes floatBus {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.nosotros-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  padding: 25px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nosotros-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.1;
}

.nosotros-hero p {
  font-size: 16px;
  opacity: 0.95;
}

.video-section {
  padding: 50px 20px;
  background: #f8f9fa;
}

.video-container-nosotros {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  margin-bottom: 25px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
}

.video-thumbnail-nosotros {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.video-preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.video-wrapper:hover .video-preview-image {
  transform: scale(1.05);
}

.play-button-nosotros {
  width: 60px;
  height: 60px;
  background: rgba(211, 47, 47, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 3;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.video-wrapper:hover .play-button-nosotros {
  background: #D32F2F;
  transform: scale(1.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
  border-radius: 12px;
}

.video-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.video-preview-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 15px;
}

.video-preview-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.video-preview-text p {
  font-size: 13px;
  opacity: 0.9;
}

.content-section {
  padding: 40px 20px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #D32F2F;
  transition: transform 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.card-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.card-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.card-content {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.card-content p {
  margin-bottom: 10px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.valor-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.valor-card:hover {
  border-color: #D32F2F;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.1);
}

.valor-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  background: rgba(211, 47, 47, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #D32F2F;
}

.valor-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.valor-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.subscribe-section-nosotros {
  padding: 50px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subscribe-container {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(211, 47, 47, 0.1);
  color: #D32F2F;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.subscribe-container h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.subscribe-container p {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
}

.subscribe-form-nosotros {
  display: flex;
  gap: 8px;
  max-width: 450px;
  margin: 0 auto;
}

.subscribe-form-nosotros input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.subscribe-form-nosotros input:focus {
  border-color: #D32F2F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.subscribe-btn-nosotros {
  padding: 14px 30px;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.subscribe-btn-nosotros:hover {
  background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.app-section-nosotros {
  padding: 50px 20px;
  background: white;
}

.app-container-nosotros {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-content-nosotros h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.app-content-nosotros p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.app-buttons-nosotros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #ddd;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.app-button:hover {
  transform: translateY(-2px);
  border-color: #D32F2F;
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.12);
}

.app-button img {
  height: 30px;
  width: auto;
}

.app-button-text span:first-child {
  font-size: 9px;
  color: #666;
  font-weight: 600;
}

.app-button-text span:last-child {
  font-size: 14px;
  color: #333;
  font-weight: 700;
}

.video-modal-nosotros {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 4000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.video-modal-content-nosotros {
  position: relative;
  background: transparent;
  margin: 30px auto;
  width: 90%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
}

.video-modal-header-nosotros {
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-modal-header-nosotros h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.close-video-modal-nosotros {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-video-modal-nosotros:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-modal-body-nosotros {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-modal-body-nosotros video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================= */
/* ESTILOS EXCLUSIVOS DE MAPA.HTML                          */
/* ========================================================= */
.main-container {
  display: flex;
  height: calc(100vh - 80px);
  overflow: hidden;
  width: 100%;
}

.map-panel {
  flex: 1;
  position: relative;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  min-height: 500px;
}

.map-header {
  padding: 25px 30px 20px 30px;
  background: linear-gradient(135deg, #316961 0%, #2c3e50 100%);
  color: white;
  border-bottom: 3px solid #D32F2F;
}

.map-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
}

.map-header .subtitle {
  font-size: 16px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
}

#terminalMap {
  height: calc(100% - 150px);
  width: 100%;
  z-index: 1;
  min-height: 400px;
}

.map-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 220px;
  border: 2px solid #316961;
}

.map-legend h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.map-legend h4 svg {
  width: 14px;
  height: 14px;
  fill: #316961;
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend-label {
  font-size: 12px;
  color: #2c3e50;
  font-weight: 500;
}

.controls-panel {
  width: 400px;
  background: #ffffff;
  padding: 0;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.terminal-select-container {
  padding: 25px 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
}

.terminal-select-group {
  position: relative;
}

.terminal-select-group label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-select-group label svg {
  width: 18px;
  height: 18px;
  fill: #D32F2F;
}

.terminal-select-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23316961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px;
  padding-right: 50px;
}

.terminal-select-group select:focus {
  outline: none;
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.terminal-select-group select:hover {
  border-color: #316961;
}

.controls-container {
  padding: 25px 30px;
  background: #ffffff;
}

.controls-title {
  color: #2c3e50;
  font-size: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #D32F2F;
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls-title svg {
  width: 20px;
  height: 20px;
  fill: #D32F2F;
}

.control-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.map-btn {
  padding: 16px 20px;
  background: linear-gradient(135deg, #316961 0%, #2c3e50 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  font-size: 16px;
  text-align: left;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 105, 97, 0.3);
}

.map-btn.download {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
}

.map-btn.download:hover {
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.map-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.terminal-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #eaeaea;
  margin-bottom: 25px;
}

.terminal-info h3 {
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-info h3 svg {
  width: 16px;
  height: 16px;
  fill: #D32F2F;
}

.terminal-details {
  background: white;
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid #D32F2F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.terminal-details h4 {
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-details h4 svg {
  width: 18px;
  height: 18px;
  fill: #D32F2F;
}

.terminal-details p {
  margin-bottom: 10px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  font-size: 14px;
}

.terminal-details svg {
  width: 16px;
  height: 16px;
  fill: #316961;
  flex-shrink: 0;
  margin-top: 2px;
}

.controls-panel::-webkit-scrollbar {
  width: 8px;
}
.controls-panel::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.controls-panel::-webkit-scrollbar-thumb {
  background: #316961;
  border-radius: 4px;
}
.controls-panel::-webkit-scrollbar-thumb:hover {
  background: #2c3e50;
}

/* ========================================================= */
/* SOBRESCRITURA PARA PÁGINA MAPA (HEADER ESTÁTICO)        */
/* ========================================================= */
body.mapa-page {
  padding-top: 0 !important;
}
body.mapa-page header {
  position: relative !important;
}
body.mapa-page .main-container {
  height: calc(100vh - 80px) !important;
}
@media (max-width: 820px) {
  body.mapa-page .main-container {
    height: auto !important;
  }
}

/* ========================================================= */
/* RESPONSIVE GLOBAL (común a todas las páginas)           */
/* ========================================================= */
@media (max-width: 1200px) {
  .overlay-img { width: 420px; }
  .customer-care-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
  .customer-care-content h2 { font-size: 42px; }
  .agradecimiento-container { grid-template-columns: 1fr; gap: 50px; }
  .agradecimiento-content h2 { font-size: 38px; }
  .testimonials-container { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .app-download-container { grid-template-columns: 1fr; gap: 50px; }
  .app-download-content h2 { font-size: 40px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-promo-banner { flex-direction: column; text-align: center; gap: 20px; height: auto; padding: 25px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .footer-info-container { flex-direction: column; gap: 20px; margin: 15px 0; }
  .copyright-links { flex-direction: column; gap: 10px; }
  .social-links-integrated { margin-left: 0; margin-top: 10px; }
  .scroll-down-btn { left: 50%; bottom: 90px; width: 45px; height: 45px; font-size: 20px; transform: translateX(-50%); }
  .bus-to-top { bottom: 25px; right: 25px; width: 100px; height: 50px; }
}

@media (max-width: 900px) {
  .hero-section { min-height: 300px; padding: 0 15px 25px 15px; }
  .nav-arrow { width: 36px; height: 36px; font-size: 18px; }
  .nav-arrow.left { left: 8px; }
  .nav-arrow.right { right: 8px; }
  .hero-images-overlay { padding: 0 20px; }
  .overlay-img { width: 350px; }
  .destinations-section { padding: 50px 15px 70px 15px; }
  .destinations-header h2 { font-size: 36px; }
  .destinations-header .subline { font-size: 18px; }
  .destination-card { min-width: 280px; height: 360px; }
  .carousel-container { padding: 20px 20px 30px; gap: 18px; }
  .testimonials-container { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:nth-child(3) { display: none; }
  .nosotros-hero h1 { font-size: 26px; }
  .video-thumbnail-nosotros { height: 280px; }
  .video-preview-text h3 { font-size: 18px; }
  .main-container { flex-direction: column; height: auto; }
  .map-panel { order: 2; height: 60vh; min-height: 400px; }
  .controls-panel { width: 100%; order: 1; max-height: 40vh; overflow-y: auto; }
  .map-legend { position: relative; bottom: auto; left: auto; margin: 15px; max-width: none; }
  .map-header h1 { font-size: 28px; }
}

@media (max-width: 820px) {
  header { padding: 12px 20px; }
  body { padding-top: 115px; }
  nav { display: none; }
  .hamburger { display: block; }
  .theme-switch-wrapper { margin-right: 10px; }
  .main-container { height: auto; }
  .map-panel { height: 50vh; min-height: 350px; }
  .controls-panel { max-height: 50vh; }
  .controls-panel { padding: 0; }
  .terminal-select-container, .controls-container { padding: 20px; }
  .control-buttons { gap: 12px; }
  .map-btn { padding: 14px 16px; font-size: 15px; }
  .legend-items { grid-template-columns: repeat(3, 1fr); }
  .terminal-info { padding: 15px; }
  .terminal-details { padding: 15px; }
  body.mapa-page .main-container { height: auto !important; }
}

@media (max-width: 768px) {
  .announcement-marquee { top: 70px; padding: 6px 0; }
  .marquee-content { font-size: 12px; padding: 0 12px; }
  .customer-care-section { padding: 60px 20px; }
  .contact-cards { grid-template-columns: 1fr; }
  .customer-care-content h2 { font-size: 36px; }
  .customer-care-parallax { background-attachment: scroll; }
  .contact-form-container { padding: 25px; }
  .agradecimiento-section { padding: 60px 20px; }
  .agradecimiento-content h2 { font-size: 32px; }
  .play-button { width: 70px; height: 70px; font-size: 32px; }
  .app-download-section { padding: 60px 20px; }
  .app-download-content h2 { font-size: 36px; }
  .app-download-buttons { justify-content: center; flex-direction: column; align-items: center; }
  .app-download-btn { width: 100%; max-width: 300px; justify-content: center; }
  .app-phone-mockup { width: 200px; height: 400px; }
  .bus-to-top { bottom: 20px; right: 20px; width: 90px; height: 45px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .footer-banner { height: 100px; }
  .footer-info-container { width: 100%; }
  .footer-legend { font-size: 11px; padding-top: 15px; margin-top: 15px; }
  .scroll-down-btn { left: 50%; bottom: 85px; width: 40px; height: 40px; font-size: 18px; transform: translateX(-50%); }
  .overlay-img { width: 280px; }
  .slide-text { font-size: 10px; }
  .customer-care-container { grid-template-columns: 1fr !important; gap: 30px; }
  .contact-form-container { margin-top: 20px; padding: 20px; }
  .nosotros-hero { min-height: 200px; padding: 30px 15px 20px; }
  .nosotros-hero h1 { font-size: 24px; }
  .hero-bus-image { opacity: 0.7; }
  .nosotros-hero-content { padding: 15px 10px; margin: 0 10px; }
  .video-thumbnail-nosotros { height: 220px; }
  .play-button-nosotros { width: 50px; height: 50px; font-size: 20px; }
  .card-header h2 { font-size: 22px; }
  .subscribe-form-nosotros { flex-direction: column; }
}

@media (max-width: 680px) {
  header { padding: 14px 20px; }
  .hero-section { min-height: 250px; padding: 0 10px 20px 10px; }
  .nav-arrow { width: 32px; height: 32px; font-size: 16px; display: none; }
  .hero-images-overlay { padding: 0 10px; }
  .overlay-img { width: 240px; }
  .destinations-header h2 { font-size: 30px; }
  .destinations-header .subline { font-size: 16px; }
  .destinations-header p { font-size: 15px; }
  .destination-card { min-width: 260px; height: 340px; }
  .carousel-nav-btn { width: 42px; height: 42px; }
  .carousel-nav-btn.prev { left: 5px; }
  .carousel-nav-btn.next { right: 5px; }
  .testimonials-container { grid-template-columns: 1fr; gap: 25px; }
  .testimonial-card { padding: 25px; margin: 0 10px; }
  .testimonials-header h2 { font-size: 36px; }
  .testimonials-parallax { background-attachment: scroll; }
  .nosotros-hero h1 { font-size: 22px; }
  .hero-bus-image { object-position: center 30%; }
  .video-thumbnail-nosotros { height: 180px; }
  .play-button-nosotros { width: 45px; height: 45px; font-size: 18px; }
  .video-preview-text h3 { font-size: 16px; }
  .valores-grid { grid-template-columns: 1fr; }
  .legend-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  body { padding-top: 110px; }
  .announcement-marquee { top: 65px; padding: 5px 0; }
  .marquee-content { font-size: 11px; padding: 0 10px; gap: 5px; }
  .hero-section { min-height: 220px; padding: 0 8px 16px 8px; }
  .hero-images-overlay { padding: 0 5px; }
  .overlay-img { width: 200px; }
  .customer-care-content h2 { font-size: 32px; }
  .contact-card { padding: 20px; }
  .contact-image-wrapper { width: 100px; height: 100px; }
  .contact-card h3 { font-size: 18px; }
  .agradecimiento-content h2 { font-size: 28px; }
  .agradecimiento-content p { font-size: 16px; }
  .play-button { width: 60px; height: 60px; font-size: 28px; }
  .video-label { font-size: 14px; }
  .testimonials-section { padding: 60px 15px; }
  .testimonials-header h2 { font-size: 32px; }
  .testimonial-card::before { font-size: 60px; top: 15px; right: 20px; }
  .user-avatar { width: 50px; height: 50px; }
  .app-download-content h2 { font-size: 32px; }
  .app-download-badge { font-size: 12px; padding: 10px 20px; }
  .app-phone-mockup { width: 180px; height: 360px; border-radius: 25px; animation: floatMobile 6s ease-in-out infinite; }
  @keyframes floatMobile { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
  .app-screen-image { border-radius: 20px; }
  .app-download-counter { padding: 8px 16px; bottom: -15px; animation: floatCounterMobile 6s ease-in-out infinite; animation-delay: 0.3s; }
  @keyframes floatCounterMobile { 0% { transform: translateX(-50%) translateY(0px); } 50% { transform: translateX(-50%) translateY(-5px); } 100% { transform: translateX(-50%) translateY(0px); } }
  .app-counter-number { font-size: 18px; }
  .footer-columns { grid-template-columns: 1fr; gap: 30px; }
  .footer-promo-banner h3 { font-size: 22px; }
  .footer-promo-banner p { font-size: 14px; }
  .footer-info-container { gap: 15px; }
  .copyright { font-size: 12px; white-space: normal; text-align: center; }
  .copyright-links { gap: 10px; }
  .social-links-integrated { gap: 8px; }
  .social-link-integrated { width: 28px; height: 28px; font-size: 12px; }
  .footer-legend { font-size: 10px; padding-top: 10px; margin-top: 10px; }
  .theme-switch-wrapper { margin-right: 5px; }
  .theme-switch { width: 45px; height: 24px; }
  .slider:before { width: 16px; height: 16px; bottom: 4px; }
  input:checked + .slider:before { transform: translateX(21px); }
  .scroll-down-btn { left: 50%; bottom: 80px; width: 35px; height: 35px; font-size: 16px; transform: translateX(-50%); }
  .bus-to-top { bottom: 15px; right: 15px; width: 80px; height: 40px; }
  .slide-text { font-size: 8px; padding: 3px 6px; }
  .contact-form-container { padding: 15px; }
  .contact-form-container h3 { font-size: 20px; margin-bottom: 15px; }
  .form-group input, .form-group textarea, .form-group select { padding: 12px; font-size: 14px; }
  .submit-btn { padding: 12px; font-size: 15px; }
  .nosotros-hero { min-height: 180px; padding: 25px 10px 15px; }
  .nosotros-hero h1 { font-size: 20px; }
  .hero-bus-image { opacity: 0.8; }
  .card-header { flex-direction: column; text-align: center; gap: 8px; }
  .app-buttons-nosotros { flex-direction: column; align-items: center; }
  .app-button { width: 100%; max-width: 250px; justify-content: center; }
  .video-thumbnail-nosotros { height: 160px; }
  .play-button-nosotros { width: 40px; height: 40px; font-size: 16px; }
  .logo-img { height: 28px; }
  .map-header h1 { font-size: 24px; }
  .map-header { padding: 20px; }
  .terminal-select-group label { font-size: 16px; }
  .terminal-select-group select { padding: 14px 16px; font-size: 15px; }
  .controls-title { font-size: 18px; }
  .controls-title svg { width: 18px; height: 18px; }
  .legend-items { grid-template-columns: repeat(2, 1fr); }
  .terminal-details h4 { font-size: 15px; }
  .terminal-details h4 svg { width: 16px; height: 16px; }
  .terminal-details p { font-size: 13px; }
  .terminal-details svg { width: 14px; height: 14px; }
  .map-legend h4 { font-size: 13px; }
  .map-legend h4 svg { width: 12px; height: 12px; }
  .legend-label { font-size: 11px; }
}

@media (max-width: 400px) {
  .nosotros-hero h1 { font-size: 18px; }
  .modal-header-announcement h2 { font-size: 22px; white-space: normal; }
}