/* ============================================
   SintraToursPortugal — Design System v4
   "Portuguese Riviera" — Forest Green · Gold · Terra · Cream
   ============================================ */

:root {
  --navy: #0f3d2e;
  --navy-soft: #185a42;
  --navy-light: #7da88f;
  --gold: #C8A961;
  --gold-light: #E5D5A8;
  --gold-pale: #F5EDD6;
  --terra: #C47D5C;
  --terra-light: #E8C4B0;
  --terra-pale: #F5E8E0;
  --coral: #E07A5F;
  --cream: #FBF8F3;
  --cream-dark: #F2EDE5;
  --white: #FFFFFF;
  --charcoal: #2A2A2E;
  --slate: #7A7A85;
  --green: #2f8a54;
  --shadow-sm: 0 2px 8px rgba(15,61,46,0.08);
  --shadow-md: 0 6px 24px rgba(15,61,46,0.10);
  --shadow-lg: 0 16px 48px rgba(15,61,46,0.14);
  --shadow-xl: 0 28px 60px rgba(15,61,46,0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--terra));
  z-index: 10001; width: 0%; transition: width 0.05s linear;
}

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 9px 0;
  overflow: hidden;
}
.announce-bar p { white-space: nowrap; font-weight: 500; letter-spacing: 0.3px; }
.announce-bar strong { color: var(--gold-light); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--ease); background: transparent;
}
.navbar.scrolled {
  background: rgba(251,248,243,0.97);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(15,61,46,0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  white-space: nowrap;
  transition: var(--ease);
}
.navbar.scrolled .navbar-logo span { color: var(--navy); }
.navbar-logo .logo-accent { color: var(--terra); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.8); position: relative; padding: 4px 0;
}
.navbar.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 24px !important; border-radius: 50px !important;
  font-weight: 700 !important; font-size: 0.85rem !important;
  transition: all var(--ease) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,169,97,0.3); }
.nav-cta::after { display: none !important; }

.lang-selector {
  position: relative;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 82px;
  margin-left: 10px;
}
.lang-selector::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: rgba(255,255,255,0.78);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform var(--ease), color var(--ease);
}
.navbar.scrolled .lang-selector::after { color: var(--navy); }
.lang-selector.open::after {
  transform: translateY(3px) rotate(225deg);
}
.lang-selector a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 82px;
  min-height: 32px;
  font-size: 0.73rem;
  padding: 6px 24px 6px 9px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-weight: 700;
  color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition: opacity var(--ease), transform var(--ease), color var(--ease), background var(--ease), border-color var(--ease);
}
.lang-selector a:not(.active) {
  position: absolute;
  top: 0;
  right: 0;
}
.lang-selector a.active {
  position: relative;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.lang-selector.open {
  padding: 6px;
  width: 94px;
  border-radius: 22px;
  background: rgba(15,61,46,0.92);
  box-shadow: 0 18px 42px rgba(8,47,33,0.24);
  backdrop-filter: blur(18px);
}
.navbar.scrolled .lang-selector.open {
  background: rgba(251,248,243,0.98);
  border: 1px solid rgba(15,61,46,0.08);
}
.lang-selector.open a {
  position: relative;
  top: auto;
  right: auto;
  width: 82px;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}
.lang-selector.open a:not(.active) {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}
.lang-selector.open a + a {
  margin-top: 6px;
}
.lang-selector a.active, .lang-selector a:hover { color: var(--gold-light); border-color: rgba(200,169,97,0.45); background: rgba(200,169,97,0.12); }
.navbar.scrolled .lang-selector a { color: var(--slate); }
.navbar.scrolled .lang-selector a.active, .navbar.scrolled .lang-selector a:hover { color: var(--navy); background: rgba(200,169,97,0.14); }

.lang-rtl {
  direction: rtl;
}

.lang-rtl .navbar .container,
.lang-rtl .nav-links,
.lang-rtl .fleet-detail {
  direction: rtl;
}

.lang-rtl .lang-selector {
  direction: ltr;
}

.lang-rtl .hero-content,
.lang-rtl .section-header,
.lang-rtl .fleet-card-body,
.lang-rtl .journey-copy {
  text-align: right;
}
.lang-flag {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: #ddd;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.42), 0 2px 5px rgba(0,0,0,0.18);
}
.flag-pt { background: linear-gradient(90deg, #046a38 0 42%, #da291c 42%); }
.flag-pt::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffcc33;
  box-shadow: inset 0 0 0 1px rgba(4,106,56,0.35);
}
.flag-gb {
  background:
    linear-gradient(32deg, transparent 42%, #fff 42% 47%, #c8102e 47% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(-32deg, transparent 42%, #fff 42% 47%, #c8102e 47% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 44%, #c8102e 44% 56%, transparent 56%),
    #012169;
}
.flag-fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.flag-es { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-es::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 3px;
  height: 4px;
  border-radius: 1px;
  background: #8f1d1d;
}
.flag-cn { background: #de2910; }
.flag-cn::before {
  content: "★";
  position: absolute;
  left: 2px;
  top: -1px;
  color: #ffde00;
  font-size: 7px;
  line-height: 1;
}
.flag-ru { background: linear-gradient(180deg, #fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66%); }
.flag-sa { background: #006c35; }
.flag-sa::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
  background: rgba(255,255,255,0.92);
}
.flag-sa::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 7px;
  width: 4px;
  height: 1px;
  background: rgba(255,255,255,0.92);
}

.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; }
.navbar.scrolled .mobile-toggle { color: var(--charcoal); }

/* ---- HERO WITH VIDEO ---- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; overflow: hidden; background: var(--navy);
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video,
.hero-video-wrap iframe {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-video-wrap iframe {
  width: 100vw; height: 56.25vw;
  min-height: 100vh; min-width: 177.78vh;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(15,61,46,0.62) 0%, rgba(15,61,46,0.42) 40%, rgba(8,47,33,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 3; max-width: 700px; padding-top: 90px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,97,0.15); border: 1px solid rgba(200,169,97,0.3);
  backdrop-filter: blur(8px); color: var(--gold-light);
  padding: 7px 18px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.3s both;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem); color: var(--white);
  margin-bottom: 18px; animation: fadeInUp 0.8s 0.5s both;
}
.hero h1 .accent {
  color: var(--gold);
  background: linear-gradient(135deg, #C8A961, #E07A5F, #2f8a54, #e0c487, #C8A961);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 5s ease infinite;
  filter: drop-shadow(0 0 20px rgba(200,169,97,0.3));
}

.hero h1 .typed-text {
  background: linear-gradient(135deg, #2f8a54, #C8A961, #e0c487, #0f3d2e, #2f8a54);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 5s ease infinite;
  animation-delay: 1.5s;
  filter: drop-shadow(0 0 20px rgba(15,61,46,0.42));
}

@keyframes colorShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  max-width: 500px; margin-bottom: 30px;
  animation: fadeInUp 0.8s 0.7s both; line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.9s both;
}
.hero-urgency {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; animation: fadeInUp 0.8s 1.1s both;
}
.hero-urgency .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ADE80;
  animation: dotPulse 1.5s ease infinite;
}
.hero-urgency span { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.hero-urgency strong { color: var(--gold-light); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), #d4b76a);
  color: var(--navy);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; border: none;
  transition: all 0.3s ease; position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(200,169,97,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4b76a, var(--gold-light));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,169,97,0.4);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(200,169,97,0.2); }
.btn-primary::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg) translateX(-100%); transition: transform 0.6s ease;
}
.btn-primary:hover::after { transform: rotate(45deg) translateX(100%); }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--ease); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.hero-stats {
  position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 50px; z-index: 3;
  animation: fadeInUp 0.8s 1.2s both;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--gold);
}
.hero-stat .label {
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 2px;
}
.trust-badges {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 3; animation: fadeInUp 0.8s 1.5s both;
}
.trust-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500;
}
.trust-badge svg { width: 14px; height: 14px; color: var(--gold); }

/* ---- SECTIONS ---- */
.section { padding: 90px 0; }
.section-cream { background: var(--cream-dark); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--terra); margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.section-header p { color: var(--slate); font-size: 1rem; }

/* ---- FLEET SECTION ── */
.fleet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.fleet-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}
.fleet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fleet-card-img { height: 200px; overflow: hidden; }
.fleet-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fleet-card:hover .fleet-card-img img { transform: scale(1.05); }
.fleet-vehicle-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 84%, rgba(9,70,54,0.26), transparent 38%),
    radial-gradient(circle at 24% 20%, rgba(244,213,138,0.34), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,246,241,0.96));
}
.fleet-vehicle-stage::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 18px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(8,47,33,0.25), transparent 72%);
  filter: blur(10px);
  z-index: -1;
}
.fleet-vehicle-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(215,181,109,0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.24), transparent 52%);
  pointer-events: none;
}
.fleet-vehicle-img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 20px rgba(8,47,33,0.25));
  transform-origin: 50% 82%;
}
.fleet-tuk-img {
  width: 98%;
  height: 96%;
}
.fleet-jeep-img {
  width: 78%;
  height: 78%;
}
.fleet-card:hover .fleet-vehicle-img {
  transform: scale(1.035) translateY(-2px);
}
.fleet-card-body { padding: 24px; }
.fleet-card-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.fleet-card-body p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }
.fleet-card-body .fleet-detail {
  display: flex; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--slate);
}
.fleet-card-body .fleet-detail span {
  display: flex; align-items: center; gap: 4px;
}
.fleet-card-body .fleet-detail svg { width: 14px; height: 14px; color: var(--terra); }

/* ---- TOUR CARDS ---- */
.tours-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.tour-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--ease);
  box-shadow: var(--shadow-sm); border: 1px solid transparent;
}
.tour-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}
.tour-card-img { position: relative; height: 220px; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-card:hover .tour-card-img img { transform: scale(1.06); }
.mountain-card-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(circle at 50% 88%, rgba(244,213,138,0.18), transparent 42%),
    linear-gradient(135deg, rgba(15,61,46,0.96), rgba(8,47,33,0.9));
}
.mountain-card-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,47,33,0.36));
  pointer-events: none;
}
.mountain-card-collage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px 10px 16px;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,0.28));
  transition: transform 0.5s ease;
}
.tour-card:hover .mountain-card-collage img:first-child { transform: translateX(4px) scale(1.06); }
.tour-card:hover .mountain-card-collage img:last-child { transform: translateX(-4px) scale(1.06); }
.tour-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.tour-card-badge.bestseller { background: var(--gold); color: var(--navy); }
.tour-card-badge.private { background: var(--navy); color: var(--white); }
.tour-card-duration {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(15,61,46,0.78); backdrop-filter: blur(6px);
  color: var(--white); padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 500;
}
.tour-card-spots {
  position: absolute; top: 14px; right: 14px;
  background: rgba(92,184,92,0.9); color: #fff;
  padding: 3px 10px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700;
}
.tour-card-body { padding: 22px; }
.tour-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.35; }
.tour-card-body p { font-size: 0.85rem; color: var(--slate); margin-bottom: 14px; line-height: 1.55; }
.tour-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--cream-dark);
}
.tour-card-price { font-size: 0.8rem; color: var(--slate); }
.tour-card-price strong { font-size: 1.2rem; color: var(--navy); font-family: 'Playfair Display', serif; }
.tour-card-price .original-price { text-decoration: line-through; color: var(--slate); font-size: 0.82rem; margin-right: 5px; }
.tour-card-book {
  background: var(--navy); color: var(--white);
  padding: 9px 22px; border-radius: 50px; font-size: 0.82rem;
  font-weight: 600; border: none; transition: all var(--ease);
}
.tour-card-book:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,61,46,0.20); }

/* ---- CATEGORIES ---- */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px;
}
.category-card {
  position: relative; height: 260px; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,61,46,0.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; transition: var(--ease);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(180deg, rgba(200,169,97,0.15) 20%, rgba(15,61,46,0.88) 100%);
}
.category-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 3px; }
.category-card span { color: var(--gold-light); font-size: 0.78rem; font-weight: 500; }

/* ---- WHY CHOOSE US ---- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card { text-align: center; padding: 36px 20px; border-radius: var(--radius-lg); transition: all var(--ease); }
.feature-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--cream-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); font-size: 1.4rem; transition: all var(--ease);
}
.feature-card:hover .feature-icon { background: var(--navy); color: var(--gold); transform: scale(1.1); }
.feature-card h4 { font-size: 0.98rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.85rem; color: var(--slate); line-height: 1.55; }

/* ---- REVIEWS ---- */
.reviews-wrapper {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 44px; box-shadow: var(--shadow-md);
}
.reviews-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.reviews-score { text-align: center; padding-right: 20px; border-right: 2px solid var(--cream-dark); }
.reviews-score .score { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.reviews-score .stars { color: var(--gold); font-size: 1.1rem; margin: 4px 0; }
.reviews-score .count { font-size: 0.8rem; color: var(--slate); }
.review-card { background: var(--cream); border-radius: var(--radius-md); padding: 22px; transition: all var(--ease); }
.review-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.review-card .reviewer-info h4 { font-size: 0.88rem; margin-bottom: 1px; }
.review-card .reviewer-info span { font-size: 0.75rem; color: var(--slate); }
.review-card .stars { color: var(--gold); font-size: 0.82rem; margin-bottom: 6px; }
.review-card p { font-size: 0.85rem; color: var(--charcoal); line-height: 1.55; }
.review-card .date { font-size: 0.72rem; color: var(--slate); margin-top: 6px; }
.google-review-badge { display: flex; align-items: center; gap: 8px; margin-top: 20px; justify-content: center; }
.google-review-badge svg { width: 22px; height: 22px; }
.google-review-badge span { font-size: 0.8rem; color: var(--slate); }
.review-submit-panel {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(200,169,97,0.15), transparent 34%),
    linear-gradient(135deg, rgba(15,61,46,0.96), rgba(8,47,33,0.94));
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}
.review-submit-panel .section-label { color: var(--gold-light); }
.review-submit-panel h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 6px 0 8px;
}
.review-submit-panel p { color: rgba(255,255,255,0.7); line-height: 1.65; font-size: 0.92rem; }
.review-submit-form { display: grid; gap: 12px; }
.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.review-submit-form input,
.review-submit-form select,
.review-submit-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.review-submit-form select option { color: var(--charcoal); }
.review-submit-form textarea { min-height: 116px; resize: vertical; }
.review-submit-form input::placeholder,
.review-submit-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.review-submit-form input:focus,
.review-submit-form select:focus,
.review-submit-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,97,0.16);
  background: rgba(255,255,255,0.12);
}
.review-submit-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.review-submit-actions .btn-primary { border: none; cursor: pointer; }
.review-submit-actions .btn-primary:disabled { opacity: 0.72; cursor: wait; }
.review-submit-status {
  color: rgba(255,255,255,0.76);
  font-size: 0.86rem;
  line-height: 1.45;
}
.review-submit-status.error { color: #fecaca; }

/* ---- INSTAGRAM ---- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-item:hover img { transform: scale(1.08); }
.insta-item::after {
  content: '♥'; position: absolute; inset: 0;
  background: rgba(15,61,46,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.3rem; opacity: 0; transition: var(--ease);
}
.insta-item:hover::after { opacity: 1; }

/* ---- NEWSLETTER ---- */
.newsletter {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 50px; display: flex; align-items: center;
  justify-content: space-between; gap: 36px; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(200,169,97,0.06);
}
.newsletter h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 6px; }
.newsletter p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 8px; min-width: 360px; position: relative; z-index: 1; }
.newsletter-form input {
  flex: 1; padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white); border-radius: 50px; font-size: 0.9rem;
  transition: var(--ease);
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,97,0.15); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  background: var(--gold); color: var(--navy);
  padding: 12px 24px; border-radius: 50px; border: none;
  font-weight: 700; font-size: 0.85rem; transition: all var(--ease); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 70px 0 0; position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terra), var(--gold));
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 36px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand h3 .gold { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: all var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 0.88rem; font-family: 'DM Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: all var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 3px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: 0.82rem; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-payment { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.footer-payment span { background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 3px; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---- WHATSAPP ---- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  transition: all var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
.whatsapp-float::before {
  content: 'Fale Connosco!'; position: absolute; right: 66px; top: 50%;
  transform: translateY(-50%); background: var(--white); color: var(--charcoal);
  padding: 6px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: all var(--ease);
}
.whatsapp-float:hover::before { opacity: 1; visibility: visible; }

/* ---- COOKIE ---- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); color: var(--charcoal);
  padding: 18px 24px; z-index: 10000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; font-size: 0.82rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner a { color: var(--navy); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept { background: var(--navy); color: var(--white); padding: 8px 20px; border-radius: 50px; border: none; font-weight: 600; font-size: 0.82rem; transition: all var(--ease); }
.cookie-accept:hover { background: var(--navy-soft); }
.cookie-reject { background: transparent; color: var(--slate); border: 1px solid var(--cream-dark); padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; }

/* ---- POPUP ---- */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(15,61,46,0.62);
  backdrop-filter: blur(6px); z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--ease);
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 44px; max-width: 440px; width: 90%; position: relative;
  text-align: center; box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px); transition: all var(--ease);
  border-top: 3px solid var(--gold);
}
.popup-overlay.active .popup { transform: scale(1) translateY(0); }
.popup-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 1.2rem;
  color: var(--slate); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: var(--ease);
}
.popup-close:hover { background: var(--cream); }
.popup h2 { font-size: 1.6rem; margin-bottom: 10px; }
.popup p { color: var(--slate); margin-bottom: 20px; font-size: 0.92rem; }
.popup-form { display: flex; flex-direction: column; gap: 10px; }
.popup-form input {
  padding: 12px 16px; border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); font-size: 0.9rem; background: var(--cream); transition: var(--ease);
}
.popup-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,169,97,0.15); }
.popup-form button {
  background: var(--navy); color: var(--white); padding: 12px;
  border-radius: var(--radius-md); border: none; font-weight: 700;
  font-size: 0.92rem; transition: all var(--ease);
}
.popup-form button:hover { background: var(--navy-soft); transform: translateY(-1px); }
.popup .discount { font-size: 0.78rem; color: var(--terra); font-weight: 600; margin-top: 8px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 36px; }
  .newsletter { flex-direction: column; text-align: center; padding: 36px; }
  .newsletter-form { min-width: unset; width: 100%; max-width: 440px; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { display: none; }
  .tours-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-wrapper { padding: 24px; }
  .reviews-header { flex-direction: column; text-align: center; }
  .reviews-score { border-right: none; border-bottom: 2px solid var(--cream-dark); padding-bottom: 14px; }
  .whatsapp-float::before { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a, .hero-actions button { width: 100%; text-align: center; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .cookie-banner { flex-direction: column; text-align: center; }
}

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 12px 16px; border: 1px solid var(--cream-dark); border-radius: var(--radius-md);
  font-size: 0.9rem; background: var(--white); transition: var(--ease); font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,169,97,0.1); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info-card { background: var(--navy); border-radius: var(--radius-xl); padding: 44px; color: var(--white); }
.contact-info-card h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,0.65); margin-bottom: 28px; font-size: 0.92rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-detail .icon { width: 40px; height: 40px; background: rgba(200,169,97,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .icon svg { color: var(--gold); width: 18px; height: 18px; }
.contact-detail h4 { font-size: 0.88rem; margin-bottom: 3px; font-family: 'DM Sans', sans-serif; }
.contact-detail p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- TOUR DETAIL ---- */
.tour-hero { position: relative; height: 50vh; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.tour-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tour-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,61,46,0.82) 100%); }
.tour-mountain-bg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(circle at 22% 26%, rgba(244,213,138,0.22), transparent 34%),
    radial-gradient(circle at 74% 22%, rgba(255,255,255,0.16), transparent 32%),
    linear-gradient(135deg, #0f3d2e, #082f21);
}
.tour-mountain-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(28px, 6vw, 74px) clamp(18px, 4vw, 58px);
  filter: drop-shadow(0 34px 26px rgba(0,0,0,0.34));
  opacity: 0.95;
}
.tour-mountain-bg img:first-child {
  transform: translate3d(5%, 5%, 0) scale(1.04);
}
.tour-mountain-bg img:last-child {
  transform: translate3d(-5%, -2%, 0) scale(1.08);
}
.mountain-gallery-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(200,169,97,0.14), transparent 30%),
    var(--white);
}
.mountain-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}
.mountain-photo-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.mountain-photo-card.large { min-height: 520px; }
.mountain-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s ease, filter 0.75s ease;
}
.mountain-photo-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}
.mountain-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8,47,33,0.72));
  z-index: 1;
}
.mountain-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
}
.mountain-photo-caption span {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(244,213,138,0.18);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mountain-photo-caption h3 { color: var(--white); font-size: clamp(1.1rem, 2.2vw, 1.65rem); margin-bottom: 5px; }
.mountain-photo-caption p { color: rgba(255,255,255,0.74); line-height: 1.55; font-size: 0.9rem; }
.mountain-gallery-side { display: grid; gap: 18px; }
.tour-hero-content { position: relative; z-index: 2; padding: 36px 0; width: 100%; }
.tour-hero-content h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.tour-hero-meta { display: flex; gap: 18px; color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.tour-hero-meta span { display: flex; align-items: center; gap: 5px; }
.tour-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; padding: 50px 0; }
.tour-info h2 { font-size: 1.5rem; margin-bottom: 14px; }
.tour-info p { margin-bottom: 14px; line-height: 1.75; }
.tour-highlights { margin: 20px 0; }
.tour-highlights li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 0.92rem; }
.tour-highlights svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--terra); margin-top: 2px; }
.tour-sidebar { position: sticky; top: 90px; }
.booking-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--cream-dark); }
.booking-card .price-label { font-size: 0.82rem; color: var(--slate); margin-bottom: 3px; }
.booking-card .price { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.booking-card .price-unit { font-size: 0.88rem; color: var(--slate); margin-bottom: 20px; }
.booking-card .book-btn { width: 100%; padding: 14px; background: var(--gold); color: var(--navy); border: none; border-radius: var(--radius-md); font-size: 0.95rem; font-weight: 700; transition: all var(--ease); margin-bottom: 10px; }
.booking-card .book-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.booking-card .whatsapp-btn { width: 100%; padding: 12px; background: #25D366; color: var(--white); border: none; border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600; transition: all var(--ease); display: flex; align-items: center; justify-content: center; gap: 6px; }
.booking-card .whatsapp-btn:hover { background: #1da851; }
.booking-card .free-cancel { text-align: center; margin-top: 14px; font-size: 0.8rem; color: var(--navy-soft); display: flex; align-items: center; justify-content: center; gap: 5px; }
@media (max-width: 768px) { .tour-detail-grid { grid-template-columns: 1fr; } .tour-sidebar { position: static; } }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: var(--navy); z-index: 1001; padding: 70px 28px 28px;
  transition: right 0.35s ease; overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; color: rgba(255,255,255,0.75); padding: 13px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); transition: all var(--ease); }
.mobile-nav a:hover { color: var(--gold); padding-left: 6px; }
.mobile-nav-close { position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--white); font-size: 1.4rem; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(15,61,46,0.62); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--ease); }
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ---- TOUR FILTERS ---- */
.tour-filter {
  padding: 8px 20px; border-radius: 50px; border: 1px solid var(--cream-dark);
  background: var(--white); font-size: 0.85rem; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all var(--ease); color: var(--charcoal);
}
.tour-filter:hover { border-color: var(--gold); color: var(--navy); }
.tour-filter.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- TOUR CARD TAGS ---- */
.tour-card-tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; background: var(--gold-pale);
  color: var(--navy); letter-spacing: 0.02em;
}

/* ---- FLEET ICON ---- */
.fleet-icon { font-size: 2.8rem; margin-bottom: 12px; }

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form h2 { color: var(--navy); }
.contact-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; margin-top: 16px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--cream-dark); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--charcoal);
  background: var(--cream); transition: border-color var(--ease); outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-info-card { background: var(--navy); color: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-info-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-detail .icon { width: 42px; height: 42px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-detail h4 { font-size: 0.85rem; color: var(--gold); margin-bottom: 3px; }
.contact-detail p { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 0; line-height: 1.5; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- SHOWCASE ROTATING PHOTOS ---- */
.showcase-track {
  display: flex; gap: 16px; padding: 0 24px 60px;
  animation: showcaseScroll 40s linear infinite;
  width: max-content;
}
.showcase-track:hover { animation-play-state: paused; }
.showcase-slide {
  flex: 0 0 340px; height: 240px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.showcase-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.showcase-slide:hover img { transform: scale(1.08); }
@keyframes showcaseScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .showcase-slide { flex: 0 0 260px; height: 180px; }
}

/* TYPED CURSOR */
.typed-cursor { display: inline-block; width: 2px; height: 0.9em; background: var(--gold); margin-left: 3px; animation: cursorBlink 0.7s step-end infinite; vertical-align: text-bottom; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================================
   DESTINATION HIGHLIGHT CARDS
   ============================================ */
.dest-highlights { padding: 80px 0 40px; }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.dest-card-img {
  height: 300px;
  overflow: hidden;
}
.dest-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dest-card:hover .dest-card-img img { transform: scale(1.1); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(42,42,46,0.85) 0%, rgba(42,42,46,0.25) 50%, rgba(42,42,46,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.dest-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dest-card-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-family: 'Playfair Display', Georgia, serif;
}
.dest-card-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.dest-card-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--ease);
}
.dest-card:hover .dest-card-arrow { transform: translateX(4px); }
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card-img { height: 240px; }
}

/* ============================================
   TRUST / VALUE PROPS STRIP
   ============================================ */
.trust-strip {
  background: var(--navy);
  padding: 48px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white);
}
.trust-strip-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-strip-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}
.trust-strip-item h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.trust-strip-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 500px) {
  .trust-strip-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   CONSTRUA A SUA VIAGEM — CTA SECTION
   ============================================ */
.build-trip-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.build-trip-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.build-trip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,55,36,0.90) 0%, rgba(42,42,46,0.75) 100%);
  z-index: 1;
}
.build-trip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.build-trip-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.build-trip-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.build-trip-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.build-trip-actions .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
@media (max-width: 600px) {
  .build-trip-cta { padding: 60px 0; }
  .build-trip-actions { flex-direction: column; align-items: center; }
}

/* ============================================
   PARTNER LOGOS — INFINITE SLIDER
   ============================================ */
.partners-section {
  padding: 60px 0;
  background: var(--cream);
}
.partners-track-wrapper {
  overflow: hidden;
  margin-top: 32px;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 0;
  animation: partnersScroll 30s linear infinite;
  width: max-content;
}
.partner-logo {
  flex-shrink: 0;
  padding: 16px 40px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  margin: 0 12px;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}
.partner-logo:hover {
  color: var(--navy);
  border-color: var(--navy-light);
}
@keyframes partnersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .partner-logo { padding: 12px 28px; font-size: 1rem; }
}

/* ============================================
   PAYMENT METHODS SECTION
   ============================================ */
.payment-methods-section {
  padding: 32px 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}
.payment-methods-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-right: 8px;
}
.payment-methods-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-badge {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  transition: border-color var(--ease);
}
.payment-badge:hover {
  border-color: var(--navy-light);
}

/* ============================================
   NAV CTA ALT (Construir Viagem)
   ============================================ */
.nav-cta-alt {
  background: rgba(200,169,97,0.15) !important;
  color: var(--gold-light) !important;
  padding: 7px 18px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.3px;
  border: 1px solid rgba(200,169,97,0.4) !important;
  transition: all var(--ease) !important;
}
.nav-cta-alt:hover {
  background: rgba(200,169,97,0.25) !important;
  color: var(--gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,97,0.2);
}
.nav-cta-alt::after { display: none !important; }
.navbar.scrolled .nav-cta-alt {
  color: var(--terra) !important;
  border-color: rgba(196,125,92,0.4) !important;
  background: rgba(196,125,92,0.1) !important;
}
.navbar.scrolled .nav-cta-alt:hover {
  background: rgba(196,125,92,0.2) !important;
  color: var(--terra) !important;
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer-license {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-license span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}
.footer-license a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: color var(--ease);
}
.footer-license a:hover { color: var(--gold); }
.footer-payment-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 16px;
}
.footer-payment-icon {
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.mobile-nav .nav-cta-alt {
  display: block;
  color: var(--gold) !important;
  border: 1px solid rgba(200,169,97,0.3);
  border-radius: 8px;
  padding: 10px 16px !important;
  margin: 8px 0;
  text-align: center;
  background: rgba(200,169,97,0.08);
}

/* ============================================
   PREMIUM MOTION LAYER
   Subtle interactive polish inspired by high-end studio sites.
   ============================================ */
.stp-spotlight {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9998;
  width: 58px;
  height: 58px;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.98) 0 9%, transparent 10%),
    radial-gradient(circle at 68% 62%, rgba(126,92,50,0.20) 0 5%, transparent 6%),
    radial-gradient(circle at 44% 70%, rgba(126,92,50,0.14) 0 4%, transparent 5%),
    radial-gradient(circle at 42% 38%, #fff8dc 0 24%, #f1d68d 46%, #c89b54 72%, #8d6130 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.48),
    0 0 18px rgba(244,213,138,0.52),
    0 0 54px rgba(200,169,97,0.24),
    0 16px 30px rgba(15,61,46,0.18);
  filter: saturate(1.05);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease, filter 0.25s ease;
  mix-blend-mode: screen;
}

.stp-spotlight::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  right: -18px;
  top: -2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 44%, rgba(15,61,46,0.36), rgba(15,61,46,0.84) 62%, rgba(15,61,46,0.96));
  box-shadow:
    inset 10px 0 18px rgba(255,255,255,0.08),
    -10px 0 16px rgba(244,213,138,0.08);
}

.stp-spotlight::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  background:
    radial-gradient(circle at 32% 36%, rgba(112,79,43,0.20) 0 7%, transparent 8%),
    radial-gradient(circle at 54% 64%, rgba(112,79,43,0.15) 0 6%, transparent 7%);
  box-shadow:
    inset -8px -6px 14px rgba(116,76,31,0.16),
    inset 10px 9px 18px rgba(255,255,255,0.10);
  opacity: 0.88;
}

body.stp-pointer .stp-spotlight {
  opacity: 0.82;
}

.stp-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.stp-ambient span {
  position: absolute;
  width: clamp(170px, 18vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 181, 109, 0.18), transparent 68%);
  filter: blur(10px);
  opacity: 0.75;
  animation: stpFloat 18s ease-in-out infinite;
}

.stp-ambient span:nth-child(1) { left: 7%; top: 18%; }
.stp-ambient span:nth-child(2) { right: 8%; top: 46%; animation-delay: -6s; background: radial-gradient(circle, rgba(9, 70, 54, 0.16), transparent 68%); }
.stp-ambient span:nth-child(3) { left: 38%; bottom: 8%; animation-delay: -11s; background: radial-gradient(circle, rgba(196, 125, 92, 0.16), transparent 68%); }

.stp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tour-card,
.fleet-card,
.why-card,
.blog-card,
.testimonial-card,
.category-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.tour-card::after,
.fleet-card::after,
.why-card::after,
.blog-card::after,
.testimonial-card::after,
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(215, 181, 109, 0.24), transparent 34%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tour-card:hover::after,
.fleet-card:hover::after,
.why-card:hover::after,
.blog-card:hover::after,
.testimonial-card:hover::after,
.category-card:hover::after {
  opacity: 1;
}

.hero-content {
  position: relative;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -38px;
  width: 140px;
  height: 140px;
  pointer-events: none;
  border: 1px solid rgba(215, 181, 109, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 35px rgba(215, 181, 109, 0.12), 0 0 45px rgba(215, 181, 109, 0.1);
  animation: stpCompass 16s linear infinite;
}

.hero-content::before {
  content: "SINTRA / LISBOA / PORTUGAL";
  position: absolute;
  right: -18px;
  bottom: 110px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  writing-mode: vertical-rl;
}

.journey-lab {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 181, 109, 0.18), transparent 28%),
    radial-gradient(circle at 84% 76%, rgba(9, 70, 54, 0.16), transparent 30%),
    linear-gradient(135deg, var(--cream) 0%, #fffaf0 50%, var(--white) 100%);
}

.journey-lab::before {
  content: "";
  position: absolute;
  inset: 7% 4%;
  pointer-events: none;
  border: 1px solid rgba(200, 169, 97, 0.22);
  border-radius: 42px;
  background-image:
    linear-gradient(rgba(9, 70, 54, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 70, 54, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

.journey-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid rgba(200, 169, 97, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62)),
    rgba(255,255,255,0.7);
  box-shadow: 0 34px 90px rgba(9, 70, 54, 0.12);
  overflow: hidden;
}

.journey-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(215, 181, 109, 0.22), transparent 32%),
    linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,0.34) 50%, transparent 58% 100%);
  opacity: 0.74;
}

.journey-copy {
  position: relative;
  z-index: 2;
}

.journey-copy h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  margin: 12px 0 18px;
  color: var(--navy);
}

.journey-copy p {
  max-width: 560px;
  color: var(--slate);
  font-size: 1.04rem;
  line-height: 1.8;
}

.journey-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.journey-points span {
  padding: 10px 14px;
  border: 1px solid rgba(9, 70, 54, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.82rem;
}

.journey-map {
  --scene-x: 0px;
  --scene-y: 0px;
  position: relative;
  z-index: 2;
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(9, 70, 54, 0.96), rgba(13, 42, 35, 0.92)),
    var(--navy);
  box-shadow: inset 0 0 60px rgba(215, 181, 109, 0.08), 0 24px 70px rgba(9, 70, 54, 0.24);
  overflow: hidden;
}

.journey-map::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 24% 35%, rgba(215,181,109,0.18), transparent 26%),
    radial-gradient(circle at 72% 48%, rgba(255,255,255,0.12), transparent 22%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 18px);
  animation: stpMapDrift 18s linear infinite;
}

.scene-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(244, 213, 138, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 36%);
}

.scene-sky span {
  position: absolute;
  width: 120px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  filter: blur(1px);
  animation: stpCloudDrift 18s linear infinite;
}

.scene-sky span:nth-child(1) { left: 10%; top: 15%; }
.scene-sky span:nth-child(2) { left: 52%; top: 9%; animation-delay: -7s; opacity: 0.7; }
.scene-sky span:nth-child(3) { left: 75%; top: 31%; animation-delay: -12s; opacity: 0.55; }

.pena-palace {
  position: absolute;
  left: 6%;
  top: 15%;
  z-index: 3;
  width: 178px;
  height: 150px;
  transform: translate3d(calc(var(--scene-x) * -0.22), calc(var(--scene-y) * -0.18), 0);
  filter: drop-shadow(0 22px 22px rgba(0,0,0,0.22));
}

.pena-palace::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  width: 124px;
  height: 94px;
  border-radius: 42% 42% 24% 24%;
  background: radial-gradient(circle at 50% 8%, rgba(255,245,200,0.46), transparent 24%),
    linear-gradient(110deg, transparent 0 36%, rgba(255,255,255,0.34) 44%, transparent 52% 100%);
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: stpPalaceGlow 5.4s ease-in-out infinite;
}

.palace-hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  border-radius: 90% 90% 0 0;
  background:
    radial-gradient(circle at 22% 22%, rgba(215,181,109,0.34), transparent 22%),
    linear-gradient(135deg, #1f6b4d, #0d3b31);
}

.palace-wall {
  position: absolute;
  bottom: 48px;
  border-radius: 9px 9px 4px 4px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.16);
}

.palace-wall-a {
  left: 34px;
  width: 86px;
  height: 48px;
  background: #d84d3f;
}

.palace-wall-b {
  left: 88px;
  width: 58px;
  height: 56px;
  background: #f0c661;
}

.palace-tower {
  position: absolute;
  bottom: 58px;
  width: 44px;
  border-radius: 18px 18px 8px 8px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18);
}

.palace-tower::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -18px;
  height: 22px;
  border-radius: 22px 22px 4px 4px;
  background: inherit;
}

.palace-tower::after,
.palace-wall::after {
  content: "";
  position: absolute;
  inset: 12px auto auto 13px;
  width: 8px;
  height: 12px;
  border-radius: 999px 999px 2px 2px;
  background: rgba(22,35,31,0.44);
  box-shadow: 16px 0 rgba(22,35,31,0.34);
}

.palace-tower-red {
  left: 14px;
  height: 70px;
  background: #c94d48;
}

.palace-tower-yellow {
  left: 126px;
  height: 84px;
  background: #e8b84d;
}

.palace-dome {
  position: absolute;
  left: 76px;
  bottom: 102px;
  width: 36px;
  height: 24px;
  border-radius: 50% 50% 6px 6px;
  background: #f4d58a;
  box-shadow: 0 0 18px rgba(244,213,138,0.28);
}

.palace-flag {
  position: absolute;
  left: 106px;
  bottom: 126px;
  width: 34px;
  height: 16px;
  border-radius: 3px 12px 12px 3px;
  background: #c47d5c;
  transform-origin: left center;
  animation: stpFlagWave 2.4s ease-in-out infinite;
}

.palace-flag::before {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -28px;
  width: 3px;
  height: 44px;
  background: rgba(255,255,255,0.62);
}

.coast-scene {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
  height: 58%;
  transform: translate3d(calc(var(--scene-x) * 0.18), calc(var(--scene-y) * 0.08), 0);
  overflow: hidden;
}

.coast-scene::before {
  content: "";
  position: absolute;
  inset: 30% -12% -14% 8%;
  border-radius: 50% 0 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), transparent 18%),
    linear-gradient(135deg, #4fb8c7, #0c5c78 60%, #093e59);
}

.coast-scene::after {
  content: "";
  position: absolute;
  left: 22%;
  right: -18%;
  bottom: 18%;
  height: 28%;
  border-radius: 50%;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,0.42) 0 2px, transparent 2px 22px);
  opacity: 0.3;
  transform: rotate(-9deg);
  animation: stpSeaShimmer 4.8s ease-in-out infinite;
}

.coast-cliff {
  position: absolute;
  left: 0;
  bottom: 12%;
  width: 58%;
  height: 56%;
  clip-path: polygon(0 32%, 36% 0, 70% 26%, 100% 18%, 88% 100%, 0 100%);
  background: linear-gradient(135deg, #9b6d46, #e6bf78 54%, #684734);
  filter: drop-shadow(10px 8px 16px rgba(0,0,0,0.24));
}

.wave {
  position: absolute;
  right: -20px;
  width: 68%;
  height: 18px;
  border-top: 2px solid rgba(255,255,255,0.64);
  border-radius: 50%;
  animation: stpWave 3.4s ease-in-out infinite;
}

.wave-a { bottom: 22%; }
.wave-b { bottom: 34%; right: -42px; animation-delay: -1s; opacity: 0.75; }
.wave-c { bottom: 46%; right: -28px; animation-delay: -2s; opacity: 0.56; }

.beach-dot {
  position: absolute;
  bottom: 18%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d58a;
  box-shadow: 0 0 0 4px rgba(244,213,138,0.18);
  animation: stpBeachPulse 4s ease-in-out infinite;
}

.beach-dot-a { right: 32%; }
.beach-dot-b { right: 18%; bottom: 27%; animation-delay: -1.4s; }

.road-perspective {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  z-index: 2;
  height: 42%;
  clip-path: polygon(36% 0, 61% 0, 88% 100%, 10% 100%);
  background:
    linear-gradient(90deg, transparent 49%, rgba(244,213,138,0.78) 49% 51%, transparent 51%),
    linear-gradient(180deg, rgba(255,255,255,0.10), transparent 24%),
    #263530;
  box-shadow: inset 0 18px 40px rgba(255,255,255,0.06);
}

.road-perspective::before,
.road-perspective::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
}

.road-perspective::before { left: 25%; transform: rotate(-14deg); }
.road-perspective::after { right: 23%; transform: rotate(14deg); }

.road-perspective,
.animated-tuk {
  display: none;
}

.road-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 28px;
  border-radius: 999px;
  background: rgba(244,213,138,0.72);
  transform: translateX(-50%);
  animation: stpRoadDash 1.15s linear infinite;
}

.road-line-a { top: 12%; }
.road-line-b { top: 42%; animation-delay: -0.38s; }
.road-line-c { top: 70%; animation-delay: -0.78s; }

.scene-person,
.photo-figure {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 42px;
  filter: drop-shadow(0 9px 7px rgba(0,0,0,0.25));
}

.scene-person span,
.photo-figure span {
  position: absolute;
  top: 0;
  left: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2c6a0;
}

.scene-person i,
.photo-figure i {
  position: absolute;
  top: 12px;
  left: 5px;
  width: 16px;
  height: 22px;
  border-radius: 8px 8px 5px 5px;
  background: var(--gold);
}

.scene-person b,
.photo-figure b {
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 19px;
  height: 16px;
  border-left: 4px solid rgba(255,255,255,0.8);
  border-right: 4px solid rgba(255,255,255,0.8);
  transform-origin: center top;
  animation: stpWalk 0.9s ease-in-out infinite;
}

.person-a {
  left: 30%;
  bottom: 21%;
  animation: stpPersonStroll 9s ease-in-out infinite;
}

.person-b {
  right: 27%;
  bottom: 18%;
  transform: scale(0.9);
  animation: stpPersonStroll 10.5s ease-in-out infinite reverse;
}

.person-b i { background: #c47d5c; }

.photo-figure {
  right: 38%;
  top: 34%;
  transform: scale(0.96);
}

.photo-figure i { background: #4fb8c7; }

.photo-figure em {
  position: absolute;
  top: 13px;
  left: -12px;
  width: 14px;
  height: 9px;
  border-radius: 3px;
  background: #16231f;
}

.photo-figure em::after {
  content: "";
  position: absolute;
  left: -32px;
  top: -24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(244,213,138,0.26) 34%, transparent 64%);
  opacity: 0;
  animation: stpPhotoFlash 6s ease-in-out infinite;
}

.route-svg {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-base,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 8;
}

.route-base {
  stroke: rgba(255,255,255,0.12);
}

.route-line {
  stroke: url(#routeGold);
  stroke-dasharray: 24 22;
  filter: drop-shadow(0 0 16px rgba(215,181,109,0.48));
  animation: stpRouteDash 1.7s linear infinite;
}

.route-point circle:first-child {
  fill: var(--gold);
}

.route-point circle:last-child {
  fill: none;
  stroke: rgba(215,181,109,0.38);
  stroke-width: 2;
  animation: stpRoutePulse 2.8s ease-in-out infinite;
}

.route-card {
  position: absolute;
  z-index: 6;
  padding: 9px 12px;
  border: 1px solid rgba(215,181,109,0.36);
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-card-a { left: 8%; bottom: 17%; }
.route-card-b { left: 44%; top: 30%; }
.route-card-c { right: 7%; top: 11%; }

.animated-tuk {
  fill: rgba(215,181,109,0.92);
  stroke: rgba(255,255,255,0.52);
  stroke-width: 2;
  offset-path: path("M55 270 C145 90 245 305 335 152 C420 12 485 225 615 82");
  offset-rotate: auto;
  animation: stpTukRoute 8.5s cubic-bezier(.62,.03,.2,1) infinite;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.34)) drop-shadow(0 0 18px rgba(215,181,109,0.42));
}

.tuk-wheel {
  fill: #16231f;
  stroke: var(--gold);
  transform-origin: center;
  animation: stpWheelSpin 0.58s linear infinite;
}

.stp-travel-layer {
  position: fixed;
  inset: 0;
  z-index: 72;
  pointer-events: none;
  overflow: hidden;
}

.stp-living-tuk {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: clamp(205px, 19vw, 330px);
  height: clamp(130px, 12vw, 210px);
  opacity: 0.98;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(.22,.76,.2,1);
}

.stp-tuk-life-shadow {
  position: absolute;
  left: 24px;
  right: 20px;
  bottom: -8px;
  height: 20px;
  border-radius: 999px;
  background: rgba(9,70,54,0.28);
  filter: blur(8px);
  animation: stpTukShadowBreathe 2.8s ease-in-out infinite;
}

.stp-svg-tuk svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 26px 22px rgba(9,70,54,0.36)) drop-shadow(0 0 22px rgba(244,213,138,0.3));
}

.stp-tuk-life {
  transform-origin: 172px 126px;
  animation: stpTukBreathe 2.8s ease-in-out infinite;
}

.stp-tuk-live-canopy {
  fill: #f4e4bd;
  stroke: rgba(15,61,46,0.28);
  stroke-width: 3;
  filter: drop-shadow(0 8px 12px rgba(15,61,46,0.18));
}

.stp-tuk-live-awning {
  fill: #e7b35b;
  animation: stpCanopyBounce 2.8s ease-in-out infinite;
}

.stp-tuk-live-roof-lip {
  fill: none;
  stroke: rgba(15,61,46,0.72);
  stroke-width: 7;
  stroke-linecap: round;
}

.stp-tuk-live-windscreen {
  fill: rgba(236,251,255,0.78);
  stroke: rgba(15,61,46,0.34);
  stroke-width: 3;
}

.stp-tuk-live-rear-curtain,
.stp-tuk-live-driver {
  fill: rgba(255,244,214,0.68);
  stroke: rgba(15,61,46,0.24);
  stroke-width: 2;
  filter: drop-shadow(0 6px 10px rgba(15,61,46,0.12));
}

.stp-tuk-live-rear-curtain {
  animation: stpCanopyBounce 3.1s ease-in-out infinite;
}

.stp-tuk-live-driver {
  animation: stpCanopyBounce 3.1s ease-in-out infinite reverse;
}

.stp-tuk-live-frame,
.stp-tuk-live-open,
.stp-tuk-live-fork,
.stp-tuk-live-handle {
  fill: none;
  stroke: rgba(15,61,46,0.78);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stp-tuk-live-frame {
  stroke: rgba(15,61,46,0.42);
  stroke-width: 4;
}

.stp-tuk-live-open {
  stroke: rgba(244,213,138,0.7);
  stroke-width: 4;
}

.stp-tuk-live-motion {
  fill: none;
  stroke: rgba(244,213,138,0.58);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 22 28;
  animation: stpSparkTravel 1.2s linear infinite;
}

.stp-tuk-live-fork,
.stp-tuk-live-handle {
  stroke: rgba(15,61,46,0.86);
}

.stp-tuk-live-cabin {
  fill: #1f6b4d;
}

.stp-tuk-live-nose,
.stp-tuk-live-front {
  fill: #2f8a54;
  stroke: rgba(244,213,138,0.28);
  stroke-width: 2;
}

.stp-tuk-live-cabin,
.stp-tuk-live-front {
  filter: drop-shadow(0 10px 12px rgba(15,61,46,0.16));
}

.stp-tuk-live-seat {
  fill: rgba(8,38,32,0.82);
}

.stp-tuk-live-seat-back {
  fill: rgba(244,213,138,0.74);
}

.stp-tuk-live-passengers circle {
  fill: #f2c6a0;
  stroke: rgba(15,61,46,0.28);
  stroke-width: 2;
}

.stp-tuk-live-passengers path {
  fill: #c47d5c;
  stroke: rgba(15,61,46,0.22);
  stroke-width: 2;
}

.stp-tuk-live-label {
  font: 900 13px 'DM Sans', -apple-system, sans-serif;
  letter-spacing: 0.12em;
  fill: #f4d58a;
}

.stp-tuk-live-bolt {
  fill: #fff5c8;
  filter: drop-shadow(0 0 10px rgba(244,213,138,0.7));
  animation: stpBoltBlink 2.2s ease-in-out infinite;
}

.stp-tuk-live-lamp {
  fill: #fff2af;
  filter: drop-shadow(0 0 10px rgba(244,213,138,0.8));
  animation: stpHeadlampPulse 1.9s ease-in-out infinite;
}

.stp-tuk-live-lamp-back {
  fill: #e07a5f;
  animation-delay: -0.6s;
}

.stp-tuk-live-wheel {
  fill: #132b26;
  stroke: var(--gold-light);
  stroke-width: 5;
  transform-box: fill-box;
  transform-origin: center;
  animation: stpWheelSpin 0.44s linear infinite;
}

.stp-tuk-live-wheel-front {
  stroke-width: 5;
}

.stp-tuk-live-wheel-rear {
  stroke-width: 6;
}

.stp-tuk-live-hub {
  fill: var(--gold-light);
}

.stp-tuk-live-exhaust,
.stp-tuk-live-spark {
  fill: none;
  stroke: rgba(244,213,138,0.78);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 18;
  animation: stpSparkTravel 1.6s linear infinite;
  filter: drop-shadow(0 0 10px rgba(244,213,138,0.62));
}

.stp-scenic-card {
  position: absolute;
  z-index: 3;
  width: clamp(220px, 20vw, 340px);
  aspect-ratio: 1.45;
  border: 1px solid rgba(244,213,138,0.48);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 10%, rgba(244,213,138,0.24), transparent 34%),
    linear-gradient(135deg, rgba(252,249,239,0.9), rgba(231,220,196,0.68));
  box-shadow: 0 30px 80px rgba(15,61,46,0.24);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.94);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.22,.76,.2,1);
}

.stp-scenic-card.is-active {
  opacity: 0.97;
  transform: translate3d(0, 0, 0) scale(1) rotate(-0.8deg);
}

.stp-scenic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(15,61,46,0.08)),
    radial-gradient(circle at 82% 18%, rgba(79,184,199,0.16), transparent 34%);
  pointer-events: none;
}

.stp-scenic-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 5;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 24px;
  pointer-events: none;
}

.stp-scenic-label {
  position: absolute;
  left: 16px;
  bottom: 34px;
  z-index: 6;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,61,46,0.82);
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stp-scenic-kicker {
  position: absolute;
  left: 17px;
  bottom: 15px;
  z-index: 6;
  color: rgba(15,61,46,0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stp-scenic-mouros { left: 8%; bottom: 13%; }
.stp-scenic-palace { right: 13%; top: 18%; }
.stp-scenic-azenhas { right: 8%; bottom: 14%; }
.stp-scenic-cabo { left: 11%; top: 28%; }

.stp-ill {
  position: absolute;
  inset: 18px 16px 18px;
  z-index: 3;
  filter: drop-shadow(0 12px 16px rgba(15,61,46,0.2));
}

.stp-ill::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: -16px;
  height: 46px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, rgba(31,107,77,0.72), rgba(13,59,49,0.92));
}

.stp-ill-mouros i {
  position: absolute;
  bottom: 30px;
  height: 28px;
  background: #8c7353;
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.14);
  animation: stpScenicPop 4.4s ease-in-out infinite;
}

.stp-ill-mouros i:nth-child(1) { left: 14px; width: 44px; height: 62px; }
.stp-ill-mouros i:nth-child(2) { left: 73px; width: 88px; height: 36px; animation-delay: -0.7s; }
.stp-ill-mouros i:nth-child(3) { right: 18px; width: 48px; height: 72px; animation-delay: -1.2s; }

.stp-ill-mouros i::before {
  content: "";
  position: absolute;
  inset: -12px 8px auto;
  height: 16px;
  background: repeating-linear-gradient(90deg, #8c7353 0 10px, transparent 10px 16px);
}

.stp-ill-mouros b {
  position: absolute;
  left: 45px;
  right: 42px;
  bottom: 58px;
  height: 18px;
  border-radius: 999px;
  border-top: 8px solid #8c7353;
  transform: rotate(-6deg);
}

.stp-ill-mouros em {
  position: absolute;
  right: 38px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(244,213,138,0.88);
  box-shadow: 0 0 24px rgba(244,213,138,0.68);
  animation: stpPalaceBeacon 3s ease-in-out infinite;
}

.stp-ill-pena i {
  position: absolute;
  bottom: 28px;
  border-radius: 16px 16px 6px 6px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.16);
  animation: stpScenicPop 4.4s ease-in-out infinite;
}

.stp-ill-pena i:nth-child(1) { left: 14px; width: 52px; height: 76px; background: #c94d48; }
.stp-ill-pena i:nth-child(2) { left: 66px; width: 92px; height: 52px; background: #e8b84d; animation-delay: -0.7s; }
.stp-ill-pena i:nth-child(3) { right: 12px; width: 58px; height: 86px; background: #d84d3f; animation-delay: -1.2s; }

.stp-ill-pena i::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: -20px;
  height: 24px;
  border-radius: 999px 999px 4px 4px;
  background: inherit;
}

.stp-ill-pena b {
  position: absolute;
  left: 98px;
  top: 4px;
  width: 42px;
  height: 28px;
  border-radius: 50% 50% 8px 8px;
  background: #f4d58a;
  box-shadow: 0 0 22px rgba(244,213,138,0.62);
  animation: stpPalaceBeacon 3.2s ease-in-out infinite;
}

.stp-ill-pena em {
  position: absolute;
  left: 138px;
  top: 0;
  width: 32px;
  height: 16px;
  border-radius: 3px 12px 12px 3px;
  background: #c47d5c;
  transform-origin: left center;
  animation: stpFlagWave 2.4s ease-in-out infinite;
}

.stp-ill-azenhas::before {
  background: linear-gradient(135deg, #4fb8c7, #0c5c78 58%, #093e59);
  height: 58px;
}

.stp-ill-azenhas i {
  position: absolute;
  background: #fff0c8;
  box-shadow: inset 0 0 0 2px rgba(15,61,46,0.1), 0 10px 18px rgba(15,61,46,0.14);
  animation: stpScenicPop 4s ease-in-out infinite;
}

.stp-ill-azenhas i:nth-child(1) { left: 18px; bottom: 48px; width: 54px; height: 52px; }
.stp-ill-azenhas i:nth-child(2) { left: 76px; bottom: 60px; width: 58px; height: 62px; animation-delay: -0.7s; }
.stp-ill-azenhas i:nth-child(3) { left: 136px; bottom: 42px; width: 62px; height: 48px; animation-delay: -1.2s; }

.stp-ill-azenhas i::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: -20px;
  height: 24px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #c47d5c;
}

.stp-ill-azenhas b {
  position: absolute;
  right: 6px;
  bottom: 42px;
  width: 78px;
  height: 70px;
  clip-path: polygon(0 36%, 42% 0, 83% 18%, 100% 10%, 92% 100%, 0 100%);
  background: linear-gradient(135deg, #9b6d46, #e6bf78 54%, #684734);
}

.stp-ill-azenhas em {
  position: absolute;
  right: -28px;
  bottom: 22px;
  width: 74%;
  height: 18px;
  border-top: 3px solid rgba(255,255,255,0.74);
  border-radius: 50%;
  box-shadow: 0 18px 0 rgba(255,255,255,0.28), 0 34px 0 rgba(255,255,255,0.18);
  animation: stpMiniWave 3s ease-in-out infinite;
}

.stp-ill-cabo::before {
  background: linear-gradient(135deg, #1f6b4d, #0d3b31);
  height: 48px;
}

.stp-ill-cabo i {
  position: absolute;
  left: 38px;
  bottom: 28px;
  width: 58px;
  height: 96px;
  border-radius: 26px 26px 8px 8px;
  background: linear-gradient(180deg, #fff2cf, #d7b56d);
  box-shadow: inset 0 0 0 2px rgba(15,61,46,0.12);
  animation: stpScenicPop 4.2s ease-in-out infinite;
}

.stp-ill-cabo i::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4d58a;
  box-shadow: 0 0 24px rgba(244,213,138,0.78);
  animation: stpPalaceBeacon 2.8s ease-in-out infinite;
}

.stp-ill-cabo b {
  position: absolute;
  right: 12px;
  bottom: 28px;
  width: 116px;
  height: 76px;
  clip-path: polygon(0 56%, 30% 16%, 62% 34%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #9b6d46, #e6bf78 54%, #684734);
}

.stp-ill-cabo em {
  position: absolute;
  left: 118px;
  right: -24px;
  bottom: 28px;
  height: 34px;
  border-radius: 50%;
  border-top: 3px solid rgba(79,184,199,0.76);
  box-shadow: 0 16px 0 rgba(79,184,199,0.34);
  animation: stpMiniWave 3.2s ease-in-out infinite;
}

.stp-travel-particle {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(244,213,138,0.64);
  opacity: 0.65;
  animation: stpTravelParticle 6s ease-in-out infinite;
}

.stp-travel-particle-a { left: 24%; top: 34%; }
.stp-travel-particle-b { right: 20%; top: 56%; animation-delay: -1.8s; }
.stp-travel-particle-c { left: 47%; bottom: 19%; animation-delay: -3.2s; }

.stp-living-tuk {
  width: clamp(238px, 23vw, 395px);
  height: clamp(154px, 15vw, 255px);
}

.stp-tuk-life-shadow {
  left: 34px;
  right: 34px;
  bottom: -13px;
  height: 24px;
  background: rgba(10,54,42,0.32);
}

.stp-svg-tuk svg {
  filter: drop-shadow(0 24px 24px rgba(9,70,54,0.32)) drop-shadow(0 0 18px rgba(244,213,138,0.28));
}

.stp-tuk-life {
  transform-origin: 282px 188px;
}

.stp-tuk-live-canopy {
  fill: url("#stpTukCanopy");
  stroke: rgba(23,92,70,0.38);
  stroke-width: 5;
}

.stp-tuk-live-awning {
  fill: #e6b24f;
  stroke: rgba(96,69,28,0.2);
  stroke-width: 2;
}

.stp-tuk-live-roof-lip,
.stp-tuk-live-stripe {
  fill: none;
  stroke: rgba(13,62,50,0.78);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stp-tuk-live-roof-lip {
  stroke-width: 9;
}

.stp-tuk-live-stripe {
  stroke: rgba(255,246,216,0.58);
  stroke-width: 5;
  stroke-dasharray: 26 18;
  animation: stpSparkTravel 4.2s linear infinite;
}

.stp-tuk-live-rear-curtain,
.stp-tuk-live-driver {
  fill: rgba(255,241,204,0.8);
  stroke: rgba(13,62,50,0.32);
  stroke-width: 3;
}

.stp-tuk-live-windscreen {
  fill: url("#stpTukGlass");
  stroke: rgba(13,62,50,0.45);
  stroke-width: 4;
}

.stp-tuk-live-cabin {
  fill: url("#stpTukBody");
  stroke: rgba(6,42,34,0.45);
  stroke-width: 3;
}

.stp-tuk-live-front,
.stp-tuk-live-nose {
  fill: #2f9361;
  stroke: rgba(6,42,34,0.42);
  stroke-width: 3;
}

.stp-tuk-live-frame,
.stp-tuk-live-open,
.stp-tuk-live-fork,
.stp-tuk-live-handle,
.stp-tuk-live-spokes {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stp-tuk-live-frame {
  stroke: rgba(13,62,50,0.46);
  stroke-width: 6;
}

.stp-tuk-live-open {
  stroke: rgba(244,213,138,0.72);
  stroke-width: 5;
}

.stp-tuk-live-fork,
.stp-tuk-live-handle {
  stroke: rgba(13,62,50,0.9);
  stroke-width: 6;
}

.stp-tuk-live-spokes {
  stroke: rgba(255,244,206,0.62);
  stroke-width: 4;
  animation: stpWheelSpin 0.72s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.stp-tuk-live-seat {
  fill: rgba(18,38,34,0.9);
}

.stp-tuk-live-seat-back {
  fill: rgba(236,186,96,0.86);
}

.stp-tuk-live-passengers,
.stp-tuk-live-driver-mini {
  animation: stpCanopyBounce 2.6s ease-in-out infinite;
}

.stp-tuk-live-passengers circle,
.stp-tuk-live-driver-mini circle {
  fill: #f3bf94;
  stroke: rgba(6,42,34,0.34);
  stroke-width: 3;
}

.stp-tuk-live-passengers path {
  fill: #bf6d53;
}

.stp-tuk-live-driver-mini path {
  fill: #355f8b;
}

.stp-tuk-live-label {
  font: 900 17px 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.11em;
  fill: #fff2bd;
  paint-order: stroke;
  stroke: rgba(9,70,54,0.56);
  stroke-width: 4;
}

.stp-tuk-live-bolt {
  transform-box: fill-box;
  transform-origin: center;
}

.stp-tuk-live-wheel {
  fill: #122821;
  stroke: #f4d58a;
  stroke-width: 7;
}

.stp-tuk-live-hub {
  fill: #f9e6a8;
  stroke: rgba(13,62,50,0.5);
  stroke-width: 3;
}

.stp-scenic-card {
  width: clamp(215px, 18vw, 330px);
  aspect-ratio: 1.52;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  filter: drop-shadow(0 24px 28px rgba(15,61,46,0.18));
}

.stp-scenic-card.is-active {
  transform: translate3d(0, 0, 0) scale(1) rotate(-1deg);
}

.stp-scenic-card::before {
  inset: 18px 10px 20px;
  z-index: 0;
  border-radius: 45% 55% 38% 62%;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.82), transparent 24%),
    linear-gradient(135deg, rgba(255,244,210,0.76), rgba(125,193,172,0.46));
  filter: blur(1px);
  transform: rotate(-4deg);
}

.stp-scenic-card::after {
  display: none;
}

.stp-scenic-label {
  left: 18px;
  bottom: 4px;
  z-index: 8;
  background: rgba(15,61,46,0.9);
  box-shadow: 0 10px 24px rgba(15,61,46,0.22);
}

.stp-scenic-kicker {
  left: 20px;
  bottom: -17px;
  z-index: 8;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,247,224,0.86);
  color: rgba(13,62,50,0.86);
  box-shadow: 0 10px 20px rgba(15,61,46,0.12);
}

.stp-landmark-svg {
  position: absolute;
  inset: -10px -4px 16px;
  z-index: 4;
  width: calc(100% + 8px);
  height: calc(100% + 4px);
  overflow: visible;
  animation: stpScenicPop 5.6s ease-in-out infinite;
}

.stp-landmark-svg path,
.stp-landmark-svg circle {
  vector-effect: non-scaling-stroke;
}

.stp-landmark-sun {
  fill: #f5d46d;
  filter: drop-shadow(0 0 16px rgba(245,212,109,0.76));
  animation: stpPalaceBeacon 3.4s ease-in-out infinite;
}

.stp-landmark-cloud {
  fill: rgba(255,255,255,0.72);
}

.stp-landmark-hill {
  fill: #276a49;
  stroke: rgba(13,62,50,0.22);
  stroke-width: 3;
}

.stp-landmark-path {
  fill: none;
  stroke: rgba(255,244,206,0.88);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 20 18;
  animation: stpSparkTravel 4s linear infinite;
}

.stp-mouros-wall,
.stp-mouros-tower {
  fill: #8a7353;
  stroke: #584736;
  stroke-width: 4;
}

.stp-mouros-crest {
  fill: none;
  stroke: #6c573e;
  stroke-width: 9;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.stp-landmark-trees path {
  fill: #174f38;
  stroke: rgba(13,62,50,0.22);
  stroke-width: 2;
}

.stp-palace-base {
  fill: #2e7d58;
}

.stp-palace-yellow {
  fill: #edbe4f;
  stroke: #8d642b;
  stroke-width: 4;
}

.stp-palace-red,
.stp-palace-tower {
  fill: #c94c43;
  stroke: #80342e;
  stroke-width: 4;
}

.stp-palace-dome {
  fill: #f2d16f;
  stroke: #9c742d;
  stroke-width: 4;
}

.stp-palace-flagpole,
.stp-palace-windows {
  fill: none;
  stroke: #143f32;
  stroke-width: 5;
  stroke-linecap: round;
}

.stp-palace-flag {
  fill: #e16452;
  transform-box: fill-box;
  transform-origin: left center;
  animation: stpFlagWave 2.6s ease-in-out infinite;
}

.stp-azenhas-sky {
  fill: rgba(143,220,226,0.28);
}

.stp-azenhas-sea,
.stp-cabo-sea {
  fill: #4fb8c7;
  opacity: 0.95;
}

.stp-azenhas-cliff,
.stp-cabo-cliff {
  fill: #b98555;
  stroke: #6e4934;
  stroke-width: 4;
}

.stp-azenhas-houses path:nth-child(odd) {
  fill: #fff1cf;
  stroke: rgba(13,62,50,0.28);
  stroke-width: 3;
}

.stp-azenhas-houses path:nth-child(even) {
  fill: #c95844;
  stroke: rgba(105,50,42,0.32);
  stroke-width: 3;
}

.stp-azenhas-windows {
  fill: none;
  stroke: #1a6049;
  stroke-width: 5;
  stroke-linecap: round;
}

.stp-azenhas-wave,
.stp-cabo-wave {
  fill: none;
  stroke: rgba(255,255,255,0.86);
  stroke-width: 6;
  stroke-linecap: round;
  animation: stpMiniWave 3s ease-in-out infinite;
}

.stp-wave-b {
  animation-delay: -1.3s;
}

.stp-cabo-monument,
.stp-cabo-lighthouse {
  fill: #fff1cf;
  stroke: #7b623f;
  stroke-width: 4;
}

.stp-cabo-cross,
.stp-cabo-light {
  fill: none;
  stroke: #61472e;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stp-cabo-beacon {
  fill: #f5d46d;
  filter: drop-shadow(0 0 18px rgba(245,212,109,0.86));
  animation: stpPalaceBeacon 2.2s ease-in-out infinite;
}

.stp-real-tuk {
  width: clamp(132px, 12vw, 214px);
  height: clamp(88px, 8vw, 148px);
  z-index: 6;
}

.stp-real-jeep {
  width: clamp(96px, 8.8vw, 158px);
  height: clamp(64px, 5.9vw, 106px);
  z-index: 5;
}

.stp-tuk-real-img,
.stp-jeep-real-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 52% 76%;
  filter: drop-shadow(0 24px 22px rgba(9,70,54,0.34)) drop-shadow(0 0 14px rgba(244,213,138,0.24));
  animation: stpRealTukFloat 3.2s ease-in-out infinite;
  will-change: transform, filter;
}

.stp-jeep-real-img {
  transform-origin: 52% 78%;
  filter: drop-shadow(0 22px 20px rgba(9,70,54,0.28)) drop-shadow(0 0 12px rgba(224,122,95,0.18));
  animation-delay: -1.4s;
}

.stp-real-tuk::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 7%;
  height: 22%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(12,55,43,0.24), transparent 68%);
  filter: blur(8px);
  animation: stpTukShadowBreathe 3.2s ease-in-out infinite;
}

.stp-real-jeep::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: 5%;
  height: 20%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(12,55,43,0.22), transparent 70%);
  filter: blur(7px);
  animation: stpTukShadowBreathe 3.2s ease-in-out infinite;
  animation-delay: -1.4s;
}

.stp-real-tuk .stp-tuk-life-shadow {
  display: none;
}

.stp-real-jeep .stp-jeep-life-shadow {
  display: none;
}

.stp-landmark-img {
  --scene-scale: 1;
  --scene-rotate: 0deg;
  position: absolute;
  inset: -24px -18px 10px;
  z-index: 5;
  width: calc(100% + 36px);
  height: calc(100% + 30px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 22px rgba(15,61,46,0.2)) drop-shadow(0 0 10px rgba(255,244,206,0.18));
  transform-origin: 50% 82%;
  animation: stpLandmarkFloat 5.4s ease-in-out infinite;
  will-change: transform;
}

.stp-landmark-img-palace {
  --scene-scale: 1.08;
  --scene-rotate: -1deg;
}

.stp-landmark-img-mouros {
  --scene-scale: 1.08;
  --scene-rotate: 1deg;
}

.stp-landmark-img-azenhas {
  --scene-scale: 1.1;
  --scene-rotate: -1.5deg;
  animation-delay: -1.2s;
}

.stp-landmark-img-cabo {
  --scene-scale: 1.12;
  --scene-rotate: 1.5deg;
  animation-delay: -2s;
}

.journey-map-premium {
  min-height: 380px;
  border: 1px solid rgba(215,181,109,0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 26% 28%, rgba(244,213,138,0.18), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(79,184,199,0.15), transparent 28%),
    linear-gradient(135deg, rgba(15,61,46,0.96), rgba(8,47,33,0.9));
  box-shadow: 0 28px 80px rgba(8,47,33,0.22);
  overflow: hidden;
}

.journey-map-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.16));
}

.journey-map-premium::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 30px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(12,35,28,0.42), transparent 70%);
  filter: blur(16px);
}

.journey-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.52;
  animation: stpTravelParticle 7s ease-in-out infinite;
}

.journey-glow-a {
  width: 180px;
  height: 180px;
  left: 9%;
  top: 10%;
  background: rgba(244,213,138,0.22);
}

.journey-glow-b {
  width: 220px;
  height: 220px;
  right: 8%;
  bottom: 4%;
  background: rgba(79,184,199,0.18);
  animation-delay: -2.4s;
}

.journey-asset,
.journey-real-tuk,
.journey-real-jeep,
.journey-premium-route {
  position: absolute;
  z-index: 2;
}

.journey-asset {
  --asset-x: 0px;
  --asset-y: 0px;
  --asset-exit-x: 0px;
  --asset-exit-y: 0px;
  width: clamp(136px, 16vw, 245px);
  height: auto;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 24px 20px rgba(0,0,0,0.24));
  animation: stpJourneyAssetAppear 24s ease-in-out infinite;
  transform-origin: 50% 80%;
  will-change: transform, opacity;
}

.journey-asset-pena {
  --scene-scale: 1.05;
  --scene-rotate: -1deg;
  --asset-x: 42px;
  --asset-y: 24px;
  --asset-exit-x: -22px;
  --asset-exit-y: -12px;
  left: 8%;
  top: 16%;
  animation-delay: -0.7s;
}

.journey-asset-mouros {
  --scene-scale: 1.02;
  --scene-rotate: 1deg;
  --asset-x: -48px;
  --asset-y: 30px;
  --asset-exit-x: 24px;
  --asset-exit-y: -14px;
  right: 8%;
  top: 8%;
  animation-delay: -4.1s;
}

.journey-asset-azenhas {
  --scene-scale: 1.04;
  --scene-rotate: -1.5deg;
  --asset-x: -44px;
  --asset-y: -28px;
  --asset-exit-x: 24px;
  --asset-exit-y: 14px;
  right: 10%;
  bottom: 12%;
  animation-delay: -7.4s;
}

.journey-asset-cabo {
  --scene-scale: 1;
  --scene-rotate: 1.5deg;
  --asset-x: 42px;
  --asset-y: -32px;
  --asset-exit-x: -22px;
  --asset-exit-y: 16px;
  left: 9%;
  bottom: 8%;
  animation-delay: -10.5s;
}

.journey-premium-route {
  inset: 34px 28px;
  width: calc(100% - 56px);
  height: calc(100% - 68px);
  z-index: 1;
  overflow: visible;
}

.journey-premium-route path {
  fill: none;
  stroke: rgba(244,213,138,0.72);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 16 20;
  animation: stpSparkTravel 2.2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(244,213,138,0.25));
}

.journey-real-tuk {
  width: clamp(116px, 11vw, 188px);
  left: 36%;
  top: 42%;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-3deg);
  filter: drop-shadow(0 24px 22px rgba(0,0,0,0.28));
  animation: stpJourneyTuk 22s ease-in-out infinite;
  will-change: left, top, transform, opacity;
}

.journey-real-jeep {
  width: clamp(82px, 8.4vw, 136px);
  left: 68%;
  top: 56%;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(4deg) scaleX(-1);
  filter: drop-shadow(0 22px 20px rgba(0,0,0,0.26));
  animation: stpJourneyJeep 24s ease-in-out infinite;
  animation-delay: -8s;
  will-change: left, top, transform, opacity;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.nav-cta-alt,
.book-btn,
.newsletter-form button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.nav-cta::before,
.nav-cta-alt::before,
.book-btn::before,
.newsletter-form button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,0.48), transparent 65% 100%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.nav-cta:hover::before,
.nav-cta-alt:hover::before,
.book-btn:hover::before,
.newsletter-form button:hover::before {
  transform: translateX(120%);
}

@keyframes stpFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -32px, 0) scale(1.08); }
}

@keyframes stpCompass {
  to { transform: rotate(360deg); }
}

@keyframes stpMapDrift {
  to { transform: rotate(1turn); }
}

@keyframes stpCloudDrift {
  from { transform: translate3d(-30px, 0, 0); }
  to { transform: translate3d(120px, 0, 0); }
}

@keyframes stpFlagWave {
  0%, 100% { transform: skewY(-4deg) scaleX(0.94); }
  50% { transform: skewY(5deg) scaleX(1.05); }
}

@keyframes stpWave {
  0%, 100% { transform: translate3d(0, 0, 0) scaleX(1); }
  50% { transform: translate3d(-18px, 4px, 0) scaleX(1.08); }
}

@keyframes stpBeachPulse {
  0%, 100% { transform: scale(0.88); opacity: 0.62; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes stpRoadDash {
  from { transform: translate(-50%, -42px) scaleY(0.65); opacity: 0.2; }
  45% { opacity: 1; }
  to { transform: translate(-50%, 90px) scaleY(1.25); opacity: 0; }
}

@keyframes stpRouteDash {
  to { stroke-dashoffset: -46; }
}

@keyframes stpScenicPop {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  45% { transform: translate3d(0, -5px, 0) scale(1.04); }
}

@keyframes stpRoutePulse {
  0%, 100% { transform: scale(0.78); opacity: 0.65; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes stpPalaceGlow {
  0%, 100% { opacity: 0.18; transform: translate3d(-10px, 0, 0) skewX(-9deg); }
  45% { opacity: 0.42; transform: translate3d(24px, 2px, 0) skewX(-9deg); }
}

@keyframes stpSeaShimmer {
  0%, 100% { opacity: 0.18; transform: translate3d(-18px, 0, 0) rotate(-9deg); }
  50% { opacity: 0.42; transform: translate3d(14px, -4px, 0) rotate(-9deg); }
}

@keyframes stpPalaceBeacon {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  45% { opacity: 1; transform: scale(1.12); }
}

@keyframes stpMiniWave {
  0%, 100% { transform: translate3d(0, 0, 0) scaleX(1); }
  50% { transform: translate3d(-18px, 4px, 0) scaleX(1.1); }
}

@keyframes stpTravelParticle {
  0%, 100% { opacity: 0.16; transform: translate3d(0, 16px, 0) scale(0.72); }
  45% { opacity: 0.72; transform: translate3d(18px, -18px, 0) scale(1.08); }
}

@keyframes stpTukRoute {
  0% { offset-distance: 0%; opacity: 0; transform: scale(0.9); }
  8% { opacity: 1; }
  86% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; transform: scale(1.04); }
}

@keyframes stpWheelSpin {
  to { transform: rotate(360deg); }
}

@keyframes stpWalk {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes stpPersonStroll {
  0%, 100% { translate: 0 0; }
  50% { translate: 18px -5px; }
}

@keyframes stpPhotoFlash {
  0%, 68%, 100% { opacity: 0; transform: scale(0.8); }
  72% { opacity: 1; transform: scale(1); }
  78% { opacity: 0; transform: scale(1.18); }
}

@keyframes stpTukBreathe {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.7deg); }
  50% { transform: translate3d(0, -6px, 0) rotate(0.8deg); }
}

@keyframes stpRealTukFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.6deg) scale(1);
    filter: drop-shadow(0 24px 22px rgba(9,70,54,0.34)) drop-shadow(0 0 14px rgba(244,213,138,0.24));
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(0.8deg) scale(1.012);
    filter: drop-shadow(0 30px 26px rgba(9,70,54,0.28)) drop-shadow(0 0 18px rgba(244,213,138,0.3));
  }
}

@keyframes stpLandmarkFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--scene-rotate)) scale(var(--scene-scale));
  }
  50% {
    transform: translate3d(0, -9px, 0) rotate(calc(var(--scene-rotate) * -0.35)) scale(calc(var(--scene-scale) + 0.018));
  }
}

@keyframes stpJourneyAssetAppear {
  0%, 100% {
    opacity: 0;
    transform: translate3d(var(--asset-x), var(--asset-y), 0) rotate(var(--scene-rotate)) scale(0.78);
  }
  18% {
    opacity: 0;
    transform: translate3d(var(--asset-x), var(--asset-y), 0) rotate(var(--scene-rotate)) scale(0.78);
  }
  26%, 46% {
    opacity: 0.96;
    transform: translate3d(0, 0, 0) rotate(var(--scene-rotate)) scale(var(--scene-scale));
  }
  58% {
    opacity: 0;
    transform: translate3d(var(--asset-exit-x), var(--asset-exit-y), 0) rotate(var(--scene-rotate)) scale(0.9);
  }
}

@keyframes stpJourneyTuk {
  0%, 100% {
    opacity: 0;
    left: 22%;
    top: 66%;
    transform: translate(-50%, -50%) rotate(-8deg) scale(0.92);
  }
  10% {
    opacity: 0;
  }
  18% {
    opacity: 1;
    left: 30%;
    top: 58%;
    transform: translate(-50%, -50%) rotate(-5deg) scale(0.95);
  }
  38% {
    opacity: 1;
    left: 42%;
    top: 38%;
    transform: translate(-50%, -50%) rotate(5deg) scale(1);
  }
  58% {
    opacity: 1;
    left: 72%;
    top: 62%;
    transform: translate(-50%, -50%) rotate(-4deg) scale(0.98);
  }
  72% {
    opacity: 0.96;
    left: 68%;
    top: 28%;
    transform: translate(-50%, -50%) rotate(6deg) scale(0.94);
  }
  84% {
    opacity: 0;
  }
}

@keyframes stpJourneyJeep {
  0%, 100% {
    opacity: 0;
    left: 72%;
    top: 26%;
    transform: translate(-50%, -50%) rotate(-6deg) scaleX(-1) scale(0.92);
  }
  12% {
    opacity: 0;
  }
  22% {
    opacity: 1;
    left: 68%;
    top: 34%;
    transform: translate(-50%, -50%) rotate(-3deg) scaleX(-1) scale(0.95);
  }
  42% {
    opacity: 1;
    left: 60%;
    top: 64%;
    transform: translate(-50%, -50%) rotate(4deg) scaleX(-1) scale(1);
  }
  62% {
    opacity: 1;
    left: 34%;
    top: 40%;
    transform: translate(-50%, -50%) rotate(-5deg) scaleX(-1) scale(0.96);
  }
  76% {
    opacity: 0.96;
    left: 24%;
    top: 68%;
    transform: translate(-50%, -50%) rotate(7deg) scaleX(-1) scale(0.9);
  }
  88% {
    opacity: 0;
  }
}

@keyframes stpTukShadowBreathe {
  0%, 100% { transform: scaleX(0.9); opacity: 0.42; }
  50% { transform: scaleX(1.08); opacity: 0.24; }
}

@keyframes stpCanopyBounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -2px, 0); }
}

@keyframes stpHeadlampPulse {
  0%, 100% { opacity: 0.64; }
  50% { opacity: 1; }
}

@keyframes stpBoltBlink {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes stpSparkTravel {
  to { stroke-dashoffset: -32; }
}

@keyframes stpTukPass {
  0%, 48% { opacity: 0; transform: translate3d(-210px, 0, 0); }
  53% { opacity: 1; }
  80% { opacity: 1; transform: translate3d(calc(100vw + 210px), -10px, 0); }
  100% { opacity: 0; transform: translate3d(calc(100vw + 210px), -10px, 0); }
}

@media (max-width: 980px) {
  .journey-panel {
    grid-template-columns: 1fr;
  }

  .journey-map {
    min-height: 300px;
  }

  .pena-palace {
    transform: translate3d(calc(var(--scene-x) * -0.12), calc(var(--scene-y) * -0.08), 0) scale(0.88);
    transform-origin: left top;
  }

  .coast-scene {
    width: 54%;
  }
}

@media (max-width: 768px) {
  .stp-spotlight,
  .hero-content::before,
  .hero-content::after {
    display: none;
  }

  .journey-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .journey-map {
    min-height: 280px;
  }

  .scene-person,
  .photo-figure {
    transform: scale(0.78);
  }

  .stp-travel-layer {
    opacity: 0.72;
  }

  .stp-scenic-card {
    width: 138px;
    min-height: 112px;
  }

  .stp-scenic-label {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .stp-scenic-palace,
  .stp-scenic-cabo {
    display: none;
  }

  .stp-living-tuk {
    width: 126px;
    height: 82px;
  }

  .stp-living-jeep {
    width: 108px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stp-ambient span,
  .hero-content::after,
  .journey-map::before,
  .route-line,
  .route-point circle:last-child,
  .animated-tuk,
  .tuk-wheel,
  .scene-sky span,
  .palace-flag,
  .wave,
  .beach-dot,
  .road-line,
  .scene-person,
  .scene-person b,
  .photo-figure b,
  .photo-figure em::after,
  .pena-palace::after,
  .coast-scene::after,
  .stp-svg-tuk svg,
  .stp-tuk-life,
  .stp-tuk-life-shadow,
  .stp-tuk-live-awning,
  .stp-tuk-live-wheel,
  .stp-tuk-live-lamp,
  .stp-tuk-live-bolt,
  .stp-tuk-live-exhaust,
  .stp-tuk-live-spark,
  .stp-tuk-live-stripe,
  .stp-tuk-live-spokes,
  .stp-tuk-live-driver-mini,
  .stp-tuk-real-img,
  .stp-jeep-real-img,
  .stp-real-tuk::before,
  .stp-real-jeep::before,
  .stp-scenic-card,
  .stp-landmark-svg,
  .stp-landmark-svg *,
  .stp-landmark-img,
  .journey-asset,
  .journey-real-tuk,
  .journey-real-jeep,
  .journey-premium-route path,
  .journey-glow,
  .stp-ill i,
  .stp-ill b,
  .stp-ill em,
  .stp-ill::before,
  .stp-travel-particle,
  .stp-tuk-wheel,
  .btn-primary::before,
  .btn-secondary::before,
  .nav-cta::before,
  .nav-cta-alt::before,
  .book-btn::before,
  .newsletter-form button::before {
    animation: none !important;
    transition: none !important;
  }

  .stp-reveal {
    opacity: 1;
    transform: none;
  }

  .journey-asset,
  .journey-real-tuk,
  .journey-real-jeep {
    opacity: 0.95 !important;
  }

  .stp-travel-layer {
    display: none;
  }
}

/* Final viewport guard: keeps reviews, effects and fixed layers inside mobile width. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.reviews-wrapper,
.announce-bar,
.announce-swiper,
.announce-swiper .swiper-wrapper,
.announce-swiper .swiper-slide,
.reviews-swiper,
.reviews-swiper .swiper-wrapper,
.reviews-swiper .swiper-slide,
.review-card {
  max-width: 100%;
  box-sizing: border-box;
}

.announce-bar,
.announce-swiper,
.reviews-swiper {
  overflow: hidden;
}

@media (max-width: 768px) {
  .review-submit-panel,
  .review-form-grid,
  .mountain-gallery {
    grid-template-columns: 1fr;
  }

  .mountain-photo-card.large,
  .mountain-photo-card {
    min-height: 300px;
  }

  .announce-swiper .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
  }

  .reviews-wrapper {
    padding: 24px;
  }

  .reviews-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-score {
    width: 100%;
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 2px solid var(--cream-dark);
  }

  .reviews-swiper .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
  }
}
