/* ==========================================================================
   keliones.lt — landing page
   Tokens mirror the design variables (kelioneslt.pen)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted)
   Fraunces 600 is the static "opsz 9" instance the design is drawn with.
   The unicode ranges leave out the combining marks (U+0304, U+0308, U+0329)
   that Google Fonts lists for its subsets: with them Chrome draws ū / ā from
   the basic "latin" file as "u" + a loose macron instead of the real glyph.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Design variables */
  --brand-red: #D7262B;
  --navy: #1E3A5F;
  --navy-deep: #14253D;
  --bg: #FFFFFF;
  --bg-soft: #F5F3EE;
  --text-primary: #16181D;
  --text-secondary: #5E6572;
  --text-muted: #8A909B;
  --line: #E6E3DC;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Supporting colours used in the design */
  --on-dark: #FFFFFF;
  --on-dark-soft: #D5DBE5;
  --on-dark-muted: #AEB8C8;
  --on-dark-dim: #7F8A9C;
  --on-dark-70: #FFFFFFB3;
  --on-dark-60: #FFFFFF99;
  --glass: #FFFFFF1A;
  --glass-soft: #FFFFFF14;
  --glass-line: #FFFFFF33;
  --footer-line: #FFFFFF1F;
  --star: #E8A317;
  --alert: #C2410C;
  --live: #4ADE80;
  --accent-soft: #FCECEC;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5.5556vw, 80px);
  --section-y: clamp(48px, 5vw, 72px);
  --radius-card: 16px;
  --radius-pill: 999px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--on-dark);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Lucide icons (stroke) */
.icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */

.eyebrow {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow--live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 2.78vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.125;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 25px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.text-link:hover .icon--arrow {
  transform: translateX(3px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn--sm {
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
}

.btn--red {
  background: var(--brand-red);
  color: var(--on-dark);
}

.btn--red:hover {
  background: #BF1F24;
}

.btn--navy {
  background: var(--navy-deep);
  color: var(--on-dark);
}

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

.btn--outline {
  box-shadow: inset 0 0 0 1.5px var(--navy-deep);
  color: var(--navy-deep);
}

.btn--outline:hover {
  background: var(--navy-deep);
  color: var(--on-dark);
}

.btn--outline-light {
  box-shadow: inset 0 0 0 1px #FFFFFF66;
  color: var(--on-dark);
}

.btn--outline-light:hover {
  background: var(--glass);
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--navy-deep);
  color: var(--on-dark-soft);
  font-size: 12px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__item .icon {
  width: 14px;
  height: 14px;
  color: var(--on-dark-muted);
}

.topbar a:hover {
  color: var(--on-dark);
}

.topbar {
  position: relative;
  z-index: 30;
}

.lang {
  position: relative;
}

.lang__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--on-dark-muted);
}

.lang__toggle .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lang__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 16px 40px #14253D33, 0 0 0 1px var(--line);
  color: var(--text-primary);
  font-size: 13px;
}

.lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 16px;
  transition: background-color 0.15s ease;
}

.topbar .lang__option:hover {
  background: var(--bg-soft);
  color: var(--text-primary);
}

.lang__option[aria-current="true"] {
  font-weight: 600;
}

.lang__code {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang__option[aria-current="true"] .lang__code {
  color: var(--brand-red);
}

.lang__menu :focus-visible {
  outline-color: var(--navy);
}

/* Flags, 22 × 15 */
.flag {
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  background: center / cover no-repeat;
}

.flag--lt {
  background-image: linear-gradient(#FDB913 33.33%, #006A44 33.33% 66.66%, #C1272D 66.66%);
}

.flag--ru {
  background-image: linear-gradient(#FFFFFF 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66%);
  box-shadow: inset 0 0 0 1px #0000001A;
}

.flag--ua {
  background-image: linear-gradient(#0057B7 50%, #FFD700 50%);
}

.flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60v-30z' fill='%23012169'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.logo img {
  width: 152px;
  height: 40px;
  object-fit: contain;
}

.nav {
  align-self: stretch;
}

.nav__list {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 100%;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  text-align: center;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--brand-red);
}

/* "page" = the page itself (red + underline bar); "true" = the section the
   current page belongs to, e.g. on an article (red only). */
.nav__link[aria-current] {
  color: var(--brand-red);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--brand-red);
}

.nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Submenu dropdown (design: "Submenu D – Simple list") */
.submenu {
  position: absolute;
  top: calc(100% - 7px);
  left: -24px;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 2px;
  width: 260px;
  padding: 7px; /* 8px inset including the 1px border, as in the design */
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 12px 28px #14253D24;
}

.nav__item.is-open > .submenu {
  display: flex;
}

.submenu__link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 18px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.submenu__link:hover,
.submenu__link:focus-visible {
  background: var(--bg-soft);
  color: var(--brand-red);
  font-weight: 600;
}

/* Page overlay behind the opened burger menu (used at 1180px and below) */
.nav-overlay {
  display: none;
}

/* Promo + "Gauti pasiūlymą" at the end of the burger menu (hidden on desktop) */
.nav__promo {
  display: none;
}

/* Expand / collapse button, used in the mobile menu only */
.nav__sub-toggle {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 41px;
  height: 41px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-primary);
}

.nav-toggle .icon {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon--close,
.nav-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 620px;
  padding: 80px var(--gutter);
  background:
    linear-gradient(180deg, #14253DE6 0%, #14253D99 50%, #14253DF2 100%),
    var(--navy-deep);
  color: var(--on-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  font-size: 13px;
  font-weight: 500;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.28vw, 76px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.0263;
}

.hero__sub {
  max-width: 720px;
  color: var(--on-dark-70);
  font-size: 18px;
  line-height: 27px;
}

/* Search widget */
.search {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 1200px;
  padding: 8px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 24px 64px #00000059;
  color: var(--text-primary);
}

.search__field {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.search__field + .search__field {
  border-left: 1px solid var(--line);
}

.search__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 60px;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: left;
  transition: background-color 0.15s ease;
}

.search__trigger:hover {
  background: #FAF9F6;
}

.search__trigger[aria-expanded="true"] {
  background: var(--bg-soft);
}

.search__trigger > .icon {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
}

.search__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.search__label {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 15px;
}

.search__value {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search__value.is-placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 12px;
  background: var(--brand-red);
  color: var(--on-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  transition: background-color 0.2s ease;
}

.search__btn:hover {
  background: #BF1F24;
}

.search__btn .icon {
  width: 18px;
  height: 18px;
}

/* --- Search popovers ------------------------------------------------------ */

.popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 16px 40px #14253D2E;
  color: var(--text-primary);
  font-size: 14px;
  text-align: left;
  overflow: hidden;
}

.popover--airport { width: 300px; }
.popover--destination { width: 500px; }
.popover--date { width: 720px; }
.popover--duration { width: 320px; }
.popover--travellers { width: 320px; }

.popover__body {
  min-height: 0;
  overflow-y: auto;
}

.popover__header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text-secondary);
  line-height: 20px;
}

.popover__header strong {
  color: var(--text-primary);
  font-weight: 600;
}

.popover__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

.popover__title {
  font-weight: 600;
}

.popover__meta {
  color: var(--text-secondary);
  font-size: 12px;
}

.popover__meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.popover__footer {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.popover__clear {
  padding: 8px 4px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.popover__clear:hover {
  color: var(--text-primary);
}

.popover__apply {
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--navy-deep);
  color: var(--on-dark);
  font-weight: 600;
  line-height: 17px;
  transition: background-color 0.15s ease;
}

.popover__apply:hover {
  background: var(--navy);
}

/* Checkbox mark (airports, countries, regions) */
.checkbox {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #C9CED6;
  border-radius: 4px;
  background: var(--bg) center / 12px 12px no-repeat;
}

.checkbox.is-checked,
.checkbox.is-mixed {
  border-color: var(--brand-red);
  background-color: var(--brand-red);
}

.checkbox.is-checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.checkbox.is-mixed {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Airports */
.option-list {
  padding-block: 6px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  line-height: 18px;
  text-align: left;
  transition: background-color 0.15s ease;
}

.option:hover {
  background: #FAF9F6;
}

.option[aria-selected="true"] {
  background: var(--accent-soft);
}

.option__code {
  color: var(--text-secondary);
}

/* Destinations */
.dest-search {
  flex: none;
  padding: 16px 16px 12px;
}

.dest-search__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.dest-search__box:focus-within {
  border-color: var(--navy);
}

.dest-search__icon {
  display: flex;
  color: var(--text-secondary);
}

.dest-search__icon .icon {
  width: 18px;
  height: 18px;
}

.dest-search__input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 18px;
}

.dest-search__input:focus {
  outline: none;
}

.dest-search__input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.dest-results {
  flex: 1;
  min-height: 96px;
  max-height: 400px;
}

.dest-heading {
  padding: 12px 16px;
  background: #FAF9F6;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dest-empty {
  padding: 32px 16px;
  color: var(--text-secondary);
  text-align: center;
}

.dest-country + .dest-country {
  border-top: 1px solid var(--line);
}

.dest-country.is-expanded {
  background: #FAF9F6;
}

.dest-country__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.dest-country__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.dest-country__toggle .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.dest-country.is-expanded .dest-country__toggle .icon {
  transform: rotate(90deg);
}

.dest-flag {
  flex: none;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px #0000000F;
}

.dest-country__name {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  text-align: left;
}

.dest-country__title {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.dest-country__count {
  flex: none;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.dest-country.is-expanded .dest-country__count {
  background: var(--line);
}

.dest-regions {
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}

.dest-region {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 48px;
  line-height: 18px;
  text-align: left;
  transition: background-color 0.15s ease;
}

.dest-region:hover {
  background: #14253D08;
}

/* Hotel autocomplete rows (search.js, like the travels app) */
.dest-hotel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  transition: background-color 0.15s ease;
}

.dest-hotel + .dest-hotel {
  border-top: 1px solid var(--line);
}

.dest-hotel:hover {
  background: #14253D08;
}

.dest-hotel .checkbox {
  margin-top: 1px;
}

.dest-hotel__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dest-hotel__title {
  font-weight: 600;
  line-height: 18px;
}

.dest-hotel__stars {
  color: var(--star);
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.dest-hotel__place {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 16px;
}

/* Calendar */
.calendar {
  display: flex;
  gap: 32px;
  padding: 24px;
}

.calendar__month {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.calendar__title {
  font-size: 15px;
  font-weight: 700;
}

.calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.calendar__nav .icon {
  width: 18px;
  height: 18px;
}

.calendar__nav:hover:not(:disabled) {
  background: var(--bg-soft);
}

.calendar__nav:disabled {
  color: #C9CED6;
  cursor: not-allowed;
}

/* One pair of arrows for the two months side by side */
.calendar__month:first-child .calendar__nav--next,
.calendar__month:last-child .calendar__nav--prev {
  visibility: hidden;
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar__weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.calendar__day:hover:not(:disabled) {
  background: var(--bg-soft);
}

.calendar__day:disabled {
  color: #C9CED6;
  cursor: not-allowed;
}

.calendar__day.is-today {
  box-shadow: inset 0 0 0 1px var(--brand-red);
  color: var(--brand-red);
  font-weight: 700;
}

.calendar__day.is-in-range,
.calendar__day.is-in-range:hover:not(:disabled) {
  border-radius: 0;
  background: var(--accent-soft);
  box-shadow: none;
  color: var(--text-primary);
}

.calendar__day.is-endpoint,
.calendar__day.is-endpoint:hover:not(:disabled) {
  border-radius: 8px;
  background: var(--brand-red);
  box-shadow: none;
  color: var(--on-dark);
  font-weight: 600;
}

/* Nights */
.nights-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 0 12px 12px;
}

.night {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.night:hover {
  background: var(--bg-soft);
}

.night.is-in-range {
  border-color: transparent;
  background: var(--accent-soft);
}

.night.is-endpoint {
  border-color: transparent;
  background: var(--brand-red);
  color: var(--on-dark);
  font-weight: 600;
}

/* Travellers */
.travellers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.stepper-row,
.child-age {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stepper-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stepper-row__title {
  font-weight: 600;
}

.stepper-row__caption {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.stepper {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.15s ease;
}

.stepper__btn:hover:not(:disabled) {
  background: var(--bg-soft);
}

.stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper__value {
  width: 24px;
  font-weight: 600;
  text-align: center;
}

.child-ages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.child-ages:empty {
  display: none;
}

.child-age select {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

/* Dimmed page behind the bottom sheet (small screens only) */
.search__backdrop {
  display: none;
}

/* Chips under the search */
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chips__label {
  color: var(--on-dark-60);
  font-size: 13px;
}

.chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  transition: background-color 0.2s ease;
}

.chip:hover {
  background: #FFFFFF33;
}

/* --------------------------------------------------------------------------
   Operators
   -------------------------------------------------------------------------- */

.operators {
  background: var(--bg-soft);
  box-shadow: inset 0 -1px 0 var(--line);
}

.operators__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-block: 28px;
}

.operators__label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.operators__list {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}

/* Grey logo by default, colour version fades in on hover / focus */
.operator {
  position: relative;
  display: block;
}

.operator img {
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.operator__grey {
  opacity: 0.8;
}

.operator__color {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.operator:hover .operator__grey,
.operator:focus-visible .operator__grey {
  opacity: 0;
}

.operator:hover .operator__color,
.operator:focus-visible .operator__color {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Offers
   -------------------------------------------------------------------------- */

.offers {
  padding-block: 48px var(--section-y);
}

/* 404 page (views/pages/v2_error.tpl): text left, engraved illustration right standing on the bottom line,
   then the lowest prices offers. The illustration has a white background: multiply blends it into the page,
   the mask fades both cut-off sides (sea on the left, rocks/trees on the right). */
.not-found {
  padding-top: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.not-found__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: end;
  gap: 32px;
}

.not-found__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: center;
  padding-bottom: var(--section-y);
}

.not-found__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.05;
}

.not-found__text {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 27px;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.not-found__art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 86%, transparent 100%);
}

@media (max-width: 820px) {
  .not-found__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .not-found__copy {
    padding-bottom: 0;
  }
}

.offers__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tabs {
  display: flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.tab:hover {
  color: var(--text-primary);
}

.tab[aria-pressed="true"] {
  background: var(--bg);
  box-shadow: 0 1px 3px #0000001A;
  color: var(--text-primary);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 416px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
  box-shadow: 0 12px 32px #14253D1F;
  transform: translateY(-2px);
}

.offer-card__image {
  background: var(--bg-soft); /* shows when the image fails (v2_landing.tpl onerror) */
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.offer-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.offer-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 16px;
}

.meta-line .icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.offer-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.offer-card__detail {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.offer-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.offer-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offer-card__from {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 15px;
}

.offer-card__amount {
  color: var(--brand-red);
  font-size: 26px;
  font-weight: 700;
  line-height: 31px;
}

.round-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--on-dark);
  transition: background-color 0.2s ease;
}

.round-arrow .icon {
  width: 18px;
  height: 18px;
}

.offer-card:hover .round-arrow {
  background: var(--brand-red);
}

/* --------------------------------------------------------------------------
   Best hotels
   -------------------------------------------------------------------------- */

.hotels {
  padding-block: var(--section-y);
  background: var(--bg-soft);
}

.hotels__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hotel-card {
  display: flex;
  min-height: 272px;
  border-radius: 20px;
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hotel-card:hover,
.hotel-card:focus-visible {
  box-shadow: 0 16px 40px #14253D24;
  transform: translateY(-2px);
}

.hotel-card__media {
  position: relative;
  flex: none;
  width: 260px;
  overflow: hidden;
}

.hotel-card__media img {
  background: var(--bg-soft);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hotel-card:hover .hotel-card__media img,
.hotel-card:focus-visible .hotel-card__media img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.04);
}

.hotel-card__title {
  transition: color 0.2s ease;
}

.hotel-card:hover .hotel-card__title,
.hotel-card:focus-visible .hotel-card__title {
  color: var(--navy);
}

.hotel-card:hover .hotel-card__btn,
.hotel-card:focus-visible .hotel-card__btn {
  background: var(--brand-red);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--navy-deep);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.badge--alert {
  background: var(--alert);
}

.hotel-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}

.hotel-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 23px;
}

.hotel-card__place {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 16px;
}

.stars {
  color: var(--star);
  letter-spacing: 1px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  white-space: nowrap;
}

.rating .icon {
  width: 12px;
  height: 12px;
  color: var(--brand-red);
}

.hotel-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
}

.hotel-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.hotel-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.hotel-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hotel-card__price-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 15px;
}

.hotel-card__price-top del {
  text-decoration: none;
}

.discount {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--brand-red);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 13px;
}

.hotel-card__amount {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 37px;
}

/* --------------------------------------------------------------------------
   Destinations
   -------------------------------------------------------------------------- */

.destinations {
  padding-block: var(--section-y);
  background: var(--navy-deep);
  color: var(--on-dark);
}

.destinations__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.destinations .eyebrow {
  color: var(--on-dark-muted);
}

.arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-soft);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  color: var(--on-dark);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.arrow-btn .icon {
  width: 18px;
  height: 18px;
}

.arrow-btn:hover:not(:disabled) {
  background: var(--glass-line);
}

.arrow-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.dest-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dest-strip::-webkit-scrollbar {
  display: none;
}

/* Six tiles in view on desktop; never narrower than 200px */
.dest-strip > li {
  flex: 0 0 max(200px, calc((100% - 5 * 16px) / 6));
  scroll-snap-align: start;
}

.dest-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  height: 360px;
  padding: 20px;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
}

.dest-tile__image {
  background: var(--navy);
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-tile:hover .dest-tile__image {
  transform: scale(1.05);
}

.dest-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0B1A2E00 40%, #0B1A2ED9 100%);
}

.dest-tile__name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.dest-tile__sub {
  color: #FFFFFFD9;
  font-size: 13px;
  line-height: 16px;
}

.dest-tile--more {
  justify-content: space-between;
  background: var(--glass-soft);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  transition: background-color 0.2s ease;
}

.dest-tile--more::before {
  content: none;
}

.dest-tile--more:hover {
  background: var(--glass);
}

.dest-tile--more > .icon {
  width: 28px;
  height: 28px;
}

.dest-tile--more .dest-tile__sub {
  color: var(--on-dark-60);
}

.dest-tile__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   Split sections (Why us / FAQ)
   -------------------------------------------------------------------------- */

.split {
  padding-block: var(--section-y);
}

/* Two split sections in a row (e.g. why us + FAQ when the articles section is hidden): hairline between them */
.split + .split {
  padding-top: 0;
}

.split + .split .split__inner {
  border-top: 1px solid var(--line);
  padding-top: var(--section-y);
}

.split__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.split__copy {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 440px;
  max-width: 100%;
}

.split__copy .btn {
  margin-top: 12px;
}

.split__main {
  flex: 1;
  min-width: 0;
}

/* Why us */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-block: 24px;
  box-shadow: inset 0 1px 0 var(--line);
}

.feature > .icon {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.feature__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
}

.feature__desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 21px;
}

/* FAQ */
.faq-list {
  box-shadow: inset 0 1px 0 var(--line);
}

.faq-item {
  box-shadow: inset 0 -1px 0 var(--line);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 21px;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question .icon {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
}

.faq-item .icon--minus,
.faq-item[open] .icon--plus {
  display: none;
}

.faq-item[open] .icon--minus {
  display: block;
}

.faq-item__answer {
  max-width: 640px;
  margin-top: -10px;
  padding-bottom: 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 23px;
}

/* Smooth open / close where supported (progressive enhancement) */
@supports (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }
}

/* --------------------------------------------------------------------------
   Articles
   -------------------------------------------------------------------------- */

.articles {
  padding-block: var(--section-y);
  background: var(--bg-soft);
}

.articles__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-card);
  background: var(--bg);
  overflow: hidden;
}

.article-card__media {
  height: 180px;
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.article-card__tag {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 13px;
  text-transform: uppercase;
}

.article-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
}

/* --------------------------------------------------------------------------
   SEO text
   -------------------------------------------------------------------------- */

.seo {
  padding-block: 48px;
  background: var(--bg-soft);
}

.seo__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.seo__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.seo__head .eyebrow {
  color: var(--text-muted);
}

.seo__heading {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 31px;
}

.seo__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 48px;
  width: 100%;
}

.seo__topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo__topic-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.seo__topic-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 23px;
}

.seo__more {
  gap: 6px;
}

.seo__more .icon {
  transition: transform 0.2s ease;
}

.seo__more[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter {
  /* 1px overlap with the footer: no hairline between the two navy blocks */
  margin-bottom: -1px;
  padding-block: 56px 49px;
  background: var(--navy-deep);
  color: var(--on-dark);
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 64px;
}

.newsletter__copy {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 560px;
  max-width: 100%;
}

.newsletter__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 2.36vw, 34px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.235;
}

.newsletter__desc {
  color: var(--on-dark-60);
  font-size: 15px;
  line-height: 23px;
}

.newsletter__form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.newsletter__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  background: var(--glass-soft);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  cursor: text;
}

.newsletter__field:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--on-dark);
}

.newsletter__field .icon {
  width: 18px;
  height: 18px;
  color: var(--on-dark-60);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: 15px;
  line-height: 18px;
}

.newsletter__input:focus {
  outline: none;
}

.newsletter__input::placeholder {
  color: var(--on-dark-60);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 240px;
}

.footer-brand__logo {
  width: 180px;
  height: 48px;
  object-fit: contain;
}

.footer-brand__desc {
  line-height: 22px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-soft);
  color: var(--on-dark);
  transition: background-color 0.2s ease;
}

.social a:hover {
  background: var(--glass-line);
}

.social .icon {
  width: 16px;
  height: 16px;
}

.footer-brand__certificate {
  width: 100%;
  aspect-ratio: 240 / 69;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--footer-line);
  object-fit: cover;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col--destinations { flex: none; width: 330px; }
.footer-col--operators { flex: none; width: 200px; }
.footer-col--about { flex: none; width: 170px; }
.footer-col--contacts { flex: 1; gap: 14px; min-width: 0; }

.footer-col__head {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 20px;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--on-dark);
}

.footer-link-groups {
  display: flex;
  gap: 20px;
}

.footer-link-groups .footer-links:first-child {
  flex: none;
  width: 145px;
}

.footer-link-groups .footer-links:last-child {
  flex: 1;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-style: normal;
  line-height: 21px;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contacts .icon {
  width: 16px;
  height: 16px;
  margin-top: 2.5px;
  color: var(--brand-red);
}

.footer-col--contacts .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  box-shadow: inset 0 1px 0 var(--footer-line);
  color: var(--on-dark-dim);
  font-size: 13px;
  line-height: 16px;
}

.footer-bottom__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.payments-label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.payments-label .icon {
  width: 16px;
  height: 16px;
  color: var(--on-dark-muted);
}

.payments-label strong {
  color: var(--on-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 28px;
}

.payments img {
  opacity: 0.85;
}

/* Illustration under the footer */
/* The strip keeps the artwork's proportions (356px tall at 1440, as designed)
   and grows with the screen up to 480px, so wide screens show the whole scene. */
.footer-art {
  position: relative;
  height: clamp(140px, 24.72vw, 480px);
  background: var(--navy-deep);
  overflow: hidden;
}

/* The image is a little larger than the strip on every side: the artwork has
   a plain navy margin on its left, right and bottom edges that must stay hidden. */
.footer-art img {
  position: absolute;
  top: 0;
  left: -2.083%;
  width: 104.167%;
  max-width: none;
  height: 105.34%;
  object-fit: cover;
  /* Whatever has to be cropped comes off the empty sky, never the boats and town */
  object-position: 50% 100%;
}

/* Fades the top of the artwork into the footer; never deeper than the designed 150px */
.footer-art::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(42.13%, 150px);
  background: linear-gradient(180deg, #14253D 0%, #14253D00 100%);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-col--destinations,
  .footer-col--operators,
  .footer-col--about {
    width: auto;
  }

  .footer-col--destinations {
    grid-column: span 2;
  }

  .footer-brand__certificate {
    max-width: 240px;
  }

  .footer-bottom__row {
    flex-wrap: wrap;
  }

  .payments {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) {
  /* The header row (logo, CTA, menu button) stays pinned while scrolling;
     the dark topbar above it scrolls away. */
  html {
    scroll-padding-top: 81px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  /* Navigation collapses into a toggled panel */
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 40px #14253D1F;
  }

  .nav.is-open {
    display: block;
    /* Long menus scroll inside the panel instead of running off screen.
       --nav-top is the header's bottom edge, measured by js/main.js. */
    max-height: calc(100vh - var(--nav-top, 81px));
    max-height: calc(100dvh - var(--nav-top, 81px));
    overflow-y: auto;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19; /* just under the header and its menu panel */
    background: #14253D80;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .has-nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    height: auto;
  }

  .nav__item {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    flex: 1;
    height: auto;
    padding-block: 14px;
    text-align: left;
  }

  .nav__promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 28px 8px;
  }

  .nav__promo-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 30px;
  }

  .nav__promo-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 22px;
  }

  .nav__promo .btn {
    margin-top: 10px;
  }

  /* Submenus open in place, as an accordion */
  .nav__sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    color: var(--text-secondary);
  }

  .nav__sub-toggle .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
  }

  .nav__item.is-open > .nav__sub-toggle .icon {
    transform: rotate(180deg);
  }

  .submenu {
    position: static;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav__link br {
    display: none;
  }

  .nav__link[aria-current="page"]::after {
    content: none;
  }

  /* Search widget: 3 columns */
  .search {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .search__field:nth-of-type(3n + 1) {
    border-left: 0;
  }

  .search__field:nth-of-type(n + 4) {
    border-top: 1px solid var(--line);
  }

  .search__btn {
    margin: 4px 0 0 4px;
  }

  .split__inner {
    gap: 48px;
  }

  .split__copy {
    width: 340px;
  }

  .newsletter__copy {
    width: 440px;
  }
}

@media (max-width: 1024px) {
  .topbar__item--address {
    display: none;
  }

  .operators__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .operators__list {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 40px;
  }

  .hotel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__inner {
    flex-direction: column;
    gap: 40px;
  }

  .split__copy {
    width: 100%;
    max-width: 560px;
  }

  .split__main {
    width: 100%;
  }

  .newsletter__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter__copy {
    width: 100%;
    max-width: 560px;
  }

  .seo__columns {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-card__media {
    height: 200px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Calendar: one month at a time */
  .popover--date {
    width: 340px;
  }

  .calendar__month + .calendar__month {
    display: none;
  }

  .calendar__month:first-child .calendar__nav--next {
    visibility: visible;
  }

  /* Search widget: 2 columns */
  .search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search__field:nth-of-type(3n + 1) {
    border-left: 1px solid var(--line);
  }

  .search__field:nth-of-type(odd) {
    border-left: 0;
  }

  .search__field:nth-of-type(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .topbar__item--hours {
    display: none;
  }

  html {
    scroll-padding-top: 69px;
  }

  .site-header__inner {
    height: 68px;
  }

  .logo img {
    width: 122px;
    height: 32px;
  }

  .hero {
    min-height: 0;
    padding-block: 56px;
    gap: 28px;
  }

  .hero__title {
    letter-spacing: -1px;
  }

  /* Footer illustration: phones only fit part of the scene, favour the town */
  .footer-art img {
    object-position: 75% 100%;
  }

  /* Organizer logos: two columns, each logo centred in its column */
  .operators__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    align-items: center;
    justify-items: center;
  }

  /* Search popovers become a bottom sheet */
  .popover {
    position: fixed;
    inset: auto 0 0;
    width: auto;
    max-width: none;
    max-height: 85vh;
    max-height: 85dvh;
    border: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px #14253D33;
  }

  .dest-results {
    max-height: none;
  }

  .calendar {
    padding: 16px;
  }

  .search__backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 49;
    background: #14253D80;
  }

  .has-search-sheet {
    overflow: hidden;
  }

  /* Search widget: stacked */
  .search {
    grid-template-columns: minmax(0, 1fr);
  }

  .search__field + .search__field {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .search__btn {
    margin: 8px 0 0;
  }

  .hotel-card {
    flex-direction: column;
  }

  .hotel-card__media {
    width: 100%;
    height: 200px;
  }

  .hotel-card__body {
    padding: 20px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter__form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-col--destinations {
    grid-column: auto;
  }
}

@media (max-width: 460px) {
  .site-header__actions .btn span {
    display: none;
  }

  .site-header__actions .btn {
    padding: 12px;
  }

  .topbar__inner {
    gap: 12px;
  }

  .topbar__list {
    gap: 14px;
  }

  .footer-link-groups {
    flex-direction: column;
    gap: 12px;
  }

  .footer-link-groups .footer-links:first-child {
    width: auto;
  }
}
