.roadtrip-main {
  display: grid;
  gap: 28px;
}

.roadtrip-hero,
.roadtrip-section,
.roadtrip-cta,
.travel-roadtrip-carousel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.roadtrip-hero::after,
.roadtrip-section::after,
.roadtrip-cta::after,
.travel-roadtrip-carousel::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 0, 0.12), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.roadtrip-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.02;
}

.roadtrip-lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.7;
}

.roadtrip-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.roadtrip-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd27d;
  border: 1px solid rgba(255, 210, 125, 0.22);
  background: rgba(255, 170, 0, 0.08);
  box-shadow:
    0 0 12px rgba(255, 170, 0, 0.08),
    inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.travel-grid,
.language-grid {
  display: grid;
  gap: 20px;
}

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

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

.travel-card {
  position: relative;
  min-height: 290px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 12, 18, 0.34), rgba(12, 12, 18, 0.84)),
    var(--panel-strong);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  text-decoration: none;
  color: inherit;
}

.travel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 170, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 170, 0, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(255, 170, 0, 0.12);
}

.travel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.08), rgba(5, 5, 10, 0.78)),
    linear-gradient(135deg, rgba(255, 170, 0, 0.08), transparent 40%, rgba(255, 122, 184, 0.06));
}

.travel-card:hover .travel-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.08), rgba(5, 5, 10, 0.78)),
    linear-gradient(135deg, rgba(255, 170, 0, 0.18), transparent 40%, rgba(255, 122, 184, 0.10));
}

.travel-content {
  position: absolute;
  inset: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: calc(100% - 48px);
}

.travel-copy {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  row-gap: 8px;
  height: 100%;
  min-height: 0;
}

.travel-tag,
.language-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
}

.travel-tag {
  justify-self: start;
  padding: 7px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #7ef9ff;
  border: 1px solid rgba(60, 242, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(60, 242, 255, 0.18),
    rgba(255, 122, 184, 0.12)
  );
  box-shadow:
    0 0 12px rgba(60, 242, 255, 0.2),
    0 0 20px rgba(255, 122, 184, 0.08);
}

.future-tag {
  color: #f3c4ff;
  border-color: rgba(196, 126, 255, 0.34);
  background: linear-gradient(
    135deg,
    rgba(255, 122, 184, 0.12),
    rgba(138, 92, 246, 0.12)
  );
  box-shadow:
    0 0 12px rgba(196, 126, 255, 0.16),
    0 0 22px rgba(255, 122, 184, 0.08),
    inset 0 0 10px rgba(255,255,255,0.02);
}

.travel-card h3 {
  margin: 0;
  min-height: 2.4em;
  font-size: 1.8rem;
  line-height: 1.05;
  color: #fff5e8;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.18),
    0 0 20px rgba(255, 170, 0, 0.22);
}

.travel-date {
  margin: 0;
  min-height: 2.2em;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffd27d;
  line-height: 1.35;
}

.travel-card p {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.travel-copy p:last-child {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
}

.travel-roadtrip-btn,
.travel-link-disabled {
  margin-top: 18px;
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.travel-roadtrip-btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #ff7ab8, #3cf2ff);
  color: #081018;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    0 0 18px rgba(60,242,255,0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.travel-roadtrip-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.26),
    0 0 22px rgba(60,242,255,0.16);
}

.travel-link-disabled {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.74);
  pointer-events: none;
  opacity: 0.85;
}

.travel-spain {
  background:
    url("/assets/img/optimized/Espagne.webp") center / cover no-repeat,
    var(--panel-strong);
}

.travel-philippines {
  background:
    url("/assets/img/optimized/Philippines_2025.webp") center / cover no-repeat,
    var(--panel-strong);
}

.travel-japan-2025 {
  background:
    url("/assets/img/optimized/Japon_2025.webp") center / cover no-repeat,
    var(--panel-strong);
}

.travel-japan-2026 {
  background:
    url("/assets/img/optimized/Japon_2026.webp") center / cover no-repeat,
    var(--panel-strong);
}

.travel-philippines-future {
  background:
    url("/assets/img/optimized/Philippines_2026.webp") center / cover no-repeat,
    var(--panel-strong);
}

.travel-canada {
  background:
    url("/assets/img/optimized/Canada.webp") center / cover no-repeat,
    var(--panel-strong);
}

/* =========================
   Carousel
   ========================= */

.travel-carousel-shell {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  overflow: hidden;
}

.travel-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.travel-carousel-track::-webkit-scrollbar {
  display: none;
}

.travel-roadtrip-card {
  flex: 0 0 min(360px, 86vw);
  scroll-snap-align: start;
  min-height: 320px;
}

.travel-carousel-controls {
  display: flex;
  gap: 10px;
}

.travel-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.travel-carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 18px rgba(60,242,255,0.08);
}

.language-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 18, 0.72);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.language-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.language-badge {
  padding: 7px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.language-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.language-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lang-fr .language-badge {
  color: #7ef9ff;
  border: 1px solid rgba(60, 242, 255, 0.24);
  background: rgba(60, 242, 255, 0.10);
}

.lang-en .language-badge {
  color: #ffd27d;
  border: 1px solid rgba(255, 210, 125, 0.24);
  background: rgba(255, 170, 0, 0.10);
}

.lang-es .language-badge {
  color: #ffb6d2;
  border: 1px solid rgba(255, 122, 184, 0.24);
  background: rgba(255, 122, 184, 0.10);
}

.lang-jp .language-badge {
  color: #cdbaff;
  border: 1px solid rgba(180, 150, 255, 0.24);
  background: rgba(114, 137, 218, 0.10);
}

.roadtrip-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.roadtrip-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.roadtrip-cta p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

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

@media (max-width: 1000px) {
  .travel-grid,
  .language-grid {
    grid-template-columns: 1fr;
  }

  .roadtrip-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .roadtrip-main {
    gap: 18px;
  }

  .roadtrip-hero,
  .roadtrip-section,
  .roadtrip-cta,
  .travel-roadtrip-carousel {
    padding: 22px;
    border-radius: 22px;
  }

  .roadtrip-hero h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .roadtrip-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .travel-card {
    min-height: 300px;
    border-radius: 20px;
  }

  .travel-content {
    inset: 18px;
    height: calc(100% - 36px);
  }

  .travel-card h3 {
    font-size: 1.45rem;
  }

  .travel-card p {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .travel-copy p:last-child {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .travel-roadtrip-card {
    flex-basis: 88vw;
  }

  .language-card {
    padding: 20px;
    border-radius: 20px;
  }

  .roadtrip-cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .roadtrip-cta-actions .portfolio-btn {
    width: 100%;
  }

  .section-heading-split {
    align-items: flex-start;
  }
}

/* =========================
   LANG CARDS
   ========================= */

.travel-lang-fr {
  background: url("/assets/img/optimized/lang fr-FR.webp") center / cover no-repeat;
}

.travel-lang-en {
  background: url("/assets/img/optimized/lang en-EN.webp") center / cover no-repeat;
}

.travel-lang-es {
  background: url("/assets/img/optimized/lang es-ES.webp") center / cover no-repeat;
}

.travel-lang-jp {
  background: url("/assets/img/optimized/lang jp-JP.webp") center / cover no-repeat;
}

.travel-lang-card {
  min-height: 260px;
}