/* Hero: phone (up to 767px)
   Order: badge → "Welcome to" → headline (Chitwan in brush script)
   → text → 2 buttons → 4 feature tiles → village picture */

.hero {
    --hero-text: #3b2a1e;
    --hero-body: #6b5d52;
    --hero-muted: #9a8b7e;
    --hero-accent: #c4552d;
    --hero-accent-dark: #a8461f;
    --hero-accent-soft: #eab48f;
    --hero-line: #ece3d6;
    --hero-bg: #fbf7ef;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px 0;
    overflow: hidden;
    text-align: center;
    background: var(--hero-bg);
}

/* Soft glows not used on phone */
.hero-glow {
    display: none;
}

/* Faint clouds */
.hero-cloud {
    position: absolute;
    width: 120px;
    height: 46px;
    background: #ffffff;
    border-radius: 999px;
    filter: blur(6px);
    opacity: 0.85;
    pointer-events: none;
}

.hero-cloud::before {
    content: "";
    position: absolute;
    left: 26px;
    top: -18px;
    width: 56px;
    height: 46px;
    background: inherit;
    border-radius: 50%;
}

.hero-cloud-left {
    top: 60px;
    left: -50px;
}

.hero-cloud-right {
    top: 40px;
    right: -60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Little leaf and sun beside the headline */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-deco-leaf {
    top: 128px;
    left: 2px;
    width: 40px;
    height: 40px;
}

.hero-deco-sun {
    top: 96px;
    right: 4px;
    width: 34px;
    height: 34px;
}

/* Location badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 14px 7px 11px;
    color: var(--hero-text);
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--hero-line);
    border-radius: 999px;
}

.hero-badge-dot {
    display: none;
}

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

/* "— WELCOME TO —" */
.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 6px;
    color: var(--hero-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    width: 16px;
    height: 1px;
    background: var(--hero-muted);
}

/* Headline: rounded font, "Chitwan" in brush script on its own line */
.hero-title {
    margin: 0;
    color: var(--hero-text);
    font-family: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.hero-title-accent {
    position: relative;
    display: block;
    width: fit-content;
    margin: 4px auto 0;
    padding: 0 6px;
    color: var(--hero-accent);
    font-family: "Kaushan Script", cursive;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
}

/* Swoosh under "Chitwan" */
.hero-underline {
    position: absolute;
    left: 6%;
    bottom: -6px;
    width: 96%;
    height: 12px;
    overflow: visible;
}

.hero-underline path {
    fill: none;
    stroke: var(--hero-accent-soft);
    stroke-width: 5;
    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: 330px;
    margin: 24px auto 0;
    color: var(--hero-body);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.65;
}

/* Two buttons side by side */
.hero-actions {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 50px;
    padding: 0 10px;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 999px;
}

.hero-btn-bubble {
    display: flex;
    align-items: center;
}

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

.hero-btn-end {
    width: 16px;
    height: 16px;
}

.hero-btn-main {
    color: #fff;
    background: var(--hero-accent);
    box-shadow: 0 8px 18px rgba(196, 85, 45, 0.28);
}

.hero-btn-main:active {
    background: var(--hero-accent-dark);
}

.hero-btn-soft {
    color: var(--hero-text);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid var(--hero-line);
}

.hero-btn-soft .hero-btn-bubble {
    color: var(--hero-text);
}

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

.hero-btn-soft:active {
    background: #fff;
}

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

/* 4 feature tiles */
.hero-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 4px 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--hero-line);
    border-radius: 16px;
}

.hero-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.hero-tile-icon svg {
    width: 21px;
    height: 21px;
}

.hero-tile-title {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin-top: 9px;
    color: var(--hero-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

/* Small coloured line under each tile title */
.hero-tile::after {
    content: "";
    width: 22px;
    height: 2px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--tile-color);
}

.hero-tile-green { --tile-color: #4f7a3a; }
.hero-tile-leaf  { --tile-color: #7a9a45; }
.hero-tile-peach { --tile-color: #c4552d; }
.hero-tile-blue  { --tile-color: #4a6b85; }

.hero-tile-green .hero-tile-icon { color: #4f7a3a; background: #e2ebd8; }
.hero-tile-leaf  .hero-tile-icon { color: #6f8f3b; background: #e9efd9; }
.hero-tile-peach .hero-tile-icon { color: #c4552d; background: #f8ddcd; }
.hero-tile-blue  .hero-tile-icon { color: #4a6b85; background: #dfe8ef; }

/* Sliding strip: computer only */
.hero-marquee {
    display: none;
}

/* Village picture along the bottom, edge to edge */
.hero-scene {
    display: block;
    width: calc(100% + 32px);
    margin: 8px -16px 0;
}

.hero-scene img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: 38% 96%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}

/* Animations */
@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    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;
    }
}

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

.hero-badge   { animation-delay: 0.2s; }
.hero-eyebrow { animation-delay: 0.35s; }
.hero-title   { animation-delay: 0.45s; }
.hero-text    { animation-delay: 0.65s; }
.hero-actions { animation-delay: 0.8s; }
.hero-tiles   { animation-delay: 0.95s; }

.hero-deco,
.hero-scene {
    animation: hero-fade 1.6s ease-out 0.6s backwards;
}

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