/* ---------- Detalle de tour ---------- */
.td-hero{
    position:relative;
    height:clamp(300px,52vh,520px);
    background:linear-gradient(135deg,#0077b6,#90e0ef);
    color:white;
    display:flex;
    align-items:flex-end;
}
.td-hero img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.td-hero-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.05) 30%,rgba(0,0,0,.65) 100%);
}
.td-hero-content{
    position:relative;
    padding-bottom:36px;
}
.td-chip{
    display:inline-block;
    background:#d1fae5;
    color:#065f46;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    padding:6px 12px;
    border-radius:999px;
    margin-bottom:14px;
}
.td-hero h1{
    font-family:Montserrat,sans-serif;
    font-size:clamp(1.9rem,5vw,3.4rem);
    line-height:1.1;
    margin-bottom:10px;
    overflow-wrap:anywhere;
}
.td-location{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:1.05rem;
    opacity:.95;
}
.td-location .material-symbols-outlined{
    font-size:1.3rem;
}

.td-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:40px;
    align-items:start;
    padding:40px 0 70px;
}
.td-main{
    min-width:0;
}
.td-facts{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:38px;
}
.td-fact{
    background:white;
    border:1px solid #eef1f4;
    border-radius:16px;
    padding:16px 12px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    box-shadow:0 4px 12px rgba(0,0,0,.04);
}
.td-fact strong{
    font-size:.98rem;
    overflow-wrap:anywhere;
}
.td-fact small{
    color:#6b7280;
    font-size:.78rem;
}
.td-fact-icon{
    width:44px;
    height:44px;
    border-radius:50%;
    background:#e0f2fe;
    color:#0369a1;
    display:grid;
    place-items:center;
    font-size:1.4rem;
    margin-bottom:4px;
}
.td-section{
    margin-bottom:38px;
}
.td-section h2{
    font-family:Montserrat,sans-serif;
    font-size:1.5rem;
    margin-bottom:14px;
}
.td-description{
    color:#374151;
    line-height:1.8;
    font-size:1.05rem;
    overflow-wrap:anywhere;
}
.td-muted{
    color:#6b7280;
}
.td-map{
    background:linear-gradient(135deg,#0b3c4d,#14566b);
    color:white;
    border-radius:20px;
    padding:28px;
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}
.td-map-pin{
    width:52px;
    height:52px;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    display:grid;
    place-items:center;
    font-size:1.8rem;
}
.td-map-text{
    display:flex;
    flex-direction:column;
    gap:4px;
    flex:1;
    min-width:180px;
}
.td-map-text span{
    opacity:.85;
    font-size:.95rem;
    overflow-wrap:anywhere;
}
.td-map-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:white;
    color:#0b3c4d;
    font-weight:700;
    padding:12px 18px;
    border-radius:999px;
}

/* Tarjeta de reserva */
.td-aside{
    position:sticky;
    top:100px;
}
.td-booking{
    background:white;
    border:1px solid #eef1f4;
    border-radius:20px;
    padding:24px;
    box-shadow:0 14px 34px rgba(0,0,0,.1);
}
.td-booking-label{
    font-size:.72rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#6b7280;
    font-weight:600;
}
.td-booking-price{
    font-family:Montserrat,sans-serif;
    font-size:1.9rem;
    font-weight:700;
    color:#0b4f7a;
    margin:4px 0 18px;
}
.td-booking-price small{
    font-size:.8rem;
    font-weight:500;
    color:#6b7280;
}
.td-booking-empty{
    background:#f8fafc;
    border-radius:12px;
    padding:16px;
    color:#475569;
    line-height:1.5;
}
.td-field{
    margin-bottom:14px;
}
.td-field label{
    display:block;
    font-size:.72rem;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#6b7280;
    font-weight:600;
    margin-bottom:6px;
}
.td-field select,
.td-stepper{
    width:100%;
    border:1px solid #d9dee5;
    border-radius:12px;
    background:white;
}
.td-field select{
    padding:13px 12px;
    font:inherit;
    font-size:.95rem;
}
.td-stepper{
    display:flex;
    align-items:center;
    overflow:hidden;
}
.td-stepper button{
    width:48px;
    height:46px;
    background:#f8fafc;
    font-size:1.3rem;
    color:#0b4f7a;
}
.td-stepper button:disabled{
    color:#cbd5e1;
    cursor:not-allowed;
}
.td-stepper input{
    flex:1;
    min-width:0;
    text-align:center;
    border:0;
    font:inherit;
    font-weight:700;
    padding:10px 0;
    -moz-appearance:textfield;
}
.td-stepper input::-webkit-outer-spin-button,
.td-stepper input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
.td-hint{
    display:block;
    margin-top:6px;
    color:#6b7280;
}
.td-summary{
    border-top:1px solid #eef1f4;
    margin:18px 0;
    padding-top:14px;
}
.td-summary > div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
    color:#475569;
}
.td-summary dd{
    margin:0;
}
.td-summary .td-total{
    background:#eef6fb;
    border-radius:12px;
    padding:14px;
    margin:12px 0 0;
    color:#0b4f7a;
    font-weight:700;
    font-size:1.1rem;
}
.td-summary .td-total small{
    font-weight:500;
    color:#6b7280;
}
.td-reserve{
    width:100%;
    background:#ff7a00;
    color:white;
    border-radius:14px;
    padding:16px;
    font-size:1.05rem;
    font-weight:700;
    box-shadow:0 12px 22px rgba(255,122,0,.28);
}
.td-reserve:disabled{
    background:#cbd5e1;
    box-shadow:none;
    cursor:not-allowed;
}
.td-note{
    text-align:center;
    color:#6b7280;
    font-size:.8rem;
    margin-top:12px;
}
.td-notfound{
    text-align:center;
    padding:90px 0;
}
.td-notfound h1{
    font-family:Montserrat,sans-serif;
    margin-bottom:12px;
}
.td-notfound p{
    color:#6b7280;
    margin-bottom:24px;
}
.td-notfound .btn-primary{
    display:inline-block;
}

@media (max-width:980px){
    .td-layout{
        grid-template-columns:minmax(0,1fr);
        gap:28px;
        padding:28px 0 50px;
    }
    .td-aside{
        position:static;
    }
    .td-facts{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:480px){
    .td-hero{
        height:clamp(260px,46vh,380px);
    }
    .td-hero-content{
        padding-bottom:24px;
    }
    .td-map{
        padding:20px;
    }
    .td-map-link{
        width:100%;
        justify-content:center;
    }
    .td-booking{
        padding:18px;
    }
}
