*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99,102,241,0.25);
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg: #fafbff;
    --surface: #ffffff;
    --surface-glass: rgba(255,255,255,0.72);
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(148,163,184,0.2);
    --success: #10b981;
    --danger: #f43f5e;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 64px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 500;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.95);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 8px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 32px;
}
.nav-link {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.nav-link:hover { color: var(--primary); background: #eef2ff; }
.nav-link.active { color: var(--primary); font-weight: 600; }
.navbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-nav-login:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav-register {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-nav-register:hover { background: var(--primary-dark); }

/* Nav User Menu (logged in) */
.nav-user-menu { position: relative; }
.btn-nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}
.btn-nav-user:hover { border-color: var(--primary-light); }
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    animation: dropdownIn 0.2s ease;
}
.user-dropdown.show { display: block; }
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}
.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.dropdown-name { font-weight: 600; font-size: 0.9rem; }
.dropdown-email { font-size: 0.78rem; color: var(--text-muted); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
}
.dropdown-item:hover { background: #f1f5f9; }
.dropdown-item.text-danger { color: var(--danger); }
.dropdown-item.text-danger:hover { background: #fef2f2; }

/* Hamburger & Mobile Menu */
.navbar-hamburger {
    display: none;
    border: none;
    background: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 24px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.mobile-menu.show { display: flex; }
.mobile-link {
    text-decoration: none;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--primary); }
.mobile-menu-divider { height: 8px; }
.btn-mobile-login {
    padding: 10px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: 8px;
}
.btn-mobile-register {
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar-links, .navbar-actions { display: none; }
    .navbar-hamburger { display: flex; }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0f172a;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1470004914212-05527e49370b?w=1600&q=80') center/cover;
    filter: brightness(0.45);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.3) 0%, rgba(15,23,42,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px 60px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--accent-light), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
}
.hero-stat {
    text-align: center;
}
.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}
.hero-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 500px) {
    .hero-stats { gap: 16px; padding: 12px 20px; }
    .hero-stat strong { font-size: 1.2rem; }
}

/* ========== STICKY STEPPER ========== */
.stepper-wrap {
    position: sticky;
    top: var(--navbar-height);
    z-index: 200;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.stepper-wrap.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 20px;
    gap: 0;
}
.stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.stepper-step:hover { color: var(--primary); }
.stepper-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
    border: 2px solid var(--border);
    transition: all var(--transition);
    flex-shrink: 0;
}
.stepper-step.active .stepper-num {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.stepper-step.active { color: var(--primary); font-weight: 600; }
.stepper-step.done .stepper-num {
    background: var(--success);
    border-color: var(--success);
    color: white;
}
.stepper-line {
    width: 32px;
    height: 2px;
    background: var(--border);
    flex-shrink: 0;
    transition: background var(--transition);
}
.stepper-line.done { background: var(--success); }

@media (max-width: 700px) {
    .stepper-step span.stepper-label { display: none; }
    .stepper-step { padding: 8px 10px; }
    .stepper-line { width: 20px; }
}

/* ========== CONTAINER / SECTIONS ========== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.section { display: none; }
.section.active { display: block; }

.section-head {
    margin-bottom: 32px;
}
.section-head h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}
.section-head p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== PACKAGE CARDS ========== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}
.package-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--surface);
    border: 1px solid var(--border);
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.package-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-lg);
}
.package-card .check-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(99,102,241,0.4);
}
.package-card.selected .check-badge { display: flex; }
.package-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.package-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.package-card:hover .package-img-wrap img { transform: scale(1.08); }
.package-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.package-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--accent);
    color: #1a1a1a;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
}
.package-body {
    padding: 20px;
}
.package-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.package-body .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}
.package-spots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.package-spots .chip {
    padding: 4px 12px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.73rem;
    font-weight: 600;
}
.package-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.package-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}
.package-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ========== DIVIDER ========== */
.or-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0;
}
.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}
.or-divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== SPOTS ========== */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.filter-chip {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-family: inherit;
}
.filter-chip:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.spot-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--surface);
    border: 1.5px solid var(--border);
}
.spot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.spot-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.spot-card .spot-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    transition: all var(--transition);
}
.spot-card.selected .spot-check {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(99,102,241,0.5);
}
.spot-img-wrap {
    height: 140px;
    overflow: hidden;
    position: relative;
}
.spot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.spot-card:hover .spot-img-wrap img { transform: scale(1.1); }
.spot-info {
    padding: 14px 16px;
}
.spot-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.spot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.spot-tag {
    padding: 3px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}
.spot-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========== SORT LIST ========== */
.sort-container {
    max-width: 680px;
}
.sort-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sort-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.sort-item:hover { box-shadow: var(--shadow); }
.sort-item.sortable-ghost {
    opacity: 0.4;
    border-color: var(--primary);
    border-style: dashed;
}
.sort-item.sortable-chosen {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: #fafafe;
}
.sort-handle {
    cursor: grab;
    color: var(--text-muted);
    display: flex;
    padding: 4px;
    transition: color var(--transition);
}
.sort-handle:hover { color: var(--text-secondary); }
.sort-handle:active { cursor: grabbing; }
.sort-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}
.sort-spot-info {
    flex: 1;
}
.sort-spot-info .name {
    font-weight: 600;
    font-size: 0.95rem;
}
.sort-spot-info .sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.sort-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.sort-remove:hover {
    background: #fee2e2;
    color: var(--danger);
}
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}
.empty-state i { margin-bottom: 12px; opacity: 0.4; }
.empty-state p { font-size: 0.9rem; }

/* ========== OPTIONS ========== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}
.option-group {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
}
.option-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.option-group-title .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}
.icon-meal { background: #fef3c7; color: #d97706; }
.icon-transport { background: #dbeafe; color: #2563eb; }
.icon-people { background: #ede9fe; color: #7c3aed; }

.option-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all var(--transition);
}
.option-item:last-child { margin-bottom: 0; }
.option-item:hover { border-color: var(--primary-light); background: #fafaff; }
.option-item.selected {
    border-color: var(--primary);
    background: #eef2ff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.option-item.selected .option-radio {
    border-color: var(--primary);
    background: var(--primary);
}
.option-item.selected .option-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}
.option-label { flex: 1; }
.option-label strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}
.option-label span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.option-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.88rem;
    white-space: nowrap;
}

/* People counter */
.people-counter {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}
.counter-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text);
    font-family: inherit;
}
.counter-btn:hover {
    border-color: var(--primary);
    background: #eef2ff;
    color: var(--primary);
}
.counter-num {
    font-size: 2rem;
    font-weight: 800;
    min-width: 48px;
    text-align: center;
    color: var(--text);
}
.counter-label { color: var(--text-muted); font-size: 0.9rem; }

/* ========== SUMMARY ========== */
.summary-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.summary-header {
    background: linear-gradient(135deg, #312e81, var(--primary), var(--primary-light));
    color: white;
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
}
.summary-header::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    border-radius: 50%;
}
.summary-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}
.summary-header .sub {
    font-size: 0.88rem;
    opacity: 0.8;
    position: relative;
}
.summary-body { padding: 28px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 16px;
}
.summary-row .value {
    font-weight: 600;
    text-align: right;
}
.summary-route {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}
.summary-route .route-chip {
    padding: 4px 12px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}
.summary-route .route-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: #f8fafc;
    border-top: 2px solid var(--border);
}
.summary-total .total-label { font-size: 1rem; font-weight: 600; }
.summary-total .total-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */
.btn-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 40px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 22px rgba(99,102,241,0.4);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary-light); color: var(--primary); }
.btn-success {
    background: linear-gradient(135deg, #059669, var(--success));
    color: white;
    font-size: 1rem;
    padding: 14px 36px;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-success:hover {
    box-shadow: 0 6px 22px rgba(16,185,129,0.4);
    transform: translateY(-1px);
}
.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 50px;
    transition: background var(--transition);
    font-family: inherit;
}
.btn-link:hover { background: #eef2ff; }

/* ========== MODAL (success) ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: white;
    border-radius: var(--radius);
    max-width: 460px;
    width: 100%;
    text-align: center;
    padding: 52px 40px;
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
}
@keyframes modalIn {
    from { transform: scale(0.85) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #059669;
}
.modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.modal p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ========== AUTH MODAL ========== */
.auth-modal {
    background: white;
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    padding: 40px;
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.auth-modal::-webkit-scrollbar {
    display: none;
}
.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.auth-close:hover { background: #e2e8f0; color: var(--text); }
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.auth-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Form elements */
.form-group {
    margin-bottom: 16px;
    flex: 1;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }
.form-row {
    display: flex;
    gap: 12px;
}
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.input-icon-wrap input {
    padding-left: 40px;
}
.form-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}
.form-link {
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}
.form-link:hover { text-decoration: underline; }
.auth-submit {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.95rem;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.auth-social-row {
    display: flex;
    gap: 12px;
}
.auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--surface);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.auth-social-btn:hover { border-color: var(--primary-light); background: #fafaff; }
.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}
.auth-switch a:hover { text-decoration: underline; }

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(180deg, var(--bg) 0%, #eef2ff 100%);
    padding: 80px 24px;
    border-top: 1px solid var(--border);
}
.contact-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-phone { background: #dcfce7; color: #16a34a; }
.icon-email { background: #dbeafe; color: #2563eb; }
.icon-location { background: #fef3c7; color: #d97706; }
.icon-clock { background: #ede9fe; color: #7c3aed; }
.contact-info-item strong {
    font-size: 0.92rem;
    display: block;
    margin-bottom: 2px;
}
.contact-info-item p {
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 2px;
}
.contact-info-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.contact-social {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-social > span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.social-links {
    display: flex;
    gap: 8px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}
.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eef2ff;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .form-row { flex-direction: column; gap: 0; }
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 0;
}
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 60px 24px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.footer-brand > p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}
.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-badge {
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
}
.footer-links-group h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links-group a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color var(--transition);
}
.footer-links-group a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ========== NEWS WIDGET ========== */
.news-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 400;
}
.news-widget-panel {
    width: 360px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--border);
    overflow: hidden;
    animation: newsSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes newsSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.news-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}
.news-widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}
.news-badge-count {
    background: var(--accent);
    color: #1a1a1a;
    padding: 1px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}
.news-widget-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.news-widget-close:hover { background: rgba(255,255,255,0.3); }
.news-widget-body {
    max-height: 320px;
    overflow-y: auto;
}
.news-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    cursor: pointer;
}
.news-item:hover { background: #f8fafc; }
.news-item:last-child { border-bottom: none; }
.news-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.news-item-icon.promo { background: #fef3c7; color: #d97706; }
.news-item-icon.info { background: #dbeafe; color: #2563eb; }
.news-item-icon.new { background: #dcfce7; color: #16a34a; }
.news-item-icon.alert { background: #fee2e2; color: #dc2626; }
.news-item-content { flex: 1; min-width: 0; }
.news-item-content strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.4;
}
.news-item-content p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.news-widget-footer {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}
.news-view-all {
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.news-view-all:hover { text-decoration: underline; }

/* News FAB button */
.news-widget-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    transition: all var(--transition);
    position: relative;
    margin-left: auto;
}
.news-widget-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(99,102,241,0.5);
}
.news-fab-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--danger);
    border: 2px solid white;
    animation: fabPulse 2s infinite;
}
@keyframes fabPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@media (max-width: 500px) {
    .news-widget { right: 12px; bottom: 12px; }
    .news-widget-panel { width: calc(100vw - 24px); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-content { padding: 60px 20px 48px; }
    .container { padding: 28px 16px 48px; }
    .packages-grid { grid-template-columns: 1fr; }
    .spots-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
    .spot-img-wrap { height: 110px; }
    .options-grid { grid-template-columns: 1fr; }
    .btn-row { flex-direction: column-reverse; }
    .btn-row .btn { width: 100%; justify-content: center; }
    .summary-route { justify-content: flex-start; }
}

/* ========== TOAST NOTIFICATION ========== */
.toast-container {
    position: fixed;
    top: calc(var(--navbar-height) + 16px);
    right: 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: toastIn 0.4s ease;
    min-width: 280px;
    max-width: 400px;
}
.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast.toast-info { border-left: 4px solid var(--primary); }
.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.toast-success .toast-icon { background: #dcfce7; color: #16a34a; }
.toast-error .toast-icon { background: #fee2e2; color: #dc2626; }
.toast-info .toast-icon { background: #dbeafe; color: #2563eb; }
.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: 0.88rem; }
.toast-body p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.5s ease forwards;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
