/* ============================================================
   AVIATE BY ISLAND INDEX — travel agency style page
   A separate, light-branded travel site (distinct from the main
   Island Index dark UI). Primary colour: #720DF7.
   ============================================================ */

:root {
    --color-bg-base: #f7f6fb;
    --color-bg-panel: #ffffff;
    --color-surface: #ffffff;
    --color-border: #e6e1f2;
    --color-text-primary: #241a3f;
    --color-text-secondary: #6d6393;
    --color-hover: rgba(114, 13, 247, 0.07);
    --color-accent: #720DF7;
    --color-primary: #720DF7;
    --color-blue: #720DF7;
    --t-accent: #720DF7;
}

/* Light scrollbars (replaces the dark scrollbars from reset.css) */
::-webkit-scrollbar-thumb {
    background: rgba(95, 60, 160, 0.28);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(95, 60, 160, 0.45);
}

* {
    scrollbar-color: rgba(95, 60, 160, 0.28) transparent;
}

.t-travel {
    --t-accent: var(--color-primary);
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(114, 13, 247, 0.08), transparent 60%),
        radial-gradient(900px 500px at 0% 15%, rgba(114, 13, 247, 0.10), transparent 55%),
        var(--color-bg-base);
}

/* ---------- Hero ---------- */
.t-hero {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 1.5rem 2rem;
    text-align: center;
    background:
        linear-gradient(160deg, rgba(114, 13, 247, 0.16), rgba(114, 13, 247, 0.06) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent 75%);
    border-bottom: 1px solid #f5f2fc;
}

.t-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.t-hero__glow--one {
    width: 300px;
    height: 300px;
    background: rgba(114, 13, 247, 0.16);
    top: -170px;
    right: -120px;
}

.t-hero__glow--two {
    width: 260px;
    height: 260px;
    background: rgba(114, 13, 247, 0.14);
    bottom: -160px;
    left: -120px;
}

.t-hero__inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    z-index: 1;
}

.t-hero--results {
    padding: 1.4rem 1.5rem 1.7rem;
}

.t-hero--results .t-hero__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.t-hero--results .t-hero__subtitle b {
    color: var(--color-text-primary);
}

.t-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--t-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.t-hero__eyebrow i {
    font-size: 0.9rem;
}

.t-hero__title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #241a3f, #6b56c8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 0.5rem;
}

.t-hero__subtitle {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 1.25rem;
}

/* ---------- Booking.com style search bar (theme colors) ---------- */
.t-bk {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin: 0 auto 1.1rem;
    padding: 0.55rem;
    background: #ffffff;
    border: 1px solid #e7e2f4;
    box-shadow: 0 10px 30px rgba(114, 13, 247, 0.10);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
}

.t-bk__field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.22rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0.7rem;
    padding: 0.55rem 0.8rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.t-bk__field--dest,
.t-bk__field--dates {
    flex-grow: 1.35;
}

.t-bk__field--dates {
    flex: 0 1 auto;
}

.t-bk__field:focus-within {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 3px rgba(114, 13, 247, 0.18);
}

.t-bk__field label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
}

.t-bk__field label i {
    color: var(--t-accent);
    font-size: 0.85rem;
}

.t-bk__field select,
.t-bk__field input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font: 700 0.95rem/1.2 var(--font-family-base);
    padding: 0.1rem 0;
    cursor: pointer;
}

.t-bk__field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a9b6c8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.1rem center;
    padding-right: 1.1rem;
}

.t-bk__field select option {
    background: var(--color-bg-panel);
    color: var(--color-text-primary);
}

.t-bk__dest-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.t-bk__dest-wrap input {
    padding-right: 1.5rem;
}

.t-bk__clear {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    padding: 0.2rem;
    cursor: pointer;
}

.t-bk__clear:hover {
    color: var(--color-text-primary);
}

.t-bk__dest-wrap.has-text .t-bk__clear {
    display: inline-flex;
}

/* Destination suggestions (islands + atolls) */
.t-bk__suggest {
    position: fixed;
    min-width: 280px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 0.8rem;
    box-shadow: 0 18px 44px rgba(95, 60, 160, 0.18);
    z-index: 3000;
}

.t-bk__suggest li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: var(--color-text-primary);
    font-size: 0.88rem;
}

.t-bk__suggest li:hover,
.t-bk__suggest li.is-active {
    background: var(--color-hover);
}

.t-bk__suggest li i {
    color: var(--t-accent);
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.t-bk__suggest li small {
    margin-left: auto;
    color: var(--color-text-secondary);
    text-transform: capitalize;
    font-size: 0.7rem;
}

.t-bk__date-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    outline: none;
}

.t-bk__dates-body {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.t-bk__date-row:focus-visible {
    border-radius: 0.4rem;
    box-shadow: 0 0 0 2px var(--t-accent);
}

.t-bk__date-box {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    padding: 0 0.3rem;
}

.t-bk__date-lbl {
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.t-bk__date-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-primary);
    font: 700 0.95rem/1.2 var(--font-family-base);
}

.t-bk__dash {
    color: var(--color-text-secondary);
    font-weight: 600;
    flex: 0 0 auto;
}

/* Custom occupancy picker */
.t-bk__occ-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font: 600 0.95rem/1.2 var(--font-family-base);
    text-align: left;
    cursor: pointer;
}

.t-bk__occ-toggle:focus-visible {
    border-radius: 0.4rem;
    box-shadow: 0 0 0 2px var(--t-accent);
}

.t-bk__occ-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t-bk__occ-toggle .ph-caret-down {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    flex: 0 0 auto;
}

.t-occpop {
    position: fixed;
    z-index: 3000;
    width: min(340px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    margin: 0;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(95, 60, 160, 0.16);
    padding: 0.75rem 0.9rem 0.5rem;
}

.t-occpop__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0 0.55rem;
}

.t-occpop__row + .t-occpop__row {
    border-top: 1px solid #f5f2fc;
}

.t-occpop__lbl {
    font-size: 0.85rem;
    font-weight: 600;
}

.t-occpop__sub {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

.t-occpop__stepper {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.t-occpop__btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #f5f2fc;
    color: var(--color-text-primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.t-occpop__btn:hover:not(:disabled) {
    border-color: var(--t-accent);
}

.t-occpop__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.t-occpop__count {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Custom date picker popup */
.t-datepop {
    position: fixed;
    width: min(660px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: 0 18px 44px rgba(95, 60, 160, 0.18);
    padding: 1rem;
    z-index: 3000;
}

.t-datepop__months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.t-datepop__month__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.t-datepop__month__ttl {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.t-datepop__nav {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background: none;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}

.t-datepop__nav:hover:not(:disabled) {
    color: var(--color-text-primary);
    border-color: var(--t-accent);
}

.t-datepop__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.t-datepop__wd,
.t-datepop__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.t-datepop__wd {
    margin-bottom: 4px;
}

.t-datepop__wd span {
    text-align: center;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
    padding: 0.2rem 0;
}

.t-datepop__day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--color-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    position: relative;
}

.t-datepop__day:hover:not(:disabled) {
    background: var(--color-hover);
}

.t-datepop__day:disabled {
    opacity: 0.28;
    cursor: default;
}

.t-datepop__day.is-today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--t-accent);
}

.t-datepop__day.in-range {
    background: rgba(114, 13, 247, 0.16);
    border-radius: 0;
}

.t-datepop__day.is-start {
    border-radius: 50% 0 0 50%;
}

.t-datepop__day.is-end {
    border-radius: 0 50% 50% 0;
}

.t-datepop__day.is-start.is-end {
    border-radius: 50%;
}

.t-datepop__day.is-select {
    background: var(--t-accent);
    color: #fff;
    font-weight: 800;
    z-index: 1;
}

.t-datepop__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.t-datepop__hint {
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.t-datepop__btn {
    border: none;
    background: none;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    transition: all 0.15s;
}

.t-datepop__btn:hover {
    color: var(--color-text-primary);
    background: var(--color-hover);
}

.t-datepop__btn--done {
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    padding: 0.45rem 1.1rem;
}

.t-datepop__btn--done:hover {
    color: #fff;
    filter: brightness(1.1);
}

@media (max-width: 720px) {
    .t-datepop__months {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.t-bk__btn {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding: 0 1.6rem;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
    box-shadow: 0 6px 18px rgba(114, 13, 247, 0.35);
    white-space: nowrap;
}

.t-bk__btn i {
    font-size: 1.1rem;
}

.t-bk__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* ---------- Secondary navbar (stay type filters) ---------- */
.t-subnav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}

.t-subnav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    overflow-x: auto;
}

@media (min-width: 721px) {
    .t-subnav__inner {
        justify-content: center;
    }
}

.t-subnav .t-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s;
}

.t-subnav .t-chip span {
    background: rgba(114, 13, 247, 0.10);
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    font-size: 0.72rem;
    color: var(--t-accent);
}

.t-subnav .t-chip:hover {
    color: var(--color-text-primary);
    background: none;
}

.t-subnav .t-chip.is-active {
    color: var(--color-text-primary);
    font-weight: 800;
    background: none;
    box-shadow: none;
}

.t-subnav .t-chip.is-active span {
    background: var(--t-accent);
    color: #fff;
}

/* ---------- Sections ---------- */
.t-stays,
.t-experiences {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.t-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.t-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
}

.t-section-sub {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Stays grid ---------- */
.t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.t-card {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

.t-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(114, 13, 247, 0.16);
    border-color: rgba(114, 13, 247, 0.35);
}

a.t-card {
    display: flex;
    color: inherit;
    text-decoration: none;
}

a.t-card .t-card__title {
    color: inherit;
}

article.t-card {
    cursor: pointer;
}

.t-card[hidden] {
    display: none;
}

.t-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(150deg, #ece5ff, #dccbff);
    cursor: pointer;
}

.t-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.t-card:hover .t-card__media img {
    transform: scale(1.05);
}

.t-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(114, 13, 247, 0.22);
    font-size: 3.5rem;
}

.t-card__badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    background: rgba(114, 13, 247, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.t-card__price {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: rgba(114, 13, 247, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.t-card__price span {
    color: #ecd9ff;
    font-weight: 700;
}

.t-card__price small {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.7rem;
}

.t-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.35rem;
}

.t-card__resort {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 0;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.t-card__resort .ph-seal-check,
.t-card__resort i {
    flex-shrink: 0;
    white-space: nowrap;
}

.t-card__verified {
    color: var(--t-accent);
}

.t-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0.35rem 0 0.4rem;
}

.t-card__location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
}

.t-card__location i {
    color: var(--t-accent);
}

.t-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.9rem 0 1.1rem;
}

.t-card__amenity {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f5f2fc;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    font-size: 0.72rem;
}

.t-card__amenity i {
    color: var(--t-accent);
    font-size: 0.8rem;
}

.t-card__amenity--more {
    background: none;
    border-style: dashed;
}

.t-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.t-card__price-inline strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.t-card__price-inline span {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

.t-card__ask {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.t-btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(114, 13, 247, 0.35);
}

.t-btn-book:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(114, 13, 247, 0.45);
}

.t-btn-book--block {
    width: 100%;
    padding: 0.95rem;
    font-size: 1rem;
    border-radius: 0.9rem;
}

.t-btn-book:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Empty ---------- */
.t-empty {
    text-align: center;
    padding: 4rem 2rem;
    border: 1px dashed var(--color-border);
    border-radius: 1.25rem;
    background: #f7f5fd;
}

.t-empty i {
    font-size: 3rem;
    color: var(--t-accent);
    opacity: 0.5;
}

.t-empty h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.75rem 0 0.35rem;
}

.t-empty p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

#js-travel-clear-filters {
    background: #f5f2fc;
    cursor: pointer;
}

/* ---------- Experiences ---------- */
.t-exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.t-exp-card {
    display: block;
    text-decoration: none;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.t-exp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(114, 13, 247, 0.35);
    box-shadow: 0 14px 32px rgba(114, 13, 247, 0.14);
}

.t-exp-card__media {
    position: relative;
    height: 130px;
    overflow: hidden;
    background: linear-gradient(150deg, #ece5ff, #dccbff);
}

.t-exp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-exp-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(114, 13, 247, 0.30);
    font-size: 2.6rem;
}

.t-exp-card__flair {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(114, 13, 247, 0.12));
}

.t-exp-card__body {
    padding: 0 1rem 1.1rem;
}

.t-exp-card__avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    background: var(--color-bg-base);
    margin-top: -24px;
    position: relative;
    z-index: 1;
}

.t-exp-card__avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-exp-card__avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 1.3rem;
}

.t-exp-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0.6rem 0 0.4rem;
    color: var(--color-text-primary);
}

.t-exp-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
}

.t-exp-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ---------- Booking modal ---------- */
.t-booking {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.t-booking__overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 14, 70, 0.55);
    backdrop-filter: blur(6px);
}

.t-booking__panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 24px 80px rgba(36, 15, 80, 0.25);
}

.t-booking__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.25rem;
}

.t-booking__summary {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.t-booking__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--t-accent);
    background: linear-gradient(135deg, rgba(114, 13, 247, 0.2), rgba(114, 13, 247, 0.1));
    border: 1px solid rgba(114, 13, 247, 0.35);
}

.t-booking__resort {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.t-booking__room {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.15rem 0 0.2rem;
}

.t-booking__location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
}

.t-booking__location i {
    color: var(--t-accent);
}

.t-booking__rate {
    margin-top: 0.5rem;
    font-weight: 800;
    color: var(--t-accent);
    font-size: 0.95rem;
}

.t-booking__message {
    margin-bottom: 0.25rem;
}

.t-booking__message p {
    margin: 0 0 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 0.7rem;
    font-size: 0.9rem;
}

.t-booking__message .t-msg-info {
    background: #f5f2fc;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.t-msg-error {
    background: rgba(239, 68, 68, 0.10) !important;
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #c92f4b;
}

.t-msg-success {
    background: rgba(34, 197, 94, 0.10) !important;
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #128a4b;
}

.t-booking__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.t-booking__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.t-booking label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.t-booking label > span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

.t-booking label small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    opacity: 0.8;
}

.t-booking input,
.t-booking textarea {
    width: 100%;
    background: #f7f5fd;
    border: 1px solid var(--color-border);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
    color: var(--color-text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.t-booking input:focus,
.t-booking textarea:focus {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 4px rgba(114, 13, 247, 0.15);
}

.t-booking textarea {
    resize: vertical;
}

.t-booking__notes {
    flex-direction: column;
}

.t-booking__success {
    text-align: center;
    padding: 2.5rem 1rem;
}

.t-booking__success i {
    font-size: 3rem;
    color: var(--t-accent);
}

.t-booking__success h3 {
    margin: 0.75rem 0 0.35rem;
    font-size: 1.25rem;
}

.t-booking__success p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Stay detail lightbox ---------- */
.t-detail {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.t-detail__overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 14, 70, 0.55);
    backdrop-filter: blur(6px);
}

.t-detail__panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 24px 80px rgba(36, 15, 80, 0.25);
}

.t-detail__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(28, 14, 70, 0.55);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.t-detail__close:hover {
    background: rgba(28, 14, 70, 0.8);
    transform: scale(1.06);
}

.t-detail__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #ece5ff, #dccbff);
    border-radius: 1.25rem 1.25rem 0 0;
}

.t-detail__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t-detail__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #b9a7ef;
}

.t-detail__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--t-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.t-detail__head {
    padding: 1.35rem 1.5rem 0.9rem;
}

.t-detail__resort {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.t-detail__resort .t-card__verified {
    font-size: 0.95rem;
}

.t-detail__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0.25rem 0 0.45rem;
}

.t-detail__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.t-detail__loc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.t-detail__loc i {
    color: var(--t-accent);
}

.t-detail__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(114, 13, 247, 0.12);
    border: 1px solid rgba(114, 13, 247, 0.28);
    color: var(--t-accent);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.t-detail__body {
    padding: 0.9rem 1.5rem 1.25rem;
}

.t-detail__section {
    margin-bottom: 1rem;
}

.t-detail__section:last-child {
    margin-bottom: 0;
}

.t-detail__section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin: 0 0 0.5rem;
}

.t-detail__hint {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.t-detail__ams {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.t-detail__am {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f7f5fd;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.82rem;
    color: var(--color-text-primary);
}

.t-detail__am i {
    color: var(--t-accent);
}

.t-detail__noams {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.t-detail__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem 1.4rem;
    border-top: 1px solid var(--color-border);
}

.t-detail__price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.t-detail__price strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--t-accent);
}

.t-detail__price span {
    color: var(--color-text-secondary);
    font-size: 0.82rem;
}

.t-detail__ask {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .t-hero {
        padding: 1.4rem 1rem 1.75rem;
    }

    .t-stays,
    .t-experiences {
        padding: 2.25rem 1rem;
    }

    .t-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .t-card__price {
        top: 0.8rem;
        right: 0.8rem;
    }

    .t-booking__row {
        grid-template-columns: 1fr;
    }

    .t-detail {
        padding: 0;
    }

    .t-detail__panel {
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: none;
    }

    .t-detail__media {
        border-radius: 0;
        aspect-ratio: 16 / 11;
    }

    .t-detail__head {
        padding: 1.15rem 1.25rem 0.75rem;
    }

    .t-detail__body {
        padding: 0.75rem 1.25rem 1.1rem;
    }

    .t-detail__foot {
        padding: 0.9rem 1.25rem 1.25rem;
        flex-wrap: wrap;
    }
}

/* ---------- Travel navbar (dedicated, booking.com style) ---------- */
html {
    scroll-behavior: smooth;
}

.t-navstick {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.t-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}

.t-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.t-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text-primary);
    text-decoration: none;
}

.t-nav__logo-img {
    width: auto;
    height: 44px;
    object-fit: contain;
}

.t-nav__links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.t-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
}

.t-nav__link:hover {
    color: var(--color-text-primary);
    background: #f5f2fc;
}

.t-nav__link.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--t-accent, var(--color-primary)), #5a12c7);
}

.t-nav__link--icon {
    width: 46px;
    height: 46px;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: 1.45rem;
}

.t-nav__account {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.t-nav__signin,
.t-nav__reg {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    transition: all 0.2s;
}

.t-nav__signin:hover {
    border-color: rgba(114, 13, 247, 0.45);
}

.t-nav__reg {
    background: linear-gradient(135deg, var(--t-accent, var(--color-primary)), #5a12c7);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(114, 13, 247, 0.35);
}

.t-nav__user {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.t-nav__user i {
    font-size: 1.2rem;
    color: var(--t-accent, var(--color-primary));
}

.t-nav__user:hover {
    border-color: rgba(114, 13, 247, 0.45);
}

/* anchor offset — Chrome also adds the sticky navbar height on top of this */
html {
    scroll-padding-top: 24px;
}

/* ---------- Travel footer ---------- */
.t-foot {
    border-top: 1px solid var(--color-border);
    background:
        radial-gradient(800px 400px at 100% 100%, rgba(114, 13, 247, 0.08), transparent 60%),
        #f4f1fb;
}

.t-foot__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.t-foot__brandlink {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-primary);
    text-decoration: none;
}

.t-foot__logo {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.t-foot__brand p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 1rem 0 0;
    max-width: 300px;
}

.t-foot__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.t-foot__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-secondary);
    font-size: 0.78rem;
}

.t-foot__trust i {
    color: var(--t-accent, var(--color-primary));
    font-size: 0.95rem;
}

.t-foot__col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.t-foot__col h4 {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.t-foot__col a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}

.t-foot__col a:hover {
    color: var(--t-accent, var(--color-primary));
}

.t-foot__col a i {
    font-size: 1rem;
}

.t-foot__bar {
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

.t-foot__bar-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text-secondary);
}

.t-foot__bar-note i {
    color: var(--t-accent, var(--color-primary));
}

@media (max-width: 720px) {
    .t-nav__links {
        gap: 0.1rem;
    }

    .t-nav__link--icon {
        width: 45px;
        height: 45px;
        font-size: 1.47rem;
    }

    .t-nav__name {
        font-size: 0.95rem;
    }

    .t-bk {
        flex-direction: column;
        align-items: stretch;
    }

    .t-bk__field--dest,
    .t-bk__field--dates {
        flex-grow: 1;
    }

    .t-bk__btn {
        margin: 0;
        padding: 0.95rem;
        transform: none;
    }

    .t-foot__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .t-nav__account .t-nav__reg {
        display: none;
    }

    .t-nav__account .t-nav__user {
        padding: 0.2rem;
        background: none;
        border: none;
        font-size: 1.5rem;
    }

    .t-nav__user i {
        font-size: 1.5rem;
    }

    .t-nav__user span {
        display: none;
    }

    .t-foot__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .t-foot__brand,
    .t-foot__col {
        text-align: center;
        align-items: center;
    }

    .t-foot__brandlink {
        justify-content: center;
    }

    .t-foot__brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .t-foot__trust {
        justify-content: center;
    }

    .t-foot__bar {
        justify-content: center;
        text-align: center;
    }

    .t-bk__date-row {
        flex-wrap: nowrap;
    }
}

/* ============================================================
   TRAVEL HOMEPAGE SECTIONS — layout pass (data to be wired later)
   ============================================================ */

/* Section shell (shared by all five) */
.t-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0.5rem;
}

/* Last section before the footer needs extra breathing room */
.t-section:last-child {
    padding-bottom: 3.5rem;
}

.t-section-head__icon {
    color: var(--t-accent);
    margin-right: 0.15rem;
    font-size: 1.15em;
    vertical-align: -0.08em;
}

.t-link {
    color: var(--t-accent);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.t-link:hover {
    text-decoration: underline;
}

/* Demo-state links and cards: visually interactive but not wired */
.t-link--demo {
    opacity: 0.7;
}

.t-card--demo {
    cursor: default;
}

.t-card--demo .t-card__media img {
    transform: none;
}

/* ---------- 1. Offers ---------- */
.t-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.t-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-panel);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

a.t-offer {
    color: inherit;
    text-decoration: none;
}

a.t-offer .t-offer__title {
    color: inherit;
}

.t-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(260px 160px at 100% 0%, rgba(114, 13, 247, 0.16), transparent 60%),
        radial-gradient(220px 150px at 0% 100%, rgba(114, 13, 247, 0.14), transparent 55%);
    pointer-events: none;
}

.t-offer--two::before {
    background: radial-gradient(260px 160px at 100% 0%, rgba(255, 105, 180, 0.18), transparent 60%);
}

.t-offer--three::before {
    background: radial-gradient(260px 160px at 100% 0%, rgba(255, 180, 60, 0.16), transparent 60%);
}

.t-offer:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(114, 13, 247, 0.16);
    border-color: rgba(114, 13, 247, 0.35);
}

.t-offer__media {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(114, 13, 247, 0.12);
    border: 1px solid rgba(114, 13, 247, 0.25);
    color: var(--t-accent);
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
    position: relative;
}

.t-offer--two .t-offer__media {
    background: rgba(255, 105, 180, 0.12);
    border-color: rgba(255, 105, 180, 0.3);
    color: #d8428f;
}

.t-offer--three .t-offer__media {
    background: rgba(255, 180, 60, 0.12);
    border-color: rgba(255, 180, 60, 0.3);
    color: #bd7b0f;
}

.t-offer__tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t-accent);
    margin-bottom: 0.4rem;
    position: relative;
}

.t-offer__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
    position: relative;
}

.t-offer__text {
    color: var(--color-text-secondary);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0 0 1.1rem;
    position: relative;
}

.t-offer__cta {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--t-accent);
    position: relative;
}

.t-offer__cta::after {
    content: "\2192";
    margin-left: 0.4rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.t-offer:hover .t-offer__cta::after {
    transform: translateX(3px);
}

/* ---------- 2. Browse by property type ---------- */
.t-ptype {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.t-ptype__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.4rem;
    border-radius: 1.25rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-panel);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

.t-ptype__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(114, 13, 247, 0.16);
    border-color: rgba(114, 13, 247, 0.35);
}

.t-ptype__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(114, 13, 247, 0.12);
    border: 1px solid rgba(114, 13, 247, 0.25);
    color: var(--t-accent);
    font-size: 1.5rem;
}

.t-ptype__card--guest .t-ptype__icon {
    background: rgba(22, 154, 97, 0.10);
    border-color: rgba(22, 154, 97, 0.25);
    color: #169a61;
}

.t-ptype__card--vessel .t-ptype__icon {
    background: rgba(81, 93, 214, 0.10);
    border-color: rgba(81, 93, 214, 0.25);
    color: #515dd6;
}

.t-ptype__name {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
}

.t-ptype__count {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* ---------- 3. Top destinations ---------- */
.t-dest {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 1rem;
}

.t-dest__tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    border-radius: 1.1rem;
    overflow: hidden;
    text-decoration: none;
    background:
        radial-gradient(180px 120px at 10% 0%, rgba(255, 255, 255, 0.30), transparent 60%),
        linear-gradient(140deg, #7a1dfa, #5a12c7);
    border: 1px solid var(--color-border);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

.t-dest__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(26, 6, 66, 0.30));
    pointer-events: none;
}

.t-dest__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(114, 13, 247, 0.16);
    border-color: rgba(114, 13, 247, 0.35);
}

.t-dest__name {
    position: relative;
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
    z-index: 1;
}

.t-dest__tile--lg {
    grid-row: span 2;
}

.t-dest__tile--desktop {
    display: none;
}

/* ---------- 4. Weekend deals ---------- */
.t-weekend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.t-card__badge--pop {
    right: 0.9rem;
    left: auto;
}

.t-card__badge--pop i {
    color: #ffd66b;
    margin-right: 0.25rem;
}

/* ---------- 5. Popular with travelers ---------- */
.t-popular {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ---------- 6. Best of Maldives (circular resort/hotel tiles) ---------- */
.t-best {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
}

.t-best__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-best__item:hover {
    transform: translateY(-3px);
}

.t-best__item:hover .t-best__name {
    color: var(--t-accent);
}

.t-best__logo {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--t-accent);
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(95, 60, 160, 0.14);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.t-best__item:hover .t-best__logo {
    border-color: rgba(114, 13, 247, 0.45);
    box-shadow: 0 12px 28px rgba(114, 13, 247, 0.16);
}

.t-best__name {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s;
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
    .t-dest__tile--desktop {
        display: flex;
    }
}
@media (max-width: 1024px) {
    .t-best {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}
@media (max-width: 900px) {
    .t-ptype,
    .t-offers {
        grid-template-columns: repeat(2, 1fr);
    }

    .t-dest {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .t-section {
        padding: 1.75rem 1rem 0.25rem;
    }

    .t-section:last-child {
        padding-bottom: 2.75rem;
    }

    .t-section-head {
        margin-bottom: 1.15rem;
    }

    .t-section-title {
        font-size: 1.25rem;
    }

    .t-section-sub {
        font-size: 0.83rem;
    }

    .t-weekend,
    .t-popular {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .t-best {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .t-best__logo {
        width: 72px;
        height: 72px;
        font-size: 1.7rem;
    }

    .t-offer__text {
        font-size: 0.84rem;
    }
}

@media (max-width: 520px) {
    .t-section {
        padding: 1.5rem 1rem 0.25rem;
    }

    .t-section:last-child {
        padding-bottom: 2.5rem;
    }

    .t-best {
        gap: 0.9rem;
    }

    .t-best__logo {
        width: 62px;
        height: 62px;
        font-size: 1.45rem;
    }

    .t-best__name {
        font-size: 0.7rem;
    }

    .t-ptype,
    .t-offers {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .t-offer {
        padding: 1.15rem;
    }

    .t-offer__media {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
        margin-bottom: 0.85rem;
    }

    .t-offer__title {
        font-size: 1.05rem;
    }

    .t-offer__text {
        margin-bottom: 0.85rem;
    }

    .t-ptype__card {
        flex-direction: row;
        align-items: center;
        gap: 0.85rem;
        padding: 0.9rem 1rem;
    }

    .t-ptype__icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .t-dest {
        grid-auto-rows: 96px;
        gap: 0.7rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .t-dest__tile {
        padding: 0.7rem;
        border-radius: 0.9rem;
    }

    .t-dest__name {
        font-size: 0.9rem;
    }

    .t-weekend,
    .t-popular {
        gap: 0.85rem;
    }
}

@media (max-width: 380px) {
    .t-section {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .t-ptype__count {
        font-size: 0.75rem;
    }
}

/* ---------- 7b. Search results layout ---------- */
.t-results {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 3.5rem;
}

.t-results__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.t-results__count {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.t-results__meta {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.t-sort {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.t-sort > i.ph-sort-descending {
    color: var(--t-accent);
    font-size: 1.15rem;
}

.t-sort select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    padding: 0.6rem 2.5rem 0.6rem 1.1rem;
}

.t-sort__caret {
    position: absolute;
    right: 0.9rem;
    bottom: 50%;
    transform: translateY(50%);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    pointer-events: none;
}

.t-results__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.t-filters-toggle__input {
    display: none;
}

.t-filters-toggle {
    display: none;
}

.t-filters {
    position: sticky;
    top: 5.75rem;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px rgba(36, 26, 63, 0.06);
}

.t-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.t-filters__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.t-filters__title i {
    color: var(--t-accent);
}

.t-filters__clear {
    background: none;
    border: none;
    color: var(--t-accent);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    transition: background 0.2s;
}

.t-filters__clear:hover {
    background: rgba(114, 13, 247, 0.08);
    text-decoration: none;
}

.t-filters__scroll {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.25rem;
}

.t-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #faf8ff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem 1rem 1.1rem;
    flex-shrink: 0;
}

.t-filter-group__title {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
    margin: 0;
}

.t-filter-chips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.t-filter-chips .t-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: #f5f2fc;
    border: 1px solid var(--color-border);
    border-radius: 0.8rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.t-filter-chips .t-chip span {
    background: rgba(114, 13, 247, 0.12);
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--t-accent);
}

.t-filter-chips .t-chip:hover {
    border-color: rgba(114, 13, 247, 0.4);
}

.t-filter-chips .t-chip.is-active {
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(114, 13, 247, 0.22);
}

.t-filter-chips .t-chip.is-active span {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.t-filter-opts {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.t-filter-opt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.t-filter-opt:hover {
    background: #f7f4fe;
}

.t-filter-opt input {
    accent-color: var(--t-accent);
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.t-filter-opt:has(input:checked) {
    background: rgba(114, 13, 247, 0.08);
    border-color: rgba(114, 13, 247, 0.3);
    font-weight: 600;
}

.t-filter-checks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.t-card__demo-tag {
    margin-left: auto;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--t-accent);
    background: rgba(114, 13, 247, 0.10);
    border: 1px solid rgba(114, 13, 247, 0.25);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.t-results__main .t-card__resort .t-card__demo-tag {
    margin-left: auto;
}

.t-filter-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.t-filter-check:hover {
    background: #f7f4fe;
}

.t-filter-check input {
    accent-color: var(--t-accent);
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.t-filter-check i {
    color: var(--t-accent);
    font-size: 0.95rem;
}

.t-filter-check:has(input:checked) {
    color: var(--color-text-primary);
    font-weight: 600;
}

.t-results__main {
    min-width: 0;
}

.t-results__empty {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--color-bg-panel);
    border: 1px dashed var(--color-border);
    border-radius: 1.25rem;
}

.t-results__empty i {
    display: block;
    font-size: 3rem;
    color: var(--t-accent);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.t-results__empty h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

.t-results__empty p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .t-results__layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .t-filters-toggle {
        position: sticky;
        top: 5.25rem;
        z-index: 40;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        background: var(--color-bg-panel);
        border: 1px solid var(--color-border);
        border-radius: 1rem;
        padding: 0.85rem 1rem;
        cursor: pointer;
        box-shadow: 0 10px 26px rgba(36, 26, 63, 0.08);
        transition: border-color 0.2s;
    }

    .t-filters-toggle:hover {
        border-color: rgba(114, 13, 247, 0.4);
    }

    .t-filters-toggle__title {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.95rem;
        font-weight: 800;
    }

    .t-filters-toggle__title i {
        color: var(--t-accent);
    }

    .t-filters-toggle__count {
        font-size: 0.82rem;
        font-weight: 700;
        background: rgba(114, 13, 247, 0.10);
        color: var(--t-accent);
        border-radius: 999px;
        padding: 0.15rem 0.6rem;
        margin-left: auto;
    }

    .t-filters-toggle .t-filters-toggle__caret {
        color: var(--color-text-secondary);
        font-size: 1rem;
        transition: transform 0.2s;
    }

    .t-filters-toggle__input:checked ~ .t-filters-toggle .t-filters-toggle__caret {
        transform: rotate(180deg);
    }

    .t-filters-toggle__input:not(:checked) ~ .t-filters {
        display: none;
    }

    .t-filters {
        position: static;
        max-height: none;
        margin-top: 0;
        box-shadow: none;
        overflow: visible;
    }

    .t-filters__scroll {
        padding: 0.85rem 1rem;
        flex: none;
        min-height: 0;
        overflow: visible;
        overscroll-behavior: auto;
    }

    .t-filters__head {
        justify-content: flex-end;
        padding: 0.9rem 0.5rem 0.4rem;
        border-bottom: none;
    }

    .t-filters__title {
        display: none;
    }
}

/* ---------- Search results: desktop list cards ---------- */
@media (min-width: 901px) {
    .t-results__main .t-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .t-results__main .t-card {
        flex-direction: row;
        min-height: 250px;
    }

    .t-results__main .t-card__media {
        width: 300px;
        min-height: 100%;
        aspect-ratio: auto;
        flex-shrink: 0;
    }

    .t-results__main .t-card__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto 1fr;
        gap: 0.35rem 1.5rem;
        align-items: start;
        align-content: start;
        padding: 1.25rem 1.5rem;
    }

    .t-results__main .t-card__resort {
        grid-column: 1;
        grid-row: 1;
    }

    .t-results__main .t-card__title {
        grid-column: 1;
        grid-row: 2;
        margin: 0.2rem 0 0;
    }

    .t-results__main .t-card__location {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0.15rem;
    }

    .t-results__main .t-card__amenities {
        grid-column: 1;
        grid-row: 4;
        margin: 0.6rem 0 0;
        align-self: end;
    }

    .t-results__main .t-card__footer {
        grid-column: 2;
        grid-row: 1 / span 4;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 1rem;
        border-top: none;
        padding-top: 0;
    }
}

@media (max-width: 720px) {
    .t-results {
        padding: 1.5rem 1rem 2.5rem;
    }

    .t-results__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .t-sort {
        width: 100%;
    }

    .t-sort select {
        width: 100%;
    }
}

/* ---------- Auth pages: sign in / sign up ---------- */
.t-auth {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    overflow: hidden;
}

.t-auth__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.t-auth__glow--one {
    width: 340px;
    height: 340px;
    background: rgba(114, 13, 247, 0.14);
    top: -120px;
    right: -140px;
}

.t-auth__glow--two {
    width: 300px;
    height: 300px;
    background: rgba(114, 13, 247, 0.12);
    bottom: -160px;
    left: -120px;
}

.t-auth__card {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #f0ebfa;
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 24px 60px rgba(60, 20, 110, 0.12);
    text-align: center;
    backdrop-filter: blur(8px);
}

.t-auth__brand {
    display: inline-flex;
    margin: 0.25rem 0 1.75rem;
}

.t-auth__logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.t-auth__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 1.4rem;
    color: var(--color-text-primary);
}

.t-auth__title-accent {
    color: var(--t-accent);
}

.t-auth__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.t-auth__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.t-auth__field > span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

.t-auth__control {
    position: relative;
    display: flex;
    align-items: center;
}

.t-auth__control > i {
    position: absolute;
    left: 0.95rem;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    pointer-events: none;
}

.t-auth__control input {
    width: 100%;
    background: #f7f5fd;
    border: 1px solid var(--color-border);
    border-radius: 0.8rem;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    color: var(--color-text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.t-auth__control input:focus {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 4px rgba(114, 13, 247, 0.12);
}

.t-auth__toggle {
    position: absolute;
    right: 0.6rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: 0.5rem;
    font-size: 1.1rem;
}

.t-auth__toggle:hover {
    color: var(--t-accent);
    background: rgba(114, 13, 247, 0.08);
}

.t-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.t-auth__row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.t-auth__check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.t-auth__check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.t-auth__check--block {
    align-items: flex-start;
    line-height: 1.45;
}

.t-auth__check--block a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.t-auth__check--block a:hover {
    text-decoration: underline;
}

.t-auth__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.t-auth__link:hover {
    text-decoration: underline;
}

.t-auth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.95rem;
    border: none;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(114, 13, 247, 0.28);
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.t-auth__submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(114, 13, 247, 0.34);
}

.t-auth__divider {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.4rem 0 1rem;
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.t-auth__divider::before,
.t-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.t-auth__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 0.9rem;
    background: #fff;
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.t-auth__social:hover {
    border-color: rgba(114, 13, 247, 0.4);
    background: #faf8ff;
}

.t-auth__social i {
    font-size: 1.15rem;
    color: #4285f4;
}

.t-auth__switch {
    margin-top: 1.6rem;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
}

.t-auth__switch a {
    color: var(--color-primary);
    font-weight: 800;
    text-decoration: none;
}

.t-auth__switch a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .t-auth {
        padding: 1.5rem 0.9rem 2.5rem;
    }

    .t-auth__card {
        padding: 1.5rem 1.15rem;
        border-radius: 1.25rem;
    }

    .t-auth__brand {
        margin: 0 0 0.75rem;
    }

    .t-auth__logo {
        height: 52px;
    }

    .t-auth__title {
        font-size: 1.3rem;
        margin: 0 0 1.1rem;
    }

    .t-auth__form {
        gap: 0.85rem;
    }

    .t-auth__row2 {
        grid-template-columns: 1fr;
    }

    .t-auth__field {
        gap: 0.32rem;
    }

    .t-auth__control input {
        padding: 0.7rem 1rem 0.7rem 2.5rem;
        font-size: 0.9rem;
        border-radius: 0.7rem;
    }

    .t-auth__toggle {
        right: 0.45rem;
        width: 32px;
        height: 32px;
    }

    .t-auth__submit {
        padding: 0.8rem;
        font-size: 0.9rem;
        margin-top: 0.3rem;
    }

    .t-auth__divider {
        margin: 1.1rem 0 0.85rem;
    }

    .t-auth__social {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .t-auth__switch {
        margin-top: 1.2rem;
        font-size: 0.83rem;
    }
}

/* ---------- Destinations: atoll grid ---------- */
.t-atoll-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.t-atoll {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #faf8ff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.t-atoll:hover {
    transform: translateY(-3px);
    border-color: rgba(114, 13, 247, 0.45);
    box-shadow: 0 12px 28px rgba(60, 20, 110, 0.08);
}

.t-atoll__icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--t-accent), #5a12c7);
    color: #fff;
    font-size: 1.3rem;
}

.t-atoll__name {
    font-size: 1rem;
    font-weight: 800;
    margin: 0.2rem 0 0;
}

.t-atoll__desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    flex: 1;
}

.t-atoll__stays {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ---------- Content pages: prose, features, FAQ, contact ---------- */
.t-prose {
    max-width: 780px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.t-prose p {
    margin: 0 0 1rem;
}

.t-prose h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 1.75rem 0 0.5rem;
}

.t-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.t-feature {
    background: #faf8ff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.t-feature i {
    font-size: 2rem;
    color: var(--color-primary);
}

.t-feature h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0.75rem 0 0.35rem;
    color: var(--color-text-primary);
}

.t-feature p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.t-faq {
    max-width: 760px;
    margin: 1.25rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.t-faq__item {
    background: #faf8ff;
    border: 1px solid var(--color-border);
    border-radius: 0.9rem;
    padding: 0;
    overflow: hidden;
}

.t-faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
}

.t-faq__item summary::-webkit-details-marker {
    display: none;
}

.t-faq__item summary i {
    color: var(--color-text-secondary);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.t-faq__item[open] summary i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.t-faq__item p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ---------- Contact / partner forms ---------- */
.t-contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.t-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.t-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #faf8ff;
    border: 1px solid var(--color-border);
    border-radius: 0.9rem;
    padding: 1.1rem 1.25rem;
}

.t-contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.t-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.t-contact-item strong {
    font-weight: 800;
    color: var(--color-text-primary);
    font-size: 0.92rem;
}

.t-contact-item span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.t-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(60, 20, 110, 0.05);
}

.t-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.t-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.t-contact-field > span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

.t-contact-field input,
.t-contact-field select,
.t-contact-field textarea {
    width: 100%;
    background: #f7f5fd;
    border: 1px solid var(--color-border);
    border-radius: 0.7rem;
    padding: 0.75rem 0.9rem;
    color: var(--color-text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.t-contact-field input:focus,
.t-contact-field select:focus,
.t-contact-field textarea:focus {
    border-color: var(--t-accent);
    box-shadow: 0 0 0 4px rgba(114, 13, 247, 0.12);
}

.t-contact-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fbf4;
    border: 1px solid #c9ebd4;
    color: #1a7a3f;
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.t-contact-success i {
    font-size: 1.2rem;
}

/* ---------- Content pages responsive ---------- */
@media (max-width: 1024px) {
    .t-atoll-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .t-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .t-atoll-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .t-contact-grid {
        grid-template-columns: 1fr;
    }
    .t-contact-row {
        grid-template-columns: 1fr;
    }
    .t-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .t-atoll-grid {
        grid-template-columns: 1fr;
    }
}
