/* 
* High-Level Auto Body Shop - Main Styles
* Theme: Neon Graphite / Cyber-Industrial
*/

:root {
    /* Color Palette */
    --color-bg: #0B0F14;
    --color-bg-light: #151A21;
    /* Slightly lighter for cards */
    --color-text: #D7DEE7;
    --color-text-dim: #94A3B8;
    --color-accent-primary: #17F1D1;
    /* Electric Teal */
    --color-accent-secondary: #7C3AED;
    /* Hyper Violet */
    --color-highlight: #FFB020;
    /* Signal Amber */

    /* Gradients */
    --gradient-glow: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-primary));
    --gradient-surface: linear-gradient(145deg, rgba(23, 241, 209, 0.05), rgba(124, 58, 237, 0.05));

    /* Fonts */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Exo 2', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 4px;
    /* More angular/technical feel */

    /* Effects */
    --shadow-glow: 0 0 20px rgba(23, 241, 209, 0.15);
    --glass-bg: rgba(11, 15, 20, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #FFF;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: var(--color-accent-primary);
}

.text-highlight {
    color: var(--color-highlight);
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--color-accent-primary);
    color: var(--color-accent-primary);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-accent-primary);
    transition: width 0.3s var(--ease-out);
    z-index: -1;
}

.btn:hover {
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(23, 241, 209, 0.4);
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--color-accent-primary);
    color: var(--color-bg);
    border: none;
}

.btn-primary:hover {
    background: #FFF;
    color: var(--color-bg);
    box-shadow: 0 0 30px rgba(23, 241, 209, 0.6);
}

.btn-primary::before {
    display: none;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(23, 241, 209, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(23, 241, 209, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(23, 241, 209, 0.5);
    }
}

/* Reveal Animation Classes (for JS IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Helper Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 15, 20, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--color-highlight);
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 176, 32, 0.6);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.8;
    position: relative;
}

.nav-links li a:hover {
    color: var(--color-accent-primary);
    opacity: 1;
    text-shadow: 0 0 10px rgba(23, 241, 209, 0.5);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-primary);
    box-shadow: 0 0 10px var(--color-accent-primary);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* offset for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(23, 241, 209, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 241, 209, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-primary);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-secondary);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
    border-left: 2px solid var(--color-accent-primary);
    padding-left: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
}

.trust-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.trust-item {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.trust-item span {
    color: var(--color-accent-primary);
    font-weight: bold;
}

/* --- Services Section --- */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-accent-primary);
}

.service-card p {
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--color-accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Process Section --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-accent-primary);
    z-index: 2;
    box-shadow: 0 0 15px rgba(23, 241, 209, 0.3);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -20px;
}

.timeline-content h3 {
    color: var(--color-highlight);
    margin-bottom: 10px;
}

/* --- Gallery Section --- */
.services-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    color: #FFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    transition: all 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ba-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    /* specific height for uniformity */
    overflow: hidden;
}

.ba-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

.img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* Initial state */
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--color-accent-primary);
}

.img-before {
    width: 200%;
    /* Compensate for width: 50% wrapper */
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.ba-handle::after {
    content: '↔';
    color: var(--color-bg);
    font-weight: bold;
}

.ba-label {
    padding: 15px;
    background: rgba(11, 15, 20, 0.8);
    backdrop-filter: blur(5px);
    text-align: center;
    font-weight: 600;
    color: var(--color-text);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Reviews Section --- */
.reviews-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.review-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 100%;
    padding: 3rem;
    text-align: center;
}

.stars {
    color: var(--color-highlight);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.reviewer .avatar {
    width: 50px;
    height: 50px;
    background: var(--color-accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #FFF;
}

.reviewer h4 {
    margin-bottom: 2px;
    color: var(--color-text);
}

.reviewer span {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background: transparent;
    border: 1px solid var(--color-text-dim);
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-bg);
}

/* --- Mobile Responsiveness for Content --- */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 60px;
    }

    .timeline-dot {
        left: -1px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -1px;
        right: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Insurance Section --- */
.insurance-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: linear-gradient(145deg, rgba(23, 241, 209, 0.05), rgba(11, 15, 20, 0.8));
}

.insurance-content {
    flex: 1;
    min-width: 300px;
}

.insurance-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.insurance-list li {
    font-size: 1.1rem;
    color: var(--color-text);
}

.insurance-logos {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.insurer-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--color-text-dim);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- FAQ Section --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-header:hover,
.accordion-header.active {
    color: var(--color-accent-primary);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
    color: var(--color-accent-secondary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--color-text-dim);
    line-height: 1.6;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--color-highlight);
}

.map-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border-radius: 4px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 10px rgba(23, 241, 209, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.file-upload-label {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--color-accent-primary);
    background: rgba(23, 241, 209, 0.05);
}

.file-input {
    display: none;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 15px;
    text-align: center;
}

/* --- Footer --- */
footer {
    background: rgba(11, 15, 20, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--color-text-dim);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: #FFF;
}

.footer-links a {
    display: block;
    color: var(--color-text-dim);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

/* --- Bonus Widgets --- */

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(23, 241, 209, 0.6);
}

/* Estimate Calculator */
.calc-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 300px;
    padding: 0;
    z-index: 950;
    transition: transform 0.3s ease, height 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.calc-widget.collapsed {
    transform: translateY(calc(100% - 60px));
}

.calc-header {
    background: var(--gradient-glow);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-bg);
    font-weight: bold;
    font-family: var(--font-heading);
    cursor: pointer;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.calc-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-bg);
    cursor: pointer;
}

.calc-widget.collapsed .calc-toggle::after {
    content: '+';
}

.calc-widget.collapsed .calc-toggle {
    content: '';
}

/* Simplification: JS will handle toggle icon or just rotate */

.calc-body {
    padding: 20px;
    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
}

.calc-body select {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    background: #000;
    color: #fff;
    border: 1px solid #333;
}

.calc-result {
    font-size: 1.2rem;
    color: var(--color-accent-primary);
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
}

.calc-body small {
    display: block;
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.7rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: flex;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.sticky-call-btn,
.sticky-book-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.sticky-call-btn {
    background: var(--color-bg-light);
    color: var(--color-text);
}

.sticky-book-btn {
    background: var(--color-accent-primary);
    color: var(--color-bg);
}

/* Hide on Desktop */
@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none;
    }

    .calc-widget {
        display: block;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }

    .insurance-box {
        flex-direction: column;
        text-align: center;
    }

    .calc-widget {
        left: 20px;
        right: 20px;
        bottom: 80px;
        /* Above sticky bar */
        width: auto;
    }

    .scroll-top {
        bottom: 80px;
    }

    /* Ensure sticky bar is visible */
    .mobile-sticky-bar {
        display: flex;
    }
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 15, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s var(--ease-out);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .nav-actions .btn {
        display: none;
    }

    /* Hide generic CTA on mobile nav, keep hamburger */
}