/* Root Variables – 3D modern UI, unique typography, beauty & glory */
:root {
    --primary-color: #0f172a;
    --secondary-color: #2563eb;
    --accent-color: #1d4ed8;
    --text-color: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-blue: 0 0 40px rgba(37, 99, 235, 0.2);
    --glow-soft: 0 8px 32px rgba(37, 99, 235, 0.12);
    --gradient-hero: linear-gradient(135deg, rgba(230, 242, 255, 0.7) 0%, rgba(219, 234, 254, 0.55) 45%, rgba(241, 245, 249, 0.38) 100%);
    --gradient-btn: linear-gradient(145deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
    --gradient-page: linear-gradient(160deg, #dbeafe 0%, #e0e7ff 35%, #e6f2ff 70%, #eff6ff 100%);
    /* 3D layered shadows – depth */
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.04), 0 2px 4px rgb(0 0 0 / 0.04);
    --shadow-md: 0 4px 6px rgb(0 0 0 / 0.04), 0 8px 16px rgb(0 0 0 / 0.06), 0 2px 4px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 10px 20px rgb(0 0 0 / 0.06), 0 20px 40px rgb(0 0 0 / 0.08), 0 4px 8px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 40px rgb(0 0 0 / 0.08), 0 32px 64px rgb(0 0 0 / 0.1);
    --shadow-3d: 0 4px 0 rgb(0 0 0 / 0.08), 0 8px 24px rgb(0 0 0 / 0.12), 0 2px 4px rgb(0 0 0 / 0.04);
    --shadow-3d-hover: 0 6px 0 rgb(0 0 0 / 0.06), 0 16px 32px rgb(0 0 0 / 0.14);
    --text-shadow-heading: 0 1px 2px rgb(0 0 0 / 0.06), 0 2px 4px rgb(0 0 0 / 0.04);
    --icon-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
    --border-color: rgba(226, 232, 240, 0.95);
    --muted-bg: #f1f5f9;
    --light-blue-bg: #e6f2ff;
    --light-blue-bg-strong: #dbeafe;
    --card-border: rgba(219, 234, 254, 0.8);
    --card-shadow: 0 4px 12px rgb(0 0 0 / 0.04), 0 12px 28px rgba(37, 99, 235, 0.08), 0 2px 4px rgb(0 0 0 / 0.03);
    --card-shadow-hover: 0 8px 24px rgb(0 0 0 / 0.06), 0 20px 40px rgba(37, 99, 235, 0.12);
    --content-width: 1160px;
    --section-padding: clamp(1.2rem, 2.8vw, 2.25rem);
    --body-font-size: clamp(0.9rem, 0.25vw + 0.8rem, 1rem);
    --small-font-size: clamp(0.8rem, 0.2vw + 0.7rem, 0.9rem);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
    font-size: clamp(14px, 0.6vw + 11px, 17px);
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    letter-spacing: -0.011em;
    color: var(--text-color);
    background-color: #e8edf5;
    background-image: none;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--body-font-size);
    overflow-x: hidden;
}

@media (min-width: 769px) {
    main {
        padding-top: 56px;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 52px;
    }
}

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

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

.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;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.6rem 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-3d);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

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

/* Typography – tighter, crisp */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    text-shadow: var(--text-shadow-heading);
    color: var(--primary-color);
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: var(--body-font-size);
    line-height: 1.7;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: var(--section-padding);
}

section {
    position: relative;
}

.requires-auth {
    display: none;
}

.requires-auth.visible {
    display: block;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: var(--small-font-size);
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    gap: 0.45rem;
}

.btn-primary {
    background: var(--gradient-btn);
    background-size: 200% 200%;
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-3d), 0 6px 24px rgba(37, 99, 235, 0.35), var(--glow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-hover), 0 12px 32px rgba(37, 99, 235, 0.4), var(--glow-blue);
    background-position: 100% 50%;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1) inset, 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d), 0 8px 24px rgba(37, 99, 235, 0.25);
    border-color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(37, 99, 235, 0.4);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary-color);
}

.btn-text {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    gap: 0.8rem;
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* 3D-style Header */
header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 56px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

header.scrolled {
    height: 56px;
    background: #ffffff;
    box-shadow: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.2vw + 1rem, 1.7rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.logo .highlight {
    margin-left: 0.2rem;
}

#navbar ul {
    display: flex;
    gap: 1.5rem;
}

#navbar a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: var(--small-font-size);
    position: relative;
    padding: 0.5rem 0;
}

#navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

#navbar a:hover::after,
#navbar a.active::after {
    width: 100%;
}

#navbar a.active::after {
    background: var(--primary-color);
}

.navbar-mobile-brand {
    display: none;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
}

/* Hide experimental navbar profile summary block on desktop for clean UI */
.navbar-profile-summary {
    display: none;
}

/* Hero badge – base styles */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(37, 99, 235, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: var(--secondary-color);
}

/* Modern Hero Section */
#hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 1rem 1.5rem 1rem;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--primary-color);
    margin-top: 0;
    overflow: visible;
    isolation: isolate;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/c__Users_dell_AppData_Roaming_Cursor_User_workspaceStorage_e461fbab12913d8a9b6ad4e5b073dce2_images_image-180ff166-3534-4876-8743-43dc7e422ce6.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: min(540px, 58vw);
    opacity: 0.36;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 52%), radial-gradient(circle at 78% 78%, rgba(59, 130, 246, 0.05) 0%, transparent 42%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 1.75rem 2rem;
    box-sizing: border-box;
    overflow: visible;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: -1.5rem -2rem;
    border-radius: 1.75rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 40%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0.98;
    z-index: -1;
}

.hero-content h1 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    line-height: 1.22;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-content p {
    color: var(--text-light);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    margin-bottom: 1.25rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    line-height: 1.65;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-btns {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

/* Stats section — spacing controlled on home via .site-main--home */
#stats .section-header {
    margin-bottom: 0.75rem;
}

#hero .hero-row--trust {
    margin-bottom: 0;
}

#hero-picks .hero-row--audience,
#hero-picks .hero-row--pillars {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

#hero-picks .hero-row--audience {
    margin-bottom: 0.45rem;
}

#hero-picks .hero-pillars {
    margin: 0 auto;
    max-width: 100%;
}

/* Services Section with Glass Cards */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.section-header p {
    font-size: clamp(0.9rem, 0.25vw + 0.82rem, 1rem);
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.65;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.95) 100%);
    padding: 1.5rem 1.35rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
    transition: var(--transition);
    border: 1px solid var(--card-border);
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), #3b82f6);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-shadow-hover), var(--glow-soft);
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.3);
}

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

/* Icon wrapper (when present) */
.service-card .service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.25));
    border: 1px solid rgba(37, 99, 235, 0.18);
    margin-bottom: 0.75rem;
}

.service-card .service-icon i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    filter: drop-shadow(var(--icon-shadow));
}

/* Direct icon (Our Expertise, Our Team cards): rounded background, clear hierarchy */
.service-card > i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--secondary-color) 0%, #3b82f6 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    margin-bottom: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover > i {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.service-card h3 {
    font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: var(--small-font-size);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services catalog – selectable cards & selection panel */
.services-catalog .section-header {
    margin-bottom: 1rem;
}

.services-catalog .section-header h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.services-catalog .section-header p {
    font-size: 0.85rem;
}

.service-category {
    margin-bottom: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-category:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.service-category.expanded {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.service-category:last-of-type {
    margin-bottom: 1rem;
}

/* Accordion header: clickable row with + / - */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s ease;
}

.category-header:hover {
    background: rgba(37, 99, 235, 0.05);
}

.service-category.expanded .category-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(37, 99, 235, 0.02);
}

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

.category-title i:first-child {
    color: var(--secondary-color);
    font-size: 1.35rem;
    width: 2rem;
    text-align: center;
}

.category-title h3 {
    margin: 0;
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-color);
}

/* + / - toggle: modern pill button */
.category-expand-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.category-header:hover .category-expand-icon {
    background: rgba(37, 99, 235, 0.18);
}

.category-header:active .category-expand-icon {
    transform: scale(0.95);
}

.service-category.expanded .category-expand-icon {
    background: var(--secondary-color);
    color: var(--white);
}

.category-expand-icon .fa-plus {
    display: inline-block;
}

.category-expand-icon .fa-minus {
    display: none;
}

.service-category.expanded .category-expand-icon .fa-plus {
    display: none;
}

.service-category.expanded .category-expand-icon .fa-minus {
    display: inline-block;
}

/* Accordion body: collapsible sub-services */
.category-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-category.expanded .category-body {
    max-height: 2400px;
}

.category-body .service-cards-grid {
    padding: 1rem 1.5rem 1.35rem;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.65rem;
}

.service-select-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1.15rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}

.service-select-card::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.6;
    margin-left: auto;
    flex-shrink: 0;
}

.service-select-card:hover {
    border-color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.service-select-card.selected {
    border-color: #22c55e;
    background: #dcfce7;
    color: #14532d;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.28);
}

.service-select-card.selected::after {
    content: '\f00c';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    opacity: 1;
    font-size: 0.65rem;
}

.service-select-card.selected:hover {
    border-color: #16a34a;
    background: #bbf7d0;
}

/* Sticky selection panel */
.selection-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--white);
    border-top: 2px solid var(--secondary-color);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 45vh;
    display: flex;
    flex-direction: column;
}

.selection-panel.visible {
    transform: translateY(0);
}

.selection-panel-inner {
    padding: 0.75rem 1rem;
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
}

.selection-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.selection-clear {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.selection-clear:hover {
    color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.08);
}

.selection-panel-list {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    max-height: 11rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.selection-panel-list li {
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.selection-cta {
    width: 100%;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.section-cta-services {
    text-align: center;
    margin-top: 1.15rem;
}

.selection-hint {
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .selection-panel-inner {
        padding: 0.65rem 0.65rem;
    }

    .selection-panel-header {
        font-size: 0.8rem;
    }

    .selection-cta {
        font-size: 0.8rem;
        padding: 0.55rem 0.9rem;
    }

    .selection-panel-list {
        max-height: 9rem;
        font-size: 0.78rem;
    }
}

/* About Section – equal borders and margins for both blocks */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.about-text,
.about-image {
    background: #ffffff;
    padding: 1.85rem 2rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, z-index 0s;
    position: relative;
    z-index: 1;
}

.about-text:hover,
.about-image:hover {
    z-index: 15;
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    background: #ffffff;
}

.about-text h2 {
    margin-bottom: 0.6rem;
}

.about-text p {
    margin-bottom: 0.75rem;
    text-align: justify;
}

.about-image {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.about-image::after {
    content: none;
}

.about-image img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(37, 99, 235, 0.08);
}

/* Contact Section */
.contact-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.contact-hero h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    margin-bottom: 0.4rem;
}

.contact-accent {
    color: #2563eb;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.1rem;
    text-align: center;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: var(--body-font-size);
}

.contact-card a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--accent-color);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.map-card,
.form-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
    overflow: hidden;
}

.map-card {
    min-height: 380px;
    border-radius: var(--radius-lg);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
}

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

.form-card h3 {
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.form-card .btn-primary {
    background: var(--gradient-btn);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

.form-card .btn-primary:hover {
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.contact-link {
    text-align: center;
    margin-top: 1rem;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 162, 52, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.contact-info>* {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    background: rgba(59, 130, 246, 0.12);
    padding: 10px;
    border-radius: 50%;
}

.info-item span {
    font-size: 0.95rem;
    color: #334155;
}

.info-item a {
    color: #334155;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--secondary-color);
}

.contact-form {
    padding: 1.75rem 1.5rem;
}

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

.contact-phone-row .contact-phone-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.contact-phone-row .contact-phone-cc-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    min-width: 6.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.contact-phone-row .contact-phone-cc-wrap:focus-within {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact-phone-row .contact-phone-in {
    padding: 0 0.15rem 0 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #0f172a);
    flex-shrink: 0;
}

.contact-phone-row .contact-phone-cc-wrap .contact-phone-cc {
    width: 2.8rem;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.7rem 0.4rem;
    box-shadow: none;
}

.contact-phone-row .contact-phone-cc-wrap .contact-phone-cc:focus {
    box-shadow: none;
}

.contact-phone-row .contact-phone-num {
    flex: 1;
    min-width: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: var(--transition);
    line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Footer – links sit on unified body energy field */
footer {
    background: transparent;
    color: var(--primary-color);
    padding: 0.55rem 0 0.25rem;
    margin-top: 0;
    border-top: none;
}

footer .footer-content {
    padding: 0 0 0.35rem;
}

/* Modal — fixed overlay (must sit above page shell) */
.modal,
#teamLoginModal {
    position: fixed !important;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal.active,
#teamLoginModal.active {
    display: flex !important;
}

body.modal-open {
    overflow: hidden;
}

.modal-content {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    padding-right: 3.5rem;
    width: min(440px, 100%);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.04);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.modal-intro {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    border: none;
    background: transparent;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.modal-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

/* Single line: Login | Forgot Password | Sign Up — always one row */
.modal-auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.25rem 0.5rem;
    margin: 0 0 0.75rem 0;
    padding: 0 0.25rem 0 0;
    min-width: 0;
}

.modal-auth-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, font-size 0.2s ease, padding 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-auth-link.active {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.modal-auth-link:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.modal-auth-link.active:hover {
    background: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

.modal-auth-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-auth-sep {
    color: #cbd5e1;
    font-weight: 300;
    user-select: none;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.modal-auth-form {
    margin-top: 0;
}
.modal-auth-form .form-group:first-of-type { margin-top: 0; }
.modal-form-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.modal-content .modal-auth-form .form-group {
    margin-bottom: 0.75rem;
}

.modal-content .form-group label {
    font-weight: 600;
}

.modal-content input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.modal-content input::placeholder {
    color: #94a3b8;
}

.modal-content input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Auth modal: pill-style input box with left icon (and eye for password) */
.auth-input-box {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.75rem 0 0.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-input-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    flex-shrink: 0;
    color: #64748b;
    font-size: 0.95rem;
}
.auth-input-icon-padlock {
    color: #2563eb;
}
.auth-input-box input {
    flex: 1;
    min-width: 0;
    height: 2.5rem;
    padding: 0 0.75rem 0 0;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #0f172a;
}
.auth-input-box input::placeholder {
    color: #94a3b8;
}
.auth-input-box input:focus {
    outline: none;
    box-shadow: none;
}
.auth-input-box.password-toggle-wrap {
    padding-right: 0.25rem;
}
.auth-input-box.password-toggle-wrap input {
    padding-right: 0.5rem;
}

/* Password visibility toggle (hold or click to show) */
.password-toggle-wrap {
    position: relative;
}
.password-toggle-wrap input {
    padding-right: 2.75rem;
}
.auth-input-box.password-toggle-wrap input {
    padding-right: 2.5rem;
}
.password-toggle-btn {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    margin-left: 0.25rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.password-toggle-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}
.password-toggle-btn:focus {
    outline: none;
    color: #2563eb;
}
.password-toggle-btn .pw-icon-hide {
    display: none;
}
.password-toggle-wrap.revealed .pw-icon-show {
    display: none;
}
.password-toggle-wrap.revealed .pw-icon-hide {
    display: inline-block;
}

/* Signup form: First name + Last name in one row */
.signup-name-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.signup-name-row .form-group {
    flex: 1;
    min-width: 0;
}

/* Signup form: Enter OTP * card — input + Send email OTP button on one line, button right */
.signup-otp-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 1rem 1rem;
}
.signup-otp-row .form-group:first-child {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
.signup-otp-row .form-group:first-child label {
    display: block;
    margin-bottom: 0.35rem;
}
.signup-otp-row .form-group:first-child input {
    height: 2.75rem;
    box-sizing: border-box;
    width: 100%;
}
.signup-otp-row .form-group:last-child {
    flex-shrink: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.signup-otp-row .form-group:last-child .btn {
    white-space: nowrap;
    height: 2.75rem;
    padding: 0 0.6rem;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem 1.5rem;
        padding-right: 3.25rem;
    }

    .modal-auth-links {
        gap: 0.2rem 0.4rem;
    }

    .modal-auth-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
    }

    .modal-auth-link.active {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .modal-auth-sep {
        font-size: 0.75rem;
    }

    .signup-name-row {
        flex-direction: column;
    }

    /* OTP row: one line, button right, same-height align */
    .signup-otp-row {
        gap: 0.5rem;
        padding: 0.85rem;
    }
    .signup-otp-row .form-group:first-child input {
        height: 2.6rem;
    }
    .signup-otp-row .form-group:last-child .btn {
        height: 2.6rem;
        padding: 0 0.5rem;
        font-size: 0.72rem;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
}

.auth-locked {
    display: none;
}

.auth-locked.visible {
    display: block;
}

/* Profile page section – modern layout & background */
.profile-section {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.6) 0%, rgba(241, 245, 249, 0.4) 50%, transparent 100%);
    min-height: 50vh;
}

.profile-container {
    max-width: 680px;
}

/* Profile page: locked state (login prompt) – modern card */
.profile-locked-card {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.75rem 2rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(37, 99, 235, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-locked-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), 0 4px 16px rgba(37, 99, 235, 0.08);
}

.profile-locked-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15) 0%, rgba(99, 102, 241, 0.12) 100%);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.9rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.profile-locked-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.profile-locked-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.profile-locked-card .btn-lg {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Profile page: account details card – modern glass card */
.profile-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(37, 99, 235, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 12px 48px rgba(15, 23, 42, 0.1), 0 6px 24px rgba(37, 99, 235, 0.08);
}

.profile-card-header {
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.95) 0%, rgba(241, 245, 249, 0.5) 70%, transparent 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    position: relative;
}

.profile-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #3b82f6);
    opacity: 0.85;
    border-radius: 24px 24px 0 0;
}

.profile-card-badge-wrap {
    margin-bottom: 1rem;
}

.profile-card-badge {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.18) 0%, rgba(99, 102, 241, 0.14) 100%);
    color: var(--secondary-color);
    border-radius: 16px;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.profile-card-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    letter-spacing: -0.025em;
}

.profile-card-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.profile-form {
    padding: 1.75rem 2rem 2rem;
}

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

@media (max-width: 560px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .profile-card-header,
    .profile-form {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
    .profile-form {
        padding-bottom: 1.75rem;
    }
    .profile-locked-card {
        padding: 2rem 1.35rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

.profile-card .form-group {
    margin-bottom: 0;
}

.profile-card .form-group:last-of-type {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.profile-card input {
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.profile-card input::placeholder {
    color: #94a3b8;
}

.profile-card input:focus {
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.profile-card label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.profile-card label .required {
    color: #ef4444;
}

.profile-form-actions {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.profile-form-actions .btn-lg,
.profile-form-actions .btn-outline.btn-lg {
    padding: 0.6rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.5rem;
}

.profile-form-actions #profileEditBtn { flex-shrink: 0; }
.profile-form-actions .profile-form-save-row ~ .btn-outline,
.profile-form-actions .btn-outline { flex-shrink: 0; }
.profile-form-actions .profile-form-save-row .btn-primary { flex: 1; min-width: 120px; }
.profile-form-actions > .btn-primary:not(#profileEditBtn) { flex: 1; min-width: 140px; }

.profile-form-save-row {
    display: flex;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.profile-form-save-row .btn-outline { flex-shrink: 0; }

/* Compact outline buttons for Cancel / Logout */
.profile-form-actions .btn-outline.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
    border-radius: 12px;
    border-width: 1px;
    border-color: rgba(148, 163, 184, 0.9);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.profile-form-actions .btn-outline.btn-sm:hover {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

/* Profile page: New Password eye icon inside input */
.profile-card .password-toggle-wrap {
    position: relative;
    display: block;
}
.profile-card .password-toggle-wrap input {
    width: 100%;
    padding-right: 2.5rem;
}
.profile-card .password-toggle-wrap .password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.1rem;
    height: 2.1rem;
    margin: 0;
    border-radius: 999px;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
}
.profile-card .password-toggle-wrap .password-toggle-btn:hover {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.12);
}
.profile-card .password-toggle-wrap .password-toggle-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .profile-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-form-actions #profileEditBtn {
        width: 100%;
    }

    .profile-form-save-row {
        flex-direction: column;
    }

    .profile-form-save-row .btn-primary,
    .profile-form-actions .btn-outline.btn-sm {
        width: 100%;
        justify-content: center;
    }
}

/* Locked profile: readonly fields look non-editable */
.profile-form[data-locked="true"] input:not(#profilePassword) {
    background: #f1f5f9;
    color: #475569;
    cursor: default;
}

.profile-form[data-locked="true"] #profilePassword {
    background: #f1f5f9;
    cursor: not-allowed;
}

.profile-card .form-hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

.form-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    text-align: center;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.03);
    transition: var(--transition);
}

.stat-card h3 {
    font-size: clamp(2.1rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-card p {
    margin-bottom: 0;
    font-size: var(--body-font-size);
    color: var(--text-light);
    line-height: 1.5;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 12px 32px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.project-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-lg);
    padding: 1.65rem 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 16px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.project-card h3 {
    margin-top: 0;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-kpis {
    display: grid;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-kpis i {
    color: var(--secondary-color);
    margin-right: 0.4rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.team-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    transform: translateZ(0);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(221, 162, 52, 0.2), rgba(15, 23, 42, 0.06));
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.9rem;
    overflow: hidden;
    border: 2px solid rgba(221, 162, 52, 0.3);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: auto;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-avatar-initials {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary-color);
}

.team-members-grid {
    margin: 1.75rem 0 1.5rem;
}

.team-about-section .team-members-grid + .team-capability-grid {
    margin-top: 0.5rem;
}

/* Founder / Vision message (team page) – premium card */
.founder-message {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.founder-message-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.founder-message .founder-avatar {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    margin-bottom: 0;
    border: 3px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.founder-message-content {
    flex: 1;
    min-width: 0;
}

.founder-message-content h3 {
    font-size: clamp(1.3rem, 1.6vw, 1.6rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.founder-message-content .team-role {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vision-message {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-color);
    font-style: normal;
}

.vision-message::before,
.vision-message::after {
    content: none;
}

.team-specialization .section-header {
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .founder-message {
        padding: 1.25rem 0.75rem;
    }
    .founder-message-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .founder-message .founder-avatar {
        width: 88px;
        height: 88px;
    }
}

.team-card .profile-details {
    display: block;
}

.team-card .profile-locked-hint {
    display: none;
}

.login-status {
    display: none !important;
}

.login-status i {
    display: none;
}

.login-status.active {
    display: none !important;
}

/* User menu: icon with dropdown (Sign up / Login) when logged out, link to profile when logged in */
.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.35rem;
    min-width: 140px;
    padding: 0.35rem 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}
.user-menu.is-open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: var(--small-font-size);
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
.user-dropdown-item:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

/* Account dropdown visible for logged-in and guest users */

/* Logged-in user icon: switch from static avatar to a fresh icon */
.user-menu.logged-in .profile-trigger {
    position: relative;
}
.user-menu.logged-in .profile-trigger img.profile-icon {
    display: none !important;
}
.user-menu.logged-in .profile-trigger::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
    color: #ffffff;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: 2px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.25);
}

/* Do not show username next to icon — icon only on all pages */
#header .profile-name {
    display: none !important;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    position: relative;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    border: none;
    transition: transform 0.18s ease;
}

.profile-trigger i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: var(--white);
    font-size: 0.9rem;
}

.profile-trigger img.profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-block;
    object-fit: cover;
    padding: 0;
    border: 2px solid #2563eb;
    background: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.profile-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #0f172a;
}

.profile-trigger:hover {
    transform: translateY(-1px);
}

.profile-whatsapp {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.4);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.profile-whatsapp:hover {
    transform: translateY(-1px);
    background: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.55);
}


.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card h3 {
    font-size: clamp(1.1rem, 0.7vw + 1rem, 1.35rem);
    margin-bottom: 0.35rem;
}

.team-card .profile-details p {
    margin-bottom: 0.65rem;
    color: var(--text-light);
    line-height: 1.5;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    row-gap: 0.4rem;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(221, 162, 52, 0.18), transparent 55%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.team-card>* {
    position: relative;
    z-index: 1;
}



/* Events */
.events-grid {
    display: grid;
    gap: 1.5rem;
}

.event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

/* Partners */
.partners-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partners-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 1fr);
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem;
    width: 100%;
}

.partners-track::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 0.9rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    scroll-snap-align: start;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.partner-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 0.65rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    overflow: hidden;
}

.partner-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    z-index: 1;
}

.partner-logo .partner-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    z-index: 0;
}

.partner-name {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .partners-slider {
        gap: 0.5rem;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
    }

    .partners-track {
        grid-auto-columns: minmax(148px, 1fr);
    }

    .partner-logo {
        width: 56px;
        height: 56px;
        margin-bottom: 0.5rem;
    }

    .partner-logo .partner-initials {
        font-size: 0.95rem;
    }

    .partner-name {
        font-size: 0.78rem;
    }
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1.6rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, z-index 0s;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    z-index: 20;
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.22);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-color);
}

.testimonial-card h4 {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.comparison-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.6rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transform: translateZ(0);
    transition: var(--transition);
}

.comparison-card:hover {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.comparison-card.highlight {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.14), 0 2px 0 rgba(37, 99, 235, 0.06);
}

.comparison-card ul {
    margin-top: 1rem;
    display: grid;
    gap: 0.6rem;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-light);
}

.comparison-card li > span {
    flex: 1;
    min-width: 0;
}

.comparison-desc {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.95;
    line-height: 1.5;
}

.comparison-card i {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.comparison-card .fa-times-circle {
    color: #ef4444;
}

.comparison-tagline {
    text-align: center;
    max-width: 640px;
    margin: 1.75rem auto 0;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    color: var(--primary-color);
    line-height: 1.6;
    background: rgba(37, 99, 235, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

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

.event-date {
    background: var(--light-blue-bg-strong);
    color: var(--primary-color);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 78px;
    height: fit-content;
    border: 1px solid var(--card-border);
}

.event-date span {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.event-date strong {
    display: block;
    font-size: 1.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Pills & tag cloud */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
    transition: var(--transition);
}

.pill:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Industries section – improved UI */
.industries-section {
    background: linear-gradient(180deg, #f8fafc 0%, rgba(230, 242, 255, 0.4) 100%);
}

.industries-section .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.industries-section .section-header h2,
.industries-section .section-header p {
    text-align: center;
}

.industries-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem;
    justify-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.industries-tags .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    min-height: 2.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--white);
    color: var(--secondary-color);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industries-tags .pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.06);
}

@media (max-width: 768px) {
    .industries-tags {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 0.6rem;
        max-width: 100%;
    }
    .industries-tags .pill {
        padding: 0.45rem 0.6rem;
        font-size: 0.78rem;
        min-height: 2.35rem;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .industries-tags {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Timeline – modern journey flow (years) */
.timeline {
    display: grid;
    gap: 0;
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

/* Vertical line: through center of round year/step nodes only */
.timeline::before {
    content: '';
    position: absolute;
    left: 22px; /* center of 44px circle */
    top: calc(1.25rem + 22px);
    bottom: calc(1.25rem + 22px);
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        var(--secondary-color) 0%,
        #3b82f6 15%,
        #2563eb 50%,
        #3b82f6 85%,
        rgba(37, 99, 235, 0.35) 100%);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.2), 0 0 4px rgba(37, 99, 235, 0.15);
    z-index: 0;
}

/* Journey section (About page) – compact modern spiral/grid layout */
.journey-timeline {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0.5rem;
}

.journey-timeline::before {
    display: none;
}

.journey-timeline .timeline-item {
    grid-template-columns: 44px 1fr;
    align-items: flex-start;
    padding: 0.85rem 0;
}

.journey-timeline .timeline-year {
    margin-top: 0.35rem;
}

@media (min-width: 768px) {
    .journey-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25rem;
        row-gap: 1rem;
    }

    .journey-timeline .timeline-item {
        position: relative;
        grid-template-columns: auto;
        padding: 0;
    }

    .journey-timeline .timeline-year {
        margin: 0 auto 0.5rem;
    }

    .journey-timeline .timeline-content {
        text-align: left;
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1.25rem;
    padding: 1.25rem 0;
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35), 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.timeline-year {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary-color) 0%, #3b82f6 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(37, 99, 235, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    justify-self: center;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.timeline-content h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Timeline steps (How We Work): vertical line start-to-end, expandable steps, one open = - others = + */
.timeline-steps {
    padding-left: 0;
    position: relative;
}

/* Line through center of each round step (01–04) */
.timeline-steps::before {
    content: '';
    position: absolute;
    left: 22px; /* center of 44px circle */
    top: calc(0.75rem + 22px);
    bottom: calc(0.75rem + 22px);
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0.15) 100%);
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.15);
    z-index: 0;
}

.timeline-steps .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 0;
    align-items: start;
}

.timeline-steps .timeline-step-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s ease;
    border-radius: var(--radius-md);
}

.timeline-steps .timeline-step-header:hover {
    background: rgba(37, 99, 235, 0.06);
}

.timeline-steps .timeline-year {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary-color), #3b82f6);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3), 0 4px 14px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    justify-self: center;
}

.timeline-steps .step-accordion-item.expanded .timeline-year {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.timeline-step-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.timeline-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.timeline-step-icon .fa-plus {
    display: inline-block;
}

.timeline-step-icon .fa-minus {
    display: none;
}

.timeline-steps .step-accordion-item.expanded .timeline-step-icon {
    background: var(--secondary-color);
    color: var(--white);
}

.timeline-steps .step-accordion-item.expanded .timeline-step-icon .fa-plus {
    display: none;
}

.timeline-steps .step-accordion-item.expanded .timeline-step-icon .fa-minus {
    display: inline-block;
}

.timeline-step-body {
    grid-column: 2 / -1;
    margin-left: 0;
    padding-left: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step-body[hidden] {
    display: block;
    max-height: 0;
}

.timeline-steps .step-accordion-item.expanded .timeline-step-body {
    max-height: 280px;
}


.timeline-steps .timeline-step-body .timeline-content {
    margin-top: 0.25rem;
    padding: 1rem 1.25rem;
}

/* Team capability cards (About page) */
.team-capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.team-capability-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.team-capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.team-capability-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.2));
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.team-capability-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.team-capability-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Values grid (About page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.value-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--radius-lg);
    padding: 1.65rem 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.03);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.value-card i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.value-card .value-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.value-card .value-stars i {
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.value-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.value-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-light);
}

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

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #334155;
    font-size: var(--small-font-size);
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
    transition: var(--transition);
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--gradient-btn);
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    border-top: none;
    padding: 0.25rem 0 0;
    text-align: center;
    color: #475569;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.75rem;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .map-card iframe {
        min-height: 300px;
    }

    #hero {
        padding: 0 1rem 1.25rem 1rem;
        min-height: auto;
    }
}

/* Extra-tight hero on small mobiles */
@media (max-width: 640px) {
    #hero {
        min-height: 320px;
        height: auto;
        max-height: none;
    }
}

/* Tablet & big screen – spacious, beautiful */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-padding {
        padding: 2rem 0;
    }
    .page-header {
        padding: 1.35rem 0 1.1rem;
    }
    .section-header {
        margin-bottom: 1.5rem;
    }
    .container {
        padding: 0 1.25rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }

    .section-padding {
        padding: 2.75rem 0;
    }

    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    }
}

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

    h1 {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
    }

    .section-padding {
        padding: 3rem 0;
    }
}

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

    .section-padding {
        padding: 1.5rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 0.85rem;
    }

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

    .section-header {
        margin-bottom: 1rem;
    }

    .about-container {
        gap: 1.15rem;
    }

    .about-text,
    .about-image {
        padding: 1.35rem 1.25rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.25rem 1rem;
    }

    .page-header {
        padding: 0.7rem 0 1rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --body-font-size: 1rem;
        --small-font-size: 0.95rem;
    }

    body {
        font-weight: 500;
    }

    p {
        font-size: 1rem;
    }

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

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

@media (max-width: 768px) {
    :root {
        --body-font-size: 1rem;
        --small-font-size: 0.875rem;
        --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        --font-app: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    }

    html {
        -webkit-text-size-adjust: 100%;
        text-rendering: optimizeLegibility;
    }

    body,
    body.site-premium {
        font-family: var(--font-main);
        font-weight: 400;
        letter-spacing: -0.011em;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
        font-optical-sizing: auto;
    }

    h1, h2, h3, h4, h5, h6,
    .section-header h2,
    .hero-content h1,
    .page-header h1,
    .logo,
    .logo-name,
    .navbar-mobile-brand-name {
        font-family: var(--font-heading);
        font-weight: 600;
        letter-spacing: -0.028em;
        font-feature-settings: "kern" 1, "liga" 1, "cv02" 1, "cv11" 1;
    }

    .hero-content h1 {
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    .section-header h2 {
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    a, .btn, .category-header, .mobile-toggle, #navbar a, .service-select-card, .floating-btn,
    .audience-pill, .pillar-tab, .mode-tab, .partner-name, .footer-nav a {
        font-family: var(--font-app);
        font-weight: 500;
        letter-spacing: -0.01em;
    }

    .btn {
        font-weight: 600;
        letter-spacing: -0.008em;
    }

    p, .timeline-content p, .value-card p, .comparison-desc, .section-header p, .page-header p {
        font-family: var(--font-main);
        font-weight: 400;
        line-height: 1.55;
        letter-spacing: -0.008em;
    }

    .service-card h3, .value-card h3, .comparison-card strong, .project-card h3, .stat-card h3, .contact-card h4,
    .category-title h3, .pillar-panel-header h3 {
        font-family: var(--font-heading);
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .logo .logo-tag,
    .navbar-mobile-brand-tagline,
    .footer-tagline {
        font-family: var(--font-app);
        font-weight: 500;
        letter-spacing: 0.06em;
    }

    header,
    header.scrolled {
        height: 46px;
        min-height: 46px;
        box-shadow: none;
        border-bottom: none;
    }

    header .container {
        padding: 0 0.6rem;
        min-width: 0;
    }

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

    main {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.05rem;
        letter-spacing: -0.02em;
        min-width: 0;
        flex-shrink: 1;
        line-height: 1.2;
        display: inline-block;
    }

    .logo .highlight {
        display: block;
        font-size: 0.9rem;
        margin-left: 0;
        margin-top: 0.05rem;
    }

    p {
        font-size: 1.05rem;
    }

    .section-header p {
        font-weight: 600;
        font-size: 0.88rem;
    }

    .container {
        padding-left: clamp(0.5rem, 2.2vw, 0.65rem);
        padding-right: clamp(0.5rem, 2.2vw, 0.65rem);
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-padding {
        padding: 1rem 0;
    }

    .section-header {
        margin-bottom: 0.75rem;
    }

    .section-header h2 {
        margin-bottom: 0.25rem;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }

    .mobile-toggle:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.2);
    }

    .user-menu {
        margin-left: auto;
        margin-right: 0.25rem;
    }

    .profile-trigger {
        padding: 0.2rem;
        gap: 0;
    }

    .profile-trigger img.profile-icon {
        width: 26px;
        height: 26px;
    }

    .profile-name {
        display: none;
    }

    .user-dropdown {
        right: 0;
        min-width: 130px;
    }

    #navbar {
        position: fixed;
        top: var(--mobile-header-h, 56px);
        right: 0;
        left: 0;
        bottom: 0;
        height: calc(100dvh - var(--mobile-header-h, 56px));
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0.75rem 0.65rem 1rem;
        transform: translateX(100%);
        /* Slide from side */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    #navbar.active {
        transform: translateX(0);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }

    /* Drawer uses the same header bar as closed state — no duplicate brand row */
    #navbar .navbar-mobile-brand {
        display: none !important;
    }

    header .container > .logo,
    header .container > .user-menu {
        position: relative;
        z-index: 1001;
    }

    .mobile-toggle {
        z-index: 1003;
    }

    #navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        width: 100%;
    }

    .navbar-profile-summary {
        display: none;
    }

    #navbar li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    #navbar.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for menu items */
    #navbar.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    #navbar.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    #navbar.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    #navbar.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    #navbar a {
        font-size: clamp(1.05rem, 1.4vw + 0.85rem, 1.35rem);
        font-weight: 700;
        display: block;
        padding: 0.6rem 0.85rem;
        border-radius: var(--radius-sm);
        color: var(--primary-color);
        transition: background 0.2s ease;
    }

    #navbar a:active {
        background: rgba(15, 23, 42, 0.05);
    }

    /* Prevent IOS Zoom on focus */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0.6rem 1rem 1rem 1rem;
        box-sizing: border-box;
    }

    .hero-content::before {
        inset: -1rem -1rem;
        border-radius: 1.25rem;
        box-shadow: 0 16px 42px rgba(15, 23, 42, 0.26);
    }

    .hero-content .hero-badge {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-content .hero-badge span {
        font-size: 0.8rem;
        white-space: normal;
        display: inline;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.1rem);
        line-height: 1.28;
        margin-bottom: 0.65rem;
        padding: 0 0.15rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .hero-content h1 .highlight {
        display: inline;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 0.9rem;
        padding: 0 0.15rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        box-sizing: border-box;
        padding: 0;
    }

    #hero {
        margin-top: 0;
        padding-top: 0.5rem;
        padding-bottom: 1rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        min-height: auto;
        box-sizing: border-box;
        overflow-x: hidden;
        display: flex;
        align-items: center;
    }

    #hero .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.65rem 1rem;
        min-height: 44px;
        font-size: 0.8rem;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.65rem 1rem;
        min-height: 44px;
        font-size: 0.82rem;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    footer {
        padding: 0.75rem 0 0.4rem;
        margin-top: 0.75rem;
    }

    .footer-bottom {
        padding-top: 0.4rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.5rem;
    }

    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .contact-info,
    .contact-form {
        padding: 1rem 0.65rem;
    }

    #contact.section-padding {
        padding: 0.75rem 0 0.75rem;
    }

    .contact-cards {
        gap: 0.5rem 0.55rem;
        margin-bottom: 0.9rem;
    }

    .contact-card {
        padding: 0.9rem 0.75rem;
    }

    .contact-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-card p {
        font-size: 0.88rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-layout {
        gap: 0.75rem;
    }

    .map-card {
        min-height: 260px;
    }

    .map-card iframe {
        min-height: 260px;
    }

    .form-card {
        padding: 0.95rem 0.75rem;
    }

    .form-card h3 {
        margin-bottom: 0.65rem;
    }

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

    .form-card input,
    .form-card select,
    .form-card textarea {
        padding: 0.6rem 0.65rem;
    }

    .form-group textarea,
    textarea#message {
        min-height: 140px;
        padding: 0.6rem 0.65rem;
    }

    .login-status {
        display: none;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .about-text,
    .about-image {
        padding: 0.9rem 0.65rem;
    }

    .page-header {
        padding: 0.45rem 0 0.65rem;
    }

    .page-header h1 {
        font-size: clamp(1.55rem, 5.5vw, 2.4rem);
        font-weight: 800;
        margin-bottom: 0.3rem;
    }

    .page-header p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        padding: 0 0.35rem;
        line-height: 1.45;
        margin-bottom: 0;
    }

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

    /* Keep icon same as laptop: blue box + white icon, no override */
    .service-card > i {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        color: var(--white);
        background: linear-gradient(145deg, var(--secondary-color) 0%, #3b82f6 100%);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
        margin-bottom: 0.7rem;
    }

    .service-card h3 {
        font-size: 1.12rem;
        font-weight: 700;
        margin-bottom: 0.45rem;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    #services .section-header h2 {
        font-size: 1.45rem;
        margin-bottom: 0.3rem;
    }

    #services .section-header p {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .project-card,
    .team-card,
    .stat-card {
        padding: 0.85rem 0.6rem;
    }

    .event-card {
        padding: 1.1rem 0.65rem;
        grid-template-columns: 1fr;
    }

    .timeline-item {
        padding: 0.65rem 0;
        grid-template-columns: 36px 1fr;
        gap: 0.75rem;
    }
    .timeline-content {
        padding: 0.85rem 0.65rem;
    }
    .timeline::before {
        left: 18px; /* center of 36px circle */
        width: 2px;
        transform: translateX(-50%);
        border-radius: 999px;
        top: calc(0.65rem + 18px);
        bottom: calc(0.65rem + 18px);
    }
    .timeline-year {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
        justify-self: center;
    }

    .timeline-steps::before {
        left: 18px; /* center of 36px circle */
        width: 2px;
        transform: translateX(-50%);
        border-radius: 999px;
        top: calc(0.75rem + 18px);
        bottom: calc(0.75rem + 18px);
    }

    .timeline-steps .timeline-step-header {
        grid-template-columns: 36px 1fr auto;
        gap: 0.75rem;
    }

    .timeline-steps .timeline-year {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
        justify-self: center;
    }

    .testimonial-card,
    .comparison-card,
    .partner-card,
    .contact-card,
    .about-text,
    .about-image,
    .form-card {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 0.55rem;
        margin-bottom: 0.9rem;
    }

    .event-date {
        width: fit-content;
    }

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

/* Floating action buttons: scroll to top, chat – purple-blue, medium to small */
.floating-buttons {
    position: fixed;
    bottom: 18px;
    right: 18px;
    left: auto;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25), 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn i {
    font-size: 0.95rem;
}

.floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35), 0 6px 20px rgba(0, 0, 0, 0.12);
}

.floating-btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Scroll to top – purple-blue; show after scroll */
.floating-btn.scroll-top {
    background: linear-gradient(145deg, #6366f1 0%, #4f46e5 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.floating-btn.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.floating-btn.scroll-top:hover {
    background: linear-gradient(145deg, #818cf8 0%, #6366f1 100%);
}

/* Chat – same blue as scroll-to-top */
.floating-btn.chat {
    background: linear-gradient(145deg, #6366f1 0%, #4f46e5 100%);
}

.floating-btn.chat:hover {
    background: linear-gradient(145deg, #818cf8 0%, #6366f1 100%);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35), 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Global toast notification */
.toast {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2100;
    min-width: 220px;
    max-width: 320px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #047857;
}

.toast-error {
    background: #b91c1c;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Google Maps Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Google My Business Link */
.google-business-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.google-business-link:hover {
    gap: 0.8rem;
    color: var(--primary-color);
}

/* Enhanced Modern UI Elements */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8862d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover-effect {
    transition: var(--transition);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Modern Page Header – tight under nav */
.page-header {
    background: transparent;
    color: var(--primary-color);
    padding: 0.55rem 0 0.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 45%);
    animation: rotate 25s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-header>* {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--secondary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    transform: translateX(-2px);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Enhanced Form Styles */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Buttons */
.btn:active {
    transform: scale(0.98);
}

/* Enhanced Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.service-card:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
    transition: var(--transition);
}

/* Enhanced Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, var(--light-blue-bg-strong) 100%);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8862d;
}

/* Responsive Floating Buttons – medium on laptop, small on mobile */
@media (min-width: 769px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .floating-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 12px;
        right: 12px;
        gap: 5px;
    }

    .floating-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .floating-btn i {
        font-size: 0.8rem;
    }
}

/* =============================================================
   v2 — Premium Overhaul: Pillar tabs, Audience toggle, Mega-menu,
   Animated counters, Testimonial slider, FAQ, Engagement cards,
   Dark CTA band, Book-a-Call, Trust strip, Hero pillars
   ============================================================= */

:root {
    /* Pillar accents */
    --pillar-business:  #2563eb;
    --pillar-business-soft: rgba(37, 99, 235, 0.12);
    --pillar-tech:      #6366f1;
    --pillar-tech-soft: rgba(99, 102, 241, 0.12);
    --pillar-finance:   #d97706;
    --pillar-finance-soft: rgba(217, 119, 6, 0.14);
    --navy-deep: #0b1228;
    --navy:      #0f172a;
}

/* ---------- Mega-menu (desktop) ---------- */
.has-mega {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    width: min(900px, 95vw);
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    padding: 1.25rem 1.5rem 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
}
.mega-col h5 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.mega-col[data-pillar="business"] h5 i { color: var(--pillar-business); }
.mega-col[data-pillar="technology"] h5 i { color: var(--pillar-tech); }
.mega-col[data-pillar="financial"] h5 i { color: var(--pillar-business); }
.mega-col ul {
    display: grid;
    gap: 0.1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-col li a {
    display: block;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background 0.18s ease, color 0.18s ease;
}
.mega-col li a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary-color);
}
.mega-footer {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.mega-footer p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-light);
}
.mega-footer .btn {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
}

/* Caret indicator placeholder — overridden in v2.1 below */

/* Mobile: convert mega menu to inline expandable */
@media (max-width: 968px) {
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .has-mega.is-open .mega-menu {
        max-height: 1200px;
    }
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .mega-col {
        background: rgba(15, 23, 42, 0.02);
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 12px;
        padding: 0.65rem 0.85rem;
    }
    .mega-col h5 {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }
    .mega-col li a {
        padding: 0.45rem 0.4rem;
        font-size: 0.85rem;
    }
}

/* Primary nav CTA button (Book a Call) */
#navbar .nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem !important;
    border-radius: 999px;
    background: var(--gradient-btn);
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
#navbar .nav-cta a::after { display: none !important; }
#navbar .nav-cta a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

/* ---------- Hero v2: pillar showcase + audience switcher ---------- */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-pillar {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 0.8rem 0.75rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.hero-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.3);
}
.hero-pillar i {
    font-size: 1.4rem;
}
.hero-pillar[data-pillar="business"] i { color: var(--pillar-business); }
.hero-pillar[data-pillar="technology"] i { color: var(--pillar-tech); }
.hero-pillar[data-pillar="financial"] i { color: var(--pillar-business); }
.hero-pillar strong {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
}
.hero-pillar span {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.3;
}

.audience-switcher {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    padding: 0.25rem;
    margin: 0.75rem auto 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    gap: 0.15rem;
    max-width: 100%;
    overflow: hidden;
}
.audience-switcher button {
    border: none;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.audience-switcher button:hover {
    color: var(--primary-color);
}
.audience-switcher button.active {
    background: var(--gradient-btn);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

@media (max-width: 640px) {
    .hero-pillars { grid-template-columns: 1fr; gap: 0.5rem; max-width: 100%; }
    .hero-pillar { flex-direction: row; text-align: left; gap: 0.65rem; padding: 0.7rem 0.85rem; }
    .hero-pillar i { font-size: 1.25rem; }
    .audience-switcher button { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 500;
}
.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.trust-strip i {
    color: var(--secondary-color);
}

/* ---------- Pillar tab strip (services / training pages) ---------- */
.pillar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem auto 1.25rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    max-width: 760px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.pillar-tab {
    flex: 1;
    min-width: 150px;
    border: none;
    background: transparent;
    padding: 0.65rem 1rem;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.pillar-tab i {
    font-size: 1rem;
}
.pillar-tab[data-pillar] i,
.pillar-tab i {
    color: var(--pillar-business);
}

.pillar-tab:hover {
    background: rgba(15, 23, 42, 0.04);
}
.pillar-tab.active[data-pillar="business"] {
    background: linear-gradient(145deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.pillar-tab.active[data-pillar="technology"] {
    background: linear-gradient(145deg, #6366f1, #818cf8);
    color: #fff;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}
.pillar-tab.active[data-pillar="financial"] {
    background: linear-gradient(145deg, #d97706, #f59e0b);
    color: #fff;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
}
.pillar-tab.active[data-pillar="all"] {
    background: linear-gradient(145deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.pillar-tab.active i { color: #fff; }

@media (max-width: 640px) {
    .pillar-tab { min-width: 0; padding: 0.55rem 0.65rem; font-size: 0.82rem; }
    .pillar-tab span { display: inline; }
}

/* Mode tabs (Consulting / Service / Training) */
.mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.mode-tab {
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.mode-tab i { font-size: 0.85rem; color: var(--text-light); }
.mode-tab:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.mode-tab:hover i { color: var(--secondary-color); }
.mode-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.mode-tab.active i { color: var(--white); }

/* Audience pill row */
.audience-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.audience-pill {
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}
.audience-pill:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.audience-pill.active {
    background: var(--gradient-btn);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.audience-pill i { font-size: 0.78rem; }

/* Pillar panel (one per pillar in services page) */
.pillar-panel {
    display: none;
    padding-top: 0.25rem;
}
.pillar-panel.active {
    display: block;
    animation: fadeIn 0.35s ease-out;
}

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

.pillar-panel-header {
    text-align: center;
    margin-bottom: 1rem;
}
.pillar-panel-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin-bottom: 0.2rem;
}
.pillar-panel-header p {
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    font-size: 0.92rem;
}

/* Service item: filtered out when audience/mode doesn't match */
.service-select-card[hidden],
.service-select-card.filtered-out {
    display: none !important;
}

/* Empty state inside a pillar panel after filtering */
.pillar-empty {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
}

/* ---------- Animated stat counters ---------- */
.stat-card h3 {
    transition: color 0.3s ease;
}
.stat-card[data-pillar="business"] h3 { color: var(--pillar-business); }
.stat-card[data-pillar="technology"] h3 { color: var(--pillar-tech); }
.stat-card[data-pillar="financial"] h3 { color: var(--pillar-finance); }

/* ---------- Testimonial slider v2 ---------- */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.25rem 0.85rem;
}
.testimonial-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track .testimonial-card {
    flex: 0 0 calc(33.333% - 0.7rem);
    scroll-snap-align: start;
    min-width: 280px;
}
@media (max-width: 968px) {
    .testimonial-track .testimonial-card { flex: 0 0 calc(50% - 0.5rem); }
}
@media (max-width: 640px) {
    .testimonial-track .testimonial-card { flex: 0 0 86%; min-width: 0; }
}

/* Testimonials — 3 cards visible, slide one at a time */
.testimonial-slider--triple {
    padding: 0.35rem 0 0.65rem;
}

.testimonial-slider--triple .testimonial-track {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 0.35rem 0.15rem;
}

.testimonial-slider--triple .testimonial-track .testimonial-card {
    flex: 0 0 calc(33.333% - 0.7rem);
    min-width: 260px;
    scroll-snap-align: start;
}

@media (max-width: 968px) {
    .testimonial-slider--triple .testimonial-track .testimonial-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 240px;
    }
}

@media (max-width: 640px) {
    .testimonial-slider--triple .testimonial-track .testimonial-card {
        flex: 0 0 88%;
        min-width: 0;
    }
}

.testimonial-slider--triple .slider-nav {
    margin-top: 0.65rem;
}

/* Testimonials — one full card per slide (legacy) */
.testimonial-slider.testimonial-marquee {
    overflow: hidden;
    padding: 0.35rem 0 0.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.testimonial-marquee .testimonial-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width: max-content;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
    animation: testimonialMarquee 72s linear infinite;
    padding: 0.35rem 0;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-marquee .testimonial-track .testimonial-card {
    flex: 0 0 320px;
    min-width: 280px;
    max-width: 360px;
    scroll-snap-align: none;
}

.testimonial-marquee .slider-nav {
    display: none;
}

@keyframes testimonialMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-marquee .testimonial-track {
        animation: none;
        overflow-x: auto;
        width: 100%;
    }
}
.testimonial-card .testimonial-rating {
    color: #f59e0b;
    margin-bottom: 0.55rem;
    letter-spacing: 0.1em;
}
.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}
.testimonial-card .testimonial-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-color), #818cf8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.testimonial-card .testimonial-author-info h4 {
    margin: 0;
    font-size: 0.92rem;
}
.testimonial-card .testimonial-author-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.slider-dots {
    display: flex;
    gap: 0.35rem;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    border: none;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease;
}
.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
    display: grid;
    gap: 0.55rem;
    max-width: 820px;
    margin: 0 auto;
}
.faq-page-content .faq-list,
#faq .faq-list {
    max-width: 100%;
    margin: 0;
}
#faq .faq-list {
    gap: 1rem;
}

#faq .faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
}

#faq .section-header[style] {
    margin-top: 1rem !important;
}

.pillar-project-card h3 {
    margin-top: 0;
}

/* Home — FAQ + Book CTA equal card grid */
.home-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.home-cta-sections {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.home-cta-card {
    margin: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.65rem 1.25rem;
    border-radius: var(--radius-lg);
}

.home-cta-card .cta-band-inner {
    max-width: 100%;
}

@media (max-width: 768px) {
    .home-cta-grid {
        grid-template-columns: 1fr;
    }
}
.faq-item {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item:hover { box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.18); }
.faq-item.open { border-color: rgba(37, 99, 235, 0.28); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    border: none;
    background: transparent;
    padding: 1.05rem 1.2rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.35;
}
.faq-question:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: -2px; }
.faq-toggle {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.faq-item.open .faq-toggle {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 1.2rem 1.15rem;
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ---------- Engagement model cards (pricing-style) ---------- */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0.75rem 0.35rem 0.5rem;
    overflow: visible;
}
.engagement-card {
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.35rem 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, z-index 0s;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.engagement-card:hover {
    z-index: 25;
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.35);
}
.engagement-card.featured {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    background: #ffffff;
    padding-top: 2.15rem;
}
.engagement-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    padding: 0.25rem 0.7rem;
    background: var(--gradient-btn);
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}
.engagement-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(99, 102, 241, 0.22));
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 1.15rem;
}
.engagement-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}
.engagement-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 0.25rem 0 0.15rem;
}
.engagement-price small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 0.25rem;
}
.engagement-card ul {
    margin: 0.75rem 0 1rem;
    display: grid;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
}
.engagement-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.45;
}
.engagement-card li i {
    color: var(--secondary-color);
    margin-top: 0.18rem;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.engagement-card .btn {
    margin-top: auto;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    width: auto;
    min-width: 9.5rem;
    justify-content: center;
}

/* ---------- Dark CTA band ---------- */
.cta-band {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(59, 130, 246, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 80% 70%, rgba(99, 102, 241, 0.3) 0%, transparent 55%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: #e5e7eb;
    padding: 2.25rem 1rem;
    margin: 1rem 0 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
}
.cta-band-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-band h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto 1.25rem;
}
.cta-band .cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.cta-band .btn-primary {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}
.cta-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #f8fafc;
}
.cta-band .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

/* ---------- Book a Call floating ---------- */
.floating-btn.book {
    background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}
.floating-btn.book:hover {
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.55);
}

/* ---------- Engagement section header ---------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ---------- Training catalog cards (training.html) ---------- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.course-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem 1.45rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.22);
}
.course-card[data-pillar="financial"] .course-icon {
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.25));
    color: var(--pillar-finance);
}
.course-card[data-pillar="technology"] .course-icon {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(129, 140, 248, 0.25));
    color: var(--pillar-tech);
}
.course-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(59, 130, 246, 0.24));
    color: var(--pillar-business);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.65rem;
}
.course-meta .pill { font-size: 0.7rem; padding: 0.3rem 0.65rem; }
.course-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}
.course-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0;
}
.course-card .course-cta {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.course-card .btn { padding: 0.5rem 0.95rem; font-size: 0.78rem; }

/* ---------- Pricing page hero ---------- */
.pricing-hero p strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pricing-note {
    text-align: center;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    font-size: 0.88rem;
    color: var(--text-color);
}

/* ---------- Book a Call page ---------- */
.booking-shell {
    max-width: 760px;
    margin: 0 auto;
}
.booking-step {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem;
    margin-bottom: 0.85rem;
    box-shadow: var(--card-shadow);
}
.booking-step h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}
.booking-step h3 .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}
.booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}
.booking-option {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    padding: 0.85rem 0.85rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.booking-option i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    font-size: 1rem;
    color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.1);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.booking-option small { display: block; font-size: 0.72rem; color: var(--text-light); font-weight: 500; }
.booking-option:hover { border-color: var(--secondary-color); background: rgba(37, 99, 235, 0.05); }
.booking-option:hover i { background: rgba(37, 99, 235, 0.16); }
.booking-option.selected {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.22);
}
.booking-option.selected i {
    background: #22c55e;
    color: #ffffff;
    transform: scale(1.04);
}
.booking-option.selected small { color: #15803d; }

.booking-step.is-locked {
    opacity: 0.55;
    pointer-events: none;
}

.booking-step.is-locked .booking-options,
.booking-step.is-locked .booking-slot-field,
.booking-step.is-locked #bookingForm {
    pointer-events: none;
}

.booking-step.is-complete .booking-step-status {
    color: #16a34a;
}

.booking-step-status {
    display: none !important;
}

.booking-step.is-active {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
}

.booking-step h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.booking-slot-field {
    margin-top: 0.25rem;
}

.booking-slot-field input[type="datetime-local"] {
    width: 100%;
    max-width: 100%;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary-color);
    background: #fff;
}

.booking-slot-hint {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: var(--text-light);
    font-family: var(--font-ui);
}

.booking-form-block.is-locked {
    opacity: 0.55;
    pointer-events: none;
}

.booking-form-block.is-locked #bookingForm {
    pointer-events: none;
}

#bookingForm .form-error {
    display: none;
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-ui);
}

#bookingForm .form-error.is-visible {
    display: block;
}

#bookingForm button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.4rem;
}
.slot-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--white);
    padding: 0.55rem 0.4rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}
.slot-btn:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.slot-btn.selected {
    background: var(--gradient-btn);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.slot-day {
    margin-bottom: 0.65rem;
}
.slot-day-header {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.slot-day-header span {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
}

.booking-summary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--primary-color);
}
.booking-summary strong { font-weight: 700; }
.booking-summary .meta-line {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ---------- Sticky selection panel: enhance with audience/pillar summary ---------- */
.selection-panel-meta {
    font-size: 0.74rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}
.selection-panel-meta .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--primary-color);
    font-weight: 600;
}

/* Reveal-on-scroll variants for new sections */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Tighter section padding tweak for new sections on home */
.section-tight { padding-top: clamp(1rem, 2.4vw, 1.75rem); padding-bottom: clamp(1rem, 2.4vw, 1.75rem); }

/* Newsletter inline form (footer) */
.newsletter-form {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    max-width: 320px;
}
.newsletter-form input {
    flex: 1;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.newsletter-form button {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    border-radius: 999px;
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .newsletter-form { max-width: 100%; }
}

/* Logo sub-tagline visibility on desktop too */
.logo .logo-tag {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.05rem;
}
@media (max-width: 768px) {
    .logo .logo-tag { display: none; }
}

/* Hero CTA wrap tweaks for new layout */
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--text-light);
}
.hero-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.hero-meta-row i {
    color: var(--secondary-color);
}

/* Floating button base: ensure book button respects existing sizing tokens */
@media (min-width: 769px) {
    .floating-btn.book { width: 44px; height: 44px; }
}
@media (max-width: 768px) {
    .floating-btn.book { width: 32px; height: 32px; font-size: 0.8rem; }
}

/* Pillar-tinted CTA buttons (used in pillar panels) */
.btn-pillar-business { background: linear-gradient(145deg, #2563eb, #3b82f6); color: #fff; }
.btn-pillar-technology { background: linear-gradient(145deg, #6366f1, #818cf8); color: #fff; }
.btn-pillar-financial { background: linear-gradient(145deg, #d97706, #f59e0b); color: #fff; }

/* Reduce duplicate margin on adjacent service categories inside a pillar panel */
.pillar-panel .service-category { margin-bottom: 0.5rem; }
.pillar-panel .service-category:last-of-type { margin-bottom: 0.5rem; }

/* =============================================================
   v2.1 — Logo, Nav, Mega-menu polish & fixes
   ============================================================= */

/* --- Logo: brand mark + name + tagline (elegant 2-line layout) --- */
.logo {
    display: inline-flex !important;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--primary-color);
    line-height: 1.1;
    /* override the original block / inline default */
}
.logo:hover { color: var(--primary-color); }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo:hover .logo-mark {
    transform: rotate(-6deg) scale(1.04);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45);
}
.logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}
.logo-name {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 0.9vw + 0.7rem, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary-color);
    white-space: nowrap;
}
.logo-name .highlight {
    margin-left: 0.18rem;
}
.logo .logo-tag {
    display: block;
    font-size: 0.56rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 3px;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .logo-mark { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 10px; }
    .logo-name { font-size: 0.98rem; }
    .logo .logo-tag { font-size: 0.5rem; letter-spacing: 0.16em; }
}
@media (max-width: 380px) {
    .logo .logo-tag { display: none; }
}

/* --- Nav: refined link pills with animated underline indicator --- */
#navbar ul {
    gap: 0.15rem;
}
#navbar a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: 9px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--primary-color);
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
#navbar a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.22s ease, left 0.22s ease;
    pointer-events: none;
}
#navbar a:hover {
    color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.06);
}
#navbar a:hover::after,
#navbar a.active::after {
    width: 18px;
    left: calc(50% - 9px);
}
#navbar a.active {
    color: var(--secondary-color);
    font-weight: 600;
}
/* Book a Call CTA in navbar — keep solid button (no underline) */
#navbar .nav-cta a {
    margin-left: 0.4rem;
}
#navbar .nav-cta a::after { display: none !important; }
#navbar .nav-cta a:hover { background: var(--gradient-btn); color: #fff; }

/* Mega-menu parent: hide underline since dropdown handles affordance */
#navbar .has-mega > a::after { display: none !important; }
#navbar .has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
#navbar .has-mega > a::before {
    content: none;
}
#navbar .has-mega > a:after {
    /* small caret indicator using extra content */
}
.has-mega > a {
    /* Append caret via pseudo */
}
.has-mega > a::after,
.has-mega > a span.caret {
    display: none;
}
#navbar .has-mega > a {
    position: relative;
    padding-right: 1.4rem !important;
}
#navbar .has-mega > a::before {
    content: "\25BE"; /* ▾ */
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    color: var(--text-light);
    opacity: 0.65;
    transition: transform 0.22s ease, color 0.22s ease;
    pointer-events: none;
}
#navbar .has-mega:hover > a::before,
#navbar .has-mega.is-open > a::before {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateY(-50%) rotate(180deg);
}

/* --- Mega-menu: solid background, correct vertical item stacking --- */
.mega-menu {
    background: #ffffff !important;
    z-index: 1001;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
}
.mega-menu .mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mega-menu .mega-col {
    min-width: 0;
}
/* CRITICAL: force items to stack vertically inside each pillar column */
.mega-menu .mega-col ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mega-menu .mega-col li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.mega-menu .mega-col li a {
    display: block;
    width: 100%;
    padding: 0.42rem 0.6rem;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.mega-menu .mega-col li a::after { display: none !important; }
.mega-menu .mega-col li a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--secondary-color);
    transform: translateX(2px);
}
.mega-menu .mega-col h5 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.55rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.mega-menu .mega-col h5 i {
    font-size: 0.85rem;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
}
.mega-menu .mega-col[data-pillar="business"] h5 i { background: rgba(37, 99, 235, 0.12); color: var(--pillar-business); }
.mega-menu .mega-col[data-pillar="technology"] h5 i { background: rgba(99, 102, 241, 0.12); color: var(--pillar-tech); }
.mega-menu .mega-col[data-pillar="financial"] h5 i { background: rgba(37, 99, 235, 0.14); color: var(--pillar-business); }

.mega-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.mega-footer p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-light);
}
.mega-footer .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* Mobile mega-menu polish */
@media (max-width: 968px) {
    .mega-menu {
        background: rgba(15, 23, 42, 0.02) !important;
        box-shadow: none;
    }
    .mega-menu .mega-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .mega-menu .mega-col {
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 12px;
        padding: 0.75rem 0.85rem;
    }
    .has-mega > a::before {
        right: auto;
        left: auto;
        position: relative;
        margin-left: 0.4rem;
        transform: none;
    }
    .has-mega.is-open > a::before { transform: rotate(180deg); }
    .has-mega > a { padding-right: 0.85rem !important; }
}

/* Tighten header container on small laptops to avoid wrap */
@media (min-width: 969px) and (max-width: 1180px) {
    #navbar ul { gap: 0.05rem; }
    #navbar a { padding: 0.45rem 0.55rem; font-size: 0.86rem; }
    #navbar .nav-cta a { padding: 0.38rem 0.7rem !important; font-size: 0.78rem; }
}

/* =============================================================
   v4 — Premium glory: unified flow, alignment, dwell-time UX
   ============================================================= */

body.site-premium {
    --header-height: 56px;
}

.site-main {
    position: relative;
    z-index: 1;
}

.container--narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Consistent section rhythm — clear scroll story */
.section-padding {
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.6;
}

/* Page headers — transparent, glory mesh shows through */
.page-header--glow,
.page-header {
    background: transparent !important;
    border-bottom: none;
}
.page-header--glow::before,
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(37, 99, 235, 0.12), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Content panels — aligned glass strips on the mesh */
.site-panel {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(37, 99, 235, 0.04);
}

/* Hero — same glory language as inner pages */
#hero {
    background: transparent !important;
    position: relative;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(59, 130, 246, 0.2), transparent 62%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(99, 102, 241, 0.12), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
#hero .hero-content {
    position: relative;
    z-index: 1;
}

/* Trust strip — glass ribbon */
.trust-strip {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* Nav — 5 items always visible, even spacing */
.site-nav-list {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
#navbar .nav-cta a.active {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Booking page shell */
.booking-shell {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.09);
}

/* Clear visual hierarchy between major blocks — borders hidden for seamless shell */
.premium-section + .premium-section,
.section-padding + .section-padding {
    border-top: none;
}

header#header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.page-header {
    position: relative;
    padding: 0.55rem 0 0.4rem;
    text-align: center;
    background: transparent;
    border-bottom: none;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}
.page-header p {
    font-size: clamp(0.88rem, 1.1vw, 0.98rem);
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.45;
}

.page-header-kicker {
    margin: 0.65rem auto 0;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

/* Sticky in-page navigation (Services, About, Contact) */
.page-subnav {
    position: sticky;
    top: 56px;
    z-index: 90;
    margin-top: -0.1rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: none;
}
.page-subnav-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.4rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.page-subnav-inner::-webkit-scrollbar { display: none; }
.page-subnav-link {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-subnav-link:hover {
    color: var(--secondary-color);
    background: rgba(37, 99, 235, 0.06);
}
.page-subnav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.premium-section {
    position: relative;
}
.premium-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 30%);
    pointer-events: none;
}

.section-header .section-eyebrow {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

/* Glass cards — contact, engagement, course */
.contact-card,
.engagement-card,
.course-card,
.stat-card,
.form-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}
.engagement-card.featured,
.pricing-cards .engagement-card.featured {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.08) inset;
}

.cta-band {
    background: linear-gradient(135deg, #0b1228 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3rem);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    display: none;
}

/* Scoped pillar zones (catalog vs training on services page) */
.pillar-zone .pillar-tabs { margin-top: 0.5rem; }
.training-zone { background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 40%); padding-top: 0.5rem; }

/* Booking block on contact page */
#book.booking-section {
    scroll-margin-top: 7rem;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
}
#book .booking-shell {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

#faq { scroll-margin-top: 6rem; }
#catalog, #training, #pricing, #team, #book { scroll-margin-top: 7rem; }

footer.site-footer {
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .page-subnav { top: 0; }
}

/* =============================================================
   v7 — Unified shell · border-only cards · energy field
   ============================================================= */

@keyframes energyPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.04); }
}

@keyframes energyFlow {
    0% { background-position: 0% 50%, 100% 50%, 50% 0%; }
    50% { background-position: 100% 50%, 0% 50%, 50% 100%; }
    100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
}

@keyframes energyRipple {
    0% { transform: scale(0.85); opacity: 0.35; }
    50% { transform: scale(1.08); opacity: 0.65; }
    100% { transform: scale(0.85); opacity: 0.35; }
}

@keyframes energySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body.site-premium {
    --shell-bg: #e8edf5;
    --shell-border: rgba(37, 99, 235, 0.2);
    --cta-blue: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    --navy-deep: #1a2b4c;
    --navy-text: #0f172a;
    --navy-muted: #475569;
    --primary-color: #0f172a;
    --text-color: #1e293b;
    --text-light: #475569;
    position: relative;
    isolation: isolate;
    color: var(--text-color);
    background: var(--shell-bg) !important;
    background-image: none !important;
}

/* Positive energy — machinery / source vibes behind unified shell */
body.site-premium::before {
    content: '';
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 42% 38% at 82% 95%, rgba(56, 189, 248, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 38% 34% at 12% 92%, rgba(129, 140, 248, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 50% 105%, rgba(37, 99, 235, 0.14) 0%, transparent 62%),
        radial-gradient(ellipse 30% 28% at 50% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    background-size: 120% 120%, 120% 120%, 100% 100%, 100% 100%;
    animation: energyFlow 18s ease-in-out infinite, energyPulse 7s ease-in-out infinite alternate;
}

body.site-premium::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-radial-gradient(circle at 78% 100%, transparent 0 48px, rgba(37, 99, 235, 0.045) 49px 52px, transparent 53px),
        repeating-radial-gradient(circle at 22% 100%, transparent 0 56px, rgba(14, 165, 233, 0.04) 57px 60px, transparent 61px),
        conic-gradient(from 200deg at 85% 88%, transparent 0deg, rgba(59, 130, 246, 0.06) 40deg, transparent 80deg, rgba(34, 197, 94, 0.05) 140deg, transparent 200deg);
    opacity: 0.75;
    animation: energyRipple 11s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    body.site-premium::before,
    body.site-premium::after {
        animation: none;
        opacity: 0.5;
    }
}

body.site-premium > *:not(#teamLoginModal):not(.floating-buttons):not(#aiChatPanel):not(header):not(#header) {
    position: relative;
    z-index: 1;
}

/* Same shell on nav, body, footer, hero — no separate panels */
body.site-premium header,
body.site-premium header.scrolled,
body.site-premium header#header,
body.site-premium .site-header {
    background: var(--shell-bg) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--shell-border);
    box-shadow: none;
}

body.site-premium footer,
body.site-premium footer.site-footer {
    background: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
    color: var(--navy-muted);
    margin-top: 0;
    box-shadow: none;
}

body.site-premium .site-main,
body.site-premium main,
body.site-premium #hero,
body.site-premium .page-header,
body.site-premium .page-header--glow,
body.site-premium .premium-section,
body.site-premium .training-zone,
body.site-premium #book.booking-section {
    background: transparent !important;
}

body.site-premium #hero::before,
body.site-premium .page-header::before,
body.site-premium .page-header--glow::before {
    display: none !important;
}

/* Readable dark text on light */
body.site-premium .logo,
body.site-premium .logo-name {
    color: var(--navy-text) !important;
}
body.site-premium .logo .logo-tag {
    color: var(--navy-muted);
}
body.site-premium #navbar a,
body.site-premium .navbar-mobile-brand-name {
    color: var(--navy-text) !important;
}
body.site-premium #navbar a:hover,
body.site-premium #navbar a.active {
    color: #2563eb !important;
}
body.site-premium #navbar a::after {
    background: #2563eb;
}
body.site-premium .mobile-toggle {
    color: var(--navy-text);
}
body.site-premium .navbar-mobile-brand-tagline,
body.site-premium .navbar-profile-label {
    color: var(--navy-muted);
}

/* Nav bar: profile + WhatsApp icons — larger, crisp */
body.site-premium .user-menu {
    gap: 0.5rem;
    align-items: center;
}
body.site-premium .profile-trigger img.profile-icon {
    width: 36px !important;
    height: 36px !important;
    padding: 2px;
    border: 2px solid #2563eb;
    background: #fff;
    background-image: none;
    background-clip: border-box;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
    object-fit: cover;
}
body.site-premium .profile-whatsapp {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.15rem !important;
    background: #22c55e !important;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.4);
    flex-shrink: 0;
}
body.site-premium .profile-whatsapp:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

/* Mega-menu — same shell, bordered */
body.site-premium .mega-menu {
    background: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 22px 52px rgba(37, 99, 235, 0.14);
}
body.site-premium .mega-menu .mega-col h5 {
    color: var(--navy-text);
}
body.site-premium .mega-menu .mega-col li a {
    color: var(--navy-muted);
}
body.site-premium .mega-menu .mega-col li a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

/* Headings — dark, high contrast */
body.site-premium .page-header h1,
body.site-premium #hero h1,
body.site-premium .section-header h2 {
    color: var(--navy-text);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.site-premium .page-header p,
body.site-premium #hero p,
body.site-premium .section-header p {
    color: var(--navy-muted);
}
body.site-premium .section-eyebrow {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    color: #1d4ed8;
}

body.site-premium .page-subnav {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: 1px solid var(--shell-border);
}
body.site-premium .page-subnav-link {
    color: var(--navy-muted);
}
body.site-premium .page-subnav-link.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

body.site-premium .hero-badge,
body.site-premium .trust-strip,
body.site-premium .audience-switcher,
body.site-premium .pillar-tabs,
body.site-premium .audience-row {
    position: relative;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid var(--shell-border) !important;
    box-shadow: none !important;
    color: var(--navy-muted);
}
body.site-premium .hero-badge {
    color: #1d4ed8;
}

/* Cards — white shell + border (same as page) */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message-inner,
body.site-premium .selection-panel-inner,
body.site-premium .site-panel,
body.site-premium .pricing-note,
body.site-premium .booking-option,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid var(--shell-border) !important;
    color: var(--text-color) !important;
}

body.site-premium .service-card::before {
    background: linear-gradient(180deg, #2563eb, #3b82f6) !important;
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
}
body.site-premium .engagement-card.featured {
    box-shadow: none !important;
}
body.site-premium .engagement-card.featured {
    border-width: 2px !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}

body.site-premium .contact-card h4,
body.site-premium .engagement-card h3,
body.site-premium .course-card h3,
body.site-premium .stat-card h3,
body.site-premium .service-card h3,
body.site-premium .value-card h3,
body.site-premium .faq-question,
body.site-premium .form-card h3,
body.site-premium .booking-step h3 {
    color: var(--navy-text) !important;
}

body.site-premium .contact-card p,
body.site-premium .engagement-card li,
body.site-premium .course-card p,
body.site-premium .stat-card p,
body.site-premium .faq-answer-inner,
body.site-premium .testimonial-card p {
    color: var(--navy-muted) !important;
}

body.site-premium .contact-card a {
    color: #2563eb;
}

body.site-premium .form-card label,
body.site-premium .booking-shell label {
    color: var(--navy-text);
}
body.site-premium .form-card input,
body.site-premium .form-card select,
body.site-premium .form-card textarea,
body.site-premium .booking-shell input,
body.site-premium .booking-shell textarea {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--navy-text);
}

body.site-premium .pillar-tab.active,
body.site-premium .audience-pill.active,
body.site-premium .audience-switcher button.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-color: transparent;
}

/* CTA band — premium gradient, white text OK */
body.site-premium .cta-band {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #3b82f6 100%);
    border: none;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}
body.site-premium .cta-band h2,
body.site-premium .cta-band p {
    color: #fff;
}

body.site-premium footer h3,
body.site-premium footer h4 {
    color: var(--navy-text);
}
body.site-premium footer a {
    color: var(--navy-muted);
}
body.site-premium footer a:hover {
    color: #2563eb;
}

body.site-premium .premium-section + .premium-section,
body.site-premium .section-padding + .section-padding {
    border-top: none !important;
}

body.site-premium .highlight {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
}

body.site-premium .btn-primary {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

@media (max-width: 968px) {
    body.site-premium #navbar {
        background: var(--shell-bg) !important;
    }
    body.site-premium .mega-menu {
        background: var(--shell-bg) !important;
    }
}

/* v6.1 — Conversion polish: brighter CTAs, trust, floating actions */
body.site-premium #hero .btn-primary,
body.site-premium .hero-actions .btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
body.site-premium #hero .btn-primary:hover,
body.site-premium .hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.5);
}
body.site-premium #navbar .nav-cta a {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    font-weight: 700;
}
body.site-premium .stat-card h3,
body.site-premium .stat-number {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.site-premium .trust-strip {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    font-weight: 600;
}
body.site-premium .trust-strip i {
    color: #2563eb;
}
body.site-premium .floating-btn {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
body.site-premium .floating-btn.book {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}
body.site-premium .floating-btn.chat {
    background: #22c55e;
}
body.site-premium .section-header h2 {
    color: var(--navy-text);
}

/* Override legacy white card / section fills */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .selection-panel,
body.site-premium .selection-panel-inner {
    backdrop-filter: none !important;
}

body.site-premium .selection-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.site-premium.services-page .selection-panel--inline {
    background: #ffffff !important;
    border: 1px solid var(--shell-border) !important;
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04) !important;
}

body.site-premium header#header,
body.site-premium header.scrolled {
    background-color: var(--shell-bg) !important;
}

/* =============================================================
   v8 — White shell · blue CTAs · energy per section/card · align
   ============================================================= */

@keyframes energySectionPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.03); }
}

/* Energy on every major section */
body.site-premium #hero,
body.site-premium .premium-section,
body.site-premium .section-padding,
body.site-premium .page-header,
body.site-premium .page-header--glow,
body.site-premium .training-zone {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.site-premium #hero::after,
body.site-premium .premium-section::before,
body.site-premium .section-padding::before,
body.site-premium .page-header::after,
body.site-premium .page-header--glow::after,
body.site-premium .training-zone::before {
    content: '';
    position: absolute;
    inset: -15% -10%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 90% 100%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 45% 38% at 8% 95%, rgba(129, 140, 248, 0.12) 0%, transparent 52%),
        repeating-radial-gradient(circle at 70% 110%, transparent 0 42px, rgba(37, 99, 235, 0.035) 43px 46px, transparent 47px);
    animation: energySectionPulse 14s ease-in-out infinite;
}

body.site-premium .premium-section:nth-child(even)::before,
body.site-premium .section-padding:nth-of-type(even)::before {
    animation-delay: -7s;
}

body.site-premium #hero > *,
body.site-premium .premium-section > *,
body.site-premium .section-padding > *,
body.site-premium .page-header > *,
body.site-premium footer.site-footer > * {
    position: relative;
    z-index: 1;
}

/* Footer — inherit body positive-energy field (no separate shell) */
footer,
footer.site-footer {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Card-level energy shimmer */
body.site-premium .contact-card::after,
body.site-premium .engagement-card::after,
body.site-premium .course-card::after,
body.site-premium .stat-card::after,
body.site-premium .service-card::after,
body.site-premium .value-card::after,
body.site-premium .testimonial-card::after,
body.site-premium .faq-item::after,
body.site-premium .form-card::after,
body.site-premium .booking-shell::after,
body.site-premium .team-card::after,
body.site-premium .hero-pillar::after {
    content: '';
    position: absolute;
    inset: -30%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 120%, rgba(37, 99, 235, 0.08) 0%, transparent 55%);
    animation: energySectionPulse 10s ease-in-out infinite;
    opacity: 0.7;
}

body.site-premium .contact-card > *,
body.site-premium .engagement-card > *,
body.site-premium .course-card > *,
body.site-premium .stat-card > *,
body.site-premium .service-card > *,
body.site-premium .value-card > *,
body.site-premium .testimonial-card > *,
body.site-premium .faq-item > *,
body.site-premium .form-card > *,
body.site-premium .booking-shell > *,
body.site-premium .team-card > *,
body.site-premium .hero-pillar > * {
    position: relative;
    z-index: 1;
}

/* Services hover — pop to front */
body.site-premium .services-grid,
body.site-premium .service-cards-grid,
body.site-premium .engagement-grid,
body.site-premium .courses-grid {
    position: relative;
    z-index: 1;
}

body.site-premium .service-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .value-card {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease, z-index 0s;
}

body.site-premium .service-card:hover,
body.site-premium .engagement-card:hover,
body.site-premium .course-card:hover,
body.site-premium .value-card:hover {
    z-index: 30 !important;
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.4) !important;
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.16) !important;
}

body.site-premium .service-card:hover::before {
    opacity: 1;
}

/* Unified blue CTA — all pages */
body.site-premium .btn-primary,
body.site-premium #navbar .nav-cta a,
body.site-premium .page-subnav-link.active,
body.site-premium .engagement-card .btn-primary,
body.site-premium .form-card .btn-primary,
body.site-premium .booking-shell .btn-primary,
body.site-premium .profile-form-actions .btn-primary,
body.site-premium .cta-band .btn-primary,
body.site-premium .hero-btns .btn-primary,
body.site-premium .hero-actions .btn-primary,
body.site-premium .floating-btn.book {
    background: var(--cta-blue) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32) !important;
}

body.site-premium .btn-primary:hover,
body.site-premium #navbar .nav-cta a:hover,
body.site-premium .engagement-card .btn-primary:hover,
body.site-premium .form-card .btn-primary:hover,
body.site-premium .booking-shell .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42) !important;
}

/* Alignment — buttons, icons, spacing */
body.site-premium header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

body.site-premium #navbar ul.site-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 1.5vw, 1.1rem);
}

body.site-premium .user-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-left: 0.25rem;
}

body.site-premium .cta-band .container > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

body.site-premium .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.65rem 1.35rem;
    line-height: 1.2;
    vertical-align: middle;
}

body.site-premium .btn i,
body.site-premium .nav-cta a i,
body.site-premium .floating-btn i {
    line-height: 1;
    flex-shrink: 0;
}

body.site-premium .container {
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
}

body.site-premium .section-padding {
    padding-top: clamp(2.25rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

body.site-premium .section-header {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

body.site-premium .services-grid,
body.site-premium .engagement-grid {
    gap: clamp(1rem, 2vw, 1.35rem);
}

@media (prefers-reduced-motion: reduce) {
    body.site-premium .premium-section::before,
    body.site-premium .section-padding::before,
    body.site-premium #hero::after,
    body.site-premium .service-card::after,
    body.site-premium .engagement-card::after {
        animation: none;
    }
    body.site-premium .service-card:hover,
    body.site-premium .engagement-card:hover {
        transform: translateY(-4px);
    }
}

/* =============================================================
   v9 — White cards · right CTAs · tight chrome · hover front
   ============================================================= */

body.site-premium,
body.site-premium button,
body.site-premium input,
body.site-premium select,
body.site-premium textarea {
    font-family: var(--font-main);
}

body.site-premium h1,
body.site-premium h2,
body.site-premium h3,
body.site-premium h4,
body.site-premium .logo-name,
body.site-premium .section-header h2,
body.site-premium .engagement-price {
    font-family: var(--font-heading);
}

/* Tight header — no empty gap above nav */
body.site-premium header#header,
body.site-premium header.site-header {
    height: 56px !important;
    min-height: 56px;
    margin: 0;
    padding: 0;
}

body.site-premium header .container {
    min-height: 56px !important;
    height: 56px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.site-premium main {
    padding-top: 56px !important;
}

@media (max-width: 768px) {
    body.site-premium header#header,
    body.site-premium header.site-header,
    body.site-premium header .container {
        height: 52px !important;
        min-height: 52px !important;
    }
    body.site-premium main {
        padding-top: 52px !important;
    }
}

/* Tight footer — no empty gap at bottom */
body.site-premium footer.site-footer {
    margin-top: 0 !important;
    padding: 0.55rem 0 0.05rem !important;
}

body.site-premium .footer-content {
    padding-bottom: 0.3rem !important;
}

body.site-premium .footer-bottom {
    padding: 0.2rem 0 0 !important;
    margin: 0;
}

/* All cards: solid white + readable text */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message-inner,
body.site-premium .selection-panel-inner,
body.site-premium .site-panel,
body.site-premium .pricing-note,
body.site-premium .booking-option,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card,
body.site-premium .hero-badge,
body.site-premium .trust-strip {
    background: #ffffff !important;
    color: var(--text-color) !important;
    box-shadow: var(--card-glow) !important;
    border-radius: var(--card-radius) !important;
}

/* Hover: pop in front with opaque white */
body.site-premium .service-card:hover,
body.site-premium .engagement-card:hover,
body.site-premium .course-card:hover,
body.site-premium .value-card:hover,
body.site-premium .testimonial-card:hover,
body.site-premium .faq-item:hover,
body.site-premium .stat-card:hover,
body.site-premium .contact-card:hover,
body.site-premium .form-card:hover,
body.site-premium .team-card:hover,
body.site-premium .hero-pillar:hover {
    background: #ffffff !important;
    z-index: 40 !important;
}

body.site-premium .service-card:hover::after,
body.site-premium .engagement-card:hover::after,
body.site-premium .course-card:hover::after,
body.site-premium .value-card:hover::after,
body.site-premium .stat-card:hover::after,
body.site-premium .testimonial-card:hover::after,
body.site-premium .faq-item:hover::after {
    opacity: 0 !important;
}

/* Engagement + card actions — align right */
body.site-premium .engagement-card .btn,
body.site-premium .engagement-card a.btn {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    margin-top: auto;
}

body.site-premium .engagement-card .btn-secondary {
    background: #ffffff !important;
    color: #2563eb !important;
    border: 2px solid #2563eb !important;
}

body.site-premium .engagement-card .btn-secondary:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Section / card actions — right aligned */
body.site-premium .section-cta,
body.site-premium .page-header-actions,
body.site-premium .cta-band .btn-row,
body.site-premium .form-card .btn-row,
body.site-premium .booking-shell .booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
}

body.site-premium .hero-btns,
body.site-premium .hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

body.site-premium .floating-buttons {
    right: 18px !important;
    bottom: 18px !important;
    left: auto !important;
    align-items: flex-end;
}

body.site-premium .floating-btn {
    width: 46px;
    height: 46px;
}

body.site-premium #hero {
    min-height: auto;
    padding-top: 0.35rem;
    padding-bottom: 1rem;
}

/* =============================================================
   v10 — Premium white cards · white hover menu · tight footer
   ============================================================= */

body.site-premium {
    --card-white: #ffffff;
    --card-edge: rgba(226, 232, 240, 0.95);
    --card-glow: 0 10px 30px rgba(15, 23, 42, 0.05);
    --card-glow-hover: 0 18px 42px rgba(37, 99, 235, 0.1);
    --card-radius: 16px;
}

/* Attractive white inside every bordered block */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message,
body.site-premium .founder-message-inner,
body.site-premium .selection-panel-inner,
body.site-premium .site-panel,
body.site-premium .pricing-note,
body.site-premium .booking-option,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card,
body.site-premium .about-text,
body.site-premium .about-image {
    background-color: var(--card-white) !important;
    background-image: none !important;
    border: 1px solid var(--card-edge) !important;
    border-radius: var(--card-radius) !important;
    box-shadow: var(--card-glow) !important;
}

/* No pattern bleed inside cards */
body.site-premium .contact-card::after,
body.site-premium .engagement-card::after,
body.site-premium .course-card::after,
body.site-premium .stat-card::after,
body.site-premium .service-card::after,
body.site-premium .value-card::after,
body.site-premium .testimonial-card::after,
body.site-premium .faq-item::after,
body.site-premium .form-card::after,
body.site-premium .booking-shell::after,
body.site-premium .team-card::after,
body.site-premium .hero-pillar::after,
body.site-premium .comparison-card::after,
body.site-premium .map-card::after {
    display: none !important;
}

body.site-premium .testimonial-track .testimonial-card {
    background: var(--card-white) !important;
}

/* Hover menu — crisp white panel */
body.site-premium .has-mega:hover .mega-menu,
body.site-premium .has-mega:focus-within .mega-menu,
body.site-premium .has-mega.is-open .mega-menu,
body.site-premium .mega-menu {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 22px 52px rgba(37, 99, 235, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
    z-index: 1100 !important;
}

body.site-premium .mega-menu .mega-col li a:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
}

body.site-premium .mega-footer {
    background: #ffffff !important;
    border-top-color: rgba(226, 232, 240, 0.95) !important;
    justify-content: flex-end !important;
}

/* Mobile nav drawer — white */
body.site-premium #navbar.active {
    background: #ffffff !important;
}

@media (max-width: 968px) {
    body.site-premium .has-mega.is-open .mega-menu,
    body.site-premium #navbar .mega-menu {
        background: #ffffff !important;
        border: 1px solid var(--card-edge) !important;
        box-shadow: var(--card-glow) !important;
    }
}

/* Hover: white card pops forward */
body.site-premium .service-card:hover,
body.site-premium .engagement-card:hover,
body.site-premium .course-card:hover,
body.site-premium .value-card:hover,
body.site-premium .testimonial-card:hover,
body.site-premium .faq-item:hover,
body.site-premium .stat-card:hover,
body.site-premium .contact-card:hover,
body.site-premium .form-card:hover,
body.site-premium .team-card:hover,
body.site-premium .hero-pillar:hover,
body.site-premium .comparison-card:hover,
body.site-premium .about-text:hover,
body.site-premium .about-image:hover,
body.site-premium .partner-card:hover {
    background: #ffffff !important;
    box-shadow: var(--card-glow-hover) !important;
    border-color: rgba(37, 99, 235, 0.22) !important;
    z-index: 40 !important;
}

/* Tighter footer — all pages */
body.site-premium footer.site-footer,
footer.site-footer {
    margin-top: 0 !important;
    padding: 0.55rem 0 0.05rem !important;
}

body.site-premium .footer-content,
footer .footer-content {
    padding-bottom: 0.3rem !important;
    gap: 0.75rem 1rem;
}

body.site-premium .footer-col h3,
body.site-premium .footer-col h4 {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

body.site-premium .footer-col p,
body.site-premium .footer-col ul li {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

body.site-premium .footer-bottom,
footer .footer-bottom {
    padding: 0.2rem 0 0 !important;
    margin: 0 !important;
}

body.site-premium .footer-bottom p {
    font-size: 0.72rem;
    line-height: 1.3;
}

body.site-premium .social-links a {
    width: 34px;
    height: 34px;
}

/* =============================================================
   v11 — Light navy shell · shining cards · mobile nav · hero anim
   ============================================================= */

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

@keyframes heroSeqIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes cardShine {
    0%, 100% { box-shadow: 0 12px 32px rgba(255, 255, 255, 0.9), 0 8px 22px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1); }
    50% { box-shadow: 0 14px 36px rgba(255, 255, 255, 0.95), 0 10px 28px rgba(37, 99, 235, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1); }
}

body.site-premium {
    --shell-bg: #e8edf5;
    --shell-navy: #dce4f0;
    --card-shine-shadow: 0 12px 32px rgba(255, 255, 255, 0.92), 0 8px 24px rgba(26, 43, 76, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(37, 99, 235, 0.04);
    background: var(--shell-bg) !important;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(255, 255, 255, 0.5), transparent 55%),
        linear-gradient(180deg, #eef2f8 0%, #e8edf5 50%, #e4eaf3 100%) !important;
}

body.site-premium::before {
    opacity: 0.65;
}

body.site-premium header#header,
body.site-premium header.site-header {
    background: rgba(232, 237, 245, 0.96) !important;
    border-color: rgba(26, 43, 76, 0.12) !important;
}

/* Shining white cards on light navy — pure #ffffff */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message,
body.site-premium .founder-message-inner,
body.site-premium .site-panel,
body.site-premium .booking-option,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card,
body.site-premium .about-text,
body.site-premium .about-image,
body.site-premium .hero-badge,
body.site-premium .trust-strip {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: var(--card-shine-shadow) !important;
    border: 1px solid rgba(220, 228, 240, 0.95) !important;
}

/* Hero title animations */
.hero-title-animated {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-animated .hero-line {
    display: block;
    width: 100%;
}

.hero-title-animated .anim-grow {
    display: inline-block;
    opacity: 0;
    animation: heroGrowIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-badge .hero-badge-text,
.hero-badge > span:last-child {
    display: inline-block;
    animation: heroBadgeIn 0.65s ease forwards;
}

.hero-seq-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem clamp(0.85rem, 3vw, 2rem);
    margin: 0.12rem 0;
    width: 100%;
    max-width: min(960px, 100%);
}

.hero-seq-line--secondary {
    margin-top: 0.08rem;
}

.hero-seq-line .seq-item {
    display: inline-flex;
    opacity: 0;
    animation: heroSeqIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.45s + var(--seq, 0) * 0.28s);
}

.hero-seq-line .seq-dot {
    color: #64748b;
    font-weight: 700;
    padding: 0 0.05rem;
}

.hero-title-animated .anim-tail {
    display: block;
    opacity: 0;
    animation: heroGrowIn 0.65s ease forwards;
    animation-delay: 1.95s;
}

.hero-title-animated .hero-tail-text {
    color: var(--navy-text);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-animated .anim-grow,
    .hero-title-animated .anim-tail,
    .hero-seq-line .seq-item,
    .hero-badge .hero-badge-text,
    .hero-badge > span:last-child {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Mobile: tighter card gutters + improved nav */
@media (max-width: 768px) {
    body.site-premium .container {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }

    body.site-premium .section-padding {
        padding-left: 0;
        padding-right: 0;
    }

    body.site-premium .engagement-grid,
    body.site-premium .services-grid,
    body.site-premium .service-cards-grid,
    body.site-premium .testimonial-grid,
    body.site-premium .stats-grid,
    body.site-premium .value-grid,
    body.site-premium .courses-grid,
    body.site-premium .about-container {
        gap: 0.65rem;
        margin-left: 0;
        margin-right: 0;
    }

    body.site-premium .engagement-card,
    body.site-premium .service-card,
    body.site-premium .testimonial-card,
    body.site-premium .stat-card,
    body.site-premium .about-text,
    body.site-premium .about-image {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.site-premium .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #ffffff !important;
        border: 1px solid rgba(37, 99, 235, 0.28) !important;
        border-radius: 10px;
        color: #0f172a !important;
        box-shadow: 0 4px 12px rgba(26, 43, 76, 0.08);
    }

    body.site-premium #navbar {
        top: var(--mobile-header-h, 56px) !important;
        height: calc(100dvh - var(--mobile-header-h, 56px)) !important;
        padding: 0.75rem 0.65rem 1rem !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        background: #f4f7fc !important;
    }

    body.site-premium #navbar.active {
        box-shadow: -8px 0 32px rgba(26, 43, 76, 0.12);
    }

    body.site-premium #navbar .navbar-mobile-brand {
        display: none !important;
    }

    body.site-premium #navbar ul.site-nav-list {
        align-items: stretch !important;
        gap: 0.4rem !important;
    }

    body.site-premium #navbar li {
        text-align: left !important;
        width: 100%;
    }

    body.site-premium #navbar a {
        text-align: left;
        padding: 0.7rem 0.9rem !important;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid rgba(37, 99, 235, 0.12);
        font-size: 1rem !important;
        font-weight: 600 !important;
    }

    body.site-premium #navbar .nav-cta a {
        text-align: center;
        justify-content: center;
        margin-top: 0.35rem;
        border: none !important;
    }

    body.site-premium #navbar .has-mega .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.75rem !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: var(--card-shine-shadow) !important;
    }

    body.site-premium .user-menu {
        margin-right: 0.35rem;
    }

    body.site-premium .profile-trigger img.profile-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

/* =============================================================
   v12 — Pure white shiny cards · tight page headers · subnav right
   ============================================================= */

body.site-premium {
    --card-shine-shadow: 0 10px 30px rgba(255, 255, 255, 0.98), 0 8px 22px rgba(26, 43, 76, 0.09), inset 0 1px 0 #ffffff, inset 0 0 24px rgba(255, 255, 255, 0.85);
}

/* All bordered cards: #ffffff + shine */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .faq-item,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message,
body.site-premium .founder-message-inner,
body.site-premium .selection-panel-inner,
body.site-premium .site-panel,
body.site-premium .pricing-note,
body.site-premium .booking-option,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card,
body.site-premium .about-text,
body.site-premium .about-image {
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: var(--card-shine-shadow) !important;
}

/* Inner pages: title block tight to nav (all pages) */
body.site-premium .site-main > .page-header:first-child,
body.site-premium main > .page-header:first-child,
body.site-premium .page-header.page-header--glow {
    padding: 0.45rem 0 0.3rem !important;
    margin: 0 !important;
    min-height: 0;
    text-align: center;
    background: transparent !important;
    border-bottom: none !important;
}

body.site-premium .page-header::before,
body.site-premium .page-header::after,
body.site-premium .page-header--glow::before,
body.site-premium .page-header--glow::after {
    display: none !important;
}

body.site-premium .page-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

body.site-premium .page-header h1 {
    margin-bottom: 0.15rem !important;
    font-size: clamp(1.55rem, 3.2vw, 2.1rem) !important;
    line-height: 1.15;
}

body.site-premium .page-header p {
    margin: 0 auto !important;
    line-height: 1.4;
    font-size: clamp(0.86rem, 1vw, 0.96rem) !important;
}

/* Sub-nav: right align, slightly higher */
body.site-premium .page-subnav {
    top: 52px;
    margin-top: -0.2rem;
    padding-top: 0;
    background: transparent !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

body.site-premium .page-subnav-inner {
    justify-content: flex-end !important;
    align-items: center;
    padding: 0.15rem 0 0.35rem !important;
    gap: 0.3rem;
}

/* First content section — no extra gap after header/subnav */
body.site-premium .page-header + .section-padding,
body.site-premium .page-header + section,
body.site-premium .page-header + #contact {
    padding-top: 0.65rem !important;
}

body.site-premium .page-subnav + .section-padding,
body.site-premium .page-subnav + section {
    padding-top: 0.7rem !important;
}

body.site-premium .section-padding.premium-section:first-of-type,
body.site-premium .page-subnav + .premium-section {
    padding-top: 0.75rem !important;
}

@media (max-width: 768px) {
    body.site-premium .page-subnav {
        top: 50px;
    }

    body.site-premium .site-main > .page-header:first-child,
    body.site-premium main > .page-header:first-child {
        padding: 0.35rem 0 0.25rem !important;
    }

    body.site-premium .page-header h1 {
        font-size: clamp(1.4rem, 5vw, 1.85rem) !important;
    }

    body.site-premium .page-subnav-inner {
        justify-content: flex-end !important;
        padding: 0.1rem 0 0.3rem !important;
    }
}

/* =============================================================
   v13 — Services page layout & alignment
   ============================================================= */

.services-page .services-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.services-page .services-catalog.pillar-zone {
    padding-top: 0.5rem !important;
    padding-bottom: 1.25rem !important;
}

.services-page .services-filters-bar {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.services-page .services-filters-bar .audience-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.75rem;
}
.services-page .services-filters-bar .audience-row {
    margin-bottom: 0;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}
.services-page .services-filters-bar .audience-pill {
    border-radius: 999px;
    padding: 0.48rem 1.05rem;
}

.services-page .services-filters-bar .pillar-tabs {
    margin: 0;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
}

.services-page .pillar-panel {
    width: 100%;
}

.services-page .pillar-panel-header {
    text-align: left;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.services-page .pillar-panel-header h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.services-page .pillar-panel-header p {
    margin: 0;
    max-width: none;
    text-align: left;
}

.services-page .mode-tabs {
    justify-content: flex-start;
    margin-bottom: 0.85rem;
}

.services-page .service-category {
    background: #ffffff !important;
    border: 1px solid rgba(220, 228, 240, 0.95) !important;
    border-radius: 14px !important;
    box-shadow: var(--card-shine-shadow, 0 10px 30px rgba(15, 23, 42, 0.05)) !important;
    margin-bottom: 0.75rem;
}

.services-page .category-header {
    padding: 0.85rem 1rem;
}

.services-page .category-title {
    align-items: center;
}

.services-page .category-body .service-cards-grid {
    padding: 0.75rem 1rem 1rem;
}

.services-page .service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
    align-items: stretch;
}

.services-page .service-select-card {
    background: #ffffff !important;
    min-height: 52px;
    align-items: center;
    text-align: left;
    line-height: 1.35;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.services-page .section-cta-services {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.services-page .cta-services-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    width: 100%;
}

.services-page .selection-hint {
    width: 100%;
    text-align: left;
    margin: 0;
}

.services-page #training .section-header,
.services-page #pricing .section-header,
.services-page .industries-section .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.services-page #training .audience-row,
.services-page #training .pillar-tabs {
    justify-content: flex-start;
    max-width: 100%;
}

.services-page .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.services-page .course-card {
    background: #ffffff !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-page .course-card .course-cta {
    margin-top: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.services-page .pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.services-page .pricing-cards .engagement-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-page .pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    background: #ffffff !important;
    margin-top: 0.75rem;
}

.services-page .pricing-note i {
    color: var(--secondary-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.services-page .industries-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.45rem;
}

.services-page .timeline-steps {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.services-page #service-process .section-header {
    text-align: center;
}

@media (max-width: 768px) {
    .services-page .container {
        padding-left: clamp(0.2rem, 1.2vw, 0.32rem) !important;
        padding-right: clamp(0.2rem, 1.2vw, 0.32rem) !important;
    }

    .services-page .pillar-tabs {
        flex-direction: column;
        align-items: stretch;
        padding: 0.2rem;
    }

    .services-page .pillar-tab {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .services-page .audience-row {
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .services-page .audience-pill {
        flex: 1 1 calc(50% - 0.35rem);
        justify-content: center;
        min-width: 0;
    }

    .services-page .mode-tabs {
        justify-content: flex-start;
    }

    .services-page .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .services-page .category-body .service-cards-grid {
        padding: 0.32rem !important;
    }

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

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

    .services-page .cta-services-inner {
        align-items: stretch;
    }

    .services-page .course-card .course-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .services-page .course-card .course-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================
   v14 — Footer flush · hero compact · blue pillar icons · how-we-work
   ============================================================= */

body.site-premium {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.site-premium footer.site-footer,
footer.site-footer {
    padding: 0.5rem 0 0 !important;
    margin-bottom: 0 !important;
}

body.site-premium .footer-content,
footer .footer-content {
    padding-bottom: 0.25rem !important;
    margin-bottom: 0 !important;
}

body.site-premium .footer-bottom,
footer .footer-bottom {
    padding: 0.15rem 0 0 !important;
    margin: 0 !important;
}

body.site-premium .footer-bottom p {
    margin: 0;
    padding-bottom: 0;
}

body.site-premium footer.site-footer::before {
    display: none !important;
}

body.site-premium .floating-buttons {
    bottom: 10px !important;
    right: 12px !important;
}

/* Hero — compact tight fit */
.hero-compact .hero-content {
    padding: 0.35rem 1rem 0.65rem;
    max-width: 880px;
}

.hero-compact #hero h1,
.hero-compact .hero-title-animated {
    margin-bottom: 0.35rem;
}

.hero-compact #hero p {
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    max-width: 620px;
}

.hero-compact .hero-btns {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.hero-compact .hero-btns .btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    min-height: 40px;
}

.hero-compact .audience-switcher {
    margin: 0.35rem auto 0;
    padding: 0.2rem;
    gap: 0.1rem;
}

.hero-compact .audience-switcher button {
    padding: 0.32rem 0.75rem;
    font-size: 0.74rem;
}

.hero-compact .hero-pillars {
    margin-top: 0.45rem;
    gap: 0.45rem;
    max-width: 100%;
}

.hero-compact .hero-pillar {
    padding: 0.5rem 0.55rem;
    gap: 0.2rem;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    box-shadow: var(--card-shine-shadow) !important;
}

.hero-compact .hero-pillar i {
    font-size: 1.1rem;
    color: #2563eb !important;
}

.hero-compact .hero-pillar strong {
    font-size: 0.82rem;
}

.hero-compact .hero-pillar span {
    font-size: 0.68rem;
    line-height: 1.25;
}

.hero-compact .hero-meta-row {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    gap: 0.35rem 0.65rem;
}

.hero-compact .hero-badge {
    margin-bottom: 0.45rem;
    padding: 0.28rem 0.7rem;
    font-size: 0.72rem;
}

/* Home pillar showcase — all blue icons */
.pillar-icon-blue,
.service-card > i.pillar-icon-blue,
.pillar-showcase-card > i.pillar-icon-blue {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff !important;
    background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
    margin-bottom: 0.65rem;
}

.pillar-showcase-card {
    text-align: center;
    padding: 1rem 1rem 1.1rem !important;
}

.pillar-showcase-card p {
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: left;
}

/* Home — six pillars in Proof of Work card style (3 × 2 grid) */
.pillars-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pillar-project-card {
    cursor: pointer;
}

.pillar-project-card .project-kpis {
    font-size: 0.84rem;
    line-height: 1.45;
}

@media (max-width: 992px) {
    .pillars-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .pillars-project-grid {
        grid-template-columns: 1fr;
    }
}

/* Services page — selection panel vs footer */
/* Services page — inline selection panel (below Training, in document flow) */
body.services-page .selection-panel--inline {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    transform: none;
    max-height: none;
    display: none;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border) !important;
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04) !important;
    background: #ffffff !important;
}

body.services-page .selection-panel--inline.visible {
    display: block;
    transform: none;
}

body.services-page .selection-panel--inline .selection-panel-inner {
    padding: 1rem 1.15rem 1.1rem;
}

body.services-page .selection-panel--inline .selection-panel-list {
    max-height: none;
}

body.services-page.selection-panel-open footer.site-footer {
    padding-bottom: 0;
}

body.services-page.selection-panel-open .floating-buttons {
    bottom: 18px;
}

body.services-page .pillar-panel-header,
body.services-page .mode-tabs {
    display: none !important;
}

/* How We Work — white panel */
.how-we-work-panel {
    background: #ffffff !important;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
}

.how-we-work-panel::before,
.how-we-work-panel::after {
    display: none !important;
}

.how-we-work-panel .section-header {
    text-align: center;
}

.how-we-work-panel .timeline-steps {
    background: #ffffff;
    max-width: 640px;
    margin: 0 auto;
}

.how-we-work-panel .timeline-content {
    background: #ffffff !important;
}

@media (max-width: 640px) {
    .hero-compact .hero-pillar {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 0.45rem 0.65rem;
    }
    .hero-compact .hero-pillar span {
        display: block;
    }
}

/* =============================================================
   v15 — White nav · static subnav · logo/footer taglines
   ============================================================= */

body.site-premium header,
body.site-premium header.scrolled,
body.site-premium header#header,
body.site-premium .site-header {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}

body.site-premium #navbar a,
body.site-premium #navbar a:hover,
body.site-premium #navbar a:focus,
body.site-premium .navbar-mobile-brand-name {
    color: #0f172a !important;
}

body.site-premium #navbar a.active,
body.site-premium #navbar .has-mega > a.active {
    color: #2563eb !important;
}

body.site-premium footer,
body.site-premium footer.site-footer,
footer.site-footer {
    position: relative;
    overflow: visible;
    isolation: auto;
    background: transparent !important;
    background-image: none !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 0.55rem 0 0.25rem !important;
    margin: 0 !important;
}

body.site-premium footer.site-footer::before,
body.site-premium footer.site-footer::after,
footer.site-footer::before,
footer.site-footer::after {
    display: none !important;
    content: none !important;
}

body.site-premium .footer-content,
footer.site-footer .footer-content {
    padding: 0.35rem 0 0.15rem !important;
    position: relative;
    z-index: 1;
}

body.site-premium .footer-bottom,
footer.site-footer .footer-bottom {
    padding: 0.1rem 0 0 !important;
    margin: 0 !important;
    border-top: none !important;
    position: relative;
    z-index: 1;
}

body.site-premium .footer-bottom p,
footer.site-footer .footer-bottom p {
    margin: 0 !important;
    padding: 0 0 0.15rem !important;
    font-size: 0.78rem;
}

.footer-tagline {
    margin: 0;
    line-height: 1.35;
    font-size: 0.86rem;
    color: var(--navy-muted, #64748b);
}

.footer-tagline-line1 {
    display: block;
    font-weight: 600;
    color: var(--navy-text, #0f172a);
}

.footer-tagline-line2 {
    display: block;
    font-size: 0.82rem;
}

.logo-tag-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    line-height: 1.15;
    max-width: 11rem;
}

.logo-tag-line1 {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    text-transform: none;
    font-weight: 600;
    color: var(--navy-muted, #64748b);
    white-space: nowrap;
}

.logo-tag-line2 {
    font-size: 0.46rem;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--navy-muted, #94a3b8);
    line-height: 1.2;
}

@media (max-width: 1100px) {
    .logo-tag-line2 {
        display: none;
    }
}

@media (max-width: 900px) {
    .logo-tag-stack {
        display: none;
    }
}

/* Sub-nav: in document flow — no sticky overlap */
body.site-premium .page-subnav,
.page-subnav {
    position: static !important;
    top: auto !important;
    z-index: 1;
    margin: 0 !important;
    background: transparent !important;
}

body.site-premium .page-header--subnav {
    padding-bottom: 0 !important;
}

body.site-premium .page-subnav--in-header {
    border-bottom: none;
    margin-top: 0.15rem !important;
}

body.site-premium .page-subnav--in-header .page-subnav-inner {
    padding: 0.1rem 0 0.35rem !important;
}

body.site-premium .page-header + .page-subnav {
    display: none;
}

body.site-premium .page-subnav + .section-padding,
body.site-premium .page-subnav + section,
body.site-premium .page-header--subnav + .section-padding,
body.site-premium .page-header--subnav + section {
    padding-top: 0.85rem !important;
}

body.site-premium .site-main [id] {
    scroll-margin-top: 76px;
}

/* Hero — tighter below audience pills */
.hero-compact {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.hero-compact .hero-content {
    padding: 0.3rem 1rem 0.35rem !important;
}

.hero-compact #hero p {
    margin-bottom: 0.5rem !important;
}

.hero-compact .hero-btns {
    margin-bottom: 0.08rem !important;
}

.hero-compact .audience-switcher {
    margin: 0.35rem 0 0.3rem !important;
    padding-bottom: 0 !important;
}

.hero-compact .hero-pillars {
    margin-top: 0.35rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    gap: 0.45rem !important;
}

body.site-premium .trust-strip {
    margin-top: 0 !important;
    padding: 0.4rem 0 !important;
}

body.site-premium #hero + .trust-strip,
.hero-compact + .trust-strip {
    margin-top: 0 !important;
}

.services-page-cta {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* =============================================================
   v16 — Red UV + blue ray energy · partners marquee · mobile nav
   · slide heading · tighter sections · simplified tagline
   ============================================================= */

/* Re-enable energy layer: light red UV + blue rays */
body.site-premium::after {
    display: block !important;
    opacity: 0.65 !important;
    background:
        linear-gradient(118deg,
            transparent 0%,
            rgba(255, 99, 132, 0.07) 35%,
            rgba(236, 72, 153, 0.06) 45%,
            rgba(59, 130, 246, 0.09) 55%,
            rgba(34, 197, 94, 0.06) 66%,
            rgba(250, 204, 21, 0.06) 74%,
            transparent 86%
        ),
        repeating-linear-gradient(
            102deg,
            transparent 0,
            transparent 72px,
            rgba(99, 102, 241, 0.05) 73px,
            rgba(236, 72, 153, 0.02) 76px,
            transparent 77px
        ),
        radial-gradient(ellipse 55% 40% at 8% 92%, rgba(248, 113, 113, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 48% 42% at 92% 88%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 42% 38% at 55% 100%, rgba(34, 197, 94, 0.10) 0%, transparent 55%),
        repeating-radial-gradient(circle at 78% 100%, transparent 0 48px, rgba(37, 99, 235, 0.04) 49px 52px, transparent 53px) !important;
    animation: energyRipple 14s ease-in-out infinite, uvPulse 9s ease-in-out infinite alternate !important;
}

body.site-premium::before {
    background:
        radial-gradient(ellipse 44% 36% at 10% 88%, rgba(251, 113, 133, 0.18) 0%, transparent 56%),
        radial-gradient(ellipse 40% 34% at 88% 92%, rgba(56, 189, 248, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 38% 34% at 64% 102%, rgba(34, 197, 94, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 32% 28% at 32% 70%, rgba(250, 204, 21, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 30% 28% at 50% 40%, rgba(255, 255, 255, 0.50) 0%, transparent 70%) !important;
}

@keyframes uvPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.78; }
}

/* Tighter vertical rhythm sitewide */
body.site-premium {
    --section-padding: clamp(0.7rem, 1.8vw, 1.35rem);
}

body.site-premium .section-padding,
body.site-premium .premium-section {
    padding-top: clamp(0.6rem, 1.6vw, 1.1rem) !important;
    padding-bottom: clamp(0.6rem, 1.6vw, 1.1rem) !important;
}

body.site-premium .premium-section + .premium-section,
body.site-premium .section-padding + .section-padding {
    padding-top: clamp(0.45rem, 1.2vw, 0.75rem) !important;
}

body.site-premium .section-header {
    margin-bottom: 0.55rem !important;
}

body.site-premium .section-header h2 {
    margin-bottom: 0.25rem !important;
}

body.site-premium .section-header p {
    margin-top: 0.15rem !important;
}

body.site-premium .page-header {
    padding: 0.4rem 0 0.35rem !important;
}

body.site-premium .page-header--subnav {
    padding-bottom: 0.15rem !important;
}

/* Partners — one full card per slide (snap carousel) */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 0.25rem;
}

.partners-marquee-viewport {
    overflow: hidden;
    width: 100%;
}

.partners-marquee .partners-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    width: max-content;
    overflow: visible;
    padding: 0.35rem 0;
}

.partners-marquee .partner-card {
    flex: 0 0 auto;
    min-width: 168px;
}

/* Snap carousel: one full card visible, slide one at a time */
.partners-marquee--snap {
    -webkit-mask-image: none;
    mask-image: none;
}

.partners-marquee--snap .partners-marquee-viewport {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
    will-change: scroll-position;
}

.partners-marquee--snap .partners-marquee-viewport::-webkit-scrollbar {
    display: none;
}

.partners-marquee--snap .partners-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    animation: none !important;
    width: max-content;
    min-width: 100%;
    padding: 0;
    gap: 0;
}

.partners-marquee--snap .partner-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    padding: 1.15rem 1rem;
    border-radius: 16px;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.partners-marquee--snap .partner-card.is-active {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.partners-marquee--snap .partner-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 0.75rem;
}

.partners-marquee--snap .partner-name {
    font-size: 0.9rem;
    line-height: 1.35;
}

.partners-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
    padding: 0 0.25rem;
}

.partners-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.partners-dots button.is-active {
    width: 18px;
    background: #2563eb;
}

.partners-dots button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

#partners .container {
    padding-left: clamp(0.5rem, 2.2vw, 0.65rem);
    padding-right: clamp(0.5rem, 2.2vw, 0.65rem);
}

#partners .partners-marquee--snap {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* Partners — 5 equal cards visible at once */
.partners-showcase {
    width: 100%;
    margin-top: 0.35rem;
}

.partners-grid--five {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.2vw, 0.75rem);
    align-items: stretch;
    width: 100%;
}

.partners-grid--five .partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    height: 100%;
    padding: 0.85rem 0.45rem;
    text-align: center;
    box-sizing: border-box;
}

.partners-grid--five .partner-logo {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    margin: 0 auto 0.55rem;
}

.partners-grid--five .partner-logo .partner-initials {
    font-size: 0.95rem;
}

.partners-grid--five .partner-name {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.05em;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    /* Partners — slide one card with peek of next/prev */
    .partners-showcase {
        margin-left: calc(-1 * clamp(0.5rem, 2.2vw, 0.65rem));
        margin-right: calc(-1 * clamp(0.5rem, 2.2vw, 0.65rem));
        width: calc(100% + 2 * clamp(0.5rem, 2.2vw, 0.65rem));
        max-width: 100vw;
    }

    .partners-grid--five.peek-carousel--mobile {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        grid-template-columns: unset;
        gap: 0.55rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        padding: 0.2rem clamp(0.5rem, 2.2vw, 0.65rem) 0.45rem;
        width: 100%;
    }

    .partners-grid--five.peek-carousel--mobile::-webkit-scrollbar {
        display: none;
    }

    .partners-grid--five.peek-carousel--mobile .partner-card {
        flex: 0 0 auto;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 128px;
        padding: 0.75rem 0.55rem;
        border-radius: 14px;
    }

    .partners-grid--five:not(.peek-carousel--mobile) {
        gap: 0.3rem;
    }

    .partners-grid--five:not(.peek-carousel--mobile) .partner-card {
        min-height: 118px;
        padding: 0.55rem 0.25rem;
        border-radius: 12px;
    }

    .partners-grid--five .partner-logo {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin-bottom: 0.4rem;
    }

    .partners-grid--five .partner-logo .partner-initials {
        font-size: 0.72rem;
    }

    .partners-grid--five .partner-name {
        font-size: 0.58rem;
        line-height: 1.3;
        min-height: 2.6em;
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .partners-grid--five .partner-card {
        min-height: 132px;
        padding: 0.7rem 0.35rem;
    }

    .partners-grid--five .partner-name {
        font-size: 0.66rem;
    }
}

@keyframes partnersMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* Legacy continuous marquee (if used without --snap) */
.partners-marquee:not(.partners-marquee--snap) {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners-marquee:not(.partners-marquee--snap) .partners-track {
    animation: partnersMarquee 42s linear infinite;
    will-change: transform;
}

.partners-marquee:not(.partners-marquee--snap):hover .partners-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee--snap .partners-marquee-viewport {
        scroll-behavior: auto;
    }

    .partners-marquee:not(.partners-marquee--snap) .partners-track {
        animation: none;
        overflow-x: auto;
        width: 100%;
        flex-wrap: nowrap;
    }
}

/* Testimonials heading — slide shimmer */
.slide-heading {
    overflow: hidden;
    position: relative;
}

.slide-heading-text {
    display: inline-block;
    color: var(--navy-text, #0f172a);
    background: linear-gradient(
        90deg,
        var(--navy-text, #0f172a) 0%,
        var(--navy-text, #0f172a) 38%,
        #2563eb 50%,
        var(--navy-text, #0f172a) 62%,
        var(--navy-text, #0f172a) 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: headingSlideShine 5s ease-in-out infinite;
}

.section-header.reveal-up.active .slide-heading-text,
.slide-heading.is-visible .slide-heading-text {
    animation: headingSlideShine 5s ease-in-out infinite, headingSlideIn 0.7s ease-out forwards;
}

@keyframes headingSlideShine {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

@keyframes headingSlideIn {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Logo — single line tag */
.logo-tag-stack,
.logo-tag-line2 {
    display: none !important;
}

.logo .logo-tag,
.logo-tag-line1 {
    display: block !important;
    font-size: 0.52rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--navy-muted, #64748b);
    white-space: nowrap;
    max-width: none;
}

.footer-tagline-line2 {
    display: none !important;
}

.footer-tagline,
.footer-tagline-line1 {
    display: block;
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy-muted, #64748b);
    line-height: 1.3;
}

/* Mobile nav — full-width clean list */
@media (max-width: 968px) {
    :root {
        --mobile-header-h: 56px;
    }

    #navbar {
        top: var(--mobile-header-h) !important;
        height: calc(100dvh - var(--mobile-header-h)) !important;
        padding: 0.75rem 1rem 1.25rem !important;
        align-items: stretch !important;
    }

    #navbar .navbar-mobile-brand {
        display: none !important;
    }

    #navbar .navbar-mobile-brand-tagline {
        font-size: 0.8rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-top: 0.2rem;
    }

    #navbar ul.site-nav-list {
        align-items: stretch !important;
        gap: 0.45rem !important;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    #navbar ul.site-nav-list > li,
    #navbar .has-mega {
        width: 100% !important;
        max-width: 100% !important;
        opacity: 1;
        transform: none;
    }

    #navbar ul.site-nav-list > li > a,
    #navbar .has-mega > a {
        width: 100% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        padding: 0.75rem 1rem !important;
        font-size: 1.05rem !important;
    }

    #navbar .has-mega > a::after,
    #navbar .has-mega > a::before {
        display: none !important;
    }

    #navbar .mega-menu {
        display: none !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    #navbar .has-mega.is-open .mega-menu {
        display: none !important;
    }

    #navbar .nav-cta a {
        width: 100% !important;
        justify-content: center;
        margin-top: 0.25rem;
        border: none !important;
        padding: 0.8rem 1rem !important;
        font-size: 1rem !important;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
    }

    #navbar a.active {
        border-color: rgba(37, 99, 235, 0.35) !important;
        color: #2563eb !important;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
    }

    #navbar.active li:nth-child(n) {
        transition-delay: 0s;
    }

    .mobile-toggle {
        z-index: 1001;
    }

    #navbar.active ~ .mobile-toggle i::before {
        content: none;
    }
}

/* =============================================================
   v17 — Plain hero · display headings · nav highlight · FAB fixed
   · footer flush · founder lead block
   ============================================================= */

/* Hero — no glass card */
.hero-plain .hero-content::before {
    display: none !important;
    content: none !important;
}

.hero-plain .hero-content {
    padding: 0.25rem 1rem 0.15rem !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hero-plain#hero,
body.site-premium .hero-plain#hero {
    padding-top: 0.35rem !important;
    padding-bottom: 0 !important;
}

.hero-plain .hero-btns {
    margin-top: 0.35rem !important;
    justify-content: center !important;
    width: 100%;
}

/* Section display heading (testimonials etc.) */
.heading-display {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--navy-text, #0f172a);
    margin: 0.15rem 0 0;
    text-wrap: balance;
}

.heading-display--enhanced {
    background: linear-gradient(
        120deg,
        #0f172a 0%,
        #1e3a8a 35%,
        #2563eb 50%,
        #1e3a8a 65%,
        #0f172a 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.heading-display--enhanced.is-visible,
.section-header.reveal-up.active .heading-display--enhanced {
    opacity: 1;
    transform: translateY(0);
    animation: headingDisplayShine 6s ease-in-out infinite;
}

@keyframes headingDisplayShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@supports not (background-clip: text) {
    .heading-display--enhanced {
        color: var(--navy-text, #0f172a);
        background: none;
    }
}

/* Nav — selected item background highlight */
body.site-premium #navbar ul.site-nav-list > li > a.active,
body.site-premium #navbar .has-mega > a.active {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #1d4ed8 !important;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22);
}

body.site-premium #navbar ul.site-nav-list > li > a.active::after,
body.site-premium #navbar .has-mega > a.active::after {
    display: none !important;
}

body.site-premium #navbar .nav-cta a.active {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

/* Floating buttons — always fixed while scrolling */
.floating-buttons {
    position: fixed !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
    bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    top: auto !important;
    z-index: 9999 !important;
    transform: none !important;
    will-change: transform;
    pointer-events: none;
}

.floating-buttons .floating-btn {
    pointer-events: auto;
}

body.site-premium .floating-buttons {
    position: fixed !important;
    z-index: 9999 !important;
}

/* Footer — copyright flush to bottom */
html {
    margin: 0;
    padding: 0;
}

body.site-premium {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
}

body.site-premium footer.site-footer,
footer.site-footer {
    margin-bottom: 0 !important;
    padding: 0.4rem 0 0 !important;
}

body.site-premium .footer-content,
footer.site-footer .footer-content {
    padding-bottom: 0.1rem !important;
    margin-bottom: 0 !important;
}

body.site-premium .footer-bottom,
footer.site-footer .footer-bottom {
    padding: 0.08rem 0 0 !important;
    margin: 0 !important;
    border-top: none !important;
}

body.site-premium .footer-bottom p,
footer.site-footer .footer-bottom p {
    margin: 0 !important;
    padding: 0 0 0.05rem !important;
    line-height: 1.15 !important;
}

/* Founder — single outer card (no nested card) */
.founder-message-card.founder-message--lead {
    max-width: none;
    width: 100%;
    margin: 0 0 1rem 0;
    padding: 1.35rem 1.5rem;
    text-align: left;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12);
}

body.site-premium .founder-message-card .founder-message-inner {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.founder-message-card .founder-message-inner {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.founder-message-card .founder-message-content {
    text-align: left;
}

@media (max-width: 640px) {
    .founder-message-card .founder-message-inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .founder-message-card .founder-avatar {
        width: 72px;
        height: 72px;
    }
}

.team-about-section .team-capability-grid {
    margin-top: 0.25rem;
}

/* Remove mega-menu helper copy text */
.mega-footer p {
    display: none !important;
}

/* FAQ page — centered headers */
.page-header--faq .container {
    text-align: center;
}
.faq-page-content {
    max-width: var(--content-width);
    width: 100%;
    margin: 0 auto;
}
.faq-page-content .faq-section-header,
.faq-page-content .faq-section-header h2 {
    text-align: center;
}
.faq-page-content .faq-section-header {
    margin-top: 1.5rem;
}
.faq-page-content .faq-section-header:first-of-type {
    margin-top: 0;
}

/* Professional logo treatment in partners marquee */
.partner-logo {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.partner-logo img {
    object-fit: contain !important;
    padding: 10px !important;
    filter: saturate(1.02) contrast(1.03);
}
.partner-logo img:not([style*="display: none"]) + .partner-initials {
    opacity: 0;
}

.partner-logo--demo .partner-initials {
    position: relative;
    inset: auto;
    z-index: 1;
    opacity: 1;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.partner-logo--demo.partner-logo {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, rgba(37, 99, 235, 0.08) 100%) !important;
}

/* Subtle shooting stars + crackers under hero */
.hero-plain {
    position: relative;
    overflow: hidden;
}
.hero-plain::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 78%, rgba(255,255,255,0.35) 0 1.4px, transparent 1.5px),
        radial-gradient(circle at 64% 72%, rgba(255,255,255,0.28) 0 1px, transparent 1.1px),
        radial-gradient(circle at 82% 86%, rgba(255,255,255,0.24) 0 1.3px, transparent 1.4px);
    opacity: 0.55;
}
.hero-plain::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,0.42) 47%, transparent 50%) 18% 72% / 160px 160px no-repeat,
        linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,0.33) 47%, transparent 50%) 76% 64% / 180px 180px no-repeat,
        radial-gradient(circle at 72% 84%, rgba(250, 204, 21, 0.16) 0 5px, transparent 18px),
        radial-gradient(circle at 28% 88%, rgba(236, 72, 153, 0.14) 0 4px, transparent 16px);
    animation: heroShootingStars 12s linear infinite;
    opacity: 0.58;
}
@keyframes heroShootingStars {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(18px) translateY(8px); }
}

/* Modern user icon (always visible and interactive) */
.profile-trigger {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    position: relative;
}
.profile-trigger img.profile-icon {
    display: none !important;
}
.profile-trigger::after {
    content: '\f2bd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #1d4ed8, #3b82f6);
    border: 2px solid rgba(191, 219, 254, 0.8);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
}
.profile-trigger:hover::after {
    transform: translateY(-1px);
}

/* Hero pillar line — typewriter reveal + staggered pulse */
@keyframes heroTypeReveal {
    from { width: 0; }
    to { width: calc(var(--chars, 8) * 1ch); }
}

@keyframes heroDotType {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes heroPillarPulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    22% {
        transform: translateY(-9px) scale(1.02);
    }
    38% {
        transform: translateY(0) scale(1);
    }
    52% {
        transform: translateY(-5px) scale(1.01);
    }
    68% {
        transform: translateY(0) scale(1);
    }
}

.hero-plain .hero-title-animated {
    font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
    line-height: 1.22;
    gap: 0.15rem;
}

body.site-premium #hero.hero-plain .hero-title-animated {
    margin-bottom: 0.15rem !important;
}

.hero-plain .hero-title-animated .anim-grow,
.hero-plain .hero-title-animated .highlight {
    font-size: inherit;
}

.hero-plain .hero-seq-line .seq-item {
    opacity: 1;
    animation: none;
    transform: none;
}

.hero-plain .hero-seq-line .seq-item .highlight {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    vertical-align: bottom;
    border-right: none;
    animation: heroTypeReveal 0.55s steps(var(--chars, 8), end) forwards;
    animation-delay: calc(0.45s + var(--seq, 0) * 0.52s);
    animation-fill-mode: forwards;
}

.hero-plain .hero-seq-line .seq-dot,
.hero-plain .hero-seq-line .seq-dot--lead {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-plain .hero-seq-line .seq-item .highlight {
        width: auto;
        border-right: none;
        animation: none;
        opacity: 1;
    }
    .hero-plain .hero-seq-line .seq-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Profile icon — clickable, unified icon */
#userMenu {
    position: relative;
    z-index: 120;
}
.profile-trigger {
    cursor: pointer;
}
.user-menu.logged-in .profile-trigger::after {
    content: '\f2bd';
}

#teamLoginModal.active {
    z-index: 10050 !important;
}

/* Hero — sliding audience & mode lines */
.hero-ticker-group {
    width: 100%;
    max-width: 720px;
    margin: 0.35rem auto 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hero-ticker {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: max-content;
    animation: heroTickerSlide 22s linear infinite;
}

.hero-ticker-track--reverse {
    animation-name: heroTickerSlideReverse;
    animation-duration: 26s;
}

.hero-ticker-item {
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 2.2vw, 1.05rem);
    font-weight: 700;
    color: var(--navy-text);
    white-space: nowrap;
}

.hero-ticker--modes .hero-ticker-item {
    color: var(--secondary-color);
}

.hero-ticker-sep {
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
}

@keyframes heroTickerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes heroTickerSlideReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-ticker-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .hero-ticker {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* Card grids — prevent hover overlap on all sections */
body.site-premium .engagement-grid,
body.site-premium .stats-grid,
body.site-premium .services-grid,
body.site-premium .service-cards-grid,
body.site-premium .courses-grid,
body.site-premium .team-capability-grid,
body.site-premium .testimonials-grid,
body.site-premium .comparison-grid,
body.site-premium .value-grid,
body.site-premium .project-grid,
body.site-premium .hero-pillars {
    gap: clamp(1.15rem, 2vw, 1.55rem);
    padding: 0.65rem 0.25rem;
    overflow: visible;
}

body.site-premium .engagement-card,
body.site-premium .service-card,
body.site-premium .course-card,
body.site-premium .value-card,
body.site-premium .stat-card,
body.site-premium .testimonial-card,
body.site-premium .team-capability-card,
body.site-premium .comparison-card,
body.site-premium .contact-card,
body.site-premium .form-card,
body.site-premium .team-card,
body.site-premium .hero-pillar,
body.site-premium .partner-card,
body.site-premium .project-card,
body.site-premium .faq-item {
    isolation: isolate;
}

body.site-premium .service-card:hover,
body.site-premium .engagement-card:hover,
body.site-premium .course-card:hover,
body.site-premium .value-card:hover,
body.site-premium .testimonial-card:hover,
body.site-premium .stat-card:hover,
body.site-premium .contact-card:hover,
body.site-premium .form-card:hover,
body.site-premium .team-card:hover,
body.site-premium .hero-pillar:hover,
body.site-premium .comparison-card:hover,
body.site-premium .partner-card:hover,
body.site-premium .project-card:hover,
body.site-premium .faq-item:hover,
body.site-premium .team-capability-card:hover {
    transform: translateY(-6px) !important;
}

/* Long headers — right-to-left sliding text (>56 chars, applied via JS) */
.section-header--slide,
.page-header:has(.header-slide-host) {
    max-width: min(960px, 100%);
}

.header-slide-host {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.section-header h2.header-slide-host,
.page-header h1.header-slide-host {
    line-height: 1.2;
}

.header-slide-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.header-slide-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: headerSlideRTL var(--header-slide-duration, 28s) linear infinite;
}

.header-slide-text {
    white-space: nowrap;
    flex-shrink: 0;
}

.header-slide-sep {
    flex-shrink: 0;
    padding: 0 1.25rem;
    color: rgba(37, 99, 235, 0.35);
    font-size: 0.65em;
    user-select: none;
}

.section-header p.header-slide-host .header-slide-text {
    font-size: inherit;
    color: inherit;
}

.section-header h2.header-slide-host .header-slide-text {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.page-header h1.header-slide-host .header-slide-text {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

@keyframes headerSlideRTL {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.faq-section-header.header-slide-host,
.faq-section-header .header-slide-host {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .header-slide-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        transform: none;
    }

    .header-slide-wrap {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .header-slide-sep {
        display: none;
    }

    .header-slide-text[aria-hidden='true'] {
        display: none;
    }

    .header-slide-text {
        white-space: normal;
        text-align: center;
    }
}

/* =============================================================
   v19 — Finance label · user menu · hero tight · FAQ/book margins
   ============================================================= */

.user-dropdown {
    min-width: 188px;
    padding: 0.5rem 0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    z-index: 10060;
}

.user-dropdown-head {
    margin: 0;
    padding: 0.55rem 1rem 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.user-dropdown-item {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.user-dropdown-item[hidden] {
    display: none !important;
}

.user-dropdown-item--app {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.user-dropdown-item--app i {
    width: 1.15rem;
    text-align: center;
    color: var(--secondary-color);
}

.user-dropdown-item--app:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.user-dropdown-item--logout {
    color: #b91c1c;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 0.2rem;
    padding-top: 0.65rem;
}

.user-dropdown-item--logout:hover {
    background: rgba(185, 28, 28, 0.06);
    color: #991b1b;
}

#userMenu.is-open .profile-trigger::after {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 8px 18px rgba(37, 99, 235, 0.26);
}

/* Pillar tabs — unified Business-blue icons */
.services-page .pillar-tab[data-pillar] i {
    color: var(--pillar-business) !important;
}

.pillar-tab.active[data-pillar] i {
    color: #fff !important;
}

/* About — vertical sliding sub-nav */
.page-subnav--vslide {
    padding: 0.35rem 0 0.5rem;
}

.page-subnav--vslide .page-subnav-vslide-viewport {
    max-width: 220px;
    height: 2.65rem;
    margin: 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.page-subnav--vslide .page-subnav-vslide-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pageSubnavVSlide 14s ease-in-out infinite;
}

.page-subnav--vslide .page-subnav-link {
    flex-shrink: 0;
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    white-space: nowrap;
}

@keyframes pageSubnavVSlide {
    0%, 18% { transform: translateY(0); }
    25%, 43% { transform: translateY(-2.65rem); }
    50%, 68% { transform: translateY(-5.3rem); }
    75%, 93% { transform: translateY(-7.95rem); }
    100% { transform: translateY(-10.6rem); }
}

@media (prefers-reduced-motion: reduce) {
    .page-subnav--vslide .page-subnav-vslide-viewport {
        height: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .page-subnav--vslide .page-subnav-vslide-track {
        animation: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }
    .page-subnav--vslide .page-subnav-link[aria-hidden="true"] {
        display: none;
    }
}

/* Home hero — tighter vertical rhythm */
.hero-plain.hero-compact .hero-content {
    padding: 0.15rem 0.85rem 0.2rem !important;
}

.hero-plain.hero-compact .hero-title-animated {
    gap: 0.12rem;
    margin-bottom: 0.1rem;
}

.hero-plain.hero-compact .hero-seq-line {
    margin: 0.05rem 0;
}

.hero-plain .hero-ticker-group {
    margin: 0.02rem auto 0.08rem;
    gap: 0.12rem;
}

.hero-plain.hero-compact .hero-btns {
    margin: 0.1rem auto 0.12rem !important;
    gap: 0.35rem !important;
}

.hero-plain.hero-compact .audience-switcher {
    margin: 0.06rem auto 0.1rem !important;
    padding: 0.12rem !important;
}

.hero-plain.hero-compact .hero-pillars {
    margin-top: 0.1rem !important;
    gap: 0.3rem !important;
}

.hero-plain.hero-compact .hero-pillar {
    padding: 0.42rem 0.5rem !important;
}

/* FAQ & Book — improved side margins */
.page-main--content .page-header .container,
.page-main--content > .section-padding > .container:not(.services-stack),
.page-main--content .faq-page-content:not(.services-stack) {
    padding-left: clamp(1.15rem, 4.5vw, 2.25rem);
    padding-right: clamp(1.15rem, 4.5vw, 2.25rem);
}

.page-main--content .faq-page-content {
    max-width: var(--content-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-main--content .container--narrow {
    max-width: 720px;
    padding-left: clamp(1.15rem, 4.5vw, 2.25rem);
    padding-right: clamp(1.15rem, 4.5vw, 2.25rem);
}

.page-main--content > .section-padding {
    padding-left: clamp(0.5rem, 2vw, 1rem);
    padding-right: clamp(0.5rem, 2vw, 1rem);
}

/* =============================================================
   Global mobile safety layer (cross-page alignment/readability)
   ============================================================= */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    body.site-premium {
        --header-height: 52px;
    }

    /* Keep all containers inside viewport and improve left-right rhythm */
    .container,
    .container--narrow,
    .page-main--content .container--narrow,
    .page-main--content .faq-page-content:not(.services-stack) {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(0.5rem, 2.2vw, 0.65rem) !important;
        padding-right: clamp(0.5rem, 2.2vw, 0.65rem) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .section-padding,
    .page-main--content > .section-padding {
        padding-top: clamp(1.5rem, 5vw, 2.2rem);
        padding-bottom: clamp(1.5rem, 5vw, 2.2rem);
    }

    /* Prevent text clipping/overlap in cards, labels and nav items */
    h1, h2, h3, h4, h5, h6,
    p,
    span,
    a,
    li,
    .logo-name,
    .logo .logo-tag,
    .section-header p,
    .hero-ticker-item,
    .hero-pillars .hero-pillar span,
    .stat-card p,
    .project-card p,
    .testimonial-card p,
    .contact-card p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .logo-name,
    .logo .logo-tag,
    #navbar a,
    .hero-ticker-item,
    .btn {
        white-space: normal;
    }

    /* Keep CTA groups and action rows from colliding */
    .hero-btns,
    .cta-actions,
    .section-cta,
    .footer-content,
    .contact-actions,
    .profile-form-actions,
    .page-subnav,
    .page-subnav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        align-items: center;
        justify-content: center;
    }

    .hero-btns .btn,
    .cta-actions .btn,
    .section-cta .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Normalize grids to avoid compressed unreadable columns */
    .services-grid,
    .stats-grid,
    .project-grid,
    .engagement-grid,
    .comparison-grid,
    .team-grid,
    .values-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar/fixed controls should not cover content on mobile */
    .floating-buttons {
        right: 10px;
        bottom: 12px;
        gap: 6px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Ensure timeline and decorative absolute blocks don't overlap copy */
    .timeline::before,
    .timeline-item::before,
    .vertical-divider {
        display: none !important;
    }
}

@media (max-width: 480px) {
    :root {
        --body-font-size: 0.98rem;
        --small-font-size: 0.9rem;
    }

    h1 {
        font-size: clamp(1.45rem, 8vw, 1.85rem);
        line-height: 1.22;
    }

    h2 {
        font-size: clamp(1.25rem, 6.8vw, 1.6rem);
        line-height: 1.24;
    }

    p,
    .section-header p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    #navbar {
        padding-top: 3.1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #navbar a {
        font-size: 1rem;
        padding: 0.55rem 0.6rem;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .logo-name {
        font-size: 0.9rem;
    }

    .hero-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-pillars,
    .audience-switcher {
        gap: 0.35rem;
    }

    .hero-pillar,
    .audience-switcher button {
        width: 100%;
    }
}

/* =============================================================
   Final mobile fit pass (footer, page-header, services, logo)
   ============================================================= */
@media (max-width: 768px) {
    /* Top-left brand lockup: strict 3-line left alignment */
    .logo {
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left !important;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: center;
        min-width: 0;
        text-align: left !important;
        line-height: 1.06;
    }

    .logo-name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        white-space: normal !important;
        font-size: 0.9rem !important;
        line-height: 1.08;
        letter-spacing: -0.01em;
    }

    .logo-name .highlight {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 0.02rem;
    }

    .logo .logo-tag {
        display: block !important;
        white-space: normal !important;
        letter-spacing: 0.08em;
        font-size: 0.56rem !important;
        line-height: 1.2;
        margin-top: 0.08rem;
        text-align: left;
    }

    /* Tight page header below navbar on all inner pages */
    body.site-premium .site-main > .page-header:first-child,
    body.site-premium main > .page-header:first-child,
    body.site-premium .page-header.page-header--glow {
        padding-top: 0.12rem !important;
        padding-bottom: 0.18rem !important;
        margin-top: -0.05rem !important;
    }

    body.site-premium .page-header .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.site-premium .page-header h1 {
        margin-top: 0 !important;
        margin-bottom: 0.1rem !important;
        line-height: 1.13 !important;
    }

    body.site-premium .page-header p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.site-premium .page-header + .section-padding,
    body.site-premium .page-header + section,
    body.site-premium .page-header + #contact {
        padding-top: 0.35rem !important;
    }

    /* Services page mobile premium fit */
    .services-page .services-catalog.pillar-zone {
        padding-top: 0.45rem !important;
    }

    .services-page .services-filters-bar {
        gap: 0.45rem;
        padding: 0.55rem;
        border-radius: 14px;
    }

    .services-page .audience-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .services-page .audience-pill {
        width: 100%;
        min-height: 40px;
        font-size: 0.8rem;
        padding: 0.42rem 0.5rem;
    }

    .services-page .pillar-tab,
    .services-page .mode-tab {
        min-height: 40px;
        font-size: 0.8rem;
    }

    .services-page .pillar-panel {
        border-radius: 14px;
        padding: 0.65rem;
    }

    .services-page .pillar-panel-header {
        margin-bottom: 0.5rem;
    }

    .services-page .pillar-panel-header h3 {
        font-size: 1rem;
        line-height: 1.25;
    }

    .services-page .pillar-panel-header p {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 0;
    }

    .services-page .service-category {
        border-radius: 12px;
        margin-bottom: 0.55rem;
    }

    .services-page .category-title h3 {
        font-size: 0.92rem;
        line-height: 1.3;
    }

    .services-page .service-select-card {
        padding: 0.62rem 0.68rem;
        min-height: 42px;
        border-radius: 10px;
        font-size: 0.82rem;
        line-height: 1.32;
        text-align: left;
    }

    /* Footer: centered brand + tagline on mobile */
    body.site-premium footer.site-footer,
    footer.site-footer {
        padding-top: 0.75rem !important;
    }

    footer.site-footer .footer-inner {
        padding-left: clamp(1rem, 4.5vw, 1.25rem) !important;
        padding-right: clamp(1rem, 4.5vw, 1.25rem) !important;
    }

    footer.site-footer .footer-top {
        justify-items: center !important;
        text-align: center !important;
        row-gap: 0.55rem !important;
    }

    footer.site-footer .footer-col--brand,
    footer.site-footer .footer-col--brand h3,
    footer.site-footer .footer-col--brand .footer-tagline,
    footer.site-footer .footer-nav,
    footer.site-footer .footer-nav ul,
    footer.site-footer .footer-nav a,
    footer.site-footer .footer-col--social,
    footer.site-footer .footer-col--social h4 {
        text-align: center !important;
        justify-self: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    footer.site-footer .footer-col--brand h3 {
        display: block;
        width: 100%;
        max-width: 20rem;
        line-height: 1.28;
    }

    footer.site-footer .footer-col--brand h3 .highlight {
        display: inline;
    }

    footer.site-footer .footer-tagline {
        display: block;
        width: 100%;
        max-width: 18rem;
        margin: 0.1rem auto 0 !important;
        text-align: center !important;
        letter-spacing: 0.04em;
    }

    footer.site-footer .social-links {
        justify-content: center !important;
    }

    footer.site-footer .footer-bottom,
    footer.site-footer .footer-bottom p {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.74rem !important;
    }

    .logo-name {
        font-size: 0.84rem !important;
        line-height: 1.08;
    }

    .logo .logo-tag {
        font-size: 0.52rem !important;
        letter-spacing: 0.06em;
    }

    .services-page .services-filters-bar {
        padding: 0.48rem;
    }

    .services-page .service-select-card {
        font-size: 0.8rem;
    }
}

/* =============================================================
   Global background refresh — uniform rainbow premium energy
   ============================================================= */
@keyframes premiumRainbowFlow {
    0% {
        background-position: 8% 18%, 88% 14%, 52% 88%, 50% 50%;
        transform: scale(1);
        filter: hue-rotate(0deg) saturate(120%);
    }
    50% {
        background-position: 2% 12%, 94% 10%, 50% 94%, 50% 50%;
        transform: scale(1.045);
        filter: hue-rotate(24deg) saturate(132%);
    }
    100% {
        background-position: 8% 18%, 88% 14%, 52% 88%, 50% 50%;
        transform: scale(1);
        filter: hue-rotate(0deg) saturate(120%);
    }
}

body.site-premium {
    background: #eef2ff !important;
    background-image: none !important;
    position: relative;
    isolation: isolate;
}

body.site-premium::before {
    content: "";
    position: fixed;
    inset: -18vmax;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(140% 110% at -12% -10%, rgba(255, 72, 153, 0.42), transparent 60%),
        radial-gradient(140% 110% at 112% -12%, rgba(99, 102, 241, 0.4), transparent 60%),
        radial-gradient(138% 112% at 50% 116%, rgba(14, 165, 233, 0.34), transparent 62%),
        linear-gradient(128deg, #ffedd5 0%, #ffe4e6 16%, #ede9fe 33%, #dbeafe 49%, #dcfce7 66%, #fef3c7 82%, #ffe4e6 100%);
    background-size: 185% 185%, 185% 185%, 185% 185%, 240% 240%;
    background-repeat: no-repeat;
    animation: premiumRainbowFlow 20s ease-in-out infinite;
    opacity: 1;
}

body.site-premium::after {
    content: "";
    position: fixed;
    inset: -12vmax;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(75% 58% at 22% 34%, rgba(255, 255, 255, 0.22), transparent 74%),
        radial-gradient(70% 55% at 78% 70%, rgba(255, 255, 255, 0.2), transparent 74%),
        radial-gradient(100% 80% at 50% 50%, rgba(255, 255, 255, 0.08), transparent 78%);
    mix-blend-mode: soft-light;
}

@media (max-width: 768px) {
    body.site-premium::before {
        inset: -22vmax;
        background-size: 205% 205%, 205% 205%, 205% 205%, 270% 270%;
        animation-duration: 16s;
    }

    /* Mobile footer — stacked compact */
    body.site-premium .footer-inner,
    footer.site-footer .footer-inner,
    body.site-premium .footer-content,
    footer.site-footer .footer-content {
        padding: 0 !important;
    }

    /* Services page: very tight side margins (see also end-of-file override) */
    .services-page .container,
    .services-page .services-stack {
        padding-left: clamp(0.2rem, 1.2vw, 0.32rem) !important;
        padding-right: clamp(0.2rem, 1.2vw, 0.32rem) !important;
    }

    .services-page .services-catalog.pillar-zone {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .services-page .services-filters-bar {
        padding: 0.35rem !important;
        gap: 0.35rem !important;
        margin-bottom: 0.4rem !important;
    }

    .services-page .pillar-panel {
        padding: 0.35rem !important;
        border-radius: 10px !important;
    }

    .services-page .service-category {
        margin-bottom: 0.35rem !important;
    }

    .services-page .category-header {
        padding: 0.45rem 0.32rem !important;
    }

    .services-page .category-body .service-cards-grid,
    .services-page .service-cards-grid {
        gap: 0.32rem !important;
        padding: 0.32rem !important;
    }

    .services-page .service-select-card {
        padding: 0.5rem 0.32rem !important;
        min-height: 40px;
        border-radius: 8px !important;
    }

    /* Mobile details text sizing: 12.6px */
    .services-page .pillar-panel-header p,
    .services-page .service-select-card,
    .services-page .course-card p,
    .services-page .pricing-note,
    .services-page .selection-hint,
    .services-page .category-title h3 {
        font-size: 12.6px !important;
        line-height: 1.42;
    }
}

/* Header text styling across pages: Title Case look */
body.site-premium .section-header h2,
body.site-premium .page-header h1 {
    text-transform: capitalize;
}

/* =============================================================
   Final hero/nav/menu premium fit overrides
   ============================================================= */
/* Tight hero spacing under navbar for all devices */
body.site-premium #hero.hero-plain.hero-compact,
body.site-premium #hero.hero-plain,
body.site-premium #hero {
    margin-top: 0 !important;
    padding-top: clamp(0.12rem, 0.8vw, 0.4rem) !important;
    padding-bottom: 0 !important;
}

body.site-premium #hero .hero-content {
    padding-top: clamp(0.08rem, 0.5vw, 0.25rem) !important;
    padding-bottom: 0.1rem !important;
}

body.site-premium #hero + .trust-strip,
body.site-premium .hero-compact + .trust-strip,
body.site-premium #hero .hero-btns + .trust-strip,
.hero-compact .hero-btns + .trust-strip {
    margin-top: 0.12rem !important;
    margin-bottom: 0.2rem !important;
    padding: 0.32rem 0.85rem !important;
}

body.site-premium #hero .hero-btns,
.hero-compact .hero-btns {
    margin-bottom: 0.1rem !important;
}

body.site-premium #hero .audience-switcher {
    margin-top: 0.25rem !important;
}

@media (max-width: 968px) {
    /* Premium mobile menu — slides in below fixed header bar */
    body.site-premium #navbar {
        top: var(--mobile-header-h, 56px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: calc(100dvh - var(--mobile-header-h, 56px)) !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(37, 99, 235, 0.12) !important;
        box-shadow: -6px 0 28px rgba(15, 23, 42, 0.1) !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,250,252,0.96) 100%) !important;
        padding: 0.75rem 0.65rem 0.85rem !important;
        overflow-y: auto;
    }

    body.site-premium #navbar .navbar-mobile-brand {
        display: none !important;
    }

    body.site-premium #navbar ul.site-nav-list {
        max-width: 100% !important;
        gap: 0.4rem !important;
    }

    body.site-premium #navbar ul.site-nav-list > li > a,
    body.site-premium #navbar .has-mega > a {
        min-height: 42px;
        padding: 0.62rem 0.85rem !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    body.site-premium #navbar .nav-cta a {
        min-height: 44px;
        margin-top: 0.2rem;
        border-radius: 13px !important;
        padding: 0.72rem 0.9rem !important;
    }

    /* Smaller top-right profile icon with filled logo state */
    body.site-premium .user-menu {
        margin-right: 0.12rem !important;
    }

    body.site-premium .profile-trigger {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        border: none !important;
    }

    body.site-premium .profile-trigger img.profile-icon {
        display: none !important;
    }

    body.site-premium .profile-trigger::after {
        content: '\f2bd' !important;
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.82rem !important;
        color: #ffffff !important;
        background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
        border: 1px solid rgba(147, 197, 253, 0.95);
        border-radius: 10px !important;
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero block spacing in mobile: tight from nav and below */
    body.site-premium #hero.hero-plain.hero-compact,
    body.site-premium #hero.hero-plain {
        padding-top: 0.08rem !important;
        padding-bottom: 0.38rem !important;
    }

    body.site-premium .hero-plain.hero-compact .hero-content {
        padding-top: 0.05rem !important;
        padding-bottom: 0.12rem !important;
    }

    body.site-premium .hero-plain .hero-ticker-group {
        margin: 0.08rem auto 0.18rem !important;
    }

    body.site-premium .hero-plain.hero-compact .hero-btns {
        margin: 0.14rem auto 0.18rem !important;
    }

    body.site-premium .hero-plain.hero-compact .audience-switcher {
        margin: 0.1rem auto 0.14rem !important;
    }
}

/* =============================================================
   Stability + readability hardening
   ============================================================= */
/* Ensure close icon is visible when mobile nav is open */
@media (max-width: 968px) {
    #navbar.active ~ .mobile-toggle i::before {
        content: "\f00d" !important;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    .mobile-toggle i {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }
}

/* Services page: prevent text overlap/cutoff */
.services-page .pillar-panel,
.services-page .service-category,
.services-page .category-body,
.services-page .service-cards-grid {
    overflow: visible !important;
}

.services-page .service-select-card,
.services-page .pillar-panel-header p,
.services-page .category-title,
.services-page .category-title h3 {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-overflow: clip !important;
    height: auto;
}

.services-page .service-select-card {
    line-height: 1.4;
    align-items: flex-start;
    padding: 0.72rem 0.9rem 0.72rem 0.78rem;
    border-left: 3px solid rgba(37, 99, 235, 0.34);
}

.services-page .category-body .service-cards-grid {
    padding-left: 0.55rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

/* Global performance mode to reduce lag/sluggish scrolling */
body.perf-optimized {
    background-attachment: scroll !important;
}

body.perf-optimized::before {
    animation: none !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
    filter: none !important;
    transform: none !important;
    inset: 0 !important;
}

body.perf-optimized::after {
    mix-blend-mode: normal !important;
    opacity: 0.65 !important;
}

body.perf-optimized .hero-plain::after,
body.perf-optimized .hero-ticker-track,
body.perf-optimized .partners-marquee:not(.partners-marquee--snap) .partners-track,
body.perf-optimized .testimonial-marquee .testimonial-track,
body.perf-optimized .heading-display--enhanced::after,
body.perf-optimized .header-slide-track,
body.perf-optimized .page-subnav--vslide .page-subnav-vslide-track {
    animation: none !important;
}

body.perf-optimized .partners-marquee--snap .partners-marquee-viewport {
    will-change: auto;
}

body.perf-optimized .hero-seq-line .seq-item,
body.perf-optimized .hero-plain .hero-seq-line .seq-item .highlight {
    animation: none !important;
    opacity: 1;
    transform: none;
    width: auto;
    border-right: none;
}

body.perf-optimized .site-panel,
body.perf-optimized .hero-content,
body.perf-optimized #navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Book page header — centered title & subtitle (all viewports) */
body.book-page .page-header,
body.book-page .page-header.page-header--glow,
body.book-page .page-header.page-header--book {
    overflow: visible !important;
    text-align: center !important;
}

body.site-premium.book-page .page-header,
body.site-premium.book-page .page-header.page-header--glow {
    overflow: visible !important;
}

body.book-page .page-header .container,
body.book-page .page-header.page-header--book .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--content-width, 1160px);
    margin-left: auto;
    margin-right: auto;
}

body.book-page .page-header h1,
body.book-page .page-header p,
body.book-page .page-header.page-header--book h1,
body.book-page .page-header.page-header--book p {
    text-align: center !important;
    width: 100%;
    max-width: 34rem;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    text-overflow: clip;
}

body.book-page .page-header p,
body.book-page .page-header.page-header--book p {
    line-height: 1.5;
    max-width: 36rem;
}

body.book-page .page-main--content > .section-padding {
    padding-left: 0;
    padding-right: 0;
}

main.faq-page .faq-page-content,
body.book-page .page-main--content > .section-padding > .container.services-stack {
    max-width: var(--content-width) !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

main.faq-page .faq-list,
body.book-page .booking-shell {
    max-width: 100% !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

main.faq-page .faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
}

body.book-page .booking-shell {
    box-sizing: border-box;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow), 0 2px 0 rgba(37, 99, 235, 0.04);
    padding: 1.25rem 1.15rem;
}

/* Continuous sliding sentence (all devices) */
@keyframes alwaysSlideText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.always-slide-text {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    max-width: 100%;
}

.always-slide-text > span {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: alwaysSlideText 20s linear infinite;
}

/* Mobile polish: tighter filter/audience boxes + smaller floating icons */
@media (max-width: 768px) {
    .audience-switcher {
        margin: 0.08rem 0.35rem 0.14rem !important;
        padding: 0.2rem !important;
        border-radius: 18px !important;
        gap: 0.3rem !important;
    }

    .audience-switcher button {
        border-radius: 13px !important;
        min-height: 36px;
        padding: 0.42rem 0.45rem !important;
    }

    .services-page .services-filters-bar {
        margin-left: 0.2rem;
        margin-right: 0.2rem;
        padding: 0.36rem !important;
        border-radius: 14px !important;
    }

    .services-page .audience-row {
        gap: 0.28rem !important;
    }

    .services-page .audience-pill {
        border-radius: 13px !important;
        padding: 0.38rem 0.4rem !important;
        min-height: 36px !important;
    }

    .floating-buttons {
        right: 8px !important;
        bottom: 10px !important;
        gap: 5px !important;
    }

    .floating-buttons .floating-btn,
    .floating-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.75rem !important;
    }

    .floating-buttons .floating-btn i,
    .floating-btn i {
        font-size: 0.78rem !important;
    }
}

/* =============================================================
   Flush nav top + tight hero CTA / trust strip (all pages)
   ============================================================= */
html,
body.site-premium {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
}

body.site-premium header#header,
body.site-premium header.site-header,
header#header,
header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1000 !important;
}

body.site-premium main,
body.site-premium .site-main,
main.site-main,
main {
    margin-top: 0 !important;
    padding-top: 56px !important;
}

@media (max-width: 768px) {
    body.site-premium main,
    body.site-premium .site-main,
    main.site-main,
    main {
        padding-top: 52px !important;
    }

    body.site-premium {
        --hero-row-gap: clamp(0.62rem, 2.8vw, 0.85rem);
        --hero-row-inner-gap: 0.28rem;
    }

    #hero .hero-rows {
        margin-top: 0.25rem;
    }

    #hero .hero-row--trust .trust-strip {
        padding: 0.32rem 0.65rem !important;
        font-size: 0.72rem !important;
    }
}

body.site-premium #hero.hero-plain.hero-compact,
body.site-premium #hero.hero-plain,
body.site-premium #hero {
    margin-top: 0 !important;
    padding-top: 0.15rem !important;
}

body.site-premium #hero .hero-content {
    padding-top: 0 !important;
}

body.site-premium #hero .hero-content .trust-strip {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

/* Hero — 3 equal-spaced rows: CTA+trust · audience · pillars */
body.site-premium {
    --hero-row-gap: clamp(0.72rem, 2.2vw, 1rem);
    --hero-row-inner-gap: clamp(0.32rem, 1vw, 0.48rem);
}

#hero .hero-rows {
    display: flex;
    flex-direction: column;
    gap: var(--hero-row-gap);
    width: 100%;
    max-width: 920px;
    margin: 0.15rem auto 0;
}

#hero .hero-row {
    width: 100%;
    margin: 0;
    padding: 0;
}

#hero .hero-row--trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hero-row-inner-gap);
    margin-bottom: 0;
}

#hero .hero-row--trust .hero-btns,
#hero .hero-row--trust .trust-strip,
#hero .hero-row--audience .audience-switcher,
#hero .hero-row--pillars .hero-pillars {
    margin: 0 !important;
}

#hero .hero-row--audience {
    display: flex;
    justify-content: center;
}

#hero .hero-row--audience .audience-switcher {
    margin-left: auto !important;
    margin-right: auto !important;
}

#hero .hero-row--pillars .hero-pillars {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}

#hero .hero-row--trust .trust-strip {
    padding: 0.38rem 0.85rem !important;
    gap: 0.4rem 0.9rem !important;
    font-size: 0.78rem !important;
}

#hero .hero-row--trust .hero-btns {
    gap: 0.55rem !important;
}

body.site-premium #hero.hero-plain.hero-compact,
body.site-premium #hero.hero-plain,
body.site-premium #hero {
    padding-bottom: 0 !important;
}

body.site-premium .site-main--home > #hero + #pillars-overview {
    padding-top: var(--home-section-gap) !important;
}

/* =============================================================
   Home page — equal vertical rhythm between all sections
   (single-gap model: one padding-top between sections, no double stack)
   ============================================================= */
body.site-premium .site-main--home {
    --home-section-gap: clamp(0.5rem, 1.2vw, 0.85rem);
    --home-block-gap: clamp(0.45rem, 1vw, 0.65rem);
}

body.site-premium .site-main--home > section {
    padding-top: var(--home-section-gap) !important;
    padding-bottom: 0 !important;
}

body.site-premium .site-main--home > section:last-of-type {
    padding-bottom: var(--home-section-gap) !important;
}

body.site-premium .site-main--home > #hero {
    padding-top: clamp(0.12rem, 0.8vw, 0.35rem) !important;
    padding-bottom: 0 !important;
}

body.site-premium .site-main--home > #stats .section-header,
body.site-premium .site-main--home > #pillars-overview .section-header,
body.site-premium .site-main--home > #projects .section-header,
body.site-premium .site-main--home > #testimonials .section-header {
    margin-bottom: var(--home-block-gap) !important;
}

body.site-premium .site-main--home .stats-grid,
body.site-premium .site-main--home .project-grid,
body.site-premium .site-main--home .pillars-project-grid,
body.site-premium .site-main--home .hero-pillars {
    gap: var(--home-block-gap) !important;
}

body.site-premium .site-main--home #hero-picks .hero-row--audience {
    margin-bottom: var(--home-block-gap) !important;
}

@media (max-width: 640px) {
    .hero-seq-line {
        gap: 0.25rem clamp(0.45rem, 2.5vw, 0.85rem);
    }
}

body.site-premium .site-main--home .hero-row + .hero-row {
    margin-top: var(--home-block-gap) !important;
}

body.site-premium .site-main--home .section-header {
    margin-bottom: 0.55rem !important;
}

body.site-premium .site-main--home .section-header h2 {
    margin-bottom: 0.2rem !important;
}

body.site-premium .site-main--home .section-header p {
    margin-top: 0.1rem !important;
    margin-bottom: 0 !important;
}

body.site-premium .site-main--home .section-cta--catalog {
    text-align: center;
    margin-top: 0.55rem;
    margin-bottom: 0;
}

body.site-premium .site-main--home .section-cta .btn + .btn {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    body.site-premium .site-main--home {
        --home-section-gap: 0.5rem;
        --home-block-gap: 0.45rem;
    }

    body.site-premium #hero.hero-plain .hero-title-animated,
    .hero-plain .hero-title-animated {
        font-size: inherit !important;
        line-height: 1.22;
        gap: 0.18rem;
    }

    .hero-plain .hero-title-animated .hero-line {
        display: block !important;
        width: 100%;
    }

    .hero-plain .hero-title-animated .anim-grow {
        font-size: clamp(1.32rem, 5.4vw, 1.62rem) !important;
        line-height: 1.15;
    }

    #hero .hero-rows {
        margin-top: 0.1rem;
    }

    body.site-premium .site-main--home .section-cta--catalog .btn {
        display: inline-flex;
        margin: 0.25rem 0.2rem;
    }
}

/* =============================================================
   Unified shell — body + footer share one positive-energy field
   ============================================================= */
body.site-premium {
    background: var(--shell-bg) !important;
    background-image:
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(255, 255, 255, 0.5), transparent 55%),
        linear-gradient(180deg, #eef2f8 0%, #e8edf5 50%, #e4eaf3 100%) !important;
}

body.site-premium::before,
body.site-premium::after {
    display: block !important;
}

body.site-premium footer,
body.site-premium footer.site-footer,
footer.site-footer {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border-top: none !important;
}

body.site-premium footer.site-footer::before,
body.site-premium footer.site-footer::after,
footer.site-footer::before,
footer.site-footer::after {
    display: none !important;
    content: none !important;
}

/* =============================================================
   Footer — premium compact shell
   ============================================================= */
body.site-premium footer.site-footer,
footer.site-footer {
    padding: 0.55rem 0 0.28rem !important;
    margin: 0 !important;
}

footer.site-footer .footer-inner,
footer.site-footer .footer-content {
    max-width: var(--content-width, 1160px);
    margin: 0 auto;
    padding: 0 !important;
}

footer.site-footer .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0.75rem, 2.5vw, 1.5rem);
    row-gap: 0;
}

footer.site-footer .footer-col--brand {
    justify-self: start;
    text-align: left;
    min-width: 0;
}

footer.site-footer .footer-nav {
    justify-self: center;
    text-align: center;
    padding: 0;
    margin: 0;
}

footer.site-footer .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 1.15rem;
}

footer.site-footer .footer-nav li {
    margin: 0;
}

footer.site-footer .footer-nav a {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.2;
    color: var(--navy-muted, #64748b);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

footer.site-footer .footer-nav a:hover {
    color: #2563eb;
}

footer.site-footer .footer-col--social {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.28rem;
    min-width: 0;
}

/* Laptop / desktop — Follow Us centered above social icons */
@media (min-width: 901px) {
    footer.site-footer .footer-col--social {
        align-items: center;
        text-align: center;
    }

    footer.site-footer .footer-col--social h4 {
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    footer.site-footer .footer-col--social .social-links {
        justify-content: center;
        width: 100%;
    }
}

footer.site-footer .footer-col h3 {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.12rem;
    color: var(--navy-text, #0f172a);
}

footer.site-footer .footer-col h3 .highlight {
    font-weight: 800;
}

footer.site-footer .footer-col h4 {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    color: var(--navy-text, #0f172a);
}

footer.site-footer .footer-tagline {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--navy-muted, #64748b);
    margin: 0;
    letter-spacing: 0.02em;
}

footer.site-footer .social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    margin: 0;
}

footer.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: #475569;
    font-size: 0.78rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

footer.site-footer .social-links a:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.28);
    background: #fff;
    transform: translateY(-1px);
    padding-left: 0 !important;
}

footer.site-footer .footer-bottom {
    text-align: center;
    width: 100%;
    padding: 0.32rem 0 0 !important;
    margin: 0.28rem 0 0 !important;
    border-top: none !important;
}

footer.site-footer .footer-bottom p {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #94a3b8;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 900px) {
    footer.site-footer .footer-top {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 0.45rem;
        text-align: center;
    }

    footer.site-footer .footer-col--brand,
    footer.site-footer .footer-nav,
    footer.site-footer .footer-col--social {
        justify-self: center;
        text-align: center;
        align-items: center;
    }

    footer.site-footer .footer-col--social {
        align-items: center;
    }

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

    footer.site-footer .footer-nav ul {
        flex-direction: column;
        gap: 0.22rem;
    }

    footer.site-footer .footer-bottom {
        margin-top: 0.22rem !important;
        padding-top: 0.22rem !important;
    }
}

/* =============================================================
   Mobile premium UI — all pages (final overrides)
   ============================================================= */
@media (max-width: 768px) {
    body.site-premium .site-main > section,
    body.site-premium main > section {
        scroll-margin-top: calc(var(--header-height, 52px) + 8px);
    }

    body.site-premium .section-header {
        text-align: center;
        margin-bottom: 1rem;
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    body.site-premium .section-header h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.65rem);
        line-height: 1.22;
    }

    body.site-premium .section-header p {
        font-size: 0.92rem;
        line-height: 1.55;
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }

    body.site-premium .page-header {
        text-align: center;
    }

    body.site-premium .page-header .container {
        padding-left: clamp(0.5rem, 2.2vw, 0.65rem) !important;
        padding-right: clamp(0.5rem, 2.2vw, 0.65rem) !important;
    }

    body.site-premium .page-header h1 {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        line-height: 1.2;
    }

    body.site-premium .page-header p {
        font-size: 0.92rem;
        line-height: 1.5;
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
    }

    /* Premium card surfaces */
    body.site-premium .value-card,
    body.site-premium .project-card,
    body.site-premium .testimonial-card,
    body.site-premium .contact-card,
    body.site-premium .team-card,
    body.site-premium .stat-card,
    body.site-premium .comparison-card,
    body.site-premium .engagement-card,
    body.site-premium .course-card,
    body.site-premium .faq-item,
    body.site-premium .founder-message-card {
        border-radius: 16px !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(37, 99, 235, 0.07) !important;
    }

    body.site-premium .btn {
        min-height: 44px;
        border-radius: 12px;
        padding: 0.62rem 1.1rem;
    }

    /* Services — single-column cards with breathing room */
    .services-page .service-cards-grid {
        gap: 0.55rem !important;
    }

    .services-page .service-select-card {
        width: 100%;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }

    .services-page .service-category {
        overflow: hidden;
    }

    .services-page .course-grid,
    .services-page .pricing-cards {
        gap: 0.65rem !important;
    }

    /* Footer brand lockup — centered stack */
    footer.site-footer .footer-col--brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 0.25rem;
    }

    footer.site-footer .footer-col--brand h3 {
        text-wrap: balance;
    }

    footer.site-footer .footer-nav ul {
        align-items: center;
    }

    footer.site-footer .footer-bottom p {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
    }
}

@media (max-width: 480px) {
    .services-page .audience-pill,
    .services-page .pillar-tab,
    .services-page .mode-tab {
        font-size: 0.78rem;
    }

    footer.site-footer .footer-col--brand h3 {
        font-size: 0.92rem;
    }

    footer.site-footer .footer-tagline {
        font-size: 0.72rem;
    }
}

/* =============================================================
   Mobile performance & smooth scrolling (all pages)
   ============================================================= */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

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

    body.site-premium::before,
    body.site-premium::after {
        animation: none !important;
        filter: none !important;
        transform: none !important;
    }

    body.site-premium::before {
        inset: 0 !important;
        background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
    }

    body.site-premium .site-main > section:not(#hero),
    body.site-premium main > section:not(#hero) {
        content-visibility: auto;
        contain-intrinsic-size: auto 420px;
    }

    body.site-premium .reveal-up,
    body.perf-optimized .reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    body.site-premium .value-card:hover,
    body.site-premium .project-card:hover,
    body.site-premium .team-card:hover,
    body.site-premium .testimonial-card:hover,
    body.site-premium .partner-card:hover {
        transform: none;
    }

    body.site-premium * {
        -webkit-tap-highlight-color: transparent;
    }

    .partners-marquee--snap .partner-card {
        padding: 1.2rem 1.1rem;
    }

    .partners-marquee--snap .partner-logo {
        width: 68px;
        height: 68px;
    }

    #partners .section-header {
        margin-bottom: 0.65rem;
    }

    #partners .partners-grid--five .partner-card {
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    }

    #partners .partners-grid--five .partner-name {
        font-family: var(--font-app);
        font-weight: 600;
    }
}

/* =============================================================
   Mobile — tight gutters for all cards (global)
   ============================================================= */
@media (max-width: 768px) {
    body.site-premium .value-card,
    body.site-premium .project-card,
    body.site-premium .testimonial-card,
    body.site-premium .contact-card,
    body.site-premium .team-card,
    body.site-premium .stat-card,
    body.site-premium .comparison-card,
    body.site-premium .engagement-card,
    body.site-premium .course-card,
    body.site-premium .faq-item,
    body.site-premium .founder-message-card,
    body.site-premium .partner-card,
    body.site-premium .service-category,
    body.site-premium .booking-shell,
    body.site-premium .pillar-panel,
    body.site-premium .services-filters-bar {
        margin-left: 0;
        margin-right: 0;
    }

    body.site-premium .value-card,
    body.site-premium .project-card,
    body.site-premium .testimonial-card,
    body.site-premium .contact-card,
    body.site-premium .team-card,
    body.site-premium .stat-card,
    body.site-premium .comparison-card,
    body.site-premium .engagement-card,
    body.site-premium .course-card {
        padding: 0.85rem 0.6rem;
    }

    body.site-premium .page-main--content .page-header .container,
    body.site-premium .page-main--content > .section-padding > .container:not(.services-stack),
    body.site-premium .page-main--content .faq-page-content:not(.services-stack),
    body.site-premium .page-main--content .container--narrow {
        padding-left: clamp(0.5rem, 2.2vw, 0.65rem) !important;
        padding-right: clamp(0.5rem, 2.2vw, 0.65rem) !important;
    }

    body.site-premium .page-main--content > .section-padding {
        padding-left: clamp(0.35rem, 1.5vw, 0.5rem);
        padding-right: clamp(0.35rem, 1.5vw, 0.5rem);
    }

    .services-page .pillar-panel-header {
        padding-left: 0;
        padding-right: 0;
    }

    .services-page .mode-tabs {
        padding-left: 0;
        padding-right: 0;
        gap: 0.3rem;
    }
}

/* =============================================================
   Services page — ultra-tight mobile gutters (final override)
   ============================================================= */
@media (max-width: 768px) {
    body.services-page {
        --services-gutter: clamp(0.18rem, 1.1vw, 0.3rem);
    }

    body.services-page .page-header,
    body.services-page .page-header .container {
        text-align: center;
        overflow: visible;
    }

    body.services-page .page-header h1,
    body.services-page .page-header p {
        text-align: center !important;
        max-width: 100%;
        padding-left: 0.1rem;
        padding-right: 0.1rem;
        overflow-wrap: break-word;
    }

    body.services-page .page-header .container,
    body.services-page main .container,
    body.services-page .container,
    body.services-page .container.services-stack,
    body.services-page .services-stack {
        padding-left: var(--services-gutter) !important;
        padding-right: var(--services-gutter) !important;
        max-width: 100% !important;
    }

    body.services-page .page-header + .section-padding,
    body.services-page .services-catalog.pillar-zone,
    body.services-page #catalog.section-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.services-page .services-filters-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.3rem var(--services-gutter) !important;
        border-radius: 10px;
    }

    body.services-page .services-filters-bar .audience-row {
        padding: 0.25rem !important;
        gap: 0.28rem !important;
        margin: 0 !important;
    }

    body.services-page .services-filters-bar .audience-pill,
    body.services-page .pillar-tab {
        padding: 0.4rem 0.35rem !important;
        font-size: 0.76rem;
    }

    body.services-page .pillar-tabs {
        padding: 0.2rem !important;
        gap: 0.28rem !important;
    }

    body.services-page .pillar-panel {
        padding: 0.3rem var(--services-gutter) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.services-page .pillar-panel-header {
        padding: 0 0 0.35rem !important;
        margin-bottom: 0.35rem !important;
    }

    body.services-page .mode-tabs {
        gap: 0.28rem !important;
        margin-bottom: 0.35rem !important;
    }

    body.services-page .mode-tab {
        padding: 0.38rem 0.45rem !important;
        font-size: 0.76rem;
    }

    body.services-page .service-category {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0.32rem !important;
        border-radius: 10px !important;
    }

    body.services-page .category-header {
        padding: 0.4rem 0.3rem !important;
    }

    body.services-page .category-body,
    body.services-page .category-body .service-cards-grid,
    body.services-page .service-cards-grid {
        padding-left: 0.1rem !important;
        padding-right: 0.32rem !important;
        padding-top: 0.28rem !important;
        padding-bottom: 0.35rem !important;
        gap: 0.28rem !important;
    }

    body.services-page .service-select-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.52rem 0.45rem 0.52rem 0.65rem !important;
        border-radius: 8px !important;
        border-left: 3px solid rgba(37, 99, 235, 0.38) !important;
        box-sizing: border-box;
        line-height: 1.38 !important;
        letter-spacing: 0.01em;
    }

    body.services-page .selection-panel--inline,
    body.services-page .selection-panel.selection-panel--inline {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: var(--services-gutter) !important;
        padding-right: var(--services-gutter) !important;
    }

    body.services-page .section-cta-services,
    body.services-page .cta-services-inner {
        padding-left: var(--services-gutter) !important;
        padding-right: var(--services-gutter) !important;
    }

    body.services-page #training .section-header,
    body.services-page #pricing .section-header,
    body.services-page .course-grid,
    body.services-page .pricing-cards {
        padding-left: var(--services-gutter) !important;
        padding-right: var(--services-gutter) !important;
    }
}

/* =============================================================
   Premium typography — all pages, all devices
   Inter (UI/body) + Plus Jakarta Sans (headings)
   ============================================================= */
body.site-premium,
body.site-premium button,
body.site-premium input,
body.site-premium select,
body.site-premium textarea {
    font-family: var(--font-ui);
}

body.site-premium h1,
body.site-premium h2,
body.site-premium h3,
body.site-premium h4,
body.site-premium h5,
body.site-premium h6,
body.site-premium .section-header h2,
body.site-premium .page-header h1,
body.site-premium .logo-name,
body.site-premium .navbar-mobile-brand-name {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.028em;
}

body.site-premium p,
body.site-premium li,
body.site-premium label,
body.site-premium .section-header p,
body.site-premium .page-header p,
body.site-premium .team-role,
body.site-premium .footer-tagline,
body.site-premium .booking-step-status,
body.site-premium .booking-summary,
body.site-premium .faq-answer,
body.site-premium .contact-card p {
    font-family: var(--font-ui);
    font-weight: 400;
    letter-spacing: -0.01em;
}

body.site-premium .btn,
body.site-premium #navbar a,
body.site-premium .booking-option,
body.site-premium .audience-pill,
body.site-premium .pillar-tab,
body.site-premium .mode-tab,
body.site-premium .service-select-card,
body.site-premium .footer-nav a {
    font-family: var(--font-ui);
    font-weight: 500;
    letter-spacing: -0.008em;
}

body.site-premium .btn-primary,
body.site-premium .nav-cta a {
    font-weight: 600;
}

body.site-premium .logo .logo-tag,
body.site-premium .navbar-mobile-brand-tagline {
    font-family: var(--font-ui);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* =============================================================
   PWA install banner + mobile app shell
   ============================================================= */
/* Footer install banner removed — install via account menu → Mobile App */
.pwa-install-banner {
    display: none !important;
}

.pwa-install-banner--legacy-hidden {
    display: none !important;
}

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

.pwa-install-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.pwa-install-icon {
    flex-shrink: 0;
    border-radius: 10px;
}

.pwa-install-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-family: var(--font-ui);
}

.pwa-install-text strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pwa-install-text span {
    font-size: 0.72rem;
    color: var(--text-light);
}

.pwa-install-btn {
    flex-shrink: 0;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    background: #22c55e;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.pwa-install-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0 0.2rem;
    cursor: pointer;
}

@media (display-mode: standalone) {
    body.site-premium {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .floating-buttons {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .pwa-install-banner {
        display: none !important;
    }
}

/* Services / book — green icon when pill/tab selected */
.services-page .audience-pill.active i,
.services-page .audience-pill.selected i,
.services-page .pillar-tab.active i,
.services-page .mode-tab.active i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    min-height: 1.35rem;
    border-radius: 999px;
    background: #22c55e;
    color: #fff !important;
}

/* =============================================================
   Global mobile responsive polish (all pages)
   ============================================================= */
html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body.site-premium {
    overflow-x: hidden;
    max-width: 100vw;
}

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

@media (max-width: 768px) {
    /* Book — horizontal peek carousel for option cards */
    .booking-options.peek-carousel--mobile {
        display: flex;
        flex-wrap: nowrap;
        grid-template-columns: unset;
        gap: 0.55rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        padding: 0.15rem 0.35rem 0.35rem;
        margin: 0 -0.15rem;
    }

    .booking-options.peek-carousel--mobile::-webkit-scrollbar {
        display: none;
    }

    .booking-options.peek-carousel--mobile .booking-option {
        flex: 0 0 auto;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.35rem;
        padding: 0.85rem 0.65rem;
        min-height: 108px;
    }

    .booking-options.peek-carousel--mobile .booking-option small {
        text-align: center;
    }

    .booking-options:not(.peek-carousel--mobile) {
        grid-template-columns: 1fr;
    }

    /* Book page header — centered, no clipped subtitle */
    body.book-page .page-header,
    body.book-page .page-header.page-header--glow {
        overflow: visible;
        text-align: center;
    }

    body.book-page .page-header .container {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: clamp(0.75rem, 4vw, 1.25rem);
        padding-right: clamp(0.75rem, 4vw, 1.25rem);
    }

    body.book-page .page-header h1,
    body.book-page .page-header p,
    body.book-page .page-header.page-header--book h1,
    body.book-page .page-header.page-header--book p {
        text-align: center;
        width: 100%;
        max-width: min(36rem, 100%);
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    body.book-page .page-header p {
        font-size: 0.92rem;
        line-height: 1.5;
        padding: 0 0.15rem;
    }

    .pwa-install-banner-inner {
        flex-wrap: wrap;
    }

    .floating-buttons {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(72px, calc(12px + env(safe-area-inset-bottom)));
    }

    .mega-menu,
    .partners-grid--five {
        max-width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    input, select, textarea, .btn, .booking-option, .audience-pill, .pillar-tab {
        min-height: 44px;
    }
}

/* Book page — selected option: full green card until form submit (beats site-premium white !important) */
body.book-page .booking-option.selected,
body.site-premium.book-page .booking-option.selected {
    border-color: #22c55e !important;
    background: #dcfce7 !important;
    background-color: #dcfce7 !important;
    background-image: none !important;
    color: #14532d !important;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.28) !important;
}

body.book-page .booking-option.selected i,
body.site-premium.book-page .booking-option.selected i {
    background: #22c55e !important;
    color: #ffffff !important;
}

body.book-page .booking-option.selected small,
body.site-premium.book-page .booking-option.selected small {
    color: #15803d !important;
}

body.book-page .booking-option.selected:hover,
body.site-premium.book-page .booking-option.selected:hover {
    border-color: #16a34a !important;
    background: #bbf7d0 !important;
    background-color: #bbf7d0 !important;
}

body.book-page .booking-step.is-complete .booking-option.selected,
body.site-premium.book-page .booking-step.is-complete .booking-option.selected {
    opacity: 1;
}

/* Services page — multi-select: same green card as book page (beats site-premium white !important) */
body.services-page .service-select-card.selected,
body.site-premium.services-page .service-select-card.selected {
    border-color: #22c55e !important;
    border-left-color: #16a34a !important;
    border-left-width: 3px !important;
    background: #dcfce7 !important;
    background-color: #dcfce7 !important;
    background-image: none !important;
    color: #14532d !important;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.28) !important;
}

body.services-page .service-select-card.selected::after,
body.site-premium.services-page .service-select-card.selected::after {
    content: '\f00c' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    border-radius: 999px !important;
    background: #22c55e !important;
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: 0.65rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

body.services-page .service-select-card.selected:hover,
body.site-premium.services-page .service-select-card.selected:hover {
    border-color: #16a34a !important;
    background: #bbf7d0 !important;
    background-color: #bbf7d0 !important;
}

/* =============================================================
   Ultra-fast mobile · premium typography · 279px+ layouts
   ============================================================= */
body.site-premium {
    font-family: var(--font-main);
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.site-premium h1,
body.site-premium h2,
body.site-premium h3,
body.site-premium h4,
body.site-premium h5,
body.site-premium .logo-name {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

body.site-premium .btn,
body.site-premium input,
body.site-premium select,
body.site-premium textarea,
body.site-premium button {
    font-family: var(--font-ui);
}

body.perf-optimized .premium-section,
body.perf-optimized .section-padding,
body.perf-optimized .faq-item,
body.perf-optimized .project-card,
body.perf-optimized .service-category {
    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}

body.perf-optimized * {
    scroll-behavior: auto !important;
}

/* Hero pillars — mobile typewriter + 18px pillar words */
@media (max-width: 400px) {
    .hero-plain .hero-title-animated .anim-grow {
        font-size: clamp(1.22rem, 5.2vw, 1.48rem) !important;
    }

    .hero-plain .hero-seq-line .seq-item .highlight {
        font-size: 18px !important;
        letter-spacing: -0.02em;
        animation: heroTypeReveal 0.55s steps(var(--chars, 8), end) forwards !important;
        animation-delay: calc(0.45s + var(--seq, 0) * 0.52s) !important;
    }
}

@media (max-width: 360px) {
    .hero-plain .hero-title-animated .anim-grow {
        font-size: clamp(1.18rem, 5vw, 1.42rem) !important;
    }

    .hero-seq-line {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.1rem clamp(0.14rem, 1.5vw, 0.32rem);
        max-width: 100%;
        width: 100%;
        padding: 0 0.08rem;
        box-sizing: border-box;
    }

    .hero-plain .hero-seq-line .seq-item .highlight {
        font-size: clamp(14px, 4.6vw, 18px) !important;
        letter-spacing: -0.025em;
        animation: heroTypeReveal 0.55s steps(var(--chars, 8), end) forwards !important;
        animation-delay: calc(0.45s + var(--seq, 0) * 0.52s) !important;
    }
}

/* All pages — equal tight mobile gutters */
@media (max-width: 768px) {
    body.site-premium {
        --mobile-gutter: clamp(0.18rem, 1.1vw, 0.28rem);
    }

    body.site-premium main .container,
    body.site-premium .site-main .container,
    body.site-premium .page-main--content .container {
        padding-left: var(--mobile-gutter) !important;
        padding-right: var(--mobile-gutter) !important;
        max-width: 100% !important;
    }

    body.site-premium main .section-padding,
    body.site-premium .site-main > .section-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.site-premium .project-card,
    body.site-premium .service-card,
    body.site-premium .value-card,
    body.site-premium .testimonial-card,
    body.site-premium .faq-item,
    body.site-premium .booking-step,
    body.site-premium .booking-shell,
    body.site-premium .service-category,
    body.site-premium .service-select-card,
    body.site-premium .contact-card,
    body.site-premium .form-card,
    body.site-premium .team-card,
    body.site-premium .partner-card,
    body.site-premium .course-card,
    body.site-premium .engagement-card,
    body.site-premium .stat-card,
    body.site-premium .comparison-card,
    body.site-premium .map-card,
    body.site-premium .profile-card {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    body.site-premium .project-grid,
    body.site-premium .service-cards-grid,
    body.site-premium .pillars-project-grid,
    body.site-premium .faq-list {
        gap: clamp(0.28rem, 1.2vw, 0.45rem) !important;
    }
}

/* Services — audience row matches pillar card (2 per row on mobile) */
@media (max-width: 768px) {
    body.services-page .services-filters-bar {
        gap: 0.45rem !important;
    }

    body.services-page .services-filters-bar .audience-wrap {
        width: 100%;
    }

    body.services-page .services-filters-bar .audience-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.28rem !important;
        width: 100%;
        margin: 0 !important;
        padding: 0.35rem !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
    }

    body.services-page .services-filters-bar .audience-pill {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px;
        margin: 0 !important;
        padding: 0.55rem 0.5rem !important;
        border-radius: 14px !important;
        border: none !important;
        background: transparent !important;
        justify-content: flex-start !important;
        font-weight: 700 !important;
        font-size: 0.78rem !important;
        gap: 0.4rem !important;
    }

    body.services-page .services-filters-bar .audience-pill i {
        font-size: 0.9rem !important;
        color: var(--secondary-color);
    }

    body.services-page .services-filters-bar .audience-pill.active {
        background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
        color: #fff !important;
        box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35) !important;
    }

    body.services-page .services-filters-bar .audience-pill.active i {
        color: #fff !important;
    }

    body.services-page .pillar-tabs {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0.35rem !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
    }

    body.services-page .pillar-tab {
        width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
        border-radius: 14px !important;
        padding: 0.55rem 0.65rem !important;
    }
}

/* =============================================================
   AI chatbot — floating chat icon + scroll hint + panel
   ============================================================= */
.floating-chat-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.ai-chat-scroll-hint {
    position: absolute;
    right: calc(100% + 0.55rem);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    margin: 0;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--navy-text, #0f172a);
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 2;
}

.ai-chat-scroll-hint.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.ai-chat-scroll-hint::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-right: 1px solid rgba(37, 99, 235, 0.18);
    border-top: 1px solid rgba(37, 99, 235, 0.18);
    transform: translateY(-50%) rotate(45deg);
}

.floating-btn.chat {
    background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
}

.floating-btn.chat:hover {
    background: linear-gradient(145deg, #1d4ed8, #2563eb) !important;
}

body.site-premium .floating-btn.chat {
    background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
}

.ai-chat-panel {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 1rem calc(76px + env(safe-area-inset-bottom)) 1rem;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ai-chat-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ai-chat-panel-inner {
    width: min(100%, 380px);
    max-height: min(72vh, 520px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(220, 228, 240, 0.95);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-chat-panel.is-open .ai-chat-panel-inner {
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
}

.ai-chat-header-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.ai-chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.ai-chat-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.ai-chat-header p {
    margin: 0.12rem 0 0;
    font-size: 0.72rem;
    opacity: 0.9;
    color: #fff;
}

.ai-chat-close {
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-messages {
    flex: 1;
    min-height: 200px;
    max-height: 320px;
    overflow-y: auto;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: #f8fafc;
}

.ai-chat-msg {
    display: flex;
    max-width: 92%;
}

.ai-chat-msg--user {
    align-self: flex-end;
}

.ai-chat-msg--bot {
    align-self: flex-start;
}

.ai-chat-bubble {
    padding: 0.5rem 0.65rem;
    border-radius: 14px;
    font-size: 13.2px;
    line-height: 1.38;
}

.ai-chat-msg--user .ai-chat-bubble {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-chat-msg--bot .ai-chat-bubble {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom-left-radius: 4px;
}

.ai-chat-action {
    display: inline-block;
    margin-top: 0.45rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
}

.ai-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem 0;
    background: #fff;
}

.ai-chat-quick button {
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: #fff;
    color: #2563eb;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-ui);
}

.ai-chat-form {
    display: flex;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem 0.85rem;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ai-chat-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-family: var(--font-ui);
    font-size: 0.84rem;
}

.ai-chat-form button[type="submit"] {
    width: 2.35rem;
    height: 2.35rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .ai-chat-scroll-hint {
        position: absolute;
        right: calc(100% + 0.5rem);
        top: 50%;
        bottom: auto;
        left: auto;
        transform: translateY(-50%) translateX(8px);
        font-size: clamp(0.62rem, 2.8vw, 0.72rem);
        padding: 0.36rem 0.58rem;
        max-width: calc(100vw - 5.25rem);
        width: max-content;
        white-space: nowrap !important;
        text-align: left;
        line-height: 1.2;
        letter-spacing: -0.02em;
        z-index: 3;
    }

    .ai-chat-scroll-hint.is-visible {
        transform: translateY(-50%) translateX(0);
    }

    .ai-chat-scroll-hint::after {
        right: -5px;
        left: auto;
        top: 50%;
        margin-top: 0;
        transform: translateY(-50%) rotate(45deg);
    }

    .ai-chat-panel {
        padding: 0 0.45rem calc(72px + env(safe-area-inset-bottom));
    }

    .ai-chat-panel-inner {
        width: 100%;
        max-height: min(78vh, 560px);
    }
}

/* =============================================================
   Footer — flush bottom, copyright centered, zero dead space
   ============================================================= */
html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.site-premium {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.site-premium footer.site-footer,
footer.site-footer {
    padding: 0.38rem 0 0 !important;
    margin: 0 !important;
}

footer.site-footer .footer-inner,
footer.site-footer .footer-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

footer.site-footer .footer-top {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

footer.site-footer .footer-bottom {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.22rem 0 0 !important;
    margin: 0 !important;
    border-top: none !important;
}

footer.site-footer .footer-bottom p {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 0 0.22rem !important;
    font-family: var(--font-ui) !important;
    line-height: 1.2 !important;
}

@media (max-width: 900px) {
    footer.site-footer .footer-inner {
        padding-bottom: 0 !important;
    }

    footer.site-footer .footer-bottom {
        margin-top: 0.15rem !important;
        padding-top: 0.15rem !important;
    }

    footer.site-footer .footer-bottom p {
        padding-bottom: 0.22rem !important;
    }
}

/* =============================================================
   AI Assistant — premium UI upgrades
   ============================================================= */
.ai-chat-panel-inner {
    width: min(100%, 400px);
    max-height: min(78vh, 560px);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ai-chat-header {
    padding: 1rem 1.05rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 48%, #2563eb 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-chat-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    font-size: 1.05rem;
}

.ai-chat-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.15rem 0 0 !important;
    font-size: 0.68rem !important;
    opacity: 0.92 !important;
}

.ai-chat-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
    animation: aiChatPulse 2s ease infinite;
}

@keyframes aiChatPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.ai-chat-messages {
    min-height: 220px;
    max-height: 340px;
    padding: 1rem 0.85rem;
    gap: 0.65rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.ai-chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    max-width: 94%;
}

.ai-chat-msg-avatar {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.ai-chat-msg--user {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.ai-chat-msg--user .ai-chat-bubble {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-bottom-right-radius: 4px;
}

.ai-chat-msg--bot .ai-chat-bubble {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border-bottom-left-radius: 4px;
}

.ai-chat-bubble {
    padding: 0.45rem 0.62rem;
    font-size: 13.2px;
    line-height: 1.38;
}

.ai-chat-bubble strong {
    font-weight: 600;
    color: inherit;
}

.ai-chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.7rem 0.85rem !important;
}

.ai-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #94a3b8;
    animation: aiChatDot 1.2s ease infinite;
}

.ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiChatDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.ai-chat-suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 0.85rem 0.45rem;
    background: #fff;
    min-height: 0;
}

.ai-chat-suggest:empty {
    display: none;
}

.ai-chat-suggest button {
    border: 1px solid rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.24rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-ui);
}

.ai-chat-quick {
    padding: 0.45rem 0.85rem 0.35rem;
    gap: 0.32rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    background: #fff;
}

.ai-chat-quick::-webkit-scrollbar {
    display: none;
}

.ai-chat-quick button {
    flex-shrink: 0;
    white-space: nowrap;
}

.ai-chat-form {
    padding: 0.7rem 0.85rem 0.9rem;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ai-chat-form input {
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ai-chat-form button[type="submit"] {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.ai-chat-action {
    margin-top: 0.5rem;
    padding: 0.32rem 0.75rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff !important;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* =============================================================
   Footer gap fix · chat panel anchor · block hover (all pages)
   ============================================================= */
#aiChatPanel,
.ai-chat-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12050 !important;
    margin: 0 !important;
    padding: 0 1rem calc(76px + env(safe-area-inset-bottom, 0px)) 1rem !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    pointer-events: none !important;
}

#aiChatPanel.is-open,
.ai-chat-panel.is-open {
    pointer-events: auto !important;
}

#aiChatPanel .ai-chat-panel-inner {
    pointer-events: auto !important;
}

html,
body.site-premium {
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow-x: hidden;
}

body.site-premium footer.site-footer,
footer.site-footer {
    margin: 0 !important;
    padding: 0.38rem 0 0 !important;
}

footer.site-footer .footer-bottom,
footer.site-footer .footer-bottom p {
    margin: 0 !important;
    padding-bottom: 0.2rem !important;
}

/* Light green hover on interactive blocks — reverts on mouse leave */
body.site-premium .contact-card,
body.site-premium .engagement-card,
body.site-premium .course-card,
body.site-premium .stat-card,
body.site-premium .form-card,
body.site-premium .booking-shell,
body.site-premium .service-card,
body.site-premium .value-card,
body.site-premium .comparison-card,
body.site-premium .testimonial-card,
body.site-premium .team-capability-card,
body.site-premium .hero-pillar,
body.site-premium .map-card,
body.site-premium .project-card,
body.site-premium .timeline-content,
body.site-premium .founder-message-card,
body.site-premium .founder-message,
body.site-premium .founder-message-inner,
body.site-premium .selection-panel-inner,
body.site-premium .site-panel,
body.site-premium .pricing-note,
body.site-premium .booking-summary,
body.site-premium .service-select-card,
body.site-premium .profile-card,
body.site-premium .partner-card,
body.site-premium .team-card,
body.site-premium .about-text,
body.site-premium .about-image,
body.site-premium .contact-info-card,
body.site-premium .audience-pill,
body.site-premium .pillar-tab,
body.site-premium .mode-tab {
    transition: background-color 0.22s ease, background 0.22s ease;
}

body.site-premium .contact-card:hover,
body.site-premium .engagement-card:hover,
body.site-premium .course-card:hover,
body.site-premium .stat-card:hover,
body.site-premium .form-card:hover,
body.site-premium .service-card:hover,
body.site-premium .value-card:hover,
body.site-premium .comparison-card:hover,
body.site-premium .testimonial-card:hover,
body.site-premium .team-capability-card:hover,
body.site-premium .hero-pillar:hover,
body.site-premium .map-card:hover,
body.site-premium .project-card:hover,
body.site-premium .timeline-content:hover,
body.site-premium .founder-message-card:hover,
body.site-premium .founder-message:hover,
body.site-premium .founder-message-inner:hover,
body.site-premium .selection-panel-inner:hover,
body.site-premium .site-panel:hover,
body.site-premium .pricing-note:hover,
body.site-premium .booking-summary:hover,
body.site-premium .service-select-card:not(.selected):hover,
body.site-premium .profile-card:hover,
body.site-premium .partner-card:hover,
body.site-premium .team-card:hover,
body.site-premium .about-text:hover,
body.site-premium .about-image:hover,
body.site-premium .contact-info-card:hover,
body.site-premium .audience-pill:not(.active):not(.selected):hover,
body.site-premium .pillar-tab:not(.active):hover,
body.site-premium .mode-tab:not(.active):hover {
    background-color: #dcfce7 !important;
    background-image: none !important;
}

/* Book page — border hint on hover, not full green fill (selection keeps green bg) */
body.book-page .booking-option:not(.selected):hover {
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #86efac !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18) !important;
}

/* FAQ — no lift / uplift on hover */
main.faq-page .faq-item:hover,
.faq-page .faq-item:hover {
    transform: none !important;
    translate: none !important;
    z-index: auto !important;
    background-color: #dcfce7 !important;
    background-image: none !important;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.28) !important;
}

/* Book page — no light-green hover on shell / steps (selected cards keep green) */
body.book-page .booking-shell:hover,
body.book-page .booking-step:hover,
body.book-page .booking-summary:hover {
    background-color: #ffffff !important;
    background-image: none !important;
}

body.book-page .booking-shell {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* =============================================================
   Chat window UI v2 — LW logo, responsive, no overlap
   ============================================================= */
.ai-chat-panel-inner {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    max-height: min(85dvh, 560px) !important;
    overflow: hidden !important;
}

.ai-chat-header {
    flex-shrink: 0;
    padding: 0.85rem 0.9rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 48%, #2563eb 100%) !important;
}

.ai-chat-header-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}

.ai-chat-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #dbeafe);
    color: #1e40af;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: -0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ai-chat-title-block {
    min-width: 0;
    flex: 1;
}

.ai-chat-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.ai-chat-title-row h2,
.ai-chat-header h2,
#aiChatTitle {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(0.78rem, 3.4vw, 0.92rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
}

.ai-chat-status-dot--title {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin: 0;
}

.ai-chat-status-text {
    margin: 0.15rem 0 0 !important;
    padding: 0 !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    opacity: 1 !important;
}

.ai-chat-close {
    flex-shrink: 0;
    margin-left: 0.35rem;
}

.ai-chat-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

.ai-chat-bubble {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.ai-chat-msg {
    max-width: 100% !important;
}

.ai-chat-msg .ai-chat-bubble {
    max-width: 100%;
}

.ai-chat-action {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    word-break: break-word;
}

.ai-chat-suggest {
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 0.32rem;
    padding: 0.35rem 0.75rem 0.4rem;
    max-height: 5.5rem;
    overflow-y: auto;
}

.ai-chat-suggest button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.18;
    padding: 0.24rem 0.45rem;
    font-size: 0.62rem;
}

.ai-chat-panel-inner:has(.ai-chat-suggest:not(:empty)) .ai-chat-quick {
    display: none;
}

.ai-chat-quick {
    flex-shrink: 0;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem 0.35rem;
    max-height: 4.75rem;
    overflow-y: auto;
}

.ai-chat-quick button {
    flex-shrink: 1;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    font-size: 0.68rem;
    padding: 0.28rem 0.55rem;
}

.ai-chat-form {
    flex-shrink: 0;
}

.ai-chat-form input {
    font-size: max(16px, 0.84rem);
}

@media (max-width: 480px) {
    #aiChatPanel,
    .ai-chat-panel {
        padding: 0 0.5rem calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        align-items: flex-end !important;
    }

    .ai-chat-panel-inner {
        width: 100% !important;
        max-height: min(88dvh, 620px) !important;
        border-radius: 16px 16px 14px 14px !important;
    }

    .ai-chat-title-row h2,
    .ai-chat-header h2,
    #aiChatTitle {
        font-size: 0.8rem !important;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .ai-chat-logo {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.68rem;
    }

    .ai-chat-messages {
        min-height: 140px !important;
        padding: 0.75rem 0.65rem !important;
    }

    .ai-chat-bubble {
        font-size: 13.2px;
    }

    .ai-chat-suggest,
    .ai-chat-quick {
        max-height: none;
    }
}

@media (max-width: 360px) {
    .ai-chat-header {
        padding: 0.75rem 0.7rem !important;
    }

    .ai-chat-title-row {
        flex-wrap: wrap;
        row-gap: 0.2rem;
    }
}

/* =============================================================
   Mobile v3 — ultra-narrow equal gutters · hero pillars · services filters
   ============================================================= */
@media (max-width: 768px) {
    body.site-premium {
        --mobile-gutter: clamp(0.1rem, 0.75vw, 0.2rem);
        --services-gutter: var(--mobile-gutter);
    }

    body.site-premium .container,
    body.site-premium .container--narrow,
    body.site-premium main .container,
    body.site-premium .site-main .container,
    body.site-premium .page-main--content .container,
    body.site-premium .page-main--content .container--narrow,
    body.site-premium .page-main--content .faq-page-content,
    .page-main--content .page-header .container,
    .page-main--content > .section-padding > .container:not(.services-stack),
    .page-main--content .faq-page-content:not(.services-stack),
    body.services-page .container.services-stack,
    body.services-page .services-catalog .container {
        padding-left: var(--mobile-gutter) !important;
        padding-right: var(--mobile-gutter) !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.site-premium .page-main--content > .section-padding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.site-premium .hero-content,
    body.site-premium #hero .hero-content,
    .hero-plain.hero-compact .hero-content {
        padding-left: var(--mobile-gutter) !important;
        padding-right: var(--mobile-gutter) !important;
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Home — Business · Technology · Finance: fit screen, no overflow */
    .hero-plain .hero-title-animated {
        max-width: 100%;
        overflow: hidden;
    }

    .hero-plain .hero-seq-line,
    #heroPillarLine.hero-seq-line {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: clamp(0.12rem, 1.4vw, 0.42rem);
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .hero-plain .hero-seq-line .seq-item {
        flex: 0 1 auto;
        min-width: 0;
        max-width: none;
        opacity: 1;
        animation: none;
        transform: none;
    }

    .hero-plain .hero-seq-line .seq-item .highlight {
        display: inline-block;
        width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
        vertical-align: bottom;
        font-size: 18px !important;
        letter-spacing: -0.02em;
        font-weight: 700 !important;
        animation: heroTypeReveal 0.55s steps(var(--chars, 8), end) forwards !important;
        animation-delay: calc(0.45s + var(--seq, 0) * 0.52s) !important;
        animation-fill-mode: forwards !important;
        border-right: none !important;
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-plain .hero-seq-line .seq-item .highlight {
            width: auto !important;
            animation: none !important;
        }
    }

    /* All cards — equal narrow side space inside containers */
    body.site-premium .project-card,
    body.site-premium .service-card,
    body.site-premium .value-card,
    body.site-premium .testimonial-card,
    body.site-premium .faq-item,
    body.site-premium .booking-step,
    body.site-premium .booking-shell,
    body.site-premium .service-category,
    body.site-premium .service-select-card,
    body.site-premium .contact-card,
    body.site-premium .form-card,
    body.site-premium .team-card,
    body.site-premium .partner-card,
    body.site-premium .course-card,
    body.site-premium .engagement-card,
    body.site-premium .stat-card,
    body.site-premium .comparison-card,
    body.site-premium .map-card,
    body.site-premium .profile-card,
    body.site-premium .booking-option,
    body.site-premium .founder-message-card,
    body.site-premium .hero-pillar,
    body.site-premium .team-capability-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.services-page .service-category,
    body.services-page .pillar-panel,
    body.services-page .services-filters-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Services — premium filter pills (audience + pillar) */
    body.services-page .services-filters-bar {
        gap: 0.42rem !important;
        padding: 0 !important;
        margin-bottom: 0.45rem !important;
        border-bottom: none !important;
    }

    body.services-page .services-filters-bar .audience-wrap {
        margin-bottom: 0 !important;
    }

    body.services-page .services-filters-bar .audience-row,
    body.services-page .services-filters-bar .pillar-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.32rem !important;
        width: 100% !important;
        padding: 0.38rem !important;
        border-radius: 16px !important;
        background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%) !important;
        border: 1px solid rgba(15, 23, 42, 0.07) !important;
        box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07) !important;
    }

    body.services-page .services-filters-bar .pillar-tabs {
        flex-direction: unset !important;
        align-items: stretch !important;
    }

    body.services-page .services-filters-bar .audience-pill,
    body.services-page .services-filters-bar .pillar-tab {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.32rem !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0.42rem 0.28rem !important;
        border-radius: 12px !important;
        border: 1px solid rgba(15, 23, 42, 0.06) !important;
        background: #ffffff !important;
        color: var(--navy-text, #0f172a) !important;
        font-family: var(--font-ui) !important;
        font-size: clamp(0.68rem, 2.6vw, 0.76rem) !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        line-height: 1.15;
        text-align: center;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    body.services-page .services-filters-bar .audience-pill span,
    body.services-page .services-filters-bar .pillar-tab span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.services-page .services-filters-bar .audience-pill i,
    body.services-page .services-filters-bar .pillar-tab i {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 2.05rem !important;
        height: 2.05rem !important;
        flex-shrink: 0;
        border-radius: 10px !important;
        font-size: 0.92rem !important;
        line-height: 1 !important;
        background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%) !important;
        color: #2563eb !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 2px 8px rgba(37, 99, 235, 0.14);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body.services-page .services-filters-bar .audience-pill.active,
    body.services-page .services-filters-bar .pillar-tab.active {
        background: linear-gradient(145deg, #2563eb 0%, #3b82f6 100%) !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32) !important;
        transform: translateY(-1px);
    }

    body.services-page .services-filters-bar .audience-pill.active i,
    body.services-page .services-filters-bar .pillar-tab.active i {
        background: rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    body.services-page .pillar-tab.active[data-pillar="business"] {
        background: linear-gradient(145deg, #2563eb, #3b82f6) !important;
    }

    body.services-page .pillar-tab.active[data-pillar="technology"] {
        background: linear-gradient(145deg, #0ea5e9, #38bdf8) !important;
        box-shadow: 0 8px 22px rgba(14, 165, 233, 0.32) !important;
    }

    body.services-page .pillar-tab.active[data-pillar="financial"] {
        background: linear-gradient(145deg, #059669, #34d399) !important;
        box-shadow: 0 8px 22px rgba(5, 150, 105, 0.28) !important;
    }

    body.services-page .pillar-tab.active[data-pillar="all"] {
        background: linear-gradient(145deg, #475569, #64748b) !important;
        box-shadow: 0 8px 22px rgba(71, 85, 105, 0.28) !important;
    }

    body.services-page .services-filters-bar .audience-pill:active,
    body.services-page .services-filters-bar .pillar-tab:active {
        transform: scale(0.98);
    }

    body.services-page .category-body,
    body.services-page .category-body .service-cards-grid,
    body.services-page .service-cards-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.services-page .service-select-card {
        padding: 0.52rem 0.42rem 0.52rem 0.62rem !important;
        border-left: 3px solid rgba(37, 99, 235, 0.38) !important;
    }
}

@media (max-width: 360px) {
    .hero-plain .hero-seq-line .seq-item .highlight {
        font-size: clamp(14px, 4.6vw, 18px) !important;
        letter-spacing: -0.025em;
    }

    body.services-page .services-filters-bar .audience-pill,
    body.services-page .services-filters-bar .pillar-tab {
        min-height: 52px !important;
        padding: 0.38rem 0.22rem !important;
    }

    body.services-page .services-filters-bar .audience-pill i,
    body.services-page .services-filters-bar .pillar-tab i {
        width: 1.85rem !important;
        height: 1.85rem !important;
        font-size: 0.84rem !important;
    }
}

/* =============================================================
   FAQ fast expand · chat header row · scrollable history
   ============================================================= */
main.faq-page .faq-answer,
.faq-page .faq-answer {
    transition: max-height 0.12s ease-out !important;
}

main.faq-page .faq-item.open .faq-answer,
.faq-page .faq-item.open .faq-answer {
    max-height: 600px !important;
}

main.faq-page .faq-toggle,
.faq-page .faq-toggle {
    transition: background 0.12s ease, transform 0.12s ease !important;
}

.ai-chat-header {
    display: flex !important;
    align-items: center !important;
    padding: 0.72rem 0.75rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 48%, #2563eb 100%) !important;
    color: #fff !important;
}

.ai-chat-header-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

.ai-chat-header-title,
.ai-chat-header-row #aiChatTitle {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(0.72rem, 3.1vw, 0.88rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-chat-header-row .ai-chat-close {
    margin-left: auto;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-header-row .ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

.ai-chat-panel-inner {
    max-height: min(88dvh, 580px) !important;
}

.ai-chat-messages {
    flex: 1 1 auto !important;
    min-height: 160px !important;
    max-height: min(52vh, 400px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    .ai-chat-header-title,
    .ai-chat-header-row #aiChatTitle {
        font-size: 0.74rem !important;
    }

    .ai-chat-messages {
        min-height: 140px !important;
        max-height: min(48vh, 340px) !important;
    }
}

/* =============================================================
   Home hero pillars · chat hint left · services no pillar row
   ============================================================= */
.floating-chat-wrap {
    overflow: visible !important;
}

body.services-page .services-filters-bar .pillar-tabs {
    display: none !important;
}

@media (max-width: 768px) {
    body.services-page .services-filters-bar {
        gap: 0 !important;
    }

    body.services-page .services-filters-bar .audience-row {
        width: 100% !important;
    }

    .hero-plain .hero-seq-line,
    #heroPillarLine.hero-seq-line {
        gap: clamp(0.06rem, 1vw, 0.22rem);
        padding: 0;
    }

    .hero-plain .hero-seq-line .seq-item .highlight {
        font-size: 18px !important;
    }
}

/* =============================================================
   LiyanaWap AI Support — header row · scroll history · stay open
   ============================================================= */
#aiChatPanel .ai-chat-panel-inner {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    overflow: hidden !important;
    height: min(560px, 85dvh) !important;
    max-height: min(560px, 85dvh) !important;
    min-height: 280px !important;
    width: min(100%, 400px) !important;
    pointer-events: auto !important;
}

#aiChatPanel .ai-chat-header {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    padding: 0.72rem 0.8rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 48%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

#aiChatPanel .ai-chat-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

#aiChatPanel .ai-chat-header-brand-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.42rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

#aiChatPanel .ai-chat-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.15rem !important;
    height: 2.15rem !important;
    flex-shrink: 0 !important;
    border-radius: 9px !important;
    background: linear-gradient(145deg, #ffffff, #dbeafe) !important;
    color: #1e40af !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    letter-spacing: -0.04em !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
}

#aiChatPanel .ai-chat-header-title,
#aiChatPanel #aiChatTitle {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(0.72rem, 3vw, 0.86rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    background: transparent !important;
}

#aiChatPanel .ai-chat-status-dot--title {
    flex-shrink: 0 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: #4ade80 !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35) !important;
}

#aiChatPanel .ai-chat-close {
    flex-shrink: 0 !important;
    width: 2.05rem !important;
    height: 2.05rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    line-height: 1 !important;
}

#aiChatPanel .ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
}

#aiChatPanel .ai-chat-messages {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(37, 99, 235, 0.45) rgba(15, 23, 42, 0.06) !important;
    padding: 0.65rem 0.55rem !important;
    gap: 0.5rem !important;
}

#aiChatPanel .ai-chat-msg--bot {
    align-self: stretch !important;
    max-width: 100% !important;
    width: 100% !important;
}

#aiChatPanel .ai-chat-msg--user {
    max-width: 88% !important;
    align-self: flex-end !important;
}

#aiChatPanel .ai-chat-msg--bot .ai-chat-bubble {
    flex: 1 1 auto !important;
    width: calc(100% - 2.05rem) !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-para,
#aiChatPanel .ai-chat-bubble .ai-chat-list {
    max-width: 100% !important;
}

#aiChatPanel .ai-chat-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    justify-content: flex-end !important;
}

#aiChatPanel .ai-chat-form {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0.5rem 0.55rem 0.5rem !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    background: #fff !important;
}

#aiChatPanel .ai-chat-bubble-chips {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.32rem !important;
    margin-top: 0.5rem !important;
    padding-top: 0.48rem !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#aiChatPanel .ai-chat-bubble-chip {
    width: 100% !important;
    min-width: 0 !important;
    border: 1px solid rgba(37, 99, 235, 0.28) !important;
    background: rgba(37, 99, 235, 0.06) !important;
    color: #1d4ed8 !important;
    border-radius: 10px !important;
    padding: 0.38rem 0.55rem !important;
    font-size: 13.2px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    cursor: pointer !important;
    font-family: var(--font-ui) !important;
    white-space: normal !important;
    text-align: left !important;
    display: block !important;
    overflow: visible !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

#aiChatPanel .ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

#aiChatPanel .ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.35);
    border-radius: 999px;
}

#aiChatPanel .ai-chat-bubble,
#aiChatPanel .ai-chat-msg--user .ai-chat-bubble,
#aiChatPanel .ai-chat-msg--bot .ai-chat-bubble,
#aiChatPanel .ai-chat-bubble .ai-chat-para,
#aiChatPanel .ai-chat-bubble .ai-chat-list,
#aiChatPanel .ai-chat-bubble .ai-chat-list li,
#aiChatPanel .ai-chat-bubble strong {
    font-size: 13.2px !important;
}

#aiChatPanel .ai-chat-bubble {
    line-height: 1.38 !important;
    padding: 0.45rem 0.62rem !important;
}

#aiChatPanel .ai-chat-bubble-chip {
    font-size: 13.2px !important;
    max-height: none;
}

#aiChatPanel .ai-chat-msg-time {
    display: block !important;
    width: 100% !important;
    margin-top: 0.38rem !important;
    padding-top: 0.3rem !important;
    border-top: 1px solid rgba(15, 23, 42, 0.07) !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    font-family: var(--font-ui) !important;
}

#aiChatPanel .ai-chat-msg--user .ai-chat-msg-time {
    color: rgba(255, 255, 255, 0.82) !important;
    border-top-color: rgba(255, 255, 255, 0.18) !important;
}

#aiChatPanel .ai-chat-msg--bot .ai-chat-msg-time {
    color: rgba(15, 23, 42, 0.42) !important;
}

#aiChatPanel .ai-chat-action {
    font-size: 12px !important;
    padding: 0.24rem 0.52rem !important;
    margin-top: 0.38rem !important;
}

/* Suggestion chips live inside bot reply bubbles, not above the input */
#aiChatPanel .ai-chat-suggest {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

#aiChatPanel .ai-chat-bubble-chip:hover {
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(37, 99, 235, 0.45) !important;
    color: #1e40af !important;
}

#aiChatPanel .ai-chat-suggest-btn,
#aiChatPanel .ai-chat-suggest button {
    font-size: 13.2px !important;
}

#aiChatPanel .ai-chat-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
}

#aiChatPanel .ai-chat-minimize {
    flex-shrink: 0 !important;
    width: 2.05rem !important;
    height: 2.05rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
}

#aiChatPanel .ai-chat-minimize:hover {
    background: rgba(255, 255, 255, 0.35) !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-para {
    margin: 0 0 0.38rem !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-para:last-child {
    margin-bottom: 0 !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-list {
    margin: 0.28rem 0 0.45rem !important;
    padding-left: 1rem !important;
    font-size: inherit !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-list li {
    margin-bottom: 0.22rem !important;
    line-height: 1.36 !important;
}

#aiChatPanel .ai-chat-bubble .ai-chat-list li:last-child {
    margin-bottom: 0 !important;
}

#aiChatPanel.is-minimized.ai-chat-panel.is-open {
    background: transparent !important;
    pointer-events: none !important;
}

#aiChatPanel.is-minimized .ai-chat-panel-inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    pointer-events: auto !important;
}

#aiChatPanel.is-minimized .ai-chat-body {
    display: none !important;
}

#aiChatPanel .ai-chat-form,
#aiChatPanel .ai-chat-form input,
#aiChatPanel .ai-chat-suggest button,
#aiChatPanel .ai-chat-minimize,
#aiChatPanel .ai-chat-close {
    pointer-events: auto !important;
}

#aiChatPanel .ai-chat-form input {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-user-select: text !important;
    user-select: text !important;
}

#aiChatPanel.ai-chat-panel.is-open {
    background: rgba(15, 23, 42, 0.4) !important;
}

#aiChatQuick {
    display: none !important;
}

@media (max-width: 480px) {
    #aiChatPanel .ai-chat-header-title,
    #aiChatPanel #aiChatTitle {
        font-size: 0.72rem !important;
    }

    #aiChatPanel .ai-chat-messages {
        min-height: 0 !important;
        max-height: none !important;
    }

    #aiChatPanel .ai-chat-form {
        padding-bottom: 0.45rem !important;
    }
}

/* =============================================================
   CTA band — remove stray line near floating book icon (all devices)
   ============================================================= */
.cta-band::before,
.cta-band::after,
.home-cta-card.cta-band::before,
.home-cta-card.cta-band::after {
    display: none !important;
    content: none !important;
}

.cta-band h2,
.cta-band p,
.home-cta-card h2,
.home-cta-card p,
.cta-band-inner h2,
.cta-band-inner p {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.cta-band h2::before,
.cta-band h2::after,
.cta-band p::before,
.cta-band p::after {
    display: none !important;
    content: none !important;
    border: none !important;
    height: 0 !important;
    width: 0 !important;
}

.home-cta-sections,
.home-cta-sections .home-cta-grid,
.home-cta-card {
    border-top: none !important;
}

.home-cta-card .cta-band-inner {
    padding-bottom: 0.25rem;
}

/* Tighter floating shadows — avoids horizontal streak over CTA cards */
.floating-btn,
body.site-premium .floating-btn,
.floating-btn.book,
body.site-premium .floating-btn.book {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
}

.floating-btn::before,
.floating-btn::after {
    display: none !important;
    content: none !important;
}

/* =============================================================
   Mobile nav — single brand bar (no duplicate header branding)
   ============================================================= */
@media (max-width: 968px) {
    /* Menu closed: compact header logo only */
    header .container > .logo {
        display: inline-flex !important;
        align-items: center;
        gap: 0.4rem;
        min-width: 0;
        flex: 1 1 auto;
        max-width: calc(100% - 5.5rem);
    }

    header .container > .logo .logo-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 0.06rem;
    }

    header .container > .logo .logo-name {
        font-size: 0.82rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    header .container > .logo .logo-name .highlight {
        display: inline;
        font-size: inherit;
        margin: 0;
    }

    header .container > .logo .logo-tag {
        display: block;
        font-size: 0.5rem;
        line-height: 1.1;
        letter-spacing: 0.04em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    header .container > .logo .logo-mark {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    /* Menu open: same header bar as closed (logo + profile + WhatsApp + close) */
    body.nav-open {
        --mobile-header-h: 56px;
    }

    body.nav-open header,
    body.nav-open header.scrolled {
        background: #ffffff !important;
        box-shadow: none !important;
        border-bottom: 1px solid rgba(37, 99, 235, 0.2) !important;
        pointer-events: auto;
        z-index: 1006;
        height: var(--mobile-header-h);
    }

    body.nav-open header .container {
        pointer-events: auto;
        display: flex;
        align-items: center;
        width: 100%;
    }

    body.nav-open header .container > .logo {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 6.5rem);
    }

    body.nav-open header .container > .user-menu {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
        margin-left: auto;
        margin-right: 0.25rem;
        z-index: 1007;
    }

    body.nav-open header .mobile-toggle {
        position: relative;
        top: auto;
        right: auto;
        flex-shrink: 0;
        z-index: 1007;
        width: 38px;
        height: 38px;
        margin: 0;
        padding: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #ffffff !important;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
        pointer-events: auto;
    }

    body.nav-open #navbar,
    body.nav-open #navbar.active,
    body.site-premium.nav-open #navbar,
    body.site-premium.nav-open #navbar.active,
    body.site-premium #navbar.active {
        top: var(--mobile-header-h) !important;
        height: calc(100dvh - var(--mobile-header-h)) !important;
        padding: 0.75rem 0.65rem 1rem !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        z-index: 1004 !important;
    }

    body.nav-open #navbar .navbar-mobile-brand,
    body.site-premium.nav-open #navbar .navbar-mobile-brand {
        display: none !important;
    }

    body.nav-open #navbar ul.site-nav-list {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* Services — cards snug to category edge, comfortable inner text padding */
@media (max-width: 968px) {
    body.services-page .category-body .service-cards-grid,
    body.services-page .category-body,
    body.services-page .service-cards-grid {
        padding-left: 0.1rem !important;
        padding-right: 0.32rem !important;
    }

    body.services-page .service-select-card {
        margin-left: 0 !important;
        padding: 0.54rem 0.46rem 0.54rem 0.68rem !important;
        border: 1px solid rgba(226, 232, 240, 0.95) !important;
        border-left: 3px solid rgba(37, 99, 235, 0.4) !important;
    }
}

/* Home hero — mobile pillar line 18px + typewriter (authoritative) */
@media (max-width: 968px) {
    .hero-plain .hero-seq-line,
    #heroPillarLine.hero-seq-line {
        gap: clamp(0.06rem, 1vw, 0.24rem);
    }

    .hero-plain .hero-seq-line .seq-item .highlight,
    #heroPillarLine .seq-item .highlight {
        font-size: 18px !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        animation: heroTypeReveal 0.55s steps(var(--chars, 8), end) forwards !important;
        animation-delay: calc(0.45s + var(--seq, 0) * 0.52s) !important;
        animation-fill-mode: forwards !important;
    }
}
