  @import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500&display=swap');

  :root {
    --c-deep: #002D4F;
    --c-ocean: #0077B6;
    --c-light: #00B4D8;
    --c-pale: #CAF0F8;
    --c-foam: #EAF6FF;
    --c-sand: #F9C74F;
    --c-sand-d: #E8A817;
    --c-green: #2EC4B6;
    --c-dark: #0D1B2A;
    --c-mid: #3A5A72;
    --c-muted: #6E8FA5;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --fh: 'Sora', sans-serif;
    --fb: 'DM Sans', sans-serif;
  }

  body {
    font-family: var(--fb);
    background: #F0F7FC;
  }

  /* ── HERO ── */
  .tr-hero {
    position: relative;
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .tr-hero-bg {
    position: absolute;
    inset: -10% 0;
    will-change: transform;
    background: linear-gradient(135deg, rgba(0, 28, 52, .86) 0%, rgba(0, 70, 120, .68) 52%, rgba(0, 130, 165, .45) 100%), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  }

  .tr-hero-grain {
    position: absolute;
    inset: 0;
    opacity: .04;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
  }

  .tr-hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 110px 0 100px;
  }

  .tr-hero-inner {
    max-width: 680px;
  }

  [data-anim] {
    opacity: 0;
    transform: translateY(26px);
  }

  [data-anim].anim-in {
    animation: trIn .7s var(--ease) forwards;
  }

  @keyframes trIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .tr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-family: var(--fh);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
  }

  .tr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-sand);
    animation: trDot 2.2s ease-in-out infinite;
  }

  @keyframes trDot {

    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(249, 199, 79, .7)
    }

    50% {
      box-shadow: 0 0 0 7px rgba(249, 199, 79, 0)
    }
  }

  .tr-hero-title {
    font-family: var(--fh);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.025em;
    margin-bottom: 16px;
  }

  .tr-title-bar {
    display: block;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-sand), var(--c-light));
    border-radius: 99px;
    margin-top: 14px;
    animation: trBG 1s var(--ease) .5s both;
  }

  @keyframes trBG {
    to {
      width: 64px;
    }
  }

  .tr-hero-sub {
    font-size: clamp(.93rem, 1.4vw, 1.05rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .80);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 32px;
  }

  .tr-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .tr-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-family: var(--fh);
    font-size: .75rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    transition: background .2s;
  }

  .tr-chip:hover {
    background: rgba(255, 255, 255, .22);
  }

  .tr-chip i {
    color: var(--c-sand);
    font-size: .78rem;
  }

  .tr-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 5;
    pointer-events: none;
  }

  .tr-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
  }

  /* ── PLANIFICADOR ── */
  .tr-planner-section {
    padding: 0 0 50px;
    margin-top: -30px;
    position: relative;
    z-index: 20;
  }

  .tr-planner-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 60px rgba(0, 45, 79, .14);
    border: 1px solid rgba(0, 119, 182, .10);
    padding: 32px 36px;
  }

  .tr-planner-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .tr-planner-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--c-ocean), var(--c-light));
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 119, 182, .30);
  }

  .tr-planner-title {
    font-family: var(--fh);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 4px;
  }

  .tr-planner-sub {
    font-size: .88rem;
    color: var(--c-muted);
    line-height: 1.55;
    margin: 0;
  }

  .tr-planner-form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
  }

  .tr-pf-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 180px;
  }

  .tr-pf-group.tr-pf-sm {
    max-width: 165px;
  }

  .tr-pf-label {
    font-family: var(--fh);
    font-size: .72rem;
    font-weight: 700;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .tr-pf-input {
    font-family: var(--fb);
    font-size: .9rem;
    border: 1.5px solid rgba(0, 119, 182, .18);
    border-radius: 12px;
    padding: 11px 14px;
    background: var(--c-foam);
    color: var(--c-dark);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
  }

  .tr-pf-input:focus {
    border-color: var(--c-ocean);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, .12);
    background: #fff;
  }

  .tr-pf-input::placeholder {
    color: var(--c-muted);
  }

  .tr-pf-input.shake {
    animation: shake .4s var(--ease);
  }

  @keyframes shake {

    0%,
    100% {
      transform: translateX(0)
    }

    25% {
      transform: translateX(-6px)
    }

    75% {
      transform: translateX(6px)
    }
  }

  .tr-ac-wrap {
    position: relative;
  }

  .tr-ac-drop {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid rgba(0, 119, 182, .18);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 45, 79, .14);
    list-style: none;
    padding: 6px;
    margin: 0;
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
    display: none;
  }

  .tr-ac-drop.open {
    display: block;
  }

  .tr-ac-drop li {
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--c-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s;
  }

  .tr-ac-drop li:hover {
    background: var(--c-foam);
    color: var(--c-ocean);
  }

  .tr-ac-drop li i {
    color: var(--c-ocean);
    font-size: .78rem;
    flex-shrink: 0;
  }

  .tr-swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(0, 119, 182, .10);
    border: 1.5px solid rgba(0, 119, 182, .20);
    color: var(--c-ocean);
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s var(--ease);
    align-self: flex-end;
    margin-bottom: 2px;
  }

  .tr-swap-btn:hover {
    background: var(--c-ocean);
    color: #fff;
    transform: rotate(180deg);
  }

  .tr-pax-counter {
    display: flex;
    align-items: center;
    background: var(--c-foam);
    border: 1.5px solid rgba(0, 119, 182, .18);
    border-radius: 12px;
    overflow: hidden;
  }

  .tr-pax-btn {
    background: none;
    border: none;
    width: 40px;
    height: 44px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-ocean);
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tr-pax-btn:hover {
    background: rgba(0, 119, 182, .10);
  }

  #paxCount {
    font-family: var(--fh);
    font-weight: 700;
    font-size: .95rem;
    color: var(--c-dark);
    min-width: 28px;
    text-align: center;
  }

  .tr-search-btn {
    background: linear-gradient(135deg, var(--c-ocean), var(--c-light));
    color: #fff;
    border: none;
    font-family: var(--fh);
    font-weight: 700;
    font-size: .9rem;
    padding: 13px 28px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 119, 182, .32);
    transition: transform .22s var(--ease), box-shadow .22s, opacity .2s;
    align-self: flex-end;
  }

  .tr-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 119, 182, .44);
  }

  .tr-search-btn.loading {
    opacity: .7;
    pointer-events: none;
  }

  .tr-planner-hint {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 119, 182, .10);
    font-size: .78rem;
    color: var(--c-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  .tr-hint-tag {
    display: inline-block;
    background: rgba(0, 119, 182, .09);
    color: var(--c-ocean);
    font-family: var(--fh);
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid rgba(0, 119, 182, .18);
    transition: all .2s;
    margin: 2px;
  }

  .tr-hint-tag:hover {
    background: var(--c-ocean);
    color: #fff;
  }

  /* ── SECCIÓN PRINCIPAL (catálogo y resultados comparten el mismo espacio) ── */
  .tr-main-section {
    padding: 40px 0 100px;
  }

  /* Cabecera dinámica */
  .tr-main-head {
    text-align: center;
    margin-bottom: 44px;
  }

  .tr-main-eyebrow {
    display: inline-block;
    font-family: var(--fh);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    transition: all .3s;
  }

  .tr-main-eyebrow.mode-catalog {
    color: var(--c-ocean);
    background: rgba(0, 119, 182, .10);
  }

  .tr-main-eyebrow.mode-results {
    color: var(--c-green);
    background: rgba(46, 196, 182, .13);
  }

  .tr-main-title {
    font-family: var(--fh);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--c-dark);
    letter-spacing: -.025em;
    margin-bottom: 10px;
    transition: all .3s;
  }

  .tr-main-sub {
    font-size: .92rem;
    color: var(--c-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
  }

  /* Barra de estado de búsqueda */
  .tr-search-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--c-deep), var(--c-ocean));
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 32px;
  }

  .tr-search-bar.visible {
    display: flex;
  }

  .tr-search-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .tr-search-bar-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-sand);
    font-size: 1.1rem;
    flex-shrink: 0;
  }


  .tr-search-bar-count {
    font-family: var(--fh);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
  }

  .tr-search-bar-query {
    font-size: .8rem;
    color: rgba(255, 255, 255, .70);
    margin-top: 2px;
  }

  .tr-search-bar-close {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-family: var(--fh);
    font-weight: 600;
    font-size: .8rem;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .tr-search-bar-close:hover {
    background: rgba(255, 255, 255, .28);
  }

  /* No resultados */
  .tr-no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
  }

  .tr-no-results.visible {
    display: block;
  }

  .tr-nr-icon {
    font-size: 3rem;
    margin-bottom: 14px;
  }

  .tr-no-results h4 {
    font-family: var(--fh);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 8px;
  }

  .tr-no-results p {
    font-size: .88rem;
    color: var(--c-muted);
    margin-bottom: 20px;
  }

  .tr-nr-btn {
    background: var(--c-ocean);
    color: #fff;
    font-family: var(--fh);
    font-weight: 600;
    font-size: .85rem;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all .22s var(--ease);
  }

  .tr-nr-btn:hover {
    background: var(--c-deep);
    transform: translateY(-2px);
  }

  /* Banner "más rutas" */
  .tr-more-banner {
    margin-top: 52px;
    padding: 28px 36px;
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ocean) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0, 45, 79, .18);
  }

  .tr-more-banner-text h3 {
    font-family: var(--fh);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
  }

  .tr-more-banner-text p {
    font-size: .86rem;
    color: rgba(255, 255, 255, .75);
    margin: 0;
  }

  .tr-more-banner-btn {
    background: var(--c-sand);
    color: var(--c-deep);
    font-family: var(--fh);
    font-weight: 700;
    font-size: .88rem;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .tr-more-banner-btn:hover {
    background: var(--c-sand-d);
    transform: translateY(-2px);
  }

  /* Volver */
  .tr-back-row {
    text-align: center;
    margin-top: 60px;
  }

  .tr-back-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--c-ocean);
    border: 1.5px solid var(--c-ocean);
    font-family: var(--fh);
    font-weight: 600;
    font-size: .9rem;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .25s var(--ease);
  }

  .tr-back-btn:hover {
    background: var(--c-ocean);
    color: #fff;
    transform: translateY(-2px);
  }

  /* ── CARDS ── */
  [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .tr-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 45, 79, .09);
    border: 1px solid rgba(0, 119, 182, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .38s var(--ease), box-shadow .38s var(--ease);
    position: relative;
  }

  .tr-card:hover {
    transform: translateY(-10px) rotate(-.25deg);
    box-shadow: 0 24px 60px rgba(0, 45, 79, .18);
  }

  /* Card destacada en resultados */
  .tr-card--highlight {
    border-color: var(--c-ocean);
    box-shadow: 0 0 0 2px var(--c-ocean), 0 12px 40px rgba(0, 119, 182, .20);
  }

  .tr-card-match-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(135deg, var(--c-ocean), var(--c-light));
    color: #fff;
    font-family: var(--fh);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    letter-spacing: .06em;
  }

  .tr-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
  }

  .tr-card-img-container {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .tr-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), opacity .8s ease-in-out;
    display: block;
    opacity: 0;
    z-index: 1;
  }

  .tr-card-img.active {
    opacity: 1;
    z-index: 2;
  }

  .tr-card:hover .tr-card-img {
    transform: scale(1.08);
  }

  .tr-img-placeholder {
    background: linear-gradient(135deg, var(--c-pale), var(--c-foam));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ocean);
    font-size: 3.5rem;
    width: 100%;
    height: 100%;
  }

  .tr-card-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 25, 55, .42) 100%);
  }

  .tr-vehicle-tag,
  .tr-cap-tag {
    position: absolute;
    font-family: var(--fh);
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 5px 12px;
    text-transform: uppercase;
  }

  .tr-vehicle-tag {
    top: 12px;
    left: 12px;
    background: rgba(0, 45, 79, .84);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
  }

  .tr-cap-tag {
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
    color: var(--c-deep);
  }

  .tr-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 80, .54);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transition: opacity .3s;
  }

  .tr-card:hover .tr-card-overlay {
    opacity: 1;
  }

  .tr-overlay-price {
    text-align: center;
    transform: translateY(8px);
    transition: transform .35s var(--ease);
  }

  .tr-card:hover .tr-overlay-price {
    transform: translateY(0);
  }

  .tr-overlay-price span {
    display: block;
    font-size: .68rem;
    color: rgba(255, 255, 255, .75);
    font-family: var(--fh);
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .tr-overlay-price strong {
    font-family: var(--fh);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-sand);
  }

  .tr-overlay-btn {
    background: var(--c-sand);
    color: var(--c-deep);
    font-family: var(--fh);
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    transform: translateY(8px);
    transition: transform .35s var(--ease) .05s, background .2s;
  }

  .tr-card:hover .tr-overlay-btn {
    transform: translateY(0);
  }

  .tr-overlay-btn:hover {
    background: var(--c-sand-d);
  }

  .tr-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .tr-card-title {
    font-family: var(--fh);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 14px;
  }

  .tr-route-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-foam);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 119, 182, .10);
  }

  .tr-rv-point {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
  }

  .tr-rv-right {
    justify-content: flex-end;
    text-align: right;
  }

  .tr-rv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .tr-rv-origin {
    background: var(--c-ocean);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, .18);
  }

  .tr-rv-dest {
    background: var(--c-green);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, .18);
  }

  .tr-rv-label {
    font-family: var(--fh);
    font-size: .73rem;
    font-weight: 600;
    color: var(--c-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tr-rv-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 40px;
  }

  .tr-rv-line-inner {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(0, 119, 182, .3) 0, rgba(0, 119, 182, .3) 5px, transparent 5px, transparent 9px);
  }

  .tr-rv-icon {
    position: absolute;
    font-size: .85rem;
    color: var(--c-ocean);
    animation: trRvD 2.5s ease-in-out infinite;
  }

  @keyframes trRvD {
    0% {
      transform: translateX(-6px)
    }

    50% {
      transform: translateX(6px)
    }

    100% {
      transform: translateX(-6px)
    }
  }

  .tr-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
  }

  .tr-details-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 119, 182, .07);
    font-size: .82rem;
  }

  .tr-details-list li:last-child {
    border-bottom: none;
  }

  .tr-detail-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 119, 182, .09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ocean);
    font-size: .75rem;
    flex-shrink: 0;
  }

  .tr-detail-label {
    flex: 1;
    color: var(--c-muted);
    font-weight: 500;
  }

  .tr-detail-val {
    font-family: var(--fh);
    font-weight: 700;
    color: var(--c-dark);
    font-size: .8rem;
  }

  .tr-includes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
  }

  .tr-inc-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    color: var(--c-mid);
  }

  .tr-inc-item i {
    color: var(--c-green);
    font-size: .75rem;
  }

  .tr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 119, 182, .10);
    margin-top: auto;
  }

  .tr-price-label {
    display: block;
    font-size: .65rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .tr-price {
    font-family: var(--fh);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--c-ocean);
    display: block;
  }

  .tr-reserve-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: var(--c-deep);
    color: #fff;
    font-family: var(--fh);
    font-size: .8rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s, transform .2s var(--ease);
  }

  .tr-reserve-btn:hover {
    background: var(--c-ocean);
    color: #fff;
    transform: translateY(-2px);
  }

  .tr-result-card-wrap {
    animation: resIn .4s var(--ease) both;
  }

  @keyframes resIn {
    from {
      opacity: 0;
      transform: translateY(20px)
    }

    to {
      opacity: 1;
      transform: translateY(0)
    }
  }

  @media(max-width:991px) {
    .tr-planner-form {
      flex-direction: column;
    }

    .tr-pf-group,
    .tr-pf-group.tr-pf-sm {
      max-width: 100%;
    }

    .tr-swap-btn {
      align-self: center;
      transform: rotate(90deg);
    }

    .tr-swap-btn:hover {
      transform: rotate(270deg);
    }

    .tr-search-btn {
      width: 100%;
      justify-content: center;
    }

    .tr-more-banner {
      flex-direction: column;
      text-align: center;
    }
  }

  @media(max-width:768px) {
    .tr-planner-card {
      padding: 22px 18px;
    }

    .tr-hero-content {
      padding: 90px 0 90px;
    }

    .tr-card-overlay {
      display: none;
    }
  }

  @media(max-width:480px) {
    .tr-hero-title {
      font-size: 1.9rem;
    }

    .tr-card-img-wrap {
      height: 190px;
    }
  }

  /* ── GALLERY BUTTON (on card image) ── */
  .tr-gallery-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 22;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, .52);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-family: var(--fh);
    font-size: .72rem;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
    transition: background .2s, transform .2s var(--ease);
  }

  .tr-gallery-btn:hover {
    background: var(--c-ocean);
    border-color: var(--c-ocean);
    transform: translateY(-2px);
  }

  /* ── LIGHTBOX ── */
  .tr-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tr-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 18, 36, .94);
    backdrop-filter: blur(8px);
  }

  .tr-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
  }

  .tr-lb-close:hover {
    background: rgba(255, 255, 255, .25);
  }

  .tr-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
  }

  .tr-lb-nav:hover {
    background: rgba(255, 255, 255, .28);
  }

  .tr-lb-prev {
    left: 18px;
  }

  .tr-lb-next {
    right: 18px;
  }

  .tr-lb-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
  }

  .tr-lb-image {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity .4s ease;
  }

  .tr-lb-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tr-lb-spin {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, .2);
    border-top-color: var(--c-sand);
    border-radius: 50%;
    animation: lbSpin .7s linear infinite;
  }

  @keyframes lbSpin {
    to {
      transform: rotate(360deg);
    }
  }

  .tr-lb-footer {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .tr-lb-counter {
    font-family: var(--fh);
    font-size: .76rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .06em;
  }

  .tr-lb-thumbs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
  }

  .tr-lb-thumb {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s, border-color .2s;
  }

  .tr-lb-thumb.active {
    border-color: var(--c-sand);
    opacity: 1;
  }

  /* ── Card Gallery Loop ── */
  .tr-card-img-container {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #eee;
  }
  .tr-card-img-container img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
  }
  .tr-card-img-container img.active {
      opacity: 1;
  }
