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

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  --primary: #2b82b9;
  /* Vlog Blue */
  --primary-hover: #1f6490;
  --primary-light: #e2f1fc;

  --accent: #e66912;
  /* Vlog Orange */
  --accent-hover: #cc560a;
  --accent-light: #fef0e6;

  --text-main: #0e1f2b;
  /* Navy Blue / Dark text */
  --text-secondary: #475569;
  /* Muted gray-blue */
  --text-light: #94a3b8;
  /* Light gray-blue */

  --white: #ffffff;
  --error: #ef4444;
  --success: #22c55e;

  --shadow-sm: 0 2px 4px rgba(14, 31, 43, 0.04);
  --shadow-md: 0 8px 16px rgba(14, 31, 43, 0.06);
  --shadow-lg: 0 16px 32px rgba(14, 31, 43, 0.1);
  --shadow-hover: 0 20px 40px rgba(14, 31, 43, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --border-color: #e2f1fc;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.section {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.section-title-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-category {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: bold;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 105, 18, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 105, 18, 0.4);
}

.btn-blue {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(43, 130, 185, 0.3);
}

.btn-blue:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 130, 185, 0.4);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Icons styling */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 241, 252, 0.6);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 44px;
}

.logo-img {
  max-width: 180px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  border: 1px solid var(--border-color);
}

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

.dropdown-item {
  display: block;
  padding: 10px 24px;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(230, 105, 18, 0.05);
  color: var(--accent);
}

@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    margin-left: 15px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 8px 0;
  }
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
  background-color: var(--text-main);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 31, 43, 0.4) 0%, rgba(14, 31, 43, 0.8) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-tag span {
  color: #ff9d4d;
  font-weight: 700;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title span {
  color: #ff9d4d;
  background: linear-gradient(135deg, #ff9d4d 0%, #e66912 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Search Form */
.hero-search-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 850px;
  margin: 0 auto;
}

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

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid var(--bg-tertiary);
  color: var(--text-main);
  text-align: left;
}

.search-field:last-of-type {
  border-right: none;
}

.search-field svg {
  color: var(--primary);
  flex-shrink: 0;
}

.search-input-group {
  display: flex;
  flex-direction: column;
}

.search-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.search-select,
.search-input {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  width: 100%;
  cursor: pointer;
}

.search-input::placeholder {
  color: var(--text-light);
}

.hero-search-form .btn {
  padding: 16px 36px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

/* ==========================================================================
   UPCOMING TRIPS (PRÓXIMAS EXCURSIONES)
   ========================================================================== */
.trips-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  transition: var(--transition);
  border: 1px solid transparent;
}

.filter-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
}

.filter-btn.active {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(43, 130, 185, 0.2);
}

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

.trip-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 241, 252, 0.4);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
}

.trip-card.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
}

.trip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(43, 130, 185, 0.15);
}

.trip-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.trip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.trip-card:hover .trip-img {
  transform: scale(1.08);
}

.trip-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  z-index: 10;
}

.trip-badge.nacional {
  background-color: var(--primary);
}

.trip-badge.internacional {
  background-color: var(--accent);
}

.trip-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trip-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

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

.trip-meta-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.trip-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.trip-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--bg-tertiary);
}

.trip-price-wrapper {
  display: flex;
  flex-direction: column;
}

.trip-price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trip-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.trip-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   MENSAJE SIN RESULTADOS
   ========================================================================== */
.no-results-message {
  text-align: center;
  max-width: 650px;
  margin: 50px auto 0;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeInNoResults .4s ease;
}

.no-results-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-results-main {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .75rem;
}

.no-results-subtitle {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.no-results-btn {
  display: inline-flex;
}

@keyframes fadeInNoResults {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ACTIVITIES (ACTIVIDADES DESTACADAS)
   ========================================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.activity-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 241, 252, 0.4);
  transition: var(--transition);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 130, 185, 0.2);
}

.activity-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.activity-card:hover .activity-icon-box {
  background-color: var(--primary);
  color: var(--white);
}

.activity-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.activity-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   PAST TRIPS GALLERY (VIAJES REALIZADOS)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(43, 130, 185, 0) 40%, rgba(14, 31, 43, 0.85) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.gallery-date {
  font-size: 0.8rem;
  color: #ff9d4d;
  font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS (TESTIMONIOS)
   ========================================================================== */
.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 10px 20px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 241, 252, 0.4);
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--primary-light);
  line-height: 1;
  font-family: serif;
  position: absolute;
  top: 15px;
  left: 30px;
  opacity: 0.6;
}

.testimonial-rating {
  color: #fb923c;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.85rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  color: var(--text-main);
  border: 1px solid var(--bg-tertiary);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 24px;
  background-color: var(--primary);
}

/* ==========================================================================
   CONTACT & BOOKING FORM (RESERVAS)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.contact-info-wrapper {
  padding-right: 20px;
}

.contact-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-item .icon-container {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.contact-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.1rem;
}

/* Booking Form Card */
.booking-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 241, 252, 0.6);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.form-control {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--bg-tertiary);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--bg-secondary);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 130, 185, 0.1);
}

textarea.form-control {
  padding-left: 16px;
  resize: vertical;
  min-height: 100px;
}

.booking-form .btn {
  margin-top: 10px;
  padding: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--text-main);
  color: #94a3b8;
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo-link {
  margin-bottom: 20px;
}

.footer-about-text {
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon-instagram::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
}

.icon-facebook::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.icon-tiktok::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 2.22-1.15 4.39-2.92 5.74-1.74 1.34-4.04 1.83-6.17 1.25-2.19-.58-4.04-2.18-4.83-4.29-.79-2.12-.55-4.57.65-6.49 1.15-1.84 3.09-3.08 5.22-3.35.12-.01.24-.02.36-.02v4.06c-1.37.03-2.73.68-3.55 1.76-.84 1.1-.96 2.6-.33 3.8.63 1.22 1.95 2.02 3.32 2.05 1.39.04 2.78-.63 3.51-1.81.7-1.13.8-2.52.8-3.83V0h-3.91c.01.01.01.01.02.02z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 2.22-1.15 4.39-2.92 5.74-1.74 1.34-4.04 1.83-6.17 1.25-2.19-.58-4.04-2.18-4.83-4.29-.79-2.12-.55-4.57.65-6.49 1.15-1.84 3.09-3.08 5.22-3.35.12-.01.24-.02.36-.02v4.06c-1.37.03-2.73.68-3.55 1.76-.84 1.1-.96 2.6-.33 3.8.63 1.22 1.95 2.02 3.32 2.05 1.39.04 2.78-.63 3.51-1.81.7-1.13.8-2.52.8-3.83V0h-3.91c.01.01.01.01.02.02z'/%3E%3C/svg%3E");
}

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

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter-text {
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding-left: 16px;
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

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

  .testimonial-card,
  .activity-card,
  .booking-form-card {
    padding: 24px;
  }

  /* Navigation */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    gap: 24px;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-actions {
    display: none;
  }

  .header.scrolled .nav-menu {
    top: 69px;
    height: calc(100vh - 69px);
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: auto;
    padding: 140px 0 80px 0;
  }

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

  .hero-search-form {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--bg-tertiary);
    padding: 16px 8px;
  }

  .hero-search-form .btn {
    width: 100%;
    margin-top: 16px;
  }

  /* Trips */
  .trips-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-wrapper {
    padding-right: 0;
  }
}

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ==========================================================================
   SUBPAGES (Nosotros & Términos)
   ========================================================================== */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
  /* Offset for sticky header */
}

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

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(14, 31, 43, 0.6), rgba(14, 31, 43, 0.8));
  z-index: -1;
}

.page-hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--white);
}

.page-hero-desc {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}



/* About Grid (Historia) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(14, 31, 43, 0.05);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.value-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon i {
  width: 32px;
  height: 32px;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 300px;
  height: 300px;
  margin-left: 40px;
  object-fit: cover;
  border-radius: 150px;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
  color: var(--primary);
  border-bottom: 2px solid var(--bg-tertiary);
  padding-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .page-hero-title {
    font-size: 2.5rem;
  }

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

  .about-content h2 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 30px 20px;
  }
}