/* ===== AVENTURS MODERN THEME =====
   Colors: Deep Forest Green + Warm Amber
   ====================================== */

:root {
  --av-primary:       #4c5952;
  --av-primary-dark:  #262e2a;
  --av-primary-light: #66786e;
  --av-secondary:     #e8951e;
  --av-secondary-dark:#c67d15;
  --av-bg-light:      #f5fbf7;
  --av-text:          #1c1c1c;
  --av-muted:         #6c757d;
  --av-shadow:        0 4px 20px rgba(0,0,0,.10);
  --av-shadow-hover:  0 8px 32px rgba(0,0,0,.18);
  --av-radius:        12px;
}

/* ── Base ─────────────────────────────────────────── */
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--av-text);
}

/* ── Navbar ───────────────────────────────────────── */
.av-navbar {
  background: var(--av-primary) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.20);
  padding: 0.45rem 1rem;
}
.av-navbar .navbar-brand img {
  max-height: 50px;
  width: auto;
}
.av-navbar .nav-link,
.av-navbar .navbar-nav .nav-link {
  color: rgba(255,255,255,.90) !important;
  font-weight: 500;
  padding: .5rem .85rem;
  transition: color .2s;
}
.av-navbar .nav-link:hover {
  color: var(--av-secondary) !important;
}
.av-navbar .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}
.av-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.av-navbar .dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: var(--av-shadow);
  margin-top: 0;
}
.av-navbar .dropdown-item:hover,
.av-navbar .dropdown-item:focus {
  background: var(--av-bg-light);
  color: var(--av-primary);
}
.av-navbar .dropdown-toggle::after {
  vertical-align: middle;
}
.av-navbar .form-control.nav-search {
  border-radius: 20px;
  border: none;
  font-size: .9rem;
  padding: .35rem .9rem;
}

/* ── Hero Slider ──────────────────────────────────── */
.av-hero {
  position: relative;
  height: 90vh;
  min-height: 480px;
  overflow: hidden;
}
.av-hero .swiper,
.av-hero .swiper-slide {
  height: 100%;
}
.av-hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.av-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.10) 0%, rgba(0,0,0,.60) 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem 2.5rem 4rem;
  pointer-events: none;
}
.av-hero-caption {
  color: #fff;
  max-width: 620px;
  pointer-events: auto;
}
.av-hero-caption h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  margin-bottom: .5rem;
}
.av-hero-caption p {
  font-size: 1.05rem;
  opacity: .92;
  margin-bottom: .75rem;
}
.av-hero-caption .btn-hero {
  background: var(--av-secondary);
  border: none;
  color: #fff;
  padding: .7rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(232,149,30,.45);
}
.av-hero-caption .btn-hero:hover {
  background: var(--av-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,149,30,.5);
  color: #fff;
}
.av-hero .swiper-button-next,
.av-hero .swiper-button-prev {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.av-hero .swiper-pagination-bullet {
  background: #fff;
  opacity: .65;
  width: 10px;
  height: 10px;
}
.av-hero .swiper-pagination-bullet-active {
  background: var(--av-secondary);
  opacity: 1;
}

/* ── Service Detail Hero ──────────────────────────── */
.av-service-hero {
  position: relative;
  height: 72vh;
  min-height: 380px;
  overflow: hidden;
}
.av-service-hero .swiper,
.av-service-hero .swiper-slide {
  height: 100%;
}
.av-service-hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-service-hero .swiper-button-next,
.av-service-hero .swiper-button-prev {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.av-service-hero .swiper-pagination-bullet { background: #fff; opacity: .65; }
.av-service-hero .swiper-pagination-bullet-active { background: var(--av-secondary); opacity: 1; }
.av-service-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.70) 100%);
  pointer-events: none;
}
.av-service-hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 2rem 2.5rem;
  color: #fff;
}
.av-service-hero-info h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  margin-bottom: .5rem;
}
.av-service-hero-info .badge-class {
  background: var(--av-secondary);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  display: inline-block;
}

/* ── Reserve / CTA Bar ────────────────────────────── */
.av-reserve-bar {
  background: var(--av-primary);
  padding: 1.1rem 0;
}
.av-reserve-bar label {
  color: rgba(255,255,255,.80);
  font-size: .82rem;
  margin-bottom: .25rem;
  display: block;
}
.av-reserve-bar .form-control,
.av-reserve-bar .form-select {
  border-radius: 8px;
  border: none;
  font-size: .9rem;
}
.av-reserve-bar .btn-reserve {
  background: var(--av-secondary);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: .6rem 1.5rem;
  transition: background .2s;
  white-space: nowrap;
}
.av-reserve-bar .btn-reserve:hover {
  background: var(--av-secondary-dark);
}

/* ── Section Layout ───────────────────────────────── */
.av-section {
  padding: 4rem 0;
}
.av-section-alt {
  background: var(--av-bg-light);
}
.av-section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.av-section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--av-primary);
  display: inline-block;
  position: relative;
}
.av-section-heading h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--av-secondary);
  border-radius: 2px;
  margin: .5rem auto 0;
}

/* ── Tour Cards ───────────────────────────────────── */
.av-tour-card {
  border: none;
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: var(--av-shadow);
  transition: box-shadow .25s, transform .25s;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.av-tour-card:hover {
  box-shadow: var(--av-shadow-hover);
  transform: translateY(-6px);
}
.av-tour-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  flex-shrink: 0;
}
.av-tour-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.av-tour-card:hover .card-img-wrap img {
  transform: scale(1.07);
}
.av-tour-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.av-tour-card .card-title {
  font-weight: 700;
  color: var(--av-primary);
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.av-tour-card .card-text {
  font-size: .88rem;
  color: var(--av-muted);
  flex: 1;
}
.av-tour-card .btn-card {
  background: var(--av-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: .75rem;
  align-self: flex-start;
  transition: background .2s;
}
.av-tour-card .btn-card:hover {
  background: var(--av-primary-dark);
  color: #fff;
}

/* ── Promo Cards ──────────────────────────────────── */
.av-promo-card {
  border: none;
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: var(--av-shadow);
  transition: box-shadow .25s, transform .25s;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.av-promo-card:hover {
  box-shadow: var(--av-shadow-hover);
  transform: translateY(-5px);
}
.av-promo-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.av-promo-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.av-promo-card:hover .card-img-wrap img {
  transform: scale(1.06);
}
.av-promo-card .promo-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--av-secondary);
  color: #fff;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .82rem;
  line-height: 1.5;
}
.av-promo-card .card-body {
  padding: 1rem 1.1rem;
  flex: 1;
}
.av-promo-card .card-title {
  font-weight: 700;
  color: var(--av-primary);
  font-size: 1rem;
  margin-bottom: .3rem;
}
.av-promo-card .card-title a {
  color: inherit;
  text-decoration: none;
}
.av-promo-card .card-text {
  font-size: .84rem;
  color: var(--av-muted);
}

/* ── Price Box ────────────────────────────────────── */
.av-price-box {
  background: #fff;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  padding: 1.75rem 1.5rem;
  border-top: 5px solid var(--av-secondary);
  position: sticky;
  top: 76px;
}
.av-price-box .price-from {
  font-size: .8rem;
  color: var(--av-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.av-price-box .price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--av-primary);
  line-height: 1.1;
}
.av-price-box .price-del {
  font-size: 1.1rem;
  color: #aaa;
  text-decoration: line-through;
  margin-left: .4rem;
}
.av-price-box .btn-book {
  display: block;
  background: var(--av-secondary);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  padding: .8rem;
  width: 100%;
  margin-top: 1rem;
  transition: background .2s, transform .15s;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.av-price-box .btn-book:hover {
  background: var(--av-secondary-dark);
  transform: scale(1.02);
  color: #fff;
}

/* ── Info Cards ───────────────────────────────────── */
.av-info-card {
  background: #fff;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  padding: 1.5rem;
  height: 100%;
}
.av-info-card .info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--av-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .9rem;
}
.av-info-card h5 {
  font-weight: 700;
  color: var(--av-primary);
  margin-bottom: .7rem;
  font-size: 1rem;
}
.av-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.av-info-card ul li {
  padding: .35rem 0;
  font-size: .9rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.av-info-card ul li:last-child {
  border: none;
}

/* ── Accordion ────────────────────────────────────── */
.av-accordion .accordion-button {
  font-weight: 600;
  color: var(--av-primary);
}
.av-accordion .accordion-button:not(.collapsed) {
  background: var(--av-primary);
  color: #fff;
}
.av-accordion .accordion-button:focus {
  box-shadow: none;
}
.av-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

/* ── Reviews ──────────────────────────────────────── */
.av-review-card {
  background: #fff;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  padding: 1.25rem;
}
.av-review-card .reviewer-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.av-review-card .reviewer-name {
  font-weight: 700;
  color: var(--av-primary);
}
.av-review-card .review-text {
  font-size: .9rem;
  color: #555;
}

/* ── Sticky Booking Bar (mobile only) ─────────────── */
.av-sticky-book {
  display: none;
}
@media (max-width: 767.98px) {
  .av-sticky-book {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--av-primary);
    padding: .65rem 1rem;
    gap: .5rem;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  }
  .av-sticky-book .btn-sticky {
    background: var(--av-secondary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    flex: 1;
    padding: .65rem;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
  }
  body.has-sticky-bar {
    padding-bottom: 70px;
  }
}

/* ── Footer ───────────────────────────────────────── */
.av-footer {
  background: var(--av-primary-dark);
  color: rgba(255,255,255,.80);
  padding: 2.5rem 0 1rem;
}
.av-footer a {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color .2s;
}
.av-footer a:hover {
  color: var(--av-secondary);
}
.av-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  justify-content: center;
}
.av-footer-nav li a {
  font-size: .88rem;
  padding: .2rem 0;
  display: inline-block;
}
.av-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: .82rem;
  text-align: center;
  color: rgba(255,255,255,.55);
}
.av-footer-bottom a { color: rgba(255,255,255,.65); }

/* ── WhatsApp float ───────────────────────────────── */
.whats-app {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 80px;
  right: 18px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  box-shadow: 2px 2px 8px rgba(0,0,0,.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s;
}
.whats-app:hover {
  transform: scale(1.1);
  color: #fff;
}
@media (max-width: 767.98px) {
  .whats-app { bottom: 90px; }
}

/* ── Bootstrap 3 Panel polyfill ───────────────────── */
.panel {
  border-radius: 8px;
  margin-bottom: 1.25rem;
  border: 1px solid #dee2e6;
  overflow: hidden;
}
.panel-heading {
  padding: .75rem 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.panel-body { padding: 1rem; }
.panel-footer { padding: .75rem 1rem; background: #f8f9fa; border-top: 1px solid #dee2e6; }
.panel-title { margin: 0; font-size: 1rem; font-weight: 600; }
.panel-primary { border-color: var(--av-primary); }
.panel-primary > .panel-heading {
  background: var(--av-primary);
  color: #fff;
  border-color: var(--av-primary);
}
.panel-default > .panel-heading { background: #f8f9fa; }
.panel-group .panel + .panel { margin-top: .4rem; }

/* ── BS3 col-xs polyfill ──────────────────────────── */
@media (max-width: 575.98px) {
  .col-xs-12 { width: 100%; }
  .col-xs-6  { width: 50%; }
  .col-xs-4  { width: 33.333%; }
  .col-xs-3  { width: 25%; }
}

/* ── Misc helpers ─────────────────────────────────── */
.bg-av-primary   { background: var(--av-primary) !important; }
.bg-av-secondary { background: var(--av-secondary) !important; }
.text-av-primary   { color: var(--av-primary) !important; }
.text-av-secondary { color: var(--av-secondary) !important; }
.btn-av-primary {
  background: var(--av-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-av-primary:hover { background: var(--av-primary-dark); color: #fff; }
.btn-av-secondary {
  background: var(--av-secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-av-secondary:hover { background: var(--av-secondary-dark); color: #fff; }

/* social sidebar minimal reset */
.botones-sociales { display: none; }
