/* Ekipni.co - Modern Design System */

/* Font Loading Optimization */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Primary Brand Colors - Blue (oklch based) */
    --primary-50: oklch(0.97 0.015 197.181);
    --primary-100: oklch(0.93 0.025 197.181);
    --primary-200: oklch(0.85 0.04 197.181);
    --primary-300: oklch(0.75 0.055 197.181);
    --primary-400: oklch(0.60 0.065 197.181);
    --primary-500: oklch(0.50 0.075 197.181);
    --primary-600: oklch(0.456427 0.077679 197.181);
    --primary-700: oklch(0.40 0.077 197.181);
    --primary-800: oklch(0.35 0.075 197.181);
    --primary-900: oklch(0.30 0.070 197.181);

    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-50) 100%);
    min-height: 100vh;
}

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

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-700);
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-600);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.25);
}

/* Shimmer sweep on primary button (Linear-style) */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    box-shadow: 0 8px 24px 0 rgba(13, 148, 136, 0.38);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px 0 rgba(13, 148, 136, 0.22);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary-nav {
    padding: 0.6875rem 1.375rem;
    font-size: 0.9375rem;
    font-weight: 600 !important;
    color: white !important;
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
    transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-400);
    color: var(--primary-700);
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-mountains-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 500px;
    background-image: url('ekipnico-mountains.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    transition: opacity var(--transition-slow);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 0;
}

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

.hero-text {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.875rem 1rem;
    align-items: center;
}

.trust-badge {
    color: var(--gray-500);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.trust-badge::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Services Preview */
.services-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(8px);
    border-color: var(--primary-300);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    color: var(--primary-700);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition:
        transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 260ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 260ms ease;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature:hover {
    box-shadow: 0 24px 56px -12px rgba(15, 94, 98, 0.18), 0 0 0 1px rgba(15, 118, 110, 0.1);
    transform: translateY(-6px);
    border-color: var(--primary-200);
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-200), var(--primary-300));
    color: var(--primary-800);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    color: var(--primary-700);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background var(--transition-base), color var(--transition-base);
}

.feature h3 {
    font-size: 1.375rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-desc {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.feature-highlight {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-300), var(--primary-400), var(--primary-300));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary-600);
    color: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.step h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.quote {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    flex-grow: 1;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-300);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    font-family: Georgia, serif;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
}

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

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, white 0%, var(--primary-50) 100%);
}

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

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-info .section-title {
    text-align: left;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 42ch;
}

.contact-direct {
    background: var(--primary-50);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    border: 2px solid var(--primary-200);
}

.contact-direct p {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-700);
    text-decoration: none;
    transition: all var(--transition-base);
}

.contact-email:hover {
    color: var(--primary-800);
    transform: translateX(4px);
}

.contact-email i {
    font-size: 1.125rem;
}

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

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.benefit i {
    color: var(--success);
    font-size: 1.25rem;
}

.contact-form-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--gray-50);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

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

.success-message h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--gray-600);
    font-size: 1.0625rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--gray-300);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background-image: url('ekipnico-mountains.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: overlay;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 1rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.cookie-text p:first-child {
    margin-bottom: 0.5rem;
}

.cookie-text strong {
    color: var(--gray-900);
    font-size: 1.125rem;
}

.cookie-text a {
    color: var(--primary-600);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--primary-700);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-actions .btn {
    white-space: nowrap;
}

/* Responsive Design — tablet (960px) */
@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        position: static;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-subtitle {
        max-width: 100%;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .steps::before {
        display: none;
    }

    .solution,
    .products-section,
    .how-it-works,
    .results-section,
    .contact-section {
        padding: 5rem 0;
    }
}

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-xl);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height var(--transition-slow), opacity var(--transition-slow), padding var(--transition-slow);
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links.active {
        max-height: 400px;
        padding: 1.5rem;
        opacity: 1;
    }

    .nav-links a:not(.btn) {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 0.75rem;
    }

    /* Enhanced Mobile Hero Section */
    .hero {
        padding: 3rem 0 4rem;
        min-height: 85vh;
        display: flex;
        align-items: center;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(249, 250, 251, 0.95) 100%);
    }

    .hero-mountains-bg {
        height: 70%;
        opacity: 0.18;
        background-size: cover;
        background-position: center 70%;
        animation: subtleFloat 8s ease-in-out infinite;
    }

    @keyframes subtleFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-10px) scale(1.02);
        }
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -30%;
        right: -20%;
        opacity: 0.25;
    }

    .hero-content {
        min-height: auto;
    }

    .hero-text {
        padding: 2rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        box-shadow: var(--shadow-2xl);
        border: 1px solid rgba(226, 232, 240, 0.8);
        animation: fadeInUp 0.6s ease-out;
    }

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

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 1.25rem;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.65;
        margin-bottom: 2rem;
        color: var(--gray-600);
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-cta {
        gap: 1.25rem;
    }

    .hero-cta .btn-large {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.0625rem;
        font-weight: 700;
        box-shadow: 0 8px 20px 0 rgba(13, 148, 136, 0.35);
        animation: pulseGlow 2s ease-in-out infinite;
    }

    @keyframes pulseGlow {
        0%, 100% {
            box-shadow: 0 8px 20px 0 rgba(13, 148, 136, 0.35);
        }
        50% {
            box-shadow: 0 10px 25px 0 rgba(13, 148, 136, 0.45);
        }
    }

    .trust-badge {
        font-size: 0.875rem;
        text-align: center;
        padding: 0.5rem;
        background: linear-gradient(135deg, var(--gray-50), white);
        border-radius: var(--radius-lg);
        border: 1px solid var(--gray-200);
    }

    /* Enhanced Mobile Service Cards */
    .services-preview {
        margin-top: 2rem;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.98));
        border: 2px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .service-card:hover {
        transform: translateY(-4px) scale(1.02);
        border-color: var(--primary-400);
        box-shadow: 0 12px 30px -5px rgba(13, 148, 136, 0.3);
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        background: linear-gradient(135deg, var(--primary-200), var(--primary-300));
        box-shadow: var(--shadow-md);
    }

    .service-card h3 {
        font-size: 1.125rem;
        font-weight: 700;
    }

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

    /* Enhanced Mobile Sections */
    .section-title {
        font-size: 1.875rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .feature {
        padding: 1.75rem;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: var(--shadow-md);
    }

    .feature:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-md);
    }

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

    .feature-desc {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .feature-highlight {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* Enhanced Mobile Testimonials */
    .testimonial {
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
    }

    .testimonial:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.15);
    }

    .quote {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    /* Enhanced Mobile Buttons */
    .btn {
        font-size: 0.9375rem;
        padding: 0.875rem 1.75rem;
        box-shadow: var(--shadow-md);
        min-height: 48px;
    }

    .btn:active {
        transform: scale(0.97);
    }

    /* Enhanced Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer::before {
        height: 200px;
        opacity: 0.08;
    }

    /* Enhanced Cookie Banner for Mobile */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    /* Contact Form Mobile Enhancement */
    .contact-form-container {
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }

    .contact-form h3 {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 1rem;
        border-width: 2px;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--primary-600);
        box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
    }
}

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

    /* Ultra-Mobile Hero Optimization */
    .hero {
        min-height: 90vh;
        padding: 2.5rem 0 3rem;
    }

    .hero-mountains-bg {
        height: 65%;
        opacity: 0.15;
        background-position: center 75%;
    }

    .hero-text {
        padding: 1.75rem 1.5rem;
        border-radius: var(--radius-xl);
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }

    .hero-cta .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        font-weight: 700;
        box-shadow: 0 6px 18px 0 rgba(13, 148, 136, 0.35);
    }

    .trust-badge {
        font-size: 0.8125rem;
        padding: 0.625rem 0.75rem;
    }

    .trust-badge::before {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 0.6875rem;
    }

    /* Ultra-Mobile Service Cards */
    .services-preview {
        gap: 0.875rem;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
        margin: 0 auto;
    }

    .service-card h3 {
        font-size: 1.0625rem;
        margin-bottom: 0.25rem;
    }

    .service-card p {
        font-size: 0.8125rem;
    }

    /* Ultra-Mobile Sections */
    .section-title {
        font-size: 1.625rem;
        line-height: 1.25;
        padding: 0 0.25rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        line-height: 1.55;
        margin-bottom: 2rem;
        padding: 0 0.25rem;
    }

    /* Ultra-Mobile Feature Cards */
    .feature {
        padding: 1.75rem 1.5rem;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .feature h3 {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }

    .feature-desc {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .feature-highlight {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    /* Ultra-Mobile Steps */
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .step h3 {
        font-size: 1.0625rem;
    }

    .step p {
        font-size: 0.875rem;
    }

    /* Ultra-Mobile Testimonials */
    .testimonial {
        padding: 1.75rem 1.5rem;
    }

    .quote {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .quote::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }

    .author-name {
        font-size: 0.9375rem;
    }

    .author-role {
        font-size: 0.8125rem;
    }

    /* Ultra-Mobile Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.8125rem 1.5rem;
    }

    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    /* Ultra-Mobile Contact Section */
    .contact-form-container {
        padding: 1.75rem 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.25rem;
    }

    .contact-direct {
        padding: 1.25rem;
    }

    .contact-email {
        font-size: 1.125rem;
    }

    .benefit {
        font-size: 0.9375rem;
        gap: 0.625rem;
    }

    .benefit i {
        font-size: 1.125rem;
    }

    /* Ultra-Mobile Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-brand p {
        font-size: 0.9375rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    .footer-column a {
        font-size: 0.9375rem;
    }

    /* Ultra-Mobile Cookie Banner */
    .cookie-banner {
        padding: 0 0.5rem;
    }

    .cookie-content {
        padding: 1.25rem 1rem;
    }

    .cookie-text strong {
        font-size: 1.0625rem;
    }

    .cookie-text p {
        font-size: 0.9375rem;
    }
}

/* Additional Mobile Breakpoint for Extra Small Devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.625rem;
    }

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

    .service-card {
        padding: 1.125rem 1rem;
    }

    .feature {
        padding: 1.5rem 1.25rem;
    }

    .testimonial {
        padding: 1.5rem 1.25rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0 2.5rem;
    }

    .hero-mountains-bg {
        height: 60%;
    }

    .hero-text {
        padding: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta .btn-large {
        padding: 0.875rem 1.5rem;
    }
}

/* Performance: Reduce animations on lower-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-mountains-bg {
        animation: none;
    }

    .hero-text {
        animation: none;
    }

    .hero-cta .btn-large {
        animation: none;
    }
}


/* =====================================================
   Additions: accessibility, form validation, misc fixes
   ===================================================== */

/* Skip link - visually hidden until focused */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    background: var(--primary-700);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Focus-visible ring for interactive elements */
:focus-visible {
    outline: 3px solid var(--primary-600);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Remove outline only for mouse users (handled by focus-visible) */
:focus:not(:focus-visible) {
    outline: none;
}

/* Required field asterisk */
.req-mark {
    color: var(--error);
    margin-left: 0.125rem;
}

/* Inline field error messages */
.field-error {
    display: block;
    min-height: 1.25rem;
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 0.375rem;
    font-weight: 500;
}

/* Invalid field state */
.form-group input.field-invalid,
.form-group select.field-invalid,
.form-group textarea.field-invalid {
    border-color: var(--error);
    background: #fff5f5;
}

.form-group input.field-invalid:focus,
.form-group select.field-invalid:focus,
.form-group textarea.field-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* contact-benefits as semantic list */
.contact-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

/* Success message icon improvement */
.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

/* Hidden attribute support */
[hidden] {
    display: none !important;
}

/* Cookie banner: use hidden attribute instead of inline style */
.cookie-banner[hidden] {
    display: none !important;
}

/* Sitemap URLs in footer: use nav instead of div - no style changes needed */

/* Ensure figure/blockquote testimonials keep existing visual look */
.testimonial blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

/* Smooth scroll only when user has no motion preference */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* ============================================================
   Revamp additions: product showcase, stack strip, results
   ============================================================ */

/* Inline accent links in prose */
.inline-link {
    color: var(--primary-700);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(var(--primary-600), var(--primary-600));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    border-bottom: 1px solid color-mix(in oklch, var(--primary-700) 30%, transparent);
    transition:
        color var(--transition-fast),
        border-bottom-color var(--transition-fast),
        background-size var(--transition-base);
}
.inline-link:hover,
.inline-link:focus-visible {
    color: var(--primary-800);
    border-bottom-color: transparent;
    background-size: 100% 1px;
}

/* Hero peaks scene — editorial, logo-inspired */
.peaks-scene {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
        0 28px 70px -14px rgba(15, 94, 98, 0.26),
        0 0 0 1px rgba(15, 118, 110, 0.1);
    /* JS sets perspective tilt on mousemove */
    transform: perspective(900px) rotateX(0deg) rotateY(0deg);
    transition: box-shadow var(--transition-slow);
    will-change: transform;
}

.peaks-scene:hover {
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
        0 36px 80px -16px rgba(15, 94, 98, 0.32),
        0 0 0 1px rgba(15, 118, 110, 0.14);
}

.peaks-scene-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Atmosphere ellipse: slow breathe with gentler cubic */
.atmosphere-glow {
    transform-origin: 50% 50%;
    transform-box: fill-box;
    animation: atmosphere-breathe 10s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes atmosphere-breathe {
    0%, 100% { opacity: 0.78; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Stars: staggered, varied rhythm for organic feel */
.star {
    animation: star-fade 4.2s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
.star-2 { animation-delay: 1.1s; animation-duration: 5.4s; }
.star-3 { animation-delay: 2.3s; animation-duration: 4.8s; }
.star-4 { animation-delay: 3.5s; animation-duration: 6.2s; }
.star-5 { animation-delay: 0.7s; animation-duration: 7s; }

@keyframes star-fade {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Ridge trail: primary glow sweep, slightly slower and smoother */
.ridge-trail {
    animation: ridge-race 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    will-change: stroke-dashoffset;
}

/* Ghost trail: wider blurred halo, phase-offset for depth */
.ridge-trail-ghost {
    animation: ridge-race-ghost 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    will-change: stroke-dashoffset;
}

@keyframes ridge-race {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -800; }
}

@keyframes ridge-race-ghost {
    0% { stroke-dashoffset: -24; }
    100% { stroke-dashoffset: -824; }
}

/* Peaks: subtle depth shift on scene hover */
.peak { transition: opacity 0.5s ease; }
.peaks-scene:hover .peak-back  { opacity: 0.82; }
.peaks-scene:hover .peak-front { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .atmosphere-glow,
    .star,
    .ridge-trail,
    .ridge-trail-ghost,
    .comet,
    .comet-core {
        animation: none;
    }
    .comet,
    .comet-core {
        display: none;
    }
    .peaks-scene,
    .peak {
        transition: none;
        will-change: auto;
    }
}

/* Stack strip */
.stack-strip {
    padding: 2rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.stack-strip-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 1rem;
}
.stack-strip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}
.stack-strip-list li {
    padding: 0.5rem 0.875rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: -0.005em;
}

/* Products section */
.products-section {
    padding: 6rem 0;
    background: white;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition:
        transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 280ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Gradient sheen that sweeps across on hover */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(45, 212, 191, 0.04) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-2xl);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 48px -12px rgba(15, 94, 98, 0.22),
        0 0 0 1px rgba(15, 118, 110, 0.12);
    border-color: var(--primary-300);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-media {
    display: block;
    overflow: hidden;
    background: var(--gray-100);
}
.product-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-media img {
    transform: scale(1.04);
}
.product-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
}
.product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.product-card-head h3 {
    font-size: 1.375rem;
    color: var(--gray-900);
    margin: 0;
    letter-spacing: -0.015em;
}
.product-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary-700);
    white-space: nowrap;
}
.product-card-body p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}
.product-link {
    color: var(--primary-700);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9375rem;
    margin-top: auto;
    transition: color var(--transition-fast), gap var(--transition-base);
}
.product-link:hover,
.product-link:focus-visible {
    color: var(--primary-600);
    gap: 0.65rem;
}
.product-link i {
    transition: transform var(--transition-base);
    font-size: 0.875em;
}
.product-link:hover i,
.product-link:focus-visible i {
    transform: translateX(3px);
}

/* Results section (real case study numbers) */
.results-section {
    padding: 6rem 0;
    background: var(--gray-50);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.result-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-left: 3px solid transparent;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition:
        transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 260ms cubic-bezier(0.4, 0, 0.2, 1),
        border-left-color 260ms ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(15, 94, 98, 0.16);
    border-left-color: var(--primary-500);
}
.result-figure {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.result-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.45;
}
.result-desc {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

/* Responsive: mobile (640px) */
@media (max-width: 640px) {
    .orbs {
        max-width: 320px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .stack-strip {
        padding: 1.75rem 0;
    }

    .solution,
    .products-section,
    .how-it-works,
    .results-section,
    .contact-section {
        padding: 4rem 0;
    }

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

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .features-grid,
    .testimonials-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card-body {
        padding: 1.5rem;
    }

    .result-card {
        padding: 1.5rem;
    }
}

/* =====================================================
   Section title scroll reveal (JS adds .section-title-visible)
   ===================================================== */
.section-title,
.section-subtitle {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    transition-delay: 0.1s;
}

.section-title.revealed,
.section-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .section-title,
    .section-subtitle {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   Nav link underline: consistent with inline-link
   ===================================================== */
.nav-links a:not(.btn) {
    background-image: linear-gradient(var(--primary-600), var(--primary-600));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 calc(100% + 4px);
    transition:
        color var(--transition-base),
        background-size var(--transition-base);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible {
    background-size: 100% 2px;
}

/* Override the ::after underline in favour of background-image approach */
.nav-links a:not(.btn)::after {
    display: none;
}


/* ============================================================
   FAQ section
   ============================================================ */

.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    max-width: 820px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.faq-q {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    line-height: 1.4;
    user-select: none;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gray-500);
    border-bottom: 2px solid var(--gray-500);
    transform: rotate(45deg);
    transition: transform var(--transition-base), border-color var(--transition-base);
    flex-shrink: 0;
    margin-top: -3px;
}

.faq-item[open] .faq-q::after {
    transform: rotate(-135deg);
    margin-top: 3px;
    border-color: var(--primary-600);
}

.faq-q:hover {
    color: var(--primary-700);
}

.faq-a {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-a p {
    margin: 0;
}

.faq-a strong {
    color: var(--gray-900);
    font-weight: 600;
}

@media (max-width: 640px) {
    .faq-section {
        padding: 4rem 0;
    }
    .faq-q {
        padding: 1rem 1.125rem;
        font-size: 1rem;
    }
    .faq-a {
        padding: 0 1.125rem 1.25rem;
    }
}

