:root {
  --ocean-teal: #2ab7b3;
  --ocean-teal-2: #0f8f93;
  --deep-navy: #0b1f2e;
  --sand: #f3eadb;
  --sand-2: #fbf6ee;
  --sun-gold: #d6a24d;
  --sun-gold-2: #b88536;
  --white: #ffffff;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;

  --shadow-soft: 0 14px 40px rgba(10, 31, 49, 0.14);
  --shadow-card: 0 12px 26px rgba(10, 31, 49, 0.12);

  --text: rgba(11, 31, 46, 0.92);
  --muted: rgba(11, 31, 46, 0.68);
  --border: rgba(11, 31, 46, 0.14);
  --border-2: rgba(11, 31, 46, 0.08);

  --max: 1240px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 700px at 18% 6%, rgba(42, 183, 179, 0.14), transparent 60%),
    radial-gradient(900px 600px at 86% 12%, rgba(214, 162, 77, 0.12), transparent 62%),
    linear-gradient(180deg, var(--sand-2), var(--white) 40%, var(--sand-2));
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2 * 40px));
  margin: 0 auto;
}

@media (max-width: 860px) {
  .container {
    width: min(var(--max), calc(100% - 2 * 18px));
  }
}

.h1,
.h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.2px;
  margin: 0;
}

.h1 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.section {
  padding: 76px 0;
  position: relative;
}

.section--sand {
  background: linear-gradient(180deg, rgba(243, 234, 219, 0.9), rgba(251, 246, 238, 0.7));
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.section-head {
  display: grid;
  gap: 14px;
  text-align: center;
  margin-bottom: 36px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.ornament {
  display: flex;
  justify-content: center;
  opacity: 0.85;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 46, 0.08);
  overflow: visible;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
  gap: 18px;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(11, 31, 46, 0.78);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover {
  background: rgba(11, 31, 46, 0.06);
  color: rgba(11, 31, 46, 0.95);
}

.nav-logo {
  display: block;
  width: 340px;
  height: auto;
  transform: translateY(20px) rotate(12deg);
  position: absolute;
  right: -40px;
  top: -50px;
  z-index: 60;
  pointer-events: none;
}

@media (max-width: 860px) {
  .nav-logo {
    position: static;
    transform: none !important;
    width: 64px;
    margin: 0 auto;
    pointer-events: auto;
  }
  .nav-newsletter-btn {
    display: none;
  }
}

.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 12px rgba(11, 31, 46, 0.25));
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: center;
  background-image: url("/images/egzotyka.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(11, 31, 46, 0.08);
}

.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background-image: url("/assets/wave.svg");
  background-size: cover;
  background-position: center bottom;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(11, 31, 46, 0.72),
      rgba(11, 31, 46, 0.48) 36%,
      rgba(11, 31, 46, 0.12) 76%,
      rgba(11, 31, 46, 0.1)
    ),
    radial-gradient(900px 700px at 22% 40%, rgba(11, 31, 46, 0.55), transparent 60%),
    radial-gradient(800px 600px at 86% 36%, rgba(214, 162, 77, 0.18), transparent 60%);
}

.hero-content {
  position: relative;
  padding: 76px 0 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.92);
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}

.hero-rotator {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.hero-rotator-label {
  opacity: 0.9;
}

.hero-rotator-value {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-top-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-rotator-container {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  height: 110px; /* Fixed height to prevent layout shift */
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 860px) {
  .hero-rotator-container {
    font-size: 32px;
    height: 180px; /* Increased height for 3 lines on mobile */
    align-items: flex-start;
  }
}

.hero-rotator-value {
  display: block;
  transition: opacity 300ms ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 246, 238, 0.92);
  color: rgba(11, 31, 46, 0.9);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: rotate(-1deg);
  border: 1px solid rgba(214, 162, 77, 0.3);
}

.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(11, 31, 46, 0.2);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(11, 31, 46, 0.8);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(11, 31, 46, 0.1);
  color: #0b1f2e;
}

.passport-photo-container {
  width: 320px;
  height: auto;
  background: #000;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: rotate(3deg);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.passport-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
  filter: contrast(1.1) sepia(0.2);
}

.photo-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
  font-size: 10px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, var(--sun-gold), var(--sun-gold-2));
  color: rgba(11, 31, 46, 0.9);
  box-shadow: 0 16px 44px rgba(214, 162, 77, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 20px 60px rgba(214, 162, 77, 0.3);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn--ghost {
  background: rgba(11, 31, 46, 0.04);
  border-color: rgba(11, 31, 46, 0.14);
  color: rgba(11, 31, 46, 0.86);
}

.btn--ghost:hover {
  background: rgba(11, 31, 46, 0.07);
}

.btn--sm {
  padding: 10px 14px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

.search-widget {
  background: rgba(251, 246, 238, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
}

.search-widget-head {
  display: grid;
  gap: 6px;
  padding: 10px 8px 14px;
  border-bottom: 1px solid rgba(11, 31, 46, 0.12);
  margin-bottom: 14px;
}

.search-widget-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: rgba(11, 31, 46, 0.92);
}

.search-widget-subtitle {
  font-size: 13px;
  color: rgba(11, 31, 46, 0.66);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 12px;
  color: rgba(11, 31, 46, 0.72);
  letter-spacing: 0.2px;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.field-hint {
  font-size: 12px;
  color: rgba(11, 31, 46, 0.64);
}

.field-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 31, 46, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  color: rgba(11, 31, 46, 0.9);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field-control:focus {
  border-color: rgba(42, 183, 179, 0.7);
  box-shadow: 0 0 0 4px rgba(42, 183, 179, 0.16);
}

.field-range {
  padding: 12px 10px;
}

.search-widget-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(11, 31, 46, 0.68);
  min-height: 16px;
}

.legend-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}

.legend-column {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11, 31, 46, 0.8);
}

.legend-column p {
  margin: 0 0 16px;
}

.legend-highlight {
  font-weight: 600;
  color: #0b1f2e;
  font-style: italic;
  margin-top: 20px;
}

.legend-center {
  display: flex;
  justify-content: center;
}

@media (max-width: 1000px) {
  .legend-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .legend-center {
    order: -1; /* Image first on mobile */
    margin-bottom: 10px;
  }
}

.passport {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(214, 162, 77, 0.28);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.passport:before {
  content: "";
  position: absolute;
  inset: -60px -60px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(42, 183, 179, 0.22), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(214, 162, 77, 0.16), transparent 60%);
  transform: rotate(-10deg);
}

.passport-title {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(11, 31, 46, 0.62);
}

.passport-sub {
  margin-top: 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: rgba(11, 31, 46, 0.9);
}

.passport-stamp {
  margin-top: 14px;
  display: grid;
  place-items: center;
  opacity: 0.92;
  transform: rotate(-8deg);
}

.passport-lines {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.passport-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11, 31, 46, 0.1), rgba(11, 31, 46, 0.04));
}

.climate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
}

.climate-logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(11, 31, 46, 0.24);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1px; /* Small padding so logo doesn't touch edges */
}

.climate-logo-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px) {
  .climate-logo-center {
    display: none;
  }
}

.tile {
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: end;
  color: rgba(255, 255, 255, 0.92);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(10, 31, 49, 0.16);
}

.tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 46, 0.18), rgba(11, 31, 46, 0.86));
}

.tile-content {
  position: relative;
  padding: 18px 18px 18px;
  display: grid;
  gap: 8px;
}

.tile-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tile-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  max-width: 44ch;
}

.tile-link {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tile-link:after {
  content: "→";
  opacity: 0.9;
}

.tile--resort {
  background-image: url("/images/allinclusive.png");
}

.tile--exotic {
  background-image: url("/images/egzotyka.png");
  background-position: center;
}

.tile--city {
  background-image: url("/images/citybreak.png");
  background-position: center;
}

.tile--active {
  background-image: url("/images/roadtrip.png");
  background-position: center;
}

.climate-grid .tile:nth-of-type(even) .tile-content {
  text-align: right;
  justify-items: end;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}

.chip {
  appearance: none;
  border: 1px solid rgba(11, 31, 46, 0.16);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(11, 31, 46, 0.86);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 140ms ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(42, 183, 179, 0.46);
}

.chip:active {
  transform: translateY(1px);
}

.chip.is-active {
  background: linear-gradient(180deg, rgba(42, 183, 179, 0.16), rgba(42, 183, 179, 0.08));
  border-color: rgba(42, 183, 179, 0.5);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.offer-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(214, 162, 77, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  min-height: 100%;
}

.offer-ad {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(11, 31, 46, 0.22);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  color: rgba(11, 31, 46, 0.74);
}

.offer-ad-inner {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.offer-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.offer-tags {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 31, 46, 0.78);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.tag--gold {
  background: rgba(214, 162, 77, 0.92);
  color: rgba(11, 31, 46, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.offer-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}

.offer-place {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: rgba(11, 31, 46, 0.94);
}

.offer-meta {
  font-size: 13px;
  color: rgba(11, 31, 46, 0.68);
  line-height: 1.4;
}

.offer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.offer-price {
  font-size: 20px;
  font-weight: 700;
  color: rgba(11, 31, 46, 0.92);
}

.offer-price small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}

.offer-btn {
  justify-self: start;
}

.offers-foot {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.section--map {
  overflow: hidden;
  padding: 86px 0;
  background: #0b1f2e;
}

.map-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/ChatGPT%20Image%2024%20lut%202026,%2013_50_04.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(1.05);
}

.section-head--map {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
}

.section-head--map .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.map-panel {
  position: relative;
  margin: 30px auto 0;
  width: min(1080px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #0b1f2e;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.map-panel--world {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.map-underlay {
  display: none;
}

.map-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(11, 31, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.map-selected-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.7;
}

.map-selected-value {
  font-size: 16px;
  font-weight: 600;
}

.map-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-actions .btn--ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.map-viewport {
  position: relative;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0b1f2e;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.map-tooltip {
  position: absolute;
  inset: auto auto 24px 24px;
  background: rgba(251, 246, 238, 0.98);
  color: rgba(11, 31, 46, 0.95);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(214, 162, 77, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  width: max-content;
  max-width: 240px;
  line-height: 1.3;
}

.map-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-hint {
  position: relative;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.world-map {
  width: 100%;
  height: 100%;
  display: block;
  background: #0b1f2e;
}

.world-country {
  fill: #1a2f3f;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 0.8;
  transition: fill 120ms ease, stroke 120ms ease;
  cursor: pointer;
}

.world-country.is-hover {
  fill: rgba(214, 162, 77, 0.4);
  stroke: rgba(255, 255, 255, 0.9);
}

.world-country.is-selected {
  fill: rgba(42, 183, 179, 0.28);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.9;
}

.map-note {
  position: relative;
  text-align: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(214, 162, 77, 0.22);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 6px 2px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 46, 0.14);
  background: rgba(251, 246, 238, 0.66);
  font-size: 13px;
  color: rgba(11, 31, 46, 0.82);
}

.check input {
  width: 16px;
  height: 16px;
}

.form-note {
  min-height: 16px;
  font-size: 12px;
  color: rgba(11, 31, 46, 0.68);
}

.footer {
  padding: 42px 0;
  background: rgba(11, 31, 46, 0.94);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.94);
}

.footer-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
  max-width: 44ch;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.footer-link {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.94);
}

.ad-slot {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.32);
  background: rgba(11, 31, 46, 0.22);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.ad-slot-inner {
  padding: 14px 16px;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.2px;
}

.ad-slot--top {
  margin: 10px 0 14px;
  border-color: rgba(11, 31, 46, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 31, 46, 0.72);
}

.ad-slot--top .ad-slot-inner {
  padding: 12px 14px;
}

.ad-slot--hero {
  margin-top: 18px;
  max-width: 520px;
}

.ad-slot--mid {
  margin-top: 26px;
  border-color: rgba(11, 31, 46, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(11, 31, 46, 0.76);
}

.ad-slot--mid .ad-slot-inner {
  padding: 16px 16px;
}

@media (max-width: 1100px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
    gap: 10px;
    justify-content: center;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .nav-logo {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none !important; /* Override scroll animation */
    width: 140px !important;
    height: auto;
    margin: 0 auto;
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .nav-logo img {
    width: 100%;
    height: auto;
  }

  /* Show language switch in a separate row or absolute */
  .site-header .container {
    position: relative;
  }
  
  .lang-switch {
    position: absolute;
    top: 18px;
    right: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
    width: fit-content;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .legend {
    grid-template-columns: 1fr;
  }

  .map-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-viewport {
    height: 420px;
  }

  .climate-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .tile {
    min-height: 220px;
    min-width: min(86%, 420px);
    scroll-snap-align: start;
  }

  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .map-viewport {
    height: 340px;
  }

  .map-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
