/**
 * CleanView Theme Styles
 * Premium frontend styling with dynamic style presets
 * 
 * Note: CSS variables are set dynamically in header.php based on selected preset
 * DO NOT add :root declarations here - they will override the dynamic values
 */

/* Light mode adjustments for nav and specific components */
.cv-light .cv-nav {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.cv-light .cv-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.cv-light .cv-mobile-menu {
    background: #ffffff;
}

.cv-light .cv-footer {
    background: var(--cv-bg-secondary);
}

/* Base Styles */
body {
    background: var(--cv-bg-primary);
    color: var(--cv-text-primary);
    line-height: 1.6;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatTilted {
    0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(-15px); }
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blobs */
.cv-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blob 10s ease-in-out infinite;
    pointer-events: none;
}

.cv-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--cv-primary);
    top: -100px;
    right: -100px;
}

.cv-blob-2 {
    width: 350px;
    height: 350px;
    background: var(--cv-secondary);
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

.cv-blob-3 {
    width: 250px;
    height: 250px;
    background: var(--cv-accent);
    top: 50%;
    left: 30%;
    animation-delay: -2.5s;
    opacity: 0.2;
}

/* Gradient Text */
.cv-gradient-text {
    background: linear-gradient(135deg, var(--cv-primary) 0%, var(--cv-secondary) 50%, var(--cv-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Navigation - uses preset colors */
.cv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: var(--cv-bg-primary);
    background: linear-gradient(var(--cv-bg-primary), var(--cv-bg-primary));
    opacity: 0.95;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cv-border);
    transition: all 0.3s ease;
}

.cv-light .cv-nav {
    background: rgba(255, 255, 255, 0.9);
}

/* Nav scroll state */
.cv-nav.scrolled-down {
    background: color-mix(in srgb, var(--cv-bg-primary) 95%, transparent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cv-light .cv-nav.scrolled-down {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Header Scroll Effects */
@media (max-width: 768px) {
    .cv-nav {
        padding: 12px 16px;
    }
    
    .cv-nav.scrolled {
        padding: 8px 16px;
        background: color-mix(in srgb, var(--cv-bg-primary) 60%, transparent);
    }
    
    .cv-nav.scrolled .cv-logo-img {
        max-height: 36px !important;
        transition: max-height 0.3s ease;
    }
    
    .cv-nav.scrolled .cv-logo-icon {
        width: 36px;
        height: 36px;
        transition: all 0.3s ease;
    }
    
    .cv-nav.scrolled .cv-logo-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .cv-nav.scrolled .cv-logo-text {
        font-size: 16px;
    }
    
    .cv-nav.scrolled-up {
        background: color-mix(in srgb, var(--cv-bg-primary) 95%, transparent);
    }
    
    .cv-light .cv-nav.scrolled {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .cv-light .cv-nav.scrolled-up {
        background: rgba(255, 255, 255, 0.95);
    }
}

.cv-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.cv-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cv-logo-icon svg {
    width: 24px;
    height: 24px;
}

.cv-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.cv-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-nav-menu a {
    color: var(--cv-text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cv-nav-menu a:hover {
    color: var(--cv-text-primary);
}

.cv-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.cv-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Mobile Menu */
.cv-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.cv-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cv-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cv-mobile-toggle {
        display: flex;
    }
    
    .cv-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cv-bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--cv-border);
    }
    
    .cv-nav-menu.active {
        display: flex;
    }
}

/* Buttons */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.cv-btn-primary {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.cv-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.45);
    color: white;
}

.cv-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--cv-text-primary);
    border: 1px solid var(--cv-border);
}

.cv-light .cv-btn-secondary {
    background: rgba(0, 0, 0, 0.03);
}

.cv-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.cv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.cv-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .cv-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.cv-hero-content {
    max-width: 600px;
}

@media (max-width: 968px) {
    .cv-hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
}

.cv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--cv-primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.cv-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
}

.cv-hero-description {
    font-size: 18px;
    color: var(--cv-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cv-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .cv-hero-buttons {
        justify-content: center;
    }
}

.cv-hero-image {
    position: relative;
}

.cv-hero-mockup {
    background: var(--cv-bg-secondary);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--cv-border);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: floatTilted 6s ease-in-out infinite;
}

/* Section Styling */
.cv-section {
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

/* Alternating Section Backgrounds */
.cv-section-alt {
    background: var(--cv-bg-secondary);
}

.cv-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.cv-section-header h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
}

.cv-section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
}

.cv-section-header p {
    font-size: 18px;
    color: var(--cv-text-secondary);
    margin: 0;
}

/* Services Grid */
.cv-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 1100px) {
    .cv-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.cv-service-card {
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

/* Card with image - remove top/side padding for image */
.cv-service-card.has-image {
    padding: 0;
    overflow: hidden;
}

.cv-service-card.has-image h3,
.cv-service-card.has-image p {
    padding: 0 24px;
}

.cv-service-card.has-image h3 {
    padding-top: 0;
}

.cv-service-card.has-image p {
    padding-bottom: 24px;
}

.cv-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--cv-primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.cv-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.cv-service-image-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cv-service-card.has-image .cv-service-image-box {
    border-radius: 0;
    margin-bottom: 20px;
}

.cv-service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cv-service-card:hover .cv-service-image-box img {
    transform: scale(1.05);
}

.cv-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.cv-service-card p {
    color: var(--cv-text-secondary);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Stats Section */
.cv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0;
}

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

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

.cv-stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.cv-stat-label {
    color: var(--cv-text-secondary);
    font-size: 16px;
}

/* Testimonials */
.cv-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.cv-testimonial-card {
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 20px;
    padding: 32px;
}

.cv-testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 16px;
}

.cv-testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: var(--cv-text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.cv-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.cv-testimonial-name {
    font-weight: 600;
    margin: 0;
}

.cv-testimonial-location {
    color: var(--cv-text-muted);
    font-size: 14px;
    margin: 0;
}

/* CTA Section */
.cv-cta {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cv-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: blob 15s ease-in-out infinite;
}

.cv-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: white;
    margin: 0 0 16px;
    position: relative;
}

.cv-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    position: relative;
}

.cv-cta .cv-btn {
    background: white;
    color: var(--cv-primary);
    position: relative;
}

.cv-cta .cv-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.cv-footer {
    background: var(--cv-bg-secondary);
    border-top: 1px solid var(--cv-border);
    padding: 60px 24px 24px;
}

.cv-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 968px) {
    .cv-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cv-footer-inner {
        grid-template-columns: 1fr;
    }
}

.cv-footer-brand {
    max-width: 300px;
}

.cv-footer-brand p {
    color: var(--cv-text-secondary);
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.7;
}

.cv-footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
}

.cv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.cv-footer-links a {
    color: var(--cv-text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.cv-footer-bottom {
    max-width: 1280px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--cv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cv-footer-bottom p {
    color: var(--cv-text-muted);
    font-size: 14px;
    margin: 0;
}

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

.cv-social-links a {
    width: 40px;
    height: 40px;
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cv-text-secondary);
    font-size: 18px;
    transition: all 0.2s ease;
}

.cv-social-links a:hover {
    background: var(--cv-primary);
    border-color: var(--cv-primary);
    color: white;
}

/* Reveal animations */
.cv-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.cv-reveal.active {
    animation: fadeInUp 0.6s ease forwards;
}

/* =================================
   Steps / How It Works Section
   ================================= */

.cv-step-card {
    position: relative;
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cv-step-card:hover {
    transform: translateY(-8px);
    border-color: var(--cv-primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.cv-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.cv-step-icon {
    width: 80px;
    height: 80px;
    margin: 16px auto 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cv-step-card:hover .cv-step-icon {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

.cv-step-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.cv-step-card:hover .cv-step-icon i {
    -webkit-text-fill-color: white;
    background: none;
    color: white;
}

.cv-step-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--cv-text-primary);
}

.cv-step-description {
    font-size: 14px;
    color: var(--cv-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.cv-step-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cv-step-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--cv-primary);
    opacity: 0.5;
}

@media (max-width: 968px) {
    .cv-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .cv-step-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .cv-steps-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cv-step-card {
        padding: 28px 20px;
    }
}

/* Utility classes */
.cv-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =================================
   Instant Quote Form Overrides
   ================================= */

/* Quote form container - centered, max-width, fully responsive */
.cv-quote-form-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .cv-quote-form-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .cv-quote-form-container {
        padding: 0 12px;
    }
}

/* Force ALL text in the quote form to be dark */
.cv-quote-form-container,
.cv-quote-form-container * {
    color: #1e293b !important;
}

/* Headings */
.cv-quote-form-container h1,
.cv-quote-form-container h2,
.cv-quote-form-container h3,
.cv-quote-form-container h4,
.cv-quote-form-container h5 {
    color: #0f172a !important;
}

/* Paragraphs and labels */
.cv-quote-form-container p,
.cv-quote-form-container label,
.cv-quote-form-container span,
.cv-quote-form-container div {
    color: #374151 !important;
}

/* Muted/secondary text */
.cv-quote-form-container .text-gray-400,
.cv-quote-form-container .text-gray-500,
.cv-quote-form-container .text-gray-600,
.cv-quote-form-container .text-slate-400,
.cv-quote-form-container .text-slate-500,
.cv-quote-form-container small {
    color: #6b7280 !important;
}

/* Form inputs */
.cv-quote-form-container input,
.cv-quote-form-container select,
.cv-quote-form-container textarea {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border-color: #d1d5db !important;
}

.cv-quote-form-container input::placeholder {
    color: #9ca3af !important;
}

.cv-quote-form-container input:focus,
.cv-quote-form-container select:focus,
.cv-quote-form-container textarea:focus {
    border-color: var(--cv-primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
    outline: none !important;
}

/* Buttons - keep white text */
.cv-quote-form-container button,
.cv-quote-form-container [type="submit"],
.cv-quote-form-container [type="button"],
.cv-quote-form-container .btn,
.cv-quote-form-container [class*="btn-"],
.cv-quote-form-container [class*="bg-blue"],
.cv-quote-form-container [class*="bg-green"],
.cv-quote-form-container [class*="bg-primary"] {
    color: #ffffff !important;
}

/* Links */
.cv-quote-form-container a {
    color: var(--cv-primary) !important;
}

/* Price values - make them pop */
.cv-quote-form-container [class*="price"],
.cv-quote-form-container [class*="total"],
.cv-quote-form-container .font-bold {
    color: #0f172a !important;
}

/* Icons in buttons should stay white */
.cv-quote-form-container button svg,
.cv-quote-form-container button i,
.cv-quote-form-container [type="submit"] svg {
    color: #ffffff !important;
}

/* Checkboxes and radio styling */
.cv-quote-form-container input[type="checkbox"],
.cv-quote-form-container input[type="radio"] {
    accent-color: var(--cv-primary);
}

/* ==========================================
   Stunning Mobile Menu
   ========================================== */

/* Animated Burger Icon */
.cv-burger {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.cv-burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--cv-primary), var(--cv-secondary));
    border-radius: 3px;
    left: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cv-burger span:nth-child(1) { top: 0; width: 100%; }
.cv-burger span:nth-child(2) { top: 8px; width: 75%; }
.cv-burger span:nth-child(3) { top: 16px; width: 50%; }

.cv-burger:hover span:nth-child(2) { width: 100%; }
.cv-burger:hover span:nth-child(3) { width: 100%; }

.cv-burger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
    width: 100%;
}

.cv-burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.cv-burger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
    width: 100%;
}

/* Full Screen Mobile Menu */
.cv-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.cv-mobile-menu.active {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

.cv-mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.cv-mobile-menu.active .cv-mobile-menu-bg {
    transform: translateX(0);
}

.cv-mobile-menu-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    padding-bottom: 100px; /* Space for sticky CTA bar */
    overflow-y: auto;
}

.cv-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease 0.3s;
}

.cv-mobile-menu.active .cv-mobile-menu-header {
    opacity: 1;
    transform: translateY(0);
}

.cv-mobile-close {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-mobile-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.cv-mobile-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Mobile Navigation Links */
.cv-mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-mobile-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay);
}

.cv-mobile-menu.active .cv-mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.cv-mobile-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cv-primary);
    transform: translateX(8px);
}

.cv-mobile-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cv-mobile-link-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.cv-mobile-link-text {
    flex: 1;
}

.cv-mobile-link-arrow {
    font-size: 24px;
    color: var(--cv-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.cv-mobile-link:hover .cv-mobile-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile CTA Button */
.cv-mobile-cta {
    margin: 32px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: var(--delay);
}

.cv-mobile-menu.active .cv-mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

.cv-mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    color: white;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
}

.cv-mobile-cta-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cv-mobile-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}

.cv-mobile-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Mobile Footer */
.cv-mobile-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: var(--delay);
}

.cv-mobile-menu.active .cv-mobile-footer {
    opacity: 1;
    transform: translateY(0);
}

.cv-mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cv-primary);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.cv-mobile-contact svg {
    width: 20px;
    height: 20px;
}

.cv-mobile-social {
    display: flex;
    gap: 16px;
}

.cv-mobile-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.cv-mobile-social a:hover {
    background: var(--cv-primary);
    border-color: var(--cv-primary);
    transform: translateY(-4px);
}

/* Hide desktop menu on mobile */
@media (max-width: 968px) {
    .cv-desktop-menu {
        display: none !important;
    }
    
    .cv-mobile-toggle {
        display: flex !important;
    }
}

@media (min-width: 969px) {
    .cv-mobile-toggle {
        display: none !important;
    }
    
    .cv-mobile-menu {
        display: none !important;
    }
}

/* ==========================================
   FAQ Section
   ========================================== */

.cv-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cv-faq-item {
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cv-faq-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.cv-faq-item.active {
    border-color: var(--cv-primary);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.cv-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--cv-text-primary);
    transition: all 0.3s ease;
}

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

.cv-faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--cv-primary);
    transition: transform 0.3s ease;
}

.cv-faq-item.active .cv-faq-icon {
    transform: rotate(45deg);
}

.cv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.cv-faq-item.active .cv-faq-answer {
    max-height: 500px;
}

.cv-faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--cv-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid var(--cv-border);
    padding-top: 16px;
}

@media (max-width: 768px) {
    .cv-faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .cv-faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

/* ==========================================
   Contact Form
   ========================================== */

.cv-contact-form {
    max-width: 600px;
}

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

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

.cv-form-group {
    margin-bottom: 20px;
}

.cv-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--cv-text-primary);
}

.cv-form-group label .required {
    color: #ef4444;
}

.cv-form-group input,
.cv-form-group textarea,
.cv-form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--cv-bg-card);
    border: 1px solid var(--cv-border);
    border-radius: 12px;
    color: var(--cv-text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.cv-form-group input:focus,
.cv-form-group textarea:focus,
.cv-form-group select:focus {
    outline: none;
    border-color: var(--cv-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.cv-form-group input::placeholder,
.cv-form-group textarea::placeholder {
    color: var(--cv-text-secondary);
    opacity: 0.6;
}

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

.cv-form-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cv-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.cv-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

.cv-submit-btn .spinner {
    width: 20px;
    height: 20px;
    animation: cvSpin 1s linear infinite;
}

@keyframes cvSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cv-recaptcha-notice {
    font-size: 12px;
    color: var(--cv-text-secondary);
    opacity: 0.7;
}

.cv-form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
}

.cv-form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.cv-form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==========================================
   Service Areas Section
   ========================================== */

.cv-area-tag:hover {
    transform: translateY(-3px);
    border-color: var(--cv-primary);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.cv-area-tag:hover i {
    transform: scale(1.2);
}

.cv-postcode-checker input:focus {
    outline: none;
    border-color: var(--cv-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.cv-postcode-checker button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

/* ==========================================
   Before/After Gallery
   ========================================== */

.cv-beforeafter-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-beforeafter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.cv-ba-container {
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

/* ==========================================
   Trust Badges
   ========================================== */

.cv-badge-item {
    transition: transform 0.3s ease;
}

.cv-badge-item:hover {
    transform: scale(1.05);
}

