:root {
            --primary: #075985;
            --primary-dark: #064663;
            --primary-soft: #e7f4f8;

            --secondary: #78b85f;
            --secondary-dark: #5e9b48;
            --secondary-soft: #eff8eb;

            --accent: #0f766e;

            --text: #17313b;
            --text-soft: #5d7078;
            --text-light: #809098;

            --background: #f7fbfc;
            --surface: #ffffff;
            --surface-soft: #f1f7f8;

            --border: #dce8eb;
            --border-strong: #c9dade;

            --danger: #b42318;
            --success: #25855a;

            --shadow-sm:
                0 6px 20px rgba(7, 89, 133, 0.07);

            --shadow-md:
                0 18px 45px rgba(7, 89, 133, 0.11);

            --shadow-lg:
                0 30px 70px rgba(7, 89, 133, 0.16);

            --radius-sm: 12px;
            --radius-md: 18px;
            --radius-lg: 28px;
            --radius-xl: 38px;

            --container: 1180px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            font-family:
                Inter,
                ui-sans-serif,
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;
            background: var(--background);
            color: var(--text);
            line-height: 1.5;
            overflow-x: hidden;
        }

        body.menu-open {
            overflow: hidden;
        }

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

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

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

        button {
            border: 0;
        }

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

        .section {
            padding: 96px 0;
        }

        .section-soft {
            background: var(--surface-soft);
        }

        .section-heading {
            max-width: 680px;
            margin-bottom: 44px;
        }

        .section-heading.center {
            margin-right: auto;
            margin-left: auto;
            text-align: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            color: var(--primary);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .eyebrow::before {
            width: 26px;
            height: 2px;
            border-radius: 999px;
            background: var(--secondary);
            content: "";
        }

        h1,
        h2,
        h3 {
            letter-spacing: -0.035em;
            line-height: 1.08;
        }

        h1 {
            font-size: clamp(2.7rem, 5.7vw, 5.5rem);
        }

        h2 {
            margin-bottom: 16px;
            font-size: clamp(2rem, 4vw, 3.55rem);
        }

        h3 {
            font-size: 1.3rem;
        }

        .section-description {
            color: var(--text-soft);
            font-size: 1.05rem;
            line-height: 1.75;
        }

        .btn {
            display: inline-flex;
            min-height: 48px;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 0 22px;
            border: 1px solid transparent;
            border-radius: 999px;
            cursor: pointer;
            font-weight: 750;
            transition:
                transform 180ms ease,
                box-shadow 180ms ease,
                background 180ms ease,
                border-color 180ms ease;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 12px 28px rgba(7, 89, 133, 0.2);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
        }

        .btn-secondary {
            border-color: var(--border);
            background: #fff;
            color: var(--primary);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
        }

        .btn-light {
            background: #fff;
            color: var(--primary);
        }

        .btn-block {
            width: 100%;
        }

        .icon {
            width: 20px;
            height: 20px;
            flex: none;
        }

        /* Header */

        .header {
            position: sticky;
            z-index: 1000;
            top: 0;
            border-bottom: 1px solid rgba(220, 232, 235, 0.85);
            background: rgba(247, 251, 252, 0.88);
            backdrop-filter: blur(18px);
        }

        .header-inner {
            display: flex;
            min-height: 78px;
            align-items: center;
            justify-content: space-between;
            gap: 28px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            flex: none;
        }

        .brand-mark {
            width: 44px;
            height: 44px;
        }

        .brand-name {
            color: var(--primary);
            font-size: 1.65rem;
            font-weight: 850;
            letter-spacing: -0.04em;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav a {
            color: var(--text-soft);
            font-size: 0.95rem;
            font-weight: 650;
            transition: color 160ms ease;
        }

        .nav a:hover {
            color: var(--primary);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-toggle {
            display: none;
            width: 46px;
            height: 46px;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 50%;
            background: #fff;
            color: var(--primary);
            cursor: pointer;
        }

        /* Hero */

        .hero {
            position: relative;
            padding: 70px 0 76px;
            overflow: hidden;
        }

        .hero::before {
            position: absolute;
            z-index: -1;
            top: -260px;
            right: -240px;
            width: 720px;
            height: 720px;
            border-radius: 50%;
            background:
                radial-gradient(
                    circle,
                    rgba(120, 184, 95, 0.22),
                    rgba(120, 184, 95, 0.03) 68%,
                    transparent 70%
                );
            content: "";
        }

        .hero::after {
            position: absolute;
            z-index: -1;
            bottom: -350px;
            left: -300px;
            width: 700px;
            height: 700px;
            border-radius: 50%;
            background:
                radial-gradient(
                    circle,
                    rgba(7, 89, 133, 0.17),
                    rgba(7, 89, 133, 0.02) 68%,
                    transparent 70%
                );
            content: "";
        }

        .hero-grid {
            display: grid;
            align-items: center;
            gap: 58px;
            grid-template-columns: 1.05fr 0.95fr;
        }

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

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 22px;
            padding: 8px 13px;
            border: 1px solid rgba(120, 184, 95, 0.3);
            border-radius: 999px;
            background: var(--secondary-soft);
            color: var(--secondary-dark);
            font-size: 0.87rem;
            font-weight: 750;
        }

        .hero-badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--secondary);
            box-shadow: 0 0 0 5px rgba(120, 184, 95, 0.16);
        }

        .hero h1 {
            max-width: 720px;
            margin-bottom: 24px;
            color: var(--text);
        }

        .hero h1 span {
            color: var(--primary);
        }

        .hero-text {
            max-width: 620px;
            margin-bottom: 34px;
            color: var(--text-soft);
            font-size: 1.16rem;
            line-height: 1.75;
        }

        .hero-highlights {
            display: flex;
            flex-wrap: wrap;
            gap: 16px 24px;
            margin-top: 26px;
        }

        .hero-highlight {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-soft);
            font-size: 0.92rem;
            font-weight: 650;
        }

        .check {
            display: inline-flex;
            width: 23px;
            height: 23px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--secondary-soft);
            color: var(--secondary-dark);
            font-size: 0.75rem;
            font-weight: 900;
        }

        /* Search card */

        .search-card {
            position: relative;
            padding: 28px;
            border: 1px solid rgba(220, 232, 235, 0.9);
            border-radius: var(--radius-xl);
            background: rgba(255, 255, 255, 0.94);
            box-shadow: var(--shadow-lg);
        }

        .search-card::before {
            position: absolute;
            z-index: -1;
            inset: 20px -18px -18px 20px;
            border-radius: inherit;
            background: rgba(7, 89, 133, 0.08);
            content: "";
        }

        .search-card-header {
            margin-bottom: 22px;
        }

        .search-card-header h2 {
            margin-bottom: 7px;
            font-size: 1.7rem;
        }

        .search-card-header p {
            color: var(--text-soft);
            font-size: 0.95rem;
        }

        .search-form {
            display: grid;
            gap: 14px;
        }

        .field {
            position: relative;
        }

        .field label {
            display: block;
            margin-bottom: 7px;
            color: var(--text);
            font-size: 0.84rem;
            font-weight: 750;
        }

        .field-control {
            position: relative;
        }

        .field-control svg {
            position: absolute;
            top: 50%;
            left: 15px;
            width: 19px;
            height: 19px;
            color: var(--text-light);
            pointer-events: none;
            transform: translateY(-50%);
        }

        .field input,
        .field select {
            width: 100%;
            min-height: 54px;
            padding: 0 16px 0 46px;
            border: 1px solid var(--border);
            border-radius: 15px;
            outline: 0;
            background: #fff;
            color: var(--text);
            transition:
                border-color 160ms ease,
                box-shadow 160ms ease;
        }

        .field input:focus,
        .field select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(7, 89, 133, 0.08);
        }

        .field select {
            appearance: none;
            cursor: pointer;
        }

        .field-control.select::after {
            position: absolute;
            top: 50%;
            right: 17px;
            width: 8px;
            height: 8px;
            border-right: 2px solid var(--text-light);
            border-bottom: 2px solid var(--text-light);
            content: "";
            pointer-events: none;
            transform: translateY(-65%) rotate(45deg);
        }

        .field-row {
            display: grid;
            gap: 14px;
            grid-template-columns: 1fr 1fr;
        }

        .search-note {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 18px;
            padding: 13px 14px;
            border-radius: 14px;
            background: var(--primary-soft);
            color: var(--primary-dark);
            font-size: 0.83rem;
            line-height: 1.5;
        }

        /* Trust strip */

        .trust-strip {
            padding: 28px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            background: #fff;
        }

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

        .trust-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 13px;
            padding: 8px 20px;
            border-right: 1px solid var(--border);
        }

        .trust-item:last-child {
            border-right: 0;
        }

        .trust-icon {
            display: inline-flex;
            width: 46px;
            height: 46px;
            flex: none;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            background: var(--primary-soft);
            color: var(--primary);
        }

        .trust-item strong {
            display: block;
            margin-bottom: 2px;
            font-size: 0.92rem;
        }

        .trust-item span {
            color: var(--text-soft);
            font-size: 0.78rem;
        }

        /* Specialties */

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

        .specialty-card {
            position: relative;
            min-height: 205px;
            padding: 24px;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            background: #fff;
            cursor: pointer;
            overflow: hidden;
            transition:
                transform 180ms ease,
                border-color 180ms ease,
                box-shadow 180ms ease;
        }

        .specialty-card:hover {
            border-color: rgba(7, 89, 133, 0.38);
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }

        .specialty-card::after {
            position: absolute;
            right: -40px;
            bottom: -60px;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: var(--primary-soft);
            content: "";
        }

        .specialty-icon {
            display: inline-flex;
            position: relative;
            z-index: 1;
            width: 52px;
            height: 52px;
            align-items: center;
            justify-content: center;
            margin-bottom: 21px;
            border-radius: 16px;
            background: var(--secondary-soft);
            color: var(--secondary-dark);
        }

        .specialty-card h3 {
            position: relative;
            z-index: 1;
            margin-bottom: 9px;
        }

        .specialty-card p {
            position: relative;
            z-index: 1;
            color: var(--text-soft);
            font-size: 0.9rem;
            line-height: 1.65;
        }

        .specialty-arrow {
            display: inline-flex;
            position: absolute;
            z-index: 1;
            right: 20px;
            bottom: 20px;
            width: 35px;
            height: 35px;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 50%;
            background: #fff;
            color: var(--primary);
        }

        /* How it works */

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

        .step-card {
            position: relative;
            padding: 30px;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: #fff;
        }

        .step-number {
            display: inline-flex;
            width: 48px;
            height: 48px;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            border-radius: 15px;
            background: var(--primary);
            color: #fff;
            font-weight: 850;
            box-shadow: 0 12px 25px rgba(7, 89, 133, 0.18);
        }

        .step-card h3 {
            margin-bottom: 12px;
        }

        .step-card p {
            color: var(--text-soft);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* Professionals */

        .professionals-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 30px;
            margin-bottom: 38px;
        }

        .professionals-header .section-heading {
            margin-bottom: 0;
        }

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

        .professional-card {
            display: flex;
            min-height: 100%;
            flex-direction: column;
            padding: 22px;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            background: #fff;
            box-shadow: var(--shadow-sm);
            transition:
                transform 180ms ease,
                box-shadow 180ms ease;
        }

        .professional-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .professional-top {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 20px;
        }

        .avatar {
            display: flex;
            width: 68px;
            height: 68px;
            flex: none;
            align-items: center;
            justify-content: center;
            border: 4px solid #fff;
            border-radius: 21px;
            background:
                linear-gradient(
                    145deg,
                    var(--primary-soft),
                    var(--secondary-soft)
                );
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 850;
            box-shadow: 0 0 0 1px var(--border);
        }

        .professional-name {
            margin-bottom: 4px;
            font-size: 1.08rem;
            font-weight: 800;
        }

        .professional-title {
            margin-bottom: 8px;
            color: var(--text-soft);
            font-size: 0.86rem;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #a66d00;
            font-size: 0.82rem;
            font-weight: 750;
        }

        .verified {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: 7px;
            color: var(--success);
            font-size: 0.75rem;
            font-weight: 750;
        }

        .professional-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 18px;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 11px;
            border-radius: 999px;
            background: var(--surface-soft);
            color: var(--text-soft);
            font-size: 0.74rem;
            font-weight: 700;
        }

        .professional-description {
            margin-bottom: 20px;
            color: var(--text-soft);
            font-size: 0.9rem;
            line-height: 1.65;
        }

        .professional-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-top: auto;
            padding-top: 18px;
            border-top: 1px solid var(--border);
        }

        .professional-price small {
            display: block;
            color: var(--text-light);
            font-size: 0.7rem;
        }

        .professional-price strong {
            color: var(--primary);
            font-size: 1rem;
        }

        .availability {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--success);
            font-size: 0.75rem;
            font-weight: 750;
        }

        .availability::before {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--success);
            content: "";
        }

        /* Match section */

        .match-section {
            position: relative;
            overflow: hidden;
        }

        .match-card {
            display: grid;
            align-items: center;
            gap: 50px;
            padding: 58px;
            border-radius: var(--radius-xl);
            background:
                linear-gradient(
                    135deg,
                    var(--primary),
                    #0b7285
                );
            color: #fff;
            grid-template-columns: 1fr 0.8fr;
            overflow: hidden;
        }

        .match-copy {
            position: relative;
            z-index: 2;
        }

        .match-copy .eyebrow {
            color: #d8f3df;
        }

        .match-copy h2 {
            margin-bottom: 18px;
        }

        .match-copy p {
            max-width: 620px;
            margin-bottom: 28px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 1.05rem;
            line-height: 1.75;
        }

        .match-visual {
            position: relative;
            min-height: 300px;
        }

        .match-orbit {
            position: absolute;
            inset: 50%;
            width: 290px;
            height: 290px;
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

        .match-center {
            display: flex;
            position: absolute;
            z-index: 3;
            inset: 50%;
            width: 108px;
            height: 108px;
            align-items: center;
            justify-content: center;
            border: 12px solid rgba(255, 255, 255, 0.14);
            border-radius: 50%;
            background: #fff;
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 850;
            transform: translate(-50%, -50%);
        }

        .match-bubble {
            display: flex;
            position: absolute;
            width: 94px;
            height: 94px;
            align-items: center;
            justify-content: center;
            border: 8px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.95);
            color: var(--primary);
            font-size: 0.78rem;
            font-weight: 800;
            text-align: center;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
        }

        .match-bubble.one {
            top: 2px;
            left: 50%;
            transform: translateX(-50%);
        }

        .match-bubble.two {
            right: 12px;
            bottom: 16px;
        }

        .match-bubble.three {
            bottom: 16px;
            left: 12px;
        }

        /* For professionals */

        .for-pros-grid {
            display: grid;
            align-items: center;
            gap: 55px;
            grid-template-columns: 0.95fr 1.05fr;
        }

        .dashboard-card {
            padding: 26px;
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            background: #fff;
            box-shadow: var(--shadow-lg);
        }

        .dashboard-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 22px;
        }

        .dashboard-title {
            font-weight: 800;
        }

        .dashboard-status {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 7px 10px;
            border-radius: 999px;
            background: var(--secondary-soft);
            color: var(--secondary-dark);
            font-size: 0.72rem;
            font-weight: 800;
        }

        .dashboard-list {
            display: grid;
            gap: 12px;
        }

        .appointment {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 15px;
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        .appointment-time {
            min-width: 58px;
            color: var(--primary);
            font-size: 0.84rem;
            font-weight: 850;
        }

        .appointment-avatar {
            display: flex;
            width: 42px;
            height: 42px;
            flex: none;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 0.78rem;
            font-weight: 850;
        }

        .appointment-info {
            min-width: 0;
            flex: 1;
        }

        .appointment-info strong {
            display: block;
            margin-bottom: 2px;
            font-size: 0.86rem;
        }

        .appointment-info span {
            color: var(--text-soft);
            font-size: 0.75rem;
        }

        .appointment-pill {
            padding: 6px 9px;
            border-radius: 999px;
            background: var(--surface-soft);
            color: var(--text-soft);
            font-size: 0.7rem;
            font-weight: 700;
        }

        .pros-list {
            display: grid;
            gap: 15px;
            margin: 28px 0 30px;
        }

        .pros-list-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .pros-list-item .check {
            margin-top: 1px;
            flex: none;
        }

        .pros-list-item strong {
            display: block;
            margin-bottom: 3px;
        }

        .pros-list-item p {
            color: var(--text-soft);
            font-size: 0.9rem;
        }

        /* FAQ */

        .faq-list {
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }

        .faq-question {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 24px 0;
            background: transparent;
            color: var(--text);
            cursor: pointer;
            text-align: left;
            font-size: 1rem;
            font-weight: 800;
        }

        .faq-icon {
            display: inline-flex;
            width: 34px;
            height: 34px;
            flex: none;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 50%;
            color: var(--primary);
            transition: transform 180ms ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 220ms ease;
        }

        .faq-item.active .faq-answer {
            grid-template-rows: 1fr;
        }

        .faq-answer-inner {
            overflow: hidden;
        }

        .faq-answer p {
            padding: 0 50px 24px 0;
            color: var(--text-soft);
            line-height: 1.75;
        }

        /* CTA */

        .final-cta {
            padding: 88px 0;
        }

        .final-cta-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            padding: 48px 54px;
            border: 1px solid rgba(120, 184, 95, 0.28);
            border-radius: var(--radius-xl);
            background:
                linear-gradient(
                    120deg,
                    var(--secondary-soft),
                    #f9fcf7
                );
        }

        .final-cta-card h2 {
            max-width: 660px;
            margin-bottom: 12px;
            font-size: clamp(1.8rem, 3.5vw, 3rem);
        }

        .final-cta-card p {
            max-width: 620px;
            color: var(--text-soft);
        }

        /* Footer */

        .footer {
            padding: 68px 0 26px;
            background: #072f41;
            color: #fff;
        }

        .footer-grid {
            display: grid;
            gap: 48px;
            margin-bottom: 50px;
            grid-template-columns: 1.35fr repeat(3, 0.75fr);
        }

        .footer .brand-name {
            color: #fff;
        }

        .footer-about {
            max-width: 390px;
            margin-top: 18px;
            color: rgba(255, 255, 255, 0.65);
            font-size: 0.9rem;
            line-height: 1.75;
        }

        .footer-column h3 {
            margin-bottom: 18px;
            font-size: 0.95rem;
            letter-spacing: 0;
        }

        .footer-links {
            display: grid;
            gap: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.64);
            font-size: 0.87rem;
            transition: color 160ms ease;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.78rem;
        }

        .footer-bottom-links {
            display: flex;
            gap: 20px;
        }

        /* Search modal */

        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            inset: 0;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(3, 35, 49, 0.72);
            backdrop-filter: blur(8px);
        }

        .modal.active {
            display: flex;
        }

        .modal-dialog {
            width: min(100%, 660px);
            max-height: min(88vh, 760px);
            padding: 28px;
            border-radius: 28px;
            background: #fff;
            box-shadow: var(--shadow-lg);
            overflow-y: auto;
            animation: modalIn 220ms ease;
        }

        @keyframes modalIn {
            from {
                opacity: 0;
                transform: translateY(12px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 22px;
        }

        .modal-header h2 {
            margin-bottom: 7px;
            font-size: 1.6rem;
        }

        .modal-header p {
            color: var(--text-soft);
            font-size: 0.9rem;
        }

        .modal-close {
            display: inline-flex;
            width: 42px;
            height: 42px;
            flex: none;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 50%;
            background: #fff;
            color: var(--text);
            cursor: pointer;
        }

        .result-summary {
            margin-bottom: 16px;
            padding: 13px 15px;
            border-radius: 14px;
            background: var(--primary-soft);
            color: var(--primary-dark);
            font-size: 0.85rem;
            font-weight: 700;
        }

        .results-list {
            display: grid;
            gap: 12px;
        }

        .result-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 15px;
            border: 1px solid var(--border);
            border-radius: 16px;
        }

        .result-item .avatar {
            width: 52px;
            height: 52px;
            border-radius: 16px;
            font-size: 0.85rem;
        }

        .result-info {
            min-width: 0;
            flex: 1;
        }

        .result-info strong {
            display: block;
            margin-bottom: 2px;
        }

        .result-info span {
            display: block;
            color: var(--text-soft);
            font-size: 0.8rem;
        }

        .result-price {
            color: var(--primary);
            font-size: 0.82rem;
            font-weight: 800;
            white-space: nowrap;
        }

        .empty-state {
            padding: 30px;
            border: 1px dashed var(--border-strong);
            border-radius: 18px;
            color: var(--text-soft);
            text-align: center;
        }

        /* Mobile menu */

        .mobile-menu {
            display: none;
            position: fixed;
            z-index: 1100;
            inset: 78px 0 0;
            padding: 28px 20px;
            background: #fff;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu-links {
            display: grid;
            gap: 10px;
        }

        .mobile-menu-links a {
            padding: 15px 12px;
            border-bottom: 1px solid var(--border);
            color: var(--text);
            font-weight: 750;
        }

        .mobile-menu-actions {
            display: grid;
            gap: 12px;
            margin-top: 24px;
        }

        /* Responsive */

        @media (max-width: 1060px) {
            .nav {
                display: none;
            }

            .mobile-toggle {
                display: inline-flex;
            }

            .header-actions .btn-secondary {
                display: none;
            }

            .hero-grid {
                grid-template-columns: 1fr;
            }

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

            .search-card {
                max-width: 760px;
            }

            .trust-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .trust-item:nth-child(2) {
                border-right: 0;
            }

            .trust-item:nth-child(-n + 2) {
                padding-bottom: 18px;
                border-bottom: 1px solid var(--border);
            }

            .trust-item:nth-child(n + 3) {
                padding-top: 18px;
            }

            .specialties-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .professionals-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .match-card,
            .for-pros-grid {
                grid-template-columns: 1fr;
            }

            .match-visual {
                min-height: 330px;
            }

            .footer-grid {
                grid-template-columns: 1.2fr 1fr 1fr;
            }

            .footer-grid > div:last-child {
                grid-column: 2;
            }
        }

        @media (max-width: 760px) {
            .container {
                width: min(calc(100% - 28px), var(--container));
            }

            .section {
                padding: 72px 0;
            }

            .header-inner {
                min-height: 70px;
            }

            .mobile-menu {
                inset: 70px 0 0;
            }

            .brand-mark {
                width: 40px;
                height: 40px;
            }

            .brand-name {
                font-size: 1.45rem;
            }

            .header-actions .btn-primary {
                display: none;
            }

            .hero {
                padding-top: 44px;
            }

            .hero h1 {
                font-size: clamp(2.5rem, 12vw, 4.2rem);
            }

            .hero-text {
                font-size: 1rem;
            }

            .search-card {
                padding: 22px;
                border-radius: 26px;
            }

            .field-row {
                grid-template-columns: 1fr;
            }

            .trust-grid {
                grid-template-columns: 1fr;
            }

            .trust-item,
            .trust-item:nth-child(-n + 2),
            .trust-item:nth-child(n + 3) {
                justify-content: flex-start;
                padding: 15px 0;
                border-right: 0;
                border-bottom: 1px solid var(--border);
            }

            .trust-item:last-child {
                border-bottom: 0;
            }

            .specialties-grid,
            .steps-grid,
            .professionals-grid {
                grid-template-columns: 1fr;
            }

            .professionals-header {
                align-items: flex-start;
                flex-direction: column;
            }

            .match-card {
                padding: 34px 24px;
            }

            .match-visual {
                min-height: 300px;
                transform: scale(0.9);
            }

            .dashboard-card {
                padding: 18px;
            }

            .appointment-pill {
                display: none;
            }

            .final-cta-card {
                align-items: flex-start;
                flex-direction: column;
                padding: 34px 26px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid > div:last-child {
                grid-column: auto;
            }

            .footer-bottom {
                align-items: flex-start;
                flex-direction: column;
            }

            .footer-bottom-links {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 460px) {
            .hero-highlights {
                display: grid;
                gap: 12px;
            }

            .professional-footer {
                align-items: flex-start;
                flex-direction: column;
            }

            .match-visual {
                margin-inline: -30px;
                transform: scale(0.8);
            }

            .modal-dialog {
                padding: 20px;
                border-radius: 22px;
            }

            .result-item {
                align-items: flex-start;
            }

            .result-price {
                display: none;
            }
        }


/* SEO/accessibility additions */
.skip-link {
    position: fixed;
    z-index: 3000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.server-results {
    padding-top: 72px;
    background: #ffffff;
}

.server-result-card {
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

.server-empty-state {
    display: grid;
    justify-items: start;
    gap: 12px;
    background: #ffffff;
}

:focus-visible {
    outline: 3px solid rgba(7, 89, 133, 0.28);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.professional-profile-link {
    margin-top: 16px;
}

.result-actions {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.result-profile-link {
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.result-profile-link:hover {
    text-decoration: underline;
}
