/* ============================================
   LXP SUPPORT – MAIN STYLESHEET
   Design: Refined Academic-Tech, Dark Teal + Slate
   Fonts: Syne (display) + DM Sans (body)
============================================ */

:root {
    --teal-900: #042f2e;
    --teal-800: #0f3d3a;
    --teal-700: #134e4a;
    --teal-600: #0f766e;
    --teal-500: #0d9488;
    --teal-400: #14b8a6;
    --teal-300: #5eead4;
    --teal-100: #ccfbf1;
    --teal-50:  #f0fdfa;

    --slate-950: #0a0f1a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;

    --white: #ffffff;
    --accent: #0d9488;
    --accent-light: #14b8a6;

    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --nav-h: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
    --shadow-glow: 0 0 40px rgba(13,148,136,.25);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-500);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title { color: var(--slate-900); margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--slate-600); max-width: 600px; line-height: 1.7; }

.text-teal { color: var(--teal-500); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--teal-500);
    color: white;
    border-color: var(--teal-500);
}
.btn--primary:hover { background: var(--teal-600); border-color: var(--teal-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,148,136,.35); }

.btn--ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn--ghost:hover { border-color: var(--teal-500); color: var(--teal-500); }

.btn--outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.82rem; }

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    z-index: 1000;
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--slate-900); line-height: 1.1; }
.logo-sub { font-size: 0.6rem; color: var(--teal-500); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav__links > li { position: relative; }

.nav__links a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active {
    color: var(--teal-600);
    background: var(--teal-50);
}

.dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

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

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    background: var(--teal-900);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(4,47,46,0.82) 0%, rgba(4,47,46,0.92) 100%),
        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1800&q=80&fit=crop&auto=format') center/cover no-repeat;
}

.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13,148,136,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,148,136,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.3);
    color: var(--teal-300);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero__label::before { content: ''; width: 6px; height: 6px; background: var(--teal-400); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.4); }
}

.hero__title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.hero__title .highlight {
    color: var(--teal-400);
    position: relative;
}

.hero__desc {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    margin-top: 0.25rem;
}

/* Hero right panel */
.hero__panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.hero__panel-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
}
.hero__panel-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }

.hero__metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero__metric {
    background: rgba(13,148,136,0.12);
    border: 1px solid rgba(13,148,136,0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.hero__metric-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal-300);
}

.hero__metric-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

.hero__metric.wide { grid-column: 1 / -1; }

.metric-main {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.metric-main small { font-size: 1.2rem; color: var(--teal-300); }

.metric-sub { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }

.trusted-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.25);
    color: var(--teal-300);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
                transform 0.4s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0.4s;
    pointer-events: none;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
                transform 0.4s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0s;
}

.hero-slide.prev {
    opacity: 0;
    visibility: visible;
    transform: scale(0.96);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
                transform 0.4s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0.4s;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13,148,136,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,148,136,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-slide__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Slider controls */
.hero-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background 0.35s ease;
}

.hero-dot.active {
    width: 28px;
    background: var(--teal-400);
}

.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    background: rgba(13,148,136,0.3);
    border-color: var(--teal-400);
    transform: scale(1.08);
}

.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--teal-400);
    z-index: 20;
    transition: none;
}

.hero-progress.animating {
    transition: width 6s linear;
}

/* Slide 2 — training purple accent */
.hero-slide--training .hero__label {
    background: rgba(124,58,237,0.2);
    border-color: rgba(167,139,250,0.4);
    color: #c4b5fd;
}

.hero-slide--training .hero__label::before {
    background: #a78bfa;
}

.hero-slide--training .hero__title .highlight {
    background: linear-gradient(90deg, #5eead4, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============ SECTIONS ============ */
section { padding: 5rem 0; }

.section--dark {
    background: var(--slate-900);
    color: white;
}
.section--dark .section-title { color: white; }
.section--dark .section-lead { color: var(--slate-400); }
.section--dark .section-label { background: rgba(13,148,136,0.2); border-color: rgba(13,148,136,0.3); color: var(--teal-300); }

.section--teal { background: var(--teal-700); color: white; }
.section--gray { background: var(--slate-50); }
.section--teal-light { background: var(--teal-50); }

/* ============ CARDS ============ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

.card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card--dark {
    background: var(--slate-800);
    border-color: var(--slate-700);
    color: white;
}
.card--dark:hover { border-color: var(--teal-600); }

.card__icon {
    width: 48px; height: 48px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--teal-600);
}
.card--dark .card__icon { background: rgba(13,148,136,0.15); color: var(--teal-400); }

.card__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-500);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}
.card--dark .card__tag { background: rgba(13,148,136,0.2); border-color: rgba(13,148,136,0.3); color: var(--teal-300); }

.card h3 { margin-bottom: 0.75rem; color: var(--slate-900); font-size: 1.1rem; }
.card--dark h3 { color: white; }
.card p { font-size: 0.9rem; color: var(--slate-600); line-height: 1.65; }
.card--dark p { color: var(--slate-400); }

.card ul { margin-top: 1rem; }
.card ul li {
    font-size: 0.85rem;
    color: var(--slate-600);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}
.card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    background: var(--teal-500);
    border-radius: 50%;
}
.card--dark ul li { color: var(--slate-400); }

/* ============ STATS BAR ============ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--teal-700);
}

.stats-bar__item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.stats-bar__item:last-child { border-right: none; }

.stats-bar__value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
}

.stats-bar__label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    margin-top: 0.5rem;
}

.stats-bar__sublabel { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.25rem; }

/* ============ SERVICES PAGE ============ */
.service-hero { padding: 7rem 0 4rem; }
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--slate-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail--reverse .service-detail__visual { order: -1; }
.service-detail__number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.service-detail__visual {
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.service-visual-icon {
    opacity: 0.15;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-visual-icon svg { width: 200px; height: 200px; color: var(--teal-600); }

/* ============ SUPPORT TIERS ============ */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.tier-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tier-card--l1 { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #6ee7b7; }
.tier-card--l2 { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #93c5fd; }
.tier-card--l3 { background: linear-gradient(135deg, #faf5ff, #ede9fe); border: 1px solid #c4b5fd; }
.tier-card--l4 { background: linear-gradient(135deg, #fff7ed, #fed7aa); border: 1px solid #fdba74; }

.tier-card__level {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.tier-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tier-card--l1 .tier-card__badge { background: #6ee7b7; color: #064e3b; }
.tier-card--l2 .tier-card__badge { background: #93c5fd; color: #1e3a5f; }
.tier-card--l3 .tier-card__badge { background: #c4b5fd; color: #3b0764; }
.tier-card--l4 .tier-card__badge { background: #fdba74; color: #7c2d12; }

.tier-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.tier-card p { font-size: 0.85rem; color: var(--slate-700); line-height: 1.6; }

/* ============ PLATFORMS ============ */
.platforms-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--slate-200);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-700);
    transition: all var(--transition);
    cursor: default;
}
.platform-chip:hover { border-color: var(--teal-400); color: var(--teal-600); background: var(--teal-50); box-shadow: var(--shadow-sm); }

/* ============ COMPLIANCE ============ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.compliance-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}
.compliance-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-300); }

.compliance-card__cert {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: var(--teal-50);
    color: var(--teal-600);
    border: 1px solid var(--teal-200);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: inline-block;
    font-weight: 600;
}

.compliance-card h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.compliance-card ul { margin: 0; }
.compliance-card ul li {
    font-size: 0.82rem;
    color: var(--slate-600);
    padding: 0.2rem 0 0.2rem 1.2rem;
    position: relative;
}
.compliance-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal-500); font-size: 0.75rem; }

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.comparison-table th {
    background: var(--teal-700);
    color: white;
    padding: 1rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.88rem;
    text-align: left;
}
.comparison-table td {
    padding: 0.9rem 1.5rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--slate-200);
    background: white;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--slate-50); }
.comparison-table td:first-child { font-weight: 600; color: var(--slate-700); }
.comparison-table td.lxp { color: var(--teal-600); font-weight: 500; }

/* ============ ABOUT ============ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }

.value-card__icon {
    width: 56px; height: 56px;
    background: var(--teal-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--teal-600);
    font-size: 1.5rem;
}

.value-card h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.85rem; color: var(--slate-600); line-height: 1.6; }

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info__icon {
    width: 44px; height: 44px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-info__text h4 { font-size: 0.85rem; color: var(--slate-500); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.contact-info__text a, .contact-info__text p { font-size: 0.95rem; color: var(--slate-800); }
.contact-info__text a:hover { color: var(--teal-600); }

/* Form */
.form-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.4rem;
}
.form-group label span { color: var(--teal-500); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--slate-800);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

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

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

.form-alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: none;
}
.form-alert--success { background: var(--teal-50); border: 1px solid var(--teal-200); color: var(--teal-700); }
.form-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-alert.show { display: block; }

/* ============ CHATBOT ============ */
.chatbot {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    font-family: var(--font-body);
}

.chatbot__toggle {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--teal-600);
    color: white;
    box-shadow: 0 4px 20px rgba(13,148,136,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
    margin-left: auto;
}
.chatbot__toggle:hover { background: var(--teal-500); transform: scale(1.08); }
.chatbot__toggle svg { width: 24px; height: 24px; }

.chatbot__icon-close { display: none; }
.chatbot.open .chatbot__icon-open { display: none; }
.chatbot.open .chatbot__icon-close { display: block; }

.chatbot__badge {
    position: absolute;
    top: -4px; right: -4px;
    width: 20px; height: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badge-bounce 1s ease infinite alternate;
}
@keyframes badge-bounce { from { transform: scale(1); } to { transform: scale(1.2); } }
.chatbot.open .chatbot__badge { display: none; }

.chatbot__window {
    position: absolute;
    bottom: 70px; right: 0;
    width: 360px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 520px;
}
.chatbot.open .chatbot__window { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.chatbot__header {
    background: var(--teal-700);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chatbot__avatar { position: relative; flex-shrink: 0; }
.chatbot__avatar svg { width: 36px; height: 36px; }
.chatbot__online-dot {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 9px; height: 9px;
    background: #22c55e;
    border-radius: 50%;
    border: 1.5px solid var(--teal-700);
}
.chatbot__header-info { flex: 1; }
.chatbot__header-info strong { display: block; font-size: 0.92rem; font-family: var(--font-display); }
.chatbot__header-info span { font-size: 0.75rem; opacity: 0.7; }
.chatbot__close-btn { color: rgba(255,255,255,0.7); padding: 4px; border-radius: 4px; }
.chatbot__close-btn:hover { color: white; background: rgba(255,255,255,0.15); }
.chatbot__close-btn svg { width: 16px; height: 16px; }

.chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 280px;
    max-height: 320px;
    scroll-behavior: smooth;
}

.chatbot__msg { display: flex; flex-direction: column; }
.chatbot__msg--user { align-items: flex-end; }
.chatbot__msg--bot { align-items: flex-start; }

.chatbot__bubble {
    max-width: 82%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.86rem;
    line-height: 1.55;
}
.chatbot__msg--bot .chatbot__bubble {
    background: var(--slate-100);
    color: var(--slate-800);
    border-bottom-left-radius: 4px;
}
.chatbot__msg--user .chatbot__bubble {
    background: var(--teal-600);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot__quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.chatbot__quick-replies button {
    background: white;
    border: 1px solid var(--teal-200);
    color: var(--teal-700);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--transition);
}
.chatbot__quick-replies button:hover { background: var(--teal-500); color: white; border-color: var(--teal-500); }

.chatbot__typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 1.25rem 0.5rem;
}
.chatbot__typing span {
    width: 6px; height: 6px;
    background: var(--slate-400);
    border-radius: 50%;
    animation: typing-bounce 1.2s ease-in-out infinite;
}
.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.chatbot__input-area { border-top: 1px solid var(--slate-200); padding: 0.75rem 1rem; }
.chatbot__form { display: flex; gap: 0.5rem; }
.chatbot__form input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid var(--slate-200);
    border-radius: 100px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition);
}
.chatbot__form input:focus { border-color: var(--teal-400); }
.chatbot__form button {
    width: 36px; height: 36px;
    background: var(--teal-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition);
}
.chatbot__form button:hover { background: var(--teal-500); }
.chatbot__form button svg { width: 16px; height: 16px; }

/* ============ FOOTER ============ */
.footer { background: var(--slate-950); color: white; }

.footer__top { padding: 4rem 0 3rem; }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer__tagline { font-size: 0.88rem; color: var(--slate-400); margin: 1rem 0 1.5rem; line-height: 1.65; max-width: 300px; }
.footer__contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--teal-400);
    margin-bottom: 1.25rem;
}
.footer__contact-link:hover { color: var(--teal-300); }

.footer__badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    background: rgba(13,148,136,0.2);
    color: var(--teal-300);
    border: 1px solid rgba(13,148,136,0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul li a { font-size: 0.88rem; color: var(--slate-400); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--teal-400); }

.footer__newsletter {
    display: flex;
    gap: 0;
    margin-top: 0.75rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--slate-700);
}
.footer__newsletter input {
    flex: 1;
    padding: 0.65rem 0.9rem;
    background: var(--slate-900);
    border: none;
    color: white;
    font-size: 0.83rem;
    outline: none;
}
.footer__newsletter input::placeholder { color: var(--slate-600); }
.footer__newsletter button {
    padding: 0.65rem 1rem;
    background: var(--teal-600);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background var(--transition);
}
.footer__newsletter button:hover { background: var(--teal-500); }
.footer__subscribe-note { font-size: 0.75rem; color: var(--slate-600); margin-top: 0.5rem; }

.footer__bottom {
    border-top: 1px solid var(--slate-800);
    padding: 1.25rem 0;
    display: flex;
}
.footer__bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer__bottom p { font-size: 0.8rem; color: var(--slate-600); }
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { font-size: 0.8rem; color: var(--slate-600); }
.footer__bottom-links a:hover { color: var(--teal-400); }

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(94,234,212,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,234,212,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-section .cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============ PAGE HERO (INNER PAGES) ============ */
.page-hero {
    background:
        linear-gradient(135deg, rgba(4,47,46,0.88) 0%, rgba(15,23,42,0.92) 100%),
        url('https://images.unsplash.com/photo-1562774053-701939374585?w=1600&q=80&fit=crop&auto=format') center/cover no-repeat;
    padding: 7rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(13,148,136,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,148,136,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ============ ANIMATIONS ============ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .cards-grid--4, .tiers-grid, .compliance-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stats-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .nav__links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: white; padding: 1rem; box-shadow: var(--shadow-lg); border-top: 1px solid var(--slate-200); }
    .nav__links.open { display: flex; }
    .has-dropdown .dropdown { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; padding-left: 1rem; }
    .nav__burger { display: flex; }
    .nav__actions .btn--ghost { display: none; }

    .hero-slide__inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 6rem; }
    .hero-slide__panel { display: none; }
    .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__panel { display: none; }
    .hero__stats { gap: 1.5rem; }
    .hero-slider { height: auto; min-height: 100svh; }
    .hero-slide { position: relative; height: auto; min-height: 100svh; visibility: visible; }
    .hero-slide:not(.active) { position: absolute; height: 100%; }

    .cards-grid, .cards-grid--2, .cards-grid--3 { grid-template-columns: 1fr; }
    .cards-grid--4 { grid-template-columns: 1fr; }
    .tiers-grid { grid-template-columns: 1fr 1fr; }
    .compliance-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }

    .service-detail { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail--reverse .service-detail__visual { order: 0; }

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

    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom .container { flex-direction: column; text-align: center; }

    .chatbot__window { width: calc(100vw - 2rem); right: 0; }

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

@media (max-width: 480px) {
    .tiers-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { text-align: center; justify-content: center; }
}
