/* SELECT S.A.S. — sitio corporativo. Paleta alineada con booking.selectsas.com. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-700.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-400.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-700.woff2") format("woff2");
}

:root {
  --burgundy: #7a1f2e;
  --burgundy-deep: #4a0f18;
  --wine-ink: #16080c;
  --ink: #1c1917;
  --muted: #44403c;
  --line: #e7e5e4;
  --mist: #f6f5f4;
  --paper: #ffffff;
  --header: #4a0f18;
  --black: #0c0a09;
  --soft: #f8eef0;
  --radius: 24px;
  --max: 1120px;
  --header-h: 4.75rem;
  --logo-h: 38px;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Lato", "Segoe UI", sans-serif;
  --nav-break: 860px;
}

html.is-scrolled {
  --header-h: 3.35rem;
  --logo-h: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 8vw, 6.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--burgundy);
  text-underline-offset: 0.18em;
}

a:visited { color: var(--burgundy-deep); }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.trust :focus-visible,
.wa-float:focus-visible,
.dest:focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.lead {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  color: #fff;
  min-height: var(--header-h);
  transition: min-height 0.25s ease;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.25s ease;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  text-decoration: none;
}

.logo img {
  height: var(--logo-h);
  width: auto;
  transition: height 0.25s ease;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}

.bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.bars span:nth-child(1) { top: 0; }
.bars span:nth-child(2) { top: 6px; }
.bars span:nth-child(3) { top: 12px; }

.nav-check:focus-visible + .nav-toggle {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nav-check:checked + .nav-toggle .bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-check:checked + .nav-toggle .bars span:nth-child(2) { opacity: 0; }

.nav-check:checked + .nav-toggle .bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-check:checked + .nav-toggle .when-closed,
.nav-check:not(:checked) + .nav-toggle .when-open { display: none; }

#menu {
  display: none;
  position: fixed;
  z-index: 55;
  left: 0;
  right: 0;
  top: var(--header-h);
  margin: 0;
  padding: 0.35rem 1.25rem 0.85rem;
  background: var(--black);
  max-height: calc(100dvh - var(--header-h));
  overflow: auto;
  flex-direction: column;
}

.nav-check:checked ~ #menu { display: flex; }

#menu a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 48px;
  display: flex;
  align-items: center;
}

#menu a:visited { color: #fff; }

#menu a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 2px;
}

@media (min-width: 860px) {
  .nav-check,
  .nav-toggle { display: none; }

  #menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    max-height: none;
    overflow: visible;
    background: transparent;
    padding: 0;
  }

  #menu a {
    font-size: 1rem;
    padding: 0.45rem 0.75rem;
    min-height: 0;
    border-bottom: 0;
    border-radius: 999px;
  }

  #menu a[aria-current="true"] { background: rgba(255, 255, 255, 0.1); }
}

@media (max-width: 859px) {
  body:has(.nav-check:checked) { overflow: hidden; }
  body:has(.nav-check:checked) .wa-float { visibility: hidden; }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 4.75rem);
  min-height: calc(100dvh - 4.75rem);
  color: #fff;
  background: var(--wine-ink);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 8, 12, 0.2) 0%, rgba(74, 15, 24, 0.28) 38%, rgba(12, 10, 9, 0.82) 100%);
  pointer-events: none;
}

.hero-copy {
  padding: clamp(4.5rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero h1,
.hero p { color: #fff; }

.hero p {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.hero .btn-ghost,
.hero .btn-ghost:visited {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
}

.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Blocks */

.block { padding: clamp(4.5rem, 10vw, 7.75rem) 0; }

.band { background: var(--mist); }

.line {
  max-width: 36rem;
  margin: 0 0 2.25rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.actions,
.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.actions { margin-top: 1.75rem; }
.choice { margin-top: 0.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary,
.btn-primary:visited {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover { background: var(--burgundy-deep); }

.btn-ghost,
.btn-ghost:visited {
  background: #fff;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-ghost:hover { background: var(--soft); }

.btn-wa,
.btn-wa:visited {
  min-height: 72px;
  padding: 0.9rem 1.5rem;
  border-radius: 20px;
  background: #075e54;
  color: #fff;
  font-size: 1.2rem;
}

.btn-wa:hover { background: #054940; }

.btn-wa .num {
  font-weight: 500;
  font-size: 1.02rem;
  opacity: 0.92;
}

.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--burgundy);
}

.svc li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 11.5rem;
  margin: 0;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: var(--mist);
}

.band .svc li { background: #fff; }

.svc svg { width: 36px; height: 36px; }

.svc span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vtile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #4a0f18 0%, #7a1f2e 48%, #16080c 100%);
}

.vtile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.vtile.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 15, 24, 0.16), rgba(12, 10, 9, 0.28));
  pointer-events: none;
}

.vtile span {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 0.95rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 9, 0.78));
}

.dests {
  display: grid;
  gap: 0.9rem;
}

.dest {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  background: var(--wine-ink);
}

.dest img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 15, 24, 0.12) 15%, rgba(12, 10, 9, 0.72) 100%);
  pointer-events: none;
}

.dest span {
  position: absolute;
  z-index: 1;
  left: 1.15rem;
  right: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.dest:hover img { transform: scale(1.04); }

.trust {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.25rem) 0;
  color: #fff;
  background: var(--wine-ink);
  overflow: hidden;
  isolation: isolate;
}

.trust-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.trust-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.trust::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(74, 15, 24, 0.78), rgba(12, 10, 9, 0.86));
  pointer-events: none;
}

.trust h2,
.trust .line { color: #fff; }

.trust .line { margin-bottom: 0; }

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem 2.25rem;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}

.logos a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.logos img {
  height: 52px;
  width: auto;
}

.lockup {
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact h2 { margin-bottom: 0.2rem; }

.contact .btn-wa { margin-top: 0.2rem; }

.mail {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.cities {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Legal pages and gestión comercial */

.page-intro { padding: 2.75rem 0 0.5rem; }

.tool { padding: 1.5rem 0 2.5rem; }

.tool h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.tool .btn {
  width: 100%;
  max-width: 28rem;
  min-height: 56px;
  margin: 0.25rem 0 1rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

.tool-note {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
}

.tool-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.tool-frame iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2000px;
  min-height: 70vh;
  border: 0;
}

.prose { max-width: 46rem; padding-bottom: 4rem; }

.prose ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }

.prose li + li { margin-top: 0.35rem; }

.prose .table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.98rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.prose th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child { margin-top: 0; }

/* Footer */

.site-footer {
  background: var(--black);
  color: #f5f5f4;
  padding: 3rem 0 2.5rem;
}

.site-footer a,
.site-footer a:visited { color: #f5f5f4; }

.footer-logo { display: inline-flex; }

.footer-logo img { height: 36px; width: auto; }

.footer-brand p { color: #d6d3d1; max-width: 28rem; }

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d6d3d1;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li { margin-top: 0.35rem; }

.portales {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.portales ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.15rem;
}

.portales li + li { margin-top: 0; }

.portales a { font-size: 0.92rem; }

.footer-base {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.legal-id {
  margin: 0;
  color: #a8a29e;
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-base p {
  margin: 0;
  color: #d6d3d1;
  font-size: 0.92rem;
}

.footer-base .legal-id { font-size: 0.78rem; }

/* WhatsApp (páginas legales) */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #075e54;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

.wa-float:hover { background: #054940; }

.wa-float svg { display: block; }

.wa-float.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 3rem)); }
  .svc { grid-template-columns: repeat(4, 1fr); }
  .dests { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .fleet { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 699px) {
  .site-footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }

  body:has(.wa-float) .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  .wa-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }

  .btn-wa { width: 100%; }
}

@media (max-width: 420px) {
  .actions .btn,
  .choice .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .nav-check:checked + .nav-toggle .bars span { transform: none; }
  .dest:hover img { transform: none; }
}

@media print {
  .site-header,
  .wa-float,
  .nav-toggle { display: none !important; }

  body { color: #000; background: #fff; }

  .hero { min-height: 0; color: #000; }
  .hero::after,
  .trust::after,
  .vtile span,
  .dest::after { background: none; }

  .site-footer { background: #fff; color: #000; }
  .site-footer a,
  .legal-id,
  .footer-base p { color: #000; }

  a { text-decoration: underline; }
  .block,
  .trust { padding: 1.25rem 0; }
}
