:root {
  /* Palette taken from the Vámonos Amigo logo */
  --ocean: #0E3A55;       /* logo navy: primary buttons, links */
  --ocean-deep: #0A2B40;
  --ink: #12324A;
  --ink-soft: #4F5E66;
  --sand: #FAF6EB;        /* logo cream */
  --white: #FFFFFF;
  --sea: #E4EEF0;
  --sea-ink: #1F5A6E;     /* logo lake blue */
  --coral: #AE3514;       /* logo brick red: main call to action */
  --coral-ink: #FFFFFF;
  --gold: #C98A26;        /* logo gold: highlights */
  --gold-soft: #F4E6C8;
  --line: #D8CDB6;
  --line-soft: #E8DFCC;
  --error: #A3261B;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--sand); }
img { max-width: 100%; }
a { color: var(--ocean); }
a:hover { color: var(--ocean-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
h2[tabindex="-1"]:focus { outline: none; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--white); border-bottom: 3px solid var(--gold); }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ocean); text-decoration: none; }
.logo span { color: var(--coral); }
.lang { width: auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Home */
.hero { background: var(--sand); color: var(--ink); padding: 20px 0 44px; }
.hero-logo { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto 8px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 7vw, 56px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -0.5px; color: var(--ocean); max-width: 16ch; }
.hero p { margin: 0 0 24px; font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.country-list { list-style: none; margin: 0; padding: 0; max-width: 480px; max-height: 372px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.country-list li + li { border-top: 1px solid var(--line-soft); }
.country-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 18px; background: none; border: none; font: inherit; font-size: 17px; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.country-row:hover { background: #FBF4E4; color: var(--ink); }
.country-row .flag { font-size: 26px; line-height: 1; }
.country-row .chev { margin-left: auto; color: var(--ink-soft); }
.country-row[aria-pressed=true] { background: var(--gold-soft); font-weight: 700; }
.country-list-hint { margin: 8px 0 0; font-size: 14px; }
.hero .cta { margin-top: 24px; }

.section { padding: 44px 0; }
.section h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.section p { margin: 0 0 18px; color: var(--ink-soft); max-width: 36em; }

.coming { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.coming li { background: var(--white); border-radius: 16px; padding: 16px 18px; }
.coming strong { display: block; font-size: 17px; }
.coming span { color: var(--ink-soft); font-size: 15px; }

.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type=email] { flex: 1 1 240px; }

.footer { background: var(--ink); color: #DCE7EE; padding: 28px 0; font-size: 15px; }
.footer a { color: #DCE7EE; }
.footer .sign { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--gold-soft); margin: 0 0 6px; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 25px; border: none; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-deep); color: var(--white); }
.btn-coral { background: var(--coral); color: var(--coral-ink); }
.btn-coral:hover { background: #92290D; color: var(--coral-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

label { font-weight: 700; font-size: 15px; }
input[type=text], input[type=email], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
textarea { min-height: 88px; resize: vertical; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.45; margin-bottom: 14px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ocean); }
.msg { margin-top: 10px; font-size: 15px; }
.msg.error { color: var(--error); font-weight: 500; }
.msg.ok { color: var(--sea-ink); font-weight: 500; }
.honey { position: absolute; left: -9999px; }

/* Share form */
.form-head { padding: 20px 0 8px; }
.country-logo { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto 12px; }
.country-logo.compact { max-width: 200px; margin-bottom: 4px; }
.progress { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; margin: 10px 0 4px; }
.progress span { display: block; height: 100%; background: var(--coral); width: 0; transition: width 0.25s ease; }
.stepcount { font-size: 14px; color: var(--ink-soft); }
.step { display: none; padding-bottom: 36px; }
.step.active { display: block; }
.step h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 12px 0 6px; }
.step > p { margin: 0 0 20px; color: var(--ink-soft); }
.panel { background: var(--white); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.panel h3 { margin: 0 0 4px; font-size: 18px; }
.panel > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }

.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); text-align: left; cursor: pointer; }
.choice:hover { border-color: var(--ocean); }
.choice[aria-pressed=true] { border-color: var(--ocean); background: var(--gold-soft); font-weight: 700; }
.choice input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--ocean); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--ocean); background: var(--gold-soft); font-weight: 700; }
.choice .flag { font-size: 22px; line-height: 1; }
.choices-row { display: grid; gap: 10px; }

.panel-emb { border: 2px solid var(--gold); }
.place { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.place:first-of-type { border-top: none; padding-top: 0; }
.place .num { font-size: 13px; color: var(--ink-soft); }

.nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.nav .btn-primary { flex: 1; }
.thanks { text-align: left; padding: 40px 0; }
.thanks h2 { font-family: var(--display); font-size: 34px; margin: 0 0 10px; }

.prose { padding: 32px 0 48px; }
.prose h1 { font-family: var(--display); font-size: 34px; margin: 0 0 16px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); max-width: 40em; }

@media (prefers-reduced-motion: reduce) { .progress span { transition: none; } }

/* Embajador levels: each step up gets a warmer, richer badge */
.emb-band { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.emb-band .btn { margin-top: 22px; }
.lvl-num { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; font-size: 15px; background: var(--sea); color: var(--sea-ink); }
.lvl-explorador .lvl-num { background: #CFE0E4; color: var(--ocean); }
.lvl-guia .lvl-num { background: var(--ocean); color: var(--white); }
.lvl-embajador .lvl-num { background: var(--coral); color: var(--white); }
.lvl-oro .lvl-num { background: var(--gold); color: var(--white); box-shadow: 0 0 0 3px var(--gold-soft); }

.ladder-mini { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lvl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 22px; background: var(--sand); font-size: 15px; font-weight: 500; }
.lvl-chip .lvl-num { width: 28px; height: 28px; font-size: 13px; }

.ladder { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lvl-row { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 14px 18px; }
.lvl-row .lvl-num { width: 42px; height: 42px; font-size: 17px; }
.lvl-row strong { display: block; font-family: var(--display); font-size: 19px; }
.lvl-row span:not(.lvl-num) { color: var(--ink-soft); font-size: 15px; }

.steps3 { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps3 li { position: relative; background: var(--white); border-radius: 16px; padding: 16px 18px 16px 62px; counter-increment: step; }
.steps3 li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--ocean); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps3 strong { display: block; font-size: 17px; }
.steps3 span { color: var(--ink-soft); font-size: 15px; }

/* Top bar link and the "What is it?" page */
.topnav { margin-left: auto; }
.topnav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 8px 4px; }
.topnav a:hover, .topnav a[aria-current=page] { color: var(--coral); }
.eyebrow { font-family: var(--display); font-size: 20px; color: var(--coral); margin: 0 0 6px !important; }
.quotes { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.quotes li { position: relative; background: var(--white); border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; padding: 14px 18px 14px 44px; font-size: 17px; }
.quotes li::before { content: "“"; position: absolute; left: 14px; top: 4px; font-family: var(--display); font-size: 40px; color: var(--gold); line-height: 1; }
.checks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-soft); max-width: 38em; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--sea); color: var(--sea-ink); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.flag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flag-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); font-size: 15px; text-decoration: none; color: var(--ink); }
.flag-chips a:hover { border-color: var(--ocean); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Temporary home page: logo, one line, three doors */
.wrap-wide { max-width: 1040px; }
.home-hero { padding-bottom: 36px; }
.home-hero .hero-logo { max-width: 560px; }
.home-tag { text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3.4vw, 26px); color: var(--ocean) !important; margin: 0 auto 28px !important; max-width: none !important; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 24px 24px 60px; border-radius: 20px; text-decoration: none; color: var(--white); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.door:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18, 50, 74, 0.18); }
.door-about { background: var(--ocean); }
.door-share { background: var(--coral); }
.door-emb { background: #8A5A12; } /* deep gold: white text stays readable */
.door-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.door strong { font-family: var(--display); font-size: 27px; line-height: 1.12; }
.door-d { font-size: 16px; line-height: 1.45; opacity: 0.92; }
.door-go { position: absolute; left: 24px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); font-size: 18px; }
.door:hover .door-go { background: rgba(255, 255, 255, 0.3); }
@media (max-width: 820px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .door { transition: none; } .door:hover { transform: none; } }

/* Home: hotel search, coming soon. The search bar is a picture of what's coming, not a working form. */
.hotel-soon { padding-top: 8px; padding-bottom: 8px; }
.hotel-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 22px; }
.hotel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 6px; }
.hotel-head h2 { margin: 0 !important; }
.soon-badge { display: inline-block; padding: 4px 12px; border-radius: 14px; background: var(--gold-soft); color: #7A4B0B; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.fake-search { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; margin: 18px 0; padding: 8px; border-radius: 16px; background: var(--sand); opacity: 0.7; user-select: none; pointer-events: none; }
.fs-field { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--white); color: var(--ink-soft); font-size: 15px; }
.fs-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 24px; background: var(--line); color: var(--white); font-weight: 700; font-size: 15px; }
.hotel-points { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.hotel-points li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 15px; }
.hotel-points li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hs-notify { font-weight: 700; font-size: 15px; }
@media (max-width: 680px) {
  .fake-search { grid-template-columns: 1fr 1fr; }
  .fs-where, .fs-btn { grid-column: 1 / -1; }
}
.topnav { display: flex; gap: 14px; }

/* Home: plan your trip */
.plan { padding-top: 8px; padding-bottom: 8px; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.plan-card h2 { margin: 0 0 4px !important; }
.plan-what { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 16px; padding: 0; border: none; }
.plan-opt { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 16px; }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt:has(input:checked) { border-color: var(--ocean); background: var(--gold-soft); }
.plan-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.plan-ico { font-size: 22px; }
.plan-where { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.plan-where .field { margin: 0; }
.plan-soon { margin: 16px 0 0 !important; font-size: 14px; }
@media (max-width: 720px) { .plan-what, .plan-where { grid-template-columns: 1fr; } }

/* Destination pages */
.gpage { padding-top: 24px; padding-bottom: 48px; }
.gpage h1 { font-family: var(--display); font-size: clamp(32px, 6vw, 46px); color: var(--ocean); margin: 0 0 8px; }
.gpage h2 { font-family: var(--display); font-size: 26px; margin: 36px 0 12px; }
.gpage .lede { color: var(--ink-soft); font-size: 18px; margin: 0 0 22px; max-width: 38em; }
.ghero { --g-primary: var(--ocean); background: var(--white); border-bottom: 1px solid var(--line-soft); padding: 18px 0 26px; }
.ghero-logo { display: block; width: 100%; max-width: 480px; margin: 0 auto 8px; }
.ghero h1 { font-family: var(--display); font-size: clamp(34px, 6.5vw, 52px); color: var(--g-primary); margin: 4px 0 6px; line-height: 1.05; }
.ghero-tag { font-size: 19px; color: var(--ink-soft); margin: 0; }
.ghero-city { background: linear-gradient(160deg, var(--white), var(--gold-soft)); }
.ghero .gphoto { max-width: 1040px; margin: 0 auto 16px; aspect-ratio: 21 / 9; border-radius: 0; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 0; }
.crumbs a { color: var(--ink-soft); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jump a { padding: 8px 14px; border-radius: 18px; background: var(--ocean); color: var(--white); font-size: 15px; font-weight: 500; text-decoration: none; }
.jump a:hover { background: var(--ocean-deep); color: var(--white); }
.draft-flag { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 10px; background: #FBEBD2; color: #7A4B0B; font-size: 14px; font-weight: 700; }
.gintro p { font-size: 18px; max-width: 40em; margin: 0 0 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 20px 0 0; }
.facts div { background: var(--white); border-radius: 14px; padding: 12px 16px; }
.facts dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gcard { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow 0.15s ease; }
.gcard:hover { color: var(--ink); box-shadow: 0 8px 20px rgba(18, 50, 74, 0.14); }
.gcard-body { padding: 12px 16px 16px; }
.gcard-body strong { display: block; font-family: var(--display); font-size: 20px; }
.gcard-body span { color: var(--ink-soft); font-size: 15px; }
.gphoto { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea); }
.gphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gphoto figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.gphoto-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ocean), var(--sea-ink)); }
.gphoto-empty span { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--gold-soft); text-align: center; padding: 0 12px; }
.card-grid li:nth-child(3n+2) .gphoto-empty { background: linear-gradient(135deg, var(--coral), #7E250D); }
.card-grid li:nth-child(3n+3) .gphoto-empty { background: linear-gradient(135deg, #8A5A12, var(--gold)); }
.more-t { font-size: 17px; margin: 24px 0 10px; }
.gcta { margin-top: 36px; }
.gsec { scroll-margin-top: 20px; }
.gsec-intro { color: var(--ink-soft); margin: -4px 0 14px; max-width: 40em; }
.gsec-label { font-weight: 700; font-size: 15px; margin: 16px 0 8px; }
.gsec-foot { font-size: 15px; color: var(--ink-soft); margin: 12px 0 0; }
.hood-list, .item-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hood-list li, .item { background: var(--white); border-radius: 14px; padding: 14px 18px; scroll-margin-top: 20px; }
.hood-list li > span { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.item { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.item:not(:has(.gphoto)) { grid-template-columns: 1fr; }
.item .gphoto { width: 120px; border-radius: 10px; }
.item-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.item-head strong { font-size: 17px; }
.item-hood { font-size: 14px; color: var(--ink-soft); }
.item-body p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.item-by { font-size: 13px !important; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 10px; background: var(--sea); color: var(--sea-ink); font-size: 12px; font-weight: 700; }
.src-tag { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; }
.src-team { background: var(--gold-soft); color: #7A4B0B; }
.src-locals { background: #E2F0E6; color: #25613A; }
.book-btn { display: inline-flex; align-items: center; min-height: 38px; margin-top: 10px; padding: 0 16px; border-radius: 19px; background: var(--coral); color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.book-btn:hover { background: #92290D; color: var(--white); }
.book-btn::after { content: "↗"; margin-left: 6px; }
.disclosure { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; }
.soon-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-soft); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .gcard { transition: none; } }
.topnav a { white-space: nowrap; }
@media (max-width: 520px) {
  .topbar { gap: 8px; padding: 10px 14px; }
  .logo { font-size: 18px; white-space: nowrap; }
  .topnav { gap: 10px; }
  .topnav a { font-size: 14px; padding: 8px 0; }
  .lang { padding: 0 8px; font-size: 14px; }
}
@media (max-width: 400px) {
  .topnav a[href="/about"] { display: none; } /* still in the footer and on the home page */
}

/* City page: hotel search (Stay22) */
.rec-hotels { margin: 20px 0 0; }
.rec-hotels h3, .hs-head h3 { font-size: 19px; margin: 0 0 8px; }
.hotel-search { margin-top: 22px; background: var(--white); border-radius: 18px; padding: 20px; scroll-margin-top: 12px; }
.hs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.hs-map { display: block; width: 100%; height: 520px; margin-top: 12px; border: none; border-radius: 12px; background: var(--sea); }
.link-btn { background: none; border: none; padding: 6px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--ocean); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ocean-deep); }
.hood-list .link-btn { margin-top: 6px; }
.stay-chips button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.stay-chips button:hover { border-color: var(--ocean); }
.stay-chips button.is-on { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
@media (max-width: 680px) {
  .hs-map { height: 460px; }
  .hotel-search { padding: 14px; }
}

/* My trip */
.trip-link { display: inline-flex; align-items: center; gap: 5px; }
.trip-heart { color: var(--coral); }
.trip-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700; }
.item-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.item-acts .book-btn { margin-top: 0; }
.save-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 19px; background: var(--white); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.save-btn:hover { border-color: var(--coral); color: var(--coral); }
.save-btn[aria-pressed=true] { border-color: var(--coral); background: #FBE9E4; color: var(--coral); }
.save-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.hs-head h3 { margin-right: auto; }
.btn-sm { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 19px; background: var(--ocean); color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.btn-sm:hover { background: var(--ocean-deep); color: var(--white); }
.device-note { font-size: 14px; color: var(--ink-soft); margin: -10px 0 24px; }
.trip-city { margin-bottom: 30px; }
.trip-city h2 { margin: 0 0 6px; }
.trip-city h2 a { color: var(--ocean); text-decoration: none; }
.trip-country { font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--ink-soft); }
.trip-type { font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin: 18px 0 8px; }
.trip-remove { font-weight: 500; color: var(--ink-soft); }
.trip-clear { margin-top: 18px; color: var(--ink-soft); font-weight: 500; }
.trip-empty h2 { margin-top: 0; }
@media (max-width: 520px) { .trip-word { display: none; } }

/* Home slider: full-width city photos */
.slider { position: relative; height: clamp(380px, 68vh, 620px); background: var(--ink); overflow: hidden; }
.slider:focus { outline: none; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 25, 38, 0.78) 0%, rgba(10, 25, 38, 0.25) 45%, rgba(10, 25, 38, 0) 70%); pointer-events: none; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 56px; margin: 0 auto; z-index: 2; color: var(--white); }
.slide-country { margin: 0 0 2px; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.slide-city { margin: 0 0 16px; font-family: var(--display); font-size: clamp(40px, 8vw, 76px); line-height: 1; color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.slide-go { box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.slide-credit { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 11px; color: rgba(255,255,255,0.8); text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,0.7); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-credit:hover { color: var(--white); text-decoration: underline; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255,255,255,0.22); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: rgba(255,255,255,0.38); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; gap: 4px; }
.slider-dot { width: 28px; height: 28px; padding: 0; border: none; background: none; cursor: pointer; }
.slider-dot::before { content: ""; display: block; width: 10px; height: 10px; margin: 9px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.2s ease, transform 0.2s ease; }
.slider-dot[aria-current=true]::before { background: var(--white); transform: scale(1.25); }
.home-hero { padding-top: 26px; }
@media (max-width: 680px) {
  .slider { height: clamp(360px, 62vh, 520px); }
  .slider-arrow { display: none; } /* swipe instead */
  .slide-cap { bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-on { transition: none; } }

/* Wordmark logo in the top bar and footer */
.logo { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.logo img { display: block; height: 38px; width: auto; }
.footer .sign img { display: block; height: 30px; width: auto; }
@media (max-width: 520px) { .logo img { height: 24px; } }
@media (max-width: 380px) { .logo img { height: 21px; } }

/* City form: Google place lookup */
.pl-wrap { position: relative; }
.pl-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 4px 0 0; padding: 4px 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 24px rgba(18, 50, 74, 0.16); max-height: 320px; overflow-y: auto; }
.pl-list [role=option] { display: flex; flex-direction: column; gap: 1px; padding: 10px 14px; cursor: pointer; }
.pl-list [role=option] strong { font-size: 15px; }
.pl-list [role=option] span { font-size: 13px; color: var(--ink-soft); }
.pl-list [role=option]:hover, .pl-list [role=option][aria-selected=true] { background: var(--gold-soft); }
.pl-own { padding: 8px 14px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line-soft); cursor: pointer; }
.pl-attrib { padding: 2px 14px 6px; font-size: 11px; color: var(--ink-soft); text-align: right; }
.pl-chip { margin-top: 6px; font-size: 13px; color: var(--sea-ink); }
.pl-chip a { font-weight: 700; }

/* Breathing room between every page and the footer */
.footer { margin-top: 64px; }
@media (max-width: 680px) { .footer { margin-top: 48px; } }

/* Guides (e.g. 10 favorite empanadas) */
.guide { max-width: 760px; }
.guide-by { margin: 4px 0 0; color: var(--ink-soft); font-size: 16px; }
.guide .gintro p { font-size: 18px; }
.guide h2 { font-family: var(--display); font-size: 28px; line-height: 1.2; margin: 44px 0 6px; }
.guide p { max-width: 40em; margin: 0 0 12px; font-size: 17px; }
.guide-map-sec h2 { margin-top: 36px; }
.guide-map { height: 440px; border-radius: 16px; border: 1px solid var(--line); background: var(--sea); z-index: 0; }
.guide-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.guide-index-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 4px; border: none; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; border-radius: 10px; }
.guide-index-btn:hover { background: var(--white); }
.guide-index-btn strong { font-size: 15px; }
.gi-hood { font-size: 13px; color: var(--ink-soft); margin-left: auto; }
.gi-num { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: var(--white); font-family: var(--body); font-size: 14px; font-weight: 700; }
.guide-item h2 .gi-num { width: 34px; height: 34px; margin-right: 10px; font-size: 16px; vertical-align: 4px; }
.gi-fav { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.guide-item { scroll-margin-top: 16px; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px !important; }
.guide-hood { font-size: 15px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.tag-fav { background: var(--gold-soft); color: #7A4B0B; }
.guide-box { background: var(--white); border-left: 4px solid var(--coral); border-radius: 4px 14px 14px 4px; padding: 14px 18px 4px; margin: 16px 0 12px; }
.guide-box p { font-size: 16px; }
.guide-addr { font-size: 14px; color: var(--ink-soft); flex-basis: 100%; }
.guide-outro { margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--line); }
.fav { margin-top: 44px; scroll-margin-top: 16px; }
.fav h2 { margin-top: 0 !important; font-size: 26px; }
.fav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .fav-row { grid-template-columns: 1fr; } .guide-map { height: 360px; } .gi-hood { display: none; } }
/* map pins */
.pin { background: none; border: none; }
.pin span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--coral); border: 2px solid var(--white); box-shadow: 0 2px 6px rgba(0,0,0,0.35); color: var(--white); font: 700 14px var(--body); }
.pin span::before { content: attr(data-n); }
.pin-fav span { background: var(--gold); }
.pin span { text-indent: 0; }
.pin-pop { display: grid; gap: 2px; font-family: var(--body); min-width: 180px; }
.pin-pop strong { font-size: 15px; }
.pin-pop span { font-size: 13px; color: var(--ink-soft); }
.pin-order { color: var(--ink) !important; }
.pin-links { display: flex; gap: 12px; margin-top: 6px; font-size: 13px; font-weight: 700; }
/* guide card on the city page */
.guide-card { display: grid; gap: 4px; margin: 0 0 16px; padding: 18px 20px; border-radius: 16px; background: var(--ocean); color: var(--white); text-decoration: none; }
.guide-card:hover { background: var(--ocean-deep); color: var(--white); }
.guide-card-k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); }
.guide-card strong { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.guide-card span { font-size: 15px; opacity: 0.9; }
.guide-card-go { font-weight: 700; margin-top: 4px; opacity: 1 !important; }
.pin span { border-radius: 50%; transform: none; }
.pin span::before { content: none; }

/* Country logos on cards: fit the full width, never crop */
.gphoto-logo { background: var(--white); }
.gphoto-logo img { object-fit: contain; padding: 8px; }


/* AI trip planner (/plan), from files.zip */
/* Trip planner */
.stop { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: end; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.stop .field { margin-bottom: 0; }
.stop-remove { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 0; background: none; border: none; font: inherit; font-size: 15px; color: var(--coral); text-decoration: underline; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); font-weight: 400; font-size: 15px; cursor: pointer; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--ocean); }
.chip:has(input:checked) { border-color: var(--ocean); background: var(--gold-soft); font-weight: 700; }
#loading h2 { font-family: var(--display); font-size: 30px; margin: 0 0 6px; }

/* Itinerary */
.itin-head { padding: 28px 0 8px; }
.itin-brand { margin: 0; font-family: var(--display); font-weight: 700; color: var(--coral); }
.itin-head h2 { font-family: var(--display); font-size: clamp(28px, 6vw, 40px); line-height: 1.1; margin: 4px 0 6px; color: var(--ocean); }
.itin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.itin-city { margin: 28px 0; }
.itin-city > h3 { font-family: var(--display); font-size: 28px; margin: 0 0 10px; color: var(--ocean); border-bottom: 3px solid var(--gold); padding-bottom: 6px; }
.itin-stay { background: var(--gold-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-size: 16px; }
.itin-day { background: var(--white); border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.itin-day h4 { margin: 0; font-size: 19px; }
.itin-area { margin: 2px 0 10px; color: var(--ink-soft); font-size: 15px; }
.itin-item { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.itin-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.itin-time { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sea-ink); padding-top: 2px; }
.itin-meal .itin-time { color: var(--coral); }
.itin-name { font-weight: 700; }
.itin-meta { font-weight: 400; color: var(--ink-soft); font-size: 14px; margin-left: 8px; }
.itin-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.itin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.itin-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; font-size: 14px; text-decoration: none; color: var(--ocean); background: var(--white); }
.itin-link.is-tour { background: var(--ocean); border-color: var(--ocean); color: var(--white); font-weight: 700; }
.itin-link.is-tour:hover { background: var(--ocean-deep); color: var(--white); }
.itin-note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 420px) { .itin-item { grid-template-columns: 1fr; gap: 2px; } }

@media print {
  .topbar, .footer, #planner, #loading, .itin-actions { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .wrap { max-width: none; padding: 0; }
  .itin-day, .itin-stay { border: 1px solid #ccc; break-inside: avoid; }
  .itin-city { break-before: page; }
  .itin-city:first-of-type { break-before: auto; }
  .itin-link { border: none; padding: 0; min-height: 0; background: none !important; color: var(--ocean) !important; text-decoration: underline; font-weight: 400; }
  .itin-badge { border: 1px solid var(--coral); color: var(--coral); background: none; }
}
.plan-ai { margin: 14px 0 0 !important; font-size: 16px; font-weight: 700; }
.plan-ai a { text-decoration: none; }
.plan-ai a:hover { text-decoration: underline; }

/* Home: four doors (the 4th is the AI trip planner) */
.doors { grid-template-columns: repeat(4, 1fr); }
.door-plan { background: #1F5A6E; } /* logo lake blue: white text stays readable */
@media (max-width: 1040px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } }
.itin-pick { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: var(--gold-soft); color: #7A4B0B; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.itin-pick.is-staff { background: var(--gold); color: var(--white); }
@media print { .itin-pick { background: none; border: 1px solid var(--gold); color: #7A4B0B; } }
/* Planner: travel time between stops */
.itin-leg { display: flex; align-items: center; gap: 8px; margin: 0 0 0 100px; padding: 4px 0 4px 14px; border-left: 2px dashed var(--line); font-size: 13px; color: var(--ink-soft); }
.itin-leg-icon { font-size: 14px; }
@media (max-width: 420px) { .itin-leg { margin-left: 8px; } }
@media print { .itin-leg { border-left-color: #999; } }
/* Starter lists on city pages */
.tag-starter { background: var(--line-soft); color: var(--ink-soft); }
.tag-ahead { background: #FBE9E4; color: var(--coral); }
.item-meta { font-size: 13px !important; color: var(--ink-soft); margin-top: 2px !important; }
.starter-note { font-size: 14px; color: var(--ink-soft); background: var(--white); border-left: 3px solid var(--line); border-radius: 4px 10px 10px 4px; padding: 10px 14px; margin: 0 0 12px; max-width: 46em; }

/* Amigos: fictional guide characters (content/amigos.json). The label on every card is part of the design, not optional. */
.amigos-sec { margin: 36px 0 0; }
.amigos-sec h2 a { color: inherit; text-decoration: none; }
.amigos-note { background: var(--gold-soft); border-radius: 14px; padding: 12px 16px; font-size: 15px; color: var(--ink); max-width: 760px; }
.amigo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.amigos-city .amigo-grid { max-width: 560px; }
.amigo { background: var(--white); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.amigo-head { display: flex; gap: 12px; align-items: center; }
.amigo-av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ocean); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-size: 18px; letter-spacing: 0.02em; }
.amigo-head strong { display: block; font-family: var(--display); font-size: 19px; line-height: 1.2; }
.amigo-where { color: var(--ink-soft); font-size: 14px; }
.amigo-where a { color: var(--sea-ink); }
.amigo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.amigo-tags span { font-size: 13px; font-weight: 500; border-radius: 999px; padding: 3px 10px; background: var(--sea); color: var(--sea-ink); }
.amigo-tags .amigo-expat { background: var(--gold-soft); color: #6B4A10; }
.amigo-bio { margin: 10px 0 0; font-size: 15px; flex: 1; }
.amigo-label { margin: 12px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.amigos-more { display: inline-block; margin-top: 14px; font-weight: 500; }
.amigo-spec { border: 2px solid var(--gold); }
.amigo-tags .amigo-spec-tag { background: var(--gold); color: var(--white); }

/* Guides written as articles (blocks), e.g. the Ushuaia cruise-season series */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 0 0 18px; }
.guide-cards .guide-card { margin: 0; }
.guide-card-by { font-size: 13px !important; opacity: 0.8 !important; }
.guide-by a { color: inherit; }
.guide-by-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; opacity: 0.85; vertical-align: middle; }
.guide-article { max-width: 760px; }
.guide-article > h2 { margin-top: 32px; }
.guide-list { padding-left: 22px; }
.guide-list li { margin: 6px 0; }
.guide-note { font-size: 14px; color: var(--ink-soft); font-style: italic; }
.guide-book { background: var(--white); border-left: 4px solid var(--coral); border-radius: 12px; padding: 12px 16px; margin: 18px 0; }
.guide-book p { margin: 0 0 8px; }
.guide-book .item-acts { flex-wrap: wrap; gap: 8px; }
.guide-series { margin-top: 36px; background: var(--white); border-radius: 16px; padding: 16px 20px; }
.guide-series h2 { margin: 0 0 8px; font-size: 20px; }
.guide-series ol { margin: 0; padding-left: 22px; }
.guide-series li { margin: 4px 0; }
.guide-author { margin-top: 32px; }
.guide-author .amigo { max-width: 460px; }

/* Team-ranked hotel list (stay.top) */
.top-hotels { margin: 0 0 24px; }
.top-hotels-by { margin: -4px 0 6px; font-size: 14px; color: var(--ink-soft); }
.top-list { list-style: none; padding: 0; }
.top-rank { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: var(--white); font-weight: 700; font-size: 14px; margin-right: 4px; flex: none; }
.tag-top { background: var(--gold-soft); color: #6B4A10; }

/* Photos inside articles, always with their credit line */
.guide-photo { margin: 22px 0; }
.guide-photo img { display: block; width: 100%; height: auto; border-radius: 14px; }
.guide-photo figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.guide-photo figcaption a { color: inherit; }
.barrio-guide { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 14px; }
