:root {
  --color-bg: #fff7e8;
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-surface-strong: #fffbf1;
  --color-primary: #14b8a6;
  --color-primary-deep: #0f8f8d;
  --color-accent: #f2a65a;
  --color-accent-deep: #d9772f;
  --color-sky: #2f80ed;
  --color-text: #12343b;
  --color-text-muted: #587077;
  --color-border: rgba(18, 52, 59, 0.1);
  --shadow-soft: 0 18px 50px rgba(18, 52, 59, 0.1);
  --shadow-card: 0 12px 30px rgba(18, 52, 59, 0.07);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  overflow-x: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading--center {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.hero h1,
.site-footer h2,
.mobile-sidebar h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-heading h2,
.site-footer h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-heading p:last-child,
.site-footer p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 62ch;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  color: #fffdf9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 247, 232, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 52, 59, 0.08);
  box-shadow: 0 10px 30px rgba(18, 52, 59, 0.06);
  color: var(--color-text);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9fbf7, #ffe4bd);
  color: var(--color-text);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand-copy small {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.74rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  position: relative;
  color: currentColor;
  opacity: 0.86;
  font-weight: 500;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-topbar__social {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.header-topbar__social a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .header-topbar__social a {
  border-color: rgba(44, 51, 56, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.menu-toggle,
.sidebar-close {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.menu-toggle {
  width: 52px;
  height: 52px;
  border-radius: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 52, 59, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 35;
}

.mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100dvh;
  padding: clamp(1rem, 3.6svh, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3.2svh, 1.6rem);
  background: rgba(255, 247, 232, 0.95);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(18, 52, 59, 0.1);
  box-shadow: -20px 0 40px rgba(18, 52, 59, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 40;
  overflow: hidden;
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.sidebar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sidebar-top h2 {
  font-size: 2rem;
}

.sidebar-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1;
}

.mobile-nav {
  display: grid;
  gap: clamp(0.48rem, 1.7svh, 0.82rem);
}

.mobile-nav a {
  padding-bottom: clamp(0.48rem, 1.7svh, 0.76rem);
  border-bottom: 1px solid rgba(44, 51, 56, 0.08);
  font-size: clamp(0.94rem, 2.7svh, 1.05rem);
}

.sidebar-card {
  margin-top: auto;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
}

.sidebar-card p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(1.6rem, 4.4svh, 3.2rem)) 0 clamp(3.4rem, 6svh, 4.8rem);
  isolation: isolate;
  background: #12343b;
  color: #fffdf9;
}

.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero::after {
  inset: auto 0 -8svh;
  height: 36%;
  background: linear-gradient(
    180deg,
    rgba(18, 52, 59, 0) 0%,
    rgba(18, 52, 59, 0.18) 34%,
    rgba(18, 52, 59, 0.42) 56%,
    rgba(255, 247, 232, 0.22) 78%,
    rgba(255, 247, 232, 0.78) 100%
  );
  z-index: 0;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(10, 43, 50, 0.08), rgba(10, 43, 50, 0.08)),
    #12343b;
  transform: scale(1.015);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 30, 34, 0.5) 0%, rgba(18, 52, 59, 0.22) 36%, rgba(20, 184, 166, 0.02) 68%, rgba(242, 166, 90, 0.02) 100%),
    linear-gradient(180deg, rgba(12, 30, 34, 0.22) 0%, rgba(12, 30, 34, 0.04) 46%, rgba(11, 26, 30, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 740px;
}

.hero h1 {
  max-width: 20ch;
  color: #fffdf9;
  font-size: clamp(2.75rem, 4.1vw, 4.35rem);
  line-height: 0.96;
  margin-bottom: 0.82rem;
  text-shadow: 0 5px 26px rgba(0, 0, 0, 0.38);
}

.hero .eyebrow {
  position: relative;
  display: inline-block;
  color: #fffdf9;
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.78rem, 0.9vw, 0.98rem);
  letter-spacing: 0.12em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.hero .eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.62rem;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.hero-text {
  max-width: 54ch;
  color: rgba(255, 253, 249, 0.94);
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  font-weight: 500;
  line-height: 1.42;
  margin: 0 0 1rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 470px);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 52, 59, 0.72);
  backdrop-filter: blur(8px);
}

.hero-stat {
  padding: 0.62rem 0.86rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  color: #fffdf9;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  line-height: 0.95;
}

.hero-stat span {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 253, 249, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.24);
}

.button-secondary {
  border-color: rgba(44, 51, 56, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-text);
  backdrop-filter: blur(12px);
}

.hero-actions .button {
  min-height: 50px;
  padding: 0.82rem 1.35rem;
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-actions .button-primary {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.26);
}

.hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(18, 52, 59, 0.24);
  color: #fffdf9;
  backdrop-filter: blur(6px);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  transform: translateX(-50%);
  color: rgba(255, 253, 249, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 900;
}

.hero-scroll-cue span {
  display: inline-block;
  margin-left: 0.35rem;
  color: #fffdf9;
  animation: cue-bounce 1.4s ease-in-out infinite;
}

.hero-whatsapp {
  position: fixed;
  right: clamp(1rem, 2.8vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-bottom));
  z-index: 999;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.hero-whatsapp svg {
  width: 34px;
  height: 34px;
  display: block;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.region-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.region-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s ease;
  z-index: -2;
}

.region-card:hover::before {
  transform: scale(1.06);
}

.region-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 51, 56, 0.05), rgba(44, 51, 56, 0.58));
  z-index: -1;
}

.region-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #f8f5f0;
}

.region-content p,
.region-content span {
  margin: 0;
}

.region-content h3,
.stay-body h3,
.site-footer h3 {
  margin: 0;
}

.region-content h3,
.stay-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0.3rem 0 0.5rem;
}

.region-content span {
  max-width: 28ch;
}

.region-trancoso {
  background-image: url('./mídia/imagens/lagoa azul/lagoaazul1.jpeg');
}

.region-coroa {
  background-image: url('./mídia/imagens/lagoa bonita/lagoabonita1.jpeg');
}

.region-arraial {
  background-image: url('./mídia/imagens/nao\ utilizar\ essas\ fotos/pordosol.jpeg');
}

.section-tours {
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.1), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(242, 166, 90, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 247, 232, 0.95));
}

.section-tours .section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 800;
  color: var(--color-text);
}

.tour-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 232, 0.66)),
    rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft);
}

.tour-grid::before {
  content: '';
  position: absolute;
  inset: 0.7rem;
  pointer-events: none;
  border: 1px solid rgba(242, 166, 90, 0.26);
  border-radius: calc(var(--radius-lg) - 0.45rem);
}

.tour-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(18, 52, 59, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(18, 52, 59, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(18, 52, 59, 0.13);
}

.tour-card__media {
  position: relative;
  margin: 0;
  padding: 0.7rem 0.7rem 0;
}

.tour-card__media img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: 22px;
  object-fit: cover;
}

.tour-card__media::after {
  content: '';
  position: absolute;
  inset: 0.7rem 0.7rem 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 52, 59, 0), rgba(18, 52, 59, 0.18));
  pointer-events: none;
}

.tour-card__media span {
  position: absolute;
  left: 1.45rem;
  bottom: -0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: calc(100% - 2.9rem);
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #e6fbf7, #d8f4ef);
  color: #0f6f6d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: none;
  box-shadow: 0 8px 18px rgba(18, 52, 59, 0.1);
  z-index: 1;
}

.tour-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 2rem 1.15rem 1.15rem;
  text-align: left;
}

.tour-card__body h3 {
  margin: 0;
  color: var(--color-text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.25;
}

.tour-card__body p {
  min-height: 4.5em;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.tour-card__meta {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  margin-top: auto;
  color: #729099;
  font-size: 0.9rem;
}

.tour-card__meta strong {
  color: var(--color-primary-deep);
  font-size: 0.98rem;
}

.tour-card__button {
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fffdf9;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.24s ease, transform 0.24s ease;
}

.tour-card__button:hover,
.tour-card__button:focus-visible {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-accent));
  transform: translateY(-1px);
}

.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82%, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.featured-rail::-webkit-scrollbar {
  height: 8px;
}

.featured-rail::-webkit-scrollbar-thumb {
  background: rgba(168, 159, 145, 0.4);
  border-radius: 999px;
}

.stay-card {
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.stay-image {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.stay-image-1 {
  background-image: url('./mídia/imagens/lagoa azul/lagoaazul1.jpeg');
}

.stay-image-2 {
  background-image: url('./mídia/imagens/lagoa azul/lagoaazul3.jpeg');
}

.stay-image-3 {
  background-image: url('./mídia/imagens/lagoa bonita/lagoabonita3.jpeg');
}

.stay-image-4 {
  background-image: url('./mídia/imagens/atins/atins2.jpeg');
}

.stay-body {
  padding: 1.4rem;
}

.stay-tag {
  margin: 0 0 0.65rem;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.stay-body p {
  color: var(--color-text-muted);
}

.stay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  color: var(--color-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 52, 59, 0.08);
  box-shadow: var(--shadow-card);
}

.quote-mark {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-primary-deep);
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 0.8;
}

.faq-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--color-primary-deep);
}

.faq-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.testimonial-card p {
  margin: 0 0 1.4rem;
  color: var(--color-text-muted);
}

.testimonial-card footer {
  display: grid;
  gap: 0.15rem;
}

.testimonial-card footer span {
  color: var(--color-text-muted);
}

.site-footer {
  padding: 4.5rem 0 3rem;
  border-top: 1px solid rgba(18, 52, 59, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(224, 248, 243, 0.72));
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 1rem;
  overflow-y: auto;
}

.tour-modal.is-open {
  display: grid;
  place-items: center;
}

.tour-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 18, 0.68);
  backdrop-filter: blur(8px);
}

.tour-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  max-height: min(92vh, 920px);
  overflow: hidden auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.1), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(242, 166, 90, 0.07), transparent 32%),
    var(--color-bg);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.tour-modal__close {
  position: sticky;
  top: 0.85rem;
  left: calc(100% - 4rem);
  z-index: 3;
  width: 46px;
  height: 46px;
  margin: 0.85rem 0.85rem -3.2rem auto;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 52, 59, 0.92);
  color: #fffdf9;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.tour-modal__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  padding-top: 1rem;
}

.tour-modal__gallery-main {
  overflow: hidden;
  width: min(100%, 860px);
  margin: 0 auto;
  border-radius: 22px;
  background: #d9f5f1;
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 40px rgba(44, 51, 56, 0.1);
}

.tour-modal__gallery-main img,
.tour-modal__gallery-main video,
.tour-modal__thumb img,
.tour-modal__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tour-modal__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 150px));
  justify-content: center;
  gap: 0.85rem;
  width: min(100%, 860px);
  margin: 0 auto;
}

.tour-modal__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #d9f5f1;
  cursor: pointer;
  opacity: 0.68;
  box-shadow: 0 10px 22px rgba(44, 51, 56, 0.08);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.tour-modal__thumb:hover,
.tour-modal__thumb:focus-visible,
.tour-modal__thumb.is-active {
  border-color: var(--color-accent);
  opacity: 1;
  transform: translateY(-2px);
}

.tour-modal__thumb span {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(18, 52, 59, 0.78);
  color: #fffdf9;
  font-size: 0.68rem;
  font-weight: 800;
}

.tour-modal__content {
  display: grid;
  gap: 1rem;
  padding: 1rem 1rem 1.4rem;
}

.tour-modal__kicker {
  margin: 0;
  color: var(--color-primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.tour-modal__content h2 {
  margin: 0;
  color: var(--color-text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  line-height: 1.08;
}

.tour-modal__summary {
  max-width: 78ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tour-modal__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.tour-modal__cards article,
.tour-modal__section,
.tour-modal__footer {
  border-radius: 18px;
  border: 1px solid rgba(18, 52, 59, 0.07);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.06);
}

.tour-modal__cards article {
  padding: 1rem;
}

.tour-modal__cards span,
.tour-modal__footer span {
  display: block;
  margin-bottom: 0.25rem;
  color: #7d8790;
  font-size: 0.84rem;
}

.tour-modal__cards strong {
  color: var(--color-text);
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.tour-modal__sections {
  display: grid;
  gap: 0.8rem;
}

.tour-modal__section {
  padding: 1rem;
}

.tour-modal__section h3 {
  margin: 0 0 0.5rem;
  color: var(--color-text);
  font-size: 1rem;
}

.tour-modal__section p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.tour-modal__section ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
}

.tour-modal__section li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.tour-modal__section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 900;
}

.tour-modal__footer {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
}

.tour-modal__footer strong {
  color: var(--color-text);
}

.tour-modal__whatsapp {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: #fffdf9;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.2);
}

body.modal-open {
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  color: var(--color-text-muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 52, 59, 0.08);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  border-color: rgba(18, 52, 59, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text);
}

.footer-social--icons {
  gap: 0.85rem;
}

.footer-social--icons .social-icon-link {
  min-height: 48px;
  padding: 0.45rem 0.95rem 0.45rem 0.45rem;
  gap: 0.7rem;
  border-color: rgba(18, 52, 59, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(18, 52, 59, 0.07);
}

.footer-social--icons .social-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 52, 59, 0.11);
}

.social-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  border-radius: 10px;
}

.sidebar-social {
  margin-top: auto;
  max-width: calc(100% - 72px);
  padding-bottom: calc(0.3rem + env(safe-area-inset-bottom));
}

.sidebar-social--icons {
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.sidebar-social--icons .social-icon-link {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0.34rem;
  border-radius: 15px;
}

.sidebar-social--icons .social-icon {
  width: 34px;
  height: 34px;
}

.footer-credit {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(18, 52, 59, 0.08);
  text-align: center;
}

.footer-credit p {
  max-width: none;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--color-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.55);
  text-underline-offset: 0.22em;
}

.footer-credit a:hover {
  color: var(--color-primary-deep);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --container: min(100% - 1.25rem, 1180px);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    align-items: stretch;
    padding: calc(var(--header-height) + clamp(2.1rem, 5.2svh, 3rem)) 0 clamp(1.1rem, 3svh, 1.45rem);
  }

  .hero-media {
    background:
      linear-gradient(rgba(10, 43, 50, 0.08), rgba(10, 43, 50, 0.08)),
      #12343b;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 43, 50, 0.72) 0%, rgba(10, 43, 50, 0.44) 42%, rgba(11, 31, 36, 0.7) 100%),
      linear-gradient(90deg, rgba(5, 30, 36, 0.68) 0%, rgba(8, 56, 62, 0.34) 100%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    gap: clamp(0.9rem, 2.4svh, 1.28rem);
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: clamp(2.9rem, 8.5svh, 4.8rem);
  }

  .hero h1 {
    max-width: 13.5ch;
    color: #fffdf9;
    font-size: clamp(2.08rem, 8.8vw, 2.85rem);
    line-height: 0.96;
    margin-bottom: 0;
  }

  .hero .eyebrow {
    margin-bottom: 0.12rem;
    font-size: clamp(0.72rem, 3.15vw, 0.88rem);
    letter-spacing: 0.11em;
  }

  .hero .eyebrow::after {
    bottom: -0.52rem;
    width: 32px;
  }

  .hero-text {
    max-width: 39ch;
    color: rgba(255, 253, 249, 0.96);
    margin: 0;
    font-size: clamp(0.84rem, 3.25vw, 0.94rem);
    line-height: 1.36;
  }

  .hero-stats {
    width: 100%;
    margin: 0;
  }

  .hero-stat {
    padding: 0.62rem 0.58rem 0.68rem;
    text-align: center;
  }

  .hero-stat strong {
    font-size: clamp(1.16rem, 5vw, 1.42rem);
  }

  .hero-stat span {
    font-size: clamp(0.42rem, 1.65vw, 0.52rem);
    letter-spacing: 0.05em;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.68rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 40px;
    padding: 0.66rem 0.85rem;
    font-size: clamp(0.64rem, 2.35vw, 0.72rem);
    white-space: normal;
  }

  .tour-modal {
    padding: 0.65rem;
  }

  .tour-modal__dialog {
    border-radius: 24px;
  }

  .tour-modal__close {
    width: 40px;
    height: 40px;
    margin: 0.7rem 0.7rem -2.85rem auto;
    font-size: 1.75rem;
  }

  .tour-modal__gallery {
    gap: 0.7rem;
    padding: 0.8rem;
    padding-top: 1rem;
  }

  .tour-modal__gallery-main {
    border-radius: 16px;
    aspect-ratio: 16 / 9;
  }

  .tour-modal__gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    max-height: 154px;
    overflow-y: auto;
    padding: 0.15rem 0.1rem 0.25rem;
  }

  .tour-modal__thumb {
    border-width: 1.5px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(44, 51, 56, 0.07);
  }

  .tour-modal__thumb span {
    right: 0.25rem;
    bottom: 0.25rem;
    padding: 0.16rem 0.32rem;
    font-size: 0.58rem;
  }

  .tour-modal__content {
    gap: 0.78rem;
    padding: 0.75rem 0.85rem 1rem;
  }

  .tour-modal__kicker {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .tour-modal__content h2 {
    font-size: clamp(1.42rem, 7vw, 1.85rem);
    line-height: 1.04;
  }

  .tour-modal__summary {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .tour-modal__cards {
    gap: 0.65rem;
  }

  .tour-modal__cards article,
  .tour-modal__section,
  .tour-modal__footer {
    border-radius: 14px;
  }

  .tour-modal__cards article,
  .tour-modal__section {
    padding: 0.82rem;
  }

  .tour-modal__cards span,
  .tour-modal__footer span {
    font-size: 0.78rem;
  }

  .tour-modal__cards strong {
    font-size: 1.02rem;
    line-height: 1.18;
  }

  .tour-modal__sections {
    gap: 0.65rem;
  }

  .tour-modal__section h3 {
    margin-bottom: 0.4rem;
    font-size: 0.94rem;
  }

  .tour-modal__section p,
  .tour-modal__section li {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .tour-modal__section li {
    padding-left: 1.2rem;
  }

  .tour-modal__footer {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .tour-modal__footer strong {
    font-size: 0.9rem;
  }

  .tour-modal__whatsapp {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    align-self: auto;
    margin-top: 0;
    font-size: 0.58rem;
  }

  .hero-whatsapp {
    width: 48px;
    height: 48px;
    right: 1.05rem;
    bottom: calc(1.35rem + env(safe-area-inset-bottom));
  }

  .hero-whatsapp svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 374px) {
  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .hero-text {
    font-size: 0.84rem;
  }

  .hero-stat {
    padding-inline: 0.55rem;
  }

  .hero-stat strong {
    font-size: 1.18rem;
  }

  .hero-stat span {
    font-size: 0.45rem;
  }

  .hero-actions .button {
    min-height: 40px;
    padding-inline: 0.75rem;
    font-size: 0.66rem;
  }
}

@media (max-height: 760px) and (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + 1.15rem) 0 3.15rem;
  }

  .hero h1 {
    max-width: 20ch;
    font-size: clamp(2.65rem, 3.65vw, 3.75rem);
    margin-bottom: 0.65rem;
  }

  .hero .eyebrow {
    margin-bottom: 1rem;
  }

  .hero-text {
    max-width: 52ch;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.34;
  }

  .hero-stats {
    margin-bottom: 1rem;
  }
}

@media (max-height: 700px) and (max-width: 767px) {
  .hero {
    padding: calc(var(--header-height) + 0.95rem) 0 20px;
  }

  .hero h1 {
    max-width: 14.2ch;
    font-size: clamp(1.82rem, 7.7vw, 2.42rem);
  }

  .hero-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .hero-actions {
    gap: 0.58rem;
  }

  .hero-actions .button {
    min-height: 42px;
  }

  .hero-scroll-cue {
    display: none;
  }
}

@media (max-height: 620px) {
  .mobile-sidebar {
    gap: 0.7rem;
    padding-block: 0.8rem;
  }

  .mobile-nav a {
    padding-bottom: 0.36rem;
    font-size: 0.88rem;
  }

  .sidebar-social {
    max-width: calc(100% - 66px);
  }

  .sidebar-social--icons .social-icon-link {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0.26rem;
  }

  .sidebar-social--icons .social-icon {
    width: 28px;
    height: 28px;
  }

  .hero-whatsapp {
    width: 42px;
    height: 42px;
    right: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
  }

  .hero-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .regions-grid,
  .tour-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-grid {
    padding: 1.4rem;
  }

  .tour-modal__gallery {
    padding: 1.4rem;
    padding-top: 1.4rem;
  }

  .tour-modal__gallery-main {
    max-height: 520px;
  }

  .tour-modal__content {
    padding: 1.4rem 1.7rem 1.7rem;
  }

  .tour-modal__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-modal__footer {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  }

  .featured-rail {
    grid-auto-columns: minmax(360px, 420px);
  }

}

@media (min-width: 1024px) {
  .desktop-nav {
    display: inline-flex;
  }

  .header-topbar__social {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    padding: calc(var(--header-height) + clamp(1.6rem, 4.4svh, 3.2rem)) 0 clamp(3.4rem, 6svh, 4.8rem);
  }

  .hero-content {
    grid-template-columns: minmax(620px, 0.72fr) minmax(260px, 1fr);
  }

  .hero-copy {
    align-self: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 3.85vw, 4.25rem);
  }

  .regions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }

}
