/* ===== CSS Variables - Emerald Green & Warm Gradient ===== */
:root {
    /* Primary Emerald Green - Brand Color */
    --primary-900: #064E3B;
    --primary-800: #065F46;
    --primary-700: #047857;
    --primary-600: #059669;
    --primary-500: #10B981;
    --primary-400: #34D399;
    --primary-300: #6EE7B7;
    --primary-200: #A7F3D0;
    --primary-100: #D1FAE5;
    --primary-50: #ECFDF5;

    /* Aliases for backwards compatibility - mapped to emerald */
    --green-900: #064E3B;
    --green-800: #065F46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10B981;
    --green-400: #34D399;
    --green-300: #6EE7B7;
    --green-200: #A7F3D0;
    --green-100: #D1FAE5;
    --green-50: #ECFDF5;

    /* Dark Charcoal Text - Warmer tones */
    --gray-900: #1A1D1A;
    --gray-800: #2D312D;
    --gray-700: #404544;
    --gray-600: #5A5F5E;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;

    /* Warm Cream Backgrounds - Subtle green tint */
    --cream-100: #F8FAF8;
    --cream-50: #FCFDFB;
    --white: #FFFFFF;
    --black: #000000;

    /* Accent - Warm Amber/Gold */
    --amber-600: #B45309;
    --amber-500: #D97706;
    --amber-400: #F59E0B;
    --amber-300: #FCD34D;
    --amber-100: #FEF3C7;
    --amber-50: #FFFBEB;

    /* Accent - Soft Teal (complementary) */
    --teal-600: #0D9488;
    --teal-500: #14B8A6;
    --teal-400: #2DD4BF;
    --teal-100: #CCFBF1;
    --teal-50: #F0FDFA;

    /* Accent - Warm Rose */
    --rose-600: #E11D48;
    --rose-500: #F43F5E;
    --rose-100: #FFE4E6;
    --rose-50: #FFF1F2;

    /* Accent - Slate Blue */
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;

    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Enhanced Shadows - Subtle emerald tint */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04), 0 1px 3px 0 rgba(5, 150, 105, 0.02);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(5, 150, 105, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(5, 150, 105, 0.06);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.1), 0 12px 16px -4px rgba(5, 150, 105, 0.06);
    --shadow-primary: 0 4px 14px -2px rgba(5, 150, 105, 0.3);
    --shadow-green: 0 4px 14px -2px rgba(5, 150, 105, 0.3);

    /* Smooth Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(5, 150, 105, 0.4);

}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FAFAFA;
    background-image:
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.02) 0%, transparent 50%),
        radial-gradient(at 0% 100%, rgba(251, 191, 36, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--green-600);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 16px;
    outline: none;
    box-shadow: var(--focus-ring);
}

/* ===== Focus States (Accessibility) ===== */
*:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

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

/* ===== Typography ===== */
h1 {
    font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--gray-900);
}

h2 {
    font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h3 {
    font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--gray-900);
}

h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

p {
    color: var(--gray-600);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.7;
}

a {
    transition: var(--transition-fast);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:focus-visible {
    box-shadow: var(--focus-ring);
}

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

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

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

.btn-outline {
    background-color: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    color: var(--green-700);
    background-color: var(--green-100);
}

.btn-white {
    background-color: var(--white);
    color: var(--green-700);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.btn-white:hover {
    background-color: var(--green-50);
    color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--gray-900);
    background-color: transparent;
    border: 1.5px solid var(--gray-300);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-minimal:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background-color: var(--primary-50);
}

.btn-minimal svg {
    transition: transform 0.2s ease;
}

.btn-minimal:hover svg {
    transform: translateX(4px);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    position: relative;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-line + .hamburger-line {
    margin-top: 6px;
}

/* Hamburger animation when open */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 0 80px;
    background: transparent;
    text-align: center;
    position: relative;
}

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

.hero h1 {
    margin-bottom: 28px;
    color: var(--gray-900);
}

.hero h1 span {
    color: var(--primary-600);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== Trust Bar ===== */
.trust-bar {
    padding: 40px 0;
    background: transparent;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: clamp(3rem, 2rem + 5vw, 5rem);
}

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

.trust-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 0.75rem + 3.75vw, 2.75rem);
    border: 1px solid var(--gray-200);
}

.service-card.coming-soon {
    background-color: var(--gray-50);
    box-shadow: none;
    border: 2px dashed var(--gray-300);
}

.card-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.card-badge.secondary {
    background-color: var(--gray-500);
}

.card-badge.amber {
    background-color: var(--amber-500);
}

.card-badge.teal {
    background-color: var(--teal-600);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-600);
}

.service-icon.muted {
    background-color: var(--gray-200);
    color: var(--gray-500);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.service-card > p {
    margin-bottom: 24px;
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--primary-100);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 4px 12px;
    background-color: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
}

.tag.green {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.tag.amber {
    background-color: var(--amber-50);
    color: var(--amber-600);
}

.tag.teal {
    background-color: var(--teal-50);
    color: var(--teal-600);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 50%, var(--green-700) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.cta-content p {
    color: var(--green-100);
    font-size: 1.125rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ===== Newsletter Section ===== */
.newsletter {
    padding: 80px 0;
    background: transparent;
}

.newsletter-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content {
    margin-bottom: 40px;
}

.newsletter-content h2 {
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.newsletter-form .form-row {
    display: flex;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1rem);
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition);
}

.newsletter-form input:hover {
    border-color: var(--gray-300);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.form-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.form-message {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: var(--green-100);
    color: var(--green-800);
    border: 1px solid var(--green-200);
}

.form-message.error {
    display: block;
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 40px;
    background-color: var(--gray-900);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--gray-400);
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

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

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}


.service-card-text {
    grid-area: text;
}

.service-card-image {
    grid-area: image;
}

.service-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text image";
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .service-card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas: "image" "text" !important;
        gap: 32px !important;
    }

    .service-card-image {
        grid-area: image;
    }

    .service-card-text {
        grid-area: text;
    }
}

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

/* Tablet */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile navigation - dropdown from top */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--gray-200);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--gray-100);
        list-style: none;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 44px;
        color: var(--gray-700);
        text-decoration: none;
    }

    .nav-links a:hover {
        background-color: var(--gray-50);
        color: var(--gray-900);
    }

    .nav-actions {
        display: none;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .trust-items {
        flex-wrap: wrap;
        gap: 32px;
    }

    .trust-item {
        flex: 1 1 40%;
        min-width: 120px;
    }

    .trust-number {
        font-size: 1.75rem;
    }

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

    .services {
        padding: 64px 0;
    }

    /* Fix service card on mobile */
    .service-card {
        padding: 32px 24px !important;
        max-width: 100% !important;
    }

    .service-card h3 {
        font-size: 1.5rem !important;
    }

    .service-card p {
        font-size: 1rem !important;
    }

    .service-card-image img {
        max-width: 100% !important;
        height: auto !important;
    }

    .feature-list {
        margin-bottom: 24px !important;
    }

    .feature-list li {
        font-size: 0.9375rem;
        padding: 6px 0;
        padding-left: 28px;
    }

    /* Tags wrap on mobile */
    .service-card-image > div:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Newsletter form mobile */
    .newsletter {
        padding: 64px 0;
    }

    .newsletter-wrapper {
        padding: 0 8px;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .newsletter-content p {
        font-size: 1rem;
    }

    .newsletter-form .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-form input {
        width: 100%;
        padding: 16px 18px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .newsletter-form .btn {
        width: 100%;
        min-height: 50px;
    }

    /* Footer mobile */
    .footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* Cookie banner mobile */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

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

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 48px 0 32px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .service-card {
        padding: 24px 20px !important;
    }

    .trust-bar {
        padding-top: 32px !important;
    }

    .trust-items {
        gap: 20px;
    }

    .trust-item {
        flex: 1 1 100%;
    }

    .trust-number {
        font-size: 1.5rem;
    }

    .trust-label {
        font-size: 0.8125rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    /* Button touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    /* Tags on mobile */
    .tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    /* Service card icon container */
    .service-card > div:last-child {
        margin-top: 32px;
    }

    .service-card h3 {
        font-size: 1.25rem !important;
    }

    .service-card p {
        font-size: 0.9375rem !important;
        line-height: 1.6 !important;
    }

    .feature-list li {
        font-size: 0.875rem;
    }

    /* Ensure images don't overflow */
    .service-card-image {
        width: 100%;
        overflow: hidden;
    }

    .service-card-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 12px !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .service-card {
        padding: 20px 16px !important;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .trust-items {
        gap: 16px;
    }

    .trust-number {
        font-size: 1.25rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly improvements */
a, button, input, select, textarea {
    touch-action: manipulation;
}

/* Ensure minimum touch target size */
a, button {
    min-height: 44px;
    min-width: 44px;
}

/* Fix for iOS input zoom */
input, select, textarea {
    font-size: 16px;
}

/* Fluid typography for better scaling */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

/* Safe area for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-bottom {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .cookie-banner {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--gray-900);
    color: var(--white);
    padding: 20px 28px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

.cookie-text h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: normal;
}

.cookie-text p {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--gray-300);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner .btn-outline {
    background-color: transparent;
    border-color: var(--gray-600);
    color: var(--white);
}

.cookie-banner .btn-outline:hover {
    background-color: var(--gray-800);
    border-color: var(--gray-500);
}

.cookie-banner .btn-primary {
    background-color: var(--white);
    color: var(--gray-900);
}

.cookie-banner .btn-primary:hover {
    background-color: var(--gray-100);
}

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Visually hide content, but make it available for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}



