/* =========================================================
   ARTISHELP — GLOBAL STYLES

   Table of contents
   ─────────────────
   1.  Variables
   2.  Reset & base
   3.  Site navbar
   4.  Auth nav slot
   5.  Mobile menu
   6.  Logo
   7.  Hero (base)
   8.  Hero search
   9.  Hero with image
   10. Legacy hero visual
   11. General sections
   12. Services
   13. How it works
   14. Artisan CTA
   15. Featured artisans
   16. Public profile actions
   17. Footer
   18. Email verification banner
   19. Toasts
   20. Notification bell
   21. Responsive breakpoints
========================================================= */


/* =========================================================
   1. VARIABLES
========================================================= */

:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #f0fdf4;

    --dark: #111827;
    --dark-soft: #1f2937;

    --text: #374151;
    --muted: #6b7280;
    --light-text: #9ca3af;

    --border: #e5e7eb;
    --background: #ffffff;
    --background-soft: #f8fafc;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.08);

    --transition: 0.25s ease;
}


/* =========================================================
   2. RESET & BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--dark);
    background: var(--background);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.ng-phone-prefix {
    position: absolute;
    left: 42px;
    z-index: 1;
    color: var(--text);
    pointer-events: none;
}

.ng-phone-input input {
    padding-left: 82px;
}

.ng-phone-input:not(.input-wrapper):not(.location-input) {
    position: relative;
    display: block;
}

.ng-phone-input:not(.input-wrapper):not(.location-input) .ng-phone-prefix {
    left: 12px;
}

.ng-phone-input:not(.input-wrapper):not(.location-input) input {
    padding-left: 58px;
}

button {
    cursor: pointer;
}

svg {
    display: block;
}


/* =========================================================
   3. SITE NAVBAR
========================================================= */

.navbar {
    height: 76px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text);

    font-size: 14px;
    font-weight: 500;

    transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav .login-btn {
    padding: 10px 21px;

    color: #ffffff;

    background: var(--primary);

    border-radius: var(--radius-sm);
}

.desktop-nav .login-btn:hover {
    color: #ffffff;
    background: var(--primary-dark);
}


/* =========================================================
   4. AUTH NAV SLOT
========================================================= */

.auth-nav-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.auth-nav-link:hover {
    color: var(--primary);
}

.auth-nav-name {
    color: var(--muted);
    font-size: 14px;
}

.auth-nav-signout {
    background: transparent;
    border: none;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.auth-nav-signout:hover {
    color: #dc2626;
}


/* =========================================================
   5. MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    background: #ffffff;

    border-radius: var(--radius-sm);

    align-items: center;
    justify-content: center;
}

.mobile-menu-btn svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: var(--dark);

    stroke-width: 1.8;

    stroke-linecap: round;
}

.mobile-nav {
    display: none;
}


/* =========================================================
   6. LOGO (image + text fallback)
========================================================= */

.logo-with-image {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-with-image img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-with-image .logo-fallback-text {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--dark);
    display: none;
}

.logo-with-image .logo-fallback-text span {
    color: var(--primary);
}

.logo-with-image.logo-failed img {
    display: none;
}

.logo-with-image.logo-failed .logo-fallback-text {
    display: inline;
}

.dash-logo.logo-with-image img {
    height: 34px;
}

.auth-logo.logo-with-image img,
.profile-logo.logo-with-image img {
    height: 36px;
}


/* =========================================================
   7. HERO (base)
========================================================= */

.hero {
    min-height: 680px;

    padding: 85px 7%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    align-items: center;

    gap: 70px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(22, 163, 74, 0.07),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 60%
        );
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 7px 13px;

    margin-bottom: 22px;

    color: var(--primary-dark);

    background: rgba(22, 163, 74, 0.08);

    border: 1px solid rgba(22, 163, 74, 0.12);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.3px;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);
}

.hero h1 {
    max-width: 680px;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 620px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* =========================================================
   8. HERO SEARCH
========================================================= */

.hero-search {
    max-width: 660px;

    display: flex;
    align-items: center;

    padding: 6px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 11px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.search-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.search-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: var(--muted);

    stroke-width: 1.8;

    stroke-linecap: round;
}

.hero-search input {
    flex: 1;

    min-width: 0;

    border: none;
    outline: none;

    color: var(--dark);

    background: transparent;

    font-size: 15px;
}

.hero-search input::placeholder {
    color: #9ca3af;
}

.hero-search button {
    border: none;

    padding: 14px 27px;

    color: #ffffff;

    background: var(--primary);

    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.hero-search button:hover {
    background: var(--primary-dark);
}

.hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 16px;

    font-size: 12px;
}

.hero-links > span {
    color: var(--muted);
}

.hero-links a {
    color: var(--text);

    font-weight: 500;

    padding: 4px 9px;

    border-radius: 5px;

    transition: var(--transition);
}

.hero-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}


/* =========================================================
   9. HERO WITH IMAGE
========================================================= */

.hero-with-image {
    position: relative;
    display: block;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    background: #111827;
    isolation: isolate;
}

.hero-with-image .hero-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-with-image .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
}

.hero-with-image .hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(17, 24, 39, 0.92) 0%,
            rgba(17, 24, 39, 0.82) 40%,
            rgba(17, 24, 39, 0.45) 70%,
            rgba(17, 24, 39, 0.15) 100%
        );
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 95px 7% 95px;
    color: #ffffff;
}

.hero-with-image .hero-badge {
    background: rgba(22, 163, 74, 0.18);
    border-color: rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.hero-with-image .hero-badge .badge-dot {
    background: #4ade80;
}

.hero-with-image h1 {
    color: #ffffff;
}

.hero-with-image h1 span {
    color: #4ade80;
}

.hero-with-image .hero-description {
    color: #d1d5db;
}

.hero-with-image .hero-search {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-with-image .hero-search input {
    color: var(--dark);
}

.hero-with-image .hero-search button {
    background: var(--primary);
}

.hero-with-image .hero-search button:hover {
    background: var(--primary-dark);
}

.hero-with-image .hero-links {
    color: #d1d5db;
}

.hero-with-image .hero-links > span {
    color: #9ca3af;
}

.hero-with-image .hero-links a {
    color: #f3f4f6;
}

.hero-with-image .hero-links a:hover {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
}


/* =========================================================
   TRUST SHOWCASE
========================================================= */

.trust-showcase {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.08), transparent 35%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.trust-header {
    margin-bottom: 32px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

.trust-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 22px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.9), rgba(16, 185, 129, 0.7));
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.trust-card-head {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.trust-tag {
    display: inline-block;
    margin-bottom: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trust-card h3 {
    font-size: 1.12rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.trust-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.trust-comment {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.trust-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid #edf1f3;
    color: var(--muted);
    font-size: 12px;
}

.trust-meta a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 3px;
}

.trust-meta a:hover {
    color: var(--primary-dark);
    text-decoration-color: currentColor;
}

.stars {
    color: #f59e0b;
    letter-spacing: 0.12em;
    font-size: 12px;
}


/* =========================================================
   10. LEGACY HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-card {
    width: min(100%, 430px);

    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.10);

    position: relative;

    z-index: 2;
}

.visual-card-top {
    display: flex;
    align-items: center;

    gap: 13px;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border);
}

.worker-avatar {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: var(--primary-dark);

    background: var(--primary-light);

    font-size: 14px;
    font-weight: 700;
}

.visual-card-top h3 {
    font-size: 15px;
    margin-bottom: 2px;
}

.visual-card-top p {
    color: var(--muted);

    font-size: 12px;
}

.verified-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    color: #ffffff;

    background: var(--primary);

    border-radius: 50%;
}

.verified-icon svg {
    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.location-row {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 19px 0;

    color: var(--muted);

    font-size: 12px;
}

.location-row svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: var(--primary);

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.worker-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.worker-mini-card {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px;

    border: 1px solid #eef0f2;

    border-radius: 10px;

    transition: var(--transition);
}

.worker-mini-card:hover {
    border-color: rgba(22, 163, 74, 0.25);

    background: #fbfffc;
}

.mini-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;
}

.mini-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.plumbing-icon {
    color: #2563eb;
    background: #eff6ff;
}

.electrical-icon {
    color: #ca8a04;
    background: #fefce8;
}

.repair-icon {
    color: #7c3aed;
    background: #f5f3ff;
}

.mini-info {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.mini-info strong {
    font-size: 13px;
}

.mini-info span {
    color: var(--muted);

    font-size: 11px;
}

.arrow-icon {
    width: 17px;
    height: 17px;

    margin-left: auto;

    fill: none;

    stroke: #9ca3af;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 11px;

    box-shadow: var(--shadow-md);

    z-index: 3;
}

.floating-card strong {
    display: block;

    color: var(--dark);

    font-size: 13px;
}

.floating-card span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}

.rating-card {
    top: 55px;
    right: 0;
}

.rating-star,
.location-floating-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
}

.rating-star {
    color: #ca8a04;
    background: #fefce8;
}

.rating-star svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.location-card {
    bottom: 50px;
    left: 0;
}

.location-floating-icon {
    color: var(--primary);
    background: var(--primary-light);
}

.location-floating-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   11. GENERAL SECTIONS
========================================================= */

.section {
    padding: 105px 7%;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 48px;
}

.section-header.centered {
    display: block;

    max-width: 650px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-header h2 {
    max-width: 650px;

    font-size: clamp(31px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1.8px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header.centered p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 15px;
}

.view-all {
    display: flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    color: var(--primary);

    font-size: 13px;
    font-weight: 600;
}

.view-all svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   12. SERVICES
========================================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 17px;
}

.service-card {
    min-height: 220px;

    position: relative;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: #ffffff;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(22, 163, 74, 0.25);

    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 21px;

    color: var(--primary);

    background: var(--primary-light);

    border-radius: 10px;
}

.service-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 6px;

    font-size: 16px;
}

.service-card p {
    max-width: 220px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}

.card-arrow {
    position: absolute;

    right: 22px;
    bottom: 21px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9ca3af;

    border: 1px solid var(--border);

    border-radius: 50%;

    transition: var(--transition);
}

.card-arrow svg {
    width: 14px;
    height: 14px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.service-card:hover .card-arrow {
    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);
}


/* =========================================================
   13. HOW IT WORKS
========================================================= */

.how-it-works {
    background: var(--background-soft);
}

.steps {
    max-width: 1050px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 70px 1fr 70px 1fr;

    align-items: center;
}

.step {
    text-align: center;

    position: relative;
}

.step-number {
    color: #d1d5db;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.step-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    color: var(--primary);

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow-sm);
}

.step-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.step h3 {
    margin-bottom: 7px;

    font-size: 16px;
}

.step p {
    max-width: 250px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.step-line {
    height: 1px;

    background: #d1d5db;
}


/* =========================================================
   14. ARTISAN CTA
========================================================= */

.artisan-cta {
    margin: 0 7% 105px;

    min-height: 330px;

    padding: 65px 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 163, 74, 0.25),
            transparent 30%
        ),
        #111827;

    border-radius: 20px;

    overflow: hidden;
}

.cta-content {
    max-width: 650px;
}

.cta-content {
    max-width: 650px;
}

.cta-content .section-label {
    color: #4ade80;
}

.cta-content h2 {
    max-width: 650px;

    margin-bottom: 16px;

    font-size: clamp(32px, 4vw, 49px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.cta-content h2 span {
    color: #4ade80;
}

.cta-content p {
    max-width: 590px;

    color: #9ca3af;

    font-size: 15px;

    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 27px;

    padding: 13px 20px;

    color: #ffffff;

    background: var(--primary);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}

.cta-button svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.cta-visual {
    width: 240px;
    height: 200px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.03);

    text-align: center;
}

.cta-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    color: #4ade80;

    background: rgba(74, 222, 128, 0.1);

    border-radius: 15px;
}

.cta-icon svg {
    width: 28px;
    height: 28px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.cta-visual span {
    color: #d1d5db;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   15. FEATURED ARTISANS
========================================================= */

.featured-home {
    background: #ffffff;
}

.featured-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 18px;
    background: #ffffff;
    border: 1px solid #fde68a;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.featured-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #d97706 40%,
        #d97706 60%,
        transparent 100%
    );
    opacity: 0.65;
    z-index: 1;
}

.featured-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 48px rgba(217, 119, 6, 0.10);
    transform: translateY(-2px);
}

.featured-card:focus-visible {
    outline: 3px solid rgba(217, 119, 6, 0.35);
    outline-offset: 3px;
}

.featured-card-cover {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #92400e, #fcd34d);
}

.featured-card-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.62) 58%,
        rgba(15, 23, 42, 0.76) 100%
    );
    content: "";
}

.featured-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card.has-cover {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.28);
}

.featured-card.has-cover > :not(.featured-card-cover) {
    position: relative;
    z-index: 2;
}

.featured-card.has-cover .featured-card-info h3,
.featured-card.has-cover .featured-card-meta,
.featured-card.has-cover .featured-card-rating,
.featured-card.has-cover .featured-card-cta {
    color: #ffffff;
}

.featured-card.has-cover .featured-card-meta,
.featured-card.has-cover .featured-card-rating-num {
    color: rgba(255, 255, 255, 0.84);
}

.featured-card.has-cover .featured-card-avatar {
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.featured-card.has-cover .featured-card-cta {
    border-top-color: rgba(255, 255, 255, 0.32);
}

.featured-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    min-width: 0;
}

.featured-card-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    display: grid;
    place-items: center;
    color: #9ca3af;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #fde68a;
}

.featured-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-card-avatar svg {
    width: 24px;
    height: 24px;
}

.featured-card-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.featured-card-info h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    letter-spacing: -0.2px;
    word-break: break-word;
}

.featured-card-verified {
    display: inline-grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    flex-shrink: 0;
}

.featured-card-verified svg {
    width: 9px;
    height: 9px;
}

.featured-card-meta {
    margin: 0 0 4px;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #374151;
}

.featured-card-stars {
    color: #f59e0b;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
}

.featured-card-rating-num {
    color: #6b7280;
    font-weight: 600;
}

.featured-card-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    white-space: nowrap;
    align-self: flex-start;
}

.featured-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #fef3c7;
    font-size: 0.83rem;
    font-weight: 700;
    color: #d97706;
    transition: color 0.2s ease;
}

.featured-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.featured-card:hover .featured-card-cta {
    color: #b45309;
}

.featured-card:hover .featured-card-cta svg {
    transform: translateX(4px);
}


/* =========================================================
   16. PUBLIC PROFILE ACTIONS
========================================================= */

.public-profile-actions {
    flex-wrap: wrap;
}

.public-profile-actions .public-action {
    min-width: 110px;
}


/* =========================================================
   17. FOOTER
========================================================= */

footer {
    border-top: 1px solid var(--border);

    background: #ffffff;
}

.footer-main {
    padding: 65px 7%;

    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 100px;
}

.footer-brand {
    max-width: 330px;
}

.footer-brand p {
    margin-top: 13px;

    color: var(--muted);

    font-size: 13px;
}

.footer-links {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;
}

.footer-links div {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links h4 {
    margin-bottom: 6px;

    font-size: 13px;
}

.footer-links a {
    color: var(--muted);

    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #9ca3af;

    font-size: 11px;
}


/* =========================================================
   18. EMAIL VERIFICATION BANNER
========================================================= */

.email-verify-banner {
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    color: #1e40af;
    font-family: inherit;
    font-size: 0.85rem;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.email-verify-content {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.email-verify-icon {
    color: #2563eb;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.email-verify-text {
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.email-verify-text strong {
    font-weight: 700;
    color: #1e3a8a;
    word-break: break-all;
}

.email-verify-resend {
    height: 32px;
    padding: 0 14px;
    border: none;
    border-radius: 7px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 650;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.email-verify-resend:hover {
    background: #1d4ed8;
}

.email-verify-resend:disabled {
    opacity: 0.7;
    cursor: wait;
}

.email-verify-close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.email-verify-close:hover {
    background: #dbeafe;
    color: #1e40af;
}


/* =========================================================
   19. TOASTS
========================================================= */

.site-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    min-width: 260px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
    z-index: 100000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.site-toast-success {
    background: #15803d;
    color: #ffffff;
}

.site-toast-error {
    background: #dc2626;
    color: #ffffff;
}

.site-toast-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 8px;
    margin-left: auto;
    line-height: 1;
    opacity: 0.85;
    flex-shrink: 0;
}

.site-toast-close:hover {
    opacity: 1;
}


/* =========================================================
   20. NOTIFICATION BELL
========================================================= */

.notif-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notif-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    transition: 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.notif-bell:hover {
    color: #16a34a;
    border-color: #16a34a;
}

.notif-bell svg {
    width: 18px;
    height: 18px;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #ffffff;
    line-height: 1;
}

.notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
    z-index: 5000;
    overflow: hidden;
    text-align: left;
}

.notif-dropdown.open {
    display: block;
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    gap: 10px;
}

.notif-dropdown-header strong {
    font-size: 0.9rem;
    color: #111827;
}

.notif-mark-all {
    background: transparent;
    border: none;
    color: #16a34a;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.notif-mark-all:hover {
    color: #15803d;
}

.notif-list {
    max-height: 380px;
    overflow-y: auto;
}

.notif-empty {
    padding: 32px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.notif-item {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.15s ease;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: #f9fafb;
}

.notif-item.unread {
    background: #f0fdf4;
}

.notif-item.unread:hover {
    background: #dcfce7;
}

.notif-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
    line-height: 1.35;
}

.notif-item-body {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notif-item-time {
    font-size: 0.7rem;
    color: #9ca3af;
}

.notif-wrap-navbar {
    margin-left: auto;
    margin-right: 8px;
}


/* =========================================================
   21. RESPONSIVE BREAKPOINTS
========================================================= */

/* ---------- Desktop enhancement ---------- */

@media (min-width: 761px) {
    .notif-wrap-navbar {
        margin-left: 20px;
        margin-right: 0;
    }
}


/* ---------- Tablet ---------- */

@media (max-width: 1100px) {

    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr 45px 1fr 45px 1fr;
    }

    .artisan-cta {
        padding: 55px;
    }

    .hero-with-image .hero-content {
        padding: 80px 6% 80px;
    }

    .hero-with-image .hero-image {
        object-position: 70% center;
    }

    .featured-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 760px) {

    /* Navbar */
    .navbar {
        height: 68px;
        padding: 0 6%;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        padding: 12px 6% 20px;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: var(--shadow-sm);
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a,
    .mobile-nav button {
        padding: 13px 0;
        border-bottom: 1px solid #f3f4f6;
        color: var(--text);
        font-size: 14px;
        font-weight: 500;
        text-align: left;
        background: transparent;
        border-left: none;
        border-right: none;
        border-top: none;
        width: 100%;
        cursor: pointer;
    }

    /* Logo */
    .logo-with-image img {
        height: 34px;
    }

    .dash-logo.logo-with-image img,
    .auth-logo.logo-with-image img,
    .profile-logo.logo-with-image img {
        height: 30px;
    }

    /* Hero (base) */
    .hero {
        padding: 60px 6%;
        gap: 40px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-search {
        padding: 5px;
    }

    .hero-search button {
        padding: 13px 18px;
    }

    .hero-links {
        gap: 5px;
    }

    /* Legacy hero visual */
    .hero-visual {
        min-height: 430px;
    }

    .main-card {
        padding: 21px;
        width: 100%;
    }

    .rating-card {
        top: 10px;
        right: -4px;
        transform: scale(0.9);
    }

    .location-card {
        bottom: 10px;
        left: -4px;
        transform: scale(0.9);
    }

    /* Hero with image */
    .hero-with-image .hero-content {
        padding: 70px 6% 70px;
    }

    .hero-with-image .hero-image {
        object-position: 75% center;
    }

    .hero-with-image .hero-image-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(17, 24, 39, 0.75) 0%,
                rgba(17, 24, 39, 0.88) 60%,
                rgba(17, 24, 39, 0.95) 100%
            );
    }

    .hero-with-image h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    /* Sections */
    .section {
        padding: 75px 6%;
    }

    .section-header {
        display: block;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .view-all {
        margin-top: 18px;
    }

    /* Services */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service-card {
        min-height: 190px;
    }

    /* Steps */
    .steps {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .step-line {
        width: 1px;
        height: 40px;
    }

    /* Artisan CTA */
    .artisan-cta {
        margin: 0 6% 75px;
        padding: 45px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-visual {
        width: 100%;
    }

    /* Featured artisans */
    .featured-home-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        padding: 20px 18px 18px;
    }

    .trust-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-card {
        padding: 18px;
    }

    .featured-card:hover {
        transform: none;
    }

    .featured-card-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .featured-card-avatar svg {
        width: 20px;
        height: 20px;
    }

    .featured-card-info h3 {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-main {
        padding: 50px 6%;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        padding: 18px 6%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* Notification bell — navbar variant */
    .notif-wrap-navbar {
        margin-left: auto;
        margin-right: 8px;
    }

    .notif-bell {
        width: 36px;
        height: 36px;
    }

    /* Any dropdown (navbar or dashboard) — fixed to viewport */
    .notif-dropdown {
        position: fixed;
        top: 76px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        transform: none;
    }

    /* Navbar-specific — matches the mobile navbar height */
    .navbar .notif-wrap .notif-dropdown {
        top: 68px;
    }

    /* Dashboard-specific — matches the mobile dash-header height */
    .dash-header .notif-wrap .notif-dropdown {
        top: 68px;
    }
}


/* ---------- Small mobile (banners, toasts) ---------- */

@media (max-width: 640px) {

    .email-verify-content {
        gap: 8px;
    }

    .email-verify-text {
        width: 100%;
        order: 3;
    }

    .email-verify-resend {
        margin-left: auto;
    }

    .site-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}


/* ---------- Very small mobile ---------- */

@media (max-width: 430px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-search {
        flex-wrap: wrap;
    }

    .search-icon {
        width: 40px;
    }

    .hero-search input {
        width: calc(100% - 40px);
    }

    .hero-search button {
        width: 100%;
        margin-top: 4px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .main-card {
        padding: 17px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .rating-card {
        right: -8px;
    }

    .location-card {
        left: -8px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .hero-with-image h1 {
        font-size: 36px;
    }

    .hero-with-image .hero-content {
        padding: 60px 6% 60px;
    }
}