/* ==========================================================
   The Free Travel · estilos compartidos
   ========================================================== */
:root {
  --ink: #1d1b18;
  --muted: #6b655c;
  --cream: #f6f1e8;
  --paper: #fbf8f2;
  --line: #e4dccd;
  --accent: #2f4a3a;
  --radius: 6px;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.lead { font-family: "Cormorant Garamond", serif; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid var(--ink); text-decoration: none;
  font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: transparent; color: var(--ink); }
.btn.light { color: #fff; border-color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.light-solid { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light-solid:hover { background: transparent; color: #fff; }

/* Cabecera */
header.site {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: #fff;
}
header.site.solid {
  position: sticky; background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-weight: 600; letter-spacing: .12em; font-size: 1rem; }
.brand span { font-size: .65rem; letter-spacing: .08em; margin-top: 6px; opacity: .8; }
.brand img { height: 80px; width: auto; }
nav.menu ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav.menu a { text-decoration: none; font-size: .9rem; opacity: .9; }
nav.menu a:hover, nav.menu a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font-size: 1.6rem; cursor: pointer; }

/* Cabecera de página (hero) */
.page-hero {
  position: relative; min-height: 70vh; display: flex; align-items: flex-end;
  color: #fff; padding: 160px 0 72px; background: #333 center/cover no-repeat;
}
.page-hero.short { min-height: 46vh; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.6) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #fff; opacity: .85; }
.page-hero .sub { font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 28px; opacity: .95; }
.facts { display: flex; flex-wrap: wrap; gap: 22px; font-size: .95rem; margin-bottom: 36px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Franja de destinos */
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-card { position: relative; min-height: 300px; color: #fff; text-decoration: none; overflow: hidden; background: #333 center/cover; }
.strip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 100%); }
.strip-card .txt { position: absolute; left: 24px; bottom: 22px; z-index: 1; }
.strip-card h3 { margin: 0; font-size: 1.9rem; }
.strip-card small { opacity: .9; font-size: .9rem; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.intro-grid img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* Fondos de sección */
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }

/* Pilares */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.pillar .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.4rem; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* Viajes */
.trips-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--muted); }
.filters button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.trip-list { display: grid; gap: 28px; }
.trip { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s; }
.trip:hover { transform: translateY(-3px); }
.trip img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.trip .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.trip .tags { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.trip p { color: var(--muted); }
.trip .more { margin-top: 14px; font-weight: 500; }

/* Detalle de viaje */
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.detail-img { border-radius: var(--radius); aspect-ratio: 4/3; width: 100%; object-fit: cover; margin-top: 24px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: sticky; top: 24px; }
.summary h3 { font-size: 1.6rem; margin-bottom: 18px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; margin: 0; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }

/* Filosofía */
.philo-rows { display: grid; gap: 56px; margin-top: 64px; }
.philo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.philo-row.flip img { order: 2; }
.philo-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.philo-row h3 { font-size: 2rem; }
.philo-row p { color: var(--muted); }
.quote { font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; margin: 80px auto 0; max-width: 820px; line-height: 1.25; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.about-grid .sign { color: var(--ink); font-weight: 500; margin-top: 24px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 14px 0 0; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
form { display: grid; gap: 16px; }
label { font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.contact-side h3 { font-size: 1.8rem; }
.contact-side .item { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-side .item small { display: block; color: var(--muted); }
.contact-side img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); margin-top: 28px; }
.contact-side .tag { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; margin-top: 12px; }

/* Pie */
footer.site-footer { background: var(--ink); color: #d8d2c6; padding: 64px 0 36px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; font-family: "Inter", sans-serif; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-brand { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.cross { margin-top: 36px; padding-top: 24px; border-top: 1px solid #3a3731; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.cross em { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: #fff; font-style: normal; }

/* Responsive */
@media (max-width: 900px) {
  nav.menu { display: none; }
  nav.menu.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); color: var(--ink); padding: 20px 24px; border-bottom: 1px solid var(--line); }
  nav.menu.open ul { flex-direction: column; gap: 14px; }
  .menu-toggle { display: block; }
  .strip-grid, .pillars-grid { grid-template-columns: 1fr; }
  .intro-grid, .detail-grid, .philo-row, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .philo-row.flip img { order: 0; }
  .summary { position: static; }
  .trip { grid-template-columns: 1fr; }
  .trip img { min-height: 220px; }
  section { padding: 64px 0; }
}
