/* ==========================================================================
   Stayva — Luxury Boutique Hospitality Design System
   Modern, Sleek, State-of-the-Art Aesthetic
   ========================================================================== */

:root {
    --ink: #0b132b;
    --ink-dark: #050a18;
    --ink-muted: #1e293b;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --paper: #f8fafc;
    --card: #ffffff;
    --card-subtle: #fcfdfe;
    --line: #e2e8f0;
    --line-subtle: #f1f5f9;
    --blue: #0f766e;
    --blue-dark: #115e59;
    --blue-light: #f0fdfa;
    --teal-accent: #14b8a6;
    --gold: #d97706;
    --gold-light: #fffbeb;
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --teal-gradient: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    --coral: #e11d48;
    --good: #059669;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --display: "Fraunces", Georgia, serif;
    --heading: "Outfit", var(--sans);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--ink);
}

.wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 19, 43, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.brand:hover {
    opacity: 0.95;
}

.mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--gold-gradient);
    color: var(--ink-dark);
    display: grid;
    place-items: center;
    font-family: var(--heading);
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav a {
    position: relative;
    padding: 6px 0;
}

.nav a:hover {
    color: #ffffff;
}

.nav a:not(.login-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.nav a:hover::after {
    width: 100%;
}

.login-link {
    background: var(--gold-gradient);
    color: var(--ink-dark) !important;
    border-radius: var(--radius-full);
    padding: 9px 18px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.login-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38) !important;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    min-height: 40px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    cursor: pointer;
    background: var(--teal-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
    transition: var(--transition);
    user-select: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.38);
    filter: brightness(1.06);
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.site-header .btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.site-header .btn.secondary:hover {
    background: #ffffff;
    color: var(--ink);
}

.btn.gold {
    background: var(--gold-gradient);
    color: var(--ink-dark);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn.gold:hover {
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.42);
}

.btn.danger {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: white;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn.small {
    padding: 8px 14px;
    font-size: 0.84rem;
    border-radius: 10px;
}

.btn.full {
    width: 100%;
}

.search-btn, .pay-btn {
    min-width: 136px;
    min-height: 50px;
    background: var(--teal-gradient);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 56px 0 40px;
    color: #ffffff;
    overflow: hidden;
}

.hero-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(20, 184, 166, 0.22) 0%, transparent 45%),
        radial-gradient(ellipse at 15% 80%, rgba(245, 158, 11, 0.16) 0%, transparent 55%),
        linear-gradient(180deg, #0b132b 0%, #112042 55%, #182e56 80%, #f8fafc 100%);
    pointer-events: none;
}

.hero-sky::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -20px;
    height: 100px;
    background: var(--paper);
    border-radius: 50% 50% 0 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-top {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    gap: 32px;
    align-items: end;
}

.hero-copy {
    max-width: 720px;
}

.hero-note {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 22px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.hero-note strong {
    display: block;
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 600;
    margin: 6px 0;
    color: #ffffff;
}

.hero-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.eyebrow {
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.76rem;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin: 12px 0 14px;
    color: #ffffff;
}

.lede {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 48ch;
    margin: 0;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
}

.trust li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ccfbf1;
    color: var(--blue);
    font-weight: 800;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   SEARCH ISLAND / CARD
   -------------------------------------------------------------------------- */
.search-card {
    margin-top: 28px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.search-grid {
    display: grid;
    grid-template-columns: minmax(140px, 1.3fr) minmax(135px, 1.15fr) 140px 140px minmax(200px, 1.1fr) 130px;
    gap: 12px;
    align-items: end;
}

/* --------------------------------------------------------------------------
   STAY CATEGORY PILLS & TABS (Hotel, Homestay, Farmhouse, Resort)
   -------------------------------------------------------------------------- */
.category-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--ink);
}

.category-pill:hover, .category-pill.active {
    transform: translateY(-3px);
    border-color: var(--teal-accent);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.category-pill.active {
    border-color: var(--blue);
    background: #f0fdfa;
}

.category-pill .cat-icon {
    font-size: 1.9rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-subtle);
    flex-shrink: 0;
    transition: var(--transition);
}

.category-pill:hover .cat-icon {
    transform: scale(1.08);
}

.category-pill strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.category-pill small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Category Filter Tabs */
.stay-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 24px;
}

.stay-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--line);
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.stay-tab:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #f0fdfa;
}

.stay-tab.active {
    background: var(--teal-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
}

/* --------------------------------------------------------------------------
   CATEGORY CARDS SHOWCASE GRID
   -------------------------------------------------------------------------- */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--ink);
    position: relative;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.cat-card.highlight-glow:hover {
    border-color: #10b981;
    box-shadow: 0 20px 35px -8px rgba(16, 185, 129, 0.22);
}

.cat-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0b132b;
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-card-media img {
    transform: scale(1.08);
}

.cat-card-media .cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.cat-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cat-card-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.cat-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-light);
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, 0.2);
}

.cat-card-body p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 4px 0 16px;
    flex-grow: 1;
}

.cat-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue);
    transition: var(--transition);
}

.cat-card:hover .cat-action {
    color: var(--teal-accent);
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .category-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Property Type Badges */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.type-badge.type-hotel {
    background: rgba(224, 242, 254, 0.95);
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.type-badge.type-homestay {
    background: rgba(254, 243, 199, 0.95);
    color: #b45309;
    border: 1px solid #fcd34d;
}

.type-badge.type-farmhouse {
    background: rgba(236, 253, 245, 0.95);
    color: #15803d;
    border: 1px solid #86efac;
}

.type-badge.type-resort {
    background: rgba(240, 253, 250, 0.95);
    color: #0f766e;
    border: 1px solid #5eead4;
}

.type-badge.type-default {
    background: rgba(241, 245, 249, 0.95);
    color: #475569;
    border: 1px solid #cbd5e1;
}

label.field, .guests > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.guests {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.guest-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.guest-row label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

input, select, textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 11px 14px;
    outline: none;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--ink);
    min-height: 48px;
    font-size: 0.94rem;
    transition: var(--transition);
}

textarea {
    min-height: 108px;
    resize: vertical;
    font-weight: 500;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

/* --------------------------------------------------------------------------
   SECTIONS & GRIDS
   -------------------------------------------------------------------------- */
.section {
    padding: 42px 0;
}

.section.tight {
    padding-top: 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    letter-spacing: -0.03em;
}

.section-head p, .meta {
    margin: 4px 0 0;
    color: var(--muted);
}

.meta {
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #cbd5e1;
}

.stat strong {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 600;
    display: block;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat span {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 4px;
    display: block;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.promise {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.promise:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.promise strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.promise p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   CITY TILES, CARDS, & OFFERS
   -------------------------------------------------------------------------- */
.city-grid, .hotel-grid, .offer-grid {
    display: grid;
    gap: 20px;
}

.city-grid {
    grid-template-columns: repeat(4, 1fr);
}

.hotel-grid {
    grid-template-columns: repeat(3, 1fr);
}

.offer-grid {
    grid-template-columns: repeat(3, 1fr);
}

.city-tile, .offer {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border-radius: var(--radius);
    padding: 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.city-tile::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.city-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.city-tile span, .city-tile strong, .city-tile em, .city-tile b, .offer span, .offer strong, .offer em {
    position: relative;
    z-index: 2;
}

.city-tile b {
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
    margin-top: 6px;
}

.city-tile em {
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.4;
    opacity: 0.92;
    max-width: 28ch;
}

.city-tile strong, .offer strong {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
}

.city-tile:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.offer {
    background: linear-gradient(135deg, #0f766e, #0b132b);
}

.offer.coupon {
    background: linear-gradient(135deg, #b45309, #0b132b);
}

/* --------------------------------------------------------------------------
   HOTEL CARD
   -------------------------------------------------------------------------- */
.hotel-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.cover, .cover-img, .result-media img, .gallery .cover, .side-shots img {
    width: 100%;
    object-fit: cover;
}

.cover, .cover-img {
    height: 205px;
    transition: transform 0.4s ease;
}

.hotel-card:hover .cover-img {
    transform: scale(1.04);
}

.cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient(165deg, color-mix(in srgb, var(--cover, #0f766e) 80%, white), var(--cover, #0f766e) 40%, #0b132b);
}

.cover.art {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

.cover.art strong, .cover-kicker, .cover-price {
    position: relative;
    z-index: 2;
}

.cover.art strong {
    font-family: var(--display);
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 600;
}

.cover-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fde68a;
}

.cover-price {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: #ffffff;
    color: var(--ink);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.hotel-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.95rem;
}

.rating-pill, .score {
    background: var(--teal-gradient);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.rating-pill {
    padding: 3px 8px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.hotel-body h3 {
    font-size: 1.25rem;
    margin: 4px 0 2px;
    line-height: 1.3;
}

.blurb {
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-row {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line-subtle);
}

.price {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.price small {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.chip {
    background: #f1f5f9;
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 0.76rem;
    color: #334155;
    font-weight: 700;
}

.chip.good {
    background: #ecfdf5;
    color: var(--good);
    border: 1px solid #a7f3d0;
}

/* --------------------------------------------------------------------------
   SPOTLIGHT & STORY SECTIONS
   -------------------------------------------------------------------------- */
.spotlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.spotlight:hover {
    box-shadow: var(--shadow-hover);
}

.spotlight .cover {
    height: 100%;
    min-height: 400px;
    border-radius: 0;
}

.spotlight-copy {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
}

.spotlight-copy h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.spotlight-copy > p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.6;
}

.tick-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.tick-list li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-weight: 600;
    color: #334155;
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

.spotlight-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story {
    display: grid;
    grid-template-columns: 180px 1fr;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.story .cover {
    height: 100%;
    min-height: 190px;
    border-radius: 0;
}

.story-copy {
    padding: 20px 22px;
}

.story-copy h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.story-copy p {
    margin: 0 0 12px;
    color: #475569;
    font-size: 0.93rem;
}

.band {
    background: var(--ink);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    box-shadow: var(--shadow);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.steps article {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 18px;
}

.steps span {
    color: #fde68a;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.steps strong {
    display: block;
    margin: 8px 0 6px;
    font-size: 1.1rem;
    color: #ffffff;
}

.steps p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pad {
    padding: 22px;
}

.invite {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow);
}

.invite h2 {
    font-size: 1.8rem;
}

.invite p {
    margin: 6px 0 0;
    color: #475569;
    max-width: 60ch;
}

/* --------------------------------------------------------------------------
   RESULTS & FILTERS PAGE
   -------------------------------------------------------------------------- */
.results-hero {
    padding: 20px 0 0;
}

.results-hero .search-card {
    margin: 0 0 18px;
}

.layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 22px;
    align-items: start;
}

.filters {
    padding: 20px;
    position: sticky;
    top: 90px;
}

.filters summary {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.filter-body {
    margin-top: 16px;
}

.filters .field, .filters .check-list {
    margin-bottom: 16px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--ink);
}

.check-list strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.check-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 8px 0 16px;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.94rem;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.results-bar h1 {
    font-size: 1.85rem;
}

.results-bar p {
    margin: 2px 0 14px;
    color: var(--muted);
    font-weight: 600;
}

.result {
    display: grid;
    grid-template-columns: 260px 1fr 220px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.result:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.result-media {
    min-height: 200px;
    background: #e2e8f0;
    overflow: hidden;
}

.result-media img, .result-media .cover {
    height: 100%;
    min-height: 200px;
    transition: transform 0.4s ease;
}

.result:hover .result-media img {
    transform: scale(1.05);
}

.result-main {
    padding: 20px;
}

.result-main h2 {
    font-size: 1.5rem;
    margin: 4px 0 6px;
}

.result-main h2 a:hover {
    color: var(--blue);
}

.desc {
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.5;
}

.result-price {
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    text-align: right;
    border-left: 1px solid var(--line);
    background: #fafaf9;
}

.result-price .price {
    color: var(--ink);
    font-size: 1.85rem;
}

.result-price .btn {
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   HOTEL DETAIL / SHOW
   -------------------------------------------------------------------------- */
.crumb {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 14px;
}

.crumb a {
    color: var(--blue);
}

.property-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.property-head h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.gallery {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;
}

.gallery .cover {
    min-height: 380px;
    height: 380px;
    border-radius: var(--radius);
}

.gallery-hero strong {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    max-width: 14ch;
}

.side-shots {
    display: grid;
    gap: 12px;
}

.side-shots img, .side-shots .cover {
    height: 184px;
    min-height: 184px;
    border-radius: var(--radius);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    margin-top: 22px;
}

.room-card {
    padding: 22px;
    margin: 16px 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.plan {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.plan-price {
    text-align: right;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.summary {
    padding: 22px;
    position: sticky;
    top: 90px;
}

.summary dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    margin: 16px 0;
}

.summary dt {
    color: var(--muted);
    font-weight: 600;
}

.summary dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.total {
    font-family: var(--display);
    font-size: 1.55rem;
    color: var(--ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   AUTH & FORMS
   -------------------------------------------------------------------------- */
.auth-card {
    width: min(480px, 100%);
    margin: 40px auto;
    padding: 32px 36px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flash {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash.ok {
    background: #ecfdf5;
    color: var(--good);
    border: 1px solid #a7f3d0;
}

.flash.bad {
    background: #fff1f2;
    color: var(--coral);
    border: 1px solid #fecdd3;
}

/* --------------------------------------------------------------------------
   ACCOUNT / DASHBOARD
   -------------------------------------------------------------------------- */
.account-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: start;
    margin: 24px 0;
}

.account-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: sticky;
    top: 90px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    gap: 4px;
}

.account-nav a {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: #475569;
    transition: var(--transition);
}

.account-nav a.on, .account-nav a:hover {
    background: #f0fdfa;
    color: var(--blue);
}

.trip-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 22px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trip-card:hover {
    box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 56px;
    padding: 48px 0 54px;
    color: #94a3b8;
    background: #080d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
    color: #e2e8f0;
}

.site-footer a:hover {
    color: #fde68a;
}

.site-footer strong {
    color: #ffffff;
    display: block;
    font-size: 0.98rem;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.site-footer p {
    margin: 6px 0;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
}

.footer-grid .brand {
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .search-grid, .promise-grid, .hotel-grid, .offer-grid, .layout, .detail-grid,
    .result, .footer-grid, .gallery, .property-head, .account-shell, .hero-top,
    .spotlight, .story, .story-grid, .split, .steps {
        grid-template-columns: 1fr;
    }
    .stat-row {
        grid-template-columns: 1fr 1fr;
    }
    .spotlight .cover, .story .cover {
        min-height: 220px;
        height: 220px;
    }
    .spotlight-foot, .invite {
        flex-direction: column;
        align-items: flex-start;
    }
    .city-grid {
        grid-template-columns: 1fr 1fr;
    }
    .account-nav {
        position: static;
        flex-direction: row;
        overflow: auto;
        gap: 6px;
    }
    .account-nav a {
        white-space: nowrap;
    }
    .trip-card, .trip-side {
        flex-direction: column;
        align-items: flex-start;
    }
    .result {
        grid-template-columns: 1fr;
    }
    .result-price {
        align-items: stretch;
        text-align: left;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .result-price .btn, .plan-price .btn, .search-btn {
        width: 100%;
    }
    .plan {
        grid-template-columns: 1fr;
    }
    .plan-price {
        align-items: flex-start;
        text-align: left;
    }
    .layout {
        display: flex;
        flex-direction: column;
    }
    .results-col {
        order: -1;
    }
    .filters, .summary {
        position: static;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        z-index: 40;
        background: #0b132b;
        padding: 14px 20px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    }
    .nav a, .nav .login-link, .nav form, .nav button {
        width: 100%;
    }
    .nav a, .nav .login-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    body.nav-open .nav {
        display: flex;
    }
    .gallery .cover, .side-shots img, .side-shots .cover {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(1200px, calc(100% - 24px));
    }
    .hero {
        padding: 36px 0 24px;
    }
    .search-card {
        padding: 14px;
    }
    .guest-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .city-tile {
        min-height: 140px;
    }
    .cover, .cover-img, .result-media .cover, .result-media img {
        min-height: 180px;
        height: 180px;
    }
}

@media print {
    .site-header, .site-footer, .no-print {
        display: none !important;
    }
    body {
        background: white;
    }
}
