:root {
  --rst-ink: #143f48;
  --rst-ink-deep: #0d3037;
  --rst-coral: #df765b;
  --rst-coral-dark: #bb5843;
  --rst-cream: #fffdf7;
  --rst-paper: #f4f6ef;
  --rst-sea: #dff1ed;
  --rst-muted: #61797a;
  --rst-line: #d5dfd8;
  --rst-shadow: 0 14px 34px rgba(20, 63, 72, .10);
}

html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  background: var(--rst-paper);
  color: var(--rst-ink);
  font-family: Arial, sans-serif;
}
body, button, input, select, textarea { text-rendering: optimizeLegibility; }
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(223, 118, 91, .55);
  outline-offset: 3px;
}

.top {
  background: var(--rst-ink-deep) !important;
  color: #fff !important;
  letter-spacing: 1.3px;
}
.nav, nav.nav {
  background: var(--rst-cream) !important;
  color: var(--rst-ink);
  border-bottom: 1px solid var(--rst-line);
  box-shadow: 0 3px 16px rgba(20, 63, 72, .05);
}
.brand, .logo {
  color: var(--rst-ink) !important;
  font-weight: 700;
  letter-spacing: -.2px;
}
.brand b, .logo b { color: var(--rst-coral) !important; }
.nav-links, .links {
  align-items: center;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a, .links a, .back {
  color: var(--rst-ink);
  text-decoration: none;
  font-weight: 700;
}
.nav-links a:hover, .links a:hover, .back:hover { color: var(--rst-coral-dark); }

main, .page, .wrap { max-width: 1180px; }
main.wrap, main.page { margin-left: auto; margin-right: auto; }
h1, h2, h3 { color: var(--rst-ink); }
.hero h1, .hero h2 { letter-spacing: -.02em; }
.hero h1, .hero h2, .hero h3 { color: #fff !important; }
section.hero h1, section.hero h2, section.hero h3 { color: var(--rst-ink) !important; }

.card, .panel, .provider, .summary, .form, .controls, .journey a {
  border-color: var(--rst-line);
  box-shadow: 0 4px 18px rgba(20, 63, 72, .04);
}
.card, .panel, .provider, .summary, .form, .controls { background: var(--rst-cream); }
.btn, .button, .holafly-cta {
  border-radius: 5px;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover, .button:hover, .holafly-cta:hover {
  background-color: var(--rst-coral-dark);
  box-shadow: 0 8px 18px rgba(187, 88, 67, .22);
  transform: translateY(-1px);
}
img { max-width: 100%; }
footer, .footer {
  background: var(--rst-ink-deep) !important;
  color: #c7d8d4 !important;
}
footer a, .footer a { color: inherit; }

html[data-theme="dark"] body { background: #152a2f !important; color: #edf6f1 !important; }
html[data-theme="dark"] .nav, html[data-theme="dark"] nav.nav { background: #18373c !important; color: #edf6f1; }
html[data-theme="dark"] .brand, html[data-theme="dark"] .logo,
html[data-theme="dark"] .nav-links a, html[data-theme="dark"] .links a,
html[data-theme="dark"] .back, html[data-theme="dark"] h1,
html[data-theme="dark"] h2, html[data-theme="dark"] h3 { color: #edf6f1 !important; }
html[data-theme="dark"] .card, html[data-theme="dark"] .panel,
html[data-theme="dark"] .provider, html[data-theme="dark"] .summary,
html[data-theme="dark"] .form, html[data-theme="dark"] .controls,
html[data-theme="dark"] .journey a {
  background: #203b40 !important;
  border-color: #52706e !important;
  color: #edf6f1 !important;
}
html[data-theme="dark"] input, html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #183238 !important;
  color: #fff !important;
  border-color: #52706e !important;
}

@media (max-width: 768px) {
  .nav, nav.nav {
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .nav-links, .links {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
  }
  .nav-links a, .links a {
    min-height: 42px;
    padding: 8px 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .brand, .logo { flex: 1 0 100%; }
}
@media (max-width: 440px) {
  .nav-links, .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Friendly modern finish: shared across the legacy and new page templates. */
:root {
  --rst-ink: #173f46;
  --rst-ink-deep: #102f36;
  --rst-coral: #e57b61;
  --rst-coral-dark: #c85f4c;
  --rst-cream: #ffffff;
  --rst-paper: #f6faf7;
  --rst-sea: #e5f4ef;
  --rst-muted: #5f7777;
  --rst-line: #dbe9e2;
  --rst-shadow: 0 18px 44px rgba(23, 63, 70, .10);
}

body {
  background: radial-gradient(circle at 85% -10%, #fff8e9 0, transparent 34rem), var(--rst-paper) !important;
  color: var(--rst-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, .brand, .logo, .hero h1, .hero h2, .hero h3, .card h2, .card h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -.035em;
}
h1, h2, h3 { font-weight: 750 !important; }

.top {
  background: linear-gradient(90deg, var(--rst-ink-deep), var(--rst-ink)) !important;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav, nav.nav {
  min-height: 76px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  background: rgba(255, 255, 255, .94) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rst-line) !important;
}
.brand, .logo { font-size: 20px !important; }
.nav-links a, .links a, .back {
  padding: 8px 11px;
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.nav-links a:hover, .links a:hover, .back:hover {
  background: var(--rst-sea);
  color: var(--rst-coral-dark) !important;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--rst-coral), #f1c483, #8bcfc4);
  opacity: .95;
}
.hero-inner, .hero .wrap, .hero .page { position: relative; z-index: 1; }

.card, .panel, .provider, .summary, .form, .controls, .journey a,
.visual-card, .region-card, .tour-card, .widget-card, .value, .post,
.info, .note, .notice, .round-panel {
  border: 1px solid var(--rst-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--rst-shadow) !important;
}
.card, .panel, .provider, .summary, .form, .controls, .visual-card, .value, .post, .info {
  background: var(--rst-cream) !important;
}
.card, .visual-card, .region-card, .tour-card, .post { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .visual-card:hover, .region-card:hover, .tour-card:hover, .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(23, 63, 70, .14) !important;
}
.button, .btn, .holafly-cta, button, .send {
  border-radius: 999px !important;
  font-weight: 750 !important;
  letter-spacing: .01em;
}
.button, .btn, .holafly-cta, .send {
  background: var(--rst-coral) !important;
  box-shadow: 0 10px 22px rgba(229, 123, 97, .22);
}
.button:hover, .btn:hover, .holafly-cta:hover, .send:hover {
  background: var(--rst-coral-dark) !important;
  box-shadow: 0 14px 28px rgba(200, 95, 76, .28);
}
.button.soft, .btn.soft { background: var(--rst-sea) !important; color: var(--rst-ink) !important; }
.button.dark, .btn.dark { background: var(--rst-ink) !important; }
.gallery, .gallery img, .hero img, .detail-image, .detail-image img, .post img { border-radius: 16px !important; }
.tag, .badge, .eyebrow, .ey { letter-spacing: .12em; }
input, select, textarea { border-radius: 12px !important; border-color: var(--rst-line) !important; }
footer, .footer { border-radius: 28px 28px 0 0; }

@media (max-width: 700px) {
  .hero { border-radius: 0 0 20px 20px; }
  .nav-links, .links { gap: 5px !important; }
  .nav-links a, .links a { padding: 8px 6px; }
}

/* Excursion hub: one editorial card rhythm for selected tours and live offers. */
.region-section .tour-grid,
.region-section .activity-types,
.region-section .widget-grid {
  align-items: stretch;
}
.region-section .tour-card,
.region-section .activity-type {
  min-height: 250px;
}
.region-section .activity-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--rst-cream) !important;
  border: 1px solid var(--rst-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--rst-shadow) !important;
}
.region-section .tour-card .tour-body { min-height: 250px; }
.region-section .tour-card .region-link,
.region-section .region-link { border-radius: 999px !important; }
.region-section .widget-grid { grid-template-columns: 1fr !important; }
.region-section .widget-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.region-section .widget-card [data-gyg-href],
.region-section .widget-card [data-vi-partner-id] {
  flex: 1 1 auto;
  min-height: 300px !important;
}
.region-section .widget-card h3 { margin-bottom: 10px; }

/* Cross-page visual contract: hotel profiles and region pages use the same
   editorial rhythm as the homepage, while keeping their content structures. */
body.rst-hotel-page,
body.rst-region-page {
  background: radial-gradient(circle at 86% -8%, #fff8e9 0, transparent 32rem), var(--rst-paper) !important;
}

body.rst-hotel-page .top,
body.rst-region-page .top {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--rst-ink-deep), var(--rst-ink)) !important;
  letter-spacing: 1.25px;
}

body.rst-hotel-page .hero,
body.rst-region-page .hero {
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(23, 63, 70, .14);
}

body.rst-hotel-page .hero {
  padding: 52px 0 70px;
  background: linear-gradient(108deg, rgba(16, 47, 54, .98), rgba(16, 47, 54, .84)) !important;
}

body.rst-hotel-page .hero h1,
body.rst-hotel-page section.hero h1,
body.rst-hotel-page .hero h2,
body.rst-hotel-page .hero h3,
body.rst-region-page .hero h1,
body.rst-region-page section.hero h1,
body.rst-region-page .hero h2,
body.rst-region-page .hero h3 {
  color: #fff !important;
}

body.rst-hotel-page .hero-grid {
  align-items: center;
  gap: 42px;
}

body.rst-hotel-page .hero-grid > img {
  min-height: 300px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

body.rst-hotel-page .hero p {
  color: #e6f2ee;
}

body.rst-hotel-page .content {
  padding-top: 58px;
  padding-bottom: 78px;
}

body.rst-hotel-page .gallery {
  gap: 12px;
  padding: 12px;
  background: var(--rst-cream);
  border: 1px solid var(--rst-line);
  border-radius: 22px !important;
  box-shadow: var(--rst-shadow);
}

body.rst-hotel-page .gallery img {
  border-radius: 14px !important;
  background: #dce9e5;
}

body.rst-hotel-page .grid {
  gap: 24px;
}

body.rst-hotel-page .card {
  border-radius: 22px !important;
  padding: 30px;
}

body.rst-hotel-page .card > .eyebrow,
body.rst-hotel-page .faq > .eyebrow {
  color: var(--rst-coral-dark);
}

body.rst-hotel-page .card h2,
body.rst-hotel-page .card h3,
body.rst-hotel-page .faq h2 {
  letter-spacing: -.035em;
}

body.rst-hotel-page .ratings {
  gap: 12px;
}

body.rst-hotel-page .rating {
  border-left-width: 4px;
  border-radius: 14px;
  background: var(--rst-sea);
  padding: 17px;
}

body.rst-hotel-page .button {
  border-radius: 999px !important;
  padding: 13px 17px;
}

body.rst-hotel-page .faq {
  margin-top: 46px;
}

body.rst-hotel-page .faq details {
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(23, 63, 70, .04);
}

body.rst-hotel-page .source-list,
body.rst-hotel-page .note {
  color: var(--rst-muted);
}

body.rst-region-page .facts {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--rst-shadow);
}

body.rst-region-page .story,
body.rst-region-page .visual-story,
body.rst-region-page .map-section,
body.rst-region-page .planning,
body.rst-region-page .other-regions {
  position: relative;
}

body.rst-region-page .story h2,
body.rst-region-page .experiences h2,
body.rst-region-page .planning h2,
body.rst-region-page .map-copy h2,
body.rst-region-page .why h2 {
  letter-spacing: -.035em;
}

body.rst-region-page .story p,
body.rst-region-page .why-card p,
body.rst-region-page .card p,
body.rst-region-page .check span,
body.rst-region-page .map-copy p {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body.rst-region-page .visual-card,
body.rst-region-page .region-gallery figure {
  border-radius: 22px;
  box-shadow: var(--rst-shadow);
}

body.rst-region-page .visual-card {
  min-height: 360px;
}

body.rst-region-page .region-gallery figure {
  border: 1px solid var(--rst-line);
}

body.rst-region-page .why-card,
body.rst-region-page .check,
body.rst-region-page .map-copy,
body.rst-region-page .map-frame {
  border-radius: 18px;
}

body.rst-region-page .why-card,
body.rst-region-page .check {
  box-shadow: 0 4px 18px rgba(23, 63, 70, .04);
}

body.rst-region-page .map-frame {
  box-shadow: var(--rst-shadow);
}

body.rst-region-page .cta {
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(16, 47, 54, .18);
}

body.rst-region-page .region-list a {
  border-radius: 999px;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

body.rst-region-page .region-list a:hover,
body.rst-region-page .region-list a[aria-current="page"] {
  transform: translateY(-2px);
  background: var(--rst-sea);
  border-color: #b8d6cf;
}

/* Homepage region chooser: keep the most important destination decision above the fold. */
.region-quick {
  margin-top: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: center;
  background: var(--rst-cream);
  border: 1px solid var(--rst-line);
  border-radius: 24px;
  box-shadow: var(--rst-shadow);
}
.region-quick-copy h2 {
  margin: 9px 0 8px;
  color: var(--rst-ink);
  font: 400 clamp(29px, 4vw, 44px)/1.02 Georgia, serif;
  letter-spacing: -.035em;
}
.region-quick-copy p {
  max-width: 360px;
  margin: 0;
  color: var(--rst-muted);
  font: 15px/1.65 Georgia, serif;
}
.region-quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.region-quick-links a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 12px;
  color: var(--rst-ink);
  text-decoration: none;
  background: var(--rst-paper);
  border: 1px solid var(--rst-line);
  border-radius: 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.region-quick-links a:hover,
.region-quick-links a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--rst-coral);
  box-shadow: 0 12px 22px rgba(16, 47, 54, .09);
}
.region-quick-links span {
  color: var(--rst-coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.region-quick-links strong {
  font: 400 18px/1.05 Georgia, serif;
}
.region-quick-links small {
  color: var(--rst-muted);
  font-size: 10px;
  line-height: 1.25;
}

body.rst-region-page .map-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
body.rst-region-page .map-grid {
  grid-template-columns: .72fr 1.28fr;
  gap: 32px;
}
body.rst-region-page .map-frame,
body.rst-region-page .map-frame iframe {
  min-height: 560px !important;
}

body.rst-hotel-page footer,
body.rst-region-page footer {
  border-radius: 28px 28px 0 0;
}

@media (max-width: 760px) {
  .region-quick { grid-template-columns: 1fr; }
  .region-quick-copy p { max-width: none; }
  .region-quick-links { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; padding-bottom: 3px; }
  body.rst-hotel-page .hero,
  body.rst-region-page .hero { border-radius: 0 0 20px 20px; }
  body.rst-hotel-page .hero { padding: 40px 0 52px; }
  body.rst-hotel-page .hero-grid > img { min-height: 220px; }
  body.rst-hotel-page .card { padding: 23px; }
  body.rst-region-page .visual-card { min-height: 290px; }
  body.rst-region-page .map-section { padding-top: 62px; padding-bottom: 62px; }
  body.rst-region-page .map-grid { grid-template-columns: 1fr; }
  body.rst-region-page .map-frame,
  body.rst-region-page .map-frame iframe { min-height: 390px !important; }
}
