@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  --ink: #113936;
  --ink-2: #1d4c48;
  --ink-soft: #4d6662;
  --sea: #0c9189;
  --sea-dark: #08736e;
  --sea-pale: #d9f0eb;
  --coral: #ec684f;
  --coral-dark: #c94b36;
  --mango: #efb43b;
  --sand: #f6f0e3;
  --sand-2: #eee3cf;
  --paper: #fffdf8;
  --paper-2: #fff9ef;
  --line: #d9d7ca;
  --muted: #6d7d79;
  --danger: #a9352b;
  --success: #27704d;
  --shadow: 0 18px 50px rgba(17, 57, 54, 0.1);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--sand);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--sea-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--coral-dark);
}

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

button,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: 3px;
}

::selection {
  background: var(--mango);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

p {
  margin-bottom: 1.15rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--tight {
  padding-block: clamp(44px, 6vw, 72px);
}

.section--paper {
  background: var(--paper);
}

.section--ink {
  background: var(--ink);
  color: #edf7f4;
}

.section--ink h2,
.section--ink h3,
.section--ink a {
  color: #fff;
}

.section--sea {
  background: var(--sea-pale);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--ink .section-head p {
  color: #c7dcd7;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--sea-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--ink .eyebrow {
  color: #6ee1d5;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 57, 54, 0.97);
  color: #fff;
  backdrop-filter: blur(16px);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.brand-name small {
  margin-top: 5px;
  color: #9cd7cf;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 12px;
  color: #e8f2ef;
  padding: 10px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: transparent;
  color: #fff;
}

.menu-button {
  display: none;
}

.icon-button svg,
.menu-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--coral);
  color: #fff;
}

.btn--primary:hover {
  background: var(--coral-dark);
  color: #fff;
}

.btn--secondary {
  border-color: rgba(17, 57, 54, 0.22);
  background: var(--paper);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--sea);
  color: var(--sea-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 40, 37, 0.93) 0%, rgba(8, 40, 37, 0.68) 38%, rgba(8, 40, 37, 0.12) 70%),
    linear-gradient(0deg, rgba(8, 40, 37, 0.5) 0%, transparent 42%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 48px;
  align-items: center;
  padding-block: 72px;
}

.hero-copy {
  max-width: 730px;
}

.hero .eyebrow {
  color: #7ce3d7;
}

.hero h1 {
  margin-bottom: 22px;
  color: #fff;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #e1efeb;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(17, 57, 54, 0.76);
  padding: 20px;
  color: #d8eae6;
  font-size: 0.9rem;
  backdrop-filter: blur(12px);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 22px 24px;
}

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

.trust-item strong {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: 1.3rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(17, 57, 54, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sea-pale);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.card:hover .card-media img {
  transform: scale(1.025);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin-bottom: 9px;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
}

.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--sea-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.selector {
  border: 1px solid rgba(17, 57, 54, 0.13);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.selector-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.selector-progress span {
  position: relative;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

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

.selector-progress span.is-active {
  background: var(--sea-pale);
  color: var(--ink);
}

.selector-panel {
  display: none;
  padding: clamp(24px, 5vw, 48px);
}

.selector-panel.is-active {
  display: block;
}

.selector-panel h3 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

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

.choice {
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper-2);
  color: var(--ink);
  padding: 16px;
  text-align: left;
}

.choice strong {
  display: block;
  margin-bottom: 5px;
}

.choice small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.choice:hover,
.choice[aria-pressed="true"] {
  border-color: var(--sea);
  background: var(--sea-pale);
}

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

.result-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  padding: 18px;
}

.result-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.3rem;
}

.result-card p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(360px, 0.8fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: stretch;
}

.thailand-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 20px;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(128, 213, 202, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 35% 42%, rgba(128, 213, 202, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.035);
  padding: clamp(18px, 3vw, 30px);
}

.thailand-map svg {
  display: block;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  height: min(560px, 68vh);
  min-height: 440px;
  max-height: 560px;
}

.map-hint {
  grid-column: 2;
  align-self: end;
  margin: 0;
  color: #d7e8e4;
  font-size: 0.78rem;
  line-height: 1.55;
}

.map-place-list {
  display: flex;
  grid-column: 2;
  align-self: start;
  flex-wrap: wrap;
  gap: 8px;
}

.map-place-list button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #eaf5f2;
  padding: 7px 10px;
  font: 700 0.72rem/1 "Manrope", Arial, sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.map-place-list button:hover,
.map-place-list button:focus-visible,
.map-place-list button.is-active {
  border-color: var(--mango);
  background: var(--mango);
  color: var(--ink);
}

.map-outline {
  fill: #2f5d57;
  stroke: #80d5ca;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.map-region {
  opacity: 0.4;
  transition: opacity 160ms ease;
}

.map-region:hover {
  opacity: 0.65;
}

.map-point {
  cursor: pointer;
}

.map-point circle {
  fill: var(--mango);
  stroke: var(--ink);
  stroke-width: 2;
  transition: r 160ms ease, fill 160ms ease;
}

.map-point:hover circle,
.map-point:focus circle,
.map-point.is-active circle {
  r: 7;
  fill: var(--coral);
}

.map-point text {
  opacity: 0;
  fill: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  paint-order: stroke;
  stroke: var(--ink);
  stroke-width: 3px;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.map-point:hover text,
.map-point:focus text,
.map-point.is-active text {
  opacity: 1;
}

.map-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 22px 60px rgba(2, 35, 32, 0.18);
}

.map-panel h3 {
  color: #fff;
}

.map-panel p {
  color: #c8ddd8;
}

.map-facts {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.map-facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.map-facts li::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mango);
  content: "";
}

.season-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.season-table {
  width: 100%;
  min-width: 830px;
  border-collapse: collapse;
}

.season-table th,
.season-table td {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 14px 9px;
  font-size: 0.74rem;
  text-align: center;
}

.season-table th:first-child,
.season-table td:first-child {
  position: sticky;
  z-index: 1;
  left: 0;
  min-width: 180px;
  border-left: 0;
  background: var(--paper);
  font-weight: 800;
  text-align: left;
}

.season-table thead th {
  background: var(--ink);
  color: #fff;
}

.season-table thead th:first-child {
  background: var(--ink);
}

.season--best {
  background: #cce9d1;
}

.season--mixed {
  background: #ffe9ae;
}

.season--rough {
  background: #f4c8bd;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legend i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 18px;
}

.scenario-card {
  position: relative;
  display: flex;
  min-height: 230px;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
}

.scenario-card:first-child {
  grid-row: 1 / span 2;
}

.scenario-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 40, 37, 0.88), rgba(8, 40, 37, 0.02) 75%);
  content: "";
}

.scenario-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.scenario-card h3 {
  margin-bottom: 7px;
  color: #fff;
}

.scenario-card p {
  margin-bottom: 0;
  color: #dbeae6;
  font-size: 0.87rem;
}

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

.tool-card {
  border: 1px solid rgba(17, 57, 54, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px;
}

.tool-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--sea-pale);
  color: var(--sea-dark);
}

.tool-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.budget-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 40px;
  align-items: stretch;
  border: 1px solid rgba(17, 57, 54, 0.13);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field select,
.search-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bfc8c3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px 13px;
}

.field input:focus,
.field select:focus,
.search-input:focus {
  border-color: var(--sea);
}

.calc-result {
  display: grid;
  align-content: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #d8e7e3;
  padding: 30px;
}

.calc-result strong {
  display: block;
  margin: 6px 0 16px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.calc-breakdown {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.editorial-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(17, 57, 54, 0.13);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.editorial-note .seal {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
}

.editorial-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.telegram {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sea);
  color: #fff;
  padding: clamp(30px, 6vw, 62px);
}

.telegram::before {
  position: absolute;
  top: -100px;
  right: -60px;
  width: 300px;
  height: 300px;
  border: 80px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.telegram h2 {
  max-width: 760px;
  color: #fff;
}

.telegram p {
  max-width: 650px;
  color: #e6faf7;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 0 20px;
}

.faq summary {
  min-height: 64px;
  padding: 19px 36px 18px 0;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.faq details p {
  padding-right: 24px;
  color: var(--ink-soft);
}

.site-footer {
  background: #0a2e2b;
  color: #bcd2cd;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.62fr);
  gap: 48px;
}

.footer-grid h3 {
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.88rem;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: #c6d9d4;
  font-size: 0.84rem;
  text-decoration: none;
}

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

.footer-about {
  max-width: 390px;
}

.footer-about p {
  margin-top: 20px;
  font-size: 0.86rem;
}

.footer-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.72rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #9eaaa6;
  content: "/";
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.page-hero {
  background: var(--paper);
  padding-block: clamp(48px, 7vw, 88px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.65fr);
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .dek {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.page-hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sea-pale);
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-meta strong {
  color: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 780px) minmax(180px, 1fr);
  gap: 44px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 110px;
  border-left: 3px solid var(--sea);
  padding-left: 18px;
}

.article-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--sea-dark);
}

.mobile-toc {
  display: none;
}

.article-body {
  min-width: 0;
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote {
  max-width: 72ch;
}

.article-body h2 {
  margin-top: 58px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.article-body h3 {
  margin-top: 34px;
}

.article-body li + li {
  margin-top: 8px;
}

.answer-box {
  position: relative;
  margin-bottom: 32px;
  border: 1px solid #b3d8d1;
  border-radius: var(--radius);
  background: var(--sea-pale);
  padding: 26px;
}

.answer-box strong {
  display: block;
  margin-bottom: 9px;
  color: var(--sea-dark);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-box p:last-child {
  margin-bottom: 0;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 34px;
}

.fact {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 17px;
}

.fact small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  line-height: 1.35;
}

.article-figure {
  margin: 34px 0;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.74rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.pros-cons > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
}

.pros-cons .pros {
  border-top: 5px solid #5eaf7d;
}

.pros-cons .cons {
  border-top: 5px solid var(--coral);
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 0 0 11px 30px;
}

.checklist li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: var(--sea-pale);
  color: var(--sea-dark);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 0.82rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--ink);
  color: #fff;
}

.article-rail {
  position: sticky;
  top: 110px;
}

.rail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
}

.rail-card strong {
  display: block;
  margin-bottom: 7px;
}

.rail-card p {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.hub-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hub-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 43, 40, 0.96), rgba(9, 43, 40, 0.26));
  content: "";
}

.hub-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  align-content: center;
}

.hub-hero-content {
  max-width: 760px;
}

.hub-hero h1 {
  color: #fff;
}

.hub-hero p {
  max-width: 650px;
  color: #e3efec;
  font-size: 1.12rem;
}

.quick-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 32px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--sea);
  background: var(--sea-pale);
}

.route-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0;
  counter-reset: route;
}

.route-step {
  position: relative;
  counter-increment: route;
  padding: 54px 22px 20px 0;
}

.route-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  content: counter(route);
  font-weight: 900;
}

.route-step:not(:last-child)::after {
  position: absolute;
  top: 18px;
  left: 46px;
  width: calc(100% - 54px);
  height: 2px;
  background: var(--line);
  content: "";
}

.search-page {
  min-height: 60vh;
}

.search-shell {
  max-width: 860px;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 24px 0 34px;
}

.search-input {
  min-height: 56px;
  font-size: 1.05rem;
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-result {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 20px;
}

.search-result h2 {
  margin-bottom: 5px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.12rem;
}

.search-result h2 a {
  color: var(--ink);
  text-decoration: none;
}

.search-result p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.empty-state {
  border: 1px dashed #9aaba6;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 38px;
  text-align: center;
}

.notice {
  border-left: 5px solid var(--mango);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff2ca;
  padding: 18px 20px;
}

.notice--danger {
  border-left-color: var(--coral);
  background: #f9ddd7;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 20px;
}

.service-card small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

.error-code {
  color: var(--sea);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .main-nav {
    position: absolute;
    z-index: 100;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    width: 100%;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    justify-self: stretch;
    overflow-y: auto;
    background: var(--ink);
    padding: 24px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    padding-inline: 18px;
    font-size: 1rem;
  }

  .menu-button {
    display: inline-grid;
  }

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

  .article-rail {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1.1fr repeat(2, 0.8fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .section-head,
  .hero .container,
  .page-hero-grid,
  .map-layout,
  .budget-calculator {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero .container {
    min-height: 690px;
  }

  .hero .container {
    align-content: end;
  }

  .hero-copy {
    padding-top: 90px;
  }

  .hero-note {
    display: none;
  }

  .thailand-map {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.5fr);
  }

  .thailand-map svg {
    height: min(530px, 64vh);
  }

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

  .trust-item + .trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

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

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

  .scenario-card:first-child {
    grid-row: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    display: none;
  }

  .mobile-toc {
    display: block;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    padding: 0 18px;
  }

  .mobile-toc summary {
    min-height: 56px;
    padding: 16px 0;
    font-weight: 800;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .thailand-map {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .thailand-map svg {
    grid-column: 1;
    grid-row: auto;
    height: 480px;
    min-height: 0;
  }

  .map-hint,
  .map-place-list {
    grid-column: 1;
  }

  .map-hint {
    order: -1;
  }

  .map-place-list {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 70px;
  }

  .brand-name small {
    display: none;
  }

  .main-nav {
    top: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
  }

  .hero,
  .hero .container {
    min-height: 660px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(8, 40, 37, 0.96) 0%, rgba(8, 40, 37, 0.54) 58%, rgba(8, 40, 37, 0.12) 100%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero .container {
    padding-block: 46px;
  }

  .hero-copy {
    padding-top: 180px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-grid,
  .card-grid,
  .card-grid--4,
  .tool-grid,
  .choice-grid,
  .selector-result,
  .fact-grid,
  .pros-cons,
  .form-grid,
  .scenario-grid,
  .footer-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(even),
  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .selector-progress span {
    padding: 14px 8px;
    font-size: 0.67rem;
  }

  .scenario-card:first-child {
    min-height: 330px;
  }

  .editorial-note {
    grid-template-columns: auto 1fr;
  }

  .editorial-note .btn {
    grid-column: 1 / -1;
  }

  .page-hero-media {
    aspect-ratio: 16 / 10;
  }

  .article-body h2 {
    scroll-margin-top: 90px;
  }

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

  .route-step {
    padding: 0 0 26px 54px;
  }

  .route-step:not(:last-child)::after {
    top: 44px;
    left: 18px;
    width: 2px;
    height: calc(100% - 52px);
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

/* P1 · Tourist core */
.month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.month-card {
  display: grid;
  gap: 8px;
  min-height: 172px;
  align-content: start;
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 57, 54, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.month-card:hover {
  transform: translateY(-2px);
  border-color: var(--sea);
}

.month-card small {
  color: var(--sea-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.month-card strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.month-card span,
.table-note {
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: 18px;
  background: var(--paper);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  color: var(--ink);
  font-weight: 800;
}

.faq-item > div {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

.table-note {
  margin-top: 14px;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .month-grid {
    grid-template-columns: 1fr;
  }

  .month-card {
    min-height: 0;
  }
}

/* P0 product foundation: additive layouts for the new 01–20 architecture. */
.p0-fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.p0-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-block: 30px;
}

.p0-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(17, 57, 54, 0.07);
}

.p0-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.p0-card-link:hover {
  color: inherit;
}

.p0-card-link:focus-visible {
  outline-offset: -5px;
}

.p0-card-media {
  overflow: hidden;
  background: var(--sea-pale);
}

.p0-card-media picture,
.p0-card-media img {
  display: block;
  width: 100%;
}

.p0-card-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 350ms ease;
}

.p0-card-link:hover .p0-card-media img {
  transform: scale(1.025);
}

.p0-card-body {
  display: grid;
  gap: 10px;
  padding: 22px 23px 25px;
}

.p0-card-body h3,
.p0-card-body p,
.p0-card-body small {
  margin: 0;
}

.p0-card-body p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.p0-card-body small {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 11px;
  font-size: 0.74rem;
  line-height: 1.5;
}

.p0-card-body .kicker {
  color: var(--sea-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.p0-planning {
  margin-block: 52px 62px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.p0-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-block: 34px;
}

.p0-split--reverse .p0-split-copy {
  order: 2;
}

.p0-split-copy h3 {
  margin-top: 8px;
}

.p0-figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.p0-figure picture,
.p0-figure img {
  display: block;
  width: 100%;
}

.p0-figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.p0-figure figcaption {
  padding: 10px 14px 12px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.p0-steps article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  padding: 20px;
}

.p0-steps article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.p0-steps article h3 {
  margin: 0 0 6px;
}

.p0-steps article p {
  margin: 0;
  color: var(--ink-soft);
}

.native-partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-block: 36px;
  border: 1px solid rgba(17, 57, 54, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(239, 180, 59, 0.22), transparent 34%),
    var(--sea-pale);
  padding: 26px 28px;
}

.native-partner h3 {
  margin: 5px 0 8px;
}

.native-partner p {
  max-width: 78ch;
  margin: 0;
  color: var(--ink-soft);
}

.native-partner .btn {
  white-space: nowrap;
}

.p0-sources {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px 26px;
}

.p0-sources p {
  color: var(--muted);
  font-size: 0.78rem;
}

.checklist--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

/* Existing beach photographs stay factual; this corrects the muted export. */
.beach-row figure img,
.resort-feature figure img,
.article-visual img,
.vivid-photo img,
.p0-card-media img,
.p0-figure img {
  filter: saturate(1.16) brightness(1.06) contrast(1.035);
}

@media (max-width: 900px) {
  .p0-card-grid,
  .p0-card-grid--destinations,
  .p0-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p0-split {
    grid-template-columns: 1fr;
  }

  .p0-split--reverse .p0-split-copy {
    order: initial;
  }

  .native-partner {
    grid-template-columns: 1fr;
  }

  .native-partner .btn {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .p0-card-grid,
  .p0-card-grid--destinations,
  .p0-fact-grid,
  .checklist--wide {
    grid-template-columns: 1fr;
  }

  .p0-split {
    gap: 22px;
  }

  .p0-figure {
    margin-inline: -14px;
    border-radius: 0;
  }

  .native-partner {
    padding: 22px;
  }

  .native-partner .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-rail,
  .article-toc,
  .mobile-toc,
  .btn {
    display: none !important;
  }

  body,
  .section,
  .page-hero {
    background: #fff;
  }

  .article-layout {
    display: block;
  }
}

/* Answer-led photographic header used across the editorial site. */
.story-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.story-hero--page {
  min-height: 620px;
}

.story-hero-media,
.story-hero-media::after {
  position: absolute;
  inset: 0;
}

.story-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 39, 36, 0.88) 0%, rgba(7, 39, 36, 0.62) 38%, rgba(7, 39, 36, 0.20) 60%, rgba(7, 39, 36, 0.05) 75%, transparent 100%),
    linear-gradient(0deg, rgba(7, 39, 36, 0.48) 0%, transparent 45%);
  content: "";
}

.story-hero-media picture,
.story-hero-media img {
  width: 100%;
  height: 100%;
}

.story-hero-media img {
  object-fit: cover;
  object-position: center;
}

.story-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  align-content: center;
  padding-block: 34px 0;
}

.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: end;
  padding-bottom: 46px;
}

.story-hero-copy {
  max-width: 820px;
}

.story-hero .breadcrumbs {
  margin: 24px 0 28px;
}

.breadcrumbs--light,
.breadcrumbs--light a,
.breadcrumbs--light li:not(:last-child)::after {
  color: rgba(239, 249, 246, 0.78);
}

.story-hero .eyebrow,
.story-hero .kicker {
  color: #75e4d7;
}

.story-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 4.9rem);
}

.story-hero--article h1 {
  font-size: clamp(2.45rem, 4.35vw, 4.35rem);
}

.story-answer {
  max-width: 790px;
  margin-bottom: 26px;
  color: #edf8f5;
  font-size: clamp(1.02rem, 1.55vw, 1.24rem);
  line-height: 1.62;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-meta--light {
  color: rgba(237, 248, 245, 0.78);
}

.hero-decision-card {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: var(--radius);
  background: rgba(13, 63, 58, 0.82);
  color: #fff;
  box-shadow: 0 22px 60px rgba(3, 27, 24, 0.25);
  backdrop-filter: blur(14px);
}

.hero-decision-card > strong {
  display: block;
  padding: 18px 20px 12px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.15rem;
}

.hero-decision-card dl {
  margin: 0;
}

.hero-decision-card dl > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 20px;
}

.hero-decision-card dt {
  color: #8ee8de;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-decision-card dd {
  margin: 0;
  color: #f5fbf9;
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-decision-card--home {
  align-self: end;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 -12px 36px rgba(4, 27, 24, 0.13);
}

.hero-fact {
  min-height: 90px;
  padding: 20px 22px;
}

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

.hero-fact small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-fact strong {
  display: block;
  font-family: "Lora", Georgia, serif;
  line-height: 1.35;
}

.article-section-wrap {
  background: var(--sand);
}

.answer-box--body {
  margin-top: 0;
}

.article-section {
  scroll-margin-top: 110px;
}

.article-section:first-of-type h2 {
  margin-top: 30px;
}

.article-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 30px;
  padding-left: 22px;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.step-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  padding: 17px 18px;
}

.step-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.step-item strong {
  display: block;
  margin-bottom: 4px;
}

.step-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.rail-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.rail-card .btn {
  width: 100%;
  text-align: center;
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  padding: 18px 36px 18px 0;
  font-weight: 800;
  list-style-position: outside;
  cursor: pointer;
}

.faq-section details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--ink-soft);
}

@media (max-width: 1120px) {
  .story-hero-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }

  .story-hero h1 {
    font-size: clamp(2.5rem, 5.8vw, 4.25rem);
  }
}

@media (max-width: 900px) {
  .story-hero,
  .story-hero--page {
    min-height: auto;
  }

  .story-hero-inner {
    min-height: 720px;
    align-content: end;
    padding-top: 110px;
  }

  .story-hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .hero-decision-card {
    max-width: 620px;
  }

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

  .hero-fact:nth-child(odd) {
    border-left: 0;
  }

  .hero-fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .story-hero-media::after {
    background:
      linear-gradient(0deg, rgba(6, 36, 33, 0.97) 0%, rgba(6, 36, 33, 0.76) 57%, rgba(6, 36, 33, 0.16) 100%);
  }

  .story-hero-media img {
    object-position: center;
  }

  .story-hero-inner {
    min-height: 760px;
    padding-top: 150px;
  }

  .story-hero .breadcrumbs {
    margin-bottom: 18px;
  }

  .story-hero h1,
  .story-hero--article h1 {
    font-size: clamp(2.2rem, 10.8vw, 3.15rem);
  }

  .story-answer {
    font-size: 0.97rem;
  }

  .story-actions {
    display: grid;
  }

  .story-actions .btn {
    width: 100%;
  }

  .article-meta--light {
    gap: 7px 12px;
  }

  .hero-decision-card dl > div {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .story-hero--page .hero-decision-card {
    display: none;
  }

  .story-hero--page .story-hero-inner {
    min-height: 630px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .hero-fact,
  .hero-fact + .hero-fact,
  .hero-fact:nth-child(n + 3) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 13px 16px;
  }

  .hero-fact:first-child {
    border-top: 0;
  }

  .data-table {
    min-width: 580px;
  }

  .step-item {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 15px;
  }

  .step-item > span {
    width: 30px;
    height: 30px;
  }
}

/* Editorial depth, evergreen hubs and contextual conversion blocks */
.card-media-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-media-link:focus-visible {
  z-index: 2;
  outline-offset: -5px;
}

.hub-guide {
  background:
    linear-gradient(180deg, rgba(217, 240, 235, 0.62), rgba(255, 253, 248, 0.96)),
    var(--paper);
}

.hub-guide .section-head {
  margin-bottom: 52px;
}

.hub-topic {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 18px 46px;
  padding-block: 42px;
  border-top: 1px solid rgba(17, 57, 54, 0.15);
}

.hub-topic > h3 {
  grid-row: 1 / span 2;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.hub-topic > p,
.hub-topic > figure,
.hub-topic > .data-table-wrap,
.hub-topic > .term-note {
  grid-column: 2;
}

.hub-topic > p {
  max-width: 76ch;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.term-note {
  border: 1px solid #a9d4cd;
  border-radius: var(--radius);
  background: var(--sea-pale);
  padding: 22px;
}

.term-note strong {
  display: block;
  margin-bottom: 8px;
}

.term-note p:last-child {
  margin-bottom: 0;
}

.beach-profile {
  scroll-margin-top: 110px;
}

.beach-profile h2 {
  color: var(--sea-dark);
}

.article-visual {
  position: relative;
  overflow: hidden;
  margin: 20px 0 34px;
  border-radius: var(--radius);
  background: var(--sea-pale);
  box-shadow: 0 12px 34px rgba(17, 57, 54, 0.12);
}

.article-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-visual--2 img {
  object-position: 38% center;
}

.article-visual--3 img {
  object-position: 64% center;
}

.article-visual figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  background: rgba(17, 57, 54, 0.84);
  color: #fff;
  padding: 7px 11px;
  font-size: 0.69rem;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.transport-cards {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.transport-card {
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.transport-card h3 {
  margin-top: 0;
}

.transport-card > p {
  margin-bottom: 0;
}

.trip-tools {
  border-top: 1px solid rgba(17, 57, 54, 0.12);
}

.trip-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trip-tool {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 220px;
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  padding: 24px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trip-tool:hover {
  transform: translateY(-4px);
  border-color: var(--sea);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.trip-tool small {
  color: var(--sea-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trip-tool strong {
  font-family: "Lora", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.trip-tool span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.telegram-cta {
  background: var(--paper-2);
  color: #edf7f4;
  padding-block: clamp(34px, 5vw, 64px);
}

.telegram-cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 180, 59, 0.22), transparent 26%),
    linear-gradient(135deg, #0e4a45, var(--ink));
  padding: clamp(28px, 5vw, 54px);
  box-shadow: 0 24px 64px rgba(17, 57, 54, 0.16);
}

.telegram-cta-icon {
  display: grid;
  width: clamp(72px, 8vw, 108px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--mango);
  color: var(--ink);
  box-shadow: 0 0 0 14px rgba(239, 180, 59, 0.1);
}

.telegram-cta-icon svg {
  width: 48%;
  height: 48%;
  fill: currentColor;
}

.telegram-cta-copy {
  min-width: 0;
}

.telegram-cta h2,
.telegram-cta .eyebrow {
  color: #fff;
}

.telegram-cta p {
  max-width: 74ch;
  margin-bottom: 16px;
  color: #c7dcd7;
}

.telegram-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.telegram-benefits li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6f3ef;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
}

.telegram-cta .btn {
  white-space: nowrap;
}

.telegram-cta .btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 32px rgba(237, 91, 70, 0.24);
}

@media (max-width: 1120px) {
  .trip-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hub-topic {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hub-topic > h3,
  .hub-topic > p,
  .hub-topic > figure,
  .hub-topic > .data-table-wrap,
  .hub-topic > .term-note {
    grid-column: 1;
    grid-row: auto;
  }

  .telegram-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .telegram-cta-button {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .article-visual {
    margin-inline: -20px;
    border-radius: 0;
  }

  .article-visual figcaption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 10px;
  }

  .trip-tools-grid {
    grid-template-columns: 1fr;
  }

  .trip-tool {
    min-height: 0;
  }

  .telegram-cta .btn {
    width: 100%;
  }

  .telegram-cta-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .telegram-cta-icon {
    width: 74px;
  }

  .telegram-cta-button {
    grid-column: 1;
  }
}

/* Full destination guides */
.section--sand {
  background:
    linear-gradient(180deg, rgba(243, 235, 216, 0.72), rgba(255, 253, 248, 0.96)),
    var(--paper-2);
}

.section--compact {
  padding-block: 20px;
}

.resort-hero .story-hero-media img {
  object-position: center 52%;
}

.resort-nav-section {
  position: sticky;
  z-index: 20;
  top: 80px;
  border-block: 1px solid rgba(17, 57, 54, 0.12);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(16px);
}

.resort-nav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.resort-nav a {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.resort-nav a:hover {
  border-color: var(--sea);
  background: var(--sea-pale);
  color: var(--sea-dark);
}

.section-intro {
  color: var(--ink-soft);
}

.section-intro p + p {
  margin-top: 12px;
}

.fact-grid--resort {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.resort-feature {
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(17, 57, 54, 0.07);
}

.resort-feature figure,
.beach-row figure,
.transport-explainer figure {
  margin: 0;
}

.resort-feature figure {
  position: relative;
  overflow: hidden;
}

.resort-gallery {
  display: grid;
  grid-template-columns: 1.55fr 0.82fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
  height: clamp(260px, 28vw, 365px);
  background: var(--ink);
}

.resort-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
}

.resort-gallery-item:first-child {
  grid-row: 1 / span 2;
}

.resort-gallery picture,
.resort-gallery img {
  display: block;
  width: 100%;
  height: 100%;
}

.resort-gallery img {
  object-fit: cover;
  filter: saturate(1.08) brightness(1.035) contrast(1.025);
  transition: transform 280ms ease, filter 280ms ease;
}

.resort-gallery-item:hover img,
.resort-gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.15) brightness(1.05) contrast(1.03);
}

.resort-gallery-item:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: -3px;
}

.resort-feature figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 400ms ease;
}

.resort-feature:hover figure img {
  transform: scale(1.02);
}

.resort-feature figcaption,
.beach-row figcaption,
.transport-explainer figcaption {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.resort-feature figcaption {
  padding: 10px 18px 0;
}

.resort-feature-copy {
  padding: 22px 24px 25px;
}

.resort-feature-copy h3,
.beach-row h3,
.experience-card h3,
.route-day h3 {
  margin-top: 0;
}

.micro-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  list-style: none;
}

.micro-list li {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.micro-list strong {
  color: var(--ink);
}

.beach-list {
  display: grid;
  gap: clamp(34px, 6vw, 74px);
}

.beach-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.beach-row--reverse > figure {
  grid-column: 2;
}

.beach-row--reverse > div {
  grid-row: 1;
  grid-column: 1;
}

.beach-row figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sea-pale);
  box-shadow: var(--shadow);
}

.beach-row figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.beach-row figcaption {
  padding: 10px 14px 12px;
  background: var(--paper);
}

.beach-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.beach-facts {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.beach-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.beach-facts dt {
  color: var(--sea-dark);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.beach-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.transport-cards--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 38px;
}

.route-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sea-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.transport-explainer {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.transport-explainer figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.transport-explainer figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.transport-explainer figcaption {
  padding: 10px 14px 12px;
}

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

.experience-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 0 24px 24px;
}

.experience-card-media {
  display: block;
  overflow: hidden;
  margin: 0 -24px 20px;
  background: var(--sea-pale);
}

.experience-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.08) brightness(1.03) contrast(1.025);
  transition: transform 240ms ease;
}

.experience-card:hover .experience-card-media img {
  transform: scale(1.025);
}

.experience-card > span {
  margin-bottom: 18px;
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 900;
}

.experience-card p {
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.experience-card small {
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--sea-dark);
  padding-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
}

.route-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-day {
  position: relative;
  min-height: 215px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 25px;
}

.route-day > span {
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-day p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.booking-checks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-top: 42px;
}

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

.related-link {
  display: grid;
  gap: 10px;
  min-height: 250px;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0 24px 24px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-link-media {
  display: block;
  overflow: hidden;
  margin: 0 -24px 10px;
  background: var(--sea-pale);
}

.related-link-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.08) brightness(1.035) contrast(1.02);
  transition: transform 220ms ease;
}

.related-link:hover .related-link-media img {
  transform: scale(1.035);
}

.related-link:hover {
  transform: translateY(-3px);
  border-color: var(--sea);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.related-link strong {
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
}

.related-link span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.card-media-link--destination {
  position: relative;
  inset: auto;
}

.card-media-link--destination::after {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.card-media-link--destination:focus-visible::after {
  border-color: var(--mango);
}

@media (max-width: 1120px) {
  .resort-nav-section {
    top: 80px;
  }

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

@media (max-width: 900px) {
  .fact-grid--resort,
  .transport-cards--grid,
  .experience-grid,
  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beach-row,
  .transport-explainer {
    grid-template-columns: 1fr;
  }

  .beach-row--reverse > figure,
  .beach-row--reverse > div {
    grid-row: auto;
    grid-column: 1;
  }

  .beach-row--reverse > figure {
    order: 0;
  }

  .beach-row--reverse > div {
    order: 1;
  }

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

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

@media (max-width: 620px) {
  .resort-nav-section {
    top: 70px;
  }

  .resort-nav {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .fact-grid--resort,
  .resort-feature-grid,
  .transport-cards--grid,
  .experience-grid,
  .related-links,
  .route-timeline {
    grid-template-columns: 1fr;
  }

  .resort-feature-copy,
  .route-day {
    padding: 20px;
  }

  .experience-card,
  .related-link {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }

  .experience-card-media,
  .related-link-media {
    margin-right: -20px;
    margin-left: -20px;
  }

  .resort-gallery {
    height: 300px;
  }

  .beach-list {
    gap: 54px;
  }

  .beach-row {
    gap: 22px;
  }

  .beach-row figure {
    margin-inline: -14px;
    border-radius: 0;
  }

  .transport-explainer {
    padding-top: 34px;
  }

  .route-day {
    min-height: 0;
  }

  .header-actions .icon-button,
  .header-actions .menu-button {
    width: 42px;
    height: 42px;
  }
}

/* Commercial services: visible early, useful before a visitor starts booking. */
.trip-services-section {
  border-block: 1px solid rgba(17, 57, 54, 0.1);
  background:
    radial-gradient(circle at 94% 5%, rgba(239, 180, 59, 0.16), transparent 24%),
    var(--paper-2);
  padding-block: clamp(34px, 5vw, 58px);
}

.trip-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.trip-services-head h2 {
  margin: 5px 0 0;
}

.trip-services-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-soft);
}

.trip-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trip-service-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  min-height: 174px;
  border: 1px solid rgba(17, 57, 54, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 57, 54, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trip-service-card:hover,
.trip-service-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--sea);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.trip-service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--sea-pale);
  color: var(--sea-dark);
}

.trip-service-icon img {
  display: block;
  width: 36px;
  height: 36px;
}

.trip-service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.trip-service-copy strong {
  font-family: "Lora", Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.25;
}

.trip-service-copy small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.77rem;
  line-height: 1.45;
}

.trip-service-action {
  margin-top: auto;
  padding-top: 14px;
  color: var(--sea-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.trip-service-card--flight .trip-service-icon {
  background: #dcebf8;
  color: #1d6ca1;
}

.trip-service-card--hotel .trip-service-icon {
  background: #f7e5ce;
  color: #a7611d;
}

.trip-service-card--tour .trip-service-icon {
  background: #e8e3f8;
  color: #6652a7;
}

.trip-service-card--insurance .trip-service-icon {
  background: #dff0e3;
  color: #27704d;
}

/* Telegram stays secondary: it appears after a short scroll and clears the footer. */
.telegram-float {
  position: fixed;
  z-index: 85;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(310px, calc(100vw - 28px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: var(--ink);
  opacity: 0;
  color: #fff;
  box-shadow: 0 18px 48px rgba(17, 57, 54, 0.24);
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.telegram-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.telegram-float-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: #fff;
  padding: 12px 10px 12px 13px;
  text-decoration: none;
}

.telegram-float-link:hover,
.telegram-float-link:focus-visible {
  color: #fff;
}

.telegram-float-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #229ed9;
}

.telegram-float-icon img {
  display: block;
  width: 42px;
  height: 42px;
}

.telegram-cta-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.telegram-float-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.telegram-float-copy strong {
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-float-copy small {
  overflow: hidden;
  color: #c7dcd7;
  font-size: 0.65rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-float-close {
  align-self: start;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c7dcd7;
  font-size: 1.2rem;
  line-height: 1;
}

.telegram-float-close:hover,
.telegram-float-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 900px) {
  .trip-services-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 620px) {
  .trip-services-grid {
    grid-template-columns: 1fr;
  }

  .trip-service-card {
    min-height: 0;
  }

  .telegram-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media print {
  .trip-services-section,
  .telegram-float {
    display: none !important;
  }
}

/* P3A: structured navigation, planning pages and map additions */
.main-nav .nav-root {
  display: flex;
  gap: 2px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item-head {
  display: flex;
  align-items: center;
}

.main-nav .nav-primary {
  min-height: 44px;
  padding: 10px 6px 10px 10px;
  font-size: 0.79rem;
}

.nav-toggle {
  display: grid;
  width: 28px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b8d7d1;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-item.is-open .nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-toggle span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-item.is-open .nav-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.mega-menu {
  position: absolute;
  z-index: 130;
  top: calc(100% + 15px);
  left: 50%;
  display: block;
  width: min(760px, calc(100vw - 40px));
  visibility: hidden;
  border: 1px solid rgba(25, 70, 65, 0.12);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 24px 64px rgba(5, 35, 32, 0.28);
  color: var(--ink);
  opacity: 0;
  padding: 10px;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.mega-menu--compact {
  width: min(590px, calc(100vw - 40px));
}

.mega-menu--right {
  right: 0;
  left: auto;
  transform: translate(0, 8px);
}

.nav-item.is-open > .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-item.is-open > .mega-menu--right {
  transform: translate(0, 0);
}

.mega-menu::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mega-menu--compact .mega-menu-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  border-radius: 12px;
  padding: 12px;
}

.mega-column:nth-child(even) {
  background: #f3eee3;
}

.mega-column > strong {
  margin-bottom: 7px;
  color: #60756f;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav .mega-menu a {
  min-height: 0;
  border-radius: 8px;
  color: var(--ink);
  padding: 7px 8px;
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.25;
}

.main-nav .mega-menu a:hover,
.main-nav .mega-menu a:focus-visible {
  background: #dcece7;
  color: var(--ink);
}

.main-nav .mega-menu .mega-all {
  margin-top: 6px;
  color: #bb4c3b;
  font-weight: 800;
}

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

.main-nav .month-grid a {
  justify-content: center;
  background: rgba(17, 57, 54, 0.04);
  padding-inline: 4px;
}

.map-point--minor circle {
  fill: #f8bd64;
  stroke-width: 1.5px;
}

.map-point--minor text {
  font-size: 8.5px;
  font-weight: 750;
}

.source-section {
  padding-block: clamp(42px, 6vw, 76px);
}

.source-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border: 1px solid rgba(17, 57, 54, 0.15);
  border-radius: 22px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.source-panel h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.source-panel p {
  margin: 0;
  color: #60756f;
}

.source-panel .source-note {
  margin-top: 13px;
  color: #8a4a3f;
  font-size: 0.82rem;
}

.source-link {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  background: #dcece7;
  color: var(--ink);
  padding: 16px 18px;
  font-weight: 800;
  text-decoration: none;
}

.source-link:hover,
.source-link:focus-visible {
  background: #c7e1da;
  color: var(--ink);
}

.planning-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.planning-group {
  display: grid;
  align-content: start;
  gap: 5px;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 36px rgba(17, 57, 54, 0.08);
  padding: 22px;
}

.planning-group h3 {
  margin: 0 0 10px;
}

.planning-group a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(17, 57, 54, 0.11);
  color: var(--ink);
  padding-block: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

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

.travel-checklist label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 70px;
  border: 1px solid rgba(17, 57, 54, 0.16);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  padding: 17px;
  font-weight: 700;
}

.travel-checklist label:has(input:checked) {
  border-color: #7ebdb2;
  background: #eaf4f1;
}

.travel-checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}

.live-clock {
  display: grid;
  max-width: 620px;
  margin-inline: auto;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  padding: clamp(30px, 6vw, 60px);
  text-align: center;
}

.live-clock span {
  color: #89d8ce;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-clock strong {
  margin-block: 8px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
}

.live-clock small {
  color: #c7dcd7;
}

.site-copyright {
  font-weight: 750;
}

@media (max-width: 1120px) {
  .main-nav .nav-root {
    display: grid;
    gap: 8px;
  }

  .nav-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
  }

  .nav-item-head {
    padding: 3px 6px 3px 3px;
  }

  .main-nav .nav-primary {
    flex: 1 1 auto;
    padding-inline: 15px;
    font-size: 1rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .mega-menu,
  .mega-menu--compact,
  .mega-menu--right {
    position: static;
    display: none;
    width: auto;
    visibility: visible;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 13px 13px;
    background: #f8f3e9;
    box-shadow: none;
    opacity: 1;
    padding: 8px;
    transform: none;
  }

  .nav-item.is-open > .mega-menu,
  .nav-item.is-open > .mega-menu--right {
    display: block;
    transform: none;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-menu-inner,
  .mega-menu--compact .mega-menu-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav .mega-menu a {
    color: var(--ink);
    padding: 8px;
    font-size: 0.82rem;
  }

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

@media (max-width: 700px) {
  .main-nav {
    padding: 14px;
  }

  .mega-menu-inner,
  .mega-menu--compact .mega-menu-inner {
    grid-template-columns: 1fr;
  }

  .mega-column:nth-child(even) {
    background: transparent;
  }

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

  .source-panel {
    grid-template-columns: 1fr;
  }

  .planning-directory,
  .travel-checklist {
    grid-template-columns: 1fr;
  }
}


/* P3A gallery revision: one strong photograph in the article, the full set in lightbox. */
.resort-feature-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

.resort-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(17, 57, 54, 0.09);
}

.resort-gallery {
  position: relative;
  display: block;
  height: auto;
  min-height: 420px;
  overflow: hidden;
  background: #dfe9e4;
  isolation: isolate;
}

.resort-gallery::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(5, 28, 26, 0.28));
  content: "";
  pointer-events: none;
}

.resort-gallery-item {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  color: inherit;
}

.resort-gallery-item:first-child {
  display: block;
  grid-row: auto;
}

.resort-gallery picture,
.resort-gallery img {
  display: block;
  width: 100%;
  height: 100%;
}

.resort-gallery img {
  object-fit: cover;
  filter: none;
  transform: scale(1.001);
  transition: transform 360ms ease, filter 360ms ease;
}

.resort-gallery-item:first-child:hover img,
.resort-gallery-item:first-child:focus-visible img {
  filter: saturate(1.035) contrast(1.015);
  transform: scale(1.025);
}

.resort-gallery-item:first-child:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: -3px;
}

.resort-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
}

.resort-feature:nth-child(even) .resort-gallery {
  grid-column: 2;
  grid-row: 1;
}

.resort-feature:nth-child(even) .resort-feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.gallery-open-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(8, 35, 33, 0.82);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(3, 20, 19, 0.24);
  backdrop-filter: blur(12px);
}

.gallery-open-hint svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[data-lightbox] {
  cursor: zoom-in;
}

.lightbox-open,
.lightbox-open body {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(2, 13, 12, 0.98);
  color: #fff;
  box-shadow: none;
}

.photo-lightbox::backdrop {
  background: rgba(2, 13, 12, 0.96);
  backdrop-filter: blur(16px);
}

.photo-lightbox-frame {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100vw;
  height: 100dvh;
  padding: 68px clamp(72px, 7vw, 112px) 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(40, 79, 75, 0.24), transparent 42%),
    rgba(2, 13, 12, 0.98);
}

.photo-lightbox-toolbar {
  position: absolute;
  top: 16px;
  right: 20px;
  left: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 42px;
}

.photo-lightbox-toolbar small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.photo-lightbox-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
}

.photo-lightbox figure {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: 100%;
  height: fit-content;
  max-height: 100%;
  margin: 0;
  place-items: center;
}

.photo-lightbox figure > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 196px);
  object-fit: contain;
  border-radius: 12px;
  background: #071b1a;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.44);
  opacity: 1;
  transition: opacity 160ms ease;
}

.photo-lightbox.is-loading figure > img {
  opacity: 0.3;
}

.photo-lightbox-loader {
  position: absolute;
  z-index: 2;
  display: none;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lightbox-spin 700ms linear infinite;
}

.photo-lightbox.is-loading .photo-lightbox-loader {
  display: block;
}

@keyframes lightbox-spin {
  to { transform: rotate(360deg); }
}

.photo-lightbox-footer {
  display: grid;
  gap: 10px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding-top: 12px;
}

.photo-lightbox-footer p {
  min-height: 1.35em;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
}

.photo-lightbox-thumb {
  width: 72px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.52;
  cursor: pointer;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.photo-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-lightbox-thumb:hover,
.photo-lightbox-thumb:focus-visible,
.photo-lightbox-thumb.is-current {
  border-color: #fff;
  opacity: 1;
  outline: 0;
  transform: translateY(-2px);
}

.photo-lightbox-close,
.photo-lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 36, 34, 0.78);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.photo-lightbox-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.photo-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  transform: translateY(-50%);
}

.photo-lightbox-nav--prev { left: 18px; }
.photo-lightbox-nav--next { right: 18px; }

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover,
.photo-lightbox-close:focus-visible,
.photo-lightbox-nav:focus-visible {
  background: var(--mango);
  color: var(--ink);
  outline: 0;
}

.destination-photo-essay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.destination-photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(17, 57, 54, 0.08);
}

.destination-photo-card a,
.destination-photo-card picture,
.destination-photo-card img {
  display: block;
  width: 100%;
}

.destination-photo-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.destination-photo-card a:hover img,
.destination-photo-card a:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.02);
}

.destination-photo-card figcaption {
  padding: 16px 18px 18px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.destination-photo-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.rental-request-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.rental-request-card {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(17, 57, 54, 0.16);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 8% 0%, rgba(247, 174, 66, 0.25), transparent 34%),
    linear-gradient(135deg, #f7efe0 0%, #e9f2ed 100%);
  box-shadow: 0 20px 54px rgba(17, 57, 54, 0.1);
}

.rental-request-copy h2 {
  margin: 10px 0 14px;
}

.rental-request-copy p {
  color: var(--ink-soft);
}

.rental-request-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.rental-request-points li {
  position: relative;
  padding-left: 24px;
}

.rental-request-points li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 0 0 0 4px rgba(247, 174, 66, 0.2);
}

.rental-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(17, 57, 54, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(17, 57, 54, 0.08);
}

.rental-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.rental-field--wide,
.rental-request-form .btn,
.rental-form-note,
.rental-form-status {
  grid-column: 1 / -1;
}

.rental-field input,
.rental-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(17, 57, 54, 0.24);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.rental-field input:focus,
.rental-field select:focus {
  border-color: var(--sea);
  outline: 3px solid rgba(0, 128, 120, 0.15);
}

.rental-form-note,
.rental-form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.rental-form-note a { color: var(--sea-dark); }

.rental-form-status {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-weight: 750;
}

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

  .resort-feature:nth-child(even) .resort-gallery,
  .resort-feature:nth-child(even) .resort-feature-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .resort-gallery {
    min-height: 380px;
  }

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

@media (max-width: 620px) {
  .resort-feature {
    min-height: 0;
  }

  .resort-gallery {
    min-height: 250px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .resort-feature {
    border-radius: 18px;
  }

  .resort-feature-copy {
    padding: 24px 20px 28px;
  }

  .gallery-open-hint {
    right: 12px;
    bottom: 12px;
  }

  .destination-photo-essay,
  .rental-request-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .rental-request-card {
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  .rental-field--wide,
  .rental-request-form .btn,
  .rental-form-note,
  .rental-form-status {
    grid-column: 1;
  }

  .photo-lightbox {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .photo-lightbox-frame {
    padding: 58px 12px 12px;
  }

  .photo-lightbox-toolbar {
    top: 8px;
    right: 10px;
    left: 10px;
  }

  .photo-lightbox figure > img {
    max-height: calc(100dvh - 190px);
    border-radius: 8px;
  }

  .photo-lightbox-footer {
    gap: 8px;
    padding-top: 10px;
  }

  .photo-lightbox-footer p {
    display: -webkit-box;
    min-height: 2.5em;
    overflow: hidden;
    font-size: 0.76rem;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .photo-lightbox-thumbs {
    justify-content: flex-start;
    min-height: 48px;
    overflow-x: auto;
    padding: 0 2px 3px;
    scrollbar-width: thin;
  }

  .photo-lightbox-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 43px;
  }

  .photo-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .photo-lightbox-nav--prev { left: 8px; }
  .photo-lightbox-nav--next { right: 8px; }
}

/* P3B clickable editorial cards and complete desktop rows. */
@media (min-width: 1121px) {
  .mega-menu--wide {
    width: min(1180px, calc(100vw - 40px));
  }

  .mega-menu--wide .mega-menu-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
  }

  /* Shift desktop panels back inside the viewport after the width is known. */
  .mega-menu:not(.mega-menu--right) {
    transform: translate(calc(-50% + var(--mega-shift, 0px)), 8px);
  }

  .nav-item.is-open > .mega-menu:not(.mega-menu--right) {
    transform: translate(calc(-50% + var(--mega-shift, 0px)), 0);
  }

  .experience-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Keep large menus inside short laptop viewports. */
@media (min-width: 981px) {
  .mega-menu {
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.experience-card--link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.experience-card--link:hover,
.experience-card--link:focus-visible {
  border-color: color-mix(in srgb, var(--sea) 55%, var(--line));
  box-shadow: 0 16px 36px rgba(10, 58, 60, 0.12);
  transform: translateY(-3px);
}

.experience-card--link:focus-visible {
  outline: 3px solid rgba(0, 128, 128, 0.28);
  outline-offset: 3px;
}

.experience-card--link small span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.experience-card--link:hover small span {
  transform: translateX(4px);
}

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

.editorial-photo-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.editorial-photo-card picture {
  display: block;
  overflow: hidden;
}

.editorial-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 240ms ease;
}

.editorial-photo-card > span {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.editorial-photo-card strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.15;
}

.editorial-photo-card small {
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.55;
}

.editorial-photo-card b {
  color: var(--sea-dark);
  font-size: .75rem;
}

.editorial-photo-card i {
  font-style: normal;
}

.editorial-photo-card:hover,
.editorial-photo-card:focus-visible {
  box-shadow: 0 16px 36px rgba(10, 58, 60, 0.12);
  transform: translateY(-3px);
}

.editorial-photo-card:hover img {
  transform: scale(1.025);
}

.source-panel--stack .source-links {
  display: grid;
  gap: 10px;
}

/* Action links that remain after removing editorial source panels. */
.useful-link-section {
  padding-block: clamp(24px, 4vw, 42px);
}

.useful-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(17, 57, 54, 0.16);
  border-radius: 18px;
  background: #eef7f4;
  padding: clamp(18px, 3vw, 26px);
}

.useful-link-panel > div {
  display: grid;
  gap: 5px;
}

.useful-link-panel h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.useful-link-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.useful-link-panel .source-link {
  flex: 0 0 auto;
  min-height: 50px;
  background: var(--sea-dark);
  color: #fff;
  padding: 12px 16px;
}

.useful-link-panel .source-link:hover,
.useful-link-panel .source-link:focus-visible {
  background: var(--sea);
  color: #fff;
}

.native-partner--bank-card {
  border-color: rgba(240, 177, 53, 0.56);
  background: linear-gradient(135deg, #fff7df 0%, #f2faf7 100%);
}

@media (max-width: 760px) {
  .useful-link-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .useful-link-panel .source-link {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .mega-menu--wide .mega-menu-inner {
    width: auto;
  }
  .editorial-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .editorial-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* P4: planner entry, route sequence and contextual partner blocks. */
.header-plan-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mango);
  color: var(--ink);
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.header-plan-cta:hover,
.header-plan-cta:focus-visible {
  background: #ffd66e;
  color: var(--ink);
}

.route-strip-section {
  border-block: 1px solid rgba(17, 57, 54, 0.1);
  background: var(--paper-2);
}

.route-strip-head {
  display: grid;
  max-width: 760px;
  gap: 8px;
  margin-bottom: 24px;
}

.route-strip-head h2,
.route-strip-head p {
  margin: 0;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-strip li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 108px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 16px;
}

.route-strip li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-pale);
  color: var(--sea-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.route-strip li div {
  display: grid;
  gap: 5px;
}

.route-strip li strong {
  line-height: 1.25;
}

.route-strip li small {
  color: var(--ink-soft);
  line-height: 1.45;
}

.affiliate-context {
  border-block: 1px solid rgba(17, 57, 54, 0.1);
  background:
    radial-gradient(circle at 95% 0%, rgba(239, 180, 59, 0.18), transparent 26%),
    var(--paper-2);
}

.affiliate-context-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.affiliate-context-head h2,
.affiliate-context-head p {
  margin: 0;
}

.affiliate-context-head p {
  color: var(--ink-soft);
}

.affiliate-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.affiliate-offer {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
}

.affiliate-offer > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.affiliate-offer h3,
.affiliate-offer p {
  margin: 0;
}

.affiliate-offer h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.affiliate-offer p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.affiliate-offer .btn {
  width: 100%;
}

.ad-disclosure {
  margin: 18px 0 0;
  border-left: 3px solid var(--mango);
  background: rgba(239, 180, 59, 0.1);
  padding: 12px 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.ad-disclosure code {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .affiliate-context-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .header-plan-cta {
    width: 54px;
    min-height: 42px;
    padding-inline: 6px;
    font-size: 0;
  }

  .header-plan-cta::after {
    content: "План";
    font-size: 0.72rem;
  }

  .route-strip,
  .affiliate-offers {
    grid-template-columns: 1fr;
  }

  .route-strip li {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .header-actions .icon-button {
    display: none;
  }
}

@media print {
  .header-plan-cta,
  .affiliate-context {
    display: none !important;
  }
}

/* Production hotel affiliate showcase */
.hotel-offers-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(239, 180, 59, 0.14), transparent 34%),
    linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.hotel-offers-head {
  align-items: end;
}

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

.hotel-offer-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(25, 48, 64, 0.12);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(25, 48, 64, 0.09);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hotel-offer-card:hover,
.hotel-offer-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(239, 180, 59, 0.72);
  box-shadow: 0 22px 52px rgba(25, 48, 64, 0.16);
}

.hotel-offer-card:focus-visible {
  outline: 3px solid rgba(239, 180, 59, 0.35);
  outline-offset: 3px;
}

.hotel-offer-media {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #d9e8e9;
}

.hotel-offer-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.hotel-offer-card:hover .hotel-offer-media img {
  transform: scale(1.035);
}

.hotel-offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.hotel-offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hotel-offer-segment,
.hotel-offer-location {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.hotel-offer-segment {
  border-radius: 999px;
  background: rgba(239, 180, 59, 0.18);
  padding: 7px 10px;
  color: #7b5400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hotel-offer-location {
  color: var(--ink-soft);
}

.hotel-offer-body > strong {
  min-height: 2.6em;
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.28;
}

.hotel-offer-rating {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.hotel-offer-rating b {
  color: #0d735d;
  font-size: 1.26rem;
}

.hotel-offer-rating small {
  width: 100%;
  color: var(--ink-soft);
}

.hotel-offer-copy {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hotel-offer-action {
  margin-top: auto;
  padding-top: 18px;
  color: #0d735d;
  font-weight: 800;
}

.hotel-offers-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hotel-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotel-offer-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  }
}

@media (max-width: 680px) {
  .hotel-offers-grid {
    grid-template-columns: 1fr;
  }

  .hotel-offer-card:last-child {
    grid-column: auto;
    display: flex;
  }

  .hotel-offer-body > strong {
    min-height: 0;
  }
}
