/* ==========================================================================
   Main Stylesheet - Khwalo & Associates
   Mobile-first, zero duplicates, logical ordering
   Design System v2.0 — Navy & Gold
   ========================================================================== */

/* ==========================================================================
   1. Reset & Base Typography
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--weight-400);
    line-height: var(--leading-160);
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    margin: 0 0 var(--space-12) 0;
    font-family: var(--font-heading);
    font-weight: var(--weight-700);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-120);
}

h4,
h5,
h6 {
    margin: 0 0 var(--space-12) 0;
    font-family: var(--font-body);
    font-weight: var(--weight-600);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-normal);
    line-height: var(--leading-140);
}

h1 {
    font-size: clamp(2rem, 5vw, var(--text-h1));
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-normal);
    line-height: var(--leading-130);
}

h4 {
    font-size: var(--text-h4);
}

p {
    margin: 0 0 var(--space-12) 0;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-4);
}

/* ==========================================================================
   2. Typography Scale & Utility Classes
   ========================================================================== */

/* Legacy variable aliases for backward compatibility */
:root {
    --font-size-h1: var(--text-h1);
    --font-size-h2: var(--text-h2);
    --font-size-h3: var(--text-h3);
    --font-size-h4: var(--text-h4);
    --font-size-body: var(--text-body);
    --font-size-small: var(--text-small);
    --font-size-caption: var(--text-caption);
    --font-weight-regular: var(--weight-400);
    --font-weight-medium: var(--weight-500);
    --font-weight-semibold: var(--weight-600);
    --font-weight-bold: var(--weight-700);
    --font-family-primary: var(--font-body);
    --line-height-tight: var(--leading-120);
    --line-height-normal: var(--leading-150);
    --line-height-relaxed: var(--leading-160);
    --border-radius-sm: var(--radius-4);
    --border-radius-md: var(--radius-8);
    --border-radius-lg: var(--radius-16);
    --border-radius-pill: var(--radius-full);
    --container-max-width: var(--container-max);
    --container-padding: var(--space-container-x-mobile);
    --space-xs: var(--space-4);
    --space-sm: var(--space-12);
    --space-md: var(--space-16);
    --space-lg: var(--space-24);
    --space-xl: var(--space-32);
    --space-2xl: var(--space-48);
    --space-3xl: var(--space-64);
    --color-near-black: var(--color-text-primary);
    --color-white: var(--color-surface);
    --color-dark-grey: var(--color-text-secondary);
    --color-medium-grey: var(--color-text-muted);
    --color-light-grey-2: var(--color-border);
    --color-light-grey-3: var(--color-border);
    --color-off-white: var(--color-surface-alt);
    --color-accent-yellow: var(--color-accent);
    --color-accent-yellow-hover: var(--color-accent-hover);
    --color-accent-yellow-light: var(--color-accent-tint);
    --gradient-dark: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
    --gradient-section: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
    --gradient-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: 12px;
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: var(--shadow-2);
    --animation-duration: var(--duration-slow);
    --animation-easing: var(--ease-decelerate);
}

/* Playfair Display headings */
.hero-title,
.page-header-title,
.fp-heading,
.fp-cta-heading,
.page-hero-title,
.pg-title,
.credential-hero-title {
    font-family: var(--font-heading);
    font-weight: var(--weight-700);
}

.text-h1 {
    font-size: var(--text-h1);
    font-family: var(--font-heading);
    font-weight: var(--weight-700);
    line-height: var(--leading-120);
    letter-spacing: -0.03em;
}

.text-h2 {
    font-size: var(--text-h2);
    font-family: var(--font-heading);
    font-weight: var(--weight-700);
    line-height: var(--leading-120);
    letter-spacing: var(--tracking-tight);
}

.text-h3 {
    font-size: var(--text-h3);
    font-family: var(--font-heading);
    font-weight: var(--weight-700);
    line-height: var(--leading-130);
    letter-spacing: var(--tracking-normal);
}

.text-h4 {
    font-size: var(--text-h4);
    font-family: var(--font-body);
    font-weight: var(--weight-600);
    line-height: var(--leading-140);
}

.text-body {
    font-size: var(--text-body);
    font-weight: var(--weight-400);
    line-height: var(--leading-160);
}

.text-small {
    font-size: var(--text-small);
    font-weight: var(--weight-400);
    line-height: var(--leading-150);
}

.text-caption {
    font-size: var(--text-caption);
    font-weight: var(--weight-400);
    line-height: var(--leading-150);
    letter-spacing: var(--tracking-wide);
}

/* ==========================================================================
   3. Layout & Section System
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* -- Dark/Light Section System -- */
.section-dark {
    background-color: var(--color-surface-dark);
    color: var(--color-text-inverse);
    padding-top: var(--space-section-y-mobile);
    padding-bottom: var(--space-section-y-mobile);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--color-text-inverse);
}

.section-dark p {
    color: var(--color-text-inverse-secondary);
}

.section-dark a {
    color: var(--color-text-inverse-secondary);
}

.section-dark a:hover {
    color: var(--color-text-inverse);
}

.section-light {
    background-color: var(--color-surface);
    color: var(--color-text-primary);
    padding-top: var(--space-section-y-mobile);
    padding-bottom: var(--space-section-y-mobile);
}

.section-light+.section-light {
    background-color: var(--color-surface-alt);
}

/* Legacy section classes (backward compat) */
.section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.section-alt {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    background: var(--gradient-section);
}

.section-warm {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    background: var(--gradient-section);
}

.section-glass-bg {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    background: var(--gradient-glass-bg);
}

.section-separator {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

/* -- Section Header Pattern -- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-overline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-caption);
    font-weight: var(--weight-600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-accent);
    margin-bottom: var(--space-16);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    font-weight: var(--weight-700);
    margin-bottom: var(--space-12);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-text-secondary);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-title {
    color: var(--color-text-inverse);
}

.section-dark .section-subtitle {
    color: var(--color-text-inverse-secondary);
}

.section-dark .section-overline {
    color: var(--color-accent);
}

/* -- Grid System -- */
.grid {
    display: grid;
    gap: var(--space-grid-gap-mobile);
}

.grid-2 {
    display: grid;
    gap: var(--space-grid-gap-mobile);
    grid-template-columns: 1fr;
}

.grid-3 {
    display: grid;
    gap: var(--space-grid-gap-mobile);
    grid-template-columns: 1fr;
}

.grid-4 {
    display: grid;
    gap: var(--space-grid-gap-mobile);
    grid-template-columns: 1fr;
}

.bento-grid {
    display: grid;
    gap: var(--space-grid-gap-mobile);
    grid-template-columns: 1fr;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.site-header {
    /* Component tokens */
    --nav-height: 64px;
    --nav-bg: var(--color-surface);
    --nav-link-color: var(--color-text-secondary);
    --nav-link-hover: var(--color-text-primary);
    --nav-active-border: var(--color-accent);

    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    min-height: var(--nav-height);
    transition: border-color var(--transition-fast);
}

.site-header.is-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--elevation-1);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    min-height: var(--nav-height);
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding a {
    font-size: var(--text-h4);
    font-weight: var(--weight-700);
    color: var(--color-text-primary);
    text-decoration: none;
}

.site-branding a:hover {
    color: var(--color-accent);
}

.site-logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo {
    height: 78px;
    width: auto;
    object-fit: contain;
}

.site-name {
    font-size: var(--text-small);
    font-weight: var(--weight-700);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    white-space: nowrap;
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.site-nav {
    display: none;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-nav a {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--weight-500);
    color: var(--nav-link-color);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--nav-link-hover);
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--nav-active-border);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-nav .current-menu-item a,
.site-nav .current_page_item a {
    color: var(--nav-link-hover);
}

.site-nav .current-menu-item a::after,
.site-nav .current_page_item a::after {
    transform: scaleX(1);
}

/* Hamburger */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-4);
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: var(--color-text-primary);
    position: relative;
    transition: background-color var(--transition-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: transform var(--transition-normal);
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

/* Mobile menu open */
body.menu-open .site-nav {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-primary);
    align-items: center;
    justify-content: center;
    z-index: 999;
}

body.menu-open .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

body.menu-open .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-h4);
    min-height: 44px;
    min-width: 44px;
    color: var(--color-text-inverse);
}

body.menu-open .site-nav a:hover {
    color: var(--color-accent);
}


/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
    /* Component tokens */
    --hero-min-height: 100vh;
    --hero-bg: var(--color-surface-dark);
    --hero-title-size: clamp(2.5rem, 5vw, 3.5rem);
    --hero-max-width: 720px;

    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    text-align: left;
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-split {
    background: var(--gradient-dark);
    min-height: 60vh;
    padding-top: 5rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
}

.hero-split::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-split::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    animation-play-state: running !important;
    animation-duration: 0s !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    color: var(--color-near-black);
    margin-bottom: var(--space-md);
    max-width: 600px;
}

.hero-split .hero-title {
    color: var(--color-white);
    max-width: none;
}

.hero-description {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-split .hero-description {
    color: rgba(255, 255, 255, 0.8);
    max-width: none;
}

.hero-logo-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-actions .btn {
    width: 100%;
}

.btn.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
    background: transparent;
}

.btn.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-near-black);
    border-color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   7. Page Header
   ========================================================================== */

.page-header {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
    text-align: center;
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-title {
    font-size: var(--font-size-h1);
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    color: var(--color-near-black);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.page-header-description {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   8. Cards
   ========================================================================== */

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-2);
    border-color: rgba(201, 169, 110, 0.2);
}

.card-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.card-link {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--color-near-black);
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent-yellow);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.card-link:hover {
    color: var(--color-dark-grey);
    border-bottom-color: var(--color-accent-yellow-hover);
}

.card-link:focus-visible {
    outline: 2px solid var(--color-accent-yellow);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}


/* ==========================================================================
   9. Forms
   ========================================================================== */

.form-group {
    /* Component tokens */
    --input-height: 48px;
    --input-px: var(--space-16);
    --input-border: 1px solid var(--gray-500);
    --input-radius: var(--radius-4);
    --input-focus-border: var(--color-accent);
    --input-focus-glow: 0 0 0 3px rgba(201, 169, 110, 0.15);

    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--weight-600);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    height: var(--input-height);
    padding: 0 var(--input-px);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    border: var(--input-border);
    border-radius: var(--input-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: var(--input-focus-glow);
}

.form-group textarea {
    min-height: 120px;
    height: auto;
    padding: var(--space-12) var(--input-px);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-error {
    display: block;
    font-size: var(--text-small);
    color: var(--color-error);
    margin-top: var(--space-xs);
}

.form-success {
    padding: var(--space-sm) var(--space-md);
    background-color: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: var(--border-radius-md);
    color: var(--color-success);
    font-size: var(--font-size-body);
    margin-bottom: var(--space-lg);
}

.form-error-summary {
    padding: var(--space-sm) var(--space-md);
    background-color: #FFEBEE;
    border: 1px solid #EF9A9A;
    border-radius: var(--border-radius-md);
    color: var(--color-error);
    font-size: var(--font-size-body);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   10. Testimonials
   ========================================================================== */

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 1);
}

.testimonial-card blockquote {
    margin: 0 0 var(--space-md) 0;
    padding: 0;
    font-size: var(--font-size-body);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    font-style: italic;
}

.testimonial-card blockquote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--color-accent-yellow);
    line-height: 0;
    vertical-align: -0.5em;
    margin-right: 0.1em;
    font-style: normal;
}

.testimonial-author {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
}

.testimonial-company {
    font-size: var(--font-size-caption);
    color: var(--color-medium-grey);
    margin-top: 0.25rem;
}

.grid-3 .testimonial-card:nth-child(2) {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.grid-3 .testimonial-card:nth-child(3) {
    padding-top: calc(var(--space-lg) + var(--space-xs));
}

/* ==========================================================================
   11. CTA Section (legacy - kept for other pages)
   ========================================================================== */

.cta-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    text-align: center;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 50%, #F0F0F0 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .text-h2 {
    margin-bottom: var(--space-sm);
}

.cta-section p {
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    margin-left: 0 !important;
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   11b. Front Page Sections
   ========================================================================== */

/* -- Shared front page styles -- */
.fp-label {
    display: inline-block;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-yellow);
    margin-bottom: var(--space-sm);
}

.fp-heading {
    font-size: var(--font-size-h2);
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    color: var(--color-near-black);
    margin-bottom: var(--space-md);
}

.fp-subheading {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
}

.fp-heading-light {
    color: var(--color-white);
}

.fp-subheading-light {
    color: rgba(255, 255, 255, 0.75);
}

.fp-section-header {
    margin-bottom: var(--space-xl);
}

/* -- Services Section -- */
.fp-services {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-white);
    position: relative;
}

.fp-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-light-grey-3), transparent);
}

.fp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.fp-service-card {
    position: relative;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(27, 42, 74, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 2px 8px rgba(27, 42, 74, 0.06),
        0 8px 24px rgba(27, 42, 74, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.fp-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: inset 0 0 0 1px rgba(27, 42, 74, 0.04);
    z-index: -1;
    pointer-events: none;
}

.fp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-yellow), #1B2A4A);
    opacity: 1;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.fp-service-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 32px rgba(27, 42, 74, 0.12),
        0 4px 12px rgba(27, 42, 74, 0.08);
    border-color: rgba(27, 42, 74, 0.12);
    background: linear-gradient(145deg, #ffffff 0%, #f0f4fa 100%);
    z-index: 2;
}

.fp-service-card:hover::before {
    height: 4px;
    opacity: 1;
}

.fp-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1B2A4A 0%, #243B6A 100%);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.fp-service-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin-bottom: var(--space-xs);
}

.fp-service-text {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-sm);
}

.fp-service-link {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fp-service-link:hover {
    color: var(--color-accent-yellow-hover);
    transform: translateX(4px);
}

/* -- About Section -- */
.fp-about {
    padding: var(--space-section-y-mobile) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.fp-about::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.fp-about::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.fp-about .fp-label {
    color: var(--color-accent);
}

.fp-about .fp-heading {
    color: var(--color-white);
}

.fp-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.fp-about-content {
    max-width: 560px;
}

.fp-about-text {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.fp-about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.fp-stat {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.fp-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-2px);
}

.fp-stat-number {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.fp-stat-label {
    display: block;
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--font-weight-medium);
}

/* -- CTA Section (front page) -- */
.fp-cta {
    padding: var(--space-section-y-mobile) 0;
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    text-align: center;
}

.fp-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%, #f5f5f5 100%);
    z-index: 0;
}

.fp-cta-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 42, 74, 0.04) 0%, transparent 60%);
}

.fp-cta .container {
    position: relative;
    z-index: 1;
}

.fp-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.fp-cta-heading {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.fp-cta-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
}

.fp-cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
}

.fp-cta-actions .btn.btn-outline-light {
    border-color: var(--color-near-black);
    color: var(--color-near-black);
}

.fp-cta-actions .btn.btn-outline-light:hover {
    background: var(--color-near-black);
    color: var(--color-white);
    border-color: var(--color-near-black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   12. Contact
   ========================================================================== */

.contact-details {
    padding: var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
}

.contact-details h3 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    margin-bottom: var(--space-md);
}

.contact-item {
    margin-bottom: var(--space-md);
}

.contact-item-label {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.contact-item p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--color-dark-grey);
}

.contact-item a:hover {
    color: var(--color-accent-yellow-hover);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
    background: var(--gradient-dark);
    color: var(--color-light-grey-2);
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-lg);
}

.footer-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-2xl);
}

.footer-column-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo-img {
    height: auto;
    width: 100%;
    max-width: 160px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}

.footer-column h3 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column p {
    font-size: var(--font-size-small);
    color: var(--color-light-grey-2);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xs);
}

.footer-column a {
    color: var(--color-light-grey-2);
    font-size: var(--font-size-small);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent-yellow);
}

.footer-column a:focus-visible {
    outline: 2px solid var(--color-accent-yellow);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-locations {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.footer-locations h3 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-locations p {
    font-size: var(--font-size-small);
    color: var(--color-light-grey-2);
    margin: 0 0 var(--space-xs) 0;
}

.footer-locations-detail {
    color: var(--color-medium-grey) !important;
    font-size: var(--font-size-caption) !important;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-light-grey-2);
    font-size: var(--font-size-small);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-accent-yellow);
}

.footer-social a svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-small);
    color: var(--color-medium-grey);
    margin: 0;
}

.footer-bottom-meta {
    margin-top: var(--space-xs) !important;
    font-size: var(--font-size-caption) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

.footer-bottom-credit {
    margin-top: var(--space-xs) !important;
    font-size: var(--font-size-caption) !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

.footer-bottom-credit a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-credit a:hover {
    color: var(--color-accent-yellow);
}


/* ==========================================================================
   14. Buttons
   ========================================================================== */

.btn {
    /* Component tokens */
    --btn-font: var(--font-body);
    --btn-weight: var(--weight-600);
    --btn-radius: var(--radius-4);
    --btn-py: 12px;
    --btn-px: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--btn-py) var(--btn-px);
    font-family: var(--btn-font);
    font-size: var(--text-body);
    font-weight: var(--btn-weight);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-text-primary);
    box-shadow: var(--elevation-2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: currentColor;
    border-color: currentColor;
}

.btn-outline:hover {
    background-color: var(--color-text-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
}

.btn-ghost {
    background-color: transparent;
    color: currentColor;
    border-color: transparent;
    padding: var(--btn-py) var(--space-12);
    font-weight: var(--weight-500);
}

.btn-ghost:hover {
    text-decoration: underline;
}

/* ==========================================================================
   15. Scroll Animations & Hero Entrance
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-decelerate),
        transform var(--duration-slow) var(--ease-decelerate);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-children>*:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-children>*:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-children>*:nth-child(6) {
    transition-delay: 0.5s;
}

/* Hero entrance animation */
.hero-content .hero-title,
.hero-content .hero-description,
.hero-content .hero-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-decelerate),
        transform var(--duration-slow) var(--ease-decelerate);
}

.hero-content .hero-title {
    transition-delay: 0s;
}

.hero-content .hero-description {
    transition-delay: 0.2s;
}

.hero-content .hero-actions {
    transition-delay: 0.4s;
}

.hero-content.is-visible .hero-title,
.hero-content.is-visible .hero-description,
.hero-content.is-visible .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   15b. Page Components (shared across inner pages)
   ========================================================================== */

/* -- Page Hero -- */
.page-hero {
    position: relative;
    padding: var(--space-section-y-mobile) 0;
    background: var(--gradient-dark);
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.page-hero-description {
    font-size: var(--font-size-h4);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--line-height-relaxed);
}

/* -- Breadcrumbs -- */
.breadcrumbs {
    padding: var(--space-sm) 0;
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-light-grey-2);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    font-size: var(--font-size-small);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--color-dark-grey);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--color-accent-yellow-hover);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--color-medium-grey);
}

.breadcrumb-current {
    color: var(--color-near-black);
    font-weight: var(--font-weight-medium);
}

/* -- Page Sections -- */
.pg-section {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-white);
}

.pg-section-dark {
    padding: var(--space-section-y-mobile) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.pg-section-dark::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.pg-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.pg-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.03em;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

.pg-title-light {
    color: var(--color-white);
}

.pg-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.pg-text-light {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.pg-subtitle-light {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.65);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

/* -- Split Layout -- */
.pg-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow:
        0 10px 30px rgba(27, 42, 74, 0.03),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pg-split:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(27, 42, 74, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.pg-section-dark .pg-split {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.pg-section-dark .pg-split:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.pg-split-image {
    order: -1;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.pg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.pg-split:hover .pg-image {
    transform: scale(1.02);
}

/* -- Service Lists -- */
.pg-service-list,
.pg-credentials-list {
    margin: var(--space-md) 0 var(--space-xl);
    padding: 0;
}

.pg-service-list li,
.pg-credentials-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.pg-service-list li::before,
.pg-credentials-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-yellow);
}

.pg-service-list-light li {
    color: rgba(255, 255, 255, 0.75);
}

/* -- Values Grid -- */
.pg-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.pg-value-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.pg-value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-4px);
}

.pg-value-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(201, 169, 110, 0.3);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.pg-value-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.pg-value-text {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.65);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* -- Contact Page -- */
.pg-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.pg-contact-items {
    margin-top: var(--space-xl);
}

.pg-contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pg-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-dark);
    color: var(--color-white);
    flex-shrink: 0;
}

.pg-contact-label {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.pg-contact-value {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    margin: 0;
}

.pg-contact-value a {
    color: var(--color-dark-grey);
}

.pg-contact-value a:hover {
    color: var(--color-accent-yellow);
}

.pg-contact-form-wrap {
    padding: var(--space-xl);
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 4px 15px rgba(27, 42, 74, 0.03),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
}

/* -- Testimonials Page -- */
.pg-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.pg-testimonial-card {
    padding: var(--space-xl);
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 4px 15px rgba(27, 42, 74, 0.03),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pg-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(27, 42, 74, 0.1),
        0 5px 15px rgba(27, 42, 74, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

.pg-testimonial-quote {
    color: var(--color-accent-yellow);
    margin-bottom: var(--space-md);
    opacity: 0.6;
}

.pg-testimonial-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0 0 var(--space-lg) 0;
    padding: 0;
    border: none;
}

.pg-testimonial-name {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 0.25rem 0;
}

.pg-testimonial-role {
    font-size: var(--font-size-small);
    color: var(--color-medium-grey);
    margin: 0;
}

.pg-testimonial-card:nth-child(2),
.pg-testimonial-card:nth-child(5) {
    background: var(--gradient-dark);
    border-color: rgba(255, 255, 255, 0.1);
}

.pg-testimonial-card:nth-child(2) .pg-testimonial-quote,
.pg-testimonial-card:nth-child(5) .pg-testimonial-quote {
    color: var(--color-accent-yellow);
    opacity: 0.8;
}

.pg-testimonial-card:nth-child(2) .pg-testimonial-text,
.pg-testimonial-card:nth-child(5) .pg-testimonial-text {
    color: rgba(255, 255, 255, 0.8);
}

.pg-testimonial-card:nth-child(2) .pg-testimonial-name,
.pg-testimonial-card:nth-child(5) .pg-testimonial-name {
    color: var(--color-white);
}

.pg-testimonial-card:nth-child(2) .pg-testimonial-role,
.pg-testimonial-card:nth-child(5) .pg-testimonial-role {
    color: rgba(255, 255, 255, 0.5);
}

.pg-testimonial-card:nth-child(2):hover,
.pg-testimonial-card:nth-child(5):hover {
    box-shadow: 0 16px 48px rgba(27, 42, 74, 0.3);
    border-color: rgba(201, 169, 110, 0.2);
}

/* -- FAQ Section -- */
.pg-faq-list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.pg-faq-item {
    background: var(--gradient-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg) var(--space-xl);
    transition: all 0.3s ease;
}

.pg-faq-item:first-child,
.pg-faq-item:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pg-faq-item:hover {
    border-color: rgba(201, 169, 110, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pg-faq-item[open] {
    padding-bottom: var(--space-xl);
    border-color: rgba(201, 169, 110, 0.2);
}

.pg-faq-question {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    cursor: pointer;
    padding: var(--space-xs) 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    transition: color var(--transition-fast);
}

.pg-faq-question::-webkit-details-marker {
    display: none;
}

.pg-faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-yellow);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.pg-faq-item[open] .pg-faq-question::after {
    content: '−';
}

.pg-faq-question:hover {
    color: var(--color-accent-yellow);
}

.pg-faq-answer {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height-relaxed);
    margin-top: var(--space-sm);
    padding-right: var(--space-lg);
}

.pg-faq-answer a {
    color: var(--color-accent-yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pg-faq-answer a:hover {
    color: var(--color-white);
}

.pg-subtitle {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* -- Map Section -- */
.pg-map-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.pg-map-wrap iframe {
    width: 100%;
    display: block;
    border: 0;
    border-radius: var(--border-radius-md);
}

.pg-map-actions {
    text-align: center;
    margin-top: var(--space-lg);
}

/* -- Knowledge Base -- */
.kb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.kb-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow:
        0 4px 15px rgba(27, 42, 74, 0.03),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kb-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(27, 42, 74, 0.1),
        0 5px 15px rgba(27, 42, 74, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

.kb-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.kb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kb-card:hover .kb-card-img {
    transform: scale(1.03);
}

.kb-card-content {
    padding: var(--space-lg);
}

.kb-card-date {
    font-size: var(--font-size-caption);
    color: var(--color-medium-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-medium);
}

.kb-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.kb-card-tag {
    display: inline-block;
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    background: var(--gradient-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.kb-card-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: var(--space-xs) 0 var(--space-sm) 0;
    line-height: var(--line-height-tight);
}

.kb-card-title a {
    color: inherit;
    text-decoration: none;
}

.kb-card-title a:hover {
    color: var(--color-accent-yellow-hover);
}

.kb-card-excerpt {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.kb-card-link {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.kb-card-link:hover {
    color: var(--color-accent-yellow-hover);
    transform: translateX(4px);
}

/* -- Single Article -- */
.kb-article-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.kb-article-featured {
    margin-bottom: var(--space-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.kb-article-img {
    width: 100%;
    height: auto;
    display: block;
}

.kb-article-content {
    font-size: var(--font-size-body);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-primary);
}

.kb-article-content h2 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.kb-article-content h3 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.kb-article-content p {
    margin-bottom: var(--space-md);
}

.kb-article-content ul,
.kb-article-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.kb-article-content li {
    margin-bottom: var(--space-xs);
    line-height: var(--line-height-relaxed);
}

.kb-article-content ul li {
    list-style: disc;
}

.kb-article-content ol li {
    list-style: decimal;
}

.kb-article-content strong {
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
}

.kb-article-author {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--border-radius-md);
    border-left: 3px solid var(--color-accent-yellow);
}

.kb-author-text {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.kb-article-links {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-light-grey-2);
}

.kb-article-links h3 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
    margin-bottom: var(--space-md);
}

.kb-article-links a {
    color: var(--color-accent-yellow);
    font-weight: var(--font-weight-medium);
}

.kb-article-links a:hover {
    color: var(--color-accent-yellow-hover);
}

.page-hero-compact {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
}

/* ==========================================================================
   16. Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.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: -100%;
    left: var(--space-sm);
    z-index: 9999;
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--color-near-black);
    color: var(--color-white);
    font-size: var(--font-size-small);
    border-radius: var(--border-radius-sm);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-xs);
    outline: 2px solid var(--color-accent-yellow);
    outline-offset: 2px;
}

/* ==========================================================================
   16b. Floating Action Buttons
   ========================================================================== */

.fab-group {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 900;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
    color: var(--color-white);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #1ebe5d;
}

.fab-call {
    background: var(--gradient-dark);
}

.fab-call:hover {
    background: linear-gradient(135deg, #243B6A 0%, #2d4a82 100%);
}

.fab-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-near-black);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 900;
}

.fab-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.fab-top:hover {
    transform: scale(1.05);
    background: var(--color-dark-grey);
}

/* ==========================================================================
   17. Responsive — Tiny screens
   ========================================================================== */

@media (max-width: 374px) {
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ==========================================================================
   18. Responsive — Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 1.75rem;
    }

    .site-header {
        --nav-height: 72px;
    }

    .section-dark,
    .section-light {
        padding-top: var(--space-section-y);
        padding-bottom: var(--space-section-y);
    }

    .fp-services,
    .fp-about,
    .fp-cta,
    .pg-section,
    .pg-section-dark,
    .page-hero,
    .credentials-section,
    .services-showcase {
        padding-top: var(--space-section-y);
        padding-bottom: var(--space-section-y);
    }

    .site-nav {
        display: block;
    }

    .site-name {
        font-size: var(--font-size-h4);
    }

    .menu-toggle {
        display: none;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid>*:first-child {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .hero-split {
        min-height: 80vh;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .hero-logo-image {
        max-width: 320px;
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-actions .btn {
        width: auto;
    }

    .page-header {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-2xl);
    }

    .section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .section-alt {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .section-warm {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .section-glass-bg {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .cta-section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .cta-section .btn {
        margin-bottom: 0;
    }

    /* Front page responsive - tablet */
    .fp-services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(220px, auto);
        gap: var(--space-lg);
    }

    .fp-services-grid>.fp-service-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .fp-services-grid>.fp-service-card:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .fp-services-grid>.fp-service-card:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .fp-services-grid>.fp-service-card:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .fp-about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .fp-cta-actions {
        flex-direction: row;
    }

    /* Page components responsive - tablet */
    .pg-split {
        grid-template-columns: 1fr 1fr;
    }

    .pg-split-image {
        order: 0;
    }

    .pg-split-reverse .pg-split-content {
        order: 1;
    }

    .pg-split-reverse .pg-split-image {
        order: 0;
    }

    .pg-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pg-contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pg-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn {
        width: auto;
    }

    .kb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .kb-grid>.kb-card:first-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
    }

    .kb-grid>.kb-card:first-child .kb-card-image {
        height: 100%;
        aspect-ratio: auto;
    }
}

/* ==========================================================================
   19. Responsive — Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
    :root {
        --font-size-h1: 2.75rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --container-padding: var(--space-container-x);
    }

    .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(280px, auto);
    }

    .bento-grid>*:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 2fr 1fr 1.5fr;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .hero-grid {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .hero-logo-image {
        max-width: 380px;
    }

    /* Front page responsive - desktop */
    .fp-services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(250px, auto);
        gap: var(--space-xl);
    }

    .fp-services-grid>.fp-service-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .fp-services-grid>.fp-service-card:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .fp-services-grid>.fp-service-card:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .fp-services-grid>.fp-service-card:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Wide bento cards horizontal layout on desktop */
    .fp-services-grid>.fp-service-card:nth-child(1),
    .fp-services-grid>.fp-service-card:nth-child(4) {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "icon title"
            "icon text"
            "icon link";
        gap: 0.25rem var(--space-lg);
        align-items: start;
    }

    .fp-services-grid>.fp-service-card:nth-child(1) .fp-service-icon,
    .fp-services-grid>.fp-service-card:nth-child(4) .fp-service-icon {
        grid-area: icon;
        width: 72px;
        height: 72px;
        margin-bottom: 0;
    }

    .fp-services-grid>.fp-service-card:nth-child(1) .fp-service-icon svg,
    .fp-services-grid>.fp-service-card:nth-child(4) .fp-service-icon svg {
        width: 36px;
        height: 36px;
    }

    .fp-services-grid>.fp-service-card:nth-child(1) .fp-service-title,
    .fp-services-grid>.fp-service-card:nth-child(4) .fp-service-title {
        grid-area: title;
        margin-top: 0;
        font-size: var(--font-size-h3);
    }

    .fp-services-grid>.fp-service-card:nth-child(1) .fp-service-text,
    .fp-services-grid>.fp-service-card:nth-child(4) .fp-service-text {
        grid-area: text;
        margin-bottom: var(--space-sm);
    }

    .fp-services-grid>.fp-service-card:nth-child(1) .fp-service-link,
    .fp-services-grid>.fp-service-card:nth-child(4) .fp-service-link {
        grid-area: link;
    }

    /* Tall bento cards spacing layout on desktop */
    .fp-services-grid>.fp-service-card:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .fp-about-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: var(--space-3xl);
    }

    .fp-about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(130px, auto);
        gap: var(--space-md);
    }

    .fp-about-stats>.fp-stat:nth-child(1) {
        grid-column: span 1;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-xl) var(--space-md);
    }

    .fp-about-stats>.fp-stat:nth-child(2) {
        grid-column: span 2;
        grid-row: span 1;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        text-align: left;
        padding: var(--space-md) var(--space-lg);
    }

    .fp-about-stats>.fp-stat:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-md);
    }

    .fp-about-stats>.fp-stat:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-md);
    }

    .fp-section-header {
        text-align: center;
    }

    .fp-section-header .fp-subheading {
        margin-left: auto;
        margin-right: auto;
    }

    /* Page components responsive - desktop */
    .pg-values-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(180px, auto);
        gap: var(--space-lg);
    }

    .pg-values-grid>.pg-value-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--space-2xl);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(201, 169, 110, 0.3);
    }

    .pg-values-grid>.pg-value-card:nth-child(1) .pg-value-number {
        font-size: 3.5rem;
        margin-bottom: var(--space-sm);
    }

    .pg-values-grid>.pg-value-card:nth-child(1) .pg-value-title {
        font-size: var(--font-size-h2);
        margin-bottom: var(--space-sm);
    }

    .pg-values-grid>.pg-value-card:nth-child(1) .pg-value-text {
        font-size: var(--font-size-body);
        line-height: var(--line-height-relaxed);
    }

    .pg-values-grid>.pg-value-card:nth-child(2) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .pg-values-grid>.pg-value-card:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .pg-values-grid>.pg-value-card:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .pg-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pg-split {
        gap: var(--space-3xl);
    }

    .pg-faq-list {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--space-2xl);
    }

    .kb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .kb-grid>.kb-card:first-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
    }

    .kb-grid>.kb-card:first-child .kb-card-image {
        height: 100%;
        aspect-ratio: auto;
    }

    /* Bento layout override for exactly 3 children in fp-services-grid (e.g., topics grid) */
    .fp-services-grid>.fp-service-card:first-child:nth-last-child(3),
    .fp-services-grid>.fp-service-card:first-child:nth-last-child(3)~.fp-service-card {
        grid-column: unset;
        grid-row: unset;
    }

    .fp-services-grid>.fp-service-card:first-child:nth-last-child(3) {
        grid-column: span 2;
        grid-row: span 1;
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "icon title"
            "icon text"
            "icon link";
        gap: 0.25rem var(--space-lg);
        align-items: start;
    }

    .fp-services-grid>.fp-service-card:first-child:nth-last-child(3)+.fp-service-card {
        grid-column: span 1;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .fp-services-grid>.fp-service-card:first-child:nth-last-child(3)+.fp-service-card+.fp-service-card {
        grid-column: span 2;
        grid-row: span 1;
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "icon title"
            "icon text"
            "icon link";
        gap: 0.25rem var(--space-lg);
        align-items: start;
    }
}


/* ==========================================================================
   20. Prefers Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-content .hero-title,
    .hero-content .hero-description,
    .hero-content .hero-actions {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .stagger-children>* {
        transition-delay: 0s !important;
    }

    .card:hover,
    .bento-card:hover,
    .fp-service-card:hover,
    .service-card:hover,
    .credential-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   21. Glass Effect with Fallback
   ========================================================================== */

.glass-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-dark .glass-effect {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@supports not (backdrop-filter: blur(12px)) {
    .glass-effect {
        background: rgba(255, 255, 255, 0.92);
    }

    .section-dark .glass-effect {
        background: rgba(10, 22, 40, 0.95);
    }
}

/* ==========================================================================
   22. Print Stylesheet
   ========================================================================== */

@media print {

    /* Hide non-essential elements */
    .site-header,
    .site-nav,
    .menu-toggle,
    .site-footer,
    .fab-group,
    .fab-top,
    .hero-canvas,
    .hero::before,
    .hero::after,
    .hero-split::before,
    .hero-split::after,
    .page-hero-bg::before,
    .page-hero-bg::after,
    .fp-cta-bg,
    .skip-link {
        display: none !important;
    }

    /* Reset colors to black on white */
    body {
        color: #000000 !important;
        background: #ffffff !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #000000 !important;
        page-break-after: avoid;
    }

    p,
    li,
    td,
    th {
        color: #000000 !important;
    }

    /* Remove backgrounds and shadows */
    .hero,
    .hero-split,
    .section-dark,
    .section-light,
    .fp-about,
    .pg-section-dark,
    .page-hero,
    .credentials-section,
    .services-showcase {
        background: none !important;
        color: #000000 !important;
        padding: 1rem 0 !important;
    }

    .section-dark h1,
    .section-dark h2,
    .section-dark h3,
    .section-dark h4,
    .section-dark p,
    .section-dark a,
    .fp-about .fp-heading,
    .fp-about .bento-about-text,
    .pg-section-dark .pg-title-light,
    .pg-section-dark .pg-text-light {
        color: #000000 !important;
    }

    .card,
    .bento-card,
    .fp-service-card,
    .service-card,
    .credential-card {
        box-shadow: none !important;
        border: 1px solid #cccccc !important;
        background: #ffffff !important;
    }

    /* Remove animations and transforms */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Show link URLs */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--color-text-secondary);
        font-weight: normal;
    }

    a[href^="#"]::after,
    a[href^="javascript"]::after,
    .btn::after,
    .site-branding a::after,
    .site-logo-link::after {
        content: none;
    }

    /* Remove decorative elements */
    .btn {
        border: 1px solid #000000 !important;
        background: none !important;
        color: #000000 !important;
        box-shadow: none !important;
    }

    img {
        max-width: 100% !important;
    }

    /* Page breaks */
    .section-dark,
    .section-light,
    .hero,
    .fp-about,
    .credentials-section {
        page-break-inside: avoid;
    }
}