/* Buttons */

.button {
  display: inline-flex;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--on-navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color var(--duration-state) ease,
    border-color var(--duration-state) ease,
    color var(--duration-state) ease,
    box-shadow var(--duration-state) ease,
    transform var(--duration-press) var(--ease-out);
}

.button svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  transition: transform var(--duration-state) var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--red);
  color: var(--on-red);
}

.button-navy {
  background: var(--navy);
  color: var(--on-navy);
}

.button-outline,
.button-back {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--navy);
}

.button-ghost {
  border-color: rgb(242 246 252 / 38%);
  background: transparent;
  color: var(--on-navy);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 15px;
}

.button-wide {
  width: 100%;
}

.button.is-loading {
  pointer-events: none;
  color: transparent;
  position: relative;
}

.button.is-loading::after {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--on-red);
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--navy-strong);
  }

  .button-primary:hover {
    background: var(--red-strong);
    box-shadow: 0 10px 24px rgb(217 19 19 / 22%);
  }

  .button-outline:hover,
  .button-back:hover {
    border-color: var(--navy);
    background: var(--surface);
  }

  .button-ghost:hover {
    border-color: var(--on-navy);
    background: rgb(242 246 252 / 8%);
  }

  .button:hover svg[data-lucide="arrow-right"],
  .button:hover .lucide-arrow-right {
    transform: translateX(3px);
  }

  .main-nav > a:hover {
    color: var(--navy);
  }

  .main-nav > a:hover::after {
    transform: scaleX(1);
  }

  .icon-link:hover {
    background: var(--tint);
  }

  a.proof-item:hover {
    background: var(--paper);
  }

  .registry-link:hover {
    text-decoration-color: transparent;
  }

  .footer-col > a:hover {
    color: var(--on-navy);
  }
}

/* Hero search */

.hero-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(22px, 3vw, 32px);
  padding: 6px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%), 0 24px 48px rgb(0 0 0 / 22%);
}

.hero-search-field {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 10px 14px 8px;
  border-radius: var(--radius);
  transition: background-color var(--duration-state) ease;
}

.hero-search-field:first-child {
  grid-column: 1 / -1;
}

.hero-search-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-search-field select {
  width: 100%;
  min-height: 30px;
  padding: 0 22px 0 0;
  border: 0;
  outline: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230e346f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  cursor: pointer;
  appearance: none;
}

.hero-search-field:focus-within {
  background: var(--tint);
  box-shadow: inset 0 0 0 2px var(--navy-soft);
}

.hero-search-submit {
  grid-column: 1 / -1;
  min-height: 56px;
  margin-top: 4px;
  font-size: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-search-field:hover {
    background: var(--paper);
  }
}

/* Custom select picker */

@supports (appearance: base-select) {
  .hero-search-field select,
  .field select,
  .hero-search-field select::picker(select),
  .field select::picker(select) {
    appearance: base-select;
  }

  .hero-search-field select,
  .field select {
    display: flex;
    gap: 8px;
    align-items: center;
    background-image: none;
  }

  .hero-search-field select {
    padding-right: 0;
  }

  .field select {
    padding-right: 14px;
  }

  .hero-search-field select::picker-icon,
  .field select::picker-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230e346f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat center;
    content: "";
    transition: rotate var(--duration-state) var(--ease-out);
  }

  .hero-search-field select:open::picker-icon,
  .field select:open::picker-icon {
    rotate: 180deg;
  }

  .hero-search-field select::picker(select),
  .field select::picker(select) {
    min-inline-size: max(anchor-size(self-inline), 220px);
    max-block-size: min(336px, 50dvh);
    margin-block: 10px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
    translate: 0 -6px;
    transition:
      opacity 160ms ease-out,
      translate 220ms var(--ease-out),
      overlay 220ms allow-discrete,
      display 220ms allow-discrete;
  }

  .hero-search-field select:open::picker(select),
  .field select:open::picker(select) {
    opacity: 1;
    translate: 0 0;
  }

  @starting-style {
    .hero-search-field select:open::picker(select),
    .field select:open::picker(select) {
      opacity: 0;
      translate: 0 -6px;
    }
  }

  .hero-search-field option,
  .field option {
    display: flex;
    gap: 10px;
    min-height: 40px;
    padding: 8px 12px;
    align-items: center;
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--duration-press) ease;
  }

  .hero-search-field option:focus-visible,
  .field option:focus-visible {
    outline: none;
    background: var(--tint);
  }

  .hero-search-field option:checked,
  .field option:checked {
    color: var(--navy);
    font-weight: 600;
  }

  .hero-search-field option::checkmark,
  .field option::checkmark {
    order: 1;
    margin-left: auto;
    color: var(--red);
    font-weight: 700;
  }

  @media (hover: hover) and (pointer: fine) {
    .hero-search-field option:hover,
    .field option:hover {
      background: var(--tint);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-search-field select::picker(select),
    .field select::picker(select) {
      translate: none;
    }
  }
}

/* Filters */

.tour-filters {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 28px;
  padding: 2px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.tour-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color var(--duration-state) ease,
    border-color var(--duration-state) ease,
    color var(--duration-state) ease,
    transform var(--duration-press) var(--ease-out);
}

.filter-chip:active {
  transform: scale(0.97);
}

.filter-chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}

@media (hover: hover) and (pointer: fine) {
  .filter-chip:not(.active):hover {
    border-color: var(--navy);
    color: var(--navy);
  }
}

/* Tour card */

.tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--duration-state) ease,
    opacity var(--duration-enter) var(--ease-out),
    transform var(--duration-enter) var(--ease-out);
}

.tour-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tint);
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--on-red);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.tour-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.tour-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.tour-meta > span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.tour-meta svg {
  width: 15px;
  height: 15px;
}

.tour-stars {
  color: var(--ink);
}

.tour-stars svg {
  color: var(--red);
  fill: currentColor;
  stroke-width: 0;
}

.tour-card h3 {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tour-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tour-facts li {
  display: inline-flex;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.tour-facts svg {
  width: 14px;
  height: 14px;
  color: var(--navy-soft);
}

.tour-includes {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.tour-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.price-current {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tour-cta {
  width: 100%;
}

.tours-more {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 32px;
  padding: 20px clamp(20px, 3vw, 28px);
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.tours-more p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}

.tours-more p strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.tours-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .tour-card:hover {
    box-shadow: var(--shadow-md);
  }

  .tour-card:hover .tour-image {
    transform: scale(1.04);
  }

  .tour-card:hover .tour-cta {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--on-navy);
  }
}

/* Resort tiles */

.resort-card {
  position: relative;
  display: flex;
  min-height: 340px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  background: var(--navy);
  isolation: isolate;
  transition:
    opacity var(--duration-enter) var(--ease-out),
    transform var(--duration-enter) var(--ease-out);
}

.resort-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.resort-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(8 31 69 / 92%) 0%, rgb(8 31 69 / 55%) 42%, rgb(8 31 69 / 0%) 72%);
  content: "";
}

.resort-body {
  display: grid;
  width: 100%;
  padding: 20px;
  color: var(--on-navy);
}

.resort-price {
  color: #d3ddec;
  font-size: 14px;
}

.resort-price strong {
  color: var(--on-navy);
  font-size: 16px;
  font-weight: 700;
}

.resort-card h3 {
  margin-top: 2px;
  color: var(--on-navy);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.resort-text {
  display: -webkit-box;
  max-width: 44ch;
  margin-top: 6px;
  overflow: hidden;
  color: #d3ddec;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resort-cta {
  display: inline-flex;
  gap: 6px;
  width: fit-content;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color var(--duration-state) ease,
    color var(--duration-state) ease,
    transform var(--duration-press) var(--ease-out);
}

.resort-cta::after {
  position: absolute;
  inset: 0;
  content: "";
}

.resort-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-state) var(--ease-out);
}

.resort-cta:active {
  transform: scale(0.97);
}

.resort-cta:focus-visible {
  outline: none;
}

.resort-card:has(.resort-cta:focus-visible) {
  outline: 2px solid var(--navy-soft);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .resort-card:hover .resort-image {
    transform: scale(1.05);
  }

  .resort-card:hover .resort-cta {
    background: var(--red);
    color: var(--on-red);
  }

  .resort-card:hover .resort-cta svg {
    transform: translate(2px, -2px);
  }
}

/* Checklist */

.checklist-card {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.checklist-visual {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--tint);
  color: var(--navy);
}

.checklist-visual svg {
  width: 30px;
  height: 30px;
}

.checklist-visual span {
  position: absolute;
  right: -8px;
  bottom: -6px;
  padding: 2px 7px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--on-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.checklist-copy h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.checklist-copy p {
  max-width: 60ch;
  margin-top: 6px;
  color: var(--muted);
}

/* Reviews */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: clamp(20px, 2vw, 28px);
  align-items: flex-end;
  justify-content: space-between;
}

.reviews-head .section-heading {
  flex: 1 1 480px;
  margin-bottom: 0;
}

.rating-badge {
  display: inline-flex;
  gap: 14px;
  padding: 14px 20px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  transition: box-shadow var(--duration-state) ease;
}

.rating-badge strong {
  color: var(--navy);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.review-widget {
  min-height: 320px;
}

@media (hover: hover) and (pointer: fine) {
  .rating-badge:hover {
    box-shadow: var(--shadow-md);
  }
}

/* Process */

.process-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 4px;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 20px;
}

.process-list li:not(:last-child)::before {
  position: absolute;
  top: 44px;
  bottom: 0;
  left: 19px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  content: "";
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 44px;
  bottom: 0;
  left: 19px;
  width: 2px;
  border-radius: 2px;
  background: var(--navy);
  content: "";
  transform: scaleY(1);
  transform-origin: top center;
  transition: transform 500ms var(--ease-in-out);
}

.process-step {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.process-list h3 {
  padding-top: 7px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 300ms ease;
}

.process-list p {
  max-width: 46ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.is-pending .process-list li:not(.is-reached) h3 {
  color: var(--muted);
}

.is-pending .process-list li:not(.is-reached) .process-step {
  background: var(--tint);
  color: var(--navy);
}

.is-pending .process-list li:not(.is-reached)::after,
.is-pending .process-list li.is-reached:has(+ li:not(.is-reached))::after {
  transform: scaleY(0);
}

.chat {
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.chat-head {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-navy);
}

.chat-avatar svg {
  width: 20px;
  height: 20px;
}

.chat-title {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.chat-title b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.chat-status {
  grid-area: 2 / 1;
  color: var(--muted);
  font-size: 13px;
  transition: opacity var(--duration-state) ease;
}

.chat-status-typing {
  color: var(--navy-soft);
  font-weight: 500;
  opacity: 0;
}

.chat.is-typing .chat-status:not(.chat-status-typing) {
  opacity: 0;
}

.chat.is-typing .chat-status-typing {
  opacity: 1;
}

.chat-tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--paper);
}

.chat-msg {
  display: grid;
  gap: 8px;
  max-width: 86%;
  padding: 10px 14px 8px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.45;
  transition:
    opacity 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}

.chat-msg:has(.chat-tours) {
  max-width: 100%;
}

.chat-msg time {
  justify-self: end;
  margin-top: -4px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.chat-msg-out {
  align-self: flex-end;
  background: var(--navy);
  color: var(--on-navy);
}

.chat-msg-out time {
  color: var(--on-navy-muted);
}

.chat-msg-in {
  align-self: flex-start;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(14 52 111 / 8%);
  color: var(--ink);
}

.chat-msg-in time {
  color: var(--muted);
}

.is-pending .chat-msg:not(.is-shown) {
  opacity: 0;
  transform: translateY(8px);
}

.chat-tours {
  display: grid;
  gap: 6px;
}

.chat-tours li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--paper);
}

.chat-tours img {
  width: 56px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: cover;
}

.chat-tours span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.chat-tours b {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-tours strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.chat-file {
  display: flex;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--paper);
}

.chat-file > svg {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--navy);
}

.chat-file span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.chat-file b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
/* Lead form */

.lead-form {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.lead-form-head {
  margin-bottom: 22px;
}

.lead-form-step {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.lead-form-progress {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
}

.lead-form-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: transform 400ms var(--ease-in-out);
}

.lead-form-tour {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 12px;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--text);
  font-size: 14px;
}

.lead-form-tour > svg {
  flex: 0 0 18px;
  width: 18px;
  color: var(--navy);
}

.lead-form-tour strong {
  color: var(--navy);
}

.lead-form-tour button {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  place-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  transition: background-color var(--duration-state) ease;
}

.lead-form-tour button svg {
  width: 16px;
}

.lead-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > label,
.field-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  transition: border-color var(--duration-state) ease, box-shadow var(--duration-state) ease;
}

.field select {
  padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230e346f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
  appearance: none;
}

.field textarea {
  min-height: 96px;
  padding-block: 12px;
  resize: vertical;
}

.field:has(> select),
.field[data-children-ages] {
  position: relative;
}

.field:has(> select) > label,
.field[data-children-ages] > label {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 15.5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  pointer-events: none;
}

.field select,
.field[data-children-ages] input {
  min-height: 60px;
  padding-top: 22px;
}

.field select {
  font-weight: 600;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgb(28 74 143 / 16%);
}

.field .invalid {
  border-color: var(--red);
}

.field .invalid:focus {
  box-shadow: 0 0 0 3px rgb(217 19 19 / 14%);
}

.field-error {
  min-height: 0;
  color: var(--red-strong);
  font-size: 13px;
}

.field-error:empty {
  display: none;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color var(--duration-state) ease,
    border-color var(--duration-state) ease,
    color var(--duration-state) ease,
    transform var(--duration-press) var(--ease-out);
}

.choice span svg {
  width: 16px;
  height: 16px;
}

.choice:active span {
  transform: scale(0.97);
}

.choice input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-navy);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--navy-soft);
  outline-offset: 3px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.checkbox input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  accent-color: var(--navy);
}

.checkbox a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  color: var(--red-strong);
  font-size: 14px;
}

.lead-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.lead-success {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-block: 28px;
  text-align: center;
  outline: none;
}

.lead-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.lead-success p {
  max-width: 46ch;
  color: var(--muted);
}

.lead-success .button {
  margin-top: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .lead-step:not([hidden]),
  .lead-success:not([hidden]) {
    animation: step-in 320ms var(--ease-out) both;
  }
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .lead-form-tour button:hover {
    background: var(--surface);
    color: var(--navy);
  }

  .choice:hover input:not(:checked) + span {
    border-color: var(--navy);
  }

  .field select:hover,
  .field input:hover,
  .field textarea:hover {
    border-color: var(--navy-soft);
  }
}

/* Online search */

.search-widget {
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.search-widget.is-loaded {
  display: block;
  min-height: 600px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.widget-fallback {
  display: grid;
  max-width: 460px;
  gap: 10px;
  justify-items: center;
  padding: 36px 20px;
  text-align: center;
}

.widget-fallback > svg {
  width: 32px;
  height: 32px;
  color: var(--navy);
}

.widget-fallback h3 {
  font-size: 1.375rem;
  font-weight: 700;
}

.widget-fallback p {
  color: var(--muted);
}

.widget-fallback .button {
  margin-top: 8px;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(14 52 111 / 5%);
  transition: box-shadow var(--duration-state) ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  border-radius: inherit;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--navy-soft);
  transition: transform var(--duration-state) var(--ease-out);
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text);
  font-size: 15px;
}

.faq-answer p {
  max-width: 68ch;
}

@supports selector(::details-content) {
  :root {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 260ms var(--ease-out),
      content-visibility 260ms allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:not([open]):hover {
    box-shadow: var(--shadow-sm);
  }
}

/* Contacts */

.contacts-grid {
  display: grid;
  gap: 16px;
}

.contact-panel,
.route-panel {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
}

.contact-panel {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-panel-title,
.route-panel h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.contact-list {
  display: grid;
  margin-top: 14px;
  font-style: normal;
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 12px 10px;
  margin-inline: -10px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-state) ease;
}

.contact-row > svg {
  flex: 0 0 20px;
  width: 20px;
  margin-top: 3px;
  color: var(--navy-soft);
}

.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-row strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.contact-socials {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-socials-label {
  color: var(--muted);
  font-size: 14px;
}

.contact-socials-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.contact-socials-links a,
.socials a {
  display: inline-flex;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: background-color var(--duration-state) ease, color var(--duration-state) ease;
}

.contact-socials-links svg,
.socials svg {
  width: 16px;
  height: 16px;
}

.route-panel {
  background: var(--navy);
  color: var(--on-navy-muted);
}

.route-panel h3,
.route-panel h4 {
  color: var(--on-navy);
}

.route-lead {
  margin-top: 8px;
}

.route-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.route-item {
  display: flex;
  gap: 14px;
}

.route-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgb(242 246 252 / 10%);
  color: var(--on-navy);
}

.route-icon svg {
  width: 20px;
}

.route-item h4 {
  font-size: 16px;
  font-weight: 600;
}

.route-item p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
}

.route-item strong {
  color: var(--on-navy);
  font-weight: 600;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer .socials a {
  background: rgb(242 246 252 / 10%);
  color: var(--on-navy);
}

@media (hover: hover) and (pointer: fine) {
  a.contact-row:hover {
    background: var(--paper);
  }

  .contact-socials-links a:hover {
    background: var(--navy);
    color: var(--on-navy);
  }

  .site-footer .socials a:hover {
    background: rgb(242 246 252 / 20%);
  }
}

/* Floating controls */

.back-to-top {
  position: fixed;
  z-index: 800;
  right: 18px;
  bottom: 150px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  color: var(--on-navy);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity var(--duration-state) ease,
    transform var(--duration-state) var(--ease-out),
    background-color var(--duration-state) ease;
}

.back-to-top svg {
  width: 20px;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:active {
  transform: scale(0.94);
}

.mobile-cta {
  position: fixed;
  z-index: 900;
  inset: auto 12px 12px;
  display: flex;
  gap: 8px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--red);
  box-shadow: 0 10px 26px rgb(217 19 19 / 28%);
  color: var(--on-red);
  font-size: 17px;
  font-weight: 600;
  transition:
    opacity var(--duration-state) ease,
    transform var(--duration-state) var(--ease-out),
    visibility var(--duration-state);
}

.mobile-cta svg {
  width: 18px;
}

.mobile-cta:active {
  transform: scale(0.97);
}

body #socialButtons {
  bottom: 82px !important;
}

body.hero-search-visible .mobile-cta,
body.lead-form-visible .mobile-cta,
body.menu-open .mobile-cta {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

body.menu-open .back-to-top,
body.menu-open #socialButtons {
  visibility: hidden;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: var(--navy-strong);
  }
}

/* Modals */

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgb(8 31 69 / 56%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.modal-dialog {
  position: relative;
  display: grid;
  width: min(100%, 460px);
  max-height: calc(100dvh - 32px);
  gap: 12px;
  padding: 32px 28px 28px;
  overflow: auto;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  justify-items: start;
  opacity: 0;
  outline: none;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 220ms var(--ease-out),
    transform 240ms var(--ease-out);
}

.modal.is-open .modal-overlay,
.modal.is-open .modal-dialog {
  opacity: 1;
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-dialog h2 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modal-dialog > p {
  color: var(--muted);
}

.modal-dialog .button-wide {
  margin-top: 8px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color var(--duration-state) ease, color var(--duration-state) ease, transform var(--duration-press) var(--ease-out);
}

.modal-close svg {
  width: 20px;
}

.modal-close:active {
  transform: scale(0.94);
}

.modal-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--tint);
  color: var(--navy);
}

.modal-icon svg {
  width: 26px;
}

.lead-success .modal-icon {
  border-radius: 50%;
  background: #e5f4ea;
  color: var(--success);
}

.exit-modal-skip {
  justify-self: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-modal .modal-dialog {
  width: min(100%, 900px);
  justify-items: stretch;
  padding: 24px;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--tint);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: min(450px, 60dvh);
  border: 0;
}

.map-address {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}

.map-address svg {
  width: 18px;
  color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
  .modal-close:hover {
    background: var(--tint);
    color: var(--navy);
  }

  .exit-modal-skip:hover {
    color: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-dialog {
    transform: none;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
