/* ── HERO ── */
.hero {
    padding: 24px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;

    background-image: url('/assets/images/home_banner.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 650px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--gray-50);
    clip-path: ellipse(55% 100% at 50% 110%);
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero h1 {
    color: white;

}
.hero h1 span {
    font-size: 56px;
}

@media (max-width: 768px) {
    .hero h1 span {
        font-size: 50px;
    }
}
.hero .tradespeople {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 28px;
}

.hero-search {
    display: flex;
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.hero-search input,
.hero-search select {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 22px;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.hero-search select {
    border-left: 1px solid var(--gray-200);
    max-width: 180px;
}

.hero-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 36px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.hero-search button:hover {
    background: var(--primary-dark);
}

/* ── STATS BAR ── */
.stats-bar {
    background: #fff;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 30px 20px;
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-item span {
    font-size: .9rem;
    color: var(--gray-600);
}

/* ── HOW IT WORKS ── */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.hiw-card {
    text-align: center;
    padding: 40px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform .2s, box-shadow .2s;
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

.hiw-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.hiw-step {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.hiw-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.hiw-card p {
    font-size: .92rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ── TRADES GRID ── */
.trades-section {
    background: #fff;
}

.trades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.trade-card {
    text-align: center;
    padding: 28px 16px 24px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    color: #333;
}

.trade-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}

.trade-card .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: block;
}

.trade-card h4 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.trade-card small {
    font-size: .78rem;
    color: var(--gray-400);
}

/* ── HOW COTECA WORKS (two-col) ── */
.feature-split {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-split.reverse {
    flex-direction: row-reverse;
}

.feature-split .text {
    flex: 1;
    min-width: 280px;
}

.feature-split .visual {
    flex: 1;
    min-width: 280px;
}

.feature-split h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 16px;
    font-weight: 800;
}

.feature-split p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: .97rem;
    color: var(--gray-800);
}

.feature-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.visual-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 20px;
    padding: 40px;
    color: #fff;
}

.visual-card-inner {
    background: rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
}

.visual-card .label {
    font-size: .8rem;
    opacity: .7;
    margin-bottom: 6px;
}

.visual-card .val {
    font-size: 1.3rem;
    font-weight: 700;
}

.visual-card-row {
    display: flex;
    gap: 16px;
}

.mini-badge {
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

/* ── TESTIMONIALS ── */
.reviews-section {
    background: var(--gray-50);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stars {
    color: #E8A020;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-card p {
    font-size: .95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.reviewer strong {
    display: block;
    font-size: .95rem;
    color: var(--navy);
}

.reviewer small {
    font-size: .8rem;
    color: var(--gray-400);
}

/* ── CTA BANNER — styles now in shared.css ── */

.job-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 24px;
    margin-bottom: 16px;
    border-left: 4px solid var(--gray-200);
    transition: box-shadow .2s;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
}

.job-card.open {
    border-left-color: var(--primary);
}

.job-card.hired {
    border-left-color: var(--success);
}

.job-card.pending {
    border-left-color: var(--warning);
}

.job-card.completed {
    border-left-color: var(--gray-400);
}

.job-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.job-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.job-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--gray-600);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-desc {
    font-size: .86rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.quote-count {
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 7px 16px;
    border-radius: 6px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.search-input {
    flex: 1;
    max-width: 260px;
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .85rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
}

.job-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    padding: 20px 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.job-banner h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.job-banner-meta {
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.quote-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    overflow: hidden;
    transition: all .2s;
    position: relative;
}

.quote-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quote-card.recommended {
    border-color: var(--primary);
}

.recommend-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 12px 4px 16px;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.quote-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--gray-100);
}

.quote-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.quote-pro .name {
    font-weight: 700;
    font-size: .97rem;
    color: var(--navy);
}

.quote-pro .trade {
    font-size: .75rem;
    color: var(--gray-600);
}

.quote-stars {
    color: #E8A020;
    font-size: .9rem;
}

.quote-reviews {
    font-size: .75rem;
    color: var(--gray-400);
}

.quote-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
}

.quote-price span {
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-600);
}

.quote-body {
    padding: 14px 20px;
}

.quote-body p {
    font-size: .85rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 14px;
}

.quote-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--gray-100);
}

.quote-detail-row:last-child {
    border-bottom: none;
}

.quote-detail-row .label {
    color: var(--gray-600);
}

.quote-detail-row .val {
    font-weight: 600;
    color: var(--text);
}

.quote-actions {
    padding: 14px 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--gray-100);
}

.verify-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.chip {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 3px;
}

.chip.green {
    background: var(--success-light);
    color: var(--success);
}

/* COMPARISON TABLE */
.compare-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 11px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: .84rem;
}

.compare-table th {
    background: var(--gray-50);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-600);
    font-weight: 700;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: var(--gray-50);
}

.tick {
    color: var(--success);
    font-weight: 700;
}

.cross {
    color: var(--danger);
}

.best {
    color: var(--primary);
    font-weight: 700;
}

/* ── TABS ── */
.tab-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0 24px;
}

.tab-btn {
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-600);
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all .2s;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn:hover {
    color: var(--navy);
}

/* ── STEPS ── */
.steps-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px;
}

.step-block {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 56px;
    position: relative;
}

.step-block:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 29px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(var(--primary), var(--gray-200));
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.step-content p {
    font-size: .97rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.step-tip {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    font-size: .9rem;
    color: var(--gray-700);
}

.step-tip strong {
    color: var(--primary);
}

/* ── FAQ ── */
.faq-section {
    background: var(--white);
    padding: 70px 24px;
}

.faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color .15s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform .2s;
}

.faq-question.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: .95rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 20px;
}

/* ── TRUST SECTION ── */
.trust-section {
    background: var(--gray-50);
    padding: 70px 24px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    text-align: center;
}

.trust-icon-lg {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.trust-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.trust-card p {
    font-size: .88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ── COMPARISON TABLE ── */
.compare-section {
    background: var(--white);
    padding: 70px 24px;
}

.compare-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th {
    padding: 18px 24px;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}

.compare-table th:first-child {
    text-align: left;
    background: var(--gray-50);
}

.compare-table th:nth-child(2) {
    background: var(--primary);
    color: #fff;
}

.compare-table th:nth-child(3) {
    background: var(--navy);
    color: #fff;
}

.compare-table td {
    padding: 14px 24px;
    font-size: .92rem;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.compare-table td:first-child {
    text-align: left;
    color: var(--gray-700);
    background: var(--gray-50);
}

.check {
    color: #16A34A;
    font-size: 1.1rem;
}

.cross {
    color: #DC2626;
    font-size: 1.1rem;
}


body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-navbar {
    background: transparent;
    box-shadow: none;
}

.auth-navbar .nav-inner {
    max-width: 1200px;
}

/* ── AUTH CONTAINER ── */
.auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 60px;
    flex-wrap: wrap;
}

/* ── LEFT PANEL ── */
.auth-left {
    max-width: 420px;
    color: #fff;
}

.auth-left .logo {
    font-size: 2rem;
}

.auth-left h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 28px 0 14px;
    line-height: 1.2;
}

.auth-left p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.auth-perks {
    list-style: none;
}

.auth-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 14px;
}

.perk-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}

/* ── AUTH CARD ── */
.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

/* ── TABS ── */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.auth-tab {
    flex: 1;
    padding: 18px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-600);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .2s;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light);
}

/* ── FORM PANEL ── */
.auth-panel {
    padding: 36px;
    display: none;
}

.auth-panel.active {
    display: block;
}

.auth-panel h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.auth-panel .sub {
    font-size: .9rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ── SOCIAL LOGIN ── */
.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.social-btn:hover {
    border-color: var(--navy);
    background: var(--gray-50);
}

.social-icon {
    font-size: 1.1rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    font-size: .8rem;
    color: var(--gray-400);
    white-space: nowrap;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form .form-group label {
    font-size: .88rem;
}

.auth-form .form-group input {
    padding: 12px 14px;
    font-size: .95rem;
}

.auth-alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: .85rem;
    font-weight: 600;
}

.auth-alert-error {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

.auth-field-error {
    display: block;
    margin-top: 6px;
    font-size: .78rem;
    color: #DC2626;
    font-weight: 600;
}

.forgot-link {
    font-size: .82rem;
    color: var(--primary);
    text-align: right;
    display: block;
    margin-top: -8px;
    margin-bottom: 16px;
}

.auth-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: background .2s;
    margin-bottom: 16px;
}

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

.auth-submit:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

.auth-footer-text {
    text-align: center;
    font-size: .85rem;
    color: var(--gray-600);
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* ── ROLE SELECT ── */
.role-select {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.role-btn {
    flex: 1;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
    background: var(--white);
}

.role-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.role-btn .role-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
}

.role-btn strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
}

.role-btn small {
    font-size: .75rem;
    color: var(--gray-400);
}

.password-field {
    position: relative;
}

.toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--gray-400);
    cursor: pointer;
}

.strength-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: #EF4444;
    transition: width .3s, background .3s;
}

@media (max-width: 768px) {
    .auth-left {
        display: none;
    }

    .auth-wrap {
        padding: 20px 16px;
    }

    .auth-card {
        max-width: 100%;
    }
}


/* Tradesman - Profile */
.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.profile-tab {
    padding: 10px 20px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap;
}

.profile-tab:hover {
    color: var(--navy);
}

.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.avatar-upload {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.avatar-upload .avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #D4920A;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-upload .avatar-edit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 70, 13, .08);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group .hint {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-group .error-text {
    font-size: .75rem;
    color: #b91c1c;
    margin-top: 4px;
    display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .tag-input-wrap {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, .12);
}

.char-count {
    font-size: .75rem;
    color: var(--gray-400);
    float: right;
}

.tag-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    cursor: text;
    min-height: 48px;
}

.tag-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 70, 13, .08);
}

.tag-chip {
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-chip button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: .85rem;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.tag-input {
    border: none;
    outline: none;
    font-size: .85rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    flex: 1;
    min-width: 100px;
    padding: 0;
}

.option-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-pill {
    border: 1px solid rgba(200, 70, 13, .18);
    background: var(--white);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

.option-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.option-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 14px;
}

.option-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: .86rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

.option-check-item input {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-200);
    cursor: pointer;
    transition: border-color .2s;
}

.portfolio-item:hover {
    border-color: var(--primary);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item .remove-img {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s;
}

.portfolio-item:hover .remove-img {
    opacity: 1;
}

.portfolio-add {
    font-size: 1.8rem;
    color: var(--gray-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.portfolio-add span {
    font-size: .75rem;
    color: var(--gray-400);
}

.cred-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.cred-card.verified {
    border-color: var(--success);
}

.cred-card.expiring {
    border-color: var(--warning);
}

.cred-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cred-info {
    flex: 1;
}

.cred-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--navy);
}

.cred-sub {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.cred-status {
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.cred-status.verified {
    background: var(--success-light);
    color: var(--success);
}

.cred-status.expiring {
    background: var(--warning-light);
    color: var(--warning);
}

.cred-status.missing {
    background: var(--gray-100);
    color: var(--gray-400);
}

.area-tag {
    background: var(--navy);
    color: #fff;
    font-size: .77rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.area-tag button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.save-bar {
    position: fixed;
    left: var(--sidebar-w);
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-200);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 120;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
}

.save-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .92) 30%, rgba(255, 255, 255, .98) 100%);
    z-index: -1;
}

.preview-chip {
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-builder-page {
    padding-bottom: 110px;
}

.profile-completion-nudge {
    background: var(--primary-light);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.profile-completion-meter {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    max-width: 180px;
}

.profile-completion-meter > span {
    display: block;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.tab-error-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    margin-left: 8px;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.portfolio-upload-box {
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.portfolio-upload-box:hover {
    border-color: var(--primary);
    background: rgba(200, 70, 13, .03);
}

.portfolio-meta {
    font-size: .74rem;
    color: var(--gray-500);
}

@media(max-width:660px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .option-check-grid {
        grid-template-columns: 1fr;
    }

    .option-check-item {
        white-space: normal;
        align-items: flex-start;
    }

    .save-bar {
        left: 0;
        padding: 14px 16px;
        flex-wrap: wrap;
    }
}

@media(max-width:900px) {
    .save-bar {
        left: 0;
    }
}
