﻿/*
Theme Name: Cleaning VPath
Theme URI: https://cleaningvpath.com
Author: Cleaning VPath
Author URI: https://cleaningvpath.com
Description: Professional cleaning services landing page with integrated price calculator. Custom-built theme for Cleaning VPath featuring responsive design, modern animations, and comprehensive pricing tools for residential, commercial, and post-construction cleaning services across Florida.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleaning-vpath
Tags: business, cleaning-services, calculator, one-column, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Cleaning VPath WordPress Theme, Copyright 2026
Cleaning VPath is distributed under the terms of the GNU GPL
*/

:root {
    /* Color Palette - Professional Florida Cleaning Theme */
    --primary-blue: #0066CC;
    --primary-blue-dark: #004C99;
    --primary-blue-light: #3385D6;
    --accent-teal: #00BFA5;
    --accent-orange: #FF6B35;
    --success-green: #00C853;
    --warning-yellow: #FFB300;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00BFA5 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* WordPress Core Alignment Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

/* Form Section */
.form-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.form-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.form-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.form-card .section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--accent-teal);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background: var(--white);
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input[type="text"]:hover,
input[type="number"]:hover,
select:hover {
    border-color: var(--gray-400);
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    user-select: none;
}

.checkbox-label:hover {
    background: var(--gray-100);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

/* Additional Services */
.additional-services {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px dashed var(--gray-300);
}

.service-option {
    margin-bottom: var(--spacing-md);
}

.service-details {
    margin-left: var(--spacing-xl);
    margin-top: var(--spacing-sm);
}

.service-details input {
    max-width: 300px;
}

/* Buttons */
.calculate-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.price-display {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.price-display .price-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-display .price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Breakdown Section */
.breakdown-section {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.breakdown-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-blue);
}

.breakdown-label {
    color: var(--gray-700);
}

.breakdown-value {
    font-weight: 600;
    color: var(--gray-800);
}

/* Recommendations */
.recommendations {
    background: linear-gradient(135deg, #E3F2FD 0%, #E0F2F1 100%);
    border-left: 4px solid var(--accent-teal);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.recommendations h4 {
    color: var(--gray-800);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.recommendations p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Disclaimer */
.disclaimer {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border-left: 4px solid var(--warning-yellow);
}

.disclaimer p {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ===== LANDING PAGE STYLES ===== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0066CC 0%, #00BFA5 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.brand-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-blue);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta svg {
    transition: transform var(--transition-base);
}

.hero-cta:hover svg {
    transform: translateY(3px);
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.residential-card {
    border-color: #E3F2FD;
}

.pricing-card.residential-card:hover {
    border-color: var(--primary-blue);
}

.pricing-card.commercial-card {
    border-color: #E0F2F1;
}

.pricing-card.commercial-card:hover {
    border-color: var(--accent-teal);
}

.pricing-card.construction-card {
    border-color: #FFF3E0;
}

.pricing-card.construction-card:hover {
    border-color: var(--accent-orange);
}

.pricing-card.featured {
    border: 2px solid var(--accent-teal);
    box-shadow: 0 10px 30px rgba(0, 191, 165, 0.15);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, #00897B 100%);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 191, 165, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.card-price {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--gray-200);
}

.card-price .price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-price .price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
}

.card-price .price-period {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-top: 5px;
}

.card-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.9375rem;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
}

.card-features li {
    padding: 10px 0;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--gray-100);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

/* Pricing Disclaimer */
.pricing-disclaimer {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 100%);
    border-left: 4px solid var(--warning-yellow);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.disclaimer-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.disclaimer-content p {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.calculator-header {
    text-align: center;
    margin-bottom: 50px;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.calculator-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Footer */
.site-footer {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== RESPONSIVE — TABLET (≤900px) ===== */
@media (max-width: 900px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .services-container,
    .hero-container {
        padding: 0 16px;
    }
}

/* ===== RESPONSIVE — MOBILE (≤768px) ===== */
@media (max-width: 768px) {

    /* --- Hero --- */
    .hero-section {
        padding: 60px 16px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin: 32px 0;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* --- Services / Pricing --- */
    .services-section {
        padding: 48px 16px;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-disclaimer {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .disclaimer-icon {
        font-size: 1.5rem;
    }

    /* --- Calculator --- */
    .calculator-section {
        padding: 48px 16px;
    }

    .calculator-title {
        font-size: 1.875rem;
    }

    .calculator-subtitle {
        font-size: 1rem;
    }

    .calculator-header {
        margin-bottom: 32px;
    }

    .form-section {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .form-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    .form-card .section-title {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    label {
        font-size: 0.875rem;
    }

    input[type="text"],
    input[type="number"],
    select {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    .checkbox-label {
        padding: 10px 8px;
    }

    .calculate-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    /* --- Results --- */
    .results-section {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .results-title {
        font-size: 1.5rem;
    }

    .price-display {
        padding: 24px 16px;
    }

    .price-display .price-amount {
        font-size: 2.25rem;
        word-break: break-word;
    }

    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1rem;
    }

    .btn-get-estimate {
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
    }

    /* --- Footer --- */
    .site-footer {
        padding: 40px 16px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-section ul li {
        display: inline-block;
        margin: 0 8px;
    }

    .footer-bottom p {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
}

/* ===== RESPONSIVE — SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {

    /* --- Hero --- */
    .hero-title {
        font-size: 1.625rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* --- Pricing cards --- */
    .card-price .price-amount {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.4rem;
    }

    /* --- Calculator --- */
    .calculator-title {
        font-size: 1.5rem;
    }

    .form-card {
        padding: 16px 12px;
    }

    .section-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .form-card .section-title {
        font-size: 1.05rem;
        gap: 8px;
    }

    .additional-services {
        padding: 12px;
    }

    /* --- Breakdown --- */
    .breakdown-item {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .breakdown-value {
        font-size: 1rem;
    }
}

/* ===== TOUCH DEVICE IMPROVEMENTS ===== */
@media (hover: none) {

    /* Disable hover transforms on touch — avoids stuck states */
    .pricing-card:hover,
    .form-card:hover,
    .hero-cta:hover,
    .card-cta:hover,
    .calculate-btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-get-estimate:hover,
    .modal-submit-btn:hover {
        transform: none;
    }

    /* Bigger tap targets */
    input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }

    .checkbox-label {
        padding: 12px 8px;
        min-height: 48px;
    }
}


/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .hero-section,
    .services-section,
    .form-section,
    .action-buttons,
    .site-footer {
        display: none;
    }

    .results-section {
        box-shadow: none;
    }
}

/* ================================================================
   CONTACT MODAL  — all rules scoped to #contactModal to prevent
   any conflict with the rest of the page styles
   ================================================================ */

/* Hidden by default — JS sets display:flex to open */
#contactModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#cvpBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.72);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

/* Card */
#cvpCard {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    padding: 32px 32px 28px;
    box-sizing: border-box;
    animation: cvpSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
}

@keyframes cvpSlideIn {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Close button */
#cvpClose {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
#cvpClose:hover { background: #e2e8f0; transform: rotate(90deg); color: #1e293b; }

/* Header */
#cvpHead {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-right: 44px;
}
#cvpHeadIcon { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }
#cvpHead h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}
#cvpHeadSub {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Estimate summary */
#cvpEstimate {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    border-left: 4px solid #0066cc;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #1e3a5f;
    line-height: 1.7;
    display: none;
}
#cvpEstimate.visible { display: block; }
#cvpEstimate strong {
    display: block;
    color: #0044aa;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

/* Form fields */
#cvpForm .cvp-field {
    margin-bottom: 14px;
}
#cvpForm .cvp-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 6px;
    font-family: inherit;
}
#cvpForm .cvp-req { color: #dc2626; }
#cvpForm .cvp-field input,
#cvpForm .cvp-field select,
#cvpForm .cvp-field textarea {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
#cvpForm .cvp-field input:focus,
#cvpForm .cvp-field select:focus,
#cvpForm .cvp-field textarea:focus {
    border-color: #0066cc;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}
#cvpForm .cvp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
#cvpForm .cvp-field textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}
#cvpForm .cvp-field small {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 5px;
}

/* Two-column row */
#cvpForm .cvp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Custom/extra service box  amber highlight */
#cvpForm .cvp-extra {
    background: #fffbeb;
    border: 2px dashed #f59e0b;
    border-radius: 12px;
    padding: 14px 14px 10px;
    margin-bottom: 14px;
}
#cvpForm .cvp-extra label {
    color: #92400e;
    font-size: 0.9rem;
}
#cvpForm .cvp-extra textarea {
    border-color: #fcd34d !important;
    background: rgba(255,255,255,0.9) !important;
}
#cvpForm .cvp-extra textarea:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15) !important;
}
#cvpForm .cvp-extra small { color: #78350f; }

/* Error */
.cvp-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.875rem;
    padding: 10px 14px;
    margin-bottom: 12px;
    display: none;
}
.cvp-error.visible { display: block; }

/*  SUBMIT BUTTON */
.cvp-btn-submit {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 15px 24px;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(0,102,204,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
    text-decoration: none;
}
.cvp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,102,204,0.45);
}
.cvp-btn-submit:active { transform: translateY(0); }
.cvp-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cvp-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 12px 0 0;
}

/* Success state */
#cvpSuccess {
    display: none;
    text-align: center;
    padding: 20px 0 10px;
}
.cvp-success-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    animation: cvpPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes cvpPop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
#cvpSuccess h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}
#cvpSuccess p { font-size: 0.9375rem; color: #475569; line-height: 1.6; }

/* Mobile: slide up from bottom */
@media (max-width: 600px) {
    #contactModal {
        align-items: flex-end;
        padding: 0;
    }
    #cvpCard {
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        padding: 24px 20px 32px;
        animation: cvpSlideUp 0.35s cubic-bezier(0.22,1,0.36,1);
    }
    @keyframes cvpSlideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    #cvpForm .cvp-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}