:root {
    --bg: #f8f5ef;
    --paper: #ffffff;
    --ink: #222;
    --muted: #5c5c5c;
    --brand: #7a0c0c;
    /* temple maroon */
    --brand-2: #8b0000;
    --gold: #d4af37;
    /* MyPoojaBooking-ish gold */
    --gold-2: #f3d57a;
    --shadow: 0 14px 35px rgba(0, 0, 0, .08);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, .06);
    --radius: 16px;
    --radius-sm: 12px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 25% -5%, rgba(212, 175, 55, .14), transparent 55%),
        radial-gradient(900px 450px at 90% 15%, rgba(122, 12, 12, .10), transparent 55%),
        var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Topbar + Navbar ---------- */
.topbar {
    background: linear-gradient(90deg, rgba(122, 12, 12, 1), rgba(139, 0, 0, 1));
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
}

.topbar .wrap {
    max-width: var(--max);
    margin: auto;
    padding: 8px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.topbar .left,
.topbar .right {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    white-space: nowrap;
}

.pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
    flex: 0 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 245, 239, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav .wrap {
    max-width: var(--max);
    margin: auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    text-decoration: none;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .22), transparent 40%),
        linear-gradient(135deg, var(--brand), #4f0707);
    box-shadow: 0 10px 22px rgba(122, 12, 12, .22);
    position: relative;
}

.logo:after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, .55);
    background: linear-gradient(180deg, rgba(212, 175, 55, .15), transparent);
}

.brand .t1 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: .2px;
    font-size: 18px;
    line-height: 1.15;
    color: var(--brand);
    margin: 0;
}

.brand .t2 {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    margin-top: 2px;
}

.navlinks {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.navlinks a {
    text-decoration: none;
    font-weight: 500;
    color: rgba(34, 34, 34, .85);
    padding: 8px 10px;
    border-radius: 10px;
}

.navlinks a:hover {
    background: rgba(122, 12, 12, .06);
    color: var(--brand);
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
}

.btn:active {
    transform: translateY(0);
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    border: 1px solid rgba(122, 12, 12, .20);
    color: #151515;
    box-shadow: 0 18px 32px rgba(212, 175, 55, .20);
}

.btn-gold:hover {
    box-shadow: 0 22px 40px rgba(212, 175, 55, .22);
}

.btn-ghost {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(122, 12, 12, .20);
    color: var(--brand);
}

.btn-ghost:hover {
    background: rgba(122, 12, 12, .06);
    box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.hero-inner {
    max-width: var(--max);
    margin: auto;
    padding: 34px 18px 0;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: stretch;
}

.hero-card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-card .media {
    height: 340px;
    position: relative;
    background: #000;
}

.hero-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55) saturate(1.05);
    transform: scale(1.03);
}

.hero-card .media:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 20% 0%, rgba(212, 175, 55, .18), transparent 55%),
        linear-gradient(90deg, rgba(122, 12, 12, .35), rgba(0, 0, 0, .15));
}

.hero-card .content {
    padding: 22px 22px 20px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
    background: rgba(122, 12, 12, .70);
    border: 1px solid rgba(212, 175, 55, .40);
    padding: 8px 12px;
    border-radius: 999px;
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.kicker .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.08;
    margin: 0 0 10px;
    color: #1f1a1a;
}

.hero-sub {
    margin: 0;
    color: rgba(0, 0, 0, .62);
    font-size: 15px;
}

.hero-sub strong {
    color: rgba(0, 0, 0, .78);
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glass {
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px;
}

.glass h3 {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: rgba(122, 12, 12, .92);
}

.kv {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
}

.kv .row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(122, 12, 12, .04);
    border: 1px solid rgba(122, 12, 12, .08);
}

.kv .row span:first-child {
    color: rgba(0, 0, 0, .65);
    font-weight: 500;
}

.kv .row span:last-child {
    color: rgba(0, 0, 0, .88);
    font-weight: 600;
    text-align: right;
}

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    border: 1px dashed rgba(122, 12, 12, .25);
    background: linear-gradient(180deg, rgba(212, 175, 55, .12), rgba(255, 255, 255, .55));
}

.notice .badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(122, 12, 12, .10);
    border: 1px solid rgba(122, 12, 12, .14);
    color: var(--brand);
    font-weight: 800;
    flex: 0 0 auto;
}

.notice p {
    margin: 0;
    color: rgba(0, 0, 0, .72);
    font-size: 13.5px;
}

/* ---------- Sections ---------- */
.container {
    max-width: var(--max);
    margin: auto;
    padding: 0 18px;
}

.section {
    padding: 54px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    font-family: "Playfair Display", serif;
    margin: 0;
    font-size: 30px;
    color: var(--brand-2);
    letter-spacing: .2px;
}

.section-subtitle {
    margin: 0 0 2px;
    color: rgba(0, 0, 0, .58);
    font-size: 14px;
    max-width: 680px;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(122, 12, 12, .18), rgba(212, 175, 55, .25), rgba(122, 12, 12, .18), transparent);
    margin-top: 14px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: rgba(122, 12, 12, .92);
    letter-spacing: .2px;
}

.card p {
    margin: 0 0 10px;
    color: rgba(0, 0, 0, .70);
}

.card p:last-child {
    margin-bottom: 0;
}

.list {
    margin: 0;
    padding-left: 18px;
    color: rgba(0, 0, 0, .72);
}

.list li {
    margin: 8px 0;
}

/* ---------- Celebrations / Highlight ---------- */
.highlight {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(122, 12, 12, .90), rgba(75, 8, 8, .92));
    color: rgba(255, 255, 255, .94);
    position: relative;
}

.highlight:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 400px at 10% 0%, rgba(212, 175, 55, .25), transparent 60%),
        radial-gradient(700px 420px at 90% 20%, rgba(255, 255, 255, .10), transparent 55%);
    pointer-events: none;
}

.highlight .inner {
    position: relative;
    padding: 26px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
}

.highlight h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    letter-spacing: .2px;
    color: #fff;
}

.highlight p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .88);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.poster {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .35);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .25);
    background: rgba(255, 255, 255, .06);
    min-height: 240px;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

/* ---------- Festival Table ---------- */
.table-tools {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: var(--shadow-soft);
}

.search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: rgba(0, 0, 0, .80);
}

.search small {
    color: rgba(0, 0, 0, .55);
}

.table-wrap {
    margin-top: 14px;
    overflow: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, .85);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #fff;
    padding: 12px 12px;
    text-align: left;
    font-size: 13px;
    letter-spacing: .3px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .75);
    font-size: 13.5px;
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background: rgba(122, 12, 12, .03);
}

tbody tr:hover {
    background: rgba(212, 175, 55, .12);
}

.muted {
    color: rgba(0, 0, 0, .55);
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.g-item {
    grid-column: span 4;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, .65);
    position: relative;
    min-height: 240px;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.g-item:hover img {
    transform: scale(1.04);
}

.g-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .22));
    pointer-events: none;
}

/* ---------- Location ---------- */
.map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, .75);
}

iframe {
    border: 0;
    width: 100%;
    height: 360px;
    display: block;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 34px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: rgba(255, 255, 255, .92);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer .wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer a {
    color: var(--gold-2);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer small {
    color: rgba(255, 255, 255, .78);
}

/* ---------- Floating contacts ---------- */
.float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float a {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 20px;
}

.float a.call {
    background: rgba(0, 119, 182, .92);
}

.float a.email {
    background: rgba(230, 57, 70, .92);
}

.float a.whatsapp {
    background: rgba(37, 211, 102, .92);
}

/* ---------- Responsive ---------- */
/* ---------- Mobile fixes (v2) ---------- */
@media (max-width: 520px) {

    /* Topbar */
    .topbar .wrap {
        padding: 10px 12px;
        gap: 10px;
    }

    .topbar .left,
    .topbar .right {
        width: 100%;
        justify-content: flex-start;
    }

    .topbar .pill {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 10px;
    }

    /* Navbar: keep CTAs in one row, reduce widths */
    .nav .wrap {
        padding: 10px 12px;
        gap: 10px;
    }

    .brand {
        gap: 10px;
    }

    .brand .t1 {
        font-size: 15px;
    }

    .brand .t2 {
        font-size: 11px;
    }

    .logo {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .logo:after {
        inset: 9px;
        border-radius: 9px;
    }

    .nav-cta {
        gap: 8px;
    }

    .nav-cta .btn {
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 12.5px;
    }

    .nav-cta .btn-ghost {
        display: none;
    }

    /* avoid crowding; still in mobile menu */
    .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    /* Hero: remove extra spacing, make media shorter, tighten buttons */
    .hero-inner {
        padding: 18px 12px 0;
        gap: 14px;
    }

    .hero-card .media {
        height: 220px;
    }

    .kicker {
        left: 12px;
        top: 12px;
        font-size: 12px;
        padding: 7px 10px;
        max-width: calc(100% - 24px);
    }

    .hero-card .content {
        padding: 16px 16px 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 13.5px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 140px;
        justify-content: center;
    }

    /* Aside cards under hero */
    .aside {
        gap: 12px;
    }

    .glass {
        padding: 14px;
        border-radius: 16px;
    }

    .kv .row {
        padding: 10px 10px;
        border-radius: 12px;
    }

    .kv .row span:last-child {
        font-size: 13px;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .card {
        padding: 16px;
        border-radius: 16px;
    }

    /* Highlight */
    .highlight .inner {
        padding: 16px;
    }

    .poster {
        min-height: 200px;
        border-radius: 14px;
    }

    /* Calendar tools */
    .table-tools {
        gap: 10px;
    }

    .search {
        padding: 10px 10px;
        border-radius: 14px;
    }

    .table-wrap {
        border-radius: 16px;
    }

    /* Floating buttons: prevent overlap with scrollbars / UI */
    .float {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }

    .float a {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 18px;
    }
}

/* Small phones: make hero actions stack nicely */
@media (max-width: 380px) {
    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .nav-cta .btn-gold {
        padding: 10px 10px;
    }
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(122, 12, 12, .20);
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(122, 12, 12, .92);
    margin: 5px auto;
    border-radius: 99px;
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .glass {
        flex: 1 1 280px;
    }

    .highlight .inner {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 760px;
    }
}

@media (max-width: 820px) {
    .navlinks {
        display: none;
    }

    .hamburger {
        display: inline-block;
    }

    .nav .wrap {
        padding: 12px 14px;
    }

    .brand {
        min-width: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .g-item {
        grid-column: span 6;
    }
}

@media (max-width: 520px) {
    .hero-card .media {
        height: 280px;
    }

    .hero-title {
        font-size: 30px;
    }

    .g-item {
        grid-column: span 12;
    }

    .float {
        right: 12px;
        bottom: 12px;
    }

    .float a {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }
}

/* ---------- Mobile menu panel ---------- */
.panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px;
}

.panel.open {
    display: block;
}

.panel .sheet {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
    padding: 16px;
    max-width: 520px;
    margin: 14px auto 0;
}

.panel .sheet a {
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: rgba(0, 0, 0, .78);
}

.panel .sheet a:hover {
    background: rgba(122, 12, 12, .06);
    color: var(--brand);
}

.panel .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 4px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    margin-bottom: 10px;
}

.x {
    border: 0;
    background: rgba(122, 12, 12, .08);
    color: var(--brand);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

/* ---------- Print ---------- */
@media print {

    .topbar,
    .nav,
    .float,
    .panel {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .hero-card,
    .glass,
    .card,
    .table-wrap,
    .map,
    .highlight {
        box-shadow: none !important;
    }

    table {
        min-width: auto !important;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ===== Mobile Overrides (FINAL) ===== */
@media (max-width: 520px) {

    /* Topbar should stack cleanly */
    .topbar .wrap {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .topbar .left,
    .topbar .right {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .topbar .pill {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 10px;
        white-space: normal;
        /* IMPORTANT: allow wrap */
        line-height: 1.25;
    }

    /* Navbar: prevent crowding */
    .nav .wrap {
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand {
        flex: 1 1 100%;
        min-width: 0;
    }

    .brand .t1 {
        font-size: 15px;
    }

    .brand .t2 {
        font-size: 11px;
    }

    .nav-cta {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-cta .btn {
        padding: 10px 12px;
        font-size: 12.5px;
        border-radius: 12px;
    }

    .nav-cta .btn-ghost {
        display: none;
    }

    /* keep it only in hamburger menu */

    .btn-gold {
        flex: 1 1 auto;
        /* let Book button grow */
    }

    .hamburger {
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    /* Hero spacing */
    .hero-inner {
        padding: 18px 12px 0;
        gap: 14px;
    }

    .hero-card .media {
        height: 220px;
    }

    /* force final height */
    .kicker {
        left: 12px;
        top: 12px;
        max-width: calc(100% - 24px);
        white-space: normal;
        font-size: 12px;
        padding: 7px 10px;
    }

    .hero-card .content {
        padding: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 13.5px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 45%;
    }
}

/* Smaller phones */
@media (max-width: 380px) {
    .hero-actions .btn {
        flex: 1 1 100%;
    }
}