:root {
  color-scheme: light;
  --ink: #102b42;
  --muted: #486072;
  --paper: #f3f7fa;
  --line: #d6e3eb;
  --blue: #075887;
  --yellow: #ffbf43;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #0871ae; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 84px; }
.mast nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-weight: 700; }
.mast nav a:not(.button):hover { text-decoration: underline; }
.brand img { display: block; width: clamp(155px, 22vw, 235px); height: auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  font-size: .94rem; font-weight: 700; text-align: center;
}
.primary { background: var(--yellow); color: var(--ink); }
.primary:hover { background: #ffd377; }
.outline { border-color: #b8cdda; }
.outline:hover { background: #e8f3fa; }
.hero {
  display: grid; position: relative; isolation: isolate; align-items: end; min-height: clamp(490px, 54vw, 660px);
  overflow: hidden; border-radius: 24px; color: #fff; background: #102b42;
}
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #081d30f5 0%, #081d30d9 28%, #081d3070 55%, #081d3010 100%);
}
.hero-copy { padding: clamp(34px, 6vw, 84px); }
.eyebrow { margin: 0 0 12px; font-size: .88rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.hero .eyebrow, .hero em { color: var(--yellow); }
h1, h2, .card h3 { font: 400 1em/.99 var(--serif); margin: 0; }
.hero h1 { font-size: clamp(4rem, 9.2vw, 8.5rem); letter-spacing: -.025em; }
.hero .intro { max-width: 42ch; margin: 22px 0 26px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.photo-caption {
  position: absolute; right: 20px; bottom: 20px; margin: 0; padding: 6px 11px;
  border-radius: 6px; background: #102b42e8; font-size: .875rem;
}
.catalog { padding-block: clamp(54px, 8vw, 106px); }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.catalog h2, .group-copy h2, .contact h2 { font-size: clamp(2.9rem, 5.7vw, 5rem); }
.catalog .eyebrow { color: var(--blue); }
.catalog-search { display: grid; gap: 6px; width: min(100%, 285px); font-weight: 700; }
.catalog-search input {
  width: 100%; min-height: 46px; padding: 9px 12px; background: #fff;
  border: 1px solid #a9bfce; border-radius: 10px; font-weight: 400;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 10px; }
.filters button {
  min-height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 7px 15px; font-size: .94rem; font-weight: 700;
}
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#count, .fine, .meta { color: var(--muted); font-size: .9rem; }
#count { margin: 12px 0 16px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card {
  display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--region-accent, #216b96); border-radius: 14px;
  box-shadow: 0 7px 24px #18354a0a;
}
.card[data-area="Europa y África"] { --region-accent: #995136; }
.card[data-area="Oriente Medio"] { --region-accent: #8b6a42; }
.card[data-area="Sudamérica"] { --region-accent: #327464; }
.card-content { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.duration { padding: 3px 10px; border-radius: 99px; background: #e2f2fc; color: #164c70; }
.card h3 { font-size: clamp(2.2rem, 3.3vw, 3.2rem); }
.card-route { color: var(--muted); min-height: 4.65em; }
.dates { padding: 10px 13px; border-radius: 8px; background: var(--paper); font-size: .94rem; }
.dates ul { list-style: none; padding: 0; margin: 2px 0 0; }
.rate { padding-top: 10px; border-top: 1px solid var(--line); }
.rate strong { display: block; font-size: 1.48rem; line-height: 1.2; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions > .button { flex: 1 0 auto; padding-inline: 11px; }
.itinerary { border-top: 1px solid var(--line); padding-top: 11px; }
.itinerary summary { width: fit-content; font-weight: 700; color: var(--blue); }
.itinerary-copy { margin-top: 12px; padding: 14px; background: var(--paper); border-radius: 8px; }
.itinerary-copy p + p { margin-top: 8px; }
.itinerary-copy h4 { margin: 8px 0 5px; }
.itinerary-copy ol { padding-left: 24px; margin: 0 0 10px; }
.group-trip {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 20px;
  background: #dcecf6; margin-bottom: 28px;
}
.group-trip img { display: block; width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.group-copy, .contact { padding: clamp(25px, 5vw, 64px); }
.group-copy { align-self: center; }
.group-copy p { max-width: 51ch; }
.group-copy .fine { margin: 20px 0 0; }
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--ink); color: #fff; border-radius: 20px;
}
.contact h2 { font-size: clamp(2.55rem, 4.5vw, 4.25rem); }
.contact p { margin: 12px 0 0; }
.contact a[href^="tel:"] { text-decoration: underline; }
.footer { margin-top: 26px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .mast { min-height: 70px; }
  .mast nav > a:not(.button) { display: none; }
  .hero { min-height: 540px; border-radius: 16px; }
  .hero-image { object-position: 59% center; }
  .hero::before { background: linear-gradient(0deg, #081d30fa 0%, #081d30ca 35%, #081d3030 74%, #081d3005 100%); }
  .hero-copy { padding: 24px 22px 60px; }
  .hero h1 { font-size: clamp(3.8rem, 13vw, 5.6rem); }
  .photo-caption { right: 14px; bottom: 14px; }
  .catalog-head, .contact { flex-direction: column; align-items: flex-start; }
  .group-trip { grid-template-columns: 1fr; }
  .group-trip img { height: auto; min-height: 0; aspect-ratio: 3/2; }
}
@media (max-width: 550px) {
  .cards { grid-template-columns: 1fr; }
  .card-route { min-height: 0; }
  .footer .mast { flex-wrap: wrap; padding-block: 14px; }
}
@media (max-width: 360px) {
  .actions > .button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
