@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./assets/inter-latin.woff2") format("woff2");
}

:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #182d36;
  background: #fafbf8;
  color-scheme: light;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

p,
h1 {
  margin: 0;
}

img,
svg {
  display: block;
}

.bb-page {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  min-block-size: 100svh;
}

.bb-header,
.bb-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  inline-size: min(100% - 80px, 1280px);
  margin-inline: auto;
}

.bb-header {
  padding-block: 32px;
}

.bb-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-block-size: 44px;
  text-decoration: none;
}

.bb-wordmark {
  inline-size: 144px;
  block-size: auto;
  aspect-ratio: 1081.2 / 244;
  color: #065f46;
  overflow: visible;
}

/* Misma animación de Logo.astro/global.css en turibooking-web. */
.bb-wordmark .bb-pupil {
  fill: #8cc63f;
  transform-box: fill-box;
  transform-origin: center;
}

.bb-wordmark .bb-lid {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: top;
  transform: scaleY(0);
}

.bb-wordmark .bb-lashes {
  stroke: currentColor;
  stroke-width: 16;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

:is(.bb-brand:hover, .bb-brand:focus-visible) .bb-lashes {
  opacity: 1;
  transform: none;
}

:is(.bb-brand:hover, .bb-brand:focus-visible) .bb-lid {
  animation: bb-wm-blink 0.45s ease 0.2s;
}

:is(.bb-brand:hover, .bb-brand:focus-visible) .bb-pupil {
  animation: bb-wm-look 1.6s ease 0.7s;
}

@keyframes bb-wm-blink {
  0%, 100% { transform: scaleY(0); }
  45%, 55% { transform: scaleY(1); }
}

@keyframes bb-wm-look {
  0%, 100% { transform: none; }
  25%, 45% { transform: translate(16px, -10px); }
  60%, 80% { transform: translate(-14px, 4px); }
}

@media (prefers-reduced-motion: reduce) {
  .bb-wordmark .bb-lid,
  .bb-wordmark .bb-pupil,
  .bb-wordmark .bb-lashes {
    animation: none !important;
    transition: none;
  }
}

.bb-brand:focus-visible {
  outline: 2px solid #047857;
  outline-offset: 8px;
  border-radius: 4px;
}

.bb-main {
  position: relative;
  isolation: isolate;
  display: grid;
  flex: 1;
  place-items: center;
  padding: 60px 24px 76px;
}

.bb-horizon {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: clip;
  pointer-events: none;
}

.bb-horizon::before {
  position: absolute;
  inset: 4% 0 0;
  background: radial-gradient(ellipse at 50% 43%, #eaf2de 0%, #f3f7ed 34%, #fafbf800 68%);
  content: "";
}

.bb-horizon::after {
  position: absolute;
  inset-block-start: 60%;
  inset-inline-start: 50%;
  inline-size: min(1100px, 145vw);
  aspect-ratio: 2.35;
  border: 1px solid #dce5d6;
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.55;
  mask-image: linear-gradient(#000, transparent 65%);
  content: "";
}

.bb-intro {
  inline-size: 100%;
  max-inline-size: 820px;
  text-align: center;
}

h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

h1 span {
  color: #065f46;
}

.bb-lead {
  max-inline-size: 510px;
  margin: 24px auto 0;
  color: #606c65;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}

.bb-solutions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.bb-solutions li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #3f5147;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.bb-solutions svg {
  flex: none;
  inline-size: 21px;
  block-size: 21px;
  color: #55775c;
}

.bb-launch-note {
  margin-block-start: 42px;
  color: #68736c;
  font-size: 13px;
  line-height: 1.8;
}

.bb-note-line {
  display: block;
  inline-size: 32px;
  block-size: 1px;
  margin: 0 auto 18px;
  background: #bacbb2;
}

.bb-footer {
  padding-block: 24px;
  border-block-start: 1px solid #e1e7dc;
  color: #68736c;
  font-size: 12px;
  line-height: 1.6;
}

::selection {
  color: #182d36;
  background: #d9eab8;
}

@media (min-width: 1600px) {
  .bb-main {
    padding-block: 80px 100px;
  }
}

@media (max-width: 600px) {
  .bb-header,
  .bb-footer {
    inline-size: calc(100% - 40px);
  }

  .bb-header {
    gap: 16px;
    padding-block: 22px;
  }

  .bb-wordmark {
    inline-size: 120px;
  }

  .bb-main {
    padding: 42px 20px 52px;
  }

  h1 {
    font-size: clamp(40px, 8.9vw, 54px);
    letter-spacing: -0.06em;
  }

  .bb-lead {
    max-inline-size: 350px;
    font-size: 16px;
    line-height: 1.7;
  }

  .bb-solutions {
    gap: 16px 22px;
    max-inline-size: 340px;
    margin-inline: auto;
  }

  .bb-solutions li {
    font-size: 13px;
  }

  .bb-solutions li:last-child {
    justify-content: center;
    inline-size: 100%;
  }

  .bb-launch-note {
    margin-block-start: 32px;
  }

  .bb-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    padding-block: 20px;
    font-size: 11px;
    text-align: center;
  }
}
