/* ============================================
   Ello Da Nang — Tourist Page
   ============================================ */

html {
    scroll-behavior: smooth;
}

:root {
    --t-teal:   #1dadc0;
    --t-cerise: #ef476f;
    --t-yellow: #fdc13a;
    --t-green:  #06d6a0;
    --t-purple-mobile:  #8f60cd;
    --t-purple-desktop: #bfa4e5;
    --t-shadow-card: 0 2px 4px rgba(40,41,61,0.04), 0 8px 16px rgba(96,97,112,0.16);
    --t-shadow-sm:   0 0 1px rgba(40,41,61,0.04), 0 2px 4px rgba(96,97,112,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.t-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    background: #061520;
    overflow: hidden;
}

/* -- Background -- */
.t-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.t-hero-bg-img {
    /* Mobile: image is 1125px wide, offset to show right portion */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    max-width: none;
}
.t-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

/* ============================================
   NAVBAR
   ============================================ */

.t-navbar {
    position: relative;
    z-index: 51; /* above the menu overlay (z-index 49) */
    flex-shrink: 0;
}

.t-nav-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.t-logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Desktop nav — hidden on mobile */
.t-nav-links {
    display: none;
    list-style: none;
    gap: 32px;
}
.t-nav-links a {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.t-nav-links a:hover { opacity: 0.75; }

.t-btn-discover {
    display: none;
    background: var(--t-teal);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 100px;
    white-space: nowrap;
    border: 1px solid var(--t-teal);
    box-shadow: 0 1px 2px rgba(16,24,40,0.05);
    transition: opacity 0.2s;
}
.t-btn-discover:hover { opacity: 0.88; }

/* ── Hamburger button ── */
.t-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 52; /* always on top so X is tappable */
}
.t-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
                opacity   0.2s ease,
                width     0.25s ease;
}

/* Hamburger → X when open */
.t-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.t-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile full-screen overlay ── */
.t-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 49;
    display: flex;           /* always flex — visibility toggled via opacity */
    flex-direction: column;
    padding: 88px 28px 48px;
    background: rgba(4, 12, 22, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.t-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Nav list */
.t-mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.t-mobile-menu ul a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s, padding-left 0.2s;
}

.t-mobile-menu ul li:first-child a {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.t-mobile-menu ul a:hover,
.t-mobile-menu ul a:active {
    color: #1dadc0;
    padding-left: 6px;
}

/* CTA button inside menu */
.t-btn-block {
    display: block;
    text-align: center;
    margin-top: 36px;
    padding: 14px 20px;
    font-size: 16px;
}

/* ============================================
   HERO BODY
   ============================================ */

.t-hero-body {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
}

/* ============================================
   TEXT COLUMN — Mobile
   ============================================ */

.t-hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px; /* heading-group → badges */
    padding: 0 16px;
}
.t-hero-heading-group {
    display: flex;
    flex-direction: column;
    gap: 16px; /* title → subtitle */
}

.t-hero-title {
    display: flex;
    flex-direction: column;
}
.t-title-main {
    font-family: 'Pacifico', cursive;
    font-size: 44px;
    line-height: 56px;
    color: #fff;
    letter-spacing: -0.88px;
    white-space: nowrap;
}
.t-title-accent {
    font-family: 'Pacifico', cursive;
    font-size: 36px;
    line-height: 44px;
    color: var(--t-cerise);
    letter-spacing: -0.72px;
}

.t-hero-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
}
.t-col-yellow { color: var(--t-yellow); }
.t-col-green  { color: var(--t-green); }
.t-col-purple { color: var(--t-purple-mobile); }

.t-store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.t-store-link { display: block; flex-shrink: 0; }
.t-store-link img { height: 44px; width: auto; display: block; }

/* ============================================
   VISUAL COLUMN — Mobile
   Figma: section 375×358px, positions in px
   Using aspect-ratio + % to scale on any screen
   ============================================ */

.t-hero-visual {
    position: relative;
    width: 100%;
    max-width: 375px;     /* cap at Figma reference so iPad doesn't stretch */
    align-self: center;
    height: 0;
    padding-bottom: min(95.47%, 358px); /* scales on small screens, caps at 358px on wide */
    flex-shrink: 0;
}

/* Circle bg: Figma left=33.56, top=23.2, w=307.724, h=308.241 on 375×358 */
.t-illus-circle-bg {
    position: absolute;
    left:   8.95%;  /* 33.56/375 */
    top:    6.48%;  /* 23.2/358  */
    width:  82.06%; /* 307.724/375 */
    height: 86.10%; /* 308.241/358 — explicit: avoids SVG height:auto ambiguity */
    z-index: 1;
    pointer-events: none;
}

/* People photo: Figma left=42.82, top=70.66, w=295.139, h=265.046 on 375×358 */
/* Figma mask shape: top is FLAT (no corner clip), only bottom is rounded */
.t-illus-people {
    position: absolute;
    left:   11.42%; /* 42.82/375  */
    top:    19.74%; /* 70.66/358  */
    width:  78.70%; /* 295.139/375 */
    height: 74.03%; /* 265.046/358 */
    z-index: 2;
    overflow: hidden;
    border-radius: 0 0 50% 50%;
}
.t-illus-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.t-illus-people img {
    /* Figma: top=-32.95%, left=-8.92%, w=118.27%, h=132.99% */
    position: absolute;
    top:  -32.95%;
    left: -8.92%;
    width: 118.27%;
    height: 132.99%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

/* Da Nang City pill: Figma left=91, top=289 on 375×358 */
.t-floating-pill {
    position: absolute;
    left:  24.27%; /* 91/375  */
    top:   80.73%; /* 289/358 */
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 24px;
    padding: 10px 28px;
    box-shadow: var(--t-shadow-card);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #636363;
    z-index: 5;
    transform: translateY(-50%);
}
.t-floating-pill img {
    width: 40px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Desktop-only cards — hidden on mobile */
.t-floating-mascot,
.t-floating-card-road,
.t-floating-card-beach {
    display: none;
}

/* ============================================
   DESKTOP — ≥ 900px
   Figma: 1280px max-width, 64px sides, 64px gap
   Visual container: 648×594px
   ============================================ */

@media (min-width: 900px) {

    .t-hero {
        border-radius: 0;
        min-height: 100svh;
    }

    /* Navbar */
    .t-nav-inner {
        height: 80px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 64px;
        width: 100%;
    }
    .t-logo img { width: 60px; height: 60px; }
    .t-nav-links { display: flex; }
    .t-btn-discover { display: block; }
    .t-hamburger { display: none; }
    .t-mobile-menu { display: none !important; }

    /* BG: full cover on desktop */
    .t-hero-bg-img {
        object-position: center center;
    }

    /* Hero body: 2 columns */
    .t-hero-body {
        flex-direction: row;
        align-items: center;
        gap: 64px;
        padding: 96px 64px;
        max-width: 1280px;
        margin: 0 auto;
        width: 100%;
        min-height: calc(100vh - 80px);
    }

    /* Text column */
    .t-hero-text {
        flex: 1;
        padding: 0;
        gap: 24px;
        min-width: 0;
    }
    .t-title-main {
        font-size: 60px;
        line-height: 72px;
        letter-spacing: -1.2px;
        white-space: normal;
    }
    .t-title-accent {
        font-size: 60px;
        line-height: 72px;
        letter-spacing: -1.2px;
    }
    .t-hero-sub {
        font-size: 20px;
        line-height: 30px;
    }
    .t-col-purple { color: var(--t-purple-desktop); }
    .t-store-link img { height: 44px; }

    /* Visual column: exact Figma 648×594px */
    .t-hero-visual {
        width: 648px;
        max-width: none;
        height: 594px;
        padding-bottom: 0;
        align-self: auto;
        flex-shrink: 0;
    }

    /* Circle bg: Figma left=58, top=28, w=531.747, h=532.642 */
    .t-illus-circle-bg {
        left:   58px;
        top:    28px;
        width:  532px;
        height: 532px;
    }

    /* People: Figma left=74, top=110, w=510, h=458 */
    /* Figma mask shape: top FLAT, bottom rounded */
    .t-illus-people {
        left:   74px;
        top:    110px;
        width:  510px;
        height: 458px;
        border-radius: 0 0 50% 50%;
        overflow: hidden;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .t-illus-people img {
        position: absolute;
        top:  -32.95%;
        left: -8.92%;
        width: 118.27%;
        height: 132.99%;
        max-width: none;
    }

    /* Da Nang City pill: Figma left=429, top=102 */
    .t-floating-pill {
        left: 429px;
        top:  102px;
        transform: none;
        /* Desktop uses Pacifico font + darker text */
        font-family: 'Pacifico', cursive;
        font-size: 14px;
        color: #344054;
    }

    /* Mascot scooter: Figma left=109, top=82, size=50×61, p=10 */
    .t-floating-mascot {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left:   109px;
        top:    82px;
        background: #fff;
        border-radius: 24px;
        padding: 10px;
        box-shadow: var(--t-shadow-card);
        z-index: 4;
    }
    .t-floating-mascot img {
        width:  50px;
        height: 61px;
        object-fit: contain;
    }

    /* Mountain road card: Figma left=0, top=414, img=180×134, p=8 */
    .t-floating-card-road {
        display: flex;
        position: absolute;
        left:   0;
        top:    414px;
        background: #fff;
        border-radius: 16px;
        padding: 8px;
        box-shadow: var(--t-shadow-card);
        z-index: 4;
    }
    .t-floating-card-road img {
        width:  180px;
        height: 134px;
        border-radius: 8px;
        object-fit: cover;
        display: block;
    }

    /* Beach card: Figma left=482, top=299, img=120×70, p=4 */
    .t-floating-card-beach {
        display: flex;
        position: absolute;
        left:   482px;
        top:    299px;
        background: #fff;
        border-radius: 8px;
        padding: 4px;
        box-shadow: var(--t-shadow-sm);
        z-index: 4;
    }
    .t-floating-card-beach img {
        width:  120px;
        height: 70px;
        border-radius: 2px;
        object-fit: cover;
        display: block;
    }
}

/* ============================================
   TABLET tweak — 768px–899px
   ============================================ */
@media (min-width: 768px) and (max-width: 899px) {
    .t-nav-inner {
        height: 80px;
        padding: 0 32px;
    }
    .t-logo img { width: 60px; height: 60px; }
    .t-nav-links { display: flex; }
    .t-btn-discover { display: block; }
    .t-hamburger { display: none; }
    .t-mobile-menu { display: none !important; }

    .t-hero-body {
        flex-direction: column;
        padding: 48px 32px 32px;
        gap: 32px;
    }
    .t-hero-text { padding: 0; gap: 20px; }
    .t-title-main { font-size: 52px; line-height: 64px; }
    .t-title-accent { font-size: 44px; line-height: 54px; }
    .t-hero-sub { font-size: 19px; }

    .t-hero-visual {
        width: 100%;
        max-width: 480px;
        aspect-ratio: 375 / 358;
        height: auto;
        margin: 0 auto;
    }
}

/* ============================================
   BLOCK 2: FEATURES "NO" SECTION
   ============================================ */

.t-features {
    position: relative;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
}

/* Decorative loop lines — mobile: small, left corner */
.t-feat-line-bg {
    position: absolute;
    left: -20px;
    top: 93px;
    width: 422px;
    height: 142px;
    pointer-events: none;
    z-index: 0;
}
.t-feat-line-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Heading */
.t-feat-heading {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
}
.t-feat-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
}
.t-feat-no {
    font-family: 'Pacifico', cursive;
    color: var(--t-cerise);
    font-size: 60px;
    line-height: 38px;
}

/* Card outer */
.t-feat-outer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Frosted glass card */
.t-feat-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6.532px);
    -webkit-backdrop-filter: blur(6.532px);
    border-radius: 12px;
    box-shadow: 8.709px 10.886px 17.418px 0 rgba(0, 0, 0, 0.1);
    padding: 32px;
}

/* Feature grid — mobile: vertical stack */
.t-feat-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Feature item */
.t-feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Sprite crop container — width set via inline style per item */
.t-feat-sprite-wrap {
    position: relative;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}
.t-feat-sprite-wrap img {
    position: absolute;
    max-width: none;
    display: block;
}

/* Feature 6: different source image on desktop vs mobile */
.t-feat6-desk { display: none; }
.t-feat6-mob  { display: block; }

/* Feature label */
.t-feat-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #101828;
    text-align: center;
}
.t-feat-no-label { color: var(--t-cerise); }

/* ---- Desktop overrides ---- */
@media (min-width: 900px) {
    .t-features {
        padding: 64px 80px;
        gap: 64px;
    }

    .t-feat-line-bg {
        left: -71px;
        top: -76px;
        width: 1528px;
        height: 514px;
    }

    .t-feat-heading { padding: 0; }
    .t-feat-title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
    }
    .t-feat-no {
        font-size: 60px;
        line-height: 44px;
    }

    .t-feat-outer { padding: 0; }

    .t-feat-grid {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 64px 32px;
        max-width: 1280px;
        padding: 0 32px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .t-feat-item {
        flex: 1 0 0;
        min-width: 320px;
        gap: 20px;
    }

    .t-feat6-desk { display: block; }
    .t-feat6-mob  { display: none; }
}

/* ============================================
   BLOCK 3: COMPARE "NOT TYPICAL" SECTION
   ============================================ */

.t-compare {
    position: relative;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
}

/* Watermark background */
.t-compare-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.t-compare-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

/* Heading */
.t-compare-heading {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
    text-align: center;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Cards row — mobile: column */
.t-compare-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Individual card */
.t-compare-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Card content area */
.t-compare-card-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card title: Typical tourism */
.t-compare-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #101828;
}

/* Card title: The Ello way */
.t-compare-title-ello {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}
.t-ello-the,
.t-ello-way {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #101828;
}
.t-ello-brand {
    font-family: 'Pacifico', cursive;
    font-size: 40px;
    line-height: 40px;
}

/* Checklist — mobile: single column */
.t-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.t-check-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Check item row */
.t-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Icon circle */
.t-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.t-icon-grey  { background: #eaecf0; }
.t-icon-green { background: #dcfae6; }

/* Icon content inset (matches Figma: top 29.65%, right 23.56%, bottom 26.58%, left 26.46%) */
.t-icon-inner {
    position: absolute;
    top: 29.65%;
    right: 23.56%;
    bottom: 26.58%;
    left: 26.46%;
}
.t-icon-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
}

/* Check label */
.t-check-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
}

/* Photo at bottom of card */
.t-compare-photo {
    position: relative;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: #f2f4f7;
    flex-shrink: 0;
}
.t-compare-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.t-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* ---- Desktop overrides ---- */
@media (min-width: 900px) {
    .t-compare {
        background: #f2f4f7;
        padding: 64px 80px;
        gap: 64px;
    }

    .t-compare-bg img { opacity: 0.15; }

    .t-compare-heading {
        padding: 0;
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
        max-width: 1280px;
    }

    /* Cards side by side */
    .t-compare-row {
        flex-direction: row;
        padding: 0;
        max-width: 1280px;
    }

    .t-compare-card {
        flex: 1 0 0;
        min-width: 0;
    }

    .t-compare-card-inner { gap: 32px; }

    .t-compare-title {
        font-size: 30px;
        line-height: 38px;
    }
    .t-ello-the,
    .t-ello-way {
        font-size: 30px;
        line-height: 38px;
    }

    /* Checklist: 2 columns on desktop */
    .t-checklist {
        flex-direction: row;
        gap: 20px;
    }
    .t-check-col {
        flex: 1 0 0;
        gap: 20px;
    }
}

/* ============================================
   BLOCK 4: HOW IT WORKS / STEPS
   ============================================ */

.t-steps {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
}

.t-steps-heading {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
}
.t-steps-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
}
.t-steps-gold {
    font-family: 'Pacifico', cursive;
    color: #fab010;
    font-size: 30px;
    line-height: 38px;
}

/* Cards column on mobile */
.t-steps-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Card base */
.t-step-card {
    position: relative;
    border-radius: 16px;
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-shadow: 0px 1px 4px 0px rgba(12,12,13,0.1), 0px 1px 4px 0px rgba(12,12,13,0.05);
}

.t-step-1, .t-step-3 { background: #fff; }

/* Step 2: warm-to-cool gradient */
.t-step-2 {
    background: linear-gradient(to top, #ace0f9, #fff1eb);
    box-shadow: none;
    min-height: 564px;
}
.t-step-3 { min-height: 564px; }

/* Background texture image */
.t-step-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 16px;
    z-index: 0;
}
.t-step-bg-mob  { display: block; }
.t-step-bg-desk { display: none; }

/* Step info: badge + text */
.t-step-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Number badge */
.t-step-badge {
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid #7740bf;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    color: #7740bf;
    letter-spacing: -0.48px;
    flex-shrink: 0;
}

.t-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.t-step-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #101828;
}
.t-step-body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #475467;
}

/* Phone mockup area */
.t-step-phones {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
}

/* Phone container */
.t-phone-wrap {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}
.t-phone-wrap img {
    position: absolute;
    max-width: none;
    display: block;
}

/* Phone dimensions — mobile */
.t-phone-1a { width: 170px; height: 287px; margin-right: -24px; }
.t-phone-1b { width: 133px; height: 234px; }
.t-phone-2  { width: 186px; height: 320px; }
.t-phone-3  { width: 302px; height: 301px; }

/* ---- Desktop overrides ---- */
@media (min-width: 900px) {
    .t-steps {
        padding: 64px 80px;
        gap: 64px;
    }

    .t-steps-heading { padding: 0; }
    .t-steps-title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
    }
    .t-steps-gold {
        font-size: 40px;
        line-height: 44px;
    }
    .t-steps-br { display: none; }

    .t-steps-row {
        flex-direction: row;
        padding: 0;
        height: 564px;
        align-items: stretch;
    }

    .t-step-card {
        flex: 1 0 0;
        min-width: 0;
        min-height: unset;
    }
    .t-step-2, .t-step-3 { min-height: unset; }

    .t-step-title {
        font-size: 30px;
        line-height: 38px;
    }

    .t-step-bg-mob  { display: none; }
    .t-step-bg-desk { display: block; }

    /* Push phones to card bottom */
    .t-step-phones { margin-top: auto; }

    /* Phone dimensions — desktop */
    .t-phone-1a { width: 182px; height: 308px; }
    .t-phone-1b { width: 149px; height: 262px; }
    .t-phone-2  { width: 179px; height: 308px; }
    .t-phone-3  { width: 312px; height: 312px; }
}

/* ============================
   Block 5 — Gallery "Explore Da Nang your way"
   ============================ */
.t-gallery {
    background: #f2fff7;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 16px;
    box-sizing: border-box;
    width: 100%;
}

/* Decorative vector background */
.t-gallery-vec {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.t-gallery-vec--mob  { display: block; left: 0; top: 59px; width: 371px; height: 145px; }
.t-gallery-vec--desk { display: none; }

/* Title */
.t-gallery-title {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
    text-align: center;
    width: 100%;
}
.t-gallery-accent {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    color: #06d6a0;
}

/* Grid */
.t-gallery-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.t-gallery-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Single card */
.t-gc {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f6;
    box-shadow: 0 1px 4px rgba(12,12,13,0.1), 0 1px 4px rgba(12,12,13,0.05);
    height: 200px;
    width: 100%;
    flex-shrink: 0;
}

.t-gc img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay on snorkeling card */
.t-gc--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 1;
}

/* Mobile: show/hide per-image variants */
.t-gc-img--mob  { display: block; }
.t-gc-img--desk { display: none; }

/* ---- Desktop overrides ---- */
@media (min-width: 900px) {
    .t-gallery {
        padding: 64px 80px;
        gap: 64px;
    }
    .t-gallery-vec--mob  { display: none; }
    .t-gallery-vec--desk {
        display: block;
        left: -45px;
        top: 18px;
        width: 1485px;
        height: 566px;
    }
    .t-gallery-title {
        font-size: 36px;
        line-height: 44px;
    }
    .t-gallery-accent { font-size: 40px; }
    .t-gallery-grid {
        height: 600px;
    }
    .t-gallery-row {
        flex-direction: row;
        flex: 1 0 0;
        min-height: 0;
    }
    .t-gc {
        height: 100%;
        flex: 1 0 0;
        min-width: 0;
        width: auto;
    }
    /* Wide cards (515px fixed) */
    .t-gc--wide {
        flex: 0 0 515px;
        width: 515px;
    }
    /* Swap images for row 3 card 2 */
    .t-gc-img--mob  { display: none; }
    .t-gc-img--desk { display: block; }
    /* Custom object-position per card */
    .t-gallery-row:first-child .t-gc:first-child img { object-position: center 60%; }
    .t-gallery-row:last-child  .t-gc:last-child  img { object-position: center 40%; }
}

/* ============================
   Block 6 — Trust "Trusted locals. Safe experiences."
   ============================ */
.t-trust {
    background: linear-gradient(to top, #e6dee9, #bdc2e8);
    padding: 32px 16px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
}

.t-trust-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    box-shadow: 0 8px 8px -4px rgba(16,24,40,0.03), 0 20px 24px -4px rgba(16,24,40,0.08);
}

.t-trust-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-trust-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-trust-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
    text-align: center;
}

.t-trust-pacifico {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    color: #7740bf;
}

.t-trust-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #475467;
    text-align: center;
}

.t-trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #7740bf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.t-trust-icon img {
    width: 15px;
    height: 11px;
    display: block;
}

.t-trust-item > span:last-child {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
}

/* Phone area — base (mobile + tablet) */
.t-trust-right {
    position: relative;
    height: 298px;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

/* Centered wrapper: phones span x=10 to x=308 → 298px wide group */
.t-trust-phones {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 298px;
    height: 371px;
}

.t-trust-p1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: 371px;
    object-fit: cover;
}

.t-trust-p2 {
    position: absolute;
    left: 154px;
    top: 61px;
    width: 144px;
    height: 298px;
    object-fit: cover;
}

/* Desktop-only decorations — hidden on mobile/tablet */
.t-trust-badge,
.t-trust-stars,
.t-trust-rating { display: none; }

/* ---- Desktop: two-column layout (≥1280px only) ---- */
@media (min-width: 1280px) {
    .t-trust {
        padding: 64px 0;
    }
    .t-trust-card {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0;
        gap: 0;
        width: 1280px;
        max-width: 100%;
    }
    .t-trust-left {
        flex: 1 0 0;
        min-width: 0;
        padding: 32px;
        gap: 32px;
    }
    .t-trust-head { gap: 20px; }
    .t-trust-title {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
        text-align: left;
        white-space: nowrap;
    }
    .t-trust-pacifico { font-size: 40px; }
    .t-trust-br { display: none; }
    .t-trust-sub {
        font-size: 20px;
        line-height: 30px;
        text-align: left;
        max-width: 768px;
    }
    /* Phone panel */
    .t-trust-right {
        flex: 1 0 0;
        min-width: 0;
        height: 586px;
        overflow: visible; /* outer card handles clipping via border-radius+overflow:hidden */
        padding: 0;
    }
    /* Phones wrapper fills the right column exactly */
    .t-trust-phones {
        position: absolute;
        left: 0; top: 0;
        width: 100%; height: 100%;
        transform: none;
    }
    .t-trust-p1 {
        position: absolute;
        left: 56px;
        top: 70px;
        width: 293px;
        height: 603px;
    }
    .t-trust-p2 {
        position: absolute;
        left: 305px;
        top: 168px;
        width: 236px;
        height: 486px;
    }
    /* Verified badge (cropped) */
    .t-trust-badge {
        display: block;
        position: absolute;
        left: 479px;
        top: 414px;
        width: 151px;
        height: 172px;
        overflow: hidden;
        pointer-events: none;
    }
    .t-trust-badge img {
        position: absolute;
        width: 278.92%;
        height: 242.65%;
        left: -156.64%;
        top: -128.21%;
        max-width: none;
        object-fit: cover;
    }
    /* Star ratings graphic (rotated diamond) */
    .t-trust-stars {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 349px;
        top: 0;
        width: 202px;
        height: 202px;
        pointer-events: none;
    }
    .t-trust-stars-inner {
        transform: rotate(45deg);
        flex-shrink: 0;
    }
    .t-trust-stars-inner img {
        width: 185px;
        height: 101px;
        display: block;
    }
    /* Floating rating card (cropped) */
    .t-trust-rating {
        display: block;
        position: absolute;
        left: -33px;
        top: 143px;
        width: 213px;
        height: 60px;
        overflow: hidden;
        pointer-events: none;
    }
    .t-trust-rating img {
        position: absolute;
        width: 133.52%;
        height: 266.84%;
        left: -17.1%;
        top: -90.34%;
        max-width: none;
    }
}

/* ============================================================
   BLOCK 7: Testimonials
   ============================================================ */

.t-test { width: 100%; }
.t-test-desk { display: none; }
.t-test-mob  { display: flex; flex-direction: column; background: #fff; padding: 64px 0; gap: 32px; }

/* Mobile heading */
.t-test-mob-head {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}
.t-test-mob-title { display: flex; flex-direction: column; }
.t-test-mob-line1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
    margin: 0;
}
.t-test-mob-line2 {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: 30px;
    line-height: 30px;
    color: #875bf7;
    margin: 0;
}
.t-test-mob-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #475467;
    margin: 0;
}

/* Mobile scroll container */
.t-test-mob-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: 16px;
}
.t-test-mob-scroll::-webkit-scrollbar { display: none; }
.t-test-mob-track {
    display: flex;
    gap: 32px;
    width: max-content;
    padding-right: 16px;
}

/* ---- .t-mc base (mobile: 280×373) ---- */
.t-mc {
    flex: 0 0 280px;
    width: 280px;
    height: 373px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.t-mc-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t-mc::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 55%);
    pointer-events: none;
    z-index: 1;
}
.t-mc-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 96px 8px 8px;
    z-index: 2;
}
.t-mc-glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.t-mc-top { display: flex; flex-direction: column; gap: 8px; }
.t-mc-quote {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: #fff;
    margin: 0;
}
.t-mc-stars { display: flex; gap: 4px; align-items: center; }
.t-mc-stars img { width: 20px; height: 20px; }
.t-mc-author { display: flex; align-items: center; gap: 12px; }
.t-mc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.t-mc-info { display: flex; flex-direction: column; }
.t-mc-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    margin: 0;
}
.t-mc-from {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    margin: 0;
}

/* ============================================================
   BLOCK 8: Travel Deeper
   ============================================================ */
.t-deep {
    background: #fdf1f4;
    padding: 64px 16px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.t-deep-content { display: flex; flex-direction: column; gap: 20px; }
.t-deep-tagline {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: 22px;
    color: #ff6b9d;
    transform: rotate(-2deg);
    transform-origin: left center;
    line-height: 1.3;
    margin: 0;
}
.t-deep-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0;
}
.t-deep-accent { font-family: 'Pacifico', cursive; font-weight: 400; color: #ff6b9d; }
.t-deep-sub { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.6; color: #344054; margin: 0; }
.t-deep-tags { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.t-deep-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.t-tag {
    display: inline-flex;
    align-items: center;
    padding: 9px 19px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}
.t-tag--outline { background: #fff; color: #344054; border: 1.5px solid #d0d5dd; }
.t-deep-photo { width: 100%; }
.t-deep-photo img {
    width: 100%;
    aspect-ratio: 571 / 580;
    object-fit: cover;
    border-radius: 36px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ============================================================
   BLOCK 7 DESKTOP (≥900px)
   ============================================================ */
@media (min-width: 900px) {
    .t-test-desk { display: block; }
    .t-test-mob  { display: none; }

    .t-test-desk {
        position: relative;
        background: #fff;
        padding: 64px 80px;
        display: flex;
        flex-direction: column;
        gap: 64px;
        overflow: hidden;
    }

    /* Watermark */
    .t-test-wm {
        position: absolute;
        top: 5px;
        left: 255px;
        transform: translateX(-50%);
        font-family: 'Pacifico', cursive;
        font-size: 280px;
        font-weight: 400;
        line-height: 1;
        letter-spacing: -10px;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
        z-index: 0;
    }

    /* Heading block */
    .t-test-head {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 768px;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .t-test-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.72px;
        color: #101828;
        margin: 0;
        width: 100%;
    }
    .t-test-accent {
        font-family: 'Pacifico', cursive;
        font-weight: 400;
        color: #1dadc0;
        font-size: 40px;
        letter-spacing: -0.8px;
    }
    .t-test-sub {
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
        color: #475467;
        margin: 0;
        width: 100%;
    }

    /* Body: track + arrows */
    .t-test-body {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .t-test-track-outer { overflow: hidden; width: 100%; }
    .t-test-track {
        display: flex;
        gap: 32px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Card override: desktop 360×480 */
    .t-mc { flex: 0 0 360px; width: 360px; height: 480px; }
    .t-mc-quote { font-size: 18px; }

    /* Arrows */
    .t-test-arrows { display: flex; justify-content: flex-end; gap: 32px; }
    .t-test-arrow {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 1px solid #eaecf0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s;
        flex-shrink: 0;
    }
    .t-test-arrow:hover { background: #f2f4f7; border-color: #98a2b3; }
    .t-test-arrow img { width: 24px; height: 24px; }
}

/* ============================================================
   BLOCK 8 DESKTOP (≥1280px)
   ============================================================ */

/* Base: hide desktop, show mobile */
.t-deep-desk { display: none; }
.t-deep-mob  { display: flex; flex-direction: column; gap: 40px; }

@media (min-width: 1280px) {
    /* Override section bg + padding */
    .t-deep {
        background: linear-gradient(to bottom, #fdeff4, #fff6f4);
        padding: 64px 80px;
        position: relative;
        display: block;
    }

    .t-deep-desk { display: block; position: relative; }
    .t-deep-mob  { display: none; }

    /* Deco dots (top-right area) */
    .t-deep-deco {
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        pointer-events: none;
        overflow: hidden;
    }
    .t-deep-deco img {
        position: absolute;
        top: 67.71%; right: 8%; bottom: 14%; left: 87.31%;
        width: auto; height: auto;
    }

    /* 2-column grid */
    .t-deep-grid {
        display: flex;
        gap: 80px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    /* Left column */
    .t-deep-copy {
        flex: 1 0 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Tagline override for desktop */
    .t-deep-desk .t-deep-tagline {
        font-size: 32px;
        line-height: 1.55;
        margin: 0;
        display: block;
    }

    /* Heading */
    .t-deep-heading {
        display: flex;
        flex-direction: column;
    }
    .t-deep-h-row1 {
        display: flex;
        align-items: baseline;
        gap: 4px;
        flex-wrap: nowrap;
    }
    .t-deep-h-plain {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 36px;
        line-height: 52.8px;
        letter-spacing: -0.96px;
        color: #1a1a2e;
        white-space: nowrap;
    }
    .t-deep-h-accent {
        font-family: 'Pacifico', cursive;
        font-weight: 400;
        font-size: 40px;
        color: #ff6b9d;
        letter-spacing: -0.96px;
        display: inline-block;
        transform: rotate(-2deg);
        transform-origin: left center;
        white-space: nowrap;
    }

    /* Body text */
    .t-deep-body {
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 28.8px;
        color: #344054;
        margin: 0;
    }

    /* Tag rows */
    .t-deep-tags-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .t-deep-tag-row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
    }

    /* Right column: visual */
    .t-deep-visual {
        flex: 1 0 0;
        max-width: 571px;
        min-width: 0;
        height: 580px;
        position: relative;
    }

    /* Main editorial photo */
    .t-deep-magazine {
        position: absolute;
        inset: 0 1px 0 0;
        border-radius: 36px;
        overflow: hidden;
        background: #ddd;
        box-shadow: 0px 4px 12px 0px rgba(20,20,40,0.06), 0px 24px 48px -12px rgba(20,20,40,0.14);
    }
    .t-deep-magazine img {
        position: absolute;
        top: 0;
        left: -29.17%;
        width: 173.01%;
        height: 100%;
        object-fit: cover;
        max-width: none;
    }

    /* Floating pin cards */
    .t-deep-pin {
        position: absolute;
        background: #fff;
        border-radius: 14px;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        box-shadow: 0px 2px 6px 0px rgba(20,20,40,0.04), 0px 12px 32px -8px rgba(20,20,40,0.08);
        width: 210px;
    }
    .t-deep-pin-img {
        height: 120px;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }
    .t-deep-pin-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .t-deep-pin-cap {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 12px;
        line-height: 18.6px;
        color: #1a1a2e;
        margin: 0;
        white-space: nowrap;
    }

    /* Pin 1: top-right, slightly overflowing right */
    .t-deep-pin--1 {
        right: -40px;
        top: calc(50% - 174px);
        transform: translateY(-50%) rotate(3.52deg);
    }
    /* Pin 2: bottom-left, slightly overflowing left */
    .t-deep-pin--2 {
        left: -55px;
        top: calc(50% + 160px);
        transform: translateY(-50%) rotate(-2.64deg);
    }
}

/* ============================================================
   BLOCK 9: CTA — Start exploring
   ============================================================ */

.t-cta {
    position: relative;
    background: #1a1a2e;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background photo */
.t-cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.t-cta-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
    max-width: none;
}

/* Content */
.t-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 80px 32px;
    width: 100%;
}

/* Heading group */
.t-cta-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* "Ready?" */
.t-cta-ready {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: 32px;
    line-height: 49.6px;
    color: #ffd93d;
    transform: rotate(-3deg);
    transform-origin: center;
    display: inline-block;
    margin: 0;
}

/* Title */
.t-cta-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    gap: 0;
}
.t-cta-line1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: #fff;
    display: block;
}
/* "with a / local buddy" — mobile: stacked */
.t-cta-line2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.t-cta-plain {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: #fff;
}
.t-cta-accent {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: #ffd93d;
    transform: rotate(-3deg);
    transform-origin: center;
    display: inline-block;
}

/* CTA button */
.t-cta-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #1dadc0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0px 6px 9px rgba(255,107,157,0.32);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.t-cta-btn:hover { opacity: 0.88; }
.t-cta-btn img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

/* Desktop (≥900px): "with a local buddy" side by side */
@media (min-width: 900px) {
    .t-cta-line2 {
        flex-direction: row;
        align-items: flex-end;
        gap: 4px;
    }
}

/* ============================================
   Block 10: Download App + Contact Form
   ============================================ */

.t-contact {
    position: relative;
    background: #fff;
    padding: 32px 16px 144px;
    overflow: hidden;
}

.t-contact-buildings {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 112px;
    pointer-events: none;
    z-index: 0;
}

.t-contact-buildings img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.t-contact-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* --- QR / Download section --- */

.t-contact-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.t-contact-qr-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.t-contact-qr-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #101828;
    margin: 0;
}

.t-contact-qr-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #475467;
    margin: 0;
}

.t-contact-brand {
    display: flex;
    align-items: flex-end;
    gap: 1px;
}

.t-contact-brand-ello {
    font-family: 'Pacifico', cursive;
    font-size: 40px;
    line-height: 40px;
}

.t-contact-brand-e  { color: #ef476f; }
.t-contact-brand-l1 { color: #ffd166; }
.t-contact-brand-l2 { color: #06d6a0; }
.t-contact-brand-o  { color: #9752da; }

.t-contact-brand-suffix {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #073b4c;
}

.t-contact-qr-box {
    width: 234px;
    height: 234px;
    background: #fff;
    border: 1.048px solid #f3f4f6;
    border-radius: 14px;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    transition: box-shadow 0.2s, transform 0.2s;
}
.t-contact-qr-box:hover {
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.t-contact-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.t-contact-stores {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

/* Store badges — reuses lg2 SVG assets with exact Figma pixel positions */
.t-contact-store {
    position: relative;
    display: block;
    height: 44px;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.t-contact-store:hover { transform: translateY(-1px); }

.t-contact-store--apple {
    width: 132px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 7px;
}

.t-contact-store--gplay {
    width: 148.5px;
    background: #000;
    border: 1px solid #a6a6a6;
    border-radius: 5px;
}

.t-contact-store img {
    position: absolute;
    display: block;
    max-width: none;
}

.t-contact-store--apple .t-contact-store-icon  { width: 19.49px; height: 23.95px; top: 9.59px; left: 10.97px; }
.t-contact-store--apple .t-contact-store-line1 { width: 76.07px; height: 7.01px;  top: 9.26px;  left: 39.22px; }
.t-contact-store--apple .t-contact-store-line2 { width: 82.58px; height: 17.30px; top: 19.55px; left: 37.90px; }
.t-contact-store--gplay .t-contact-store-icon  { width: 25.40px; height: 28.29px; top: 7.85px;  left: 10.97px; }
.t-contact-store--gplay .t-contact-store-line1 { width: 42.74px; height: 6.90px;  top: 7.55px;  left: 45.49px; }
.t-contact-store--gplay .t-contact-store-line2 { width: 93.26px; height: 18.73px; top: 18.75px; left: 45.14px; }

/* --- Contact form --- */

.t-contact-form-wrap {
    width: 100%;
}

.t-contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.t-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.t-contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.t-contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.t-contact-input {
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #101828;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.t-contact-input::placeholder { color: #667085; }

.t-contact-input:focus {
    border-color: #1dadc0;
    box-shadow: 0 0 0 3px rgba(29,173,192,0.15);
}

.t-contact-textarea {
    min-height: 128px;
    resize: vertical;
    padding-top: 12px;
}

.t-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 18px;
    background: #1dadc0;
    border: 1px solid #1dadc0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
    transition: opacity 0.2s;
}

.t-contact-submit:hover { opacity: 0.88; }

.t-contact-submit-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* Desktop (≥900px): 2-column side by side */
@media (min-width: 900px) {
    .t-contact {
        padding: 64px 32px 64px;
    }
    .t-contact-buildings {
        height: 430px;
    }
    .t-contact-inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 64px;
    }
    .t-contact-qr {
        padding: 32px;
        flex-shrink: 0;
        align-items: center;
    }
    .t-contact-form-wrap {
        background: #f2f4f7;
        border-radius: 16px;
        padding: 40px 32px;
        flex: 1 0 0;
        max-width: 560px;
        min-width: 0;
    }
}

/* ============================================
   Footer
   ============================================ */

.t-footer {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 0 48px;
}

/* Top section: brand + nav */
.t-footer-top-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
}

.t-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.t-footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.t-footer-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #475467;
    margin: 0;
}

/* Nav: links + contact columns */
.t-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.t-footer-col-head {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    margin: 0 0 16px;
}

.t-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t-footer-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1dadc0;
    text-decoration: none;
    transition: opacity 0.2s;
}

.t-footer-link:hover { opacity: 0.75; }

.t-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.t-footer-contact:hover { opacity: 0.75; }

.t-footer-contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-footer-contact-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.t-footer-contact-text {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.t-footer-contact-label { color: #475467; font-weight: 400; }
.t-footer-contact-value { color: #344054; font-weight: 600; }

/* Bottom bar */
.t-footer-bottom-wrap {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
}

.t-footer-bottom {
    border-top: 1px solid #eaecf0;
    padding-top: 32px;
    display: flex;
    flex-direction: column-reverse; /* mobile: "Made by" appears on top */
    gap: 16px;
}

.t-footer-copy,
.t-footer-made {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #667085;
    margin: 0;
}

/* Desktop (≥900px) */
@media (min-width: 900px) {
    .t-footer {
        gap: 64px;
    }
    .t-footer-top-wrap {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 48px;
        padding: 0 32px;
        max-width: 1280px;
        margin: 0 auto;
    }
    .t-footer-brand {
        flex: 1 0 0;
        max-width: 320px;
        min-width: 280px;
        gap: 16px;
    }
    .t-footer-nav {
        flex: 1 0 0;
        flex-direction: row;
        min-width: 400px;
        max-width: 712px;
        gap: 32px;
        align-items: flex-start;
    }
    .t-footer-col {
        flex: 1 0 0;
        min-width: 96px;
    }
    .t-footer-bottom-wrap {
        padding: 0 32px;
        max-width: 1280px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .t-footer-bottom {
        flex-direction: row; /* copyright left, "Made by" right */
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */

.t-back-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1dadc0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 12px rgba(29,173,192,0.4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.t-back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.t-back-top:hover {
    background: #18a0b5;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity  0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
