:root {
            --primary: #b45309;
            --primary-dark: #7c2d12;
            --primary-light: #f7f0e4;
            --secondary: #8b5e34;
            --accent: #f59e0b;
            --dark: #1c1917;
            --gray: #57534e;
            --light: #f7f2e9;
            --white: #fffdf8;
            --green: #047857;
            --green-light: rgba(16, 185, 129, 0.12);
            --header-bg: rgba(255, 253, 248, 0.9);
            --card-bg: rgba(255, 253, 248, 0.78);
            --border: rgba(28, 25, 23, 0.08);
            --text: #1c1917;
            --text-light: #6b5b4d;
            --hover-bg: #f3eadf;
            --shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
            --shadow-sm: 0 10px 30px rgba(28, 25, 23, 0.08);
            --shadow-md: 0 12px 34px rgba(28, 25, 23, 0.1);
            --shadow-lg: 0 18px 44px rgba(28, 25, 23, 0.14);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-full: 9999px;
            --header-offset: 128px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background:
                radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 24rem),
                linear-gradient(180deg, #f7f2e9 0%, #f3efe8 42%, #efe8dc 100%);
            color: var(--dark);
            line-height: 1.5;
        }

        .page {
            max-width: 1300px;
            margin: 0 auto;
            padding: calc(var(--header-offset) + 12px) 20px 40px;
            width: 100%;
            overflow-x: hidden;
        }

        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 2000;
            padding: 18px 16px 0;
            background: transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* ========== Header ========== */
        .top-bar {
            width: min(calc(100% - 32px), 1180px);
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 16px;
            padding: 14px 20px;
            border: 1px solid rgba(28, 25, 23, 0.08);
            border-radius: 24px;
            backdrop-filter: blur(16px);
            background: rgba(255, 253, 248, 0.9);
            box-shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
            flex-wrap: wrap;
        }

        .logo-area,
        .logo {
            display: inline-flex;
            align-items: center;
            gap: 14px;
        }

        .logo {
            text-decoration: none;
        }

        .logo-icon {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--accent-dark), var(--accent-soft));
            color: #fff;
            font-family: "Montserrat", "Arial Black", sans-serif;
            font-size: 1.4rem;
            font-weight: 800;
            overflow: hidden;
            flex-shrink: 0;
        }

        .logo-text {
            display: grid;
            gap: 2px;
        }

        .logo-text h1,
        .logo-text strong {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(18px, 4vw, 22px);
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
            margin: 0;
        }

        .logo-text span {
            color: var(--text-light);
            font-size: 0.78rem;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            display: block;
        }

        .license-mini {
            display: grid;
            gap: 2px;
            padding-left: 16px;
            border-left: 1px solid var(--line);
            font-size: 0.78rem;
            color: var(--muted);
        }

        .license-mini strong {
            color: var(--text);
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .partner-badge {
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 999px;
            background: rgba(16, 185, 129, 0.12);
            color: #047857;
            border: 1px solid rgba(16, 185, 129, 0.2);
            font-weight: 700;
            font-size: 0.8rem;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
            margin-left: auto;
        }

        .nav-item {
            position: relative;
            padding-bottom: 10px;
            margin-bottom: -10px;
        }

        .nav-links a {
            font-weight: 700;
            color: var(--ink-soft);
            text-decoration: none;
        }

        .nav-item > a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 36px;
        }

        .nav-item > a[href="#"]::after {
            content: "\25BE";
            font-size: 0.58rem;
            opacity: 0.7;
        }

        .nav-item > a:not([href="#"])::after {
            content: none;
        }

        .simple-dropdown {
            position: absolute;
            top: calc(100% - 2px);
            left: 0;
            min-width: 240px;
            padding: 8px 0;
            border-radius: 16px;
            background: rgba(255, 253, 248, 0.98);
            border: 1px solid rgba(28, 25, 23, 0.08);
            box-shadow: 0 16px 36px rgba(28, 25, 23, 0.12);
            display: none;
        }

        .nav-item:hover .simple-dropdown,
        .nav-item:focus-within .simple-dropdown {
            display: block;
        }

        .simple-dropdown a {
            display: block;
            padding: 10px 14px;
            font-size: 0.86rem;
        }

        .simple-dropdown a:hover {
            background: var(--hover-bg);
            color: var(--primary);
        }

        .phone-menu {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .phone-item {
            font-size: 0.92rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 999px;
            border: 1px solid rgba(180, 83, 9, 0.28);
            background: rgba(245, 158, 11, 0.1);
            color: var(--primary-dark);
        }

        /* ========== Main Nav ========== */
        .main-nav {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 8px 15px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            margin-bottom: 15px;
            width: 100%;
            gap: 12px;
        }

        .main-nav-home {
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            padding: 0 14px;
            border-radius: 999px;
            background: rgba(124, 45, 18, 0.08);
            border: 1px solid rgba(124, 45, 18, 0.14);
            color: var(--primary-dark);
            text-decoration: none;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.02em;
            white-space: nowrap;
            flex: 0 0 auto;
            order: 1;
        }

        .main-nav-home:hover {
            background: rgba(124, 45, 18, 0.12);
            color: var(--primary-dark);
        }

        .categories {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            flex: 1 1 0;
            min-width: 0;
            justify-content: center;
            order: 2;
        }

        .category-item {
            position: relative;
            font-weight: 600;
            font-size: 12px;
            color: var(--text);
            flex: 0 0 auto;
        }

        .category-item>span {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 6px 2px;
            cursor: default;
        }

        .category-item>span::after {
            content: "\25BE";
            font-size: 12px;
            opacity: 0.5;
        }

        .mega-menu {
            position: absolute;
            top: 100%;
            left: -50px;
            width: 900px;
            max-width: min(900px, calc(100vw - 48px));
            background: #fff8ed;
            border-radius: 16px;
            box-shadow: var(--shadow);
            padding: 20px;
            display: none;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            z-index: 1000;
            max-height: 500px;
            overflow-y: auto;
            border: 1px solid var(--border);
            font-size: 12px;
        }

        .category-item:hover .mega-menu {
            display: grid;
        }

        .category-item:nth-last-child(-n+3) .mega-menu {
            left: auto;
            right: 0;
        }

        .prof-group {
            break-inside: avoid;
        }

        .prof-group-title {
            font-weight: 700;
            color: var(--primary);
            font-size: 13px;
            margin-bottom: 5px;
            padding-bottom: 3px;
            border-bottom: 2px solid var(--border);
        }

        .prof-subgroup {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .prof-subgroup a {
            display: block;
            padding: 3px 5px;
            font-size: 12px;
            color: var(--text);
            text-decoration: none;
            border-radius: 4px;
            word-break: break-word;
        }

        .prof-subgroup a:hover {
            background: var(--hover-bg);
            color: var(--primary);
        }

        .btn-request-nav {
            background: linear-gradient(135deg, #ef4444, #f97316);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 13px;
            cursor: pointer;
            white-space: nowrap;
            box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
            flex: 0 0 auto;
            order: 3;
            margin-left: auto;
        }

        .hero {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-xl);
            padding: 50px;
            margin: 20px 0 30px;
            color: white;
            position: relative;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L100 100 M100 0 L0 100" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
            opacity: 0.1;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
        }

        .hero-content,
        .hero-media {
            transition: opacity 0.32s ease, transform 0.32s ease;
            will-change: transform, opacity;
        }

        .hero-content.slide-out,
        .hero-media.slide-out {
            opacity: 0;
            transform: translateX(-28px);
        }

        .hero-content.slide-in,
        .hero-media.slide-in {
            opacity: 0;
            transform: translateX(28px);
        }

        .hero-media {
            position: relative;
            z-index: 1;
            width: 420px;
            height: 260px;
            flex: 0 0 420px;
            max-width: 42%;
            display: flex;
            justify-content: flex-end;
            overflow: hidden;
            border-radius: 14px;
            border: 1px solid rgba(255,255,255,0.35);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
            background: rgba(255,255,255,0.12);
        }

        .hero-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 30px;
        }

        .hero p {
            margin-bottom: 0;
        }

        /* ========== Footer ========== */
footer {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 2px solid #e2e8f0;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 28px;
            box-shadow: var(--shadow-sm);
            padding: 28px;
        }

        .footer-col h4 {
            font-size: 16px;
            color: var(--dark);
            margin-bottom: 15px;
            font-weight: 700;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col li {
            margin-bottom: 8px;
        }

        .footer-col a {
            color: var(--gray);
            text-decoration: none;
            font-size: 13px;
            transition: color 0.2s;
        }

        .footer-col a:hover {
            color: var(--primary);
        }

        .footer-col p {
            color: var(--gray);
            font-size: 13px;
            margin-bottom: 8px;
        }

        .footer-col .phone {
            font-weight: 600;
            color: var(--primary);
            font-size: 16px;
            margin: 10px 0 5px;
        }

        .footer-col .email {
            color: var(--primary);
            text-decoration: underline;
        }

        .footer-bottom {
            grid-column: 1 / -1;
            text-align: center;
            color: var(--gray);
            font-size: 12px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
        }

        .shared-lead-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(28, 25, 23, 0.56);
            z-index: 4000;
        }

        .shared-lead-modal.is-open {
            display: flex;
        }

        .shared-lead-modal__dialog {
            width: min(100%, 460px);
            background: rgba(255, 253, 248, 0.98);
            border: 1px solid rgba(28, 25, 23, 0.08);
            border-radius: 24px;
            box-shadow: 0 24px 60px rgba(28, 25, 23, 0.22);
            padding: 28px;
        }

        .shared-lead-modal__title {
            font-family: 'Montserrat', sans-serif;
            font-size: 26px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
        }

        .shared-lead-modal__text {
            color: var(--gray);
            font-size: 14px;
            margin-bottom: 18px;
        }

        .shared-lead-modal__form {
            display: grid;
            gap: 12px;
        }

        .shared-lead-modal__input {
            width: 100%;
            border: 1px solid rgba(28, 25, 23, 0.12);
            border-radius: 14px;
            padding: 14px 16px;
            background: #fff;
            color: var(--dark);
            font: inherit;
        }

        .shared-lead-modal__input:focus {
            outline: none;
            border-color: rgba(180, 83, 9, 0.45);
            box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
        }

        .shared-lead-modal__submit {
            border: none;
            border-radius: 999px;
            padding: 14px 18px;
            font: inherit;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #ef4444, #f97316);
            cursor: pointer;
            box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
        }

        .shared-lead-modal__submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        @media (max-width: 900px) {
            .top-bar {
                flex-wrap: wrap;
            }
            .nav-links {
                margin-left: 0;
                width: 100%;
                justify-content: center;
            }
            .phone-menu {
                width: 100%;
                justify-content: center;
            }
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .professions-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            footer {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .hero h1 {
                font-size: 32px;
            }
            .hero-media {
                display: none;
            }
            .consult-form-row {
                flex-direction: column;
            }
            .shared-lead-modal__dialog {
                padding: 22px 18px;
            }
        }
