/* Junior Taxi Service SXM — estilos */
:root {
  --ink: #06202d;
  --ink-2: #0c3142;
  --sea: #0b7a86;
  --lagoon: #7fd6d0;
  --sun: #ffc629;
  --sun-deep: #e9a800;
  --sand: #f6efe1;
  --paper: #fffdf8;
  --text: #17323f;
  --muted: #557079;
  --line: #e4dccb;
  --wa: #1faa59;
  --wa-deep: #17904a;
  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 32, 45, .06), 0 12px 32px -12px rgba(6, 32, 45, .22);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Matrícula: la firma visual del sitio */
.plate { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--sun), inset 0 0 0 3px rgba(6, 32, 45, .35); border-radius: 8px; padding: 3px 9px 4px; line-height: 1; font-family: var(--display); }
.plate small { font-size: .5rem; font-weight: 800; letter-spacing: .28em; margin-right: -.28em; }
.plate b { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; }
.plate--lg { padding: 8px 20px 10px; border-radius: 12px; border-width: 3px; transform: rotate(-4deg); box-shadow: inset 0 0 0 3px var(--sun), inset 0 0 0 4px rgba(6, 32, 45, .35), var(--shadow); }
.plate--lg small { font-size: .72rem; }
.plate--lg b { font-size: 2.3rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 170, 89, .8); }
.btn--wa:hover { background: var(--wa-deep); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabecera */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 800 1.12rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand em { font-style: normal; color: var(--sun); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a { display: block; padding: 10px 11px; color: #d5e4e8; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; white-space: nowrap; }
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav ul a[aria-current] { color: var(--sun); }
.langs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.langs a { padding: 5px 9px; min-width: 36px; text-align: center; border-radius: 999px; color: #d5e4e8; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.langs a[aria-current] { background: var(--sun); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: flex; }
  .nav { position: absolute; inset: 68px 0 auto; background: var(--ink); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 20px 24px; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 8px; font-size: 1.08rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .langs { align-self: flex-start; }
  .langs a { padding: 9px 14px; font-size: .85rem; }
}

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg, .phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 32, 45, .94) 0%, rgba(6, 32, 45, .78) 42%, rgba(6, 32, 45, .28) 100%); }
.hero__in { display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 92px); align-items: center; }
.hero h1, .phero h1 { color: #fff; }
.hero h1 { max-width: 13ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; max-width: 56ch; }
.hero .lead, .phero .lead { color: #dcebee; }
.eyebrow { font: 700 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--sea); margin-bottom: 1.1em; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 34px; border-top: 3px dotted currentColor; }
.eyebrow--light { color: var(--sun); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 9px; border-radius: 999px; background: rgba(6, 32, 45, .55); border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 600; }
.chips .ico { color: var(--sun); width: 1.1em; height: 1.1em; stroke-width: 2.6; }
@media (min-width: 980px) {
  .hero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* Hero interior */
.phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.phero__in { padding-block: clamp(36px, 6vw, 76px); }
.phero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 20ch; }
.phero .lead { margin-bottom: 1.6em; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; font-weight: 600; margin-bottom: 18px; color: #b9d0d6; }
.crumbs a { color: var(--sun); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Formulario de reserva */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--paper); color: var(--text); padding: clamp(18px, 3vw, 28px); border-radius: var(--r); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); border-top: 6px solid var(--sun); align-self: start; }
.book__head { grid-column: 1 / -1; }
.book__head h2 { font-size: 1.5rem; margin-bottom: .2em; }
.book__head p { margin: 0; color: var(--muted); font-size: .93rem; }
.f { display: grid; gap: 5px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f span { font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.f input, .f select { width: 100%; min-height: 48px; padding: 10px 12px; font: 500 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); appearance: none; -webkit-appearance: none; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%2306202d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 12px; padding-right: 34px; }
.f input::placeholder { color: #8fa3aa; }
.f input:focus, .f select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(11, 122, 134, .2); }
.f input.is-bad { border-color: #c8402a; box-shadow: 0 0 0 3px rgba(200, 64, 42, .15); }
.book .btn { grid-column: 1 / -1; margin-top: 4px; }
.book__hint { grid-column: 1 / -1; margin: 0; text-align: center; font-size: .84rem; color: var(--muted); }

/* Secciones */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--sand { background: var(--sand); }
.sec__head { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sec__head .eyebrow { justify-content: center; }
.sec__head .eyebrow::after { content: ''; width: 34px; border-top: 3px dotted currentColor; }
.sec__head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.sec__head--left { text-align: left; margin-inline: 0; }
.sec__head--left .eyebrow { justify-content: flex-start; }
.sec__head--left .eyebrow::after { display: none; }
.sec .center { margin: 36px 0 0; }

/* Tarjetas de servicio */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; scroll-margin-top: 96px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:target { border-color: var(--sun-deep); box-shadow: 0 0 0 3px rgba(255, 198, 41, .45); }
.card__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--sun); margin-bottom: 18px; }
.card__ico .ico { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .98rem; line-height: 1.55; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sea); text-decoration: none; padding: 8px 0; font-size: .95rem; }
.more .ico { transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }

/* Cifras */
.stats { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 76px); }
.stats h2 { color: #fff; text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 36px; }
.stats dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin: 0; }
.stats dl > div { display: flex; flex-direction: column-reverse; text-align: center; }
.stats dd { margin: 0; font: 800 clamp(2.6rem, 6vw, 4.2rem)/1 var(--display); color: var(--sun); letter-spacing: -.03em; }
.stats dt { margin-top: 10px; color: #b9d0d6; font-size: .95rem; font-weight: 500; }
@media (min-width: 760px) { .stats dl { grid-template-columns: repeat(4, 1fr); } .stats dl > div + div { border-left: 2px dotted rgba(255, 255, 255, .22); } }

/* Destinos */
.dest { display: grid; gap: 14px; grid-template-columns: 1fr; }
.dest figure { position: relative; margin: 0; height: 100%; min-height: 240px; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.dest img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s; }
.dest figure:hover img { transform: scale(1.05); }
.dest figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 56px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(6, 32, 45, .9)); }
.dest figcaption small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.dest figcaption b { font: 800 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.dest figcaption span { font-size: .93rem; line-height: 1.45; color: #dcebee; margin-top: 4px; }
.dest--text figure { min-height: 300px; }
@media (min-width: 560px) { .dest { grid-template-columns: 1fr 1fr; } .dest__item:first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .dest { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; }
  .dest__item { grid-column: span 2; }
  .dest__item:nth-child(1), .dest__item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
  .dest__item:nth-child(3) { grid-row: span 2; }
  .dest__item:nth-child(6), .dest__item:nth-child(7) { grid-column: span 2; }
  .dest--text { grid-auto-rows: 290px; }
}
.note { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding: 16px 18px; background: var(--sand); border-radius: var(--r-sm); border-left: 5px solid var(--sun); }
.note .ico { color: var(--sea); margin-top: 4px; }

/* Dos columnas */
.duo { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.duo--top { align-items: start; }
@media (min-width: 900px) { .duo { grid-template-columns: .8fr 1.2fr; } .duo--form { grid-template-columns: 1.1fr .9fr; } }
.duo__media { position: relative; justify-self: center; max-width: 380px; width: 100%; }
.duo__media img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.duo__media::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--r); background: var(--sun); z-index: -1; }
.duo__media { isolation: isolate; }
.duo__media .plate { position: absolute; right: -10px; bottom: 22px; }
.duo__media--wide { max-width: 520px; }
.prose p { font-size: 1.12rem; }
.prose p:first-child { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.tags .ico { color: var(--sea); }

.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Pasos: la ruta punteada */
.steps { counter-reset: s; display: grid; gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-left: 68px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 1.3rem var(--display); border: 2px solid var(--ink); z-index: 1; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 52px; bottom: -24px; border-left: 3px dotted var(--sea); }
.steps h3 { margin: 8px 0 .3em; font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }
.steps--col p:only-child { padding-top: 10px; color: var(--text); }
@media (min-width: 860px) {
  .steps:not(.steps--col) { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps:not(.steps--col) li { padding: 70px 0 0; }
  .steps:not(.steps--col) li:not(:last-child)::after { left: 56px; right: -24px; top: 23px; bottom: auto; border-left: 0; border-top: 3px dotted var(--sea); }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font: 600 1.14rem/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); font: 500 1.4rem/1 var(--body); transition: transform .2s, background-color .2s; }
.sec--sand .faq summary::after { background: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { padding: 0 48px 22px 2px; color: var(--muted); margin: 0; }

/* Contacto */
.clist { display: grid; gap: 4px; margin-top: 18px; }
.clist li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.clist .ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--ink); color: var(--sun); }
.clist small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clist a, .clist span { font-weight: 600; color: var(--ink); font-size: 1.08rem; overflow-wrap: anywhere; }
.clist a { text-decoration-color: var(--sun-deep); text-decoration-thickness: 2px; }

/* Banda CTA */
.band { background: var(--sun); color: var(--ink); }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(36px, 5vw, 56px); }
.band h2 { margin-bottom: .2em; }
.band p { margin: 0; font-size: 1.1rem; font-weight: 500; }
.band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn--ghost { color: var(--ink); border-color: var(--ink); background: transparent; backdrop-filter: none; }
.band .btn--ghost:hover { background: rgba(6, 32, 45, .08); }
.band .btn--wa { background: var(--ink); box-shadow: none; }
.band .btn--wa:hover { background: var(--ink-2); }

/* Pie */
.ftr { background: var(--ink); color: #b9d0d6; font-size: .97rem; }
.ftr__grid { display: grid; gap: 36px; padding-block: 56px 36px; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ftr__grid { grid-template-columns: 1.4fr .8fr 1.2fr 1fr; } }
.ftr h2 { font: 700 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.ftr a { color: #e6f0f2; text-decoration: none; }
.ftr a:hover { color: var(--sun); text-decoration: underline; }
.ftr li { padding: 5px 0; overflow-wrap: anywhere; }
.ftr__blurb { margin: 16px 0 12px; max-width: 34ch; }
.ftr__open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); }
.ftr__areas { line-height: 1.9; margin: 0; }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.ftr__bar p { margin: 0; }
.langs--ftr { border: 0; padding: 0; gap: 16px; }
.langs--ftr a { padding: 0; font-size: .88rem; letter-spacing: 0; font-weight: 600; }

/* Barra fija móvil */
.dock { display: none; }
@media (max-width: 759px) {
  .dock { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(6, 32, 45, .96); backdrop-filter: blur(8px); }
  .dock a { white-space: nowrap; font-size: .97rem; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; padding-inline: 20px; }
  .dock__call { color: #fff; border: 2px solid rgba(255, 255, 255, .4); }
  .dock__wa { background: var(--wa); color: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .hero .btns .btn, .phero .btns .btn { flex: 1 1 100%; }
  .band__btns, .band__btns .btn { width: 100%; }
}

.nf { min-height: 60vh; display: grid; align-items: center; }
.nf .plate { margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
