/*
Theme Name: Ecos Peru Trek Custom
Theme URI: https://ecosperutrek.com
Author: Ecos Peru Trek
Description: Tema personalizado optimizado para trekking
Version: 1.0
Text Domain: ecos-custom
*/

:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-2: #eef3ef;
  --text: #17313a;
  --muted: #556b74;
  --primary: #929902;
  --primary-2: #a2a91b;
  --accent: #a2a91b;
  --accent-2: #dfe65b;
  --border: #dbe2df;
  --shadow: 0 18px 40px rgba(16, 57, 75, 0.08);
  --container: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #232323;
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 8px;
  z-index: 9999;
}

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 0.92rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 46px;
  flex-wrap: wrap;
  padding: 0.4rem 0;
}

.topbar__meta,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  opacity: 0.94;
}

.topbar a:hover {
  opacity: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 226, 223, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: #fff;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand__name {
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand__tag {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 6px auto;
  transition: transform var(--transition), opacity var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__list li {
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  background: var(--surface-2);
  color: var(--primary);
  outline: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(185, 191, 4, 0.28);
}

.btn--primary:hover {
  background: var(--accent-2);
}

.btn--secondary {
  background: #778144;
  color: #fff;
}

.btn--secondary:hover {
  background: var(--primary-2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
  color: #000000;
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(162, 169, 27, 0.30), rgba(16, 57, 75, 0.55)),
    url('https://ecosperutrek.com/wp-content/uploads/2026/03/toomas-tartes-Yizrl9N_eDA-unsplash-1.webp') center/cover no-repeat;
  color: #fff;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(247, 248, 245, 0) 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: 720px;
  padding: 3rem 0 7rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;

  max-width: 600px;   /* 🔥 clave */
  min-height: 120px;  /* 🔥 mantiene altura */
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);

  max-width: 500px;   /* 🔥 fijo */
  min-height: 72px;   /* 🔥 evita saltos */

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  font-weight: 700;
}

.hero__card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.hero__media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
}

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

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero__fact {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.85rem;
  text-align: center;
}

.hero__fact strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
  max-width: 72ch;
}

.section-head__eyebrow {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.trust {
  margin-top: -3.2rem;
  position: relative;
  z-index: 3;
}

.trust__grid,
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust__item,
.benefit,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.trust__item strong,
.benefit h3 {
  color: var(--primary);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 57, 75, 0.12);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgb(149 157 0);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.card__body {
  padding: 1.15rem;
  display: grid;
  gap: 0.9rem;
  flex: 1;
}

.card__body h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.card__meta span {
  background: var(--surface-2);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.price small {
  color: var(--muted);
  font-weight: 700;
  display: block;
}

.price strong {
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

.about__grid,
.cta__grid,
.seo__grid,
.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.about__media,
.cta__media {
  position: relative;
}

.about__media img,
.cta__media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}

.badge-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 226, 223, 0.9);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
  color: var(--primary);
}

.benefit__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: rgba(185, 191, 4, 0.16);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
}

.faq__question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.cta {
  background: linear-gradient(135deg, rgba(121, 130, 55), rgba(162, 169, 27));
  color: #fff;
}

.cta .section-head__eyebrow,
.cta .section-head p,
.cta .section-head h2,
.cta .list li,
.cta .badge-card {
  color: #fff;
}

.cta .badge-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: 0.75rem;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #556b74;
}

.list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  background: #a1a81b;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 900;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

form {
  display: grid;
  gap: 0.9rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 50px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--muted);
}

.contact__meta strong {
  color: var(--primary);
}

.footer {
  background: #929902;
  color: rgba(255, 255, 255);
  padding: 1.6rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {

  .hero__grid,
  .about__grid,
  .cta__grid,
  .seo__grid,
  .contact,
  .cards,
  .benefits,
  .trust__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 82px 1rem auto 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list,
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .hero__grid,
  .about__grid,
  .cta__grid,
  .seo__grid,
  .contact,
  .cards,
  .benefits,
  .trust__grid,
  .hero__facts,
  .field-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .badge-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}

@media (max-width: 560px) {

  .topbar__inner,
  .header__inner,
  .hero__actions,
  .card__footer,
  .footer__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

section {
  padding: 4rem 0;
}

@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr !important;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  position: relative;
}

/* Evita saltos de línea en el menú */
.nav,
.nav__list,
.nav__list li,
.nav__link,
.nav__actions,
.btn {
  white-space: nowrap;
}

/* Hace que el menú hamburguesa aparezca antes */
@media (max-width: 1200px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 82px 1rem auto 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list,
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .nav__link,
  .nav__actions .btn {
    justify-content: center;
  }
}

/* Tamaño uniforme del menú */
.nav__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

/* asegurar que todos los links del menú tengan el mismo estilo */
.nav__list li a {
  font-size: 14px;
  font-weight: 500;
}

/* evitar diferencias en hover o estados activos */
.nav__list li a:hover,
.nav__list li.current-menu-item a,
.nav__list li.current_page_item a {
  font-size: 14px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: nowrap;
}

/* Texto del menú en negrita */
.nav__link,
.nav__list li a {
  font-weight: 800 !important;
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 170px;
}

.brand__name {
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.brand__tag {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #6b7b84;
  line-height: 1.05;
}

.brand__tag-line {
  display: block;
  white-space: nowrap;
}

.booking-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.booking-box h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.booking-form {
  display: grid;
  gap: 0.9rem;
}

.booking-field {
  display: grid;
  gap: 0.35rem;
}

.booking-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  min-height: 48px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: #17313a;
  background: rgba(255, 255, 255, 0.95);
}

.booking-field textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-btn {
  width: 100%;
}

.ecos-booking-notice {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ecos-booking-notice--success {
  background: rgba(185, 191, 4, 0.18);
  color: #fff;
  border: 1px solid rgba(185, 191, 4, 0.35);
}

.ecos-booking-notice--error {
  background: rgba(180, 40, 40, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 120, 120, 0.35);
}

.booking-shell {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 2rem 0 0;
}

.booking-card {
  background: #ffffff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(16, 57, 75, 0.12);
  padding: 2rem;
  color: #000000;
}

.booking-card__head {
  margin-bottom: 1.5rem;
}

.booking-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 57, 75, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.booking-card__head h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  color: var(--primary);
}

.booking-card__head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.booking-form {
  display: grid;
  gap: 1.25rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.booking-field {
  display: grid;
  gap: 0.45rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--primary);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(16, 57, 75, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-field textarea {
  min-height: 150px;
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: #7b8e97;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: rgba(16, 57, 75, 0.35);
  box-shadow: 0 0 0 4px rgba(16, 57, 75, 0.08);
}

.booking-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-card__note {
  color: var(--muted);
  max-width: 52ch;
  font-size: 0.95rem;
}

.booking-card__note strong {
  color: var(--primary);
}

.booking-btn {
  min-width: 220px;
}

.ecos-booking-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ecos-booking-notice--success {
  background: rgba(185, 191, 4, 0.14);
  color: #314000;
  border: 1px solid rgba(185, 191, 4, 0.28);
}

.ecos-booking-notice--error {
  background: rgba(180, 40, 40, 0.08);
  color: #8f1f1f;
  border: 1px solid rgba(180, 40, 40, 0.16);
}

@media (max-width: 860px) {
  .booking-card {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-btn {
    width: 100%;
    min-width: 0;
  }
}

.hero__card .booking-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero__card .booking-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #fff;
}

.hero__card .booking-card__head {
  margin-bottom: 1rem;
}

.hero__card .booking-card__head h3,
.hero__card .booking-card__head p,
.hero__card .booking-field label,
.hero__card .booking-card__note,
.hero__card .booking-card__note strong {
  color: #fff;
}

.hero__card .booking-card__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero__card .booking-field input,
.hero__card .booking-field select,
.hero__card .booking-field textarea {
  background: rgba(255, 255, 255, 0.95);
  color: #17313a;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__card .booking-grid {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.hero__card .booking-field textarea {
  min-height: 110px;
}

.hero__card .booking-card__footer {
  flex-direction: column;
  align-items: stretch;
}

.hero__card .booking-btn {
  width: 100%;
  min-width: 0;
}

.hero__card .booking-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero__card .booking-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #fff;
}

.hero__card .booking-card__head {
  margin-bottom: 1rem;
}

.hero__card .booking-card__head h3,
.hero__card .booking-card__head p,
.hero__card .booking-field label,
.hero__card .booking-card__note,
.hero__card .booking-card__note strong {
  color: #fff;
}

.hero__card .booking-card__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero__card .booking-field input,
.hero__card .booking-field select,
.hero__card .booking-field textarea {
  background: rgba(255, 255, 255, 0.95);
  color: #17313a;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__card .booking-grid {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.hero__card .booking-field textarea {
  min-height: 110px;
}

.hero__card .booking-card__footer {
  flex-direction: column;
  align-items: stretch;
}

.hero__card .booking-btn {
  width: 100%;
  min-width: 0;
}

.booking-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 0;
}

.booking-box,
.booking-card {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(16, 57, 75, 0.12);
  padding: 1.5rem;
  color: #000000;
}

.booking-box h3,
.booking-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--primary);
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.booking-field {
  display: grid;
  gap: 0.45rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 57, 75, 0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-field textarea {
  min-height: 130px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: rgba(16, 57, 75, 0.35);
  box-shadow: 0 0 0 4px rgba(16, 57, 75, 0.08);
}

.booking-card__footer,
.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-card__note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.booking-card__note strong {
  color: var(--primary);
}

.booking-btn {
  min-width: 220px;
}

.ecos-booking-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ecos-booking-notice--success {
  background: rgba(185, 191, 4, 0.14);
  color: #314000;
  border: 1px solid rgba(185, 191, 4, 0.28);
}

.ecos-booking-notice--error {
  background: rgba(180, 40, 40, 0.08);
  color: #8f1f1f;
  border: 1px solid rgba(180, 40, 40, 0.16);
}

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

@media (max-width: 640px) {

  .booking-box,
  .booking-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-card__footer,
  .booking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-btn {
    width: 100%;
    min-width: 0;
  }
}

.booking-shell {
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
  padding: 2rem 0 0;
}

.booking-card {
  background: #ffffff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(16, 57, 75, 0.12);
  padding: 1.5rem;
  color: var(--text);
}

.booking-card__head {
  margin-bottom: 1.25rem;
}

.booking-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 57, 75, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.booking-card__head h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.05;
  color: var(--primary);
}

.booking-card__head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.booking-field {
  display: grid;
  gap: 0.45rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 57, 75, 0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-field textarea {
  min-height: 130px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: rgba(16, 57, 75, 0.35);
  box-shadow: 0 0 0 4px rgba(16, 57, 75, 0.08);
}

.booking-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.booking-card__note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.booking-card__note strong {
  color: var(--primary);
}

.booking-btn {
  min-width: 220px;
}

.ecos-booking-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ecos-booking-notice--success {
  background: rgba(185, 191, 4, 0.14);
  color: #314000;
  border: 1px solid rgba(185, 191, 4, 0.28);
}

.ecos-booking-notice--error {
  background: rgba(180, 40, 40, 0.08);
  color: #8f1f1f;
  border: 1px solid rgba(180, 40, 40, 0.16);
}

@media (max-width: 1024px) {
  .booking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .booking-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-btn {
    width: 100%;
    min-width: 0;
  }
}

.booking-shell {
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
  padding: 2rem 0 0;
}

.booking-card {
  background: #ffffff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(16, 57, 75, 0.12);
  padding: 1.5rem;
  color: var(--text);
}

.booking-card__head {
  margin-bottom: 1.25rem;
}

.booking-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 57, 75, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.booking-card__head h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.05;
  color: var(--primary);
}

.booking-card__head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.booking-field {
  display: grid;
  gap: 0.45rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 57, 75, 0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-field textarea {
  min-height: 130px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: rgba(16, 57, 75, 0.35);
  box-shadow: 0 0 0 4px rgba(16, 57, 75, 0.08);
}

.booking-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.booking-card__note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.booking-card__note strong {
  color: var(--primary);
}

.booking-btn {
  min-width: 220px;
}

.ecos-booking-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ecos-booking-notice--success {
  background: rgba(185, 191, 4, 0.14);
  color: #314000;
  border: 1px solid rgba(185, 191, 4, 0.28);
}

.ecos-booking-notice--error {
  background: rgba(180, 40, 40, 0.08);
  color: #8f1f1f;
  border: 1px solid rgba(180, 40, 40, 0.16);
}

@media (max-width: 1024px) {
  .booking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .booking-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-btn {
    width: 100%;
    min-width: 0;
  }
}

/* BOOKING RECTANGULAR */
.booking-temp .panel.booking-box {
  background: #f5f5f1;
  border-radius: 14px;
  padding: 22px;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.booking-temp .panel.booking-box h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.booking-temp .panel.booking-box>p {
  margin: 0 0 18px;
  color: #4f5b62;
}

.booking-form-wrap {
  width: 100%;
}

.booking-form {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 1.2fr .9fr .7fr auto;
  gap: 12px;
  align-items: end;
}

.booking-field {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.booking-field label {
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #17384a;
}

.booking-field input,
.booking-field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cfd6da;
  border-radius: 8px;
  background: #fff;
  font-size: .95rem;
  box-sizing: border-box;
}

.booking-field--full {
  display: flex;
  align-items: end;
}

.booking-field--full .btn,
.booking-field--full button {
  width: 100%;
  min-width: 180px;
  height: 52px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .booking-form {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-field--full {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-field--full {
    grid-column: auto;
  }

  .booking-field--full .btn,
  .booking-field--full button {
    min-width: 100%;
  }
}
/* =========================
   TREKS MEGA MENU
========================= */

.header,
.nav,
.header__inner,
.container {
  overflow: visible;
}

.nav__item--has-mega {
  position: relative;
}

.nav__item--has-mega::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 14px;
  background: transparent;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0%;
  transform: none;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  background: #fff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(16, 57, 75, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease, top .25s ease;
  z-index: 9999;
}

.nav__item--has-mega:hover .mega-menu,
.nav__item--has-mega:focus-within .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  top: 100%;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 24px;
  padding: 24px;
  align-items: start;
}

.mega-menu__col {
  min-width: 0;
}

.mega-menu__col--links,
.mega-menu__col--info {
  position: relative;
}

.mega-menu__col--links::after,
.mega-menu__col--info::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 1px;
  height: 100%;
  background: rgba(16, 57, 75, 0.08);
}

.mega-menu__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #10394b;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu__list li {
  margin: 0;
  border-bottom: 1px solid rgba(16, 57, 75, 0.08);
}

.mega-menu__list li:last-child {
  border-bottom: 0;
}

.mega-menu__list a {
  display: block;
  padding: 11px 0;
  color: #244653;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  transition: color .22s ease, transform .22s ease;
}

.mega-menu__list a:hover {
  color: #b3be20;
  transform: translateX(4px);
}

.mega-menu__all {
  display: inline-block;
  margin-top: 16px;
  color: #b3be20;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.mega-menu__all:hover {
  color: #8f9917;
}

.mega-menu__text {
  margin: 0;
  color: #4f6570;
  font-size: 15px;
  line-height: 1.8;
}

.mega-menu__image-link {
  display: block;
}

.mega-menu__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.mega-menu__image-caption {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.mega-menu__image-caption strong {
  font-size: 0.98rem;
  color: #10394b;
}

.mega-menu__image-caption span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5a6a73;
}

@media (max-width: 1100px) {
  .mega-menu {
    width: min(980px, calc(100vw - 32px));
  }

  .mega-menu__inner {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu__col--image {
    grid-column: 1 / -1;
  }

  .mega-menu__col--links::after,
  .mega-menu__col--info::after {
    display: none;
  }

  .mega-menu__image {
    height: 220px;
  }
}

@media (max-width: 860px) {
  .mega-menu {
    display: none;
  }
}

/*responsive*/

@media (max-width: 1180px) {
  .mega-menu {
    width: min(980px, calc(100vw - 24px));
  }

  .mega-menu__inner {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu__col--image {
    grid-column: 1 / -1;
  }

  .mega-menu__image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 12px;
    border-radius: 18px;
    padding: 16px;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
  }

  .mega-menu__col--links {
    border-right: 0;
    padding-right: 0;
  }

  .mega-menu__image {
    height: 180px;
  }
}
.header,
.nav,
.header__inner {
  overflow: visible;
}
/*wwwwwww*/
.social-links {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 16px;
  transition: all .25s ease;
}
.social-links a:hover {
  background: #b3be20;
  color: #10394b;
  transform: translateY(-2px);
}
/******************************/
.nav__item--has-mega {
  position: relative;
}

.nav__item--has-mega::after {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  top: 100%;
  height: 20px;
  background: transparent;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: auto;
  transform: none;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  background: #fff;
  border: 1px solid rgba(16, 57, 75, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(16, 57, 75, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease, top .25s ease;
  z-index: 9999;
}
/* Los últimos items del menú se abren hacia la izquierda */
.nav__list > li.nav__item--has-mega:nth-last-child(-n+3) .mega-menu {
  left: auto;
  right: 0;
}
.tour-hero {
  padding: 60px 0;
}

.tour-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tour-hero__content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.tour-subtitle {
  color: #666;
  margin-bottom: 20px;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tour-meta span {
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.tour-price {
  font-size: 22px;
  margin-bottom: 20px;
}

.tour-actions {
  display: flex;
  gap: 12px;
}

.tour-hero__image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
/* =========================
   SINGLE TOUR PAGE
========================= */

.tour-page {
  background: var(--bg);
  color: var(--text);
}

.tour-empty {
  padding: 90px 0;
  text-align: center;
}

.tour-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
}

.tour-hero__bg {
  position: absolute;
  inset: 0;
}

.tour-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(162, 169, 27, 0.55), rgba(162, 169, 27, 0.25)),
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.55) 100%);
}
.tour-hero__container {
  position: relative;
  z-index: 2;
  padding-top: 26px;
  padding-bottom: 76px;
}

.tour-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
}

.tour-breadcrumb a {
  color: rgba(255,255,255,0.92);
}

.tour-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
  min-height: 500px;
}

.tour-hero__content {
  max-width: 760px;
}

.tour-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  margin-bottom: 1rem;
}

.tour-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.tour-hero__subtitle {
  margin: 0 0 22px;
  max-width: 60ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
}

.tour-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tour-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 700;
}

.tour-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tour-hero__card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.tour-hero__price {
  margin-bottom: 18px;
}

.tour-hero__price small {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.84);
  margin-bottom: 4px;
}

.tour-hero__price strong {
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}

.tour-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tour-hero__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tour-hero__facts li span {
  color: rgba(255,255,255,0.82);
}

.tour-hero__facts li strong {
  color: #fff;
  text-align: right;
}

.tour-anchorbar {
  position: sticky;
  top: 82px;
  z-index: 35;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,57,75,0.08);
}

.tour-anchorbar__inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: thin;
}

.tour-anchorbar__inner a {
  white-space: nowrap;
  font-weight: 800;
  color: var(--primary);
}

.tour-layout {
  padding: 40px 0 84px;
}

.tour-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.tour-main {
  min-width: 0;
}

.tour-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  scroll-margin-top: 150px;
}

.tour-section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.tour-section__eyebrow {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.tour-section__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.tour-copy {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.tour-copy > *:first-child {
  margin-top: 0;
}

.tour-copy > *:last-child {
  margin-bottom: 0;
}

.tour-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tour-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.tour-highlight__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(185, 191, 4, 0.16);
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

.tour-highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tour-itinerary {
  display: grid;
  gap: 14px;
}

.tour-itinerary__item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.tour-itinerary__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  font-weight: 800;
}

.tour-itinerary__summary::-webkit-details-marker {
  display: none;
}

.tour-itinerary__day {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
}

.tour-itinerary__title {
  color: var(--text);
  font-size: 1rem;
}

.tour-itinerary__content {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.78;
}

.tour-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tour-list-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.tour-list-card h3 {
  margin: 0 0 14px;
  color: #000000;
  font-size: 1.15rem;
}

.tour-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tour-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.tour-list li::before {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 900;
}

.tour-list--included li::before,
.tour-list--tips li::before {
  content: '✓';
  background: rgba(185, 191, 4, 0.18);
  color: var(--primary);
}

.tour-list--excluded li::before {
  content: '–';
  background: rgba(16, 57, 75, 0.08);
  color: var(--primary);
}

.tour-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(135deg, rgb(119 129 68), rgb(162 169 27));
  color: #fff;
}

.tour-pricing__main small {
  display: block;
  font-size: 0.92rem;
  opacity: 0.84;
  margin-bottom: 6px;
}

.tour-pricing__main strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.tour-pricing__main p {
  margin: 0;
  max-width: 60ch;
  color: rgba(255,255,255,0.9);
}

.tour-pricing__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tour-faq {
  display: grid;
  gap: 12px;
}

.tour-faq__item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-2);
  overflow: hidden;
}

.tour-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  font-weight: 800;
  color: var(--text);
}

.tour-faq__item summary::-webkit-details-marker {
  display: none;
}

.tour-faq__answer {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.72;
}

.tour-sidebar {
  position: sticky;
  top: 146px;
  display: grid;
  gap: 18px;
}

.tour-sidebar__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.tour-sidebar__card h3 {
  margin: 0 0 14px;
  color: var(--primary);
}

.tour-sidebar__price {
  margin-bottom: 18px;
}

.tour-sidebar__price small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.tour-sidebar__price strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.tour-sidebar__meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tour-sidebar__meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16,57,75,0.08);
}

.tour-sidebar__meta li span {
  color: var(--muted);
}

.tour-sidebar__meta li strong {
  text-align: right;
  color: var(--text);
}

.tour-sidebar__actions {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.tour-sidebar__trust {
  display: grid;
  gap: 12px;
}

.tour-sidebar__trust div {
  display: grid;
  gap: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.tour-sidebar__trust strong {
  color: #000000;
}

.tour-sidebar__trust span {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .tour-hero__grid,
  .tour-layout__grid {
    grid-template-columns: 1fr;
  }

  .tour-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .tour-anchorbar {
    top: 72px;
  }

  .tour-highlights,
  .tour-includes-grid {
    grid-template-columns: 1fr;
  }

  .tour-itinerary__summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tour-hero {
    min-height: auto;
  }

  .tour-hero__container {
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .tour-section,
  .tour-sidebar__card,
  .tour-hero__card {
    padding: 18px;
    border-radius: 20px;
  }

  .tour-hero__title {
    max-width: none;
  }

  .tour-pricing {
    padding: 18px;
  }
}
/* =============================================================
   ECOS PERU TREK — BLOG CSS
   Prefijo: ep-blog-* / ep-single-* / ep-btn
   Copia este bloque AL FINAL de tu style.css del tema,
   reemplazando TODAS las secciones anteriores del blog.
   No toca ningún CSS del resto del tema.
============================================================= */

/* ─── VARIABLES (heredadas del tema) ─────────────────────── */
/* Ya están definidas en el :root del tema principal.
   Si necesitas sobreescribir alguna solo para el blog,
   añádela aquí dentro de .ep-blog-* */

/* ─── HELPER: imagen con aspect-ratio fijo ────────────────── */
.ep-img-wrap {
    overflow: hidden;
    display: block;
}

/* ─────────────────────────────────────────────────────────────
   HERO DEL BLOG (blog-page.php)
───────────────────────────────────────────────────────────── */
.ep-blog-hero {
    background: linear-gradient(135deg, #778044 0%, #a2a91b 100%);
    color: #fff;
    padding: 80px 0 56px;
}

.ep-blog-hero__inner {
    max-width: 860px;
}

.ep-blog-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.ep-blog-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #fff;
}

.ep-blog-hero p {
    margin: 0;
    font-size: 1.07rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
}

/* ─────────────────────────────────────────────────────────────
   FEATURED (blog-page.php)
───────────────────────────────────────────────────────────── */
.ep-blog-featured {
    padding: 52px 0 24px;
    background: #ffffff;
}

.ep-blog-featured__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(16, 57, 75, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 57, 75, 0.08);
}

/* Imagen del featured */
.ep-blog-featured__img {
    overflow: hidden;
    min-height: 360px;
}

.ep-blog-featured__img a {
    display: block;
    height: 100%;
}

.ep-blog-featured__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.ep-blog-featured__img:hover img {
    transform: scale(1.03);
}

/* Texto del featured */
.ep-blog-featured__content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.ep-blog-featured__content h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.ep-blog-featured__content h2 a {
    color: #10394b;
    text-decoration: none;
    transition: color 200ms ease;
}

.ep-blog-featured__content h2 a:hover {
    color: #0d6b77;
}

.ep-blog-featured__content p {
    margin: 0;
    color: #4c6672;
    line-height: 1.78;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   ETIQUETA DE CATEGORÍA (usada en featured, grid y single)
───────────────────────────────────────────────────────────── */
.ep-blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #c7d100;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content;
}

/* ─────────────────────────────────────────────────────────────
   GRID DE ARTÍCULOS (blog-page.php y artículos relacionados)
───────────────────────────────────────────────────────────── */
.ep-blog-listing {
    padding: 40px 0 72px;
    background: #ffffff;
}

.ep-blog-listing__head {
    margin-bottom: 28px;
}

.ep-blog-listing__head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: #10394b;
    letter-spacing: -0.02em;
}

.ep-blog-listing__head p {
    margin: 0;
    color: #5a7480;
    line-height: 1.75;
}

/* El grid de 3 columnas */
.ep-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ─────────────────────────────────────────────────────────────
   CARD INDIVIDUAL
───────────────────────────────────────────────────────────── */
.ep-blog-card {
    background: #fff;
    border: 1px solid rgba(16, 57, 75, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(16, 57, 75, 0.06);
    transition: transform 250ms ease, box-shadow 250ms ease;
    display: flex;
    flex-direction: column;
}

.ep-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(16, 57, 75, 0.12);
}

/* Imagen de la card */
.ep-blog-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.ep-blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms ease;
}

.ep-blog-card:hover .ep-blog-card__img-wrap img {
    transform: scale(1.04);
}

/* Cuerpo de la card */
.ep-blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ep-blog-card__body h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.3;
}

.ep-blog-card__body h3 a {
    color: #10394b;
    text-decoration: none;
    transition: color 200ms ease;
}

.ep-blog-card__body h3 a:hover {
    color: #0d6b77;
}

.ep-blog-card__body p {
    margin: 0;
    color: #617b86;
    line-height: 1.72;
    font-size: 0.96rem;
    flex: 1;
}

.ep-blog-card__link {
    color: #0d6b77;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    margin-top: auto;
    transition: color 200ms ease;
}

.ep-blog-card__link:hover {
    color: #10394b;
}

/* ─────────────────────────────────────────────────────────────
   BLOQUE SEO (blog-page.php)
───────────────────────────────────────────────────────────── */
.ep-blog-seo {
    padding: 56px 0;
    background: #fff;
    border-top: 1px solid rgba(16, 57, 75, 0.06);
}

.ep-blog-seo h2 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    color: #10394b;
    letter-spacing: -0.02em;
}

.ep-blog-seo p {
    margin: 0;
    max-width: 820px;
    color: #5a7480;
    line-height: 1.85;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — HERO DEL ARTÍCULO
───────────────────────────────────────────────────────────── */
.ep-single-hero {
    padding: 52px 0 32px;
    background: #f7fbfc;
    border-bottom: 1px solid rgba(16, 57, 75, 0.06);
}

/* Breadcrumb */
.ep-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: #617b86;
}

.ep-single-breadcrumb a {
    color: #0d6b77;
    text-decoration: none;
}

.ep-single-breadcrumb a:hover {
    text-decoration: underline;
}

.ep-single-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #10394b;
    max-width: 900px;
}

.ep-single-intro {
    margin: 0;
    font-size: 1.08rem;
    color: #5a7480;
    line-height: 1.8;
    max-width: 780px;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — IMAGEN DE PORTADA
───────────────────────────────────────────────────────────── */
.ep-single-cover {
    padding: 0 0 48px;
    background: #f7fbfc;
}

.ep-single-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    box-shadow: 0 18px 45px rgba(16, 57, 75, 0.1);
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — CONTENIDO DEL ARTÍCULO
───────────────────────────────────────────────────────────── */
.ep-single-body {
    padding: 0 0 64px;
    background: #fff;
}

.ep-single-content {
    max-width: 800px;
}

.ep-single-content h2 {
    margin: 2rem 0 0.75rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #10394b;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ep-single-content h3 {
    margin: 1.5rem 0 0.6rem;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: #10394b;
    line-height: 1.2;
}

.ep-single-content p {
    margin: 0 0 1.2rem;
    color: #3d545e;
    line-height: 1.85;
    font-size: 1rem;
}

.ep-single-content ul,
.ep-single-content ol {
    margin: 0 0 1.4rem 1.4rem;
    padding: 0;
    color: #3d545e;
    line-height: 1.85;
}

.ep-single-content li {
    margin-bottom: 0.5rem;
}

.ep-single-content strong {
    color: #10394b;
    font-weight: 700;
}

.ep-single-content a {
    color: #0d6b77;
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — CTA
───────────────────────────────────────────────────────────── */
.ep-single-cta {
    padding: 56px 0;
    background: #f7fbfc;
}

.ep-single-cta__box {
    background: linear-gradient(135deg, #10394b, #1d5972);
    border-radius: 24px;
    padding: 48px 44px;
    color: #fff;
    max-width: 860px;
}

.ep-single-cta__box h2 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: #fff;
    letter-spacing: -0.02em;
}

.ep-single-cta__box p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    max-width: 620px;
}

.ep-single-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — ARTÍCULOS RELACIONADOS
───────────────────────────────────────────────────────────── */
.ep-single-related {
    padding: 56px 0 80px;
    background: #f7fbfc;
    border-top: 1px solid rgba(16, 57, 75, 0.06);
}

.ep-single-related h2 {
    margin: 0 0 28px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #10394b;
    letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE — 404 DEL BLOG
───────────────────────────────────────────────────────────── */
.ep-blog-404 {
    padding: 100px 0;
    text-align: center;
}

.ep-blog-404 h1 {
    margin: 0 0 16px;
    font-size: 2.2rem;
    color: #10394b;
}

.ep-blog-404 p {
    margin: 0 0 28px;
    color: #5a7480;
}

/* ─────────────────────────────────────────────────────────────
   BOTONES (reutilizables en blog y single)
───────────────────────────────────────────────────────────── */
.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
    white-space: nowrap;
}

.ep-btn:hover {
    transform: translateY(-2px);
}

.ep-btn--primary {
    background: #b9bf04;
    color: #182011;
}

.ep-btn--primary:hover {
    background: #cdd505;
}

.ep-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.ep-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
    .ep-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet pequeña: featured en vertical */
@media (max-width: 860px) {
    .ep-blog-featured__grid {
        grid-template-columns: 1fr;
    }

    .ep-blog-featured__img {
        min-height: 260px;
        max-height: 320px;
    }

    .ep-blog-featured__content {
        padding: 28px 24px;
    }
}

/* Móvil: 1 columna */
@media (max-width: 640px) {
    .ep-blog-hero {
        padding: 60px 0 40px;
    }

    .ep-blog-grid {
        grid-template-columns: 1fr;
    }

    .ep-single-cta__box {
        padding: 32px 24px;
    }

    .ep-single-cover img {
        border-radius: 16px;
        max-height: 280px;
    }

    .ep-single-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ep-btn {
        justify-content: center;
    }
}
/* =============================================================
   FIX: Featured Treks + Day Treks — Ecos Peru Trek
   
   INSTRUCCIONES:
   Pega este bloque AL FINAL de tu style.css, después de todo
   el CSS existente. Los !important aseguran que sobrescriban
   cualquier regla conflictiva anterior.
============================================================= */

/* ─────────────────────────────────────────────────────────────
   SECCIONES CONTENEDORAS
   Las dos secciones: "Featured treks in Cusco" y "Day treks"
───────────────────────────────────────────────────────────── */
#treks,
#day-treks,
[id="treks"],
[id="day-treks"] {
    padding: 72px 0;
    background: var(--bg, #f7f8f5);
}

/* ─────────────────────────────────────────────────────────────
   CABECERA DE SECCIÓN (eyebrow + h2 + p)
───────────────────────────────────────────────────────────── */
#treks .section-head,
#day-treks .section-head {
    margin-bottom: 40px;
    max-width: 780px;
}

/* ─────────────────────────────────────────────────────────────
   EL GRID DE CARDS — FORZADO A 3 COLUMNAS HORIZONTALES
   
   Estas reglas apuntan a .cards que esté dentro de #treks
   o #day-treks. Ajusta el selector si tu HTML usa otro wrapper.
───────────────────────────────────────────────────────────── */
#treks .cards,
#day-treks .cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

/* Si el contenedor de cards se llama distinto, añade aquí: */
/* #treks > .container > div { ... } */

/* ─────────────────────────────────────────────────────────────
   CARD INDIVIDUAL
───────────────────────────────────────────────────────────── */
#treks .card,
#day-treks .card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid rgba(16, 57, 75, 0.08) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 36px rgba(16, 57, 75, 0.07) !important;
    transition: transform 250ms ease, box-shadow 250ms ease !important;
    /* Resetear cualquier width/max-width que rompa el grid */
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

#treks .card:hover,
#day-treks .card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 22px 48px rgba(16, 57, 75, 0.13) !important;
}

/* ─────────────────────────────────────────────────────────────
   IMAGEN DE LA CARD
───────────────────────────────────────────────────────────── */
#treks .card .card__media,
#day-treks .card .card__media,
#treks .card__media,
#day-treks .card__media {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 11 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

#treks .card__media img,
#day-treks .card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 500ms ease !important;
}

#treks .card:hover .card__media img,
#day-treks .card:hover .card__media img {
    transform: scale(1.04) !important;
}

/* ─────────────────────────────────────────────────────────────
   BADGE (etiqueta "Top Trek", "Cultural Trek", etc.)
───────────────────────────────────────────────────────────── */
#treks .card__badge,
#day-treks .card__badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
    background: rgba(162, 169, 27) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    z-index: 2 !important;
}

/* ─────────────────────────────────────────────────────────────
   CUERPO DE LA CARD
───────────────────────────────────────────────────────────── */
#treks .card .card__body,
#day-treks .card .card__body {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex: 1 !important;
}

#treks .card__body h3,
#day-treks .card__body h3 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    color: var(--primary, #10394b) !important;
}

/* ─────────────────────────────────────────────────────────────
   META TAGS (duración, dificultad, etc.)
───────────────────────────────────────────────────────────── */
#treks .card__meta,
#day-treks .card__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

#treks .card__meta span,
#day-treks .card__meta span {
    background: var(--surface-2, #eef3ef) !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--muted, #556b74) !important;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER DE LA CARD (Best for + botón)
───────────────────────────────────────────────────────────── */
#treks .card__footer,
#day-treks .card__footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 4px !important;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
    #treks .cards,
    #day-treks .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Tablet pequeña: 2 columnas con gap menor */
@media (max-width: 768px) {
    #treks .cards,
    #day-treks .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* Móvil: 1 columna */
@media (max-width: 520px) {
    #treks .cards,
    #day-treks .cards {
        grid-template-columns: 1fr !important;
    }
}
/******************* CARRUSEL AUTOMATICO ********************/
.trust-section {
    background: #f7f7f7;
    padding: 60px 0 40px;
    overflow: hidden;
}

.trust-container {
    width: min(1200px, 92%);
    margin: 0 auto;
    text-align: center;
}

.trust-subtitle {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0c3b52;
}

.trust-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #6f7600;
}

.trust-text {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.6;
    color: #4d5b63;
}

.trust-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: trustScroll 28s linear infinite;
    will-change: transform;
}

.trust-track img {
    display: block;
    width: auto !important;
    height: 78px !important;
    max-width: 180px !important;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: 0.9;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.trust-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.04);
}

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

@keyframes trustScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 28px));
    }
}

/* difuminado lateral */
.trust-slider::before,
.trust-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-slider::before {
    left: 0;
    background: linear-gradient(to right, #f7f7f7 0%, rgba(247,247,247,0) 100%);
}

.trust-slider::after {
    right: 0;
    background: linear-gradient(to left, #f7f7f7 0%, rgba(247,247,247,0) 100%);
}

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

    .trust-title {
        font-size: 19px;
    }

    .trust-text {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .trust-track {
        gap: 34px;
        animation-duration: 22s;
    }

    .trust-track img {
        height: 52px !important;
        max-width: 130px !important;
    }

    .trust-slider::before,
    .trust-slider::after {
        width: 40px;
    }

    @keyframes trustScroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-50% - 17px));
        }
    }
}

/****************CARRUSEL COMENTARIOS*************/
.reviews-section {
    background: linear-gradient(135deg, #778144, #a2a91b);
    padding: 80px 20px;
    color: #fff;
    overflow: hidden;
}

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

.reviews-subtitle {
    color: #b6e3ec;
    font-weight: 600;
    margin-bottom: 10px;
}

.reviews-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

/* CARRUSEL */
.reviews-slider {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollReviews 30s linear infinite;
}

/* TARJETAS */
.review-card {
    min-width: 320px;
    max-width: 320px;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: left;
}

/* TEXTO */
.review-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-author {
    font-size: 14px;
    font-weight: bold;
    color: #dff7ff;
}

/* ANIMACIÓN */
@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* PAUSA AL HOVER */
.reviews-track:hover {
    animation-play-state: paused;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .review-card {
        min-width: 260px;
    }

    .reviews-title {
        font-size: 24px;
    }
}
/**************** BOTÓN ****************/
.theme-toggle {
    background: #778240;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: 0.3s;
}

.theme-toggle:hover {
    background: #145a6b;
}

/**************** DARK MODE GLOBAL ****************/
body.dark-mode {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

/* TEXTOS */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode a {
    color: #ffffff !important;
}

/* CONTENEDORES (CLAVE 🔥) */
body.dark-mode div,
body.dark-mode section,
body.dark-mode main,
body.dark-mode article {
    background-color: transparent !important;
}

/* BLOQUES IMPORTANTES */
body.dark-mode .container,
body.dark-mode .wrapper,
body.dark-mode .section {
    background-color: transparent !important;
}

/* CARDS */
body.dark-mode .card,
body.dark-mode .review-card,
body.dark-mode .tour-card {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* HEADER */
body.dark-mode header {
    background: #0d0d0d !important;
}

/* FOOTER */
body.dark-mode footer {
    background: #000 !important;
}

/* BOTONES */
body.dark-mode button,
body.dark-mode .btn {
    background: #145a6b !important;
    color: #fff !important;
}

/* INPUTS */
body.dark-mode input,
body.dark-mode textarea {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

/* TRANSICIÓN SUAVE */
body {
    transition: background 0.3s ease, color 0.3s ease;
}
/***************************PROYECTO_SOCIAL****************/
.social-hero {
    background: linear-gradient(135deg, #0b3c49, #0f5668);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.social-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.social-about,
.social-what,
.social-impact,
.social-cta {
    padding: 60px 20px;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.social-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
}

.social-impact {
    background: #0b3c49;
    color: #fff;
}

.social-cta {
    background: #778144;
    color: #fff;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    background: #00c897;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}
/***********************************************/
/* HERO */
.social-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://ecosperutrek.com/wp-content/uploads/2026/04/WhatsApp-Image-2026-03-02-at-11.24.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

.social-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

/* SECCIONES */
.social-story,
.social-what,
.social-image,
.social-impact,
.social-cta {
    padding: 60px 20px;
    text-align: center;
}

/* GRID */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* CARDS */
.social-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 12px;
}

/* IMAGEN */
.social-image img {
    width: 100%;
    border-radius: 12px;
}

/* IMPACTO */
.social-impact {
    background: #a2a91b;
    color: #fff;
}

.impact-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

/* CTA */
.social-cta {
    background: #778144;
    color: #fff;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    background: #a2a91b;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        flex-direction: column;
        gap: 20px;
    }
}
/* eliminar barra google */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* evitar que baje la web */
body {
    top: 0px !important;
    position: static !important;
}

/* ocultar otros elementos */
.goog-tooltip,
.goog-text-highlight {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}
/* CONTENEDOR */
.translate-wrapper {
    display: inline-block;
    margin-left: 10px;
}

/* LIMPIA TODO LO QUE GOOGLE INYECTA */
.goog-te-gadget {
    font-size: 0 !important;
}

/* BOTÓN ESTILO TU WEB */
.goog-te-combo {
    background: #778240;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

/* HOVER */
.goog-te-combo:hover {
    background: #145a6b;
}

/* OCULTAR LOGO Y TEXTO */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* 🔥 OCULTAR BARRA SUPERIOR */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* 🔥 EVITAR QUE EMPUJE EL HEADER */
body {
    top: 0px !important;
}

/* EXTRA LIMPIEZA */
.skiptranslate iframe {
    display: none !important;
}

/****************************************ABOUT-US**************************/
.about-pro {
    font-family: inherit;
}

.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://ecosperutrek.com/wp-content/uploads/2026/04/juan-carlos-4vvcls92EAY-unsplash.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
}

.about-block {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.about-values {
    display: flex;
    gap: 30px;
    padding: 40px 20px;
}

.about-values .value {
    flex: 1;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.about-grid .card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 12px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin-bottom: 10px;
}

.about-cta {
    background: #778144;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.about-cta .btn {
    margin-top: 20px;
}




