/*
Theme Name: NYRA Tech
Theme URI: https://www.nyracorp.com
Author: NYRA Tech Corporation
Author URI: https://www.nyracorp.com
Description: Corporate IT consulting theme for NYRA Tech. Stripe-inspired design with premium glassmorphism effects.
Version: 1.4.12
License: Proprietary
Text Domain: nyra-tech
*/

/**
 * ============================================================================
 * PROPRIETARY NOTICE — © 2024-2025 Nyra Tech Corporation
 * NYRA Tech™ Corporate Website Theme
 * ============================================================================
 *
 * Copyright © 2024-2025 Nyra Tech Corporation
 * All Rights Reserved Worldwide.
 *
 * PATENTS: U.S. Patent No. 19288980 | International Patents (PCT/WIPO)
 * Protected under U.S. Law, TRIPS Agreement, Berne Convention & Indian IP Laws
 *
 * CONFIDENTIAL: Unauthorized use, copying, or distribution is prohibited
 * and may result in severe civil and criminal penalties ($550K+ per violation).
 * Enforceable in U.S., India, EU, and 180+ WIPO member countries.
 *
 * BINDING AGREEMENT: By accessing this file, you agree to all terms in
 * LICENSE_STARDOCKET.txt. If you do not agree, you must IMMEDIATELY:
 *   1. Close all files and stop accessing this repository
 *   2. Delete all local copies (git, backups, cloud storage)
 *   3. Notify admin@nyracorp.com confirming deletion
 *
 * Legal: rnagrajan@serottelaw.com | Licensing: admin@nyracorp.com
 * ============================================================================
 */

/**
 * NYRA Tech - Common Styles
 * Shared styles across all pages
 */

/* ==================== Design tokens ====================
 * The one place a colour, size, gap, radius, shadow or layer is written as a
 * value. Every other rule uses var(--name). tools/css-lint.mjs counts what is
 * left and fails the build if a file gets worse. Names say the job, not the
 * look, so a value can change without renaming. The list is in CLAUDE.md.
 * BortleBuddy keeps its own dark sub-brand tokens on .bb-page.
 */
:root {
    /* Brand */
    --primary: #635bff;
    --primary-dark: #5469d4;
    --primary-light: #818cf8;
    --secondary: #0a2540;            /* navy: headings, dark bands */
    --secondary-mid: #1e3a5f;        /* lighter navy: government badges, legal headings */
    --secondary-rgb: 10, 37, 64;

    /* Brand tints: the primary at a fixed alpha */
    --primary-rgb: 99, 91, 255;
    --primary-a03: rgba(var(--primary-rgb), 0.03);
    --primary-a04: rgba(var(--primary-rgb), 0.04);
    --primary-a05: rgba(var(--primary-rgb), 0.05);
    --primary-a08: rgba(var(--primary-rgb), 0.08);
    --primary-a10: rgba(var(--primary-rgb), 0.1);
    --primary-a12: rgba(var(--primary-rgb), 0.12);
    --primary-a15: rgba(var(--primary-rgb), 0.15);
    --primary-a20: rgba(var(--primary-rgb), 0.2);
    --primary-a25: rgba(var(--primary-rgb), 0.25);
    --primary-a30: rgba(var(--primary-rgb), 0.3);
    --primary-a40: rgba(var(--primary-rgb), 0.4);
    --primary-light-rgb: 129, 140, 248;

    /* Text */
    --text: #425466;                 /* body copy */
    --text-light: #697386;           /* Darkened for WCAG AA compliance (4.5:1 contrast) */
    --text-dark: #1a1f36;
    --text-ink: #0f172a;             /* form success headline */
    --text-heading: #111827;         /* form headings */
    --text-strong: #374151;          /* form labels */
    --text-subtle: #475569;          /* legal pages body */
    --text-muted: #64748b;
    --text-soft: #6b7280;            /* form hints */
    --text-quiet: #8898aa;
    --text-hint: #9ca3af;            /* placeholders, small print */
    --text-faint: #94a3b8;           /* version lines, fine print */

    /* Surfaces */
    --white: #ffffff;
    --white-rgb: 255, 255, 255;      /* for rgba(var(--white-rgb), a): ink and lines on dark bands */
    --black-rgb: 0, 0, 0;            /* for rgba(var(--black-rgb), a): shadows and scrims */
    --gray-50: #f6f9fc;
    --surface-subtle: #f8fafc;
    --surface-muted: #f1f5f9;
    --surface-cool: #eef2f7;
    --surface-gray: #e4e5e7;
    --surface-mist: #e8f4f8;
    --surface-sky: #e0f2fe;
    --surface-sky-light: #f0f9ff;
    --surface-sky-deep: #bae6fd;
    --surface-success: #f0fdf4;
    --surface-success-strong: #dcfce7;
    --surface-warning: #fef3c7;
    --surface-dark: #0f172a;
    --surface-dark-2: #1e293b;
    --surface-navy: #0d1f33;

    /* Borders */
    --gray-100: #e6ebf1;
    --gray-200: #d1d9e0;
    --gray-300: #b8c2cc;
    --border-light: #e2e8f0;
    --border-gray: #e5e7eb;
    --border-input: #d1d5db;

    /* Status */
    --success: #10b981;
    --success-light: #34d399;
    --success-light-rgb: 52, 211, 153;
    --success-dark: #059669;
    --success-rgb: 16, 185, 129;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-light-rgb: 251, 191, 36;
    --warning-dark: #d97706;
    --warning-rgb: 245, 158, 11;
    --danger: #ef4444;
    --danger-light: #f87171;
    --danger-dark: #dc2626;
    --danger-dark-rgb: 220, 38, 38;
    --danger-rgb: 239, 68, 68;
    --link: #2563eb;                 /* links and focus on the application forms */
    --link-rgb: 37, 99, 235;

    /* Accents: decoration only, never the only carrier of meaning */
    --rose: #f43f5e;
    --rose-light: #fb7185;
    --rose-light-rgb: 251, 113, 133;
    --rose-rgb: 244, 63, 94;
    --accent-violet: #8b5cf6;
    --accent-violet-rgb: 139, 92, 246;
    --accent-violet-dark: #7c3aed;
    --accent-violet-dark-rgb: 124, 58, 237;
    --accent-purple: #a855f7;
    --accent-purple-rgb: 168, 85, 247;
    --accent-purple-light: #a78bfa;
    --accent-purple-light-rgb: 167, 139, 250;
    --accent-indigo: #6366f1;
    --accent-indigo-rgb: 99, 102, 241;
    --accent-blue: #3b82f6;
    --accent-blue-rgb: 59, 130, 246;
    --accent-blue-light: #60a5fa;
    --accent-blue-light-rgb: 96, 165, 250;
    --accent-sky: #0ea5e9;
    --accent-sky-rgb: 14, 165, 233;
    --accent-sky-dark: #0284c7;
    --accent-teal: #14b8a6;
    --accent-teal-rgb: 20, 184, 166;
    --accent-teal-light: #2dd4bf;
    --accent-mint: #00d4aa;
    --accent-pink: #ec4899;
    --accent-pink-rgb: 236, 72, 153;
    --accent-orange: #f97316;
    --accent-orange-rgb: 249, 115, 22;
    --accent-coral: #ff6b6b;

    /* Gradient colours - Stripe-inspired */
    --grad-1: #80ecff;
    --grad-2: #a960ee;
    --grad-3: #ff5c87;
    --grad-4: #ffcb57;
    --grad-5: #7dd3fc;
    --grad-6: #c084fc;
    --grad-7: #fb923c;

    /* Other companies' marks, drawn as they are */
    --brand-azure: #0078d4;
    --brand-aws: #ff9900;
    --brand-google: #4285f4;
    --window-dot-red: #ff5f57;
    --window-dot-amber: #febc2e;
    --window-dot-green: #28c840;

    /* About the founder: the letter on paper */
    --paper-bg: #f8f7f4;
    --paper-text: #2c2c2c;
    --paper-muted: #666666;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.15);
    --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.08);   /* the nav once the page scrolls */

    /* Primary glow shadows */
    --shadow-primary-sm: 0 4px 12px rgba(99, 91, 255, 0.25);
    --shadow-primary-md: 0 8px 24px rgba(99, 91, 255, 0.25);
    --shadow-primary-lg: 0 16px 50px rgba(99, 91, 255, 0.2);

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(99, 91, 255, 0.2);
    --focus-ring-lg: 0 0 0 4px rgba(99, 91, 255, 0.2);
    --focus-ring-soft: 0 0 0 3px rgba(99, 91, 255, 0.1);

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 28px;
    --radius-pill: 100px;
    --radius-full: 9999px;
    --radius-round: 50%;

    /* Spacing: --space-N is N x 4px. Padding, margin and gap use these. */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 36px;
    --space-10: 40px;
    --space-12: 48px;
    --space-14: 56px;
    --space-15: 60px;
    --space-20: 80px;
    --space-25: 100px;
    --space-30: 120px;

    /* Type ladder. A "-plus" rung sits between two main rungs; fold it in when a page is redesigned. */
    --text-size-2xs: 10px;
    --text-size-xs: 11px;
    --text-size-sm: 12px;
    --text-size-sm-plus: 13px;
    --text-size-md: 14px;
    --text-size-md-plus: 15px;
    --text-size-base: 16px;
    --text-size-base-plus: 17px;
    --text-size-lg: 18px;
    --text-size-xl: 20px;
    --text-size-xl-plus: 22px;
    --text-size-2xl: 24px;
    --text-size-3xl: 28px;
    --text-size-4xl: 32px;
    --text-size-5xl: 36px;
    --text-size-6xl: 40px;
    --text-size-7xl: 48px;

    /* Layers, lowest first */
    --z-below: -1;
    --z-base: 0;
    --z-raised: 1;
    --z-above: 2;
    --z-float: 10;
    --z-sticky: 99;
    --z-menu-overlay: 998;
    --z-menu: 999;
    --z-nav: 1000;
    --z-nav-top: 1001;
    --z-toast: 9999;
    --z-top: 10000;

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

    /* Transitions */
    --transition: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    /* scroll-behavior handled by JS for precise offset control */
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font);
    font-size: var(--text-size-base);
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

h1 {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
}

p {
    color: var(--text);
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Screen Reader Only - visually hidden but accessible (WCAG) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 6px var(--space-4);
    background: linear-gradient(135deg, var(--primary-a10) 0%, rgba(var(--primary-light-rgb), 0.1) 100%);
    color: var(--primary);
    font-size: var(--text-size-sm-plus);
    font-weight: 600;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-15);
}

.section-subtitle {
    font-size: var(--text-size-lg);
    color: var(--text);
    margin-top: var(--space-4);
    line-height: 1.6;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-size-md-plus);
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px var(--primary-a40);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5);
}

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

.btn-secondary:hover {
    color: var(--secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--gray-200);
}

.btn-ghost:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-size-base);
}

.btn .arrow {
    transition: transform var(--transition);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* Focus styles for keyboard navigation (WCAG 2.4.7) */
.btn:focus,
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Navigation Link (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-size-md);
    text-decoration: none;
    z-index: var(--z-top);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ==================== Scroll Margin for Anchor Links ==================== */
[id] {
    scroll-margin-top: 220px; /* header (~72px) + page nav (~50px) + breadcrumbs + padding */
}

html {
    scroll-padding-top: 220px;
}

/* ==================== Scroll Progress Bar ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: var(--z-nav-top);
    background: linear-gradient(90deg, #96f, #bf70ff, #e67aff, #ff89dc, #ffa176, #ffb90f);
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: rgba(var(--white-rgb), 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--black-rgb), 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide nav on scroll down (landing page) - slow hide effect */
/* Shadow once the page scrolls (set by common.js) */
.nav.nav-scrolled {
    box-shadow: var(--shadow-nav);
}

.nav.nav-hidden {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo .logo-img {
    height: 54px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-8);
}

.nav-links a {
    font-size: var(--text-size-md);
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

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

.nav-links a.nav-active,
.nav-dropdown > a.nav-active {
    color: var(--primary);
    font-weight: 600;
}

/* Navigation Dropdown - Stripe Style */
.nav-dropdown {
    position: relative;
    perspective: 2000px;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: var(--space-1);
    opacity: 0.5;
    transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s ease;
}

.nav-dropdown:hover > a::after {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* Dropdown Menu - Stripe Style with 3D Flip */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow:
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(var(--black-rgb), 0.3);
    padding: var(--space-2) 0;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) rotateX(-15deg);
    transform-origin: 50% 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: var(--z-nav);
    margin-top: var(--space-5);
}

/* Arrow pointer - centered triangle */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
    filter: drop-shadow(0 -2px 2px rgba(var(--black-rgb), 0.04));
}

/* Invisible bridge to prevent hover gap */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) rotateX(0deg);
}

.dropdown-menu a {
    display: block;
    padding: 14px var(--space-5);
    color: var(--text);
    font-size: var(--text-size-md);
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Mega Dropdown - Two Column Layout */
.dropdown-menu.dropdown-menu--mega {
    display: flex;
    min-width: 460px;
    padding: var(--space-2) 0;
}

.dropdown-menu--mega .dropdown-col {
    flex: 1;
    min-width: 0;
}

.dropdown-menu--mega .dropdown-col + .dropdown-col {
    border-left: 1px solid var(--gray-100);
}

.dropdown-header {
    display: block;
    padding: var(--space-3) var(--space-5) var(--space-2);
    font-size: var(--text-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
}

.nav-cta {
    display: flex;
    gap: var(--space-3);
}

.nav-cta .btn {
    padding: 10px var(--space-5);
    font-size: var(--text-size-md);
}

/* Nav CTA visibility transition */
.nav-cta {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-cta-hidden {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

/* ==================== Premium Footer ==================== */
.site-footer {
    background: linear-gradient(180deg, var(--surface-navy) 0%, #0a1628 100%);
    color: rgba(var(--white-rgb), 0.7);
    padding-top: var(--space-20);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-12);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.8fr;
    gap: var(--space-12);
    padding-bottom: var(--space-15);
    border-bottom: 1px solid rgba(var(--white-rgb), 0.1);
}

/* Brand Column */
.footer-brand {
    padding-right: var(--space-5);
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer-logo .footer-logo-img {
    height: 58px;
    width: auto;
    filter: brightness(1.15);
}

.footer-tagline {
    font-size: var(--text-size-md-plus);
    line-height: 1.7;
    color: rgba(var(--white-rgb), 0.7);
    margin-bottom: var(--space-6);
    max-width: 280px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(var(--white-rgb), 0.05);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    border-radius: 10px;
    color: rgba(var(--white-rgb), 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-a20);
    border-color: var(--primary-a40);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Column Styles */
.footer-column {}

.footer-heading {
    font-size: var(--text-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: var(--text-size-md-plus);
    color: rgba(var(--white-rgb), 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Contact Column */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-size-md-plus);
    line-height: 1.4;
    color: rgba(var(--white-rgb), 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item .contact-icon {
    margin-top: 3px;
}

.contact-item:hover {
    color: var(--white);
}

.contact-hours {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-size-md);
    color: rgba(var(--white-rgb), 0.7);
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6) 0;
    gap: var(--space-6);
}

.footer-copyright {
    font-size: var(--text-size-md);
    color: rgba(var(--white-rgb), 0.7);
    margin: 0;
}

.footer-version {
    font-size: var(--text-size-sm);
    color: rgba(var(--white-rgb), 0.3);
    letter-spacing: 0.5px;
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-5);
    background: rgba(var(--white-rgb), 0.05);
    border: 1px solid rgba(var(--white-rgb), 0.1);
    border-radius: var(--radius-pill);
}

.visitor-count {
    font-size: var(--text-size-base);
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.visitor-label {
    font-size: var(--text-size-sm-plus);
    color: rgba(var(--white-rgb), 0.7);
}

/* WCAG Compliance Badge */
.wcag-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-2) var(--space-4);
    background: rgba(var(--success-rgb), 0.1);
    border: 1px solid rgba(var(--success-rgb), 0.3);
    border-radius: var(--radius-pill);
    font-size: var(--text-size-sm);
    font-weight: 600;
    color: var(--success);
    text-decoration: none;
    transition: all var(--transition);
}

.wcag-badge:hover {
    background: rgba(var(--success-rgb), 0.2);
    border-color: rgba(var(--success-rgb), 0.5);
}

.wcag-icon {
    width: 18px;
    height: 18px;
    fill: var(--success);
}

/* Legal Links */
.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-size-md);
    color: rgba(var(--white-rgb), 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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


/* ==================== Breadcrumbs ==================== */
.breadcrumbs {
    padding: var(--space-3) 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    margin-top: 72px; /* Account for fixed nav */
}

.breadcrumbs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-size-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

.breadcrumbs-inner::-webkit-scrollbar {
    display: none;
}

.breadcrumbs a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

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

.breadcrumbs-separator {
    color: var(--text-light);
    font-size: var(--text-size-sm);
}

.breadcrumbs-current {
    color: var(--text-light);
}

/* ==================== Page Navigation (within breadcrumb bar) ==================== */
.page-nav {
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.page-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.page-nav-inner::-webkit-scrollbar {
    display: none;
}

.page-nav a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-size-md);
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    border-radius: var(--radius-sm);
}

.page-nav a:hover {
    color: var(--primary);
    background: var(--primary-a05);
}

.page-nav a.active {
    color: var(--primary);
    background: var(--primary-a08);
}

.page-nav-cta {
    background: var(--primary) !important;
    color: white !important;
    border-radius: var(--radius-full) !important;
    padding: var(--space-2) var(--space-5) !important;
    margin-left: auto;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.page-nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Page nav responsive */
@media (max-width: 768px) {
    .page-nav-inner {
        padding: 0 var(--space-4);
        gap: 0;
    }

    .page-nav a {
        padding: 10px var(--space-3);
        font-size: var(--text-size-sm-plus);
    }
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
    z-index: var(--z-menu);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform var(--transition);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

.back-to-top:hover svg {
    color: var(--white);
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==================== Animations ==================== */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Mobile Menu Toggle ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: var(--z-nav-top);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(var(--black-rgb), 0.5);
    z-index: var(--z-menu-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    z-index: var(--z-menu);
    padding: var(--space-20) var(--space-6) var(--space-10);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(var(--black-rgb), 0.1);
}

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

.mobile-menu a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-size-base);
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s ease;
    min-height: 48px;
}

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

.mobile-menu a.nav-active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu .mobile-dropdown-items {
    padding-left: var(--space-4);
}

.mobile-menu .mobile-dropdown-items a {
    font-size: var(--text-size-md-plus);
    color: var(--text-light);
    padding: 14px 0;
    min-height: 44px;
}

.mobile-menu .mobile-dropdown-header {
    display: block;
    padding: var(--space-4) 0 6px;
    font-size: var(--text-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    border-top: 1px solid var(--gray-100);
    margin-top: var(--space-1);
}

.mobile-menu .mobile-cta {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-100);
}

.mobile-menu .mobile-cta .btn {
    width: 100%;
    margin-bottom: var(--space-3);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==================== Responsive - Navigation ==================== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 14px var(--space-5);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .section-subtitle {
        font-size: var(--text-size-base);
    }

    .btn-lg {
        padding: 14px var(--space-7);
        font-size: var(--text-size-md-plus);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .nav-inner {
        padding: var(--space-3) var(--space-4);
    }

    .logo {
        font-size: var(--text-size-xl);
    }
}

/* ==================== Responsive - Footer ==================== */
@media (max-width: 1024px) {
    .footer-container,
    .footer .container {
        padding: 0 var(--space-8);
    }

    .footer-grid,
    .footer .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-10) var(--space-8);
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
        padding-bottom: var(--space-8);
        border-bottom: 1px solid rgba(var(--white-rgb), 0.1);
        margin-bottom: var(--space-4);
    }

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

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-footer,
    .footer {
        padding-top: var(--space-15);
    }

    .footer-container,
    .footer .container {
        padding: 0 var(--space-6);
    }

    .footer-grid,
    .footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8) var(--space-6);
    }

    .footer-column.footer-contact {
        grid-column: 1 / -1;
        padding-top: var(--space-6);
        border-top: 1px solid rgba(var(--white-rgb), 0.1);
    }

    .footer-bottom,
    .footer .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: var(--space-4);
    }

    .footer-copyright,
    .footer .footer-bottom p {
        order: 4;
        width: 100%;
    }

    .visitor-counter {
        order: 1;
    }

    .wcag-badge {
        order: 2;
    }

    .footer-legal {
        order: 3;
    }

    .footer-version {
        order: 5;
        width: 100%;
        font-size: var(--text-size-sm);
    }
}

@media (max-width: 480px) {
    .footer-grid,
    .footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        padding-bottom: var(--space-6);
        border-bottom: 1px solid rgba(var(--white-rgb), 0.05);
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .contact-item,
    .contact-hours {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-1);
    }

    .footer-links a {
        display: inline-block;
        padding: var(--space-2) 0;
        min-height: 44px;
        line-height: 28px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-legal a {
        display: inline-block;
        padding: 10px 0;
        min-height: 44px;
    }
}

/* ==================== SERVICE PAGE COMPONENTS ==================== */

/* Service Hero */
.service-hero {
    padding: var(--space-15) 0 var(--space-20);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.service-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-15);
    align-items: center;
}

.service-hero .badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-a10);
    color: var(--primary);
    font-size: var(--text-size-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
}

.service-hero h1 {
    font-size: var(--text-size-7xl);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.service-hero .hero-tagline {
    font-size: var(--text-size-xl);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.service-hero .hero-description {
    font-size: var(--text-size-lg);
    color: var(--text);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.service-hero .hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
}

.service-hero .hero-stat {
    text-align: left;
}

.service-hero .stat-value {
    display: block;
    font-size: var(--text-size-5xl);
    font-weight: 700;
    color: var(--primary);
}

.service-hero .stat-label {
    font-size: var(--text-size-md);
    color: var(--text-light);
}

.service-hero .hero-ctas {
    display: flex;
    gap: var(--space-4);
}

.service-hero .hero-visual {
    position: relative;
}

.service-hero .hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.service-hero .hero-image-gif {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

/* Offerings Section */
.service-offerings {
    padding: var(--space-20) 0;
}

.service-offerings .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-offerings .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.service-offerings .section-header h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.service-offerings .section-header p {
    font-size: var(--text-size-lg);
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.offering-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all 0.3s ease;
}

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

.offering-card .offering-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.offering-card .offering-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.offering-card h3 {
    font-size: var(--text-size-xl);
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.offering-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.offering-features li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    font-size: var(--text-size-md);
    color: var(--text);
}

.offering-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.offering-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: var(--text-size-md);
    text-decoration: none;
    transition: gap 0.2s;
}

.offering-link:hover {
    gap: 10px;
}

.offering-link svg {
    width: 16px;
    height: 16px;
}

/* Process Section */
.service-process {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.service-process .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-process .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.service-process .section-header h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr 220px;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--gray-200);
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-size-xl);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: var(--text-size-xl-plus);
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--text);
    margin-bottom: var(--space-3);
}

.step-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.detail-tag {
    background: var(--primary-a10);
    color: var(--primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-xl);
    font-size: var(--text-size-sm-plus);
    font-weight: 500;
}

.step-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Benefits Section */
.service-benefits {
    padding: var(--space-20) 0;
}

.service-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-benefits .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.service-benefits .section-header h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.benefit-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.benefit-card h3 {
    font-size: var(--text-size-lg);
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.benefit-card p {
    font-size: var(--text-size-md-plus);
    color: var(--text);
}

/* Testimonial Section */
.service-testimonial {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a3a5c 100%);
}

.service-testimonial .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-15);
    align-items: center;
}

.testimonial-content {
    color: var(--white);
}

.quote-icon {
    font-size: 72px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: -20px;
    font-family: Georgia, serif;
}

.testimonial-content blockquote {
    font-size: var(--text-size-2xl);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-round);
    object-fit: cover;
}

.author-info .author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
}

.author-info .author-title {
    font-size: var(--text-size-md);
    color: var(--text-light);
}

.testimonial-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.testimonial-stats .stat {
    text-align: center;
    padding: var(--space-6);
    background: rgba(var(--white-rgb), 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--white-rgb), 0.1);
}

.testimonial-stats .stat-value {
    display: block;
    font-size: var(--text-size-4xl);
    font-weight: 700;
    color: var(--primary-light);
}

.testimonial-stats .stat-label {
    font-size: var(--text-size-md);
    color: var(--text-light);
}

/* FAQ Section */
.service-faq {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.service-faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-faq .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.service-faq .section-header h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    background: none;
    border: none;
    font-size: var(--text-size-lg);
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: var(--space-6);
    color: var(--text);
    line-height: 1.7;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Related Services */
.related-services {
    padding: var(--space-20) 0;
}

.related-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.related-services .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.related-services .section-header h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.related-card {
    display: block;
    padding: var(--space-8);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.related-card .related-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.related-card .related-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.related-card h3 {
    font-size: var(--text-size-xl);
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.related-card p {
    color: var(--text);
    margin-bottom: var(--space-4);
    font-size: var(--text-size-md-plus);
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: var(--text-size-md);
}

.related-card:hover .related-link {
    gap: 10px;
}

/* AI Integration Section */
.ai-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
    color: white;
    overflow: hidden;
}

.ai-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-15);
    align-items: center;
}

.ai-content {
    max-width: 540px;
}

.ai-label {
    display: inline-block;
    padding: 6px var(--space-3);
    background: var(--primary-a20);
    color: var(--primary-light);
    font-size: var(--text-size-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-xs);
    margin-bottom: var(--space-4);
}

.ai-section h2 {
    font-size: var(--text-size-5xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.ai-section .ai-subtitle {
    font-size: var(--text-size-lg);
    color: rgba(var(--white-rgb), 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.ai-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.ai-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-a15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
}

.ai-feature-content h4 {
    font-size: var(--text-size-base);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-1);
}

.ai-feature-content p {
    font-size: var(--text-size-md);
    color: rgba(var(--white-rgb), 0.7);
    line-height: 1.5;
}

.ai-visual {
    position: relative;
}

.ai-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(var(--black-rgb), 0.5);
}

.ai-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-round);
    opacity: 0.3;
    filter: blur(40px);
}

.ai-visual::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #06b6d4 0%, var(--accent-blue) 100%);
    border-radius: var(--radius-round);
    opacity: 0.2;
    filter: blur(50px);
}

@media (max-width: 1024px) {
    .ai-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .ai-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .ai-content {
        max-width: 100%;
        text-align: center;
    }

    .ai-features {
        align-items: center;
    }

    .ai-feature {
        text-align: left;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .ai-section h2 {
        font-size: var(--text-size-3xl);
    }
}

/* Service CTA */
.service-cta {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.service-cta .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.service-cta h2 {
    color: var(--white);
    font-size: var(--text-size-5xl);
    margin-bottom: var(--space-4);
}

.service-cta p {
    color: rgba(var(--white-rgb), 0.8);
    font-size: var(--text-size-lg);
    margin-bottom: var(--space-8);
}

.service-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.service-cta .btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 14px var(--space-7);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.service-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--black-rgb), 0.2);
}

.service-cta .btn-ghost-white {
    background: transparent;
    color: var(--white);
    padding: 14px var(--space-7);
    border: 2px solid rgba(var(--white-rgb), 0.3);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.service-cta .btn-ghost-white:hover {
    background: rgba(var(--white-rgb), 0.1);
    border-color: rgba(var(--white-rgb), 0.7);
}

.service-cta .cta-note {
    color: rgba(var(--white-rgb), 0.7);
    font-size: var(--text-size-md);
}

/* Service Page Responsive */
@media (max-width: 1024px) {
    .service-hero .hero-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .service-hero .hero-visual {
        order: -1;
    }

    .offerings-grid,
    .benefits-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step {
        grid-template-columns: 60px 1fr;
    }

    .step-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: var(--space-20) 0 var(--space-15);
    }

    .service-hero h1 {
        font-size: var(--text-size-4xl);
    }

    .service-hero .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .service-hero .hero-ctas {
        flex-direction: column;
    }

    .offerings-grid,
    .benefits-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content blockquote {
        font-size: var(--text-size-xl);
    }

    .service-cta .cta-buttons {
        flex-direction: column;
    }
}

/* ==================== INDUSTRY PAGE COMPONENTS ==================== */

/* Industry Hero - Full Width with Overlay */
.industry-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.industry-hero__background {
    position: absolute;
    inset: 0;
    z-index: var(--z-base);
}

.industry-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--secondary-rgb), 0.9) 0%,
        rgba(var(--primary-rgb), 0.7) 100%
    );
    clip-path: polygon(0 100%, 0 0, 20% 0, 80% 100%, 100% 100%, 100% 0, 80% 0, 20% 100%);
    display: none;
}

.industry-hero__content {
    position: relative;
    z-index: var(--z-raised);
    max-width: 700px;
    padding: var(--space-20) 0;
}

.industry-hero__title {
    font-size: var(--text-size-7xl);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-5);
}

.industry-hero__subtitle {
    font-size: var(--text-size-xl);
    color: rgba(var(--white-rgb), 0.85);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.industry-hero__ctas {
    display: flex;
    gap: var(--space-4);
}

.btn-outline-light {
    border: 2px solid rgba(var(--white-rgb), 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(var(--white-rgb), 0.1);
    border-color: white;
}

/* Industry Stats Bar */
.industry-stats {
    background: var(--secondary);
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-8) 0;
}

.stats-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
    justify-content: center;
}

.stats-bar__icon {
    font-size: var(--text-size-4xl);
}

.stats-bar__content {
    text-align: left;
}

.stats-bar__label {
    display: block;
    font-size: var(--text-size-sm-plus);
    color: rgba(var(--white-rgb), 0.7);
    margin-bottom: var(--space-1);
}

.stats-bar__value {
    display: block;
    font-size: var(--text-size-xl);
    font-weight: 700;
    color: white;
}

.stats-bar__divider {
    width: 1px;
    height: 48px;
    background: rgba(var(--white-rgb), 0.15);
}

/* Industry Intro Section */
.industry-intro {
    padding: var(--space-20) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-15);
    align-items: center;
}

.intro-content h2 {
    font-size: var(--text-size-5xl);
    color: var(--secondary);
    margin-bottom: var(--space-6);
}

.intro-content p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.intro-highlights {
    margin-top: var(--space-8);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--text);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Challenge/Solution Rows */
.challenges-solutions {
    padding: var(--space-25) 0;
    background: var(--gray-50);
}

.challenge-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-15);
    align-items: center;
    margin-bottom: var(--space-20);
}

.challenge-row:last-child {
    margin-bottom: 0;
}

.challenge-row--reversed {
    direction: rtl;
}

.challenge-row--reversed > * {
    direction: ltr;
}

.challenge-image {
    position: relative;
}

.challenge-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(var(--black-rgb), 0.1);
}

.challenge-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    font-size: var(--text-size-2xl);
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-row--reversed .challenge-number {
    left: auto;
    right: -20px;
}

.challenge-label {
    display: inline-block;
    font-size: var(--text-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: var(--space-1) 10px;
    border-radius: var(--radius-xs);
    margin-bottom: var(--space-3);
}

.challenge-label--problem {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

.challenge-label--solution {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
    margin-top: var(--space-6);
}

.challenge-content h3 {
    font-size: var(--text-size-3xl);
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.challenge-content p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: var(--space-3) 0 0 0;
}

.solution-list li {
    position: relative;
    padding-left: var(--space-7);
    margin-bottom: 10px;
    color: var(--text);
}

.solution-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Compliance Grid */
.compliance-section {
    padding: var(--space-20) 0;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.compliance-card {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(var(--black-rgb), 0.08);
}

.compliance-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    background: var(--primary-a10);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.compliance-card h4 {
    font-size: var(--text-size-lg);
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.compliance-card p {
    font-size: var(--text-size-md);
    color: var(--text-light);
    line-height: 1.6;
}

.compliance-note {
    margin-top: var(--space-10);
    padding: var(--space-5) var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gray-300);
}

.compliance-note p {
    font-size: var(--text-size-md);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Industry Services Section */
.industry-services {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.services-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.industry-service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

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

.industry-service-card .service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.industry-service-card .service-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.industry-service-card h4 {
    font-size: var(--text-size-lg);
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.industry-service-card p {
    font-size: var(--text-size-md);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.industry-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.industry-service-card ul li {
    font-size: var(--text-size-sm-plus);
    color: var(--text);
    padding-left: var(--space-5);
    position: relative;
    margin-bottom: 6px;
}

.industry-service-card ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.industry-service-card .service-card__link {
    font-size: var(--text-size-md);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.industry-service-card .service-card__link:hover {
    text-decoration: underline;
}

/* Case Study Spotlight */
.case-study-spotlight {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(var(--black-rgb), 0.08);
}

.spotlight-content {
    padding: var(--space-15);
}

.spotlight-label {
    display: inline-block;
    font-size: var(--text-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-a10);
    padding: 6px var(--space-3);
    border-radius: var(--radius-xs);
    margin-bottom: var(--space-5);
}

.spotlight-content h3 {
    font-size: var(--text-size-3xl);
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

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

.spotlight-quote {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.spotlight-quote blockquote {
    font-size: var(--text-size-lg);
    font-style: italic;
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.spotlight-quote cite {
    font-size: var(--text-size-md);
    color: var(--text-light);
    font-style: normal;
}

.spotlight-results {
    display: flex;
    gap: var(--space-8);
}

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

.result-value {
    display: block;
    font-size: var(--text-size-4xl);
    font-weight: 700;
    color: var(--primary);
}

.result-label {
    font-size: var(--text-size-sm-plus);
    color: var(--text-light);
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose - Number Blocks */
.why-choose-industry {
    padding: var(--space-20) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.why-block {
    padding: var(--space-10);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    position: relative;
}

.why-block__number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: var(--text-size-7xl);
    font-weight: 800;
    color: var(--primary-a10);
}

.why-block h4 {
    font-size: var(--text-size-xl);
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.why-block p {
    color: var(--text);
    line-height: 1.6;
}

/* Industry CTA */
.industry-cta {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.industry-cta .cta-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-15);
    align-items: center;
}

.industry-cta h2 {
    color: white;
    font-size: var(--text-size-5xl);
    margin-bottom: var(--space-4);
}

.industry-cta p {
    color: rgba(var(--white-rgb), 0.85);
    font-size: var(--text-size-lg);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.industry-cta .cta-buttons {
    display: flex;
    gap: var(--space-4);
}

.industry-cta .cta-visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(var(--black-rgb), 0.2);
}

/* Industries Landing Page */
.industries-hero {
    padding: var(--space-15) 0 var(--space-20);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.industry-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.industry-card__image {
    height: 200px;
    overflow: hidden;
}

.industry-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-card__image img {
    transform: scale(1.05);
}

.industry-card__content {
    padding: var(--space-8);
}

.industry-card__icon {
    font-size: var(--text-size-4xl);
    margin-bottom: var(--space-4);
}

.industry-card__title {
    font-size: var(--text-size-2xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.industry-card__desc {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.industry-card__link {
    font-size: var(--text-size-md);
    font-weight: 600;
    color: var(--primary);
}

/* Industry Page Responsive Styles */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .intro-image {
        order: -1;
    }

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

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

    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .spotlight-image {
        order: -1;
        max-height: 300px;
    }

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

    .industry-cta .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .industry-cta .cta-visual {
        display: none;
    }

    .industry-cta .cta-buttons {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .industry-hero {
        min-height: 350px;
    }

    .industry-hero__content {
        padding: var(--space-10) 0;
    }

    .industry-hero__title {
        font-size: var(--text-size-4xl);
    }

    .industry-hero__subtitle {
        font-size: var(--text-size-base);
    }

    .industry-hero__ctas {
        flex-direction: column;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .stats-bar__item {
        flex: 1 1 45%;
    }

    .stats-bar__divider {
        display: none;
    }

    .challenge-row,
    .challenge-row--reversed {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .challenge-number {
        left: 20px !important;
        right: auto !important;
    }

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

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

    .spotlight-content {
        padding: var(--space-8);
    }

    .spotlight-results {
        flex-direction: column;
        gap: var(--space-4);
    }

    .industry-cta .cta-buttons {
        flex-direction: column;
    }
}


/* ==================== Cloud Comparison Section ==================== */
.cloud-comparison {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.cloud-compare-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.cloud-compare-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.cloud-compare-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, var(--surface-subtle) 0%, var(--surface-muted) 100%);
    border-bottom: 1px solid var(--gray-100);
}

.cloud-compare-header.azure-header {
    background: linear-gradient(135deg, var(--surface-sky) 0%, var(--surface-sky-deep) 100%);
}

.cloud-compare-header.aws-header {
    background: linear-gradient(135deg, var(--surface-warning) 0%, #fde68a 100%);
}

.cloud-compare-header.gcp-header {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.cloud-compare-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cloud-compare-title h3 {
    font-size: var(--text-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.cloud-market-share {
    font-size: var(--text-size-sm-plus);
    color: var(--text-light);
}

.cloud-compare-body {
    padding: var(--space-6);
}

.cloud-compare-tagline {
    font-size: var(--text-size-md-plus);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-5);
}

.cloud-compare-strengths h4 {
    font-size: var(--text-size-sm-plus);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: var(--space-3);
}

.cloud-compare-strengths ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5) 0;
}

.cloud-compare-strengths li {
    position: relative;
    padding-left: var(--space-5);
    font-size: var(--text-size-md);
    color: var(--text);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.cloud-compare-strengths li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.cloud-compare-ideal {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-100);
}

.ideal-label {
    font-size: var(--text-size-sm);
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.ideal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ideal-tags span {
    font-size: var(--text-size-xs);
    font-weight: 500;
    padding: var(--space-1) 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    color: var(--text);
}

/* Comparison Table */
.cloud-compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cloud-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-size-md);
}

.cloud-compare-table th,
.cloud-compare-table td {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.cloud-compare-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--text-dark);
}

.cloud-compare-table th img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: var(--space-2);
}

.cloud-compare-table td {
    color: var(--text);
}

.cloud-compare-table td:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.cloud-compare-table tbody tr:hover {
    background: var(--gray-50);
}

.cloud-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.cloud-compare-cta {
    text-align: center;
}

.cloud-compare-cta p {
    font-size: var(--text-size-base);
    color: var(--text);
    margin-bottom: var(--space-4);
}

/* Responsive */
@media (max-width: 1024px) {
    .cloud-compare-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .cloud-comparison {
        padding: var(--space-15) 0;
    }

    .cloud-compare-table {
        font-size: var(--text-size-sm-plus);
    }

    .cloud-compare-table th,
    .cloud-compare-table td {
        padding: var(--space-3) 14px;
    }
}



/* ==================== Service Contact Section ==================== */
.service-contact {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--surface-subtle) 0%, var(--surface-muted) 100%);
}

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

.contact-info h2 {
    font-size: var(--text-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.contact-info > p {
    font-size: var(--text-size-base);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-size-md-plus);
    color: var(--text);
}

.contact-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.contact-direct {
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.contact-direct p {
    font-size: var(--text-size-sm-plus);
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.contact-direct__links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.contact-direct__divider {
    width: 1px;
    height: 20px;
    background: var(--gray-300);
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-size-md-plus);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-phone:hover {
    color: var(--primary-dark);
}

.contact-phone svg {
    width: 18px;
    height: 18px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

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

.form-group label {
    font-size: var(--text-size-md);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--text-size-md-plus);
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus-ring-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-note {
    font-size: var(--text-size-sm-plus);
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .contact-info h2 {
        font-size: var(--text-size-3xl);
    }
}

@media (max-width: 768px) {
    .service-contact {
        padding: var(--space-15) 0;
    }

    .contact-form-wrapper {
        padding: var(--space-6);
    }
}


/* ==================== Section Indicator (Left Ribbon) ==================== */
.section-indicator {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    z-index: var(--z-sticky);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-indicator.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.section-indicator-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.indicator-line {
    width: 4px;
    height: 40px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
}

.indicator-text {
    font-size: var(--text-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    padding: var(--space-3) 18px var(--space-3) 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: 4px 0 20px rgba(var(--black-rgb), 0.06);
    white-space: nowrap;
}

/* Hide ribbon when user is inactive for 3 minutes */
.section-indicator.hidden-inactive {
    opacity: 0;
    transform: translateY(-50%) translateX(-100%);
}

@media (max-width: 1024px) {
    .section-indicator {
        display: none;
    }
}

/* ==================== Technology Logos Section ==================== */
.tech-logos-section {
    padding: var(--space-20) var(--space-6);
    background: white;
    overflow: hidden;
}

.logos-title {
    text-align: center;
    font-size: var(--text-size-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: var(--space-8);
}

.logo-strip {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-6);
    padding: var(--space-4) 0;
}

.logo-strip::before,
.logo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: var(--z-above);
    pointer-events: none;
}

.logo-strip::before {
    left: 0;
    background: linear-gradient(90deg, white 0%, transparent 100%);
}

.logo-strip::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, white 100%);
}

.logo-track {
    display: flex;
}

a.logo-item {
    text-decoration: none;
}

.logo-item {
    flex-shrink: 0;
    width: 80px;
    margin-right: var(--space-12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.08);
}

.logo-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-item span {
    font-size: var(--text-size-sm);
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.clients-note {
    text-align: center;
    font-size: var(--text-size-md);
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 768px) {
    .tech-logos-section {
        padding: var(--space-15) var(--space-4);
    }

    .logo-item {
        width: 70px;
        margin-right: var(--space-8);
    }

    .logo-item img {
        width: 40px;
        height: 40px;
    }

    .logo-item span {
        font-size: var(--text-size-sm);
    }
}

/* ==================== Tech Tag Icons (reusable) ==================== */
.tech-tag-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}

/* ==================== Common CTA Section ==================== */
.cta-section {
    position: relative;
    padding: var(--space-30) var(--space-6);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: var(--z-below);
    overflow: hidden; /* the ::before glow is wider than a phone screen */
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--white-rgb), 0.1) 0%, transparent 60%);
    border-radius: var(--radius-round);
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    position: relative;
    z-index: var(--z-raised);
}

.cta-left {
    text-align: left;
}

.cta-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(var(--white-rgb), 0.15);
    border-radius: var(--radius-pill);
    font-size: var(--text-size-sm-plus);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: 0.5px;
}

.cta-left h2 {
    color: var(--white);
    font-size: var(--text-size-6xl);
    line-height: 1.2;
    margin-bottom: var(--space-5);
}

.cta-description {
    color: rgba(var(--white-rgb), 0.85);
    font-size: var(--text-size-lg);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-10) 0;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(var(--white-rgb), 0.9);
    font-size: var(--text-size-base);
    margin-bottom: var(--space-4);
}

.cta-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.cta-trust {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(var(--white-rgb), 0.15);
}

.cta-trust-text {
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-size-md-plus);
    margin-bottom: var(--space-1);
}

.cta-trust-response {
    color: rgba(var(--white-rgb), 0.6);
    font-size: var(--text-size-md);
}

.cta-right {
    background: var(--white);
    padding: var(--space-9);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px -10px rgba(var(--black-rgb), 0.1), 0 0 0 1px rgba(var(--black-rgb), 0.03);
}

.cta-form {
    background: var(--white);
    padding: var(--space-9);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px -10px rgba(var(--black-rgb), 0.1), 0 0 0 1px rgba(var(--black-rgb), 0.03);
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.cta-form .form-group {
    margin-bottom: 0;
}

.cta-form .form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: var(--space-5);
}

.cta-form .contact-method-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.cta-form .contact-method-label {
    font-size: var(--text-size-sm-plus);
    font-weight: 600;
    color: var(--secondary);
    white-space: nowrap;
}

.cta-form .radio-group {
    display: flex;
    gap: var(--space-6);
}

.cta-form .radio-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-size-md);
    color: var(--text);
    cursor: pointer;
}

.cta-form .radio-label input {
    width: auto;
    accent-color: var(--primary);
}

.cta-form .form-group input,
.cta-form .form-group select,
.cta-form .form-group textarea {
    width: 100%;
    padding: 14px var(--space-4);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: var(--text-size-md-plus);
    font-family: inherit;
    color: var(--secondary);
    transition: all 0.2s ease;
}

.cta-form .form-group input::placeholder,
.cta-form .form-group textarea::placeholder {
    color: var(--text-light);
}

.cta-form .form-group input:focus,
.cta-form .form-group select:focus,
.cta-form .form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--focus-ring-soft);
}

.cta-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238898aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

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

.cta-form .btn {
    width: 100%;
    margin-top: var(--space-2);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-size-base);
}

.cta-form .btn:hover {
    background: var(--primary-dark);
}

.cta-alt {
    margin-top: var(--space-5);
    color: var(--text-light);
    font-size: var(--text-size-md);
    text-align: center;
}

.cta-alt a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-20) var(--space-6);
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

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

    .cta-left h2 {
        font-size: var(--text-size-4xl);
    }

    .cta-benefits li {
        justify-content: center;
    }

    .cta-right {
        padding: var(--space-6);
    }

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

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

    .cta-form .contact-method-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
}

/* ==================== Bot-check notice under each form (Cloudflare Turnstile) ==================== */

/* ==================== NyraForms — Shared Form Error / Success ==================== */
.nyra-form-error {
    display: none;
    background: rgba(var(--rose-rgb), 0.08);
    border: 1px solid rgba(var(--rose-rgb), 0.25);
    color: var(--rose);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--text-size-md);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}
.nyra-form-error.active {
    display: block;
}
.nyra-form-error a {
    color: var(--rose);
    text-decoration: underline;
}
/* Inline field validation errors */
.field-error {
    display: none;
    font-size: var(--text-size-sm);
    color: var(--rose);
    margin-top: var(--space-1);
    line-height: 1.3;
}
.field-invalid {
    border-color: var(--rose) !important;
    box-shadow: 0 0 0 2px rgba(var(--rose-rgb), 0.15) !important;
}


/* Turnstile widget mount (bot-check.js). Empty unless Cloudflare needs a tick. */
.nyra-bot-check { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-top); }

/* Visitors who ask their system for less motion get none: every animation and
   transition ends at once and in-page scrolling jumps. CODING_STANDARDS §3. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
