:root{
  --tcw-navy:#0b2441;
  --tcw-navy-deep:#071a30;
  --tcw-blue:#123e6d;
  --tcw-gold:#d5a82f;
  --tcw-gold-light:#f2cf67;
  --tcw-text:#15253b;
  --tcw-muted:#66758b;
  --tcw-border:#e4eaf1;
  --tcw-surface:#ffffff;
}

.tcw-app,
.tcw-tracker{
  font-family:Inter,Arial,sans-serif;
  color:var(--tcw-text);
}

.tcw-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  align-items:stretch;
}

.tcw-tour-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  overflow:hidden;
  background:var(--tcw-surface);
  border:1px solid rgba(10,39,70,.10);
  border-radius:22px;
  box-shadow:0 16px 45px rgba(8,31,57,.09);
  transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}

.tcw-tour-card:hover{
  transform:translateY(-8px);
  border-color:rgba(213,168,47,.45);
  box-shadow:0 28px 70px rgba(8,31,57,.16);
}

.tcw-tour-media{
  position:relative;
  display:block;
  height:270px;
  overflow:hidden;
  background:#dfe8f1;
}

.tcw-tour-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,21,39,.02) 35%,rgba(5,21,39,.78) 100%);
  pointer-events:none;
}

.tcw-tour-media img,
.tcw-image-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}

.tcw-tour-card:hover .tcw-tour-media img{
  transform:scale(1.075);
}

.tcw-image-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 20% 15%,rgba(242,207,103,.34),transparent 30%),
    linear-gradient(135deg,#173f69,#071a30);
  color:#fff;
}

.tcw-image-fallback span{
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  letter-spacing:.04em;
}

.tcw-card-badge{
  position:absolute;
  z-index:2;
  top:18px;
  left:18px;
  padding:9px 13px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--tcw-gold-light),var(--tcw-gold));
  color:#132239;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.tcw-card-location{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:17px;
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
}

.tcw-tour-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:24px 24px 22px;
}

.tcw-tour-meta{
  display:flex;
  flex-wrap:wrap;
  gap:9px 16px;
  min-height:23px;
  margin-bottom:12px;
  color:var(--tcw-muted);
  font-size:12px;
  font-weight:650;
}

.tcw-tour-content h3{
  margin:0 0 12px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  line-height:1.16;
  letter-spacing:-.02em;
}

.tcw-tour-content h3 a{
  color:var(--tcw-navy);
  text-decoration:none;
  transition:color .25s ease;
}

.tcw-tour-card:hover h3 a{
  color:#a87913;
}

.tcw-tour-description{
  display:-webkit-box;
  min-height:76px;
  margin:0;
  overflow:hidden;
  color:var(--tcw-muted);
  font-size:15px;
  line-height:1.7;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.tcw-tour-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-top:auto;
  padding-top:22px;
  border-top:1px solid var(--tcw-border);
}

.tcw-tour-price{
  display:grid;
  gap:1px;
}

.tcw-tour-price small,
.tcw-tour-price span{
  color:var(--tcw-muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.tcw-tour-price strong{
  color:var(--tcw-navy);
  font-size:25px;
  line-height:1.1;
}

.tcw-card-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:0 17px;
  border:1px solid var(--tcw-navy);
  border-radius:999px;
  color:var(--tcw-navy);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  transition:background .25s ease,color .25s ease,transform .25s ease;
}

.tcw-card-button:hover{
  background:var(--tcw-navy);
  color:#fff;
  transform:translateX(2px);
}

.tcw-state{
  margin:0;
  padding:36px;
  text-align:center;
  color:var(--tcw-muted);
}

.tcw-detail{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:48px;
  align-items:center;
}

.tcw-detail-media{
  height:min(680px,70vh);
  min-height:480px;
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 24px 70px rgba(8,31,57,.14);
}

.tcw-detail-media img,
.tcw-detail-media .tcw-image-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tcw-detail-kicker{
  display:inline-block;
  margin-bottom:12px;
  color:#a87913;
  font-size:12px;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.tcw-detail-copy h1{
  margin:0 0 18px;
  color:var(--tcw-navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,5vw,74px);
  line-height:1.02;
  letter-spacing:-.035em;
}

.tcw-detail-copy>p{
  color:var(--tcw-muted);
  font-size:17px;
  line-height:1.85;
}

.tcw-detail-facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin-bottom:20px;
  color:var(--tcw-muted);
  font-size:13px;
  font-weight:700;
}

.tcw-detail-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-top:28px;
}

.tcw-detail-price strong{
  color:var(--tcw-navy);
  font-size:36px;
}

.tcw-detail-price small,
.tcw-detail-price span{
  color:var(--tcw-muted);
  font-size:12px;
  text-transform:uppercase;
}

.tcw-tracker{
  max-width:720px;
  margin:auto;
  padding:30px;
  border:1px solid var(--tcw-border);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 55px rgba(8,31,57,.09);
}

.tcw-tracker form{
  display:grid;
  gap:15px;
}

.tcw-tracker input,
.tcw-tracker button{
  min-height:50px;
  padding:0 16px;
  border-radius:12px;
  font:inherit;
}

.tcw-tracker input{
  border:1px solid #d8e1ec;
}

.tcw-tracker button{
  border:0;
  background:var(--tcw-navy);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.tcw-track{
  margin-top:20px;
  padding:22px;
  border-radius:16px;
  background:#f5f8fc;
}

.tcw-error{
  color:#a42121;
}

@media(max-width:1100px){
  .tcw-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .tcw-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .tcw-tour-media{
    height:255px;
  }

  .tcw-detail{
    grid-template-columns:1fr;
    gap:28px;
  }

  .tcw-detail-media{
    min-height:360px;
    height:55vh;
  }
}

@media(max-width:480px){
  .tcw-tour-content{
    padding:20px;
  }

  .tcw-tour-content h3{
    font-size:24px;
  }

  .tcw-tour-bottom{
    align-items:flex-start;
    flex-direction:column;
  }

  .tcw-card-button{
    width:100%;
  }
}
