/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: #1a1a1a; background: #FAF5EE; }

/* ─── VARIABLES ─── */
:root {
  --cream: #FAF5EE;
  --dark:  #4A3828;
  --orange: #F5A000;
  --text:  #1a1a1a;
  --text-muted: #555;
  --text-light: #F0E8DC;
  --text-light-muted: #c8bba8;
}

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

/* ─── SECCIONES ─── */
.section-cream { background: var(--cream); }
.section-dark  { background: var(--dark);  color: var(--text-light); }

/* ─── BOTONES ─── */
.btn {
  display: inline-block;
  padding: .7rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  text-align: center;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  border: none;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-full   { width: 100%; display: block; }

/* ─── TÍTULOS DE SECCIÓN ─── */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.section-title.light { color: var(--text-light); }

/* ─── CAJAS DE TARIFAS ─── */
.tarifas-box {
  background: rgba(0,0,0,.06);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.tarifas-box h3  { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; color: var(--text); }
.tarifas-box p   { font-size: .9rem; margin-bottom: .25rem; color: var(--text-muted); }
.tarifas-box.light { background: rgba(255,255,255,.12); }
.tarifas-box.light h3,
.tarifas-box.light p { color: var(--text-light); }

/* ─── PIES DE FOTO ─── */
.img-caption       { font-size: .78rem; font-style: italic; color: #888; text-align: center; margin-top: .5rem; }
.img-caption.light { color: #aaa; }

/* ════════════════════════════════
   HEADER / NAV
   ════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: var(--text);
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
  transition: color .2s;
}
.nav-link:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: .4rem 1.1rem;
  border-radius: 50px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.hero {
  display: flex;
  min-height: 480px;
  padding: 4rem 0;
  background: var(--cream);
}
.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.hero-logo-wrap { text-align: center; }
.logo-img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 3rem;
}
.hero-right h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #3a2e20;
}
.hero-right h1 strong { font-weight: 800; }
.hero-sub { font-size: 1rem; color: #777; margin-bottom: 2rem; }

/* ════════════════════════════════
   SENDERISMO Y TREKKING
   ════════════════════════════════ */
.senderismo { padding: 5rem 0; }
.senderismo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.senderismo-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.senderismo-text p { line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.senderismo-text .btn { margin-top: .5rem; }
.senderismo-img img { width: 100%; border-radius: 10px; display: block; object-fit: cover; }

/* ════════════════════════════════
   SERVICIOS - CARDS
   ════════════════════════════════ */
.servicios { padding: 5rem 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.card-img-wrap {
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: #7a6a52;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.card-overlay {
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  width: 100%;
  padding: 1rem 1.2rem;
  color: #fff;
}
.card-overlay h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.card-overlay p { font-size: .88rem; opacity: .9; margin-top: .2rem; }
.card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.card-body ul { padding-left: 1.2rem; }
.card-body li { font-size: .88rem; line-height: 1.6; color: #444; margin-bottom: .3rem; }
.card-quote { font-style: italic; font-size: .88rem; color: #555; text-align: center; padding: .3rem 0; }
.card-body .btn { margin-top: auto; }

/* ════════════════════════════════
   RUTA GRUPO - DETALLE
   ════════════════════════════════ */
.detalle { padding: 5rem 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.detalle-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.detalle-text p { line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.detalle-img img { width: 100%; border-radius: 10px; display: block; }

/* ════════════════════════════════
   CONDICIONES
   ════════════════════════════════ */
.condiciones { padding: 4.5rem 0; }
.condiciones .two-col { gap: 4rem; }
.condiciones h3 {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .8rem;
  color: var(--text-light);
}
.condiciones p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-light-muted);
  margin-bottom: .8rem;
}
.condiciones .iban strong { color: var(--text-light); }
.mt { margin-top: 2rem; }

/* ════════════════════════════════
   GUIAJE A LA CARTA
   ════════════════════════════════ */
.guiaje { padding: 5rem 0; }
.guiaje-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.guiaje-text p { line-height: 1.75; color: var(--text-light-muted); margin-bottom: 1rem; }
.guiaje-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.guiaje-img-item img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ════════════════════════════════
   TOUR PRIVADO MONTSERRAT
   ════════════════════════════════ */
.tour { padding: 5rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.tour-title { text-align: left; }
.tour-title span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0;
}
.tour-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.tour-text p { line-height: 1.75; color: var(--text-light-muted); margin-bottom: 1rem; }
.tour-text ul {
  padding-left: 1.2rem;
  color: var(--text-light-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.tour-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tour-img-item img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ════════════════════════════════
   CURSOS
   ════════════════════════════════ */
.cursos { padding: 5rem 0; }
.cursos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.curso-item { margin-bottom: 2rem; }
.cursos-grid h3 {
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .7rem;
  color: var(--text);
}
.cursos-grid p { line-height: 1.75; color: var(--text-muted); font-size: .92rem; margin-bottom: .8rem; }

/* ════════════════════════════════
   ENTRENAMIENTO
   ════════════════════════════════ */
.entrenamiento { padding: 5rem 0; border-top: 2px solid #e5ddd0; }
.entrenamiento-inner { max-width: 680px; }
.entrenamiento h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  margin-bottom: 2rem;
}
.entrenamiento p { line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }

/* ════════════════════════════════
   SOBRE MI
   ════════════════════════════════ */
.sobre-mi { padding: 5rem 0; }
.sobre-mi-titulo { text-align: left; margin-bottom: 2rem; }
.sobre-mi-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sobre-mi-text p { line-height: 1.85; color: var(--text-light-muted); margin-bottom: 1.1rem; font-size: .93rem; }
.sobre-mi-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

/* ════════════════════════════════
   CONTACTO
   ════════════════════════════════ */
.contacto { padding: 5rem 0; }
.contacto-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 3rem;
  color: var(--text);
}
.contacto-info {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.contacto-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.contacto-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  font-size: .92rem;
  color: #444;
  text-decoration: none;
  line-height: 1.5;
  transition: color .2s;
}
.contacto-item:hover { color: var(--orange); }
.contacto-item.no-link { cursor: default; }
.contacto-item.no-link:hover { color: #444; }
.contacto-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.footer {
  background: #2a1f16;
  color: #888;
  text-align: center;
  padding: 1.5rem;
  font-size: .82rem;
}

/* ════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════ */
@media (max-width: 960px) {
  /* Hero: mantiene layout izquierda/derecha en tablet */
  .hero { min-height: auto; }
  .hero-left { padding: 2rem 1rem; }
  .hero-right { padding: 2rem 1.5rem; }
  .hero-right h1 { font-size: 2rem; }
  .logo-img { width: 180px; }

  .senderismo-inner,
  .two-col,
  .guiaje-inner,
  .tour-inner,
  .sobre-mi-inner { grid-template-columns: 1fr; }

  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cursos-grid { grid-template-columns: 1fr; gap: 0; }
  .cursos-left { margin-bottom: 2rem; }
  .guiaje-imgs, .tour-imgs { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════
   RESPONSIVE — MÓVIL
   ════════════════════════════════ */
@media (max-width: 640px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    gap: .5rem;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Hero: logo izquierda, texto derecha en móvil */
  .hero { min-height: auto; }
  .hero-left { padding: 1.2rem 0.5rem; }
  .hero-right { padding: 1.2rem 1rem; }
  .hero-right h1 { font-size: 1.25rem; margin-bottom: 0.5rem; }
  .hero-sub { font-size: 0.78rem; margin-bottom: 1rem; }
  .logo-img { width: 120px; }

  .cards-grid { grid-template-columns: 1fr; }
  .guiaje-imgs, .tour-imgs { grid-template-columns: 1fr; }

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

  .detalle-text h2 { font-size: 1.8rem; }
  .tour-title { font-size: 2rem; }
  .sobre-mi-titulo { font-size: 2rem; }
}
