/* Paralelo Rutas — site styles.
   Layout: header bar → hero split (copy | guide cover) → bands separated by full-width parallel rules.
   Single light look on purpose (brand: white ground, ink-navy, rally blue and red). */
@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --ink: #10213A;
  --navy: #0A2D5E;
  --blue: #1478C8;
  --red: #D3202F;
  --red-dark: #A8141F;
  --ground: #FFFFFF;
  --mist: #F1F4F8;
  --line: #D6DDE6;
  --muted: #4A5868;
  --cream: #F3EAD8;
  --orange: #E2702E;
  --black: #161616;
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); text-transform: uppercase; letter-spacing: 0.5px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--display); font-weight: 500; font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 1.2rem; color: #2C3A4A; max-width: 34em; }

/* Brand stripe: the series' parallel lines */
.stripe { display: flex; height: 6px; }
.stripe span:nth-child(1) { flex: 3; background: var(--navy); }
.stripe span:nth-child(2) { flex: 1; background: var(--blue); }
.stripe span:nth-child(3) { flex: 1; background: var(--red); }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ground); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: 1px; }
.brand-name small { font-family: var(--display); font-weight: 500; font-size: 0.58rem; letter-spacing: 5px; color: var(--red); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-weight: 600; font-size: 0.98rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--red); }
.nav .lang { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; letter-spacing: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 6px; font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-primary { background: var(--red); color: #FFFFFF; }
.btn-primary:hover { background: var(--red-dark); color: #FFFFFF; transform: translateY(-1px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #FFFFFF; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px); background:
  repeating-linear-gradient(180deg, transparent 0 46px, rgba(20,120,200,0.07) 46px 47px), var(--ground); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-cover { position: relative; justify-self: center; max-width: 380px; width: 100%; }
.hero-cover img { border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(10,45,94,0.45), 0 0 0 1px var(--line); transform: rotate(2.5deg); }
.coord { position: absolute; z-index: 2; font-family: var(--display); font-size: 0.8rem; letter-spacing: 2px; color: var(--muted); background: var(--ground); padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; white-space: nowrap; }
.coord.top { top: -14px; left: -10px; }
.coord.bottom { bottom: -14px; right: -10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; color: var(--muted); }
.facts b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Sections */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band.mist { background: var(--mist); }
.band-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 46em; }

/* Catalog */
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.route { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: var(--ground); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.route.featured { grid-column: 1 / -1; flex-direction: row; gap: 28px; align-items: center; border-color: var(--navy); border-width: 2px; }
.route.featured img { width: 150px; flex: none; border-radius: 3px; box-shadow: 0 10px 24px -12px rgba(10,45,94,0.5); align-self: center; }
.route-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.lat { font-family: var(--display); font-size: 0.82rem; letter-spacing: 2px; color: var(--muted); font-variant-numeric: tabular-nums; }
.route h3 { font-size: 1.5rem; text-transform: uppercase; }
.route p { font-size: 0.98rem; color: #2C3A4A; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-family: var(--display); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.tag.aventura { background: var(--red); color: #FFFFFF; }
.tag.crucero { background: var(--black); color: var(--cream); }
.tag.soon { background: var(--mist); color: var(--muted); border: 1px solid var(--line); }
.tag.ok { background: #E3F1E8; color: #1E5B3A; }
.route-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.price { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.route .vote-link { font-weight: 600; font-size: 0.95rem; text-decoration: none; }

/* Series */
.series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.serie { border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.serie.aventura { background: var(--ground); border: 1px solid var(--line); box-shadow: inset 0 6px 0 var(--navy); }
.serie.crucero { background: var(--black); color: var(--cream); box-shadow: inset 0 6px 0 var(--orange); }
.serie.crucero h3 { color: var(--cream); }
.serie.crucero p { color: #E6DCC8; }
.serie .badge { align-self: flex-start; }
.badge { font-family: var(--display); font-size: 0.85rem; letter-spacing: 3px; padding: 5px 12px; border-radius: 4px; }
.serie.aventura .badge { background: var(--red); color: #FFFFFF; }
.serie.crucero .badge { background: var(--orange); color: var(--black); }

/* Inside the guide */
.inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.inside-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.inside-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.inside-list li:last-child { border-bottom: 1px solid var(--line); }
.inside-list .pg { font-family: var(--display); font-size: 0.8rem; letter-spacing: 1.5px; color: var(--red); padding-top: 3px; }
.inside-list b { display: block; font-size: 1.05rem; }
.inside-list span { color: var(--muted); font-size: 0.97rem; }
.pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pages figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pages img { border-radius: 3px; box-shadow: 0 12px 28px -14px rgba(10,45,94,0.45), 0 0 0 1px var(--line); }
.pages figcaption { font-size: 0.88rem; color: var(--muted); }

/* Vote form */
.vote { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.vote-form { background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.vote-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vote-form legend { font-weight: 700; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; cursor: pointer; padding: 6px 0; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.check small { display: block; color: var(--muted); font-size: 0.82rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input { min-height: 48px; border: 1.5px solid var(--line); border-radius: 6px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--ground); }
.field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(20,120,200,0.2); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-msg { font-weight: 600; padding: 12px 14px; border-radius: 6px; }
.form-msg.ok { background: #E3F1E8; color: #1E5B3A; }
.form-msg.err { background: #FDECEE; color: var(--red-dark); }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 50em; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--display); font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: #2C3A4A; max-width: 44em; }

/* Product page */
.product { padding-block: clamp(36px, 6vw, 72px); }
.product .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-cover img { border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(10,45,94,0.45), 0 0 0 1px var(--line); }
.product-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 0; border-block: 1px solid var(--line); }
.buy .price { font-size: 2.4rem; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec div { background: var(--ground); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.spec b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.spec span { font-size: 0.85rem; color: var(--muted); }
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.notice { background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D6E0; padding-block: 48px 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .brand { color: #FFFFFF; }
.site-footer .brand-name small { color: #FF8A8A; }
.site-footer a { color: #FFFFFF; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.foot-col b { color: #FFFFFF; font-family: var(--display); letter-spacing: 2px; font-weight: 500; text-transform: uppercase; font-size: 0.85rem; }
.copy { width: 100%; font-size: 0.82rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; }

@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero .wrap, .inside, .vote, .product .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-cover { max-width: 230px; order: -1; margin-top: 12px; }
  .product-cover { max-width: 320px; }
  .series { grid-template-columns: minmax(0, 1fr); }
  .route.featured { grid-column: auto; flex-direction: column; }
  .route.featured img { width: 150px; align-self: flex-start; }
}
@media (max-width: 520px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 2px 16px; font-size: 0.92rem; }
  .btn { width: 100%; letter-spacing: 1px; font-size: 1rem; padding: 0 16px; text-align: center; }
  .buy .btn { width: auto; }
}
