/* ============================================================
   TourGaide Design System
   ============================================================ */
:root {
    --primary: #0891b2;
    --primary-dark: #1e3a5f;
    --primary-light: #22d3ee;
    --primary-50: #ecfeff;
    --primary-100: #cffafe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    --navy: #1e3a5f;
    --navy-light: #334155;
    --bg: #dce8f2;
    --bg-alt: #eef4f9;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --border: #b8c9d8;
    --border-light: #d0dde8;
    --shadow-sm: 0 1px 3px rgb(15 23 42 / 0.06);
    --shadow: 0 4px 20px rgb(15 23 42 / 0.08);
    --shadow-lg: 0 20px 50px rgb(15 23 42 / 0.12);
    --shadow-glow: 0 8px 30px rgb(8 145 178 / 0.2);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Vazirmatn', system-ui, sans-serif;
    --sidebar-width: 340px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.35; color: var(--text); }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgb(8 145 178 / 0.3);
    color: #fff;
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgb(245 158 11 / 0.35);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white {
    background: rgb(255 255 255 / 0.12);
    border-color: rgb(255 255 255 / 0.5);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-outline-white:hover { background: #fff; color: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Navbar ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0.75rem 0;
    background: rgb(255 255 255 / 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgb(15 23 42 / 0.04);
}
.navbar-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 56px;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
}
.logo:hover { opacity: 0.92; transform: translateY(-1px); }
.logo-img {
    height: 46px;
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}
.logo--sidebar .logo-img { height: 42px; border-radius: 6px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin-inline-start: auto;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-links a:not(.nav-auth-link):hover {
    color: var(--primary);
    background: var(--primary-50);
}
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.3rem 0.35rem 0.3rem 0.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.nav-auth-link {
    padding: 0.45rem 0.75rem !important;
    color: var(--text) !important;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}
.nav-auth-link:hover {
    color: var(--primary) !important;
    background: var(--primary-50);
}
.nav-auth-sep {
    color: var(--border);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1;
    user-select: none;
    padding: 0 0.1rem;
}
.nav-user-name {
    padding: 0.45rem 0.75rem;
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
}
a.nav-user-name {
    text-decoration: none;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
a.nav-user-name:hover {
    color: var(--primary);
    background: var(--primary-50);
}
.nav-auth-register {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 10px rgb(8 145 178 / 0.3);
}
.nav-auth-register:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #0e7490 0%, #1e3a5f 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgb(8 145 178 / 0.35);
}
.nav-auth-logout {
    color: var(--text-muted) !important;
}
.nav-auth-logout:hover {
    color: #ef4444 !important;
    background: #fef2f2 !important;
}
.logout-form {
    display: contents;
    margin: 0;
}
.logout-form button {
    font: inherit;
    cursor: pointer;
}
.sidebar-logout-form {
    display: block;
    width: 100%;
    margin: 0;
}
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: start;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: inherit;
    border-radius: var(--radius);
}
.sidebar-logout-btn:hover {
    background: #fef2f2;
    color: #ef4444 !important;
}
.nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--navy);
    transition: background var(--transition);
}
.nav-toggle:hover { background: var(--primary-50); }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 6rem 0 7rem;
    background: linear-gradient(145deg, #1e3a5f 0%, #2563eb 40%, #1e40af 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 100%, rgb(245 158 11 / 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgb(34 211 238 / 0.2), transparent);
}
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.04);
    animation: float 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 400px; height: 400px; top: -100px; left: -100px; }
.hero-shape:nth-child(2) { width: 250px; height: 250px; bottom: -50px; right: 10%; animation-delay: -3s; }
.hero-shape:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 20%; animation-delay: -5s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-grid--centered {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero-card {
    width: 100%;
    padding: 3rem 2.5rem;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 40px rgb(0 0 0 / 0.2),
        inset 0 1px 0 rgb(255 255 255 / 0.1);
    text-align: center;
}
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgb(34 211 238 / 0.1), transparent 60%);
    pointer-events: none;
}
.hero-card { position: relative; overflow: hidden; }
.hero-grid--centered .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-content h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.88;
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.9;
}
.hero-grid--centered .hero-content p { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-grid--centered .hero-actions { justify-content: center; }
.hero-grid--centered .hero-stats { justify-content: center; }
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 0.15);
}
.hero-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent-light);
}
.hero-stat span { font-size: 0.85rem; opacity: 0.75; }
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 380px;
}
.hero-preview-card {
    background: rgb(255 255 255 / 0.95);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    animation: cardFloat 6s ease-in-out infinite;
}
.hero-preview-card:nth-child(2) {
    position: absolute;
    top: 30px;
    right: -30px;
    width: 85%;
    opacity: 0.7;
    z-index: -1;
    animation-delay: -2s;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-preview-card .thumb {
    height: 140px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #67e8f9, #0891b2);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.hero-preview-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.hero-preview-card .meta { font-size: 0.8rem; color: var(--text-muted); }
.hero-preview-card .price { color: var(--primary); font-weight: 800; margin-top: 0.5rem; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ---- Tour Card ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.tour-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}
.tour-card-image {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #a5f3fc, #0891b2);
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-image img { transform: scale(1.08); }
.tour-card-image .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3.5rem;
    opacity: 0.6;
}
.tour-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgb(255 255 255 / 0.95);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    backdrop-filter: blur(4px);
}
.tour-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tour-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.tour-card:hover h3 { color: var(--primary); }
.tour-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: auto;
}
.tour-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--bg);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
}
.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.tour-card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}
.tour-card-price span { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.tour-card-leader {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.tour-card-leader .mini-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ---- Leader Card ---- */
.leader-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}
.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}
.leader-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgb(8 145 178 / 0.3);
    border: 3px solid #fff;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.leader-card .slug {
    color: var(--text-muted);
    font-size: 0.8rem;
    direction: ltr;
    background: var(--bg);
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}
.leader-card .tour-count {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

/* ---- Feature Cards ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgb(8 145 178 / 0.3), transparent 60%);
}
.cta-banner .container-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1.05rem; }

/* ---- Landing Page ---- */
.landing-hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    overflow: hidden;
}
.landing-hero--slideshow {
    background: #0f172a;
    color: #fff;
}
.landing-hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.landing-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}
.landing-hero-slide.is-active {
    opacity: 1;
}
.landing-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}
.landing-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(15 23 42 / 0.55) 0%, rgb(15 23 42 / 0.72) 45%, rgb(15 23 42 / 0.82) 100%),
        linear-gradient(90deg, rgb(15 23 42 / 0.35), transparent 55%);
    pointer-events: none;
}
.landing-hero--slideshow .container {
    position: relative;
    z-index: 1;
}
.landing-hero--slideshow .landing-hero-badge {
    color: #e0f2fe;
    background: rgb(255 255 255 / 0.12);
    border-color: rgb(255 255 255 / 0.2);
    backdrop-filter: blur(8px);
}
.landing-hero--slideshow h1 {
    color: #fff;
    text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}
.landing-hero--slideshow .landing-hero-lead {
    color: rgb(255 255 255 / 0.88);
}
.landing-hero--slideshow .landing-hero-lead strong {
    color: #fff;
}
.landing-hero--slideshow .btn-outline {
    color: #fff;
    border-color: rgb(255 255 255 / 0.45);
    background: rgb(255 255 255 / 0.08);
}
.landing-hero--slideshow .btn-outline:hover {
    background: rgb(255 255 255 / 0.16);
    color: #fff;
    border-color: rgb(255 255 255 / 0.65);
}
.landing-hero--slideshow .landing-stat-card {
    background: rgb(255 255 255 / 0.1);
    border-color: rgb(255 255 255 / 0.18);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.15);
    backdrop-filter: blur(10px);
}
.landing-hero--slideshow .landing-stat-card strong {
    color: #fff;
}
.landing-hero--slideshow .landing-stat-card span {
    color: rgb(255 255 255 / 0.78);
}
.landing-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.landing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.landing-blob--1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: rgb(8 145 178 / 0.1);
}
.landing-blob--2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -80px;
    background: rgb(245 158 11 / 0.08);
}
.landing-hero-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-50);
    border: 1px solid rgb(8 145 178 / 0.15);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.landing-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.landing-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.landing-hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.landing-hero-lead strong { color: var(--text); font-weight: 700; }
.landing-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.landing-hero-actions .btn svg {
    width: 18px;
    height: 18px;
    transform: scaleX(-1);
}
.landing-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 2.5rem;
}
.landing-stat-card {
    text-align: center;
    padding: 1.35rem 1rem;
    background: linear-gradient(180deg, #fff 0%, rgb(248 250 252 / 0.9) 100%);
    border: 1px solid rgb(8 145 178 / 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgb(8 145 178 / 0.08);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.landing-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgb(8 145 178 / 0.22);
    box-shadow: 0 16px 36px rgb(8 145 178 / 0.12);
}
.landing-stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
    border: 1px solid rgb(8 145 178 / 0.14);
    border-radius: 14px;
}
.landing-stat-card strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.landing-stat-card span {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Steps */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.landing-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.landing-step:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: rgb(8 145 178 / 0.2);
}
.landing-step-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.landing-step-icon svg { width: 26px; height: 26px; }
.landing-step h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.landing-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; }
.landing-url {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--primary-50);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    direction: ltr;
}

/* Benefits */
.landing-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.landing-benefit {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.landing-benefit:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.landing-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.landing-benefit-icon svg { width: 24px; height: 24px; }
.landing-benefit-icon--blue { background: #eff6ff; color: #2563eb; }
.landing-benefit-icon--cyan { background: var(--primary-50); color: var(--primary); }
.landing-benefit-icon--amber { background: #fffbeb; color: #d97706; }
.landing-benefit-icon--green { background: #f0fdf4; color: #16a34a; }
.landing-benefit-icon--purple { background: #faf5ff; color: #9333ea; }
.landing-benefit-icon--rose { background: #fff1f2; color: #e11d48; }
.landing-benefit h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.landing-benefit p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.85; }

/* Audience */
.landing-audience {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.landing-audience-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.landing-audience-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 1rem;
}
.landing-audience-header > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}
.landing-audience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.landing-audience-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.landing-audience-card:hover {
    box-shadow: var(--shadow);
    border-color: rgb(8 145 178 / 0.25);
    transform: translateY(-2px);
}
.landing-audience-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #67e8f9, #0891b2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.landing-audience-card-icon svg { width: 20px; height: 20px; }
.landing-audience-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Register CTA */
.landing-register-section { padding-top: 3rem; padding-bottom: 5rem; }
.landing-register {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #1e40af 50%, var(--primary-dark) 100%);
    color: #fff;
}
.landing-register-bg { position: absolute; inset: 0; pointer-events: none; }
.landing-register-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgb(34 211 238 / 0.15) 0%, transparent 70%);
}
.landing-register-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    padding: 3.5rem;
    align-items: center;
}
.landing-register-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.15);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    color: var(--accent-light);
}
.landing-register-badge svg { width: 16px; height: 16px; }
.landing-register-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.35;
    margin-bottom: 1rem;
}
.landing-register-content h2 em {
    font-style: normal;
    color: var(--accent-light);
}
.landing-register-content > p {
    opacity: 0.85;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.75rem;
    max-width: 480px;
}
.landing-register-features { list-style: none; }
.landing-register-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    opacity: 0.9;
}
.landing-register-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent-light);
}
.landing-register-card {
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: var(--radius-lg);
    padding: 1px;
    backdrop-filter: blur(12px);
}
.landing-register-card-inner {
    background: #fff;
    border-radius: calc(var(--radius-lg) - 1px);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--text);
}
.landing-register-logo {
    height: 52px;
    width: auto;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
}
.landing-register-card-inner h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.landing-register-card-inner > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}
.landing-register-btn {
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgb(245 158 11 / 0.35);
}
.landing-register-btn svg { width: 20px; height: 20px; }
.landing-register-login {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.landing-register-login a {
    color: var(--primary);
    font-weight: 700;
}

/* ---- Profile Page ---- */
.profile-page {
    padding-bottom: 0.5rem;
}
.profile-hero {
    height: 280px;
    position: relative;
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 35%, #2563eb 100%);
    overflow: hidden;
}
.profile-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.profile-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 20% 30%, rgb(255 255 255 / 0.35) 0, transparent 45%),
        radial-gradient(circle at 80% 20%, rgb(34 211 238 / 0.4) 0, transparent 40%),
        linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
    background-size: auto, auto, 28px 28px, 28px 28px;
}
.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgb(220 232 242 / 0.95) 100%);
}
.profile-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.profile-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}
.profile-hero-shape--1 {
    width: 220px;
    height: 220px;
    top: -40px;
    right: 8%;
    background: rgb(34 211 238 / 0.35);
}
.profile-hero-shape--2 {
    width: 180px;
    height: 180px;
    top: 30px;
    left: 12%;
    background: rgb(245 158 11 / 0.25);
}
.profile-hero-shape--3 {
    width: 120px;
    height: 120px;
    bottom: 20px;
    right: 35%;
    background: rgb(99 102 241 / 0.3);
}
.profile-shell {
    margin-top: -5.5rem;
    position: relative;
    z-index: 10;
}
.profile-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 28px;
    padding: 2rem 2.25rem 1.75rem;
    box-shadow:
        0 4px 6px rgb(15 23 42 / 0.04),
        0 24px 60px rgb(15 23 42 / 0.12);
    border: 1px solid rgb(255 255 255 / 0.8);
    overflow: hidden;
}
.profile-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}
.profile-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    margin-bottom: 1.25rem;
}
.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-top: -3.75rem;
}
.profile-avatar-ring {
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    box-shadow: 0 12px 32px rgb(8 145 178 / 0.25);
}
.profile-avatar-lg {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
}
.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-verified {
    position: absolute;
    bottom: 8px;
    left: 4px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #16a34a;
    border: 2px solid #bbf7d0;
    box-shadow: var(--shadow-sm);
}
.profile-verified svg { width: 16px; height: 16px; }
.profile-head-block {
    flex: 1;
    min-width: 0;
    padding-top: 0.35rem;
}
.profile-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}
.profile-head-block h1 {
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--navy);
}
.profile-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}
.profile-title-row h1 {
    flex: 1 1 auto;
    min-width: min(100%, 12rem);
}
.profile-title-row .profile-slug-wrap {
    flex-shrink: 0;
}
.profile-slug-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.slug-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, var(--primary-50), #e0f2fe);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    direction: ltr;
    border: 1px solid rgb(8 145 178 / 0.15);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.slug-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.slug-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgb(8 145 178 / 0.15);
    color: var(--primary-dark);
}
.slug-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}
.slug-copy-btn svg { width: 16px; height: 16px; }
.slug-copy-btn:hover,
.slug-copy-btn:focus-visible {
    background: var(--primary-50);
    border-color: rgb(8 145 178 / 0.3);
    color: var(--primary);
    outline: none;
}
.slug-copy-btn.is-copied {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}
.slug-copy-feedback {
    font-size: 0.8rem;
    font-weight: 700;
    color: #166534;
}
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}
.profile-tag {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.profile-bio-box {
    position: relative;
    padding: 1.25rem 1.35rem 1.25rem 2.5rem;
    margin-bottom: 1.35rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgb(236 254 255 / 0.5) 100%);
    border: 1px solid var(--border-light);
}
.profile-bio-box::before {
    content: '«';
    position: absolute;
    top: 0.5rem;
    right: 0.85rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: rgb(8 145 178 / 0.25);
}
.profile-bio {
    color: var(--text-secondary);
    width: 100%;
    font-size: 1.02rem;
    line-height: 2;
    text-align: justify;
    text-align-last: right;
    white-space: pre-line;
    margin: 0;
}
.profile-social-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    width: 100%;
}
.profile-social-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex: 1 1 0;
    min-width: 0;
    min-height: 70px;
    padding: 0.72rem 0.7rem;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition);
}
.profile-social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.profile-social-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
}
.profile-social-card-name {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.3;
    flex-shrink: 0;
}
.profile-social-card-name::after {
    content: '·';
    margin-inline-start: 0.4rem;
    font-weight: 500;
    opacity: 0.55;
}
.profile-social-card-action {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    flex-shrink: 0;
}
.profile-social-card--phone .profile-social-card-action {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}
.profile-social-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgb(255 255 255 / 0.65);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5);
}
.profile-social-card-icon svg {
    width: 19px;
    height: 19px;
}
.profile-social-card--phone {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.profile-social-card--phone .profile-social-card-icon { color: #2563eb; }
.profile-social-card--whatsapp {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #15803d;
    border-color: #bbf7d0;
}
.profile-social-card--whatsapp .profile-social-card-icon { color: #16a34a; }
.profile-social-card--instagram {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    color: #be185d;
    border-color: #fbcfe8;
}
.profile-social-card--instagram .profile-social-card-icon { color: #db2777; }
.profile-social-card--telegram {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #4338ca;
    border-color: #c7d2fe;
}
.profile-social-card--telegram .profile-social-card-icon { color: #4f46e5; }
.profile-social-card--rubika {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #6d28d9;
    border-color: #ddd6fe;
}
.profile-social-card--rubika .profile-social-card-icon { color: #7c3aed; }
.profile-social-card--bale {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
    color: #0e7490;
    border-color: #a5f3fc;
}
.profile-social-card--bale .profile-social-card-icon { color: #0891b2; }
.profile-tours-section {
    padding-top: 2.5rem;
}
.profile-tours-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.profile-tours-header h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.profile-tours-count {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

/* ---- Tour Detail ---- */
.tour-detail-hero {
    height: 450px;
    position: relative;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    overflow: hidden;
}
.tour-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.tour-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(15 23 42 / 0.7) 0%, transparent 60%);
}
.tour-detail-hero-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem 0 3rem;
    color: #fff;
}
.tour-detail-hero-content .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}
.tour-detail-hero-content .breadcrumb a { color: #fff; opacity: 0.9; }
.tour-detail-hero-content h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.tour-detail-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding-bottom: 3rem;
}
.tour-detail-main {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.tour-detail-main .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.9;
}
.tour-detail-main .description { line-height: 2.1; color: var(--text-secondary); }
.tour-gallery { margin-top: 2rem; }
.tour-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
}
.tour-gallery-item {
    display: block;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.tour-gallery-item:hover img { transform: scale(1.05); }
.tour-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
}
.tour-images-preview:empty {
    display: none;
}
.tour-images-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg);
}
.tour-images-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-images-preview-num {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 1;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4rem;
    text-align: center;
}
.tour-images-preview-remove {
    position: absolute;
    bottom: 0.35rem;
    left: 0.35rem;
    z-index: 1;
    width: 1.6rem;
    height: 1.6rem;
    border: none;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.92);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.tour-images-preview-remove:hover {
    background: #dc2626;
}
.tour-images-preview-remove:disabled {
    opacity: 0.6;
    cursor: wait;
}
.tour-detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.tour-price-box {
    text-align: center;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
.tour-price-box .price-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.tour-price-box .price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}
.tour-price-box .price-unit { font-size: 0.9rem; color: var(--text-muted); }
.tour-info-list { list-style: none; margin: 1.5rem 0; }
.tour-info-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}
.tour-info-list li span { color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.tour-info-list li strong { color: var(--text); }
.sidebar-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* ---- Tour Page (public detail) ---- */
.tour-page { padding-bottom: 5rem; }
.tour-page-hero {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    overflow: hidden;
}
.tour-page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgb(15 23 42 / 0.9) 0%, rgb(15 23 42 / 0.45) 45%, rgb(15 23 42 / 0.15) 100%),
        linear-gradient(to left, rgb(15 23 42 / 0.35) 0%, transparent 55%);
}
.tour-page-hero-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0 3rem;
    color: #fff;
}
.tour-page-hero-content .breadcrumb {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}
.tour-page-hero-content .breadcrumb a { color: #fff; }
.tour-page-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.tour-page-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.18);
    border: 1px solid rgb(255 255 255 / 0.25);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}
.tour-page-badge--light { background: rgb(255 255 255 / 0.92); color: var(--primary-dark); }
.tour-page-hero-content h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
    max-width: 760px;
    text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
    line-height: 1.35;
}
.tour-page-lead {
    color: rgb(255 255 255 / 0.9);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 680px;
    margin-bottom: 1.25rem;
}
.tour-page-leader {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 1.15rem 0.5rem 0.5rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.14);
    border: 1px solid rgb(255 255 255 / 0.28);
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.tour-page-leader:hover {
    background: rgb(255 255 255 / 0.22);
    border-color: rgb(255 255 255 / 0.4);
    transform: translateY(-1px);
}
.tour-page-leader strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}
.tour-page-leader-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    overflow: hidden;
    border: 2px solid rgb(255 255 255 / 0.85);
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.25);
}
.tour-page-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-page-leader-label {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    margin-bottom: 0.1rem;
}
.tour-page-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
    margin: -2.2rem 0 2rem;
    position: relative;
    z-index: 2;
}
.tour-page-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.tour-page-stat-icon { font-size: 1.35rem; line-height: 1; }
.tour-page-stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}
.tour-page-stat strong { font-size: 0.92rem; color: var(--text); }
.tour-page-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.75rem;
    align-items: start;
}
.tour-page-main {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.tour-page-gallery { margin-bottom: 1.5rem; }
.tour-page-gallery-main {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 0.75rem;
}
.tour-page-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-page-gallery-thumbs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}
.tour-page-gallery-thumb {
    flex: 0 0 84px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: var(--bg);
}
.tour-page-gallery-thumb.is-active { border-color: var(--primary); }
.tour-page-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.45rem;
    margin-bottom: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    position: sticky;
    top: 78px;
    z-index: 5;
}
.tour-page-nav a {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
}
.tour-page-nav a:hover,
.tour-page-nav a.is-active {
    background: var(--primary);
    color: #fff;
}

/* ---- Tour info section ---- */
.tour-info-section {
    scroll-margin-top: 150px;
}
.tour-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.tour-info-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.tour-info-card:hover {
    border-color: rgb(8 145 178 / 0.25);
    box-shadow: 0 10px 28px rgb(8 145 178 / 0.1);
    transform: translateY(-1px);
}
.tour-info-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--primary-50), #fff);
    border: 1px solid var(--primary-100);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8);
}
.tour-info-card-icon svg {
    width: 22px;
    height: 22px;
}
.tour-info-card-body {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    line-height: 1.5;
}
.tour-info-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.tour-info-sep {
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}
.tour-info-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
    word-break: break-word;
}
.tour-info-card--wide {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-50), #f8fafc);
    border-color: var(--primary-100);
}
.tour-info-card--wide .tour-info-card-icon {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    color: #fff;
}
.tour-info-card--wide .tour-info-value {
    font-size: 1.02rem;
}

.tour-page-section {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    scroll-margin-top: 150px;
}
.tour-page-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}
.tour-page-section-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.tour-page-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.tour-page-section-head h2 {
    font-size: 1.2rem;
    color: var(--text);
}
.tour-page-section-body.description {
    line-height: 2.1;
    color: var(--text-secondary);
}
.tour-page-subsection h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}
.tour-page-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}
.tour-page-list li {
    position: relative;
    padding-right: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}
.tour-page-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}
.tour-page-list--check li::before {
    content: '✓';
    width: auto;
    height: auto;
    background: none;
    color: #16a34a;
    font-weight: 800;
    top: 0.1rem;
}
.tour-page-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.tour-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.tour-page-tag {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.line-items-field {
    display: grid;
    gap: 0.65rem;
}
.services-items-field,
.essential-items-field,
.passenger-costs-field {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}
.services-items-field .line-items-add,
.essential-items-field .line-items-add,
.passenger-costs-field .line-items-add {
    grid-column: 1 / -1;
    justify-self: start;
}
.services-items-field .line-items-row,
.essential-items-field .line-items-row,
.passenger-costs-field .line-items-row {
    min-width: 0;
}
.services-items-field .line-items-input,
.essential-items-field .line-items-input,
.passenger-costs-field .line-items-input {
    min-width: 0;
}
.line-items-row,
.essential-items-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.line-items-input,
.essential-items-input {
    flex: 1;
    font-size: 0.92rem;
    padding: 0.65rem 0.9rem;
}
.line-items-remove,
.essential-items-remove {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-card);
    color: #ef4444;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}
.line-items-remove:hover,
.essential-items-remove:hover {
    background: #fef2f2;
    border-color: #fecaca;
}
.line-items-add,
.essential-items-add {
    justify-self: start;
    padding: 0.45rem 0.9rem !important;
    font-size: 0.88rem !important;
}
.tour-page-sidebar { position: sticky; top: 90px; }

/* ---- Booking widget (tour detail) ---- */
.booking-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.booking-widget-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow-lg);
}
.booking-widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}
.booking-widget-price-box {
    background: linear-gradient(135deg, var(--primary-50), #f0f9ff);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    margin-bottom: 1.1rem;
}
.booking-widget-price-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.booking-widget-price-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.booking-widget-price-amount {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}
.booking-widget-price-currency {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}
.booking-widget-field {
    margin-bottom: 1rem;
}
.booking-widget-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.booking-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.35rem;
}
.booking-stepper--compact {
    padding: 0.25rem;
    margin-bottom: 0.5rem;
}
.booking-stepper-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}
.booking-stepper-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}
.booking-stepper-input {
    width: 3.5rem;
    text-align: center;
    border: none;
    background: var(--bg-card);
    border-radius: 999px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    padding: 0.45rem 0.25rem;
    -moz-appearance: textfield;
}
.booking-stepper-input::-webkit-outer-spin-button,
.booking-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.booking-widget-summary {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    background: var(--bg-alt);
}
.booking-widget-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.35rem 0;
}
.booking-widget-summary-row span { color: var(--text-muted); }
.booking-widget-summary-row strong { color: var(--primary); font-weight: 800; }
.booking-widget-summary-row--total {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px dashed var(--border);
}
.booking-widget-summary-row--total strong {
    font-size: 1.15rem;
    color: #16a34a;
}
.booking-widget-submit {
    font-size: 1rem !important;
    padding: 0.95rem 1.25rem !important;
    border-radius: 999px !important;
}
.booking-widget-contact {
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.booking-widget-contact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 0.55rem;
}
.booking-widget-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ---- Cart / checkout ---- */
.cart-page {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}
.cart-page-header {
    margin-bottom: 1.75rem;
}
.cart-page-header h1 {
    font-size: 1.75rem;
    margin-top: 0.5rem;
}
.cart-breadcrumb {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.cart-empty {
    max-width: 420px;
    margin: 3rem auto;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}
.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.cart-empty h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}
.cart-tour-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.cart-tour-card-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-alt);
}
.cart-tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-tour-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary);
    margin-bottom: 0.35rem;
}
.cart-tour-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}
.cart-tour-card-body h2 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}
.cart-tour-card-body h2 a {
    color: inherit;
}
.cart-tour-card-body h2 a:hover { color: var(--primary); }
.cart-tour-leader {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.cart-tour-details {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding: 0;
    margin: 0;
}
.cart-tour-details li {
    font-size: 0.85rem;
}
.cart-tour-details span {
    color: var(--text-muted);
    margin-left: 0.35rem;
}
.cart-tour-card-side {
    text-align: center;
    min-width: 130px;
}
.cart-tour-card-side label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.cart-tour-unit-price {
    margin-top: 0.75rem;
    font-size: 0.82rem;
}
.cart-tour-unit-price strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
}
.cart-checkout-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.cart-passengers-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.cart-passenger-card {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: var(--bg-alt);
}
.cart-passenger-card--primary {
    background: linear-gradient(135deg, var(--primary-50), #fff);
    border-color: var(--primary-100);
}
.cart-passenger-card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.cart-passenger-card-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}
.cart-passenger-card-head h3 {
    font-size: 1rem;
    margin: 0;
}
.cart-passengers-hint {
    margin: 0.45rem 0 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.cart-passengers-update-form {
    display: none;
}
.cart-complete-passengers {
    text-align: right;
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.cart-complete-passengers h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.cart-complete-passengers ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.cart-complete-passengers li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--border-light);
}
.cart-complete-passengers li:last-child { border-bottom: none; }
.cart-complete-passengers span {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.cart-form-section-head {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}
.cart-form-section-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.cart-form-section-head h2 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.cart-form-section-head p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}
.cart-sidebar { position: sticky; top: 90px; }
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow-lg);
}
.cart-summary h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}
.cart-summary-rows {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}
.cart-summary-row span { color: var(--text-muted); }
.cart-summary-row--accent strong { color: var(--primary); }
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-top: 2px solid var(--border-light);
    margin-bottom: 1rem;
}
.cart-summary-total span {
    font-weight: 700;
    color: var(--text-secondary);
}
.cart-summary-total strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: #16a34a;
}
.cart-receipt-upload {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.cart-receipt-upload label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--text);
}
.cart-receipt-upload .form-file {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.55rem 0.75rem;
}
.cart-receipt-upload .help-text {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.6;
}
.required-mark {
    color: #ef4444;
}
.cart-receipt-preview {
    margin-bottom: 1.25rem;
    text-align: right;
}
.cart-receipt-preview h3 {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}
.cart-receipt-image {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg-alt);
}
.cart-receipt-note {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.messenger-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.messenger-picker-modal[hidden] {
    display: none;
}
.messenger-picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 0.55);
}
.messenger-picker-dialog {
    position: relative;
    width: min(100%, 420px);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.messenger-picker-dialog h2 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}
.messenger-picker-lead {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.messenger-picker-buttons {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}
.messenger-picker-later {
    width: 100%;
}
body.messenger-picker-open {
    overflow: hidden;
}
.cart-summary-submit {
    border-radius: 999px !important;
    margin-bottom: 0.75rem;
}
.cart-summary-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.cart-summary-back {
    display: block;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.cart-summary-back:hover { color: var(--primary); }
.cart-confirm-box {
    margin-bottom: 1rem;
    padding: 0.85rem 0.9rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: right;
}
.cart-confirm-box--inline {
    margin-top: 0.25rem;
    margin-bottom: 0;
}
.cart-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: 0.55rem;
}
.cart-checkbox:last-of-type { margin-bottom: 0; }
.cart-checkbox input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--primary);
}
.cart-checkbox--error { color: #b91c1c; }
.cart-confirm-box .error {
    font-size: 0.78rem;
    color: #ef4444;
    margin: 0.15rem 0 0.45rem 1.6rem;
}
.cart-payment-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.cart-payment-instructions {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
    color: #9a3412;
    line-height: 1.85;
    font-size: 0.92rem;
}
.cart-payment-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.cart-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 14px;
}
.cart-payment-row-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}
.cart-payment-row-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.cart-payment-value {
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary-dark);
    direction: ltr;
    text-align: left;
    word-break: break-all;
}
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--primary);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}
.btn-copy:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}
.btn-copy.is-copied {
    border-color: #86efac;
    background: #dcfce7;
    color: #16a34a;
}
.cart-messenger-actions {
    margin-bottom: 1.25rem;
    text-align: right;
}
.cart-messenger-actions h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.cart-messenger-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}
.cart-messenger-btn {
    border-radius: 999px !important;
}
.cart-message-copy {
    text-align: right;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.cart-message-copy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.cart-message-copy-head h3 {
    font-size: 0.92rem;
    margin: 0;
}
.cart-message-preview {
    margin: 0;
    padding: 0.85rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.8;
    white-space: pre-wrap;
    color: var(--text-secondary);
    max-height: 220px;
    overflow: auto;
}
.cart-page--complete { padding-top: 3rem; }
.cart-complete {
    max-width: 560px;
}
.cart-complete-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}
.cart-complete-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    font-size: 1.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-complete-lead {
    color: var(--text-secondary);
    margin: 0.75rem 0 1.5rem;
    line-height: 1.8;
}
.cart-complete-summary {
    text-align: right;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
}
.cart-complete-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}
.cart-complete-row span { color: var(--text-muted); }
.cart-complete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.tour-page-mobile-form { margin: 0; }
.tour-page-mobile-bar .btn-accent {
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
}
.tour-page-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgb(15 23 42 / 0.08);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.tour-page-mobile-price span {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-dark);
}
.tour-page-mobile-price small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ---- Similar tours carousel ---- */
.similar-tours {
    --similar-accent: #f97316;
    --similar-accent-dark: #ea580c;
    padding: 2.75rem 0 3.5rem;
    background: #fff;
    border-top: 1px solid var(--border-light);
}
.similar-tours-title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    text-align: right;
    margin: 0 0 1.35rem;
    color: var(--text);
}
.similar-tours-carousel {
    position: relative;
}
.similar-tours-viewport {
    overflow: hidden;
    padding: 0.35rem 0.15rem 1.15rem;
    touch-action: pan-y;
}
.similar-tours-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.similar-tour-slide {
    flex: 0 0 calc((100% - 1.25rem) / 2.72);
    min-width: 0;
}
.similar-tour-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgb(15 23 42 / 0.08);
    border: 1px solid rgb(226 232 240 / 0.9);
    display: flex;
    flex-direction: column;
}
.similar-tour-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.4;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fb923c);
    color: inherit;
}
.similar-tour-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.similar-tour-card:hover .similar-tour-card-media img {
    transform: scale(1.06);
}
.similar-tour-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.6rem;
}
.similar-tour-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgb(234 88 12 / 0.94);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.7rem;
    border-radius: 8px;
    line-height: 1.4;
}
.similar-tour-card-body {
    padding: 0.95rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}
.similar-tour-card-title {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.55;
    margin: 0;
}
.similar-tour-card-title a {
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.similar-tour-card-title a:hover { color: var(--similar-accent-dark); }
.similar-tour-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    color: #64748b;
    font-size: 0.78rem;
}
.similar-tour-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.similar-tour-card-meta svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.similar-tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}
.similar-tour-card-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--similar-accent);
    color: #fff !important;
    border-radius: 10px;
    padding: 0.52rem 1.05rem;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    border: 0;
    box-shadow: 0 6px 16px rgb(249 115 22 / 0.28);
    transition: background var(--transition), transform var(--transition);
}
a.similar-tour-card-book:hover {
    background: var(--similar-accent-dark);
    transform: translateY(-1px);
    color: #fff !important;
}
.similar-tour-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.28rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.similar-tour-card-price strong {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--similar-accent);
    letter-spacing: -0.02em;
}
.similar-tour-card-price span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}
.similar-tours-arrow {
    position: absolute;
    top: 108px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    box-shadow: 0 6px 18px rgb(15 23 42 / 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.similar-tours-arrow svg {
    width: 18px;
    height: 18px;
}
.similar-tours-arrow:hover:not(:disabled) {
    color: var(--similar-accent);
    box-shadow: 0 8px 22px rgb(15 23 42 / 0.16);
}
.similar-tours-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}
.similar-tours-arrow--prev { right: -8px; }
.similar-tours-arrow--next { left: -8px; }
.similar-tours-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    min-height: 12px;
}
.similar-tours-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.similar-tours-dot.is-active {
    width: 22px;
    background: var(--similar-accent);
}

@media (max-width: 1024px) {
    .similar-tour-slide { flex-basis: calc((100% - 1.25rem) / 2.12); }
    .similar-tours-arrow--prev { right: 4px; }
    .similar-tours-arrow--next { left: 4px; }
    .similar-tours-arrow { top: 96px; }
}
@media (max-width: 768px) {
    .similar-tours { padding: 2rem 0 6.5rem; }
    .similar-tour-slide { flex-basis: 84%; }
    .similar-tours-arrow { width: 36px; height: 36px; top: 86px; }
}

/* ---- Tour Form (dashboard) ---- */
.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.btn-preview-icon {
    font-size: 1.05rem;
    line-height: 1;
}
.tour-preview-banner {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-bottom: 1px solid #fed7aa;
    padding: 0.75rem 0;
}
.tour-preview-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}
.tour-preview-banner p {
    margin: 0;
    color: #9a3412;
    font-size: 0.9rem;
    font-weight: 600;
}
.tour-preview-banner .btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
}
.tour-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
    align-items: start;
}
.tour-form-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, var(--primary-50), #f0f9ff);
    border: 1px solid #bae6fd;
    border-right: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.tour-form-notice-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.tour-form-notice p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.95;
}
.tour-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.tour-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}
.tour-form-section-head--compact {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}
.tour-form-section-head h2 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.tour-form-section-head p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tour-form-optional-note {
    color: var(--primary-dark);
    font-weight: 700;
}
.tour-form-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.tour-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}
.tour-form-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.tour-form-grid--four .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}
.tour-form-grid--four .form-number-wrap input[type="number"] {
    min-height: 2.6rem;
    font-size: 0.92rem;
    padding-inline: 0.65rem 3.2rem;
}
.tour-form-sidebar { position: sticky; top: 1.5rem; }
.tour-form-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}
.tour-form-actions {
    margin-top: 1rem;
    flex-direction: column;
}
.tour-form-actions .btn-block { width: 100%; justify-content: center; }
.tour-form-info-panel {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, var(--bg-card) 100%);
}
.tour-form-booking-panel {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb 0%, var(--bg-card) 100%);
}
.tour-form-grid--payment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tour-form-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.tour-form-info-field {
    margin-bottom: 0;
    padding: 0.55rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.tour-form-info-field label {
    flex: 0 0 42%;
    max-width: 11rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.45;
}
.tour-form-info-field .form-input {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.5rem 0.65rem;
}
.tour-form-info-field .help-text {
    display: none;
}
.tour-form-info-field .error {
    flex: 1 1 100%;
    margin-top: 0;
}
.tour-form-info-field--wide {
    grid-column: 1 / -1;
}
.tour-form-info-field--wide label {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-visual {
    background: linear-gradient(145deg, #1e3a5f, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgb(245 158 11 / 0.15), transparent 50%);
}
.auth-visual-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 400px;
}
.auth-visual-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}
.auth-visual-content p { opacity: 0.85; line-height: 1.9; margin-bottom: 2rem; }
.auth-visual-features { list-style: none; }
.auth-visual-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    opacity: 0.9;
}
.auth-visual-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: rgb(255 255 255 / 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg);
}
.auth-form-wrapper { width: 100%; max-width: 440px; }
.auth-form-wrapper h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.auth-form-wrapper .subtitle { color: var(--text-muted); margin-bottom: 2rem; }
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ---- Register Page (compact) ---- */
.register-page {
    background: var(--bg);
    min-height: auto;
    padding-bottom: 0;
}
.register-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    padding: 2rem 0;
    color: #fff;
}
.register-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.register-hero h1 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}
.register-hero p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}
.register-hero-badge {
    background: rgb(245 158 11 / 0.9);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}
.register-body {
    max-width: 920px;
    margin-top: -1.25rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}
.register-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.register-section {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}
.register-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.register-section-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}
.register-section-icon {
    width: 34px;
    height: 34px;
    background: var(--primary-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.register-section-title h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1.25rem;
}
.register-sales-grid {
    grid-template-columns: 1fr 1fr minmax(0, 1.35fr);
    align-items: start;
}
.register-sales-grid .activity-picker-group {
    margin-bottom: 0;
}
.register-card .form-group {
    margin-bottom: 0;
}
.form-group-compact label {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}
.form-group-compact .help-text {
    font-size: 0.78rem;
    margin-top: 0.2rem;
    line-height: 1.4;
}
.form-group-compact input,
.form-group-compact select,
.form-group-compact textarea {
    padding: 0.65rem 0.9rem;
    font-size: 0.93rem;
}
.form-group-compact .file-upload input[type="file"] {
    padding: 0.45rem;
    font-size: 0.85rem;
}
.register-actions {
    margin-top: 1.25rem;
    text-align: center;
}
.register-actions .btn {
    width: 100%;
    max-width: 400px;
}
.register-actions .auth-footer {
    margin-top: 0.85rem;
    margin-bottom: 0;
}
.register-errors {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

/* ---- Activity type picker ---- */
.activity-picker {
    position: relative;
    z-index: 1;
}
.activity-picker.is-open {
    z-index: 20;
}
.register-card,
.register-section,
.activity-picker-group,
.panel-body {
    overflow: visible;
}
.activity-picker-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.activity-picker-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 0.93rem;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    text-align: right;
}
.activity-picker-trigger:hover {
    border-color: var(--primary);
}
.activity-picker.is-open .activity-picker-trigger,
.activity-picker-trigger:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgb(8 145 178 / 0.1);
}
.activity-picker-trigger-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow: hidden;
}
.activity-picker-placeholder {
    color: var(--text-muted);
}
.activity-picker-placeholder.is-hidden {
    display: none;
}
.activity-picker-chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    overflow: hidden;
}
.activity-picker-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.5rem;
}
.activity-picker-chip--more {
    background: var(--bg);
    color: var(--text-muted);
    flex-shrink: 0;
    max-width: none;
}
.activity-picker-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.activity-picker.is-open .activity-picker-chevron {
    transform: rotate(180deg);
}
.activity-picker-panel[hidden] {
    display: none !important;
}
.activity-picker-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: 240px;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
}
.activity-picker-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.65rem 0.75rem 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    flex-shrink: 0;
}
.activity-picker-search-wrap svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.activity-picker-search {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
}
.activity-picker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 0.75rem 0.75rem;
    overflow-y: auto;
    align-content: flex-start;
}
.activity-picker-tag {
    border: 1.5px solid var(--border);
    background: var(--bg-alt);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.35;
}
.activity-picker-tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}
.activity-picker-tag.is-selected {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgb(245 158 11 / 0.28);
}
.activity-picker-empty {
    padding: 1rem 0.75rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- Forms ---- */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.register-card .form-group label {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}
.form-input,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text);
    transition: all var(--transition);
}
.form-input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgb(8 145 178 / 0.1);
}
.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button,
.form-number-wrap input[type="number"]::-webkit-outer-spin-button,
.form-number-wrap input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.form-group input[type="number"],
.form-number-wrap input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.form-number-wrap {
    position: relative;
    width: 100%;
}
.form-number-wrap input[type="number"] {
    width: 100%;
    min-height: 3rem;
    padding-inline: 1rem 3.6rem;
    font-size: 1rem;
    font-weight: 600;
}
.form-number-steppers {
    position: absolute;
    inset-inline-end: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.form-number-step {
    width: 2rem;
    height: 1.45rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, var(--bg));
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.form-number-step:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}
.form-number-step:active {
    transform: scale(0.96);
}
.form-group .help-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.register-card .form-group .help-text {
    font-size: 0.78rem;
    margin-top: 0.2rem;
    line-height: 1.4;
}
.register-card .form-group input,
.register-card .form-group select,
.register-card .form-group textarea {
    padding: 0.65rem 0.9rem;
    font-size: 0.93rem;
}
.register-card .file-upload input[type="file"] {
    padding: 0.45rem;
    font-size: 0.85rem;
}
.form-group .error { color: #ef4444; font-size: 0.82rem; margin-top: 0.35rem; }
.required-mark { color: #ef4444; font-weight: 800; margin-right: 0.2rem; }
.file-upload input[type="file"] {
    padding: 0.65rem;
    background: var(--bg);
    cursor: pointer;
}
.form-file { font-size: 0.9rem; }
.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    cursor: pointer;
}
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ---- Dashboard ---- */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-card);
    color: var(--text);
    padding: 1.5rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 24px rgb(15 23 42 / 0.04);
}
.dashboard-sidebar .logo {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}
.sidebar-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
}
.sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-media-preview {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}
.profile-media-preview-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.profile-media-preview-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.profile-media-preview-box {
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-media-preview-box--avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
.profile-media-preview-box--cover {
    min-height: 120px;
}
.profile-media-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-media-preview-placeholder {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 800;
}
.profile-media-preview-box--cover .profile-media-preview-placeholder {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
}
.profile-media-preview-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.profile-media-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.profile-media-clear {
    color: #ef4444 !important;
}
.profile-media-clear:hover {
    background: #fef2f2 !important;
}

/* ---- Image cropper modal ---- */
body.image-cropper-open {
    overflow: hidden;
}
.image-cropper-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.image-cropper-modal[hidden] {
    display: none !important;
}
.image-cropper-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 0.65);
    backdrop-filter: blur(4px);
}
.image-cropper-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    background: var(--bg-card);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.image-cropper-header h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}
.image-cropper-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.image-cropper-stage {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.image-cropper-viewport {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    border: 2px solid var(--border);
    border-radius: 18px;
    cursor: grab;
    touch-action: none;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.image-cropper-viewport.is-dragging {
    cursor: grabbing;
}
.image-cropper-viewport[data-shape="circle"] {
    border-radius: 50%;
}
.image-cropper-image {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    pointer-events: none;
}
.image-cropper-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.image-cropper-zoom-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.image-cropper-zoom-label svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}
.image-cropper-zoom {
    flex: 1;
    accent-color: var(--primary);
}
.image-cropper-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}
.file-current-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-light);
}
.file-current-preview--wide {
    width: 100%;
    max-width: 280px;
    height: 120px;
    border-radius: var(--radius);
}
.file-current-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-user-info strong { display: block; font-size: 0.9rem; }
.sidebar-user-info span { font-size: 0.75rem; color: var(--text-muted); direction: ltr; }
.sidebar-nav { list-style: none; flex: 1; }
.sidebar-nav li { margin-bottom: 0.2rem; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--primary-50);
    color: var(--primary-dark);
}
.sidebar-nav a.active { box-shadow: inset 3px 0 0 var(--primary); }
.sidebar-nav .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.sidebar-nav-logout {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.dashboard-main {
    flex: 1;
    margin-right: var(--sidebar-width);
    padding: 2rem;
    min-height: 100vh;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.dashboard-header h1 { font-size: 1.65rem; }
.dashboard-header .subtitle { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.25rem; }
.dashboard-header .subtitle a { font-weight: 600; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 4px 4px 0;
}
.stat-card:nth-child(1)::after { background: var(--primary); }
.stat-card:nth-child(2)::after { background: #22c55e; }
.stat-card:nth-child(3)::after { background: var(--accent); }
.stat-card .stat-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.stat-card .stat-value { font-size: 2.2rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.35rem; }

.panel {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}
.panel-header h2 { font-size: 1.1rem; }
.panel-body { padding: 0; }

.data-table { width: 100%; }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th,
.data-table td { padding: 1rem 1.5rem; text-align: right; }
.data-table th {
    background: var(--bg);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.data-table tbody tr { transition: background var(--transition); }
.data-table tbody tr:hover { background: var(--primary-50); }
.data-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border-light); }
.table-actions { display: flex; gap: 0.5rem; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* ---- Messages ---- */
.messages { list-style: none; margin-bottom: 1.5rem; }
.message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.message-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.message-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.message-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.empty-state .icon {
    width: 80px;
    height: 80px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}
.empty-state h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ---- Delete Confirm ---- */
.delete-confirm {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}
.delete-confirm .icon-wrap {
    width: 72px;
    height: 72px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}
.delete-confirm h2 { margin-bottom: 0.75rem; }
.delete-confirm p { color: var(--text-muted); margin-bottom: 2rem; }
.delete-confirm .actions { display: flex; gap: 1rem; justify-content: center; }

/* ---- Footer ---- */
.footer {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    color: var(--text-secondary);
    padding: 5rem 0 2rem;
    margin-top: 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
}
.footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.footer-glow--teal {
    top: -160px;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgb(8 145 178 / 0.08) 0%, transparent 70%);
    animation: footerGlowPulse 8s ease-in-out infinite;
}
.footer-glow--amber {
    bottom: -100px;
    left: 8%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgb(245 158 11 / 0.06) 0%, transparent 70%);
    animation: footerGlowPulse 10s ease-in-out infinite reverse;
}
.footer-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(15 23 42 / 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgb(15 23 42 / 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
@keyframes footerGlowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 260px;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    align-items: start;
}
.footer-brand { max-width: 360px; }
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.35rem;
    transition: opacity var(--transition), transform var(--transition);
}
.footer-logo:hover { opacity: 0.92; transform: translateY(-1px); }
.footer-logo .logo-img { height: 48px; border-radius: 8px; }
.footer-tagline {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.footer-pill svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    opacity: 0.9;
}
.footer-heading {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.35rem;
    padding-bottom: 0.7rem;
    position: relative;
    letter-spacing: -0.01em;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem 0.55rem 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 10px;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}
.footer-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all var(--transition);
}
.footer-link-icon svg {
    width: 15px;
    height: 15px;
    opacity: 0.55;
    transition: opacity var(--transition), color var(--transition);
}
.footer-links a:hover {
    color: var(--text);
    transform: translateX(-4px);
}
.footer-links a:hover .footer-link-icon {
    background: var(--primary-50);
    border-color: rgb(8 145 178 / 0.25);
    box-shadow: 0 0 16px rgb(8 145 178 / 0.1);
}
.footer-links a:hover .footer-link-icon svg {
    opacity: 1;
    color: var(--primary);
}
.footer-cta {
    position: relative;
    width: 100%;
    max-width: 260px;
    justify-self: start;
    border-radius: calc(var(--radius-lg) + 2px);
    padding: 1px;
    background: linear-gradient(135deg, rgb(8 145 178 / 0.35), rgb(245 158 11 / 0.25), rgb(34 211 238 / 0.3));
    box-shadow: var(--shadow);
}
.footer-cta-inner {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    overflow: hidden;
}
.footer-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 20%, rgb(245 158 11 / 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.footer-cta-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.footer-cta-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    flex-shrink: 0;
    background: rgb(245 158 11 / 0.1);
    border: 1px solid rgb(245 158 11 / 0.2);
    border-radius: 12px;
    color: var(--accent-dark);
}
.footer-cta-badge svg {
    width: 20px;
    height: 20px;
}
.footer-heading--cta {
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-heading--cta::after { display: none; }
.footer-cta p {
    position: relative;
    font-size: 0.88rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-cta strong { color: var(--text); font-weight: 700; }
.footer-url {
    display: inline-block;
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-50);
    border: 1px solid rgb(8 145 178 / 0.2);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    direction: ltr;
    unicode-bidi: embed;
}
.footer-cta-features {
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}
.footer-cta-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.footer-cta-features svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--primary);
    background: var(--primary-50);
    border-radius: 50%;
    padding: 2px;
}
.footer-cta-btn {
    position: relative;
    width: 100%;
    box-shadow: 0 4px 24px rgb(245 158 11 / 0.25);
    overflow: hidden;
}
.footer-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.footer-cta-btn:hover::before { transform: translateX(100%); }
.footer-cta-btn svg {
    width: 16px;
    height: 16px;
    transform: scaleX(-1);
}
.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}
.footer-bottom p {
    font-size: 0.84rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---- Static pages (About, Guides) ---- */
.page-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.page-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}
.page-hero-blob--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: rgb(8 145 178 / 0.22);
}
.page-hero-blob--2 {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -60px;
    background: rgb(245 158 11 / 0.18);
}
.page-hero-blob--3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 35%;
    background: rgb(34 211 238 / 0.15);
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}
.page-hero-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.about-card h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.about-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.about-card p:last-child { margin-bottom: 0; }
.about-checklist {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
}
.about-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
}
.about-check-icon svg { width: 14px; height: 14px; }
.about-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.about-benefit {
    padding: 1.1rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}
.about-benefit h3 {
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
}
.about-benefit p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}
.about-benefit-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}
.about-benefit-icon svg { width: 22px; height: 22px; }
.about-benefit-icon--teal { background: rgb(8 145 178 / 0.12); color: var(--primary); }
.about-benefit-icon--amber { background: rgb(245 158 11 / 0.12); color: var(--accent-dark); }
.about-benefit-icon--green { background: rgb(34 197 94 / 0.12); color: #15803d; }
.about-benefit-icon--purple { background: rgb(139 92 246 / 0.12); color: #6d28d9; }
.about-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 1.5rem;
}
.about-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.about-info-card--muted {
    background: linear-gradient(180deg, var(--bg-alt), var(--bg-card));
}
.about-info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}
.about-contact-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}
.about-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.about-contact-list strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}
.about-contact-list span,
.about-contact-list a {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.about-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
}
.about-contact-icon svg { width: 18px; height: 18px; }
.about-meta-list {
    display: grid;
    gap: 0.85rem;
}
.about-meta-list dt {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}
.about-meta-list dd {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.about-cta-btn svg {
    width: 16px;
    height: 16px;
    transform: scaleX(-1);
}

.guides-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.guides-step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.guides-step-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.guides-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.guides-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}
.guides-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.guides-list-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}
.guides-list-header p {
    color: var(--text-muted);
    max-width: 520px;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.guide-spotlight {
    position: relative;
    width: 100%;
    height: 100%;
}
.guide-spotlight-glow {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, rgb(8 145 178 / 0.12), rgb(245 158 11 / 0.1));
    border-radius: calc(var(--radius-xl) + 6px);
    filter: blur(16px);
    z-index: 0;
}
.guide-spotlight-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.guide-spotlight-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.guide-spotlight-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.guide-spotlight-avatar-ring {
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.guide-spotlight-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    border: 4px solid var(--bg-card);
}
.guide-spotlight-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.guide-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgb(34 197 94 / 0.12);
    color: #15803d;
    font-size: 0.82rem;
    font-weight: 700;
}
.guide-spotlight-badge svg { width: 14px; height: 14px; }
.guide-spotlight-head {
    margin-bottom: 0.65rem;
    text-align: center;
}
.guide-spotlight-head h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}
.guide-spotlight-slug {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.guide-spotlight-slug:hover { color: var(--primary); }
.guide-spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    justify-content: center;
}
.guide-spotlight-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgb(8 145 178 / 0.15);
}
.guide-spotlight-bio {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.92rem;
    text-align: center;
    flex: 1;
}
.guide-spotlight-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.15rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.guide-spotlight-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.guide-spotlight-stat strong {
    font-size: 1.1rem;
    color: var(--primary-dark);
}
.guide-spotlight-stat span {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.guide-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}
.guide-spotlight-actions .btn-primary svg {
    width: 16px;
    height: 16px;
    transform: scaleX(-1);
}
.guides-why {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: center;
}
.guides-why h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 1.25rem;
}
.guides-why-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}
.guides-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.guides-why-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 0.15rem;
}
.guides-why-stats {
    display: grid;
    gap: 0.85rem;
}
.guides-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.guides-stat-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}
.guides-stat-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.guides-cta-section { padding-bottom: 4rem; }
.guides-cta {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.guides-cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}
.guides-cta p {
    color: rgb(255 255 255 / 0.8);
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.guides-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s ease forwards;
}
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .landing-steps { grid-template-columns: repeat(2, 1fr); }
    .landing-benefits { grid-template-columns: repeat(2, 1fr); }
    .landing-audience-cards { grid-template-columns: 1fr; }
    .landing-register-grid { grid-template-columns: 1fr; padding: 2.5rem; }
    .about-layout { grid-template-columns: 1fr; }
    .about-sidebar { position: static; }
    .guides-why { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .tour-detail-content { grid-template-columns: 1fr; }
    .tour-detail-sidebar { position: static; }
    .tour-page-body { grid-template-columns: 1fr; }
    .tour-page-sidebar { position: static; }
    .tour-form-layout { grid-template-columns: 1fr; }
    .tour-form-sidebar { position: static; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
}

@media (max-width: 992px) {
    .nav-toggle { display: block; margin-inline-start: auto; }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-inline-start: 0;
        padding: 0.75rem 0 0;
        gap: 0.25rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        text-align: center;
        padding: 0.65rem 1rem;
    }
    .nav-auth {
        justify-content: center;
        padding: 0.4rem;
    }
    .navbar-inner { flex-wrap: wrap; }
    .logo-img { height: 36px; }
}

@media (max-width: 768px) {
    .nav-links {
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        margin: 0 -1.25rem;
        padding: 0.75rem 1.25rem 1rem;
        box-shadow: var(--shadow-sm);
    }
    .landing-steps { grid-template-columns: 1fr; }
    .landing-benefits { grid-template-columns: 1fr; }
    .about-benefits-grid { grid-template-columns: 1fr; }
    .guides-steps { grid-template-columns: 1fr; }
    .guides-list-header { flex-direction: column; align-items: flex-start; }
    .landing-hero { padding: 3.5rem 0 3rem; }
    .landing-hero-stats { grid-template-columns: 1fr; max-width: 320px; }
    .landing-register-grid { padding: 2rem 1.5rem; }
    .landing-register-card-inner { padding: 2rem 1.5rem; }
    .hero-card { padding: 2rem 1.5rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .profile-shell { margin-top: -4rem; }
    .profile-card { padding: 1.5rem 1.25rem; border-radius: 22px; }
    .profile-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-avatar-wrap { margin-top: -3rem; }
    .profile-head-block { padding-top: 0; width: 100%; }
    .profile-title-row {
        flex-direction: column;
        align-items: center;
    }
    .profile-title-row h1 { text-align: center; }
    .profile-slug-wrap { justify-content: center; }
    .profile-tags { justify-content: center; }
    .profile-bio-box { padding: 1.1rem; }
    .profile-bio-box::before { right: 0.65rem; font-size: 1.6rem; }
    .profile-bio { text-align: center; text-align-last: center; font-size: 0.95rem; }
    .profile-social-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    .profile-social-card {
        flex: 0 0 72%;
        min-width: 220px;
        scroll-snap-align: start;
    }
    .profile-tours-header { flex-direction: column; align-items: flex-start; }
    .dashboard-sidebar { transform: translateX(100%); transition: transform var(--transition); }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-right: 0; padding: 1.25rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-brand { max-width: none; }
    .footer-cta { order: -1; max-width: 280px; justify-self: center; }
    .footer-pills { gap: 0.5rem; }
    .data-table { overflow-x: auto; }
    .tour-detail-hero { height: 280px; }
    .tour-page-hero { min-height: 320px; }
    .tour-page-stats { margin-top: -1.5rem; }
    .tour-page-nav { top: 68px; border-radius: var(--radius); }
    .tour-info-grid { grid-template-columns: 1fr; }
    .tour-page-mobile-bar { display: flex; }
    .tour-page { padding-bottom: 6.5rem; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-payment-details { grid-template-columns: 1fr; }
    .cart-tour-card {
        grid-template-columns: 1fr;
    }
    .cart-tour-card-image {
        max-height: 200px;
        aspect-ratio: 16 / 9;
    }
    .cart-tour-card-side {
        text-align: right;
        border-top: 1px solid var(--border-light);
        padding-top: 1rem;
    }
    .cart-sidebar { position: static; }
    .tour-form-grid { grid-template-columns: 1fr; }
    .tour-form-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-form-info-grid { grid-template-columns: 1fr; }
    .services-items-field,
    .essential-items-field,
    .passenger-costs-field { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-form-info-field {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }
    .tour-form-info-field label {
        flex: none;
        max-width: none;
    }
    .form-grid-2 { grid-template-columns: 1fr; }
    .profile-media-preview { grid-template-columns: 1fr; }
    .profile-media-preview-box--avatar { margin: 0 auto; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .register-hero h1 { font-size: 1.15rem; }
    .register-card { padding: 1.25rem; }
}
