/* Layout: mobile-first single column, bands full-bleed with a 1180px inner wrap; brand look (blue, yellow, taxi checker) */

/* fonts: self-hosted Barlow (OFL, fonts/OFL.txt), latin subset */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --blue: #1648B0;
  --navy: #0A2463;
  --ink: #0B1530;
  --yellow: #FFD400;
  --sky: #E3F0FF;
  --tint: #F4F8FF;
  --line: #D5E2F5;
  --muted: #2A3756;
  --on-dark: #E3F0FF;
  --wa: #25D366;
  --wa-ink: #04210F;
  --white: #FFFFFF;
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.stack { display: flex; flex-direction: column; gap: 28px; }

.checker {
  height: 18px;
  background-color: var(--yellow);
  background-image: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0);
  background-size: 18px 18px;
}
.checker--thin { height: 10px; background-size: 10px 10px; }

.hl { color: var(--yellow); }
.lead { font-size: 19px; color: var(--on-dark); max-width: 34em; }
.lead--ink { color: var(--muted); }
.muted { color: var(--muted); }

/* icons */
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.ico--xl { width: 40px; height: 40px; color: var(--blue); }
.ico--yellow { color: var(--yellow); width: 18px; height: 18px; }
.ico--blue { color: var(--blue); width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 19px; border-radius: 14px; }
.btn--sm { border-radius: 999px; }
.btn--block { width: 100%; }
.btn--wa, .btn--wa:hover { background: var(--wa); color: var(--wa-ink); }
.btn--yellow, .btn--yellow:hover { background: var(--yellow); color: var(--ink); }
.btn--navy, .btn--navy:hover { background: var(--navy); color: var(--white); }
.btn--light, .btn--light:hover { background: var(--sky); color: var(--navy); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--white); }
.top__bar { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex-grow: 1; min-width: 0; }
.brand:hover { color: var(--white); }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--f-display); font-weight: 800; font-size: 22px; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.brand__sub { font-size: 13px; color: #CFE0FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__nav { display: none; gap: 24px; font-weight: 600; }
.top__nav a { color: var(--white); text-decoration: none; }
.top__nav a:hover { color: var(--yellow); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 2px solid rgba(255,255,255,.45); border-radius: 999px; color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .5px; }
.lang:hover { border-color: var(--yellow); color: var(--yellow); }

/* hero */
.hero { background: var(--blue); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; gap: 32px; padding-block: 40px 48px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--navy); font-weight: 700; font-size: 15px; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 9vw, 82px); line-height: .95; text-transform: uppercase; letter-spacing: .5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0; position: relative; padding: 0 12px 12px 0; }
.hero__photo::before { content: ""; position: absolute; inset: 12px 0 0 12px; border-radius: 28px; background: var(--yellow); }
.hero__photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; border: 3px solid var(--white); }

/* trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; padding-block: 22px; }
.trust__item { display: flex; flex-direction: column; color: var(--navy); font-weight: 600; line-height: 1.25; }
.trust__item strong { font-family: var(--f-display); font-size: 32px; line-height: 1; color: var(--blue); text-transform: uppercase; }

/* sections */
.section { padding-block: 56px; }
.section--tint { background: var(--tint); }
.section h2, .order h2, .contact h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 6vw, 46px); line-height: 1; text-transform: uppercase; color: var(--navy); }

.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.svc { padding: 24px; border-radius: 18px; background: var(--sky); display: flex; flex-direction: column; gap: 10px; }
.svc h3 { font-size: 22px; }
.svc p { color: var(--muted); }
.svc--accent { background: var(--yellow); }
.svc--accent .ico--xl { color: var(--ink); }
.svc--accent p { color: var(--ink); }

/* order form */
.order { background: var(--blue); color: var(--white); }
.order h2 { color: var(--white); font-size: clamp(40px, 7vw, 54px); line-height: .95; }
.order__grid { display: grid; gap: 32px; padding-block: 48px 56px; align-items: start; }
.order__intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.preview { background: var(--navy); border-radius: 16px; padding: 16px 18px; color: var(--on-dark); font-size: 15px; }
.preview strong { color: var(--yellow); }
.preview pre { margin: 6px 0 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.order__alt { color: var(--on-dark); }
.order__alt a { color: var(--yellow); font-weight: 700; }
.form { background: var(--navy); border: 3px solid var(--yellow); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid #9DB4D9; font-weight: 600; cursor: pointer; }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.grid2, .grid3 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; color: var(--on-dark); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid #9DB4D9; border-radius: 12px;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--white); }
.form__fallback { color: var(--yellow); text-align: center; font-weight: 600; }

/* tours */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tour { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.tour img { width: 100%; height: 200px; object-fit: cover; }
.tour img.pos-top { object-position: center 15%; }
.tour__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.tour h3 { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--blue); }
.tour ul { margin: 0; padding-left: 20px; color: var(--muted); flex-grow: 1; }
.tour__meta { font-weight: 700; color: var(--navy); }
.tour .btn { align-self: flex-start; }

/* values */
.values { background: var(--navy); color: var(--white); }
.values__grid { display: grid; gap: 28px; padding-block: 48px; align-items: center; }
.values__big h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 10vw, 56px); line-height: .95; text-transform: uppercase; }
.values__big p { margin-top: 12px; font-size: 20px; font-weight: 600; color: var(--on-dark); }
.values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.values__list > div { padding: 18px; border-radius: 16px; background: var(--blue); }
.values__list h3 { font-size: 20px; }
.values__list p { color: var(--on-dark); }

/* contact */
.contact { display: grid; gap: 28px; }
.contact__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--sky); border: 2px solid var(--line); }
.map__frame { display: block; width: 100%; height: 260px; border: 0; background: var(--sky); }
.map__link { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; color: var(--navy); text-decoration: none; }
.map__link:hover { color: var(--navy); background: #D6E8FF; }
.ico--pin { width: 32px; height: 32px; color: var(--blue); }
.map__title { font-weight: 700; font-size: 21px; }
.map__cta { margin-top: 8px; font-weight: 700; color: var(--blue); text-decoration: underline; }

/* footer */
.foot { background: var(--ink); color: #CFE0FF; font-size: 15px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px 96px; }

/* floating + mobile bar */
.fab {
  position: fixed; z-index: 30;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: none; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(11, 21, 48, .3);
}
.fab .ico { width: 32px; height: 32px; }
.mbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; background: var(--ink);
  padding: 8px max(8px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
}
.mbar .btn { flex: 1 1 0; min-height: 52px; }

/* tablet+ */
@media (min-width: 640px) {
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form { padding: 26px; }
  .brand__name { font-size: 25px; }
}
@media (min-width: 1100px) {
  .tours { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tour { grid-column: span 3; }
  .tour img { height: 240px; }
}
@media (min-width: 900px) {
  .top__nav { display: flex; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 56px 64px; }
  .hero__photo img { aspect-ratio: auto; height: 400px; }
  .order__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; }
  .values__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .values__big h2 { font-size: clamp(36px, 4vw, 56px); }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .section { padding-block: 64px; }
  .mbar { display: none; }
  .fab { display: flex; }
  .foot__row { padding-block: 26px; }
}
.sprite { position: absolute; overflow: hidden; }
.foot a { color: inherit; }
.notfound { min-height: 70vh; display: grid; align-items: center; }
@media (max-width: 639px) {
  .top__bar { gap: 10px; }
  .lang { min-width: 40px; min-height: 40px; padding: 0 8px; font-size: 14px; }
}
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 20px; }
}
.brand picture { flex: none; display: block; line-height: 0; }
/* mobile polish: the bottom bar already has Llamar, so the header keeps only brand + language */
@media (max-width: 899px) {
  .top__bar > .btn--sm { display: none; }
  .actions .btn, .contact__btns .btn { flex: 1 1 100%; justify-content: center; }
}
.contact a[href^="tel:"] { white-space: nowrap; }
.tour__note { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FFF4C2; color: var(--ink); font-size: 15px; font-weight: 600; }
/* iOS Safari sizes date/time inputs to the native control and ignores width:100% unless appearance is reset */
.field input[type="date"], .field input[type="time"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; line-height: 1.3;
  text-align: left;
}
.field input::-webkit-datetime-edit, .field input::-webkit-date-and-time-value { min-width: 0; }
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
/* tour photo carousel: native scroll-snap, swipe on touch, buttons and dots added by main.js */
.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.carousel__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.carousel__slide figcaption { position: absolute; left: 10px; bottom: 30px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 36, 99, .85); color: var(--white); font-size: 14px; font-weight: 600; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__btn:focus-visible { outline: 3px solid var(--yellow); }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.carousel__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.carousel__dots span.is-on { background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* legal: illustrative-photo labels, fine print, footer FAB, focus on light sections */
.hero__photo figcaption { position: absolute; left: 14px; bottom: 26px; padding: 3px 10px; border-radius: 999px; background: rgba(10, 36, 99, .85); color: var(--white); font-size: 13px; font-weight: 600; }
.fine { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.foot .fab { color: var(--wa-ink); }
.section :focus-visible, .notfound :focus-visible { outline-color: var(--navy); }
.legal { max-width: 760px; }
.legal h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 5vw, 42px); line-height: 1.05; text-transform: uppercase; color: var(--navy); }
.legal h2 { font-size: 22px; color: var(--navy); margin-top: 28px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; }

/* final pass: heading/lead rhythm, mobile form before the live preview */
.stack > div > h2 + .lead { margin-top: 10px; }
@media (max-width: 899px) {
  .order__grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .order__intro { display: contents; }
  .order .form { order: 1; margin-top: 8px; }
  .order .preview { order: 2; }
  .order .order__alt { order: 3; }
}
@media (max-width: 359px) { .values__list { grid-template-columns: 1fr; } .btn--lg { padding: 0 16px; font-size: 17px; } .contact .btn[href^="tel:"] { white-space: normal; text-align: center; } }
