/* ===================================
   EAGLE LIGHTS TECHNICIAN NETWORK
   Shared Styles for Directory & Profile
   =================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-orange: #E65C00;
    --hover-orange: #C44A00;
    --jet-black: #0B0B0B;
    --charcoal-surface: #1A1A1A;
    --light-gray: #CCCCCC;
    --white: #FFFFFF;
    --alert-red: #FF3300;
    
    /* Layout */
    --max-width: 1280px;
    --gutter: 24px;
    --section-spacing-desktop: 40px;
    --section-spacing-mobile: 32px;
    --card-padding: 18px;
    --border-radius: 16px;
    --button-radius: 12px;
    
    /* Typography */
    --font-family: 'Lato', sans-serif;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.6;
    color: var(--jet-black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.meta {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* Mobile typography */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    body, p {
        font-size: 16px;
    }
}

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-spacing-desktop) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-spacing-mobile) 0;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 28px;
    border-radius: var(--button-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px; /* Increased touch target */
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: rgba(230, 92, 0, 0.08);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-certified {
    background: var(--primary-orange);
    color: var(--white);
}

.badge-mobile {
    background: var(--charcoal-surface);
    color: var(--white);
    border: 1px solid var(--primary-orange);
}

.badge-service {
    background: #F5F5F5;
    color: var(--jet-black);
    font-weight: 500;
}

/* === INPUTS === */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--jet-black);
}

.input-required {
    color: var(--alert-red);
}

.input-field, .select-field, .textarea-field {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.2s ease;
}

.textarea-field {
    height: 100px;
    padding: 12px 16px;
    resize: vertical;
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.1);
}

.input-error {
    border-color: var(--alert-red);
}

.error-message {
    color: var(--alert-red);
    font-size: 13px;
    margin-top: 4px;
}

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* === STARS RATING === */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star {
    color: #FFB800;
    font-size: 16px;
}

.star-empty {
    color: #DDD;
}

.rating-number {
    font-weight: 600;
    margin-left: 6px;
}

.review-count {
    color: #666;
    font-size: 14px;
    margin-left: 4px;
}

/* === HEADER (Full Eagle Lights Style) === */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #E5E5E5;
}

.top-bar {
    background: var(--jet-black);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--primary-orange);
}

.main-nav {
    padding: 16px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--jet-black);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-accent {
    color: var(--primary-orange);
}

.logo-tagline {
    font-size: 11px;
    font-weight: 400;
    color: #666;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex: 1;
}

.nav-links a {
    color: var(--jet-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}

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

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    margin-top: 8px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--jet-black);
    text-decoration: none;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #F5F5F5;
    color: var(--primary-orange);
}

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

.search-box {
    position: relative;
}

.search-box input {
    width: 200px;
    height: 38px;
    padding: 0 36px 0 12px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-size: 18px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jet-black);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .social-icons {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .search-box {
        display: none;
    }
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
    padding: 64px 0;
    text-align: center;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 16px;
}

.hero-subtitle {
    font-size: 19px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-search {
    max-width: 900px;
    margin: 0 auto 32px;
}

.search-form {
    display: grid;
    grid-template-columns: 180px 1fr 220px auto;
    gap: 12px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.search-form select,
.search-form input {
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-family);
    background: var(--white);
    color: var(--jet-black);
    appearance: auto;
    transition: border-color 0.2s ease;
}

.search-form select:focus,
.search-form input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.1);
}

.location-search {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.location-search.hidden {
    display: none;
}

.location-result {
    margin-top: 16px;
    padding: 16px;
    background: #F0FFF4;
    border-radius: 8px;
    border: 1px solid #22C55E;
}

.radius-toggle {
    display: inline-flex;
    gap: 8px;
    margin-top: 12px;
}

.radius-btn {
    padding: 6px 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.radius-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 15px;
    color: #666;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .trust-strip {
        flex-direction: column;
        gap: 12px;
    }
}

/* === AUTOCOMPLETE === */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-item:hover, .autocomplete-item.selected {
    background: #F5F5F5;
}

/* === STICKY FILTER BAR === */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid #E5E5E5;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s;
}

.filter-bar.stuck {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
}

.filter-group select, .filter-group input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 14px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F5F5F5;
    border-radius: 6px;
    cursor: pointer;
}

.filter-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.reset-link {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    border: none;
    background: transparent;
}

.reset-link:hover {
    color: var(--hover-orange);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #E5E5E5;
}

.results-count {
    font-weight: 700;
    font-size: 16px;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-group label {
    font-size: 14px;
    font-weight: 600;
}

/* === STAR FILTER === */
.star-filter {
    display: flex;
    gap: 4px;
    cursor: pointer;
    position: relative;
}

.star-filter .star {
    font-size: 20px;
    color: #DDD;
    transition: color 0.2s;
}

.star-filter .star.filled {
    color: #FFB800;
}

.star-filter .star:hover {
    color: #FFB800;
}

/* === MAP + LIST HYBRID (FIXED LAYOUT) === */
.map-list-container {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.technician-list {
    flex: 0 0 60%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-content: start;
}

.map-container {
    flex: 0 0 calc(40% - 24px);
    position: sticky;
    top: 120px;
    height: fit-content;
    align-self: start;
}

.map-placeholder {
    background: #E5E5E5;
    border-radius: var(--border-radius);
    height: 600px;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary-orange);
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-pin::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-pin:hover, .map-pin.active {
    transform: rotate(-45deg) scale(1.2);
    z-index: 10;
}

.mobile-toggle {
    display: none;
    gap: 8px;
    margin-bottom: 16px;
}

.mobile-toggle button {
    flex: 1;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-toggle button.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

@media (max-width: 1024px) {
    .map-list-container {
        flex-direction: column;
    }
    
    .technician-list {
        flex: none;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        flex: none;
        position: relative;
        top: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .map-container.mobile-hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .technician-list {
        grid-template-columns: 1fr;
    }
}

/* === TECHNICIAN CARD (Fixed height issues) === */
.tech-card {
    position: relative;
}

.tech-card.highlighted {
    box-shadow: 0 4px 24px rgba(230, 92, 0, 0.3);
    transform: translateY(-2px);
}

.tech-photo {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #E5E5E5 0%, #F5F5F5 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #999;
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.tech-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tech-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.tech-trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tech-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.tech-price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-orange);
}

.tech-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.tech-actions .btn {
    width: 100%;
}

/* === PAGINATION (Enhanced touch targets) === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    padding: 0 12px;
}

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

.page-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-state h2 {
    margin-bottom: 16px;
}

.empty-state p {
    color: #666;
    margin-bottom: 32px;
}

.empty-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

/* === CERTIFICATION BLOCK (Tightened) === */
.cert-block {
    background: #FFF5F0;
    padding: 48px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.cert-item {
    display: flex;
    gap: 16px;
    align-items: start;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
}

.cert-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.cert-content h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.cert-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.learn-more {
    font-size: 13px;
    color: var(--primary-orange);
    text-decoration: none;
    display: inline-block;
    margin-top: 6px;
}

.learn-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

/* === RECRUITMENT STRIP (Enhanced) === */
.recruitment-strip {
    background: var(--charcoal-surface);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.recruitment-strip h2 {
    color: var(--white);
    margin-bottom: 8px;
}

.recruitment-subtitle {
    font-size: 17px;
    color: #CCC;
    margin-bottom: 32px;
}

.recruitment-benefits {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

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

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid #E5E5E5;
}

.breadcrumb-list {
    display: flex;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-orange);
}

.breadcrumb-separator {
    color: #999;
}

/* === PROFILE HEADER === */
.profile-header {
    padding: 32px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-left {
    position: sticky;
    top: 100px;
    align-self: start;
}

.profile-left .tech-photo {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.stat-label {
    color: #666;
}

.profile-right h1 {
    margin-bottom: 12px;
}

.profile-bio {
    font-size: 17px;
    color: #555;
    margin-bottom: 24px;
}

.profile-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.trust-note {
    font-size: 14px;
    color: #666;
}

.sticky-mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sticky-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid #E5E5E5;
        padding: 12px 16px;
        gap: 12px;
        z-index: 1000;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .sticky-mobile-bar .btn {
        flex: 1;
    }
}

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.service-card {
    padding: 20px;
    text-align: center;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #FFF5F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.service-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.service-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.service-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.includes-section {
    margin-top: 16px;
    text-align: left;
    border-top: 1px solid #E5E5E5;
    padding-top: 12px;
}

.includes-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    user-select: none;
}

.includes-toggle:hover {
    color: var(--primary-orange);
}

.includes-icon {
    transition: transform 0.2s;
}

.includes-icon.expanded {
    transform: rotate(90deg);
}

.includes-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.includes-content.expanded {
    max-height: 200px;
    margin-top: 12px;
}

.includes-list {
    font-size: 13px;
    line-height: 1.6;
}

.includes-list strong {
    color: var(--jet-black);
}

.includes-list div {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #E5E5E5 0%, #F5F5F5 100%);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item::before {
    content: '📷';
    font-size: 48px;
    opacity: 0.3;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 16px;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === REVIEWS === */
.reviews-header {
    margin-bottom: 24px;
}

.rating-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 24px;
}

.rating-big {
    text-align: center;
}

.rating-big .number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-label {
    font-size: 14px;
    width: 60px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #FFB800;
}

.bar-count {
    font-size: 14px;
    color: #666;
    width: 40px;
    text-align: right;
}

.review-sort {
    display: flex;
    gap: 8px;
}

.review-sort button {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.review-sort button.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

@media (max-width: 768px) {
    .rating-summary {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .review-sort {
        flex-wrap: wrap;
    }
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    max-width: 960px;
}

.review-item {
    padding: 20px;
    background: #F9F9F9;
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 600;
}

.review-date {
    font-size: 14px;
    color: #666;
}

.review-service {
    font-size: 14px;
    color: var(--primary-orange);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #22C55E;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.review-text {
    line-height: 1.6;
}

.show-more-reviews {
    text-align: center;
    margin-top: 32px;
}

/* === LOCATION & COVERAGE === */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.areas-list {
    list-style: none;
}

.areas-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E5E5E5;
}

.workshop-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 12px;
}

.info-icon {
    width: 24px;
    height: 24px;
    background: #FFF5F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-map {
    grid-column: 1 / -1;
    height: 300px;
    background: #E5E5E5;
    border-radius: 12px;
    position: relative;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* === SIMILAR TECHNICIANS === */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .similar-grid {
        grid-template-columns: 1fr;
    }
}

/* === DISCLAIMERS === */
.disclaimers {
    background: #FFF5F0;
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
}

.disclaimers ul {
    list-style: none;
}

.disclaimers li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.disclaimers li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

/* === MODAL (WITH STICKY FIXES) === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #F5F5F5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    align-items: start;
}

.modal-tech-summary {
    padding: 20px;
    background: #F9F9F9;
    border-radius: 12px;
    position: sticky;
    top: 0;
    align-self: start;
}

.modal-tech-summary .tech-photo {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 12px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
}

.toggle-group {
    display: flex;
    gap: 12px;
}

.toggle-option {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}

.toggle-option.active {
    border-color: var(--primary-orange);
    background: rgba(230, 92, 0, 0.05);
}

.toggle-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #F5F5F5;
}

.toggle-option .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jet-black);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.toggle-option.disabled:hover .tooltip {
    opacity: 1;
}

.toggle-option .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--jet-black);
}

.file-upload {
    border: 2px dashed var(--light-gray);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload:hover {
    border-color: var(--primary-orange);
    background: rgba(230, 92, 0, 0.02);
}

.file-upload input {
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 12px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.modal-actions .btn {
    flex: 1;
}

.modal-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: var(--white);
}

.reference-id {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    margin: 16px 0;
}

/* Mobile modal adjustments with sticky submit bar */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal {
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        max-width: 100%;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding-bottom: 80px; /* Space for sticky bar */
    }
    
    .modal-tech-summary {
        display: none;
    }
    
    .modal-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px;
        border-top: 1px solid #E5E5E5;
        margin: 0;
        z-index: 10;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* === FOOTER === */
.site-footer {
    background: var(--charcoal-surface);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: var(--section-spacing-desktop);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

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

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}
