/* ============================================
   SERVICE PAGE SHARED STYLES
   Window Cleaning Santa Cruz
   ============================================ */

/* Service Hero */
.service-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    color: var(--white);
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-hero-bg img,
.service-hero-bg .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

.service-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.service-hero .flex {
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .service-hero .flex {
        flex-direction: column;
    }

    .service-hero .flex .btn {
        width: 100%;
        text-align: center;
    }

    .service-hero .btn-lg {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Service Intro */
.service-intro {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.service-intro-content h2 {
    color: var(--navy-800);
    margin-bottom: var(--space-lg);
}

.service-intro-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.service-intro-image img,
.service-intro-image .placeholder-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .service-intro-image {
        order: -1;
    }

    .service-intro .flex {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .service-intro .flex {
        flex-direction: column;
    }

    .service-intro .flex .btn {
        width: 100%;
        text-align: center;
    }
}

/* Feature List */
.feature-list {
    margin: var(--space-xl) 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

.feature-list li svg {
    flex-shrink: 0;
}

/* Services Offered / Features Grid */
.services-offered,
.features-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.features-grid,
.services-offered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.feature-card,
.service-type-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-card:hover,
.service-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon,
.service-type-icon {
    width: 80px;
    height: 80px;
    background: var(--seafoam-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.feature-icon svg,
.service-type-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--pacific-500);
}

.feature-card h3,
.service-type-card h3 {
    color: var(--navy-800);
    margin-bottom: var(--space-sm);
}

.feature-card p,
.service-type-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

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

/* Products Section */
.products-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.product-card-image img,
.product-card-image .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: var(--space-xl);
}

.product-card-tag {
    display: inline-block;
    background: var(--seafoam-200);
    color: var(--pacific-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.product-card h3 {
    color: var(--navy-800);
    margin-bottom: var(--space-sm);
}

.product-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Process Section - Dark Background */
.process-section {
    padding: var(--space-4xl) 0;
    background: var(--navy-800);
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

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

.process-step-number {
    width: 50px;
    height: 50px;
    background: var(--gold-500);
    color: var(--navy-800);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.process-step h4 {
    margin-bottom: var(--space-sm);
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

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

/* Process Timeline (Vertical Style) */
.process-timeline {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
}

.process-timeline .process-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    text-align: left;
}

.process-timeline .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: -32px;
    width: 2px;
    background: var(--gray-200);
}

.process-timeline .process-step-number {
    flex-shrink: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.process-timeline .process-step-content h4 {
    color: var(--navy-800);
    margin-bottom: var(--space-xs);
}

.process-timeline .process-step-content p {
    color: var(--gray-600);
}

@media (max-width: 640px) {
    .process-timeline .process-step {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .process-timeline .process-step:not(:last-child)::after {
        display: none;
    }
}

/* Benefits Section - Dark */
.benefits-section-dark {
    padding: var(--space-4xl) 0;
    background: var(--navy-800);
    color: var(--white);
}

.benefits-section-dark .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.benefits-section-dark .benefit-item {
    text-align: center;
}

.benefits-section-dark .benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(229, 169, 23, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.benefits-section-dark .benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold-400);
}

.benefits-section-dark .benefit-item h4 {
    margin-bottom: var(--space-sm);
}

.benefits-section-dark .benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

@media (max-width: 640px) {
    .benefits-section-dark .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Benefits Section - Light (Cards) */
.benefits-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.benefit-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--sand-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gold-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--navy-800);
}

.benefit-card h4 {
    color: var(--navy-800);
    margin-bottom: var(--space-xs);
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

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

/* Comparison Section */
.comparison-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.comparison-card.without {
    border: 2px solid var(--gray-300);
}

.comparison-card.with {
    border: 2px solid var(--gold-500);
}

.comparison-card h3 {
    color: var(--navy-800);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.comparison-card.without h3::before {
    content: '✗';
    color: var(--error);
}

.comparison-card.with h3::before {
    content: '✓';
    color: var(--success);
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

.comparison-card.without .comparison-list li::before {
    content: '•';
    color: var(--gray-400);
}

.comparison-card.with .comparison-list li::before {
    content: '✓';
    color: var(--gold-500);
    font-weight: 700;
}

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

/* Gallery Section */
.service-gallery {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.service-gallery.alt-bg {
    background: var(--sand-200);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-item img,
.gallery-item .placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

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

/* Problems/Issues Section */
.problems-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-card-icon {
    width: 64px;
    height: 64px;
    background: var(--seafoam-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.problem-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--pacific-500);
}

.problem-card h4 {
    color: var(--navy-800);
    margin-bottom: var(--space-sm);
}

.problem-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

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

/* Stats Section */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--pacific-600);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: var(--space-xs);
}

.stat-item p {
    font-size: 0.9375rem;
    opacity: 0.9;
}

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    padding: var(--space-4xl) 0;
    background: var(--seafoam-100);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.why-choose-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-500);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.why-choose-icon {
    width: 72px;
    height: 72px;
    background: var(--gold-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.why-choose-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--gold-600);
}

.why-choose-card h4 {
    color: var(--navy-800);
    margin-bottom: var(--space-sm);
}

.why-choose-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

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

/* Before/After Section */
.before-after-section {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.before-after-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.before-after-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.before-after-label {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    background: var(--navy-800);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.before-after-item.after .before-after-label {
    background: var(--gold-500);
    color: var(--navy-800);
}

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

/* What We Clean Section */
.what-we-clean {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.clean-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.clean-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--sand-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.clean-item:hover {
    background: var(--sand-200);
    transform: translateY(-4px);
}

.clean-item-icon {
    width: 56px;
    height: 56px;
    background: var(--seafoam-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.clean-item-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pacific-500);
}

.clean-item h4 {
    color: var(--navy-800);
    font-size: 0.9375rem;
}

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

@media (max-width: 480px) {
    .clean-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Highlight */
.pricing-highlight {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--pacific-600) 0%, var(--pacific-700) 100%);
    color: var(--white);
}

.pricing-highlight-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pricing-highlight h2 {
    margin-bottom: var(--space-lg);
}

.pricing-highlight p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.pricing-badge {
    display: inline-block;
    background: var(--gold-500);
    color: var(--navy-800);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

/* Service Add-ons */
.addons-section {
    padding: var(--space-4xl) 0;
    background: var(--seafoam-100);
}

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

.addon-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.addon-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold-500);
    flex-shrink: 0;
}

.addon-item span {
    color: var(--navy-800);
    font-weight: 500;
}

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

/* Testimonial Highlight */
.testimonial-highlight {
    padding: var(--space-4xl) 0;
    background: var(--sand-200);
}

.testimonial-card-large {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial-card-large::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-xl);
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--gold-200);
    line-height: 1;
}

.testimonial-card-large p {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author-avatar {
    width: 56px;
    height: 56px;
    background: var(--seafoam-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-author-info h4 {
    color: var(--navy-800);
    margin-bottom: 2px;
}

.testimonial-author-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-top: var(--space-sm);
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--gold-500);
}

/* Process Section - White Background Variation */
.process-section-light {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.process-section-light .process-step-number {
    background: var(--navy-800);
    color: var(--white);
}

.process-section-light .process-step h4 {
    color: var(--navy-800);
}

.process-section-light .process-step p {
    color: var(--gray-600);
}

/* Insurance Callout Banner */
.insurance-callout {
    background: var(--navy-800);
    padding: var(--space-2xl) 0;
    border-top: 4px solid var(--gold-500);
}

.insurance-callout-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.insurance-callout-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: rgba(229, 169, 23, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-callout-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--gold-400);
}

.insurance-callout-content {
    flex: 1;
}

.insurance-callout-content h2 {
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: var(--space-xs);
}

.insurance-callout-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.insurance-callout-cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .insurance-callout-inner {
        flex-direction: column;
        text-align: center;
    }

    .insurance-callout-cta {
        width: 100%;
    }

    .insurance-callout-cta .btn {
        width: 100%;
        text-align: center;
    }
}
