/*
 * Speedybus — conversion-first monochrome system.
 * Black, white and one intentional signal: WhatsApp green.
 */

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html {
  background: var(--tinta);
}

body {
  overflow-x: hidden;
  background: var(--bg);
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--tinta);
  font-size: 16px;
  line-height: 1.55;
}

::selection {
  background: var(--lava);
  color: #fff;
}

.wrap {
  max-width: 1380px;
  padding-inline: clamp(22px, 5vw, 76px);
}

h1,
h2 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: inherit;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

h3,
.hero-sub,
.veh p,
.dest p,
.quote blockquote,
.cta-side {
  text-wrap: pretty;
}

/* Header — transparent over the island, quiet glass once content scrolls below it. */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border: 0;
  background: transparent;
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .45s ease, box-shadow .45s ease, color .3s ease, backdrop-filter .45s ease;
}

header.is-scrolled {
  background: rgb(255 255 255 / 78%);
  color: var(--tinta);
  box-shadow: 0 1px 0 rgb(10 10 10 / 8%);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.is-scrolled {
    background: rgb(255 255 255 / 96%);
  }
}

.bar {
  min-height: 76px;
  padding-block: 12px;
}

.logo img {
  display: block;
  width: 126px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}

.logo {
  text-decoration: none;
}

.logo::after {
  content: none;
}

.bar-right {
  gap: clamp(13px, 2vw, 28px);
}

.bar-tel {
  color: rgb(255 255 255 / 86%);
  font-size: 14px;
  font-weight: 500;
  transition: color .3s ease;
}

.lang {
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.lang a {
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
  letter-spacing: .11em;
}

.lang a[aria-current='page'] {
  position: relative;
  background: transparent;
  color: #fff;
}

header.is-scrolled .logo img {
  filter: none;
}

header.is-scrolled .bar-tel {
  color: var(--tinta);
}

header.is-scrolled .lang a {
  color: var(--tinta-suave);
}

header.is-scrolled .lang a[aria-current='page'] {
  color: var(--tinta);
}

.lang a[aria-current='page']::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
}

.btn-wa,
.btn-wa-big {
  color: #07140a;
  border-radius: 3px;
  box-shadow: none;
  font-weight: 600;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-wa {
  padding: 11px 18px;
  font-size: 14px;
}

.btn-wa:hover,
.btn-wa-big:hover {
  box-shadow: 0 12px 28px -18px #071d10;
}

.btn-wa:active,
.btn-wa-big:active,
.fab:active {
  transform: translateY(1px) scale(.985);
}

/* Hero — one photographic Lanzarote cover, with no card or split-screen scaffolding. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(720px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: clamp(150px, 19vh, 210px) 0 clamp(84px, 11vh, 126px);
  background: url('/ai-images/playablanca-1280.webp') center 58% / cover no-repeat;
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 15 20 / 78%) 0%, rgb(4 15 20 / 66%) 55%, rgb(4 15 20 / 34%) 82%, rgb(4 15 20 / 30%) 100%),
    linear-gradient(0deg, rgb(4 15 20 / 38%) 0%, transparent 48%);
  content: '';
}

.hero::after {
  content: none;
}

/* .hero is a grid container, so the wrap's `margin:0 auto` would shrink it to
   fit-content and centre it — breaking alignment with every other section. */
.hero > .wrap {
  width: 100%;
}

.hero-grid {
  display: block;
}

.hero-grid > div {
  max-width: min(1120px, 84vw);
}

.kicker {
  display: block;
  margin-bottom: clamp(24px, 4vh, 44px);
  color: rgb(255 255 255 / 82%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(62px, 7.4vw, 106px);
  line-height: .9;
  text-shadow: 0 2px 32px rgb(0 0 0 / 18%);
}

h1 em {
  display: block;
  color: #fff;
}

.hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -12px 0 28px;
  color: rgb(255 255 255 / 75%);
  font-size: 13px;
}

.hero-rating > span[aria-hidden='true'] {
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
}

.hero-rating .rating-copy {
  min-width: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 13px;
  letter-spacing: 0;
}

.hero-rating strong {
  color: #fff;
  font-weight: 600;
}

.hero-sub {
  max-width: 37ch;
  margin-bottom: 38px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}

.hero-cta {
  gap: 20px;
}

.btn-wa-big {
  padding: 18px 25px;
  font-size: 17px;
}

.hero-note {
  max-width: 32ch;
  color: rgb(255 255 255 / 76%);
  font-size: 13px;
}

.hero-note strong {
  color: #fff;
}

/* Motion — one deliberate entrance, then restrained scroll reveals. */
.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .78s cubic-bezier(.16, 1, .3, 1), transform .78s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .hero .rv {
  transform: translateY(34px);
  transition-duration: 1.05s;
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

.js .hero .rv {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Editorial section rhythm */
section {
  padding: clamp(90px, 12vh, 158px) 0;
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(150px, 3fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(54px, 8vh, 94px);
}

h2 {
  max-width: 14ch;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: .96;
}

h2 em {
  color: var(--teal);
}

.sec-num {
  justify-self: end;
  padding-bottom: 7px;
  color: var(--tinta-suave);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Fleet — an irregular catalogue, with the vehicles fully visible. */
#flota {
  background: var(--bg);
}

.fleet-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px 24px;
  align-items: start;
}

.veh {
  grid-column: span 4;
}

.veh:nth-child(1) {
  grid-column: span 5;
}

.veh:nth-child(2) {
  grid-column: span 4;
  margin-top: 70px;
}

.veh:nth-child(3) {
  grid-column: span 3;
  margin-top: 140px;
}

.veh figure {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background: #efefef;
}

.veh img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  outline: 1px solid color-mix(in oklab, var(--tinta) 13%, transparent);
  outline-offset: -1px;
  object-fit: contain;
  object-position: center;
  transition: transform .55s ease;
}

.veh:hover img {
  transform: scale(1.015);
}

.veh .cap {
  margin: 18px 0 8px;
  color: var(--lava);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.veh h3 {
  margin-bottom: 7px;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.02em;
}

.veh p {
  max-width: 31ch;
  color: var(--tinta-suave);
  font-size: 13.5px;
}

/* Destinations — image-led, deliberately uneven. */
#destinos {
  background: #f6f6f6;
}

.dest-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px) 24px;
  align-items: start;
}

.dest,
.dest.wide {
  grid-column: span 3;
}

.dest:nth-child(1) {
  grid-column: span 7;
}

.dest:nth-child(2) {
  grid-column: span 5;
  margin-top: 100px;
}

.dest:nth-child(3) {
  grid-column: 2 / span 3;
}

.dest:nth-child(4) {
  grid-column: 5 / span 4;
  margin-top: 80px;
}

.dest:nth-child(5) {
  grid-column: 9 / span 3;
  margin-top: 26px;
}

.dest figure {
  overflow: hidden;
  border-radius: 0;
}

.dest img {
  height: clamp(250px, 35vw, 520px);
  border-radius: 0;
  outline: 1px solid color-mix(in oklab, var(--tinta) 13%, transparent);
  outline-offset: -1px;
  filter: none;
  transition: transform .55s ease, filter .55s ease;
}

.dest:nth-child(n+3) img {
  height: clamp(230px, 26vw, 360px);
}

.dest:hover img {
  transform: scale(1.012);
  filter: none;
}

.dest h3 {
  margin: 17px 0 5px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.dest p {
  display: none;
}

/* Reviews — one lead voice, two supporting notes. */
.testi {
  background: var(--surface);
}

.testi-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 0 clamp(52px, 8vw, 128px);
}

.quote {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.quote:first-child {
  grid-row: span 2;
  padding: 0 clamp(28px, 4vw, 60px) 0 0;
  border: 0;
  border-right: 1px solid var(--line);
}

.quote:first-child blockquote {
  max-width: 23ch;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(31px, 3.7vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.quote blockquote {
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.quote cite {
  color: var(--tinta-suave);
  font-size: 12px;
}

.quote cite b {
  color: var(--tinta);
  font-size: 13px;
  font-weight: 600;
}

.stars {
  margin-bottom: 22px;
  color: var(--lava);
  font-size: 11px;
}

/* Final action */
.cta {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}

.cta::after {
  position: absolute;
  right: -8vw;
  bottom: -28vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid color-mix(in oklab, #fff 17%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw color-mix(in oklab, #fff 3%, transparent), 0 0 0 10vw color-mix(in oklab, #fff 2%, transparent);
  content: '';
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 8fr) minmax(270px, 3fr);
  gap: clamp(50px, 9vw, 148px);
}

.cta h2 {
  max-width: 9ch;
  margin-bottom: 38px;
  font-size: clamp(64px, 8vw, 112px);
  line-height: .88;
}

.cta h2 em {
  display: block;
  color: #fff;
}

.cta .btn-wa-big {
  padding: 19px 27px;
  font-size: 17px;
}

.cta-side {
  gap: 25px;
  color: #d7d7d7;
  font-size: 14px;
}

.cta-side > div {
  padding-top: 13px;
  border-top: 1px solid #3a3a3a;
}

.cta-side small {
  margin-bottom: 7px;
  color: #b7b7b7;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cta-side a {
  font-size: 15px;
}

footer {
  padding: 36px 0 28px;
  border-color: #343936;
  background: var(--tinta);
  color: #8f958f;
}

.foot-brand img {
  display: block;
}

.foot-links {
  row-gap: 11px;
  margin-bottom: 30px;
}

.foot-links a,
footer a {
  color: #aeb3ae;
  font-size: 12px;
}

.foot {
  border-color: #343936;
}

.fab {
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.fab svg {
  fill: #07140a;
}

@media (max-width: 1020px) {
  h1 {
    font-size: clamp(60px, 8.8vw, 90px);
  }

  .veh:nth-child(1),
  .veh:nth-child(2),
  .veh:nth-child(3) {
    grid-column: span 4;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100svh;
    padding: clamp(132px, 18vh, 170px) 0 82px;
    background-position: 59% center;
  }

  .hero-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: block;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(58px, 12vw, 86px);
  }

  .fleet-grid {
    gap: 54px 22px;
  }

  .veh:nth-child(1),
  .veh:nth-child(2),
  .veh:nth-child(3) {
    grid-column: span 6;
  }

  .veh:nth-child(3) {
    grid-column: 4 / span 6;
  }

  .dest:nth-child(1),
  .dest:nth-child(2) {
    grid-column: span 6;
    margin-top: 0;
  }

  .dest:nth-child(3),
  .dest:nth-child(4),
  .dest:nth-child(5) {
    grid-column: span 4;
    margin-top: 0;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .quote:first-child {
    grid-row: auto;
    padding: 0 0 44px;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 20px;
  }

  .bar {
    min-height: 66px;
    gap: 10px;
  }

  .logo img {
    display: block;
    width: 104px;
  }

  .bar-right {
    gap: 10px;
  }

  .lang {
    gap: 11px;
  }

  .lang a {
    min-width: 0;
    padding: 0;
  }

  .btn-wa {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  .btn-wa span,
  .bar-tel {
    display: none;
  }

  .hero {
    min-height: max(700px, 100svh);
    align-items: end;
    padding: 126px 0 62px;
    background-image: url('/ai-images/playablanca-960.webp');
    background-position: 62% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgb(4 15 20 / 80%) 0%, rgb(4 15 20 / 56%) 72%, rgb(4 15 20 / 32%) 100%),
      linear-gradient(0deg, rgb(4 15 20 / 52%) 0%, transparent 62%);
  }

  .hero-grid > div {
    max-width: 100%;
  }

  .kicker {
    margin-bottom: 26px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(51px, 15.5vw, 66px);
    line-height: .91;
    text-wrap: wrap;
  }

  html[lang='fr'] h1 {
    font-size: clamp(49px, 14.5vw, 60px);
    text-wrap: wrap;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-cta {
    display: grid;
  }

  .btn-wa-big {
    width: 100%;
    justify-content: center;
    padding: 17px 18px;
    text-align: center;
  }

  .hero-note {
    max-width: none;
  }

  section {
    padding: 84px 0;
  }

  .sec-head {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 48px;
  }

  .sec-num {
    align-self: flex-start;
    padding: 0;
  }

  h2 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .fleet-grid,
  .dest-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .veh:nth-child(1),
  .veh:nth-child(2),
  .veh:nth-child(3),
  .dest:nth-child(1),
  .dest:nth-child(2),
  .dest:nth-child(3),
  .dest:nth-child(4),
  .dest:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
  }

  .veh:nth-child(even) {
    width: 88%;
    margin-left: auto;
  }

  .dest:nth-child(even) {
    width: 88%;
    margin-left: auto;
  }

  .dest img,
  .dest:nth-child(n+3) img {
    height: min(74vw, 360px);
  }

  .testi-grid {
    gap: 0;
  }

  .quote:first-child blockquote {
    font-size: 37px;
  }

  .quote {
    padding: 30px 0;
  }

  .cta h2 {
    font-size: clamp(62px, 18vw, 84px);
  }

  .cta::after {
    right: -34vw;
    bottom: -24vw;
    width: 92vw;
    height: 92vw;
  }

  .foot {
    align-items: flex-start;
  }
}

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

  .js .rv,
  .js .hero .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .veh img,
  .dest img {
    transition: none;
  }
}
