/* ============================================
   FLUX WEB STUDIO - MAIN STYLESHEET
   Modern, flexible, scalable design system
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

:root {
    /* Color System - Grey × Forest Green Theme */
    --color-primary: #2D5F3F;
    --color-primary-dark: #1F4129;
    --color-primary-light: #3A7550;
    
    --color-bg-main: #F5F5F3;
    --color-bg-alt: #FAFAF8;
    --color-bg-dark: #2A2A2A;
    
    --color-text-primary: #2B2B2B;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #7A7A7A;
    
    --color-border: #D8D8D5;
    --color-border-light: #E8E8E5;
    
    --color-success: #2D5F3F;
    --color-error: #C84B31;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.brand-logo:hover {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-base);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-alt);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg-main);
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-full-width {
    width: 100%;
}

/* Hero-specific button overrides for dark background */
.hero-with-image .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.hero-with-image .btn-secondary:hover {
    background-color: white;
    color: var(--color-primary);
    border-color: white;
}

/* ============================================
   IMAGE OVERLAY SYSTEM
   ============================================ */

/* Premium overlay for readable text on images */
.img-overlay-container {
    position: relative;
    overflow: hidden;
}

.img-overlay-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
                                rgba(45, 95, 63, 0.65) 0%, 
                                rgba(43, 43, 43, 0.55) 50%, 
                                rgba(0, 0, 0, 0.45) 100%),
                radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

.img-overlay-container > * {
    position: relative;
    z-index: 2;
}

/* Light overlay variant for subtle images */
.img-overlay-light::before {
    background: linear-gradient(180deg, 
                                rgba(255, 255, 255, 0.85) 0%, 
                                rgba(245, 245, 243, 0.75) 50%, 
                                rgba(237, 238, 232, 0.65) 100%);
}

/* Contact panel specific overlay */
.contact-panel-overlay {
    position: relative;
}

.contact-panel-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
                                rgba(245, 245, 243, 0.95) 0%, 
                                rgba(250, 250, 248, 0.92) 100%),
                radial-gradient(ellipse at top left, rgba(45, 95, 63, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.contact-panel-overlay > * {
    position: relative;
    z-index: 2;
}

/* Ensure images maintain proper fitting */
.process-image,
.why-flux-image,
.services-image,
.contact-visual-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #EDEEE8 100%);
}

.hero-with-image {
    position: relative;
    background-image: url('../assets/images/flux-hero-studio-v2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.75) 0%, rgba(43, 43, 43, 0.65) 50%, rgba(42, 42, 42, 0.55) 100%),
                radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-with-image .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-with-image .hero-title,
.hero-with-image .hero-subtitle {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: var(--space-3xl) 0;
}

/* Alternating section backgrounds */
.how-it-works,
.why-flux,
.reassurance-section {
    background-color: var(--color-bg-alt);
}

/* Process Visual */
.process-visual-wrapper {
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.process-image {
    width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.page-header {
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
    background-color: var(--color-bg-alt);
}

.page-header-with-image {
    position: relative;
    background-image: url('../assets/images/flux-templates-gallery.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-3xl) 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.75) 0%, rgba(43, 43, 43, 0.65) 50%, rgba(42, 42, 42, 0.55) 100%),
                radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.page-header-with-image .container {
    position: relative;
    z-index: 2;
}

.page-header-with-image h1 {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header-with-image .page-intro {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-intro {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Page Header - Larger, warmer overlay */
.page-header-services {
    position: relative;
    background-image: url('../assets/images/flux-services-work-v2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(var(--space-3xl), 8vw, 120px) 0;
}

.page-header-overlay-services {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.65) 0%, rgba(62, 77, 68, 0.55) 50%, rgba(42, 42, 42, 0.45) 100%),
                radial-gradient(ellipse at top, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.page-header-services .container {
    position: relative;
    z-index: 2;
}

.page-header-services h1 {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.page-header-services .page-intro {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    max-width: 750px;
}

/* Contact Page Header - Tighter, cooler overlay, left-aligned */
.page-header-contact {
    position: relative;
    background-image: url('../assets/images/flux-contact-calm-v2.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: left;
}

.page-header-overlay-contact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(35, 75, 55, 0.8) 0%, rgba(43, 43, 43, 0.7) 60%, rgba(42, 42, 42, 0.6) 100%),
                linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

.page-header-contact .container {
    position: relative;
    z-index: 2;
}

.page-header-contact h1 {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--space-md);
}

.page-header-contact .page-intro {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    margin: 0;
}

/* Responsive adjustments for page headers */
@media (max-width: 768px) {
    .page-header-services {
        padding: var(--space-3xl) 0;
    }
    
    .page-header-services h1 {
        font-size: 2.25rem;
    }
    
    .page-header-services .page-intro {
        font-size: 1.125rem;
    }
    
    .page-header-contact {
        text-align: center;
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .page-header-contact .page-intro {
        margin: 0 auto;
    }
}

/* Services Visual */
.services-visual-wrapper {
    max-width: 700px;
    margin: var(--space-xl) auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.services-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.steps-grid,
.audience-grid,
.benefits-grid,
.info-grid,
.services-grid,
.faq-grid,
.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .steps-grid,
    .audience-grid,
    .benefits-grid,
    .info-grid,
    .services-grid,
    .faq-grid,
    .reassurance-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ============================================
   CARDS
   ============================================ */

.step-card,
.audience-card,
.benefit-card,
.info-item,
.service-card,
.faq-item,
.reassurance-item {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.step-card:hover,
.audience-card:hover,
.benefit-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

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

.step-card h3,
.audience-card h3,
.benefit-card h3,
.info-item h3,
.service-card h3,
.faq-item h3,
.reassurance-item h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-item h3 {
    color: var(--color-primary);
}

.step-card p,
.audience-card p,
.benefit-card p,
.info-item p,
.faq-item p,
.reassurance-item p {
    margin-bottom: 0;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Why Flux Visual */
.why-flux-visual-wrapper {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.why-flux-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   TEMPLATES PAGE
   ============================================ */

.templates-section {
    background-color: var(--color-bg-main);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    justify-content: center;
}

.filter-chip {
    padding: 0.5rem 1.25rem;
    background-color: var(--color-bg-alt);
    border: 2px solid var(--color-border-light);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-main);
}

.filter-chip.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.filter-chip.active:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

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

.template-card {
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.template-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

.template-preview {
    background-color: var(--color-bg-main);
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

/* New: Real thumbnail styling */
.template-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.template-card:hover .template-thumbnail {
    transform: scale(1.03);
}

/* Legacy placeholder fallback */
.template-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EBEBE8 0%, #D8D8D5 100%);
    color: var(--color-text-light);
    font-size: 1.125rem;
    font-weight: 600;
}

.template-info {
    padding: var(--space-lg);
}

.template-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: rgba(45, 95, 63, 0.08);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.template-name {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.template-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* Templates Info Section */
.templates-info {
    background-color: var(--color-bg-alt);
}

.info-content h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.feature-tag {
    font-size: 0.875rem;
    color: var(--color-text-light);
    background-color: var(--color-bg-main);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.template-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.template-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

/* Pricing Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.pricing-card {
    background-color: var(--color-bg-alt);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

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

.primary-service {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.primary-service:hover {
    box-shadow: var(--shadow-lg);
}

/* Featured/Recommended Package (middle one) */
.pricing-card:nth-child(2) {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-card:nth-child(2):hover {
    transform: translateY(-4px) scale(1.02);
}

@media (max-width: 968px) {
    .pricing-card:nth-child(2) {
        transform: scale(1);
    }
    
    .pricing-card:nth-child(2):hover {
        transform: translateY(-4px);
    }
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border-light);
    margin-bottom: var(--space-md);
}

.pricing-header h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.whats-included {
    flex: 1;
}

.whats-included h4,
.service-timeline h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
    font-weight: 600;
}

.included-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.included-list li {
    padding: 0.5rem 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.included-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 1rem;
}

.service-section {
    background-color: var(--color-bg-main);
}

.service-main {
    max-width: 1200px;
    margin: 0 auto;
}

.service-main h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.service-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.service-timeline p {
    margin-bottom: 0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}
    margin-bottom: var(--space-sm);
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg-main);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* Optional Services Section */
.optional-services {
    background-color: var(--color-bg-alt);
}

.optional-services h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.optional-services .section-intro {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.service-note {
    background-color: var(--color-bg-main);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    margin-top: var(--space-xl);
}

.care-note {
    background-color: var(--color-bg-main);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Visual */
.contact-visual-wrapper {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-visual-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.contact-form {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.required {
    color: var(--color-error);
}

.optional {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-bg-alt);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.radio-label:hover {
    background-color: var(--color-bg-main);
}

.radio-label input[type="radio"] {
    margin-right: var(--space-sm);
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.radio-label span {
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Error Messages */
.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    min-height: 20px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--color-error);
}

/* Success Message */
.success-message {
    background-color: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-success);
    text-align: center;
}

.success-message h3 {
    color: var(--color-success);
    margin-bottom: var(--space-md);
}

.success-message p {
    margin-bottom: 0;
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-box {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.contact-info-box h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.next-steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.next-steps-list li {
    counter-increment: step-counter;
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--color-text-secondary);
}

.next-steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--color-primary);
    color: white;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--color-primary);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--color-bg-main);
    color: var(--color-primary-dark);
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.brand-tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: var(--space-xs);
}

.footer-contact a {
    color: #4A8A5F;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-lg {
    margin-top: var(--space-lg);
}

/* ============================================
   TEMPLATE PREVIEW PAGES
   ============================================ */

.template-preview-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.preview-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.back-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary-dark);
}

.preview-header h1 {
    margin-bottom: var(--space-sm);
}

.preview-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: rgba(45, 95, 63, 0.08);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0;
}

.preview-screenshot {
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border-light);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
}

.preview-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 968px) {
    .preview-details {
        grid-template-columns: 1fr;
    }
}

.preview-content h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.preview-content h3 {
    font-size: 1.25rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.preview-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.suited-for-list,
.features-list,
.includes-list {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.suited-for-list li,
.features-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.suited-for-list li::before,
.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.suited-for-list li strong {
    color: var(--color-text-primary);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.preview-card {
    background-color: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.preview-card.highlight {
    border: 2px solid var(--color-primary);
    background-color: rgba(45, 95, 63, 0.03);
}

.preview-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.preview-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.includes-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.includes-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.preview-card .btn {
    margin-bottom: var(--space-sm);
}

.preview-card .btn:last-child {
    margin-bottom: 0;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to main content link (for screen readers) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-to-main:focus {
    top: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .site-header,
    .mobile-menu-toggle,
    .cta-section,
    .site-footer {
        display: none;
    }
    
    body {
        background-color: white;
    }
}
