:root {
    --primary-color: #1a1a1a;
    --accent-color: #ff6b35;
    --brand-blue: #0451b6;
    --secondary-color: #2d2d2d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8e53 100%);
    --gradient-blue: linear-gradient(135deg, #0451b6 0%, #0668d4 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-light: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-blue: 0 4px 15px rgba(4, 81, 182, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography refinements */
h1, h2, h3, .section-title, .logo {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.2px;
}
h1 { letter-spacing: -0.2px; }
h2 { letter-spacing: -0.1px; }

/* Accessibility helpers */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 2000;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links.mobile-open {
    display: block;
    position: absolute;
    top: 64px;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    padding: 1rem 2rem;
    border-bottom-left-radius: 8px;
}
.nav-links.mobile-open li + li { margin-top: 0.75rem; }



.phone-cta {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
    
    /* Direct background approach - desktop */
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75); /* Darker overlay for enhanced readability */
    z-index: 2;
}

/* Removed float keyframes - no longer needed */

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: start;
    z-index: 3;
    position: relative;
}

.hero-content {
    padding-left: 0;
    padding-right: 2rem;
    max-width: 800px;
}

.hero-intro {
    margin-bottom: 1.5rem;
}

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.1rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-story {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    max-width: 60ch;
    margin: 0 auto 1.25rem;
}

.hero-content .personal-intro {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-content .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-trustline {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-top: -0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-light);
    text-align: center;
    min-width: 240px;
}

/* Center the quote CTA inside the form container */
.form-container .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border: 2px solid var(--brand-blue);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--brand-blue);
    color: var(--text-light);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-blue);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    min-width: 120px; /* Prevent layout shift during animation */
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

/* Inline trust row in hero */
.trust-inline {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.85);
}
.trust-inline .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 600;
    font-size: 0.9rem;
}
.trust-inline .badge i { color: var(--accent-color); }



.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tristan-photo {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-self: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center center;
    border: 4px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.photo-caption {
    text-align: center;
    color: var(--text-light);
}

.photo-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.photo-title {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.photo-text small {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Removed floating elements - no longer needed for cleaner, static design */

/* Most Popular Section (Anchor Offer) */
.most-popular {
    padding: 4rem 0;
    background: white;
}

.anchor-offer {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    position: relative;
}

.offer-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.anchor-offer h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.featured-service .anchor-offer h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.offer-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.offer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.what-included h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.what-included ul {
    list-style: none;
    text-align: left;
}

.what-included li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.what-included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.offer-pricing {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.price-note {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.cta-large {
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    order: 3;
}

.cta-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Perfectly center CTA between note and bottom using flex spacers */
.offer-pricing .main-price { order: 1; }
.offer-pricing .price-note { order: 1; }
.offer-pricing::before,
.offer-pricing::after {
    content: '';
    flex: 1 1 auto;
}
.offer-pricing::before { order: 2; }
.offer-pricing::after { order: 4; }

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid #ececec;
}

/* Featured Service */
.featured-service {
    margin-bottom: 3rem;
}

.featured-service .anchor-offer {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--accent-color);
    margin-bottom: 0;
}

.other-services {
    margin-top: 3rem;
}

.services-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.simple-services {
    max-width: 700px;
    margin: 0 auto;
}

.service-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff8e53);
    opacity: 0.7;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.service-pricing {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 0;
}

.btn-call {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.btn-call:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-learn-more {
    background: var(--brand-blue);
    color: white;
}

.btn-learn-more:hover {
    background: #0668d4;
    box-shadow: var(--shadow-blue);
}

/* About Tristan Section */
.about-tristan {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #ececec;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.personal-guarantee {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-blue);
    margin-top: 2rem;
}

.personal-guarantee h3 {
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.signature {
    font-style: italic;
    color: var(--brand-blue);
    font-weight: 600;
    margin-top: 1rem;
}

.about-photo {
    display: flex;
    justify-content: center;
}

.photo-frame {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* Service Page Styling */
.service-overview {
    padding: 4rem 0;
    background: white;
}

.overview-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333333;
}

.overview-content .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #e85a4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333333;
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666666;
}

.interior-benefits h3,
.exterior-benefits h3,
.paint-benefits h3,
.ceramic-benefits h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333333;
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666666;
}

/* Collapsible Services Section */
.services-toggle {
    width: 100%;
    background: rgba(255, 107, 53, 0.05);
    border: 2px solid rgba(255, 107, 53, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
    margin: 2rem 0;
}

.services-toggle:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.toggle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-toggle .services-subtitle {
    margin: 0;
    color: #333333;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.25rem;
}

.toggle-hint {
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}



.simple-services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.simple-services.expanded {
    max-height: 1500px; /* Increased for mobile compatibility */
    padding-top: 1rem;
}

/* Service Specific Sections */
.service-details {
    padding: 4rem 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.detail-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666666;
}

.detail-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #ececec;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Google Reviews Section */
.google-reviews-section {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid #ececec;
}

.google-reviews-embed {
    margin-bottom: 3rem;
}

.embed-placeholder {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px dashed #e1e5e9;
    text-align: center;
}

.placeholder-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.google-logo-large {
    font-size: 3rem;
    color: #4285f4;
}

.placeholder-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.rating-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stars-large {
    font-size: 1.5rem;
    color: #ffc107;
}

.review-count {
    color: #666;
    font-size: 1rem;
}

.embed-instructions {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.embed-instructions p {
    margin-bottom: 1rem;
    color: #555;
}

.embed-instructions strong {
    color: var(--text-dark);
}

.embed-instructions ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.embed-instructions li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.embed-instructions a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.embed-instructions a:hover {
    text-decoration: underline;
}

.embed-instructions .note {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
    font-weight: 500;
    margin-top: 1.5rem;
}

.reviews-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.reviews-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* When real embed is added, hide the placeholder */
.google-reviews-embed iframe {
    width: 100%;
    min-height: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Hide placeholder when iframe is present */
.google-reviews-embed:has(iframe) .embed-placeholder {
    display: none;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #ececec;
}

.gallery-section .gallery-section {
    padding: 2rem 0;
}

.gallery-service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.gallery-service-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.large-ba-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Before/After slider */
.ba-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    aspect-ratio: 16/10;
    background: #111;
}
.ba-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.ba-img.before { filter: saturate(0.4) contrast(0.9) brightness(0.9); }
.ba-resize {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}
.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 999px;
    background: var(--gradient-blue);
    border: 2px solid white;
    box-shadow: var(--shadow-blue);
}
.ba-label {
    position: absolute;
    left: 10px; top: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    z-index: 2;
}
.ba-label.after { left: auto; right: 10px; }

/* When no images yet, ensure labels have contrast and spacing */
.ba-container { background: #121212; }

.before, .after {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.before .image-placeholder {
    background: #ffebee;
    color: #c62828;
}

.after .image-placeholder {
    background: #e8f5e8;
    color: #2e7d32;
}

.gallery-caption {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.gallery-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Quick Quote Form */
.quote-form {
    background: var(--gradient-dark);
    padding: 6rem 0;
    position: relative;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-heavy);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input.error,
.form-group select.error {
    border-color: #e53e3e;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Professional Products Section */
.professional-products {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid #ececec;
}

/* Full Width Car Gallery */
.car-gallery-full-width {
    position: relative;
    margin: 0 0 3rem 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.car-gallery-scroll {
    display: flex;
    gap: 0;
    padding: 0 0 1.5rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 400px;
}

.car-gallery-scroll::-webkit-scrollbar {
    display: none;
}

.car-gallery-item {
    flex: 0 0 auto;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Different sizes for variety - horizontal aspect ratios */
.car-gallery-item.large {
    width: 520px;
    aspect-ratio: 16/10;
}

.car-gallery-item.medium {
    width: 420px;
    aspect-ratio: 3/2;
}

.car-gallery-item.small {
    width: 350px;
    aspect-ratio: 4/3;
}

.car-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
}

.car-gallery-item:hover {
    transform: scale(1.02);
}

.car-gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.gallery-nav-left {
    left: 20px;
}

.gallery-nav-right {
    right: 20px;
}

.gallery-nav i {
    font-size: 1.2rem;
}

/* Brands Section Header */
.brands-section-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.brands-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

/* Brands Band */
.brands-band {
    margin-top: 0;
    padding: 2rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.brands-scroll {
    display: flex;
    animation: brandScroll 30s linear infinite;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.brand-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 140px;
    filter: grayscale(0) opacity(1);
    transition: all 0.3s ease;
}



.brand-logo-item:hover {
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo-item img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* Pause animation on hover */
.brands-band:hover .brands-scroll {
    animation-play-state: paused;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



.products-cta {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.products-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.products-cta strong {
    color: var(--text-dark);
}

/* Trust Signals */
.trust-signals {
    padding: 4rem 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 1.5rem;
}

.trust-icon {
    margin-bottom: 1rem;
    text-align: center;
}

.trust-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.trust-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.social-links a:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(4, 81, 182, 0.3);
}

.social-links a i {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Sticky mobile CTA */
.sticky-mobile-cta {
    display: none;
}

.rating-badge {
    display: block;
    margin: 0.75rem auto 1.25rem;
    text-align: center;
    width: fit-content;
    background: rgba(255,255,255,0.08);
    border: 2px solid var(--brand-blue);
    color: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
}

.rating-badge:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

.rating-inline {
    display: inline-block;
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.rating-badge .stars { color: #ffc107; font-weight: 800; letter-spacing: 1px; }
.rating-badge .rating-text { font-weight: 600; opacity: 0.95; }

@media (max-width: 768px) {
    /* Use dedicated mobile background image with better control */
    .hero {
        background-image: url('../images/hero-mobile.jpg');
        background-size: cover;
        background-position: 50% 25%; /* Focus point - adjust as needed */
        min-height: 70vh; /* Slightly shorter on mobile */
    }
    
    /* Add blur to background image on mobile */
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../images/hero-mobile.jpg');
        background-size: cover;
        background-position: 50% 25%;
        background-repeat: no-repeat;
        filter: blur(2px);
        z-index: 1;
        display: block;
    }
    
    /* Add black/grey gradient overlay on mobile for text legibility and CTA contrast */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg, 
            rgba(0, 0, 0, 0.5) 0%, 
            rgba(0, 0, 0, 0.75) 40%, 
            rgba(0, 0, 0, 0.8) 60%, 
            rgba(0, 0, 0, 0.7) 100%
        );
        z-index: 2;
        display: block;
    }
    .sticky-mobile-cta {
        display: none; /* Hide sticky mobile CTA */
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .phone-cta {
        display: none; /* Hide phone CTA on mobile to save space */
    }

    .hero {
        padding-top: 110px; /* restore comfortable spacing with fixed navbar */
        padding-bottom: 3.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-inline: 1.25rem;
        max-width: 100%;
        margin: 0 auto;
        justify-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1.25rem;
        max-width: 720px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .tristan-photo {
        width: min(85vw, 360px);
        max-width: 360px;
        margin: 1.5rem auto 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
        margin: 0 auto 0.85rem;
        padding: 0 0.25rem;
        text-wrap: balance;
        max-width: 22ch;
        width: min(92vw, 22ch);
    }

    .hero-story {
        font-size: 1.1rem;
        max-width: 60ch;
        width: min(92vw, 60ch);
        text-align: center;
        margin: 0.25rem auto 0.75rem;
        padding: 0 0.5rem;
        line-height: 1.7;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
        display: flex;
        align-items: center;
        text-align: center;
        width: 100%;
        margin: 2rem auto;
    }

    .hero-cta { 
        display: flex;
        flex-direction: column; 
        gap: 1rem;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary { 
        width: 100%; 
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
    }

    .tristan-photo {
        width: min(85vw, 360px);
        max-width: 360px;
        margin-top: 1.5rem;
    }

    .photo-frame {
        max-width: 400px;
        margin: 0 auto;
        padding: 1rem;
    }



    .stat {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 120px; /* stabilizes counters */
        flex-shrink: 0;
        margin: 0 auto;
    }

    .rating-badge { margin-left: auto; margin-right: auto; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-align: center;
    }

    .cta-large {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .offer-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .anchor-offer {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .anchor-offer h2 {
        font-size: 1.8rem;
    }

    .main-price {
        font-size: 2.5rem !important;
    }

    .container {
        padding: 0 1rem; /* Reduce container padding on mobile */
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .simple-services {
        max-width: 100%;
        padding: 0 1rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

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

    /* Ensure all buttons and CTAs are centered on mobile */
    .service-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }

    .service-actions .btn-call,
    .service-actions .btn-learn-more {
        width: 100%;
        max-width: 250px;
        text-align: center;
        margin: 0 auto;
    }

    /* Center FAQ CTAs */
    .faq-cta {
        text-align: center;
    }

    /* Center about section CTAs */
    .about-content {
        text-align: center;
    }

    .about-content .btn-primary {
        margin: 0 auto;
        display: block;
        width: fit-content;
        max-width: 280px;
    }

    .service-pricing {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .service-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .service-price {
        margin: 0;
    }

    .btn-call {
        width: 100%;
        max-width: 250px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .placeholder-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .embed-placeholder {
        padding: 2rem 1rem;
    }

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

    /* Car Gallery Mobile Styles */
    .car-gallery-full-width {
        margin: 2rem 0;
        height: 320px;
    }

    .car-gallery-scroll {
        height: 320px;
        padding: 0 0 1rem 0;
        gap: 0;
    }

    .car-gallery-item.large {
        width: 400px;
        aspect-ratio: 16/10;
    }

    .car-gallery-item.medium {
        width: 320px;
        aspect-ratio: 3/2;
    }

    .car-gallery-item.small {
        width: 260px;
        aspect-ratio: 4/3;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav-left {
        left: 10px;
    }

    .gallery-nav-right {
        right: 10px;
    }

    .gallery-nav i {
        font-size: 1rem;
    }

    /* Brands Band Mobile Styles */
    .brands-band {
        margin-top: 2rem;
        padding: 1.5rem 0;
        border-radius: 15px;
    }

    .brands-scroll {
        gap: 3rem;
        padding: 0 1rem;
    }

    .brand-logo-item {
        height: 60px;
        min-width: 100px;
    }

    .brand-logo-item img {
        max-height: 45px;
        max-width: 90px;
    }

    .brands-section-header {
        margin: 2rem 0 1.5rem 0;
    }

    .brands-section-title {
        font-size: 2rem;
    }

    /* Service Page Mobile Styles */
    .overview-content {
        padding: 0 1rem;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .overview-content .lead {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem 0.5rem;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .benefit-icon i {
        font-size: 1.8rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interior-benefits h3,
    .exterior-benefits h3,
    .paint-benefits h3,
    .ceramic-benefits h3 {
        font-size: 1.7rem;
    }

    /* Navbar mobile styles */
    .navbar {
        padding: 0.5rem 0; /* Reduced from 1rem to 0.5rem */
    }

    /* Remove heavy overrides added previously */
    /* (We rely on clean, minimal rules above instead) */

    /* Logo mobile styles */
    .logo-image {
        height: 75px; /* 1.5x larger than previous 50px */
    }

    /* Collapsible services mobile styles */
    .services-toggle {
        padding: 1.25rem 1rem;
        margin: 1.5rem 0;
    }
    
    .services-toggle:hover {
        transform: translateY(-1px);
    }
    
    .services-toggle .services-subtitle {
        font-size: 1.5rem;
    }
    
    .toggle-hint {
        font-size: 0.8rem;
    }

    .products-cta {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .gallery-grid { grid-template-columns: 1fr; }

    .before-after {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-inline { justify-content: center; }
}

/* Very small devices: tighten title just a bit */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 2rem;
        max-width: 20ch;
    }
    .hero-story {
        font-size: 1rem;
    }
}

/* Large Before/After Slider */
.ba-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    aspect-ratio: 16/9;
    background: #1a1a1a;
    cursor: grab;
    user-select: none;
    contain: paint;
}

.ba-slider:active {
    cursor: grabbing;
}

.ba-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ba-image.before {
    filter: saturate(0.8) contrast(0.95) brightness(0.95);
}

.ba-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0.5);
    will-change: transform;
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    left: 0;
    background: var(--brand-blue);
    box-shadow: 0 0 15px rgba(4, 81, 182, 0.6);
    cursor: ew-resize;
    z-index: 10;
    will-change: transform;
}

.ba-handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    border: 3px solid white;
    box-shadow: var(--shadow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle-grip::before {
    content: '↔';
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* New robust before/after (TTW) */
.ttw {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-heavy);
    background: #111;
}
.ttw img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
.ttw .ttw-after-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
    /* Reveal left-to-right without scaling content */
    --reveal: 50; /* percent */
    clip-path: inset(0 calc(100% - var(--reveal, 50)%) 0 0);
    will-change: clip-path;
}
.ttw .ttw-handle {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    left: 50%;
    transform: translateX(-1px);
    background: rgba(255,255,255,0.9);
}
.ttw .ttw-handle::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-blue);
    border: 3px solid #fff;
    box-shadow: var(--shadow-blue);
}
.ttw .ttw-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.ba-label-large {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.ba-label-large {
    left: 20px;
}

.ba-label-large.after {
    left: auto;
    right: 20px;
}

.gallery-description {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Placeholder styling for upcoming galleries */
.placeholder-slider {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.placeholder-content {
    text-align: center;
    color: #888;
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.placeholder-content p {
    font-size: 1rem;
    color: #999;
}

/* Mobile Gallery Responsive */
@media (max-width: 768px) {
    .gallery-service-title {
        font-size: 1.5rem;
    }
    
    .large-ba-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .ba-slider {
        aspect-ratio: 4/3;
    }
    
    .ba-label-large {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        top: 15px;
    }
    
    .ba-handle-grip {
        width: 40px;
        height: 40px;
    }
}

/* Modern Process Flow Styles */
.modern-process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem;
}

.process-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    min-width: 200px;
    max-width: 220px;
    text-align: center;
    border: 2px solid transparent;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-blue);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.process-card:hover .card-icon {
    transform: scale(1.1);
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.step-indicator {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.process-arrow {
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.process-arrow:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Mobile responsiveness for process flow */
@media (max-width: 768px) {
    .modern-process-flow {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .process-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Service Page Styles */
.service-hero {
    min-height: 60vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 4rem;
}

.service-hero-content {
    text-align: center;
    color: var(--text-light);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.highlight-item i {
    color: var(--accent-color);
}

.service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.price-display {
    font-size: 1.2rem;
    color: var(--text-light);
}

.price-display strong {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.service-overview {
    padding: 4rem 0;
    background: white;
}

.overview-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
}

.overview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.overview-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.overview-item p {
    color: #666;
    line-height: 1.6;
}

.benefits-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.comparison-section {
    padding: 4rem 0;
    background: white;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
}

.comparison-header > div {
    padding: 1.5rem;
    text-align: center;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row > div {
    padding: 1.5rem;
    text-align: center;
}

.feature {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.ceramic-value {
    color: #16a34a;
    font-weight: 600;
}

.wax-value {
    color: #dc2626;
    font-weight: 600;
}

.whats-included {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.included-icon {
    flex-shrink: 0;
    color: #16a34a;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.included-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.included-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.service-cta-section {
    padding: 4rem 0;
    background: var(--gradient-dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding-top: 100px;
        min-height: 50vh;
    }

    .service-highlights {
        flex-direction: column;
        align-items: center;
    }

    .service-cta {
        flex-direction: column;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Paint Correction Page Styles */
.paint-defects {
    margin-top: 3rem;
    text-align: center;
}

.paint-defects h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.defects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.defect-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

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

.defect-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.defect-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.process-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.paint-gallery {
    padding: 4rem 0;
    background: white;
}

.gallery-note {
    text-align: center;
    background: rgba(37, 99, 235, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-top: 2rem;
}

.gallery-note p {
    color: #1d4ed8;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.paint-faq {
    padding: 4rem 0;
    background: var(--bg-light);
}

/* Mobile Responsive for Paint Correction */
@media (max-width: 768px) {
    .defects-grid {
        grid-template-columns: 1fr;
    }

    .defect-item {
        flex-direction: column;
        text-align: center;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        margin: 0 auto;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}