/* Hero: computer (768px and up) */

.hero {
    --hero-text: #2f251e;
    --hero-body: #5f5248;
    --hero-muted: #8a7b6f;
    --hero-accent: #9a3412;
    --hero-accent-dark: #7c2a0e;
    --hero-accent-soft: #e9b48f;
    --hero-tint: #f6eee6;
    --hero-line: #ece4d9;
    --hero-sage: #6b8f71;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 68px);
    padding: 44px 40px 0;
    overflow: hidden;
    text-align: center;
    background: #fffdf8;
}

/* Soft colour glow for depth */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-warm {
    top: -120px;
    left: 50%;
    width: 720px;
    height: 420px;
    background: rgba(233, 180, 143, 0.28);
    transform: translateX(-60%);
}

.hero-glow-green {
    top: 120px;
    right: 8%;
    width: 380px;
    height: 300px;
    background: rgba(107, 143, 113, 0.14);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* Location badge: white pill with a live dot */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 7px 15px 7px 12px;
    color: var(--hero-text);
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--hero-line);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(58, 46, 38, 0.06);
}

.hero-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: var(--hero-sage);
    border-radius: 50%;
}

.hero-badge-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid var(--hero-sage);
    border-radius: 50%;
    opacity: 0;
    animation: hero-pulse 2.4s ease-out infinite;
}

.hero-badge-icon {
    width: 15px;
    height: 15px;
    color: var(--hero-accent);
}

/* Headline */
.hero-title {
    margin: 0;
    color: var(--hero-text);
    font-size: 50px;
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-title-accent {
    position: relative;
    display: inline-block;
    color: var(--hero-accent);
}

/* Brush underline under "Chitwan" that draws itself */
.hero-underline {
    position: absolute;
    left: -2%;
    bottom: -11px;
    width: 104%;
    height: 14px;
    overflow: visible;
}

.hero-underline path {
    fill: none;
    stroke: var(--hero-accent-soft);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 320;
    stroke-dashoffset: 0;
    animation: hero-draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.2s backwards;
}

/* Description */
.hero-text {
    max-width: 560px;
    margin: 22px auto 0;
    color: var(--hero-body);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.7;
    text-wrap: pretty;
}

/* Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-btn-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-btn-icon {
    width: 18px;
    height: 18px;
}

/* Main: terracotta, icon bubble on the left */
.hero-btn-main {
    padding: 0 24px 0 8px;
    color: #fff;
    background: var(--hero-accent);
    box-shadow: 0 10px 26px rgba(154, 52, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-btn-main .hero-btn-bubble {
    background: rgba(255, 255, 255, 0.16);
}

.hero-btn-main:hover {
    background: var(--hero-accent-dark);
    box-shadow: 0 14px 32px rgba(154, 52, 18, 0.34);
    transform: translateY(-2px);
}

/* Soft: white, arrow bubble on the right that slides on hover */
.hero-btn-soft {
    padding: 0 8px 0 22px;
    color: var(--hero-text);
    background: #fff;
    border: 1.5px solid var(--hero-line);
    box-shadow: 0 6px 18px rgba(58, 46, 38, 0.06);
}

.hero-btn-soft .hero-btn-bubble {
    color: var(--hero-accent);
    background: var(--hero-tint);
}

.hero-btn-soft:hover {
    border-color: #ddd0bf;
    transform: translateY(-2px);
}

.hero-btn-soft:hover .hero-btn-bubble {
    color: #fff;
    background: var(--hero-accent);
    transform: translateX(3px);
}

.hero-btn:focus-visible {
    outline: 3px solid var(--hero-accent);
    outline-offset: 3px;
}

/* What guests get: looping strip that slides to the right.
   Two copies of the list move together, so there is never a gap.
   Edges fade out softly. Hover pauses it. */
.hero-marquee {
    position: relative;
    z-index: 1;
    display: flex;
    width: calc(100% + 80px);
    margin: 36px -40px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-features {
    display: flex;
    flex-shrink: 0;
    gap: 14px;
    margin: 0;
    padding: 4px 14px 22px 0;
    list-style: none;
    animation: hero-marquee 40s linear infinite;
}

.hero-marquee:hover .hero-features {
    animation-play-state: paused;
}

@keyframes hero-marquee {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.hero-feature {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 9px;
    text-align: left;
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--hero-line);
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(58, 46, 38, 0.05);
}

.hero-feature-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--hero-accent);
    background: var(--hero-tint);
    border-radius: 11px;
}

.hero-feature-icon svg {
    width: 18px;
    height: 18px;
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-feature-text strong {
    color: var(--hero-text);
    font-size: 13.5px;
    font-weight: 700;
}

.hero-feature-text span {
    color: var(--hero-muted);
    font-size: 12px;
    font-weight: 500;
}

/* Valley picture along the bottom, fading in softly from the top */
.hero-scene {
    position: relative;
    display: block;
    width: calc(100% + 80px);
    margin: auto -40px 0;
    padding-top: 24px;
}

.hero-scene img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
}

/* Animations */
@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes hero-draw {
    from {
        stroke-dashoffset: 320;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes hero-pulse {
    0% {
        opacity: 0.7;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.hero-badge,
.hero-title,
.hero-text,
.hero-actions,
.hero-marquee {
    animation: hero-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-badge    { animation-delay: 0.3s; }
.hero-title    { animation-delay: 0.5s; }
.hero-text     { animation-delay: 0.7s; }
.hero-actions  { animation-delay: 0.9s; }
.hero-marquee  { animation-delay: 1.1s; }

.hero-scene {
    animation: hero-fade 1.8s ease-out 0.4s backwards;
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-title,
    .hero-text,
    .hero-actions,
    .hero-marquee,
    .hero-scene,
    .hero-underline path,
    .hero-badge-dot::after {
        animation: none;
    }

    .hero-btn,
    .hero-btn-bubble {
        transition: none;
    }

    .hero-btn:hover,
    .hero-btn-soft:hover .hero-btn-bubble {
        transform: none;
    }

    /* Strip stands still: one copy, wrapped and centred */
    .hero-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-features {
        flex-shrink: 1;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 4px 48px 22px;
        animation: none;
    }

    .hero-features[aria-hidden="true"] {
        display: none;
    }
}

/* Phone-only pieces: hidden on computer */
.hero-cloud,
.hero-deco,
.hero-eyebrow,
.hero-tiles,
.hero-btn-end {
    display: none;
}
