/* ============================================================
   styles.css — Sebastián Satke
   Estética clara — Georgia + sistema Mate con Amigos
   Tono fijo en blanco (rgba(255,255,255,.80)).
   Sin control de brillo ni de tono.
   ============================================================ */

/* Barlow (universal) + acentos del hero (Caveat, Courier Prime) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,700&family=Caveat:wght@400;500;600;700&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* Texto sobre cards claras */
  --ink:        rgba(15, 10, 5, .98);
  --ink-strong: rgba(15, 10, 5, 1);
  --ink-dim:    rgba(15, 10, 5, .60);
  /* Texto sobre el fondo oscuro (hero, títulos de sección) */
  --light:      rgba(245, 245, 240, .95);
  --light-dim:  rgba(245, 245, 240, .70);
  /* Superficies y bordes (sistema Mate con Amigos) */
  --borde:      rgba(180, 160, 140, .35);
  --card-bg:    rgba(255, 255, 255, .85);
  --btn-bg:     rgba(255, 255, 255, .50);
}

body {
  font-family: 'Barlow', Georgia, sans-serif;
  background: #0a0a0a;
  color: var(--light);
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Fondo del index: imagen fija con overlay ── */
body.index-page {
  background-image: url('Fondo-index.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
body.index-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 0;
  pointer-events: none;
}
body.index-page .page-header,
body.index-page section,
body.index-page .share-wrap,
body.index-page .footer-contacto {
  position: relative;
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ============================================================
   MENÚ — se conserva idéntico (drawer oscuro desde la derecha).
   No modificar: mismo comportamiento en PC y móvil.
   ============================================================ */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 1050;
}
.nav-overlay.open { display: block; }

.nav-top {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 1100;
  transition: opacity .4s ease;
}

.hamburger {
  width: 54px; height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(232, 232, 234,.12);
  background: rgb(25, 25, 25);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.hamburger:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 0 50px rgba(255, 255, 255, .55), 0 0 16px rgba(255, 255, 255, .35);
}
.hamburger img { width: 44px; height: 44px; object-fit: contain; display: block; }

.nav-menu {
  position: fixed;
  top: 0; right: -100%; bottom: 0;
  width: min(260px, 80vw);
  background: rgba(8,6,4,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(232, 232, 234, .14);
  padding: 16px 0 24px;
  display: flex !important;
  flex-direction: column;
  transition: right .3s ease;
  z-index: 1100;
  overflow-y: auto;
}
.nav-menu.open { right: 0; }

.nav-menu-titulo {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(232, 232, 234, .14);
  margin-bottom: 8px;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(232, 232, 234, .9);
  font-size: 19px; font-weight: 600;
  padding: 12px 24px;
  display: block;
  transition: background .15s;
  letter-spacing: .01em;
}
.nav-menu a:hover { background: rgba(232, 232, 234,.06); color: rgb(232, 232, 234); }

/* ============================================================
   HERO
   ============================================================ */
.page-header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('Fondo-index.jpg') center/cover no-repeat fixed;
  position: relative;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--light);
  text-shadow:
    0 0 8px rgba(0,0,0,1),
    0 2px 12px rgba(0,0,0,1),
    0 4px 24px rgba(0,0,0,1),
    0 6px 60px rgba(0,0,0,.95);
  margin-bottom: 44px;
}

/* Acento monoespaciado del hero (se conserva como identidad) */
.hero-meta {
  font-family: 'Courier Prime', 'Courier New', Courier, monospace;
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--light);
  margin: 36px auto 0;
  text-shadow:
    0 0 8px rgba(0,0,0,1),
    0 2px 12px rgba(0,0,0,1),
    0 4px 24px rgba(0,0,0,1),
    0 6px 60px rgba(0,0,0,.95);
}

/* Frase "tiza" — manuscrita, se conserva como identidad */
.frase-tiza {
  position: absolute;
  bottom: 100px;
  left: calc(55% + 76px);
  font-family: 'Caveat', cursive;
  font-size: 28px;
  font-weight: 500;
  color: rgba(245, 245, 240, .9);
  max-width: 360px;
  text-align: left;
  line-height: 1.3;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  letter-spacing: .03em;
  text-shadow:
    0 0 8px rgba(0,0,0,1),
    0 2px 12px rgba(0,0,0,1),
    0 4px 24px rgba(0,0,0,1),
    0 6px 60px rgba(0,0,0,.95);
  pointer-events: none;
}
@media (max-width: 700px) {
  .frase-tiza {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 26px auto 0;
    max-width: 300px;
    font-size: 22px;
    text-align: center;
    transform: rotate(-3deg);
    transform-origin: center;
  }
}

/* ── Botones del hero (claros) ── */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: rgba(232, 232, 234, .85);
  border: 1px solid rgba(232, 232, 234, .3);
  padding: 14px 34px;
  border-radius: 999px;
  background: rgba(8, 6, 4, .4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 18px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.nav-links a:hover {
  background: rgba(232, 232, 234, .12);
  border-color: rgba(232, 232, 234, .6);
  box-shadow: 0 0 24px rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

/* ============================================================
   SECCIONES
   ============================================================ */
section { position: relative; z-index: 1; margin-bottom: 64px; }

.section-head {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 40px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--light);
  text-shadow: 0 2px 10px rgba(0,0,0,.9), 0 4px 30px rgba(0,0,0,.8);
}

/* ── Grid ── */
.grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid.single { grid-template-columns: 1fr; }
@media(max-width:900px){ .grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .grid { grid-template-columns: 1fr; } }

/* ============================================================
   CARDS GENÉRICAS — sistema Mate con Amigos (claras translúcidas)
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: rgba(180, 160, 140, .55);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  transform: translateY(-3px);
}

.card-img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: 10px; margin-bottom: 20px; display: block;
}

.card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; color: var(--ink-strong); }
.card p {
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.card p:last-child { margin-bottom: 0; }

/* ── Botón genérico (claro) ── */
.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--borde);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--btn-bg);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  align-self: flex-start;
  margin-top: auto;
}
.btn:hover {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(120, 90, 60, .5);
  box-shadow: 0 0 30px rgba(255, 255, 255, .35);
  transform: translateY(-1px);
}

/* ── Quién soy (legacy, por si vuelve a usarse) ── */
.quien-soy-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.quien-soy-card .card-img {
  height: 280px;
  border-radius: 0;
  margin-bottom: 0;
}
.quien-soy-card h3,
.quien-soy-card p,
.quien-soy-card .btn {
  margin-left: 28px;
  margin-right: 28px;
}
.quien-soy-card h3 { margin-top: 24px; }
.quien-soy-card p { margin-bottom: 20px; text-align: justify; }
.quien-soy-card .btn { margin-bottom: 28px; align-self: flex-start; }

/* ── Libros ── */
.libro-fila { display: flex; gap: 22px; align-items: flex-start; }
.libro-img { width: 110px; min-width: 110px; height: 160px; object-fit: cover; border-radius: 6px; border: 1px solid var(--borde); }
.libro-contenido { flex: 1; }
.libro-contenido h3 { font-size: 18px; font-weight: 700; color: var(--ink-strong); margin-bottom: 6px; }
.autor { font-size: 13px; color: var(--ink-dim); font-style: italic; margin: 0 0 10px !important; }
.excerpt { font-size: 17px !important; color: var(--ink); line-height: 1.6; margin: 0 0 18px !important; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* ── Card Mate con amigos ── */
.mate-card {
  text-align: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.mate-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 14px;
  letter-spacing: .01em;
}
.mate-card p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: center;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.mate-card .btn {
  display: inline-block;
  align-self: center;
}

/* ── Grid expediciones ── */
.grid-exp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 22px;
  margin-bottom: 40px;
  justify-content: center;
}
@media(max-width:900px){ .grid-exp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width:600px){ .grid-exp { grid-template-columns: 1fr; } }

/* ── Viajes / Experiencias (grid de 4 cards compactas) ── */
.grid-viajes { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 50px; }
@media(max-width:1000px){ .grid-viajes { grid-template-columns: repeat(3,1fr); } }
@media(max-width:760px){ .grid-viajes { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .grid-viajes { grid-template-columns: 1fr; } }

.card-viaje {
  background: var(--card-bg);
  border: 1px solid var(--borde);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card-viaje:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 160, 140, .55);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.card-viaje-foto { width: 100%; height: 160px; object-fit: cover; display: block; }
.card-viaje-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-viaje-titulo {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.card-viaje-ubicacion {
  font-size: 17px;
  color: var(--ink);
  padding-top: 10px;
  letter-spacing: .02em;
}
.btn-leer {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 18px;
  background: var(--btn-bg);
  border: 1px solid var(--borde);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-leer:hover {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(120, 90, 60, .5);
  box-shadow: 0 0 30px rgba(255, 255, 255, .35);
  transform: translateY(-1px);
}

/* ── Card expedición ── */
.card-exp {
  background: var(--card-bg);
  border: 1px solid var(--borde);
  border-radius: 16px; overflow: hidden; cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card-exp:hover { transform: translateY(-4px); border-color: rgba(180, 160, 140, .55); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.card-exp-foto { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-exp-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-exp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.exp-tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(40, 35, 30, .95); border: 1px solid rgba(40, 35, 30, .45); background: rgba(40, 35, 30, .10); padding: 3px 10px; border-radius: 999px; }
.exp-tag.dificil { border-color: rgba(190,60,60,.75); color: rgba(165,30,30,1); background: rgba(190,60,60,.14); }
.exp-tag.muy-dificil { border-color: rgba(170,30,30,.85); color: rgba(150,25,25,1); background: rgba(190,40,40,.16); }
.exp-tag.moderado { border-color: rgba(200,150,40,.75); color: rgba(150,100,15,1); background: rgba(200,150,40,.14); }
.exp-tag.facil { border-color: rgba(60,150,60,.75); color: rgba(30,115,30,1); background: rgba(60,150,60,.14); }
.exp-tag.dias { border-color: rgba(60,150,60,.75); color: rgba(30,115,30,1); background: rgba(60,150,60,.14); }
.card-exp-titulo { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.2; }
.card-exp-guia { font-size: 14px; color: var(--ink); margin-bottom: 10px; letter-spacing: .02em; }
.card-exp-desc { font-size: 17px; color: var(--ink); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.card-exp-ratio { font-size: 14px; color: var(--ink); margin-bottom: 4px; letter-spacing: .02em; }
.card-exp-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(40, 35, 30, .12); }
.card-exp-precio { font-size: 20px; font-weight: 700; color: var(--ink); }
.card-exp-precio span { font-size: 11px; font-weight: 400; color: var(--ink); display: block; }
.precio-nota {
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.45;
}
.precio-nota a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(40, 35, 30, .4);
}
.precio-nota a:hover { color: rgba(15, 10, 5, 1); }
.card-exp-ubicacion { font-size: 14px; color: var(--ink); letter-spacing: .02em; text-align: right; margin-top: auto; margin-bottom: 12px; }
.btn-exp-consultar {
  display: block; text-align: center;
  color: var(--ink);
  border: 1px solid var(--borde);
  padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--btn-bg);
  margin-top: 14px; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.card-exp:hover .btn-exp-consultar {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(120, 90, 60, .5);
  box-shadow: 0 0 30px rgba(255, 255, 255, .35);
}

/* ============================================================
   MODAL EXPEDICIÓN — claro, consistente con el resto
   ============================================================ */
.modal-overlay-exp {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.78);
  z-index: 2000; display: none;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.modal-overlay-exp.open { display: flex; }
.modal-exp {
  background: rgba(252, 250, 246, .98);
  border: 1px solid var(--borde);
  border-radius: 20px; max-width: 780px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  color: var(--ink);
}
.modal-exp-foto { width: 100%; height: 280px; object-fit: cover; border-radius: 20px 20px 0 0; display: block; }
.modal-exp-body { padding: 32px; }
.modal-exp-titulo { font-size: 28px; font-weight: 700; color: var(--ink-strong); margin-bottom: 4px; }
.modal-exp-guia { font-size: 13px; color: var(--ink-dim); margin-bottom: 20px; }
.modal-exp-desc { font-size: 16px; color: var(--ink); line-height: 1.6; margin-bottom: 24px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.modal-exp-info {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  margin-bottom: 24px; padding: 16px;
  background: rgba(40, 35, 30, .05); border-radius: 12px;
  border: 1px solid rgba(40, 35, 30, .12);
}
.modal-exp-info-item { text-align: center; }
.modal-exp-info-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); display: block; margin-bottom: 4px; }
.modal-exp-info-valor { font-size: 16px; font-weight: 600; color: var(--ink); }
.modal-exp-video { width: 100%; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 24px; overflow: hidden; border: 1px solid rgba(40, 35, 30, .12); }
.modal-exp-video iframe { width: 100%; height: 100%; border: none; }
.modal-exp-mapa { width: 100%; height: 200px; border-radius: 12px; margin-bottom: 24px; overflow: hidden; border: 1px solid rgba(40, 35, 30, .12); }
.modal-exp-mapa iframe { width: 100%; height: 100%; border: none; }
.modal-exp-precio-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(40, 35, 30, .12); gap: 16px; flex-wrap: wrap; }
.modal-exp-precio { font-size: 28px; font-weight: 700; color: var(--ink-strong); }
.modal-exp-precio span { font-size: 13px; font-weight: 400; color: var(--ink-dim); display: block; }
.modal-exp-cerrar {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(40, 35, 30, .25);
  color: rgba(15,10,5,.9); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.modal-exp-cerrar:hover { background: rgba(255,255,255,1); }

/* ============================================================
   COMPARTIR
   ============================================================ */
.share-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 40px; position: relative; z-index: 1; }
.share-label { font-size: 13px; color: var(--light-dim); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  text-decoration: none; cursor: pointer;
  color: rgba(232, 232, 234, .85);
  border: 1px solid rgba(232, 232, 234, .3);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: rgba(8, 6, 4, .4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.share-btn:hover {
  background: rgba(232, 232, 234, .12);
  border-color: rgba(232, 232, 234, .6);
  box-shadow: 0 0 24px rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER / CONTACTO — card clara
   ============================================================ */
.footer-contacto {
  position: relative; z-index: 1;
  background: rgba(8, 6, 4, .4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(232, 232, 234, .14);
  margin-top: 60px;
  color: rgba(232, 232, 234, .9);
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 60px 20px 40px; text-align: center; }
.footer-titulo { font-size: 2rem; font-weight: 700; color: rgba(232, 232, 234, .95); margin-bottom: 8px; }
.footer-subtitulo { font-size: 17px; color: rgba(232, 232, 234, .9); margin-bottom: 32px; }
.footer-mensaje {
  font-size: 16px;
  font-style: italic;
  color: rgba(232, 232, 234, .7);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 24px;
}
.footer-copy { font-size: 16px; color: rgba(232, 232, 234, .6); margin-top: 32px; }
.footer-copy a { color: rgba(232, 232, 234, .8); text-decoration: underline; text-decoration-color: rgba(232, 232, 234, .4); }
.footer-copy a:hover { color: rgba(232, 232, 234, 1); }

/* ── Formulario ── */
.contacto-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 0 auto; }
.contacto-form input,
.contacto-form textarea {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  color: rgba(15, 10, 5, .9); outline: none;
  transition: border-color .2s;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: rgba(15, 10, 5, .45); }
.contacto-form input:focus,
.contacto-form textarea:focus { border-color: rgba(255, 255, 255, .8); }
.contacto-form textarea { min-height: 120px; resize: vertical; }
.contacto-submit {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 12px 28px;
  font-family: inherit;
  font-size: 16px; font-weight: 700;
  color: rgba(15, 10, 5, .9);
  cursor: pointer; transition: background .2s, box-shadow .2s;
}
.contacto-submit:hover { background: rgb(255, 255, 255); box-shadow: 0 0 24px rgba(255, 255, 255, .3); }
.contacto-ok { display: none; font-size: 15px; color: rgba(40, 120, 40, .9); text-align: center; }

/* ============================================================
   BOTÓN VOLVER ARRIBA (claro)
   ============================================================ */
.floating-top-wrap {
  position: fixed; bottom: 24px; right: 20px; z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.floating-top-wrap.visible { opacity: 1; pointer-events: auto; }
.floating-top {
  width: 50px; height: 50px; border-radius: 999px;
  border: 1px solid rgba(232, 232, 234, .3);
  background: rgba(8, 6, 4, .4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: rgba(232, 232, 234, .85);
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.floating-top:hover {
  background: rgba(232, 232, 234, .12);
  border-color: rgba(232, 232, 234, .6);
  box-shadow: 0 0 24px rgba(255, 255, 255, .2);
}

/* ── Botón "Ver todas las experiencias" ── */
.ver-todas-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  padding: 0 16px;
}
.ver-todas-btn {
  display: inline-block;
  color: rgba(232, 232, 234, .85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(232, 232, 234, .3);
  background: rgba(8, 6, 4, .4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.ver-todas-btn:hover {
  background: rgba(232, 232, 234, .12);
  border-color: rgba(232, 232, 234, .6);
  box-shadow: 0 0 24px rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:760px) {
  .nav-top { top: 12px; right: 12px; }
  .page-header { padding: 60px 0 36px; }
  .grid { grid-template-columns: 1fr; }
  body { background-position: left center; }

  /* Fotos de gente: más altas y encuadradas hacia arriba (no cortar cabezas) */
  .card-viaje-foto { height: 230px; object-position: center 25%; }
  .card-exp-foto   { height: 240px; object-position: center 25%; }
  .card-img        { height: 300px; object-position: center 25%; }

  /* Libros: tapa completa, centrada (sin recorte) */
  .libro-fila { flex-direction: column; align-items: center; text-align: center; }
  .libro-img  { width: 150px; height: auto; min-width: unset; object-fit: contain; }

  /* Botón "Subir" chico, como en las experiencias */
  .floating-top { width: 34px; height: 34px; font-size: 15px; }
}
