/* =====================================================
   PARSEGASHT / CITYNET v2.0 - Premium Design System (Parseh Gasht Brand)
   ===================================================== */

/* Keep icon text visible while the legacy local icon font is downloading. */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

/* ===== DESIGN TOKENS ===== */
:root {
    /* Colors - Parseh Gasht brand palette */
    --primary-50: #edf3f6;
    --primary-100: #dbe7ec;
    --primary-200: #c2d6de;
    --primary-300: #9ebbc7;
    --primary-400: #6d96a7;
    --primary-500: #22566e;
    --primary-600: #22566e;
    --primary-700: #102b4e;
    --primary-800: #102b4e;
    --primary-900: #102b4e;

    /* Colors - Accent (secondary teal; no competing orange system) */
    --accent-50: #edf3f6;
    --accent-100: #dbe7ec;
    --accent-400: #22566e;
    --accent-500: #1b4558;
    --accent-600: #163848;
    --accent-700: #102b4e;

    /* Colors - Neutrals (Slate) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #6b7f8e;
    --slate-600: #5d7180;
    --slate-700: #40576b;
    --slate-800: #203b57;
    --slate-900: #102b4e;

    /* Semantic */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Surfaces */
    --bg-body: #f7f8fa;
    --bg-surface: #ffffff;
    --bg-elevated: #ffffff;
    --bg-overlay: rgba(15, 23, 42, 0.75);

    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.8125rem;    /* 13px */
    --text-base: 0.875rem;   /* 14px */
    --text-md: 0.9375rem;    /* 15px */
    --text-lg: 1rem;         /* 16px */
    --text-xl: 1.125rem;     /* 18px */
    --text-2xl: 1.375rem;    /* 22px */
    --text-3xl: 1.75rem;     /* 28px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing Scale (8px base) */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;
    --sp-24: 96px;

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows (Multi-layer for depth) */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.04), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
    --shadow-2xl: 0 40px 80px rgba(15, 23, 42, 0.16), 0 12px 24px rgba(15, 23, 42, 0.08);
    --shadow-focus: 0 0 0 4px rgba(2, 132, 199, 0.15);
    --shadow-focus-danger: 0 0 0 4px rgba(239, 68, 68, 0.15);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
    --transition: all var(--duration-base) var(--ease-in-out);

    /* Layout */
    --container-max: 1280px;
    --container-pad: 24px;
    --header-height: 72px;
    --field-height: 52px;
}

/* Mehrad stability polish: readable actions over both hero and scrolled headers. */
.header-actions #reservation-menu a,
.header-actions #reservation-menu button,
.header-actions #reservation-menu .v-btn { color: #fff; }
.header.scrolled .header-actions #reservation-menu a,
.header.scrolled .header-actions #reservation-menu button,
.header.scrolled .header-actions #reservation-menu .v-btn { color: var(--slate-800, #0f172a); }
.header-actions #reservation-menu a:focus-visible,
.header-actions #reservation-menu button:focus-visible,
.header-actions .mobile-toggle:focus-visible { outline: 3px solid #fbbf24 !important; outline-offset: 3px; }
.hero { box-shadow: 0 24px 60px rgba(2, 132, 199, .18); }

/* ===== BASE ===== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'YekanBakhVF', 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; }

/* Selection */
::selection { background: var(--primary-200); color: var(--primary-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 10px;
    border: 2px solid var(--slate-100);
}
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 1000;
    height: calc(var(--header-height) + 12px);
    padding-top: 8px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    height: 68px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 1.6rem;
    font-weight: var(--fw-extrabold);
    color: var(--bg-surface);
    letter-spacing: -0.02em;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.header.scrolled .logo {
    background: transparent;
    border: none;
}

.logo img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-image-light { display: none; }
body.home .header:not(.scrolled) .logo-image-dark { display: none; }
body.home .header:not(.scrolled) .logo-image-light { display: block; }

.header.scrolled .logo { color: var(--primary-700); }

.logo i {
    font-size: 32px;
    color: var(--accent-400);
    transition: var(--transition);
}

.logo:hover i { transform: rotate(-12deg) scale(1.1); }

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.nav-menu li {
    position: relative;
    list-style: none;
}

.nav-menu a, .nav-menu li > a {
    color: rgba(255, 255, 255, 0.98);
    font-weight: var(--fw-bold);
    font-size: 1.08rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Submenu dropdown support for wp_nav_menu */
.nav-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    padding: var(--sp-2);
    min-width: 200px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid var(--slate-200);
}

.nav-menu li:hover > ul.sub-menu {
    display: flex;
}

.nav-menu ul.sub-menu a {
    color: var(--slate-800) !important;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius-md);
    width: 100%;
}

.nav-menu ul.sub-menu a:hover {
    background: var(--primary-50);
    color: var(--primary-700) !important;
}

.header.scrolled .nav-menu a, .header.scrolled .nav-menu li > a { color: var(--slate-700); }

.nav-menu a:hover, .nav-menu li > a:hover {
    color: var(--bg-surface);
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-menu a:hover, .header.scrolled .nav-menu li > a:hover {
    color: var(--primary-700);
    background: var(--primary-50);
}

.nav-menu a.active, .nav-menu li.current-menu-item > a {
    color: var(--accent-400);
    font-weight: var(--fw-bold);
}

.header.scrolled .nav-menu a.active, .header.scrolled .nav-menu li.current-menu-item > a {
    color: var(--primary-700);
    background: var(--primary-50);
}

.nav-menu a.special {
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--accent-400);
    font-weight: var(--fw-semibold);
}

.header.scrolled .nav-menu a.special {
    background: var(--accent-50);
    border-color: var(--accent-200, #fde68a);
    color: var(--accent-700);
}

.nav-menu a.special:hover {
    background: var(--accent-400);
    color: var(--slate-900);
    border-color: var(--accent-400);
    transform: translateY(-1px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--bg-surface);
    font-weight: var(--fw-bold);
    font-size: var(--text-base);
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.header.scrolled .header-phone-link {
    color: var(--primary-700);
    background: var(--primary-50);
}

.header-phone-link:hover {
    background: var(--bg-surface);
    color: var(--primary-700);
    transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: var(--fw-semibold);
    font-size: var(--text-base);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
    height: 42px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--bg-surface);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.header.scrolled .btn-outline {
    background: var(--bg-surface);
    color: var(--slate-700);
    border-color: var(--slate-200);
}

.btn-outline:hover {
    background: var(--bg-surface);
    color: var(--primary-700);
    border-color: var(--bg-surface);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .btn-outline:hover {
    border-color: var(--primary-600);
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--bg-surface);
    color: var(--primary-700);
}

.btn-light:hover {
    background: var(--slate-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--bg-surface);
    font-size: 20px;
    transition: var(--transition);
}

.header.scrolled .mobile-toggle { color: var(--slate-700); }

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .mobile-toggle:hover {
    background: var(--slate-100);
}

/* ===== SUB-HERO BANNER FOR INNER PAGES & SEARCH ===== */
.sub-hero {
    position: relative;
    min-height: 260px;
    height: 36vh;
    max-height: 340px;
    display: flex;
    align-items: center;
    padding: 120px 0 45px;
    background:
        radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.35), transparent 65%),
        linear-gradient(135deg, #0f172a 0%, #0077b6 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid var(--accent-400);
    margin-bottom: var(--sp-8);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

.sub-hero .sub-hero-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sub-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}

.sub-hero .breadcrumb a {
    color: var(--accent-300, #fde047);
    text-decoration: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    background:
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.25), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.15), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #0c4a6e 50%, #075985 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 6px 16px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-400);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--sp-6);
    animation: fadeInDown 0.6s var(--ease-out);
}

.hero-badge i { font-size: 14px; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: var(--fw-extrabold);
    color: var(--bg-surface);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-5);
    animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > .container > .hero-content > p {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-lg);
    max-width: 640px;
    margin: 0 auto var(--sp-10);
    line-height: 1.7;
    animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.22),
        0 8px 16px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: var(--sp-2);
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    min-height: auto;
    overflow: visible !important;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}


/* Citynet Vue Plugin Integration Styling */

/* Plugin routes keep the fixed header readable over their white app surface. */
body.page-template-app-templates .header {
    position: fixed;
    background: rgba(255, 255, 255, 0.96);
    color: var(--slate-800);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.page-template-app-templates {
    padding-top: calc(var(--header-height) + 12px);
}

body.page-template-app-templates .header .logo,
body.page-template-app-templates .header .nav-menu a,
body.page-template-app-templates .header .header-phone-link,
body.page-template-app-templates .header .mobile-toggle {
    color: var(--slate-800);
}

/* Citynet's panelHeader ships white controls; plugin routes have an opaque white header. */
body.page-template-app-templates .header #reservation-menu,
body.page-template-app-templates .header #reservation-menu .panelHeader,
body.page-template-app-templates .header #reservation-menu .panelHeader > div,
body.page-template-app-templates .header #reservation-menu .panelHeader .accountUser,
body.page-template-app-templates .header #reservation-menu .panelHeader .login,
body.page-template-app-templates .header #reservation-menu .panelHeader .signUp,
body.page-template-app-templates .header #reservation-menu .panelHeader .order,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--signIn,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--signUp,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--panelAdmin,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--trackOrder,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--order,
body.page-template-app-templates .header #reservation-menu .panelHeader .v-btn,
body.page-template-app-templates .header #reservation-menu .panelHeader .v-icon,
body.page-template-app-templates .header #reservation-menu .panelHeader i {
    color: var(--slate-800, #0f172a) !important;
}

body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--signUp,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--signIn,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--panelAdmin,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--trackOrder,
body.page-template-app-templates .header #reservation-menu .panelHeader .panelHeader__button--order,
body.page-template-app-templates .header #reservation-menu .panelHeader .login {
    border-color: var(--slate-300, #cbd5e1) !important;
}

/* Every non-home header uses the readable light-surface treatment from the first paint. */
body:not(.home):not(.front-page) .header {
    background: rgba(255, 255, 255, 0.96);
    color: var(--slate-800);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

body:not(.home):not(.front-page) .header-actions #reservation-menu,
body:not(.home):not(.front-page) .header-actions #reservation-menu a,
body:not(.home):not(.front-page) .header-actions #reservation-menu button,
body:not(.home):not(.front-page) .header-actions #reservation-menu .v-btn,
body:not(.home):not(.front-page) .header-actions #reservation-menu .v-icon,
body:not(.home):not(.front-page) .header-actions #reservation-menu i,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--signIn,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--signUp,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--panelAdmin,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--trackOrder {
    color: var(--slate-800, #0f172a) !important;
}

body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--signIn,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--signUp,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--panelAdmin,
body:not(.home):not(.front-page) .header-actions #reservation-menu .panelHeader__button--trackOrder,
body:not(.home):not(.front-page) .header-actions #reservation-menu .login {
    border-color: var(--slate-300, #cbd5e1) !important;
}

/* Citynet account menus use light list surfaces; keep their content readable on every header state. */
body .header #reservation-menu .v-menu__content .v-list-item__content,
body .header #reservation-menu .v-menu__content .v-list-item__title,
body .header #reservation-menu .v-menu__content .v-list-item__subtitle,
body .header #reservation-menu .panelHeader .v-list-item__content,
body .header #reservation-menu .panelHeader .v-list-item__title,
body .header #reservation-menu .panelHeader .v-list-item__subtitle {
    color: var(--slate-800, #0f172a) !important;
}

.citynet-plugin-box, #citynet-plugin-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
    min-height: 220px;
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--sp-6);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: visible !important;
    position: relative;
    z-index: 100;
}

/* The Citynet app is mounted directly on the homepage; keep its search surface
   separate from the dialog instead of nesting the app in a search-box wrapper. */
body.home .hero .container > #app {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 2.5rem auto;
    min-height: 220px;
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--sp-6);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 100;
    overflow: visible !important;
}

body.home #citynet-plugin-box,
body.home .citynet-plugin-box,
body.home .hero .container > #app {
    height: auto;
    max-height: none;
}

#app, .citynet-app {
    width: 100% !important;
    display: block !important;
    position: relative !important;
    overflow: visible !important;
}

/* Tabs */
.search-tabs {
    display: flex;
    gap: var(--sp-1);
    padding: var(--sp-2);
    border-bottom: 1px solid var(--slate-100);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.search-tabs::-webkit-scrollbar { display: none; }

.search-tab {
    flex: 1;
    min-width: 108px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    color: var(--slate-500);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    cursor: pointer;
    border: none;
    background: transparent;
    white-space: nowrap;
    position: relative;
}

.search-tab i { font-size: 15px; transition: var(--transition); }

.search-tab:hover {
    background: var(--slate-100);
    color: var(--slate-700);
}

.search-tab:hover i { color: var(--primary-600); }

.search-tab.active {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--bg-surface);
    box-shadow:
        0 4px 12px rgba(2, 132, 199, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-tab.active i { color: var(--accent-400); }

/* Panels */
.search-panel {
    display: none;
    padding: var(--sp-6);
}

.search-panel.active {
    display: block;
    animation: fadeIn 0.35s var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SEARCH FORM ===== */
.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
    align-items: end;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    text-align: right;
    min-width: 0;
}

.form-group > label {
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--slate-500);
    padding-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 16px;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== SEGMENTED CONTROL ===== */
.segmented {
    display: flex;
    gap: 3px;
    height: var(--field-height);
    padding: 4px;
    background: var(--slate-100);
    border-radius: var(--radius-md);
}

.segmented label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--slate-500);
    transition: var(--transition);
    white-space: nowrap;
    padding: 0 var(--sp-3);
}

.segmented label input { display: none; }

.segmented label:hover { color: var(--primary-700); }

.segmented label:has(input:checked) {
    background: var(--bg-surface);
    color: var(--primary-700);
    box-shadow: var(--shadow-sm);
}

/* ===== INPUTS & SELECTS ===== */
.form-group input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
.form-group select {
    width: 100%;
    height: var(--field-height);
    padding: 0 var(--sp-4) 0 var(--sp-10);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--slate-800);
    background: var(--bg-surface);
    transition: var(--transition);
    line-height: normal;
    cursor: pointer;
}

.form-group input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):hover,
.form-group select:hover {
    border-color: var(--slate-300);
}

.form-group input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):focus,
.form-group select:focus {
    border-color: var(--primary-600);
    box-shadow: var(--shadow-focus);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 14px;
}

/* ===== DATE BUTTON ===== */
.date-group { position: relative; z-index: 1; }

.date-btn {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    width: 100%;
    height: var(--field-height);
    padding: 0 var(--sp-4) 0 var(--sp-3);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--slate-800);
    transition: var(--transition);
    text-align: right;
    cursor: pointer;
    position: relative;
}

.date-btn:hover {
    border-color: var(--slate-300);
    background: var(--slate-50);
}

.date-btn.active {
    border-color: var(--primary-600);
    box-shadow: var(--shadow-focus);
    background: var(--bg-surface);
}

.date-btn > i {
    color: var(--primary-600);
    font-size: 16px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.date-btn:hover > i,
.date-btn.active > i {
    background: var(--primary-100);
}

.date-btn .date-text {
    flex: 1;
    font-weight: var(--fw-medium);
    color: var(--slate-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-btn .date-text.filled {
    color: var(--slate-800);
    font-weight: var(--fw-semibold);
}

.date-btn .clear-btn {
    width: 22px; height: 22px;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    color: var(--slate-500);
    font-size: 10px;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.date-btn .date-text.filled ~ .clear-btn { display: flex; }

.date-btn .clear-btn:hover {
    background: var(--danger);
    color: var(--bg-surface);
}

/* ===== CHECK CHIPS ===== */
.inline-checks {
    display: flex;
    gap: var(--sp-2);
    height: var(--field-height);
    align-items: stretch;
}

.check-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0 var(--sp-4);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--slate-600);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-surface);
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.check-chip:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
    color: var(--primary-700);
}

.check-chip:has(input:checked) {
    border-color: var(--primary-600);
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: var(--fw-semibold);
    box-shadow: var(--shadow-xs);
}

.check-chip input { display: none; }

.check-chip i { font-size: 13px; }

/* ===== SEARCH BUTTON ===== */
.search-btn {
    height: var(--field-height);
    padding: 0 var(--sp-6);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--bg-surface);
    border-radius: var(--radius-md);
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    cursor: pointer;
    border: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 24px rgba(2, 132, 199, 0.35),
        0 4px 8px rgba(2, 132, 199, 0.2);
}

.search-btn:hover::before {
    transform: translateX(100%);
}

.search-btn:active { transform: translateY(0); }

/* ===== PACKAGE SERVICES LIST ===== */
.package-services-list {
    margin-top: var(--sp-6);
    padding: var(--sp-5);
    background: linear-gradient(135deg, var(--primary-50), var(--bg-surface));
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-lg);
}

.package-services-list h4 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--primary-700);
    margin-bottom: var(--sp-4);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.package-services-list h4 i { font-size: 16px; }

.package-services-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-3) var(--sp-5);
}

.package-services-list li {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--slate-700);
    font-weight: var(--fw-medium);
}

.package-services-list li i {
    color: var(--primary-600);
    font-size: 11px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== STATS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--sp-6);
    margin-top: var(--sp-16);
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.stat-item { text-align: center; color: var(--bg-surface); }

.stat-item .num {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: var(--fw-extrabold);
    color: var(--accent-400);
    display: block;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-item .label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--sp-1);
    font-weight: var(--fw-medium);
}

/* ===== SECTIONS ===== */
.section { padding: var(--sp-24) 0; }

.section-header {
    text-align: center;
    margin-bottom: var(--sp-16);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--primary-100);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-extrabold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
    color: var(--slate-900);
    line-height: 1.2;
}

.section-header p {
    color: var(--slate-500);
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* Value Proposition Bar */
.value-proposition-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--sp-6);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--sp-5) var(--sp-8);
    margin-top: var(--sp-6);
    color: #ffffff;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-400, #fbbf24);
}

.value-item strong {
    display: block;
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    color: #ffffff;
}

.value-item span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 992px) {
    .value-proposition-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-4);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    border: 1.5px solid var(--slate-100);
    transition: var(--transition);
    cursor: pointer;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto var(--sp-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-lg);
    color: var(--bg-surface);
    font-size: 26px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: var(--text-base);
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-600);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--accent-600);
    gap: 10px;
}

/* ===== SPECIAL SERVICES ===== */
.special-services { background: var(--bg-surface); }

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-6);
}

.special-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    color: var(--bg-surface);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.special-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--duration-slow) var(--ease-out);
    z-index: 0;
}

.special-card:hover::before { transform: scale(1.08); }

.special-card.taxi::before {
    background-image:
        linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%),
        url('../images/taxi-rooz.jpg');
}

.special-card.safarcar::before {
    background-image:
        linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%),
        url('../images/safarcar.jpg');
}

.special-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-8);
    width: 100%;
}

.special-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    font-size: 24px;
    margin-bottom: var(--sp-4);
    color: var(--slate-900);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.special-content h3 {
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--sp-2);
    color: var(--bg-surface);
    letter-spacing: -0.02em;
}

.special-content p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--sp-5);
    line-height: 1.7;
    max-width: 400px;
}

.special-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 12px 24px;
    background: var(--bg-surface);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-weight: var(--fw-bold);
    font-size: var(--text-base);
    transition: var(--transition);
}

.special-card:hover .special-btn {
    background: var(--accent-400);
    color: var(--slate-900);
    transform: translateX(-4px);
}

/* ===== WHY US ===== */
.why-us {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.92) 0%, rgba(3, 105, 161, 0.88) 100%),
                url('../images/why-us-bg.jpg') center/cover no-repeat fixed;
    color: var(--bg-surface);
    position: relative;
    overflow: hidden;
    padding: var(--sp-16) 0;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-us .section-header h2 { color: var(--bg-surface); }
.why-us .section-header p { color: rgba(255, 255, 255, 0.8); }
.why-us .badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-400);
    border-color: rgba(255, 255, 255, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-8);
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    padding: var(--sp-6);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.35);
}

.feature i {
    font-size: 32px;
    color: var(--accent-400);
    margin-bottom: var(--sp-4);
    display: inline-block;
    transition: var(--transition);
}

.feature:hover i { transform: scale(1.15) rotate(-8deg); }

.feature h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-2);
}

.feature p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta { padding: 0; }

.cta-inner {
    position: relative;
    background:
        linear-gradient(135deg, rgba(3, 105, 161, 0.92), rgba(7, 89, 133, 0.88)),
        url('../images/cta-bg.jpg') center/cover;
    background-blend-mode: multiply;
    border-radius: var(--radius-2xl);
    padding: var(--sp-16) var(--sp-10);
    text-align: center;
    color: var(--bg-surface);
    max-width: 1232px;
    margin: 0 auto;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.12), transparent 60%);
}

/* Serve smaller modern image assets where supported; keep the JPG declarations above as fallback. */
@supports (background-image: url('../images/hero-bg.webp')) {
    .sub-hero::before,
    .hero::before {
        background-image: url('../images/hero-bg.webp');
    }

    .why-us {
        background-image: linear-gradient(135deg, rgba(12, 74, 110, 0.92) 0%, rgba(3, 105, 161, 0.88) 100%),
                         url('../images/why-us-bg.webp');
    }

    .cta-inner {
        background-image: linear-gradient(135deg, rgba(3, 105, 161, 0.92), rgba(7, 89, 133, 0.88)),
                          url('../images/cta-bg.webp');
    }
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--sp-8);
    font-size: var(--text-lg);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--sp-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--slate-900);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--sp-20) 0 0;
    margin-top: var(--sp-24);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: var(--sp-10);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--bg-surface);
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    margin-bottom: var(--sp-5);
    letter-spacing: -0.01em;
}

.footer-col p {
    font-size: var(--text-base);
    line-height: 1.9;
    margin-bottom: var(--sp-4);
    color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xl);
    font-weight: var(--fw-extrabold);
    color: var(--bg-surface);
    margin-bottom: var(--sp-4);
    letter-spacing: -0.02em;
}

.footer-logo i { color: var(--accent-400); font-size: 24px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer-links a {
    font-size: var(--text-base);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: rgba(255, 255, 255, 0.65);
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent-400);
    transform: translateX(-4px);
}

.footer-links a.highlight {
    color: var(--accent-400);
    font-weight: var(--fw-semibold);
}

.footer-links a.highlight:hover { color: var(--accent-500); }

.footer-contact { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--text-base);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact i {
    color: var(--accent-400);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 14px;
}

.newsletter {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}

.newsletter input {
    flex: 1;
    padding: 12px var(--sp-4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--bg-surface);
    font-size: var(--text-base);
    transition: var(--transition);
    min-width: 0;
}

.newsletter input:focus {
    border-color: var(--primary-500);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.newsletter input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter button {
    padding: 12px 20px;
    background: var(--primary-600);
    color: var(--bg-surface);
    border-radius: var(--radius-md);
    font-weight: var(--fw-semibold);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: var(--text-base);
    white-space: nowrap;
}

.newsletter button:hover {
    background: var(--primary-500);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

.social-links a {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-surface);
    transition: var(--transition);
    font-size: 15px;
}

.social-links a:hover {
    background: var(--primary-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.35);
}

.footer-bottom {
    padding: var(--sp-6) 0;
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-10) var(--sp-6);
}

.mobile-nav.active {
    display: flex;
    animation: fadeIn 0.3s var(--ease-out);
}

.mobile-nav a {
    color: var(--bg-surface);
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    padding: 12px var(--sp-6);
    transition: var(--transition);
    border-radius: var(--radius-full);
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--accent-400);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav a.special {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-400);
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-size: var(--text-lg);
}

.mobile-nav a.special:hover {
    background: var(--accent-400);
    color: var(--slate-900);
    border-color: var(--accent-400);
}

.mobile-nav .close-btn {
    position: absolute;
    top: var(--sp-6);
    left: var(--sp-6);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bg-surface);
    cursor: pointer;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-nav .close-btn:hover {
    color: var(--accent-400);
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .search-form { grid-template-columns: repeat(2, 1fr); }
    .col-3, .col-4 { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
    .nav-menu { gap: 0; }
    .nav-menu a { padding: var(--sp-2) var(--sp-3); font-size: var(--text-sm); }
}

@media (max-width: 768px) {
    :root { --container-pad: 20px; --header-height: 64px; }

    .section { padding: var(--sp-16) 0; }
    .section-header { margin-bottom: var(--sp-10); }

    .nav-menu,
    .header-actions .btn-outline { display: none; }

    .mobile-toggle {
        display: flex;
    }

    .header {
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .header.scrolled {
        background: #ffffff;
    }

    .header.scrolled .logo,
    .header.scrolled .mobile-toggle { color: var(--slate-800); }

    .hero { padding: 100px 0 60px; min-height: auto; }

    .search-box { border-radius: var(--radius-xl); }
    .search-panel { padding: var(--sp-4); }
    .search-tabs { padding: var(--sp-1); }

    .cta-inner { padding: var(--sp-12) var(--sp-6); }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    .footer { padding: var(--sp-12) 0 0; margin-top: var(--sp-16); }

    .special-grid { grid-template-columns: 1fr; }
    .special-card { min-height: 280px; }
    .special-content { padding: var(--sp-6); }
    .special-content h3 { font-size: var(--text-xl); }
}

@media (max-width: 560px) {
    .search-form { grid-template-columns: 1fr; gap: var(--sp-3); }
    .col-1, .col-2, .col-3, .col-4 { grid-column: span 1; }

    .search-tab span { display: inline-block; font-size: var(--text-xs); }
    .search-tab { min-width: auto; padding: 8px 12px; gap: 4px; }
    .search-tab i { font-size: 14px; }

    .segmented label { font-size: 11px; padding: 0 6px; }
    .check-chip { padding: 0 10px; font-size: var(--text-xs); }
    .check-chip span { display: inline-block; }
    .check-chip i { font-size: 14px; }

    .package-services-list ul { grid-template-columns: 1fr; }
    .value-proposition-bar { padding: var(--sp-4); gap: var(--sp-4); }
    .value-item { flex-direction: row; gap: 0.75rem; }
    .value-item i { font-size: 1.5rem; }
    .value-item strong { font-size: 0.95rem; }
    .value-item span { font-size: 0.78rem; }
}

/* ===== UTILITIES & PAGE ENHANCEMENTS ===== */
.hidden { display: none !important; }
.text-center { text-align: center; }

:focus-visible {
    outline: 2px solid var(--primary-600);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ===== INNER PAGES STYLING (Contact, About, Tour Search) ===== */
.main-title h1, .page-title {
    color: var(--slate-900);
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: var(--sp-3);
}

.main-title h1::after, .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
    border-radius: var(--radius-full);
}

.contact-page .wrapper,
.about-page .main-article-format {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
}

.contact-page .contact-info ul li {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
    font-size: var(--text-base);
}

.contact-page .contact-info ul li:last-child {
    border-bottom: none;
}

.contact-page .contact-info i {
    color: var(--primary-600);
    background: var(--primary-50);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
}

#map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--sp-6);
}

#map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Tour search & cards */
#tour-search {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--sp-6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--slate-200);
    margin-bottom: var(--sp-8);
}

#tour-search .form-group label {
    font-weight: var(--fw-semibold);
    color: var(--slate-700);
    margin-bottom: var(--sp-2);
}

#tour-search .form-control {
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-300);
    min-height: 44px;
    padding: 0.5rem 1rem;
}

#tour-search .btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--bg-surface);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-weight: var(--fw-bold);
    transition: var(--transition);
    width: 100%;
}

#tour-search .btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== PARSEH GASHT HOMEPAGE BRAND PASS =====
   Keep the Citynet application styles above intact, while giving the public
   landing page a flat, navy/teal visual system with no gradient surfaces. */
body.home {
    --brand-navy: #102b4e;
    --brand-teal: #22566e;
    --brand-ink: #231f20;
    --brand-soft: #edf3f6;
    --brand-line: #c2d6de;
}

body.home .hero {
    background: var(--brand-navy);
}

body.home .hero::before {
    opacity: 0.14;
    mask-image: none;
    -webkit-mask-image: none;
}

body.home .hero::after { display: none; }

body.home .hero h1 span {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: var(--brand-soft);
}

body.home .hero > .container > .hero-content > p { margin-bottom: var(--sp-4); }

body.home .hero-badge {
    background: rgba(237, 243, 246, 0.1);
    border-color: rgba(194, 214, 222, 0.55);
    color: var(--brand-soft);
    margin: 0 auto var(--sp-8);
}

body.home .hero-badge i { color: var(--brand-soft); }

body.home .value-proposition-bar {
    background: rgba(16, 43, 78, 0.7);
    border-color: rgba(194, 214, 222, 0.45);
    backdrop-filter: none;
}

body.home .value-item i { color: var(--brand-soft); }

body.home .search-tab.active,
body.home .search-btn {
    background: var(--brand-navy);
}

body.home .search-btn::before { display: none; }

body.home .package-services-list { background: var(--brand-soft); }

body.home .service-card::before { background: var(--brand-teal); }

body.home .service-icon {
    background: var(--brand-teal);
    box-shadow: 0 8px 20px rgba(16, 43, 78, 0.2);
}

body.home .service-card:hover .service-icon {
    box-shadow: 0 12px 28px rgba(16, 43, 78, 0.28);
}

body.home .special-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16, 43, 78, 0.62);
    z-index: 1;
    pointer-events: none;
}

body.home .special-card.taxi::before {
    background-image: url('../images/taxi-rooz.jpg');
}

body.home .special-card.safarcar::before {
    background-image: url('../images/safarcar.jpg');
}

body.home .special-icon {
    background: var(--brand-teal);
    color: var(--brand-soft);
    border: 1px solid rgba(237, 243, 246, 0.55);
    box-shadow: 0 8px 20px rgba(16, 43, 78, 0.3);
}

body.home .special-icon img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

body.home .special-btn {
    color: var(--brand-navy);
}

body.home .special-card:hover .special-btn {
    background: var(--brand-soft);
    color: var(--brand-navy);
}

body.home .why-us {
    background: url('../images/why-us-bg.jpg') center/cover no-repeat;
}

body.home .why-us::before {
    inset: 0;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: rgba(16, 43, 78, 0.72);
}

body.home .why-us .container { position: relative; z-index: 1; }
body.home .why-us .badge { color: var(--brand-soft); }
body.home .feature { background: rgba(255, 255, 255, 0.08); }
body.home .feature:hover { border-color: rgba(194, 214, 222, 0.75); }
body.home .feature i { color: var(--brand-soft); }

body.home .cta-inner {
    background: var(--brand-teal);
    background-image: none;
}

body.home .cta-inner::before { display: none; }

body.home .cta-inner .btn-light {
    background: var(--brand-soft);
    color: var(--brand-navy);
    border-color: var(--brand-soft);
}

body.home .section-header h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
body.home .section-header p { font-size: clamp(1rem, 1.5vw, 1.125rem); }
body.home .section-header .badge { color: var(--brand-teal); }

body.home .footer {
    background: var(--brand-navy);
}

body.home .footer-logo img { max-height: 58px !important; width: auto; }
body.home .footer-col h4 { color: var(--brand-soft); }
body.home .footer-links a:hover,
body.home .footer-links a.highlight,
body.home .footer-contact i { color: var(--brand-soft); }
body.home .social-links a:hover { background: var(--brand-teal); }

.footer-logo img {
    display: block;
    width: auto;
    max-height: 58px !important;
}

.platform-link { gap: 10px !important; }

.platform-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    background: rgba(237, 243, 246, 0.12);
    border: 1px solid rgba(194, 214, 222, 0.35);
}

.platform-mark img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.social-bale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.9em;
    font-weight: var(--fw-bold);
    line-height: 1;
}

/* The homepage is intentionally flat: remove legacy gradient paint from all
   landing-page surfaces without changing the Citynet result pages. */
body.home .service-card::before,
body.home .service-icon,
body.home .search-tab.active,
body.home .search-btn,
body.home .package-services-list,
body.home .cta-inner { background-image: none; }

.isotope {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.isotope .content-box, .isotope .service-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: all 0.25s ease;
}

.isotope .content-box:hover, .isotope .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

@media print {
    .header, .mobile-nav, .footer, .cta { display: none; }
    body { background: white; color: black; }
}

/* =====================================================
   COUNTER (تعداد مسافر / اتاق)
   ===================================================== */
.counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    height: var(--field-height);
    padding: 4px;
    background: var(--slate-100);
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    transition: var(--transition);
}

.counter:focus-within {
    border-color: var(--primary-600);
    background: var(--bg-surface);
    box-shadow: var(--shadow-focus);
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--primary-700);
    font-size: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--slate-200);
    flex-shrink: 0;
}

.counter-btn:hover:not(:disabled) {
    background: var(--primary-600);
    color: var(--bg-surface);
    border-color: var(--primary-600);
    transform: scale(1.05);
}

.counter-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.counter-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: var(--slate-100);
}

.counter-value {
    flex: 1;
    text-align: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    color: var(--slate-900);
    user-select: none;
    min-width: 24px;
}

/* =====================================================
   RESPONSIVE - Counter adjustments
   ===================================================== */
@media (max-width: 560px) {
    .counter {
        height: 46px;
    }

    .counter-btn {
        width: 32px;
        height: 32px;
    }

    .counter-value {
        font-size: var(--text-base);
    }
}
