/*
Theme Name: GrowthFlow Agency
Theme URI: https://growthflow.agency
Author: GrowthFlow
Author URI: https://growthflow.agency
Description: A modern, high-conversion digital marketing agency one-page theme with warm orange accents, clean typography, and conversion-focused layout. Features include hero section, problems, services, process, results, lead capture form, and footer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: growthflow
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
    /* Primary - Warm Orange */
    --primary: hsl(28, 100%, 56%);
    --primary-light: hsl(32, 100%, 62%);
    --primary-foreground: #ffffff;
    
    /* Backgrounds - Soft cream/beige */
    --background: hsl(40, 33%, 98%);
    --foreground: hsl(220, 20%, 18%);
    
    /* Card surfaces */
    --card: #ffffff;
    --card-foreground: hsl(220, 20%, 18%);
    
    /* Muted elements */
    --muted: hsl(40, 20%, 96%);
    --muted-foreground: hsl(220, 10%, 50%);
    
    /* Secondary - Soft beige */
    --secondary: hsl(35, 30%, 95%);
    --secondary-foreground: hsl(220, 20%, 18%);
    
    /* Accent - Light orange tint */
    --accent: hsl(32, 100%, 96%);
    --accent-foreground: hsl(28, 100%, 45%);
    
    /* WhatsApp green */
    --whatsapp: hsl(142, 70%, 45%);
    --whatsapp-foreground: #ffffff;
    
    /* Border */
    --border: hsl(40, 20%, 90%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px rgba(34, 40, 49, 0.08);
    --shadow-card: 0 8px 30px -8px rgba(34, 40, 49, 0.1);
    --shadow-elevated: 0 20px 50px -12px rgba(34, 40, 49, 0.15);
    
    /* Grid pattern */
    --grid-color: rgba(34, 40, 49, 0.03);
    
    /* Border radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--foreground);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 7rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Grid Pattern Background */
.grid-pattern {
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Gradient Orange Section */
.gradient-orange-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--background) 100%);
}

/* Secondary Background */
.bg-secondary {
    background-color: var(--secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 14px -4px rgba(255, 138, 31, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(255, 138, 31, 0.5);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

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

.btn-whatsapp:hover {
    background-color: var(--whatsapp);
    color: var(--whatsapp-foreground);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
    .header-inner {
        height: 5rem;
    }
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
}

.site-logo span {
    color: var(--primary);
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.main-nav a:hover {
    color: var(--foreground);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

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

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: var(--foreground);
}

.mobile-menu .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.hero-badge .pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-headline {
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 32rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.trust-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Hero Analytics Card */
.hero-visual {
    position: relative;
}

.analytics-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .analytics-card {
        padding: 2rem;
    }
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.analytics-title {
    font-size: 1rem;
    font-weight: 600;
}

.analytics-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.analytics-growth {
    text-align: right;
}

.analytics-growth-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.analytics-growth-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 10rem;
    margin-bottom: 1.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: var(--radius) var(--radius) 0 0;
    transition: height 0.5s ease;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* New Lead Badge */
.new-lead-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background-color: var(--whatsapp);
    color: var(--whatsapp-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.new-lead-badge .pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

/* ==========================================================================
   Problems Section
   ========================================================================== */
.problems-grid {
    display: grid;
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.problem-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.problem-card h3 {
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Highlighted Note */
.highlighted-note {
    text-align: center;
    margin-top: 3rem;
}

.highlighted-note-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
}

.highlighted-note .dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
}

.highlighted-note span {
    font-weight: 500;
    color: var(--foreground);
}

.highlighted-note .highlight {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.service-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(255, 138, 31, 0.2);
}

.service-card .card-icon {
    background: linear-gradient(to bottom right, rgba(255, 138, 31, 0.1), var(--accent));
    transition: background 0.3s ease;
}

.service-card:hover .card-icon {
    background-color: var(--primary);
}

.service-card:hover .card-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.learn-more:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-grid {
    display: grid;
    gap: 2rem;
}

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

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

.process-step {
    position: relative;
}

/* Connector Line - only visible on desktop */
@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 3rem;
        left: 60%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(255, 138, 31, 0.3), transparent);
    }
}

.process-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

.step-badge {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.process-card .card-icon {
    width: 3rem;
    height: 3rem;
    margin-top: 0.5rem;
}

.process-card .card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.process-card h3 {
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   Results Section
   ========================================================================== */
.stats-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

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

.stat-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.stat-card .card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    margin: 0 auto 1rem;
}

.stat-card .card-icon svg {
    width: 2rem;
    height: 2rem;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-card .stat-value {
        font-size: 3rem;
    }
}

.stat-card .stat-label {
    font-weight: 500;
    color: var(--muted-foreground);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--primary);
    color: var(--primary);
}

.testimonial-content {
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Industry Tags */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.industry-tag {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-grid {
    display: grid;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-item .card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
}

.feature-item .card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
}

/* Comparison Table */
.comparison-table {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: var(--muted);
}

.comparison-header > div {
    padding: 1rem;
    font-weight: 600;
}

.comparison-header .us-header {
    color: var(--primary);
    text-align: center;
}

.comparison-header .others-header {
    color: var(--muted-foreground);
    text-align: center;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-row:nth-child(even) {
    background-color: rgba(var(--muted), 0.3);
}

.comparison-row > div {
    padding: 1rem;
    font-size: 0.875rem;
}

.comparison-row .check-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.x-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
    opacity: 0.5;
}

/* ==========================================================================
   Lead Form Section
   ========================================================================== */
.lead-form-section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .lead-form-section {
        padding: 7rem 0;
    }
}

.lead-form-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.form-card {
    background-color: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    padding: 2rem;
}

@media (min-width: 768px) {
    .form-card {
        padding: 3rem;
    }
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: var(--muted-foreground);
}

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

.form-submit {
    margin-top: 1.5rem;
}

.form-submit .btn {
    width: 100%;
}

/* Trust Notes */
.trust-notes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .trust-notes {
        flex-direction: row;
        justify-content: center;
    }
}

.trust-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.trust-note svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
    text-align: center;
}

.final-cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.final-cta-content h2 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

@media (min-width: 640px) {
    .final-cta-buttons {
        flex-direction: row;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand .site-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact span,
.footer-contact a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Display */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
    
    .hide-desktop {
        display: none;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
