/**
 * Triploon public landing — design tokens & motion (light mode only)
 * Primary aligns with logo (#da1f3d). Warm sand accent. Admin CSS untouched.
 *
 * Breakpoints (mobile-first): base 360 → sm 640 → md 768 (bento) → lg 1024 → xl 1280
 * Motion: reveal ~350ms ease-out, stagger via --reveal-delay; disabled under prefers-reduced-motion
 */

:root {
  --tp-primary: #da1f3d;
  --tp-primary-deep: #9e152c;
  --tp-accent: #c4a574;
  --tp-bg: #f7f7f9;
  --tp-surface: rgba(255, 255, 255, 0.72);
  --tp-surface-solid: #ffffff;
  --tp-border: rgba(15, 23, 42, 0.08);
  --tp-text: #0f172a;
  --tp-muted: #64748b;
  --tp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --tp-shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --tp-shadow-lg: 0 16px 40px -12px rgba(15, 23, 42, 0.18);
  --tp-shadow-glow: 0 12px 32px -8px rgba(218, 31, 61, 0.28);
  --tp-radius: 1.25rem;
  --tp-radius-lg: 1.5rem;
  --reveal-delay: 0ms;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.tp-landing {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--tp-bg);
  color: var(--tp-text);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.tp-landing::-webkit-scrollbar {
  display: none;
}

/* Focus rings — links/buttons only; .tp-input uses a custom glow */
.tp-landing a:focus-visible,
.tp-landing button:focus-visible {
  outline: 2px solid var(--tp-primary);
  outline-offset: 2px;
}

/* Top nav chrome — transparent over hero; soft wash when scrolled */
.glass-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.glass-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* Centered glassmorphism link pill */
.nav-pill {
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px -12px rgba(15, 23, 42, 0.18);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--tp-primary);
  background: rgba(255, 255, 255, 0.55);
}

.nav-link.is-active {
  background: var(--tp-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px -4px rgba(218, 31, 61, 0.55);
}

.nav-link-mobile {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link-mobile:hover {
  color: var(--tp-primary);
}

/* Get the App CTA — solid brand red + trailing arrow circle */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 9999px;
  background: var(--tp-primary);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(218, 31, 61, 0.55);
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px -8px rgba(218, 31, 61, 0.65);
}

.nav-cta:active {
  transform: scale(0.98);
}

.nav-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--tp-primary);
  transition: transform 0.2s ease;
}

.nav-cta:hover .nav-cta-icon {
  transform: translateX(2px);
}

/* Features sky illustration */
.tp-features {
  background-color: var(--tp-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Insights map illustration */
.tp-insights-bg {
  background-color: #e8f4fc;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Vision map illustration */
.tp-vision-bg {
  background-color: #f4f7fb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Destinations landmark map */
.tp-destinations-bg {
  background-color: #f4f7fb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact illustration */
.tp-contact-bg {
  background-color: #f4f7fb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mesh backgrounds */
.tp-mesh {
  position: relative;
  isolation: isolate;
}

.tp-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(218, 31, 61, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(196, 165, 116, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(15, 23, 42, 0.03), transparent 60%);
}

/* Glass / feature cards */
.tp-card {
  background: var(--tp-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-sm), var(--tp-shadow-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.tp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tp-shadow-lg), var(--tp-shadow-glow);
  border-color: rgba(218, 31, 61, 0.25);
}

.tp-card:hover .tp-icon-well {
  transform: translateY(-2px);
}

.tp-icon-well {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(218, 31, 61, 0.14), rgba(196, 165, 116, 0.22));
  color: var(--tp-primary);
  transition: transform 0.3s ease;
}

/* Bento grid */
.tp-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tp-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 1.25rem;
  }

  .tp-bento-featured {
    grid-column: span 7;
    grid-row: span 2;
  }

  .tp-bento-side {
    grid-column: span 5;
  }

  .tp-bento-cta {
    grid-column: 1 / -1;
  }
}

/* Hero display typography */
.hero-display {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.03em;
}

.hero-headline-accent {
  color: var(--tp-accent);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-store-btn {
  box-shadow:
    0 10px 28px -6px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px -4px rgba(255, 255, 255, 0.22);
}

.hero-store-btn:hover {
  box-shadow:
    0 14px 32px -6px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 32px -2px rgba(255, 255, 255, 0.28);
}

/* Full-bleed background carousel */
.hero-bg-carousel {
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
}

.hero-bg-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-slide img,
.hero-bg-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-bg-overlay {
  background:
    linear-gradient(
      115deg,
      rgba(11, 12, 15, 0.82) 0%,
      rgba(11, 12, 15, 0.55) 38%,
      rgba(11, 12, 15, 0.18) 68%,
      transparent 100%
    ),
    linear-gradient(to top, rgba(11, 12, 15, 0.45) 0%, transparent 40%);
}

.hero-bg-slide:nth-child(4) img {
  filter: brightness(1.22) saturate(0.82);
}

.hero-bg-carousel:has(.hero-bg-slide:nth-child(4).is-active) + .hero-bg-overlay {
  background:
    linear-gradient(
      115deg,
      rgba(11, 12, 15, 0.28) 0%,
      rgba(11, 12, 15, 0.12) 40%,
      transparent 70%
    ),
    linear-gradient(to top, rgba(11, 12, 15, 0.1) 0%, transparent 40%);
}

.hero-mockup {
  background: transparent;
  filter:
    drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  pointer-events: none;
  user-select: none;
}

.hero-bg-dots {
  min-height: 1rem;
}

.hero-bg-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-bg-dot.is-active {
  width: 1.5rem;
  background: #ffffff;
}

.hero-bg-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Hero animations */
.hero-fade-in {
  animation: heroFadeIn 0.9s ease-out both;
}

.hero-fade-in-delay {
  animation: heroFadeIn 0.9s ease-out 0.15s both;
}

.hero-device-in {
  animation: heroDeviceIn 1s ease-out 0.2s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDeviceIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease-out var(--reveal-delay),
    transform 0.35s ease-out var(--reveal-delay);
}

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

.tp-float-chip {
  animation: tpFloat 3.5s ease-in-out infinite;
}

@keyframes tpFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fade-in,
  .hero-fade-in-delay,
  .hero-device-in,
  .tp-float-chip {
    animation: none !important;
  }

  .hero-bg-slide {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tp-card:hover,
  .tp-card:hover .tp-icon-well {
    transform: none;
  }
}

/* Form glass panel */
.tp-form-panel {
  background: var(--tp-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-md);
}

.tp-contact-aside {
  background: var(--tp-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-sm);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .tp-contact-aside {
    padding: 1.75rem 1.5rem;
    position: sticky;
    top: 6rem;
  }
}

.tp-contact-aside-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tp-contact-aside-link:last-child {
  margin-bottom: 0;
}

.tp-contact-aside-link:hover {
  border-color: rgba(218, 31, 61, 0.25);
  background: #ffffff;
  box-shadow: var(--tp-shadow-sm);
}

.tp-contact-aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(218, 31, 61, 0.12), rgba(196, 165, 116, 0.18));
  color: var(--tp-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tp-field {
  position: relative;
}

.tp-field-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s ease;
}

.tp-field:focus-within .tp-field-icon {
  color: var(--tp-primary);
}

.tp-field-check {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%) scale(0.85);
  font-size: 1.25rem;
  line-height: 1;
  color: #16a34a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tp-field--textarea .tp-field-check {
  top: 1.15rem;
  transform: scale(0.85);
}

.tp-field.is-valid .tp-field-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.tp-field--textarea.is-valid .tp-field-check {
  transform: scale(1);
}

.tp-float-label {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  padding: 0 0.3rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: #64748b;
  background: transparent;
  pointer-events: none;
  transition:
    top 0.18s ease,
    transform 0.18s ease,
    font-size 0.18s ease,
    color 0.18s ease,
    left 0.18s ease,
    background 0.18s ease;
}

.tp-field--float:has(.tp-field-icon) .tp-float-label {
  left: 2.75rem;
}

.tp-field--textarea .tp-float-label {
  top: 1.15rem;
  transform: none;
}

.tp-float-optional {
  font-weight: 500;
  color: #94a3b8;
}

.tp-field--float:focus-within .tp-float-label,
.tp-field--float .tp-input:not(:placeholder-shown) + .tp-float-label,
.tp-field--float .tp-input:not(:placeholder-shown) ~ .tp-float-label {
  top: 0;
  left: 0.85rem;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--tp-primary);
  background: #ffffff;
}

.tp-field--float:has(.tp-field-icon):focus-within .tp-float-label,
.tp-field--float:has(.tp-field-icon) .tp-input:not(:placeholder-shown) ~ .tp-float-label {
  left: 0.85rem;
}

.tp-input,
.tp-landing .tp-input,
.tp-landing input.tp-input,
.tp-landing textarea.tp-input {
  width: 100%;
  padding: 1.05rem 1.25rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: none;
  font-size: 1rem;
  color: var(--tp-text);
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tp-field--float .tp-input {
  padding-top: 1.15rem;
  padding-bottom: 0.85rem;
}

.tp-field:has(.tp-field-icon) .tp-input {
  padding-left: 2.85rem;
}

.tp-field.is-valid .tp-input {
  padding-right: 2.75rem;
}

.tp-field--textarea .tp-input {
  min-height: 7.5rem;
  resize: vertical;
  padding-top: 1.35rem;
}

.tp-input::placeholder {
  color: transparent;
  opacity: 0;
}

.tp-input:focus,
.tp-input:focus-visible,
.tp-landing .tp-input:focus,
.tp-landing .tp-input:focus-visible,
.tp-landing input.tp-input:focus,
.tp-landing input.tp-input:focus-visible,
.tp-landing textarea.tp-input:focus,
.tp-landing textarea.tp-input:focus-visible {
  outline: none;
  border-color: #E5004B;
  box-shadow: 0 0 0 3px rgba(229, 0, 75, 0.15);
  background-color: #ffffff;
  --tw-ring-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: 0 0 #0000;
}

.tp-field.is-invalid .tp-input {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.tp-field.is-invalid .tp-input:focus,
.tp-field.is-invalid .tp-input:focus-visible {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  --tw-ring-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: 0 0 #0000;
}

.tp-field.is-valid .tp-input {
  border-color: rgba(22, 163, 74, 0.55);
}

.tp-field.is-valid:focus-within .tp-input {
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  --tw-ring-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: 0 0 #0000;
}

.tp-field-error {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.35;
}

.tp-field-error[hidden] {
  display: none;
}

.tp-contact-submit {
  background: var(--tp-primary);
  box-shadow: 0 8px 22px -8px rgba(218, 31, 61, 0.45);
}

.tp-contact-submit:hover:not(:disabled) {
  background: #c01b36;
  box-shadow: var(--tp-shadow-glow);
}

.tp-contact-submit.is-loading .tp-contact-submit-label {
  display: none;
}

.tp-contact-submit.is-loading .tp-contact-submit-loading {
  display: inline-flex;
}

.tp-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 9999px;
  animation: tpSpin 0.7s linear infinite;
}

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

.tp-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  transform: translateX(-50%) translateY(1rem);
  max-width: min(92vw, 22rem);
  padding: 0.85rem 1.15rem;
  border-radius: 0.85rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tp-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tp-spinner {
    animation: none;
    border-top-color: #ffffff;
  }

  .tp-float-label,
  .tp-toast,
  .tp-field-check {
    transition: none;
  }
}

/* Insights horizontal scroll carousel */
.tp-insights-carousel {
  position: relative;
}

.tp-insights-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: var(--tp-shadow-md);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.tp-insights-nav:hover:not(:disabled) {
  background: #ffffff;
  color: var(--tp-primary);
  box-shadow: var(--tp-shadow-lg);
}

.tp-insights-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.tp-insights-nav--prev {
  left: 0.25rem;
}

.tp-insights-nav--next {
  right: 0.25rem;
}

.tp-insights-nav .material-symbols-outlined {
  font-size: 1.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .tp-insights-nav {
    display: inline-flex;
  }
}

.tp-insights-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 0.75rem 1rem;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 1.25rem,
    #000 calc(100% - 1.25rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 1.25rem,
    #000 calc(100% - 1.25rem),
    transparent 100%
  );
}

.tp-insights-track:hover {
  scrollbar-width: none;
}

.tp-insights-track::-webkit-scrollbar,
.tp-insights-track:hover::-webkit-scrollbar {
  display: none;
}

.tp-insights-card {
  flex: 0 0 auto;
  width: min(85vw, 22rem);
  scroll-snap-align: start;
  transition: transform 0.35s ease;
}

.tp-insights-card:hover {
  transform: translateY(-0.4rem);
}

@media (min-width: 768px) {
  .tp-insights-track {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 2.5rem,
      #000 calc(100% - 2.5rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 2.5rem,
      #000 calc(100% - 2.5rem),
      transparent 100%
    );
  }

  .tp-insights-card {
    width: min(40vw, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-insights-card,
  .tp-insights-card:hover {
    transition: none;
    transform: none;
  }
}

/* Destination / insight media cards */
.tp-media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.tp-media-card img {
  transition: transform 1s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .tp-media-card:hover,
  .tp-media-card:hover img {
    transform: none;
  }
}

.tp-media-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 45%, transparent 100%);
}

/* Footer — dark travel landscape */
.tp-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
}

.tp-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.1) saturate(1.05);
}

.tp-footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.tp-footer-glass {
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 40px -20px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .tp-footer-glass {
    padding: 2rem 2.25rem;
  }
}

.tp-footer-blurb,
.tp-footer-copy {
  color: #ffffff;
}

.tp-footer-heading {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tp-footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tp-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.55rem;
  width: 100%;
  height: 1.5px;
  background: var(--tp-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.tp-footer-link:hover {
  color: var(--tp-primary);
}

.tp-footer-link:hover::after {
  transform: scaleX(1);
}

.tp-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.tp-footer-social .material-symbols-outlined {
  font-size: 1.5rem;
}

.tp-footer-social:hover {
  background: rgba(218, 31, 61, 0.2);
  border-color: var(--tp-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.tp-footer-store-badges {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.tp-footer-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  min-height: 48px;
  padding: 0.55rem 1rem;
  border-radius: 0.75rem;
  border: none;
  background: var(--tp-primary);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(218, 31, 61, 0.65);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.tp-footer-store-badge:hover {
  background: #c01b36;
  box-shadow: var(--tp-shadow-glow);
  transform: translateY(-1px);
  color: #ffffff;
}

.tp-footer-store-badge-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.tp-footer-store-badge-meta small {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.tp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-footer-copy {
  font-size: 0.75rem;
  font-weight: 500;
}

.tp-footer-legal {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tp-footer-legal:hover {
  color: var(--tp-primary);
}

@media (prefers-reduced-motion: reduce) {
  .tp-footer-link::after,
  .tp-footer-social,
  .tp-footer-store-badge {
    transition: none;
  }
}
