﻿:root {
  --brand-blue: #0d3e66;
  --brand-blue-deep: #0a2d4a;
  --brand-cyan: #2ed8c3;
  --brand-gold: #f2ba45;
  --text-dark: #1f2e3d;
  --text-soft: #5d6f80;
  --line: #d8e1ea;
  --bg-page: #f3f6fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: radial-gradient(circle at 8% -5%, rgba(46, 216, 195, 0.24), transparent 30%),
    radial-gradient(circle at 95% 0%, rgba(242, 186, 69, 0.24), transparent 28%),
    var(--bg-page);
}

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

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

.hidden {
  display: none !important;
}

.top-strip {
  background: var(--brand-blue);
  color: #d7efff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

.top-strip p {
  margin: 0;
}

.main-header {
  width: min(1280px, 94vw);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 62, 102, 0.12);
  border-radius: 24px;
  margin-top: 12px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 8px;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 230px;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(13, 62, 102, 0.15);
  background: #fff;
  padding: 0.18rem;
}

.brand-text {
  display: grid;
}

.brand-text strong {
  color: var(--brand-blue-deep);
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.brand-text small {
  color: #607f94;
  font-weight: 600;
  margin-top: 0.2rem;
}

.main-nav {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #274f72;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(46, 216, 195, 0.2);
  color: var(--brand-blue-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-link {
  border: 0;
  background: transparent;
  color: #31597a;
  font-weight: 700;
  cursor: pointer;
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
}

.header-link:hover {
  background: rgba(13, 62, 102, 0.08);
}

.header-link.is-active {
  background: rgba(46, 216, 195, 0.2);
  color: var(--brand-blue-deep);
}

.cart-btn {
  border: 1px solid rgba(13, 62, 102, 0.25);
  background: #fff;
  color: #123a5e;
  border-radius: 999px;
  padding: 0.5rem 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.cart-btn strong {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8365f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

main {
  width: min(1280px, 94vw);
  margin: 1rem auto 5rem;
}

.hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid rgba(13, 62, 102, 0.12);
}

.hero-banner img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(2, 17, 28, 0.08), rgba(2, 17, 28, 0.34));
}

.hero-overlay h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.search-wrap {
  margin-top: 1.2rem;
}

.search-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.9rem;
  align-items: end;
}

.search-mode-switch {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #98b2c9;
  border-radius: 14px;
  overflow: hidden;
}

.search-mode-btn {
  border: 0;
  background: #ffffff;
  color: #496685;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-mode-btn.is-active {
  background: #1f4668;
  color: #ffffff;
}

.search-field {
  border: 1px solid #8c9dae;
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem 1rem;
  display: grid;
  gap: 0.2rem;
}

.search-field span {
  color: #233f63;
  font-weight: 800;
  font-size: 1.06rem;
}

.search-field select {
  border: 0;
  font: inherit;
  color: #233f63;
  background: transparent;
  padding: 0;
  outline: none;
}

.search-btn {
  border: 0;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #17395c;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  min-height: 60px;
}

.search-btn:hover {
  filter: brightness(0.98);
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid #d7dee6;
  border-bottom: 1px solid #d7dee6;
}

.chips-wrap::-webkit-scrollbar {
  height: 8px;
}

.chips-wrap::-webkit-scrollbar-thumb {
  background: rgba(49, 94, 136, 0.28);
  border-radius: 999px;
}

.chip-menu {
  position: relative;
  display: inline-flex;
}

.chip-toggle[aria-expanded="true"] {
  border-color: #1f5f98;
  color: #1f5f98;
  box-shadow: 0 6px 16px rgba(31, 95, 152, 0.13);
}

.chip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.chip-toggle::after {
  content: "▾";
  font-size: 0.78rem;
  color: currentColor;
  transform: translateY(1px);
  opacity: 0.9;
}

.chip-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(180deg);
}

.chip-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-width: min(92vw, 320px);
  background: #ffffff;
  border: 1px solid #bfd0e2;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(9, 38, 66, 0.18);
  z-index: 45;
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
}

.chip-menu-right .chip-dropdown {
  left: auto;
  right: 0;
}

.chip-option {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #23496c;
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 0.55rem 0.68rem;
  cursor: pointer;
}

.chip-option:hover {
  background: #eef5fd;
}

.chip-option.is-selected {
  background: #dceefe;
  color: #104977;
  font-weight: 700;
}

.chip-dropdown-price {
  min-width: min(92vw, 640px);
  padding: 1rem;
  gap: 0.8rem;
}

.price-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #1f3f61;
  font-size: 1.12rem;
}

.price-pop-close {
  border: 1px solid #183d63;
  background: #fff;
  color: #183d63;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.price-slider-wrap {
  position: relative;
  padding-top: 0.2rem;
}

.price-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #cedaeb;
  margin: 1.2rem 0 0.9rem;
}

.price-track-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: #2c54b8;
  left: 0;
  width: 100%;
}

.price-range-input {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.2rem;
  width: 100%;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}

.price-range-input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2c54b8;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(23, 51, 89, 0.25);
  cursor: pointer;
}

.price-range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2c54b8;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(23, 51, 89, 0.25);
  cursor: pointer;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  color: #5a7088;
  font-weight: 700;
  font-size: 1.02rem;
}

.price-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.price-fields label {
  display: grid;
  gap: 0.25rem;
  color: #5b7085;
  font-weight: 700;
}

.price-fields label small {
  font-size: 0.8rem;
}

.price-fields input {
  width: 100%;
  border: 1px solid #b8c9da;
  border-radius: 12px;
  min-height: 50px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  color: #233f63;
}

.price-fields input::-webkit-outer-spin-button,
.price-fields input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-fields input[type="number"] {
  -moz-appearance: textfield;
}

.price-sep {
  font-weight: 800;
  color: #506a84;
  font-size: 1.2rem;
  padding-bottom: 0.8rem;
}

.price-apply-btn {
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 1.15rem;
  background: #d4d5d8;
  color: #3a3d43;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.price-pop-footer {
  padding-top: 0.15rem;
  border-top: 1px solid #e1e8f1;
  display: flex;
  justify-content: flex-end;
}

.price-clear-btn {
  border: 0;
  background: transparent;
  color: #334fce;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0.4rem 0.1rem 0.1rem;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid #a9b6c3;
  border-radius: 999px;
  background: #fff;
  color: #2e5578;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.52rem 0.86rem;
  cursor: pointer;
}

.chip:hover,
.chip.is-active {
  border-color: #1f5f98;
  color: #1f5f98;
  box-shadow: 0 6px 16px rgba(31, 95, 152, 0.13);
}

.results-head {
  margin: 1.2rem 0 0.9rem;
}

.results-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  color: #123a5e;
}

.results-head p {
  margin: 0.35rem 0 0;
  color: #5c7084;
  font-weight: 600;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tour-card {
  border: 1px solid #ccd7e2;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 430px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 61, 96, 0.12);
}

.tour-card:focus-visible {
  outline: 3px solid rgba(46, 114, 206, 0.45);
  outline-offset: 2px;
}

.tour-media {
  position: relative;
  height: 220px;
}

.tour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f7c349;
  color: #14395c;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.tour-body {
  padding: 0.9rem 0.9rem 0.2rem;
}

.tour-duration {
  margin: 0;
  color: #587087;
  font-weight: 700;
  font-size: 0.95rem;
}

.tour-title {
  margin: 0.6rem 0 0.5rem;
  color: #1b344c;
  font-size: 1.22rem;
  line-height: 1.25;
}

.tour-excerpt {
  margin: 0;
  color: #5f7488;
  font-size: 0.9rem;
}

.tour-footer {
  border-top: 1px solid #e4ebf2;
  padding: 0.85rem 0.9rem 1rem;
  display: grid;
  gap: 0.7rem;
}

.tour-price {
  margin: 0;
  color: #235aa6;
  font-size: 1.55rem;
  font-weight: 800;
}

.tour-price small {
  font-size: 0.9rem;
  color: #607d98;
  font-weight: 700;
}

.tour-book {
  border: 0;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #14395c;
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  cursor: pointer;
}

.tour-book:hover {
  filter: brightness(0.96);
}

.tour-detail {
  margin-top: 2rem;
  border: 1px solid #cfd9e3;
  border-radius: 20px;
  padding: 1rem;
  background: #fff;
}

.tour-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tour-detail-top h2 {
  margin: 0;
  color: #123a5e;
  font-size: clamp(1.2rem, 2.8vw, 2.1rem);
}

.back-btn {
  border: 1px solid #98acc0;
  border-radius: 999px;
  background: #f5f9ff;
  color: #1d4d78;
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.detail-gallery img,
.gallery-third-wrap {
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
}

.detail-gallery img {
  width: 100%;
  object-fit: cover;
}

.gallery-third-wrap {
  position: relative;
}

.gallery-third-wrap img {
  height: 100%;
}

.view-gallery {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c4f79;
  border: 1px solid #4a80c3;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1rem;
}

.detail-content {
  border: 1px solid #d5e0ea;
  border-radius: 16px;
  padding: 1rem;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #d6dfeb;
}

.tab {
  border: 0;
  background: transparent;
  color: #43607c;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem;
  cursor: pointer;
}

.tab.is-active {
  color: #1f51a0;
  border-bottom: 3px solid #2d66c4;
}

.tab-panel {
  padding-top: 0.9rem;
}

.tab-panel h3 {
  margin: 0 0 0.6rem;
  color: #1e3348;
}

.rich-content p {
  margin: 0 0 0.9rem;
  color: #354c63;
  line-height: 1.72;
}

.rich-content p:last-child {
  margin-bottom: 0;
}

.content-subtitle {
  margin: 1rem 0 0.5rem;
  color: #1b3651;
  font-size: 1.35rem;
}

.rich-list {
  margin: 0.45rem 0 1rem;
  padding-left: 1.3rem;
  color: #314a63;
  line-height: 1.55;
}

.rich-list li {
  margin-bottom: 0.45rem;
}

.good-list {
  display: grid;
  gap: 0.75rem;
}

.good-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.good-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(45, 102, 196, 0.12);
  border: 1px solid rgba(45, 102, 196, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.good-copy {
  margin: 0;
  color: #31495f;
  line-height: 1.52;
}

.good-copy strong {
  color: #173555;
}

.good-fallback {
  margin: 0;
  color: #354c63;
  line-height: 1.65;
  white-space: pre-line;
}

.booking-card {
  border: 1px solid #4f83d0;
  border-radius: 16px;
  padding: 1rem;
  background: #f9fbff;
  align-self: start;
  position: sticky;
  top: 96px;
}

.booking-price {
  border-bottom: 1px solid #d7e0ec;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
}

.booking-price p {
  margin: 0;
  color: #2a5fc1;
  font-size: 1.1rem;
  font-weight: 700;
}

.booking-price strong {
  font-size: 2rem;
  color: #0f47a1;
}

.booking-price small {
  color: #4f6d8c;
  font-weight: 600;
}

.booking-block {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
}

.booking-block h4 {
  margin: 0 0 0.6rem;
  color: #1f2f40;
  font-size: 1.7rem;
}

.booking-block label {
  display: block;
  font-weight: 700;
  color: #2e4e6f;
  margin-bottom: 0.35rem;
}

.booking-block input,
.booking-block select,
.people-toggle,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid #97abc1;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #213a53;
  background: #fff;
}

.booking-inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.pickup-types {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.pickup-types label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  margin: 0;
}

#hotel-search {
  margin-bottom: 0.5rem;
}

.people-toggle {
  text-align: left;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.people-panel {
  border: 1px solid #d0dbe8;
  border-radius: 12px;
  background: #fff;
  margin-top: 0.5rem;
  padding: 0.8rem;
}

.people-tour-title {
  font-weight: 700;
  color: #345370;
  margin-bottom: 0.7rem;
}

.people-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.people-row strong {
  color: #1f354b;
}

.people-row small {
  display: block;
  color: #2f61ae;
  font-weight: 700;
  margin-top: 0.15rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #4878ba;
  background: #fff;
  color: #1f53a6;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.qty-controls span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  color: #2c4761;
}

.apply-people {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #d9dde4;
  color: #3d4d5d;
  font: inherit;
  font-weight: 800;
  padding: 0.56rem;
  cursor: pointer;
}

.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.extra-row strong {
  color: #264a6d;
}

.extra-row small {
  display: block;
  color: #3869af;
  font-weight: 700;
}

.extra-total {
  margin: 0.5rem 0 0;
  color: #395e86;
  font-weight: 700;
}

.booking-total {
  text-align: center;
  margin-top: 0.4rem;
}

.booking-total p {
  margin: 0;
  color: #285180;
  font-weight: 700;
}

.booking-total strong {
  display: block;
  margin-top: 0.25rem;
  color: #123d79;
  font-size: 2rem;
}

.booking-total small {
  color: #667f97;
  font-weight: 600;
}

.booking-actions {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.btn-outline,
.btn-solid {
  border-radius: 999px;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-outline {
  border: 2px solid #2d60af;
  color: #2d60af;
  background: #fff;
}

.btn-solid {
  border: 0;
  background: var(--brand-gold);
  color: #173a5e;
}

.checkout-section {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #d3dce7;
  border-radius: 20px;
  padding: 1rem;
}

.checkout-section h2 {
  margin: 0 0 1rem;
  color: #1a4369;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
}

.checkout-form {
  border: 1px solid #d6e0ea;
  border-radius: 14px;
  padding: 1rem;
}

.checkout-form h3 {
  margin: 0 0 0.8rem;
  color: #223e58;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  color: #2f4f6e;
  font-weight: 700;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-size: 0.94rem;
}

.check-row input {
  width: auto;
}

.checkout-summary {
  border: 1px solid #97b0cd;
  border-radius: 14px;
  padding: 1rem;
  background: #f8fbff;
  align-self: start;
  position: sticky;
  top: 96px;
}

.checkout-summary h3 {
  margin: 0 0 0.7rem;
  color: #244566;
}

#checkout-items {
  display: grid;
  gap: 0.6rem;
}

.checkout-item {
  border: 1px solid #d2ddea;
  border-radius: 10px;
  background: #fff;
  padding: 0.6rem;
}

.checkout-item strong {
  color: #1e3a53;
}

.checkout-item p {
  margin: 0.24rem 0 0;
  color: #4e6780;
  font-size: 0.88rem;
}

.checkout-total-row {
  border-top: 1px solid #d2ddea;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-total-row span {
  color: #375a7f;
  font-weight: 700;
}

.checkout-total-row strong {
  color: #194883;
  font-size: 1.55rem;
}

#checkout-wa {
  margin-top: 0.8rem;
  width: 100%;
}

.secondary-section {
  margin-top: 1.1rem;
  border: 1px dashed #b4c3d2;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
}

.secondary-section h2 {
  margin: 0;
  color: #1a446e;
}

.secondary-section p {
  margin: 0.45rem 0 0;
  color: #57728c;
  font-weight: 600;
}

.destination-copy {
  margin-top: 1.3rem;
  border: 1px solid #d4deea;
  border-radius: 18px;
  background: #fff;
  padding: 1.15rem;
}

.destination-copy h2 {
  margin: 0 0 0.7rem;
  color: #183d62;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
}

.destination-copy p {
  margin: 0 0 0.7rem;
  color: #4a6783;
  line-height: 1.66;
  font-weight: 600;
}

.destination-nearby {
  margin: 0;
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  color: #365b83 !important;
}

.destination-nearby a {
  color: #2a5fc2;
  font-weight: 800;
}

.transfer-page {
  display: grid;
  gap: 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(16, 63, 101, 0.16);
  overflow: hidden;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(240, 247, 255, 0.94), rgba(248, 252, 255, 0.94)),
    url("https://images.pexels.com/photos/1450353/pexels-photo-1450353.jpeg?auto=compress&cs=tinysrgb&w=2200") center/cover no-repeat;
  max-width: 1180px;
  margin: 0 auto;
}

.transfer-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #9bb3c9;
}

.transfer-switch {
  min-height: 64px;
  border: 0;
  background: #8fbe58;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.transfer-switch.is-active {
  background: #1d486c;
}

.transfer-switch:not(.is-active):hover {
  filter: brightness(0.96);
}

.transfer-hero {
  border: 1px solid #cedbea;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: linear-gradient(105deg, rgba(247, 251, 255, 0.95), rgba(240, 248, 245, 0.95));
}

.transfer-hero h1 {
  margin: 0;
  color: #214664;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 500;
}

.transfer-hero p {
  margin: 0.35rem 0 0;
  color: #4f6a85;
  font-weight: 600;
}

.transfer-calculator {
  border: 1px solid #c9d8e7;
  border-radius: 20px;
  background: rgba(250, 253, 255, 0.94);
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 14px 30px rgba(12, 47, 75, 0.08);
}

.calculator-head h2 {
  margin: 0;
  color: #184269;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

.calculator-head p {
  margin: 0.42rem 0 0;
  color: #55708a;
  line-height: 1.45;
  font-weight: 600;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.transfer-calculator .calc-field {
  display: grid;
  gap: 0.32rem;
}

.transfer-calculator .calc-field label {
  color: #234763;
  font-weight: 700;
  font-size: 0.9rem;
}

.transfer-calculator .calc-field input,
.transfer-calculator .calc-field select,
.transfer-calculator .calc-field textarea {
  width: 100%;
  border: 1px solid #9db4cb;
  border-radius: 12px;
  background: #ffffff;
  color: #213d57;
  padding: 0.68rem 0.78rem;
  font: inherit;
}

.transfer-calculator .calc-field input[id$="-filter"] {
  border-style: dashed;
  background: #f9fbff;
}

.transfer-calculator .calc-field input:focus,
.transfer-calculator .calc-field select:focus,
.transfer-calculator .calc-field textarea:focus {
  outline: 2px solid rgba(45, 102, 196, 0.32);
  outline-offset: 1px;
}

.calc-field-full {
  grid-column: 1 / -1;
}

.transfer-inline-error {
  margin: 0;
  border: 1px solid #efb2b2;
  background: #fff3f3;
  border-radius: 12px;
  color: #9f2f2f;
  padding: 0.72rem 0.84rem;
  font-weight: 700;
}

.transfer-details-panel {
  border: 1px solid #d0dcea;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(247, 251, 255, 0.95), rgba(242, 250, 248, 0.95));
  padding: 0.95rem;
  display: grid;
  gap: 0.85rem;
}

.transfer-details-panel h3 {
  margin: 0;
  color: #1f4465;
  font-size: 1.07rem;
}

.transfer-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.transfer-return-panel {
  border-top: 1px solid #d6e2ef;
  padding-top: 0.88rem;
  display: grid;
  gap: 0.8rem;
}

.route-highlight {
  border: 1px solid #bfd3e5;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.85rem;
  display: grid;
  gap: 0.58rem;
}

.route-title {
  color: #184b76;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.route-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.route-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 6px 15px rgba(19, 65, 104, 0.16);
}

.route-pin-a {
  background: #2f67c2;
}

.route-pin-b {
  background: #27b694;
}

.route-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f67c2, #27b694);
}

.route-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.72rem;
}

.route-metrics span {
  color: #4f6881;
  font-size: 0.92rem;
  font-weight: 600;
}

.route-metrics strong {
  color: #1d3d5d;
  font-weight: 800;
}

.route-copy {
  margin: 0;
  color: #5d748c;
  font-size: 0.89rem;
  line-height: 1.45;
  font-weight: 600;
}

.transfer-extras {
  border: 1px solid #d0dcea;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.9rem;
}

.transfer-extras-title {
  margin: 0;
  color: #1d4468;
  font-size: 1.05rem;
}

.transfer-extras-copy {
  margin: 0.4rem 0 0;
  color: #58728c;
  font-weight: 600;
}

.transfer-extras-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.62rem;
}

.transfer-extra-card {
  border: 1px solid #d7e3ef;
  border-radius: 13px;
  background: #f9fbff;
  padding: 0.5rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.42rem;
}

.transfer-extra-image-wrap {
  border: 1px solid #d9e6f1;
  border-radius: 10px;
  background: #ffffff;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem;
}

.transfer-extra-image {
  max-height: 82px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.transfer-extra-main {
  display: grid;
  gap: 0.2rem;
}

.transfer-extra-name {
  margin: 0;
  color: #234663;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.28;
}

.transfer-extra-price {
  margin: 0;
  color: #55718b;
  font-size: 0.8rem;
  font-weight: 700;
}

.transfer-extra-controls {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.transfer-extra-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #4f84c7;
  background: #ffffff;
  color: #295ea5;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.transfer-extra-btn:hover {
  background: #edf4ff;
}

.transfer-extra-qty {
  min-width: 18px;
  text-align: center;
  font-weight: 800;
  color: #1f405f;
}

.transfer-total {
  border: 1px solid #b7cbdf;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7fbff, #f2f9f8);
  padding: 0.9rem;
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(200px, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.transfer-terms {
  border-right: 1px solid #d5e0ea;
  padding-right: 0.8rem;
}

.transfer-terms label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #4d6882;
  font-weight: 700;
  line-height: 1.35;
}

.transfer-terms input {
  width: 20px;
  height: 20px;
  accent-color: #2f67c2;
}

.transfer-total p {
  margin: 0;
  color: #567088;
  font-size: 0.84rem;
  font-weight: 700;
}

.transfer-total strong {
  color: #17466f;
  font-size: 1.15rem;
}

.transfer-total .btn-solid {
  width: 100%;
  min-height: 50px;
  text-align: center;
}

.btn-solid.is-disabled {
  opacity: 0.55;
  filter: grayscale(0.12);
  pointer-events: auto;
  cursor: not-allowed;
}

.site-footer {
  margin-top: 1.3rem;
  background: linear-gradient(180deg, #123f77 0%, #082f5a 100%);
  color: #dcecff;
  border-radius: 18px;
  border: 1px solid rgba(198, 222, 251, 0.16);
  padding: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.2rem;
}

.footer-brand p {
  margin: 0.6rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-brand small {
  color: #b7d5f0;
  font-weight: 700;
}

.footer-col h4 {
  margin: 0 0 0.55rem;
  color: #ffffff;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.35rem;
  color: #c9ddf3;
  font-weight: 600;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(201, 221, 243, 0.24);
  color: #b8d2eb;
  text-align: center;
  font-weight: 700;
}

.standalone-page {
  margin-top: 1rem;
  border: 1px solid #d2dce8;
  border-radius: 20px;
  background: #fff;
  padding: 1.25rem;
}

.standalone-page h1 {
  margin: 0 0 0.45rem;
  color: #123a5e;
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
}

.standalone-page p {
  margin: 0;
  color: #4f6a85;
  font-weight: 600;
}

.standalone-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.standalone-card {
  border: 1px solid #d5dfeb;
  border-radius: 14px;
  background: #f9fbff;
  padding: 0.95rem;
}

.standalone-card h3 {
  margin: 0 0 0.4rem;
  color: #193e64;
}

.standalone-card p {
  margin: 0;
  color: #5d748d;
}

.login-wrap {
  width: min(560px, 95vw);
  margin: 2rem auto;
  border: 1px solid #d2dce8;
  border-radius: 20px;
  background: #fff;
  padding: 1.2rem;
}

.login-wrap h1 {
  margin: 0;
  color: #143a60;
}

.login-wrap p {
  color: #56718b;
  font-weight: 600;
}

.login-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.login-form label {
  display: grid;
  gap: 0.35rem;
  color: #2f4f6e;
  font-weight: 700;
}

.login-form input,
.login-form select {
  width: 100%;
  border: 1px solid #97abc1;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #213a53;
  background: #fff;
}

.login-note {
  margin-top: 0.8rem;
  border: 1px dashed #b3c5d8;
  border-radius: 12px;
  padding: 0.7rem;
  background: #f5faff;
  color: #486888;
  font-weight: 600;
}

.policy-page {
  margin-top: 1rem;
  border: 1px solid #d2dce8;
  border-radius: 20px;
  background: #fff;
  padding: 1.2rem;
}

.policy-page h1 {
  margin: 0;
  color: #123a5e;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.policy-meta {
  margin: 0.45rem 0 1rem;
  color: #5a7590;
  font-weight: 600;
}

.policy-content {
  border: 1px solid #d7e1ec;
  border-radius: 14px;
  background: #f9fbff;
  padding: 1rem;
}

.policy-content h2 {
  margin: 0 0 0.6rem;
  color: #19456e;
}

.policy-content h3 {
  margin: 1rem 0 0.4rem;
  color: #1f3a57;
}

.policy-content p {
  margin: 0 0 0.75rem;
  color: #405b75;
  line-height: 1.65;
}

.policy-list {
  margin: 0.1rem 0 0.9rem;
  padding-left: 1.2rem;
  color: #35516c;
  line-height: 1.62;
}

.policy-list li {
  margin-bottom: 0.4rem;
}

.cookie-center-shell {
  margin-top: 1rem;
  display: grid;
  place-items: center;
}

.cookie-center-modal {
  width: min(980px, 95vw);
  border: 1px solid #cfd8e2;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 39, 67, 0.16);
}

.cookie-center-head {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #dbe2ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-center-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-weight: 800;
  color: #1f1f22;
}

.cookie-center-brand i {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
}

.cookie-close {
  border: 1px solid #9fb5ca;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  background: #f4f8fd;
  color: #5c6976;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-center-body {
  max-height: 70vh;
  overflow: auto;
  padding: 1.2rem;
}

.cookie-center-body h2 {
  margin: 0 0 0.8rem;
  color: #212a35;
  font-size: 2rem;
}

.cookie-center-body p {
  margin: 0 0 0.95rem;
  color: #3f4954;
  line-height: 1.58;
}

.cookie-center-body a {
  color: #1976d2;
  text-decoration: underline;
}

.consent-box {
  margin-top: 1rem;
  border: 1px solid #d6dde5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.consent-row {
  border-bottom: 1px solid #d6dde5;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.consent-row:last-child {
  border-bottom: 0;
}

.consent-row strong {
  color: #2a323d;
  font-size: 1.02rem;
}

.switch {
  position: relative;
  width: 74px;
  height: 38px;
  background: #d9e2ea;
  border-radius: 999px;
  border: 1px solid #bdc8d4;
  cursor: pointer;
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 40, 56, 0.2);
  transition: transform 0.2s ease;
}

.switch.is-on {
  background: #3e8755;
  border-color: #3e8755;
}

.switch.is-on::after {
  transform: translateX(34px);
}

.cookie-center-foot {
  border-top: 1px solid #dbe2ea;
  background: #fff;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: flex-end;
}

.cookie-save {
  border: 0;
  border-radius: 8px;
  background: #1676c7;
  color: #fff;
  font: inherit;
  font-weight: 800;
  min-width: 230px;
  min-height: 56px;
  cursor: pointer;
}

.cookie-power {
  text-align: center;
  padding: 0.7rem;
  border-top: 1px solid #dbe2ea;
  font-size: 1.1rem;
  color: #1f1f22;
}

.cookie-power b {
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 0.6rem;
  z-index: 70;
}

.floating-btn {
  border: 0;
  border-radius: 999px;
  min-width: 220px;
  min-height: 58px;
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 800;
  background: #f3d28c;
  color: #163c62;
  box-shadow: 0 12px 24px rgba(8, 38, 63, 0.2);
  cursor: pointer;
  text-align: center;
}

.floating-wa {
  background: linear-gradient(140deg, #20c576, #58e4be);
  color: #093a2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

  .transfer-total {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .transfer-terms {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid #d5e0ea;
    padding-right: 0;
    padding-bottom: 0.6rem;
  }

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

  .booking-card,
  .checkout-summary {
    position: static;
  }

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

@media (max-width: 980px) {
  .main-header {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }

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

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

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

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

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery img,
  .gallery-third-wrap {
    height: 220px;
  }

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

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

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

  .main-header {
    padding: 0.7rem;
    border-radius: 16px;
    top: 6px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-text strong {
    font-size: 1.16rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
  }

  .brand-text small {
    display: none;
  }

  .main-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.2rem;
  }

  .main-nav a {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.54rem 0.72rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-link {
    font-size: 0.88rem;
    padding: 0.48rem 0.58rem;
  }

  .hero-banner img {
    height: 150px;
  }

  .search-wrap {
    margin-top: -1.3rem;
    padding: 0 0.25rem;
    position: relative;
    z-index: 6;
  }

  .search-box {
    grid-template-columns: 1fr;
    border-radius: 16px;
    padding: 0.78rem;
    gap: 0.7rem;
    box-shadow: 0 10px 26px rgba(14, 46, 73, 0.14);
  }

  .search-mode-switch {
    display: grid;
  }

  .chips-wrap {
    gap: 0.5rem;
  }

  .chip {
    font-size: 0.84rem;
    padding: 0.5rem 0.76rem;
  }

  .chip-dropdown-price {
    min-width: min(94vw, 360px);
    padding: 0.8rem;
  }

  .price-fields {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .price-sep {
    display: none;
  }

  .price-apply-btn {
    width: 100%;
  }

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

  .transfer-details-grid {
    grid-template-columns: 1fr;
  }

  .transfer-page {
    padding: 0.6rem;
    gap: 0.62rem;
    border-radius: 16px;
  }

  .transfer-switch {
    min-height: 48px;
    font-size: 0.98rem;
  }

  .transfer-hero {
    padding: 0.72rem;
  }

  .transfer-hero h1 {
    font-size: 1.06rem;
  }

  .transfer-hero p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .transfer-calculator {
    padding: 0.75rem;
    gap: 0.7rem;
    border-radius: 16px;
  }

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

  .route-metrics {
    grid-template-columns: 1fr;
  }

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

  .transfer-total {
    grid-template-columns: 1fr;
  }

  .transfer-terms {
    border-bottom: 1px solid #d5e0ea;
    border-right: 0;
    padding: 0 0 0.6rem;
  }

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

  .booking-inline-fields {
    grid-template-columns: 1fr;
  }

  .floating-btn {
    min-width: 180px;
    min-height: 52px;
  }

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

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

  .destination-nearby {
    display: block;
  }

  .cookie-center-brand {
    font-size: 1.45rem;
  }

  .cookie-center-body h2 {
    font-size: 1.7rem;
  }

  .cookie-save {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .transfer-extras-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Cookie consent (IslaGo) */
.cookie-modal-open {
  overflow: hidden;
}

.cookie-consent-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 120;
  background: #ffffff;
  border: 1px solid #c8d6e6;
  border-radius: 16px;
  box-shadow: 0 20px 38px rgba(7, 34, 58, 0.24);
}

.cookie-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
}

.cookie-consent-copy h3 {
  margin: 0;
  color: #123a5e;
  font-size: 1.15rem;
}

.cookie-consent-copy p {
  margin: 0.38rem 0 0;
  color: #45627f;
  line-height: 1.45;
  font-weight: 600;
}

.cookie-links a {
  color: #1f5f98;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  border-radius: 999px;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid #a7bdd2;
  background: #fff;
  color: #1a4163;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-btn.cookie-btn-light:hover {
  background: #f2f7fd;
}

.cookie-btn.cookie-btn-solid {
  border-color: #0f4d90;
  background: #0f4d90;
  color: #fff;
}

.cookie-btn.cookie-btn-solid:hover {
  filter: brightness(0.94);
}

.cookie-pref-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(7, 22, 36, 0.58);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-pref-card {
  width: min(760px, 95vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #bfd1e3;
  background: #fff;
  box-shadow: 0 22px 50px rgba(8, 31, 53, 0.35);
  padding: 1rem;
}

.cookie-pref-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-pref-eyebrow {
  margin: 0;
  color: #295b89;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-pref-head h2 {
  margin: 0.25rem 0 0;
  color: #133d63;
  font-size: 1.6rem;
  line-height: 1.2;
}

.cookie-pref-close {
  border: 1px solid #9db4cb;
  border-radius: 10px;
  background: #f5f9fd;
  color: #567087;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-pref-note {
  margin: 0.8rem 0 0;
  color: #4f6780;
  line-height: 1.5;
  font-weight: 600;
}

.cookie-pref-list {
  margin-top: 0.9rem;
  border: 1px solid #d3dfeb;
  border-radius: 12px;
  overflow: hidden;
}

.cookie-pref-row {
  border-bottom: 1px solid #d3dfeb;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-pref-row:last-child {
  border-bottom: 0;
}

.cookie-pref-row h3 {
  margin: 0;
  color: #1e3a53;
  font-size: 1rem;
}

.cookie-pref-row p {
  margin: 0.24rem 0 0;
  color: #5d748b;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-always {
  color: #1f5d9f;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-toggle span {
  width: 64px;
  height: 34px;
  border-radius: 999px;
  background: #d6e0ea;
  border: 1px solid #b8c6d4;
  position: relative;
  transition: all 0.2s ease;
}

.cookie-toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(12, 30, 48, 0.25);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + span {
  background: #2f8755;
  border-color: #2f8755;
}

.cookie-toggle input:checked + span::after {
  transform: translateX(30px);
}

.cookie-pref-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.cookie-manage-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100;
  border: 1px solid rgba(13, 62, 102, 0.4);
  background: #ffffff;
  color: #174469;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(8, 39, 63, 0.18);
  cursor: pointer;
}

.cookie-manage-btn:hover {
  background: #f5faff;
}

@media (max-width: 900px) {
  .cookie-consent-inner {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-pref-card {
    padding: 0.85rem;
  }

  .cookie-pref-actions .cookie-btn {
    width: 100%;
  }

  .cookie-manage-btn {
    left: 10px;
    bottom: 10px;
    min-height: 42px;
    font-size: 0.88rem;
    padding: 0.45rem 0.75rem;
  }
}
