/* ===================================
   MOTIONWAV - Global Styles
   =================================== */

:root {
    /* Color Palette */
    --color-primary: #3D5A47;
    --color-primary-dark: #2C4335;
    --color-primary-light: #4A7C59;
    --color-accent: #E8FF8B;
    --color-accent-dark: #D4EB6F;

    --color-bg-cream: #F5F1E8;
    --color-bg-light: #FDFCF9;
    --color-bg-white: #FFFFFF;
    --color-bg-warm: #FBF8F3;

    --color-text-primary: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-text-muted: #6B7280;

    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    /* Status Colors */
    --color-hot: #DC2626;
    --color-hot-bg: #FEE2E2;
    --color-warm: #F59E0B;
    --color-warm-bg: #FEF3C7;
    --color-cold: #3B82F6;
    --color-cold-bg: #DBEAFE;
    --color-success: #10B981;

    /* Typography */
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 400ms ease-in-out;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 400;
    color: var(--color-text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   Layout Components
   =================================== */

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

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

/* ===================================
   Navigation
   =================================== */

.navbar {
    background-color: var(--color-primary);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

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

.logo-text {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu li a {
    color: var(--color-bg-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-cta .btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

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

@media (max-width: 968px) {
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background-color: var(--color-primary);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    opacity: 0.6;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--color-bg-light);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text h1 em {
    color: var(--color-accent);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    color: var(--color-bg-cream);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    animation: floatAnimation 6s ease-in-out infinite;
}

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

.float-card {
    position: absolute;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatCardAnimation 4s ease-in-out infinite;
    font-size: 0.875rem;
}

.float-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes floatCardAnimation {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.card-title {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.8rem;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .float-card-1, .float-card-2 {
        position: static;
        margin: 1rem 0;
        animation: none;
    }
}

/* ===================================
   Trust Bar
   =================================== */

.trust-bar {
    background-color: var(--color-bg-warm);
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.trust-text {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

/* ===================================
   Section Styles
   =================================== */

.platform-overview,
.segmentation-section,
.features-deep,
.solutions-section,
.integrations-section,
.how-it-works,
.benefits-section {
    padding: 5rem 0;
}

.platform-overview {
    background-color: var(--color-bg-cream);
}

.segmentation-section {
    background-color: var(--color-bg-light);
}

.features-deep {
    background-color: var(--color-bg-warm);
}

.solutions-section {
    background-color: var(--color-bg-cream);
}

.integrations-section {
    background-color: var(--color-bg-light);
}

.how-it-works {
    background-color: var(--color-bg-warm);
}

.benefits-section {
    background-color: var(--color-bg-cream);
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title em {
    color: var(--color-primary-light);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* ===================================
   Feature Showcase
   =================================== */

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse > * {
    direction: ltr;
}

.showcase-image {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.showcase-image svg {
    width: 100%;
    height: auto;
}

.showcase-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.showcase-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

@media (max-width: 968px) {
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-reverse {
        direction: ltr;
    }
}

/* ===================================
   Segmentation Cards
   =================================== */

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

.segment-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.segment-icon {
    margin-bottom: 1.5rem;
}

.segment-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.segment-score {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.segment-card.hot .segment-score {
    background-color: var(--color-hot-bg);
    color: var(--color-hot);
}

.segment-card.warm .segment-score {
    background-color: var(--color-warm-bg);
    color: var(--color-warm);
}

.segment-card.cold .segment-score {
    background-color: var(--color-cold-bg);
    color: var(--color-cold);
}

.segment-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.segment-actions h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.segment-actions ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.segment-actions li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.segment-actions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-weight: 700;
}

.segment-actions strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.segment-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

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

/* Segmentation Benefits */

.segmentation-benefits {
    margin-top: 4rem;
}

.benefits-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-item {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.benefit-item svg {
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ===================================
   Feature Detail Grid
   =================================== */

.feature-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-detail {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.feature-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-detail-header h3 {
    font-size: 1.875rem;
    margin: 0;
}

.feature-detail-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.feature-detail-content h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.feature-detail-content h4:first-child {
    margin-top: 0;
}

.feature-detail-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

/* ===================================
   Solutions Grid
   =================================== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.solution-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.solution-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.solution-header h3 {
    font-size: 1.625rem;
}

.solution-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1.75rem;
}

.solution-features h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.solution-features ul {
    list-style: none;
}

.solution-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-weight: 700;
}

.solution-features strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

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

/* ===================================
   Integrations Section
   =================================== */

.integration-categories {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.integration-category {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.category-header h3 {
    font-size: 1.875rem;
    margin: 0;
}

.category-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.integration-details h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.integration-details h4:first-child {
    margin-top: 0;
}

.integration-details p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

/* API Section */

.api-section {
    margin-top: 4rem;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--color-bg-light);
}

.api-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.api-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.api-feature h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

.api-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-bg-cream);
    margin: 0;
}

/* ===================================
   How It Works - Steps
   =================================== */

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    align-items: start;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
}

.step-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.step-visual {
    margin-top: 2rem;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.step-visual svg {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .step {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }

    .step-number {
        font-size: 3rem;
    }
}

/* ===================================
   Benefits Section
   =================================== */

.metrics-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.metric-large {
    text-align: center;
    background: var(--color-bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.metric-value {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.metric-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

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

.benefit-block {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.benefit-block h3 {
    font-size: 1.625rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.benefit-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-size: 1.25rem;
}

.benefit-list strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content {
    color: var(--color-bg-light);
}

.contact-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-bg-light);
}

.contact-title em {
    color: var(--color-accent);
    font-style: italic;
}

.contact-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-feature h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.contact-feature p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-box h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
}

/* Contact Form */

.contact-form-container {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background-color: var(--color-bg-white);
}

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

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

.btn-submit {
    grid-column: 1 / -1;
    background-color: var(--color-primary);
    color: var(--color-accent);
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0;
}

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

    .contact-form {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-light);
    padding: 3.5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: var(--color-bg-cream);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--color-bg-cream);
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    color: var(--color-bg-cream);
    font-size: 0.85rem;
    opacity: 0.75;
}

.footer-address {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--color-bg-cream);
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.footer-contact a:hover {
    opacity: 1;
}

.separator {
    color: var(--color-bg-cream);
    opacity: 0.5;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Utility Classes
   =================================== */

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

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

/* ===================================
   Responsive Typography
   =================================== */

@media (max-width: 968px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.375rem; }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

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

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 1 !important;
}

.fade-in-ready {
    opacity: 0;
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .navbar,
    .contact-section,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }
}