/* Root Variables */
:root {
    /* Colors */
    --primary: hsl(24, 94%, 53%);
    --primary-foreground: hsl(0, 0%, 100%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(224, 71%, 4%);
    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 9%, 46%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(224, 71%, 4%);
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --accent: hsl(220, 14%, 96%);
    --accent-foreground: hsl(224, 71%, 4%);
    --surface-elevated: hsl(0, 0%, 98%);
    
    /* Brand */
    --brand-gradient: linear-gradient(135deg, hsl(24, 94%, 53%), hsl(24, 94%, 45%));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 hsl(220, 43%, 11%, 0.05);
    --shadow-md: 0 4px 6px -1px hsl(220, 43%, 11%, 0.1), 0 2px 4px -1px hsl(220, 43%, 11%, 0.06);
    --shadow-lg: 0 10px 15px -3px hsl(220, 43%, 11%, 0.1), 0 4px 6px -2px hsl(220, 43%, 11%, 0.05);
    --shadow-brand: 0 10px 25px -5px hsl(24, 94%, 53%, 0.3);
    
    /* Spacing */
    --container-padding: 1rem;
    --border-radius: 0.75rem;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hidden {
    display: none !important;
}

/* Icons */
.icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    height: 2.25rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    height: 2.75rem;
    font-size: 1rem;
}

.btn-default {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-default:hover {
    background-color: hsl(24, 94%, 48%);
}

.btn-outline {
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-ghost {
    background-color: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-gradient {
    background: var(--brand-gradient);
    color: var(--primary-foreground);
    font-weight: 500;
}

.btn-gradient:hover {
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    border: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

a.logo--home {
    text-decoration: none;
    color: inherit;
}

a.logo--home:hover,
a.logo--home:focus-visible {
    color: inherit;
    opacity: 0.92;
}

.logo-icon {
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-square {
    height: 1rem;
    width: 1rem;
    background-color: transparent;
    border-radius: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
}

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

.nav-link.active {
    background-color: var(--primary);
    color: var(--primary-foreground) !important;
}

.nav-link.active:hover {
    color: var(--primary-foreground) !important;
    filter: brightness(0.98);
}

.nav-link.active .nav-indicator {
    box-shadow: 0 0 0 2px #fff;
}

.nav-link-with-indicator {
    position: relative;
}

.nav-indicator {
    position: absolute;
    top: 0;
    right: 3px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--background);
}

.nav-actions-desktop {
    display: none;
    align-items: center;
    gap: 1rem;
}

.notification-wrapper {
    position: relative;
}

.btn-icon-notification {
    position: relative;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    transition: color 0.15s ease;
}

.btn-icon-notification:hover {
    color: var(--primary);
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--background);
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 380px;
    max-height: 500px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden;
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--surface-elevated);
}

.notifications-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.mark-read-btn {
    font-size: 0.75rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.mark-read-btn:hover {
    text-decoration: underline;
}

.notifications-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
    position: relative;
}

.notification-item:hover {
    background-color: var(--accent);
}

.notification-item.unread {
    background-color: hsla(24, 94%, 53%, 0.05);
}

.notification-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border-radius: 50%;
    color: var(--primary);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0 0 0.25rem 0;
    color: var(--foreground);
}

.notification-text strong {
    font-weight: 600;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.notification-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.notification-item:not(.unread) .notification-badge {
    display: none;
}

.notifications-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    background-color: var(--surface-elevated);
}

.view-all-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

.btn-credits {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background-color: var(--background);
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-credits:hover {
    background-color: var(--accent);
}

.credits-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    background: var(--brand-gradient);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 0 0 2px var(--background);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
}

.mobile-menu-btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-menu {
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
}

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

.mobile-nav-link.active {
    background-color: var(--primary);
    color: var(--primary-foreground) !important;
}

.mobile-nav-link.active:hover {
    color: var(--primary-foreground) !important;
    filter: brightness(0.98);
}

.mobile-nav-link.active .nav-indicator {
    box-shadow: 0 0 0 2px #fff;
}

.mobile-nav-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface-elevated) 100%);
    padding: 5rem 0 8rem;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background-color: var(--surface-elevated);
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.hero-badge .icon {
    color: var(--primary);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: var(--brand-gradient);
    border-radius: 1.5rem;
    filter: blur(3rem);
    opacity: 0.2;
}

.hero-img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

/* Requests Section */
.requests-section {
    padding: 4rem 0;
    background-color: hsla(0, 0%, 98%, 0.5);
}

/* Category pages */
.category-directory-page,
.category-landing-page{
    background: #f8fafc;
    min-height: 100vh;
}

.category-directory-search{
    margin: 1.25rem 0 1.5rem;
}

.category-directory-search__box{
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: .25rem .5rem .25rem 2.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.category-directory-search__icon{
    position: absolute;
    left: .95rem;
    color: #94a3b8;
    font-size: .92rem;
}

.category-directory-search__input{
    flex: 1;
    border: none;
    background: transparent;
    min-height: 42px;
    font-size: .94rem;
    color: #0f172a;
}

.category-directory-search__input:focus{
    outline: none;
}

.category-directory-search__box:focus-within{
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .16);
}

.category-directory-search__clear{
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: .3rem .7rem;
    font-size: .78rem;
    text-decoration: none;
    color: #334155;
    background: #fff;
}

.category-directory-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.category-directory-card{
    display: flex;
    flex-direction: column;
    gap: .8rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-directory-card:hover{
    transform: translateY(-2px);
    border-color: #fdba74;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .09);
}

.category-directory-card__head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.category-directory-card__name{
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
}

.category-directory-card__icon{
    font-size: .72rem;
    font-weight: 700;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: .2rem .55rem;
    white-space: nowrap;
}

.category-directory-card__desc{
    margin: 0;
    font-size: .86rem;
    color: #64748b;
    line-height: 1.45;
}

.category-directory-card__stats{
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .8rem;
    font-size: .76rem;
    color: #475569;
}

.category-directory-card__subs{
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.category-directory-card__subs a{
    text-decoration: none;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: .24rem .55rem;
    font-size: .74rem;
}

.category-directory-card__cta{
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #f97316;
    color: #f97316;
    font-weight: 600;
    font-size: .86rem;
    padding: .5rem .75rem;
    transition: all .2s ease;
}

.category-directory-card__cta:hover{
    color: #fff;
    background: #f97316;
}

@media (max-width: 767px){
    .category-directory-search{
        margin-top: .85rem;
    }
    .category-directory-search__box{
        padding-right: .35rem;
    }
    .category-directory-search__clear{
        padding: .25rem .5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background-color: var(--background);
}

.search-box {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid var(--input);
    border-radius: var(--border-radius);
    background-color: var(--background);
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(24, 94%, 53%, 0.2);
}

.select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--input);
    border-radius: var(--border-radius);
    background-color: var(--background);
    font-size: 0.875rem;
    min-width: 12rem;
}

.select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(24, 94%, 53%, 0.2);
}

.requests-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.time-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.time-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.time-group-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.time-group-divider {
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.requests-feed--flat {
    width: 100%;
}

.requests-grid {
    display: grid;
    gap: 1.5rem;
    /* Fill each row with as many cards as fit before wrapping */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* Multi-item batch: one full-width group; inner cards tile together */
.request-batch--multi {
    grid-column: 1 / -1;
    border: 1px dashed var(--border);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    background: hsla(24, 94%, 53%, 0.04);
}
.request-batch__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* Request Card */
.request-card__requested-at {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-foreground);
    background: hsla(24, 94%, 53%, 0.06);
    border-bottom: 1px solid var(--border);
}
.request-card__requested-at .icon {
    width: 0.9rem;
    height: 0.9rem;
    opacity: 0.85;
}
.request-card__time-clock {
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: 0.02em;
}
.request-card__time-sep {
    opacity: 0.5;
    user-select: none;
}
.request-card__time-relative {
    font-weight: 500;
    color: var(--muted-foreground);
}

.request-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 0;
}

.request-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
}

.card-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.15s ease;
}

.request-card:hover .card-title {
    color: var(--primary);
}

.attachment-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: hsla(24, 94%, 53%, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid hsla(24, 94%, 53%, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-actions__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.offers-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.offers-number {
    font-weight: 600;
    color: var(--foreground);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
}

.share-btn:hover {
    color: var(--foreground);
}

.offer-btn {
    background: var(--brand-gradient);
    color: var(--primary-foreground);
    font-weight: 500;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background-color: var(--surface-elevated);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color 0.15s ease;
}

.social-link:hover {
    color: var(--foreground);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--foreground);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-bottom-link:hover {
    color: var(--foreground);
}

/* Dual floating actions — RFQ bottom-right; feedback trigger top-right (below navbar) */
.dual-fab-root {
    pointer-events: none;
}

.dual-fab-root > .dual-fab-backdrop,
.dual-fab-root > .dual-fab-feedback-unit,
.dual-fab-root > .dual-fab-rfq-unit {
    pointer-events: auto;
}

.dual-fab-root--panel-open .dual-fab-feedback-unit {
    z-index: 1060;
}

.dual-fab-feedback-unit {
    position: fixed;
    z-index: 1046;
    top: calc(4.35rem + env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dual-fab-rfq-unit {
    position: fixed;
    z-index: 1046;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 767.98px) {
    .dual-fab-feedback-unit {
        top: calc(3.85rem + env(safe-area-inset-top, 0px));
        right: max(0.5rem, env(safe-area-inset-right, 0px));
    }

    .dual-fab-rfq-unit {
        bottom: calc(5.35rem + env(safe-area-inset-bottom, 0px));
        right: max(0.65rem, env(safe-area-inset-right, 0px));
    }
}

.dual-fab-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.dual-fab-backdrop.is-visible {
    z-index: 1054;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Panel opens below the feedback trigger (trigger sits under navbar — avoids clipping above) */
.dual-fab-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    bottom: auto;
    z-index: 1;
    width: min(22rem, calc(100vw - 1.75rem));
    max-height: min(26rem, calc(100vh - 6.5rem));
    opacity: 0;
    transform: translateY(-0.45rem) scale(0.98);
    transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    filter: drop-shadow(0 14px 40px rgba(15, 23, 42, 0.18));
}

.dual-fab-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

@media (min-width: 768px) {
    .dual-fab-feedback-unit .dual-fab-panel {
        max-height: min(26rem, calc(100vh - 5.5rem - env(safe-area-inset-top, 0px)));
    }
}

.dual-fab-panel__chrome {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: inherit;
}

.dual-fab-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dual-fab-panel__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.dual-fab-panel__subtitle {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin: 0.25rem 0 0;
    line-height: 1.4;
}

.dual-fab-panel__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.dual-fab-panel__close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--foreground);
}

.dual-fab-panel__close:active {
    transform: scale(0.94);
}

.dual-fab-panel__body {
    padding: 0.85rem 1rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.dual-fab-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dual-fab-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

@media (max-width: 380px) {
    .dual-fab-form__row {
        grid-template-columns: 1fr;
    }
}

.dual-fab-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dual-fab-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
}

.dual-fab-input,
.dual-fab-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.875rem;
    background: var(--background);
    color: var(--foreground);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dual-fab-textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.dual-fab-input:focus,
.dual-fab-textarea:focus {
    outline: none;
    border-color: hsla(24, 94%, 53%, 0.55);
    box-shadow: 0 0 0 3px hsla(24, 94%, 53%, 0.15);
}

.dual-fab-error {
    font-size: 0.75rem;
    color: #b91c1c;
    margin: 0;
}

.dual-fab-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    width: 100%;
    border: none;
    border-radius: 0.65rem;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--brand-gradient);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-brand);
    transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.dual-fab-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -6px hsla(24, 94%, 53%, 0.42);
}

.dual-fab-submit:active:not(:disabled) {
    transform: translateY(0);
}

.dual-fab-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.dual-fab-success {
    text-align: center;
    padding: 0.5rem 0.25rem 0.25rem;
}

.dual-fab-success__icon {
    display: flex;
    justify-content: center;
    color: hsl(142, 71%, 40%);
    margin-bottom: 0.65rem;
}

.dual-fab-success__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--foreground);
}

.dual-fab-success__text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.dual-fab-success__btn {
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    border-radius: 9999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dual-fab-success__btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.dual-fab-forum-link-wrap {
    text-align: center;
}

.dual-fab-forum-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dual-fab-forum-link:hover {
    color: hsl(24, 94%, 42%);
}

.dual-fab-success__forum {
    text-align: center;
    margin: 0;
}

.dual-fab-success__forum .dual-fab-forum-link {
    font-weight: 700;
    color: hsl(24, 94%, 45%);
}

.dual-fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    padding: 0.55rem 0.85rem;
    min-height: 2.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.dual-fab-btn:active {
    transform: scale(0.97);
}

.dual-fab-btn__icon {
    flex-shrink: 0;
}

.dual-fab-btn__label-text {
    line-height: 1.2;
}

.dual-fab-btn--primary {
    background: var(--brand-gradient);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-brand);
    animation: dualFabPulse 3.2s ease-in-out infinite;
}

.dual-fab-btn--primary:hover {
    box-shadow: 0 14px 32px -6px hsla(24, 94%, 53%, 0.45);
    transform: translateY(-1px);
}

.dual-fab-btn--secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--foreground);
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.dual-fab-btn--secondary:hover {
    background: var(--background);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.dual-fab-btn--floating-feedback {
    padding: 0.42rem 0.72rem;
    min-height: 2.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.dual-fab-btn--floating-feedback:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.dual-fab-btn--floating-feedback .dual-fab-btn__icon {
    width: 17px;
    height: 17px;
}

/* Phones / small tablets: feedback FAB is icon-only (label never fits) */
@media (max-width: 767.98px) {
    .dual-fab-btn--floating-feedback {
        width: 2.65rem;
        height: 2.65rem;
        min-width: 2.65rem;
        min-height: 2.65rem;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .dual-fab-btn--floating-feedback .dual-fab-btn__label-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@keyframes dualFabPulse {
    0%, 100% {
        box-shadow: var(--shadow-brand);
    }
    50% {
        box-shadow: 0 12px 30px -4px hsla(24, 94%, 53%, 0.48);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dual-fab-btn--primary {
        animation: none;
    }
    .dual-fab-panel {
        transition: opacity 0.15s ease;
    }
}

@media (max-width: 575.98px) {
    .dual-fab-btn {
        padding: 0.5rem;
        width: 2.85rem;
        height: 2.85rem;
        min-width: 2.85rem;
        min-height: 2.85rem;
    }

    .dual-fab-btn__label-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (max-width: 767.98px) {
    .dual-fab-panel {
        position: fixed;
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0;
        width: auto;
        max-height: min(52vh, 26rem);
        border-radius: 0;
        transform: translateY(105%);
        filter: none;
    }

    .dual-fab-panel__chrome {
        border-radius: 1.125rem 1.125rem 0 0;
        box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    }

    .dual-fab-panel.is-open {
        transform: translateY(0);
    }
}

body.dual-fab-scroll-lock {
    overflow: hidden;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-actions-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .filters {
        flex-direction: row;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-bottom {
        flex-direction: row;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4rem;
    }
}