/* Blazor Loading Indicator */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--surface-main, #fff);
}

.loading-progress {
    width: 80px;
    height: 80px;
    animation: loading-spin 1.2s linear infinite;
}

.loading-progress circle {
    fill: none;
    stroke-width: 4px;
}

.loading-progress circle:first-child {
    stroke: #e2e8f0;
}

.loading-progress circle:last-child {
    stroke: #ff671f;
    stroke-dasharray: 251.3;
    stroke-dashoffset: 62.8;
    stroke-linecap: round;
}

.loading-progress-text {
    margin-top: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading…");
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

/* ── Accessibility Utilities ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.5rem 1.25rem;
    background: var(--brand-color, #ff671f);
    color: #fff;
    font-family: var(--font-body, sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    transition: top 0.15s ease;
    white-space: nowrap;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

:root {
    /* Refined Enterprise Palette */
    --brand-color: #ff671f;
    --brand-color-hover: #e55a17;
    --brand-light: #fff2ed;
    
    --corp-dark: #0f172a;
    --corp-darker: #020617;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --surface-main: #ffffff;
    --surface-alt: #f8fafc;
    --border-color: #e2e8f0;

    /* Typographic Choices - High-end Corporate Tech */
    --font-heading: 'Hanken Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Elevations */
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 8px 12px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--surface-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--corp-dark);
}

.text-brand { color: var(--brand-color) !important; }
.bg-brand { background-color: var(--brand-color) !important; color: #fff !important; }
.bg-brand-light { background-color: var(--surface-alt) !important; border-bottom: 1px solid var(--border-color); }
.text-muted { color: var(--text-muted) !important; }
.text-center.fw-bold { color: var(--corp-darker); }

/* Global Interactions */
a, .btn-link {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--brand-color-hover);
}

/* Refined Corporate Buttons */
.btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0.8rem 1.75rem;
}

.btn:hover, .btn:active, .btn:focus {
    transform: translateY(-2px);
    outline: none;
}

.btn:focus-visible {
    outline: 3px solid var(--brand-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(255, 103, 31, 0.25);
}

.btn-primary {
    background-color: var(--brand-color);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(255, 103, 31, 0.25);
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: var(--brand-color-hover) !important;
    box-shadow: 0 8px 24px rgba(255, 103, 31, 0.35);
}

.btn-outline-brand {
    background-color: transparent;
    color: var(--corp-dark) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-outline-brand:hover {
    background-color: var(--surface-alt) !important;
    border-color: var(--brand-color);
    color: var(--brand-color) !important;
}

/* Navbar - Clean Glassmorphism */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--corp-dark) !important;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.nav-link {
    color: var(--text-muted) !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--corp-dark) !important;
}

/* Nav Dropdown Refinements */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    background-color: #fff;
    padding: 0.75rem;
    margin-top: 0 !important;
}

.dropdown-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    border-radius: 6px;
    transition: all 0.2s;
}

.dropdown-item:hover, .dropdown-item:active {
    background-color: var(--surface-alt);
    color: var(--brand-color);
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    /* Create an invisible bridge so the mouse doesn't fall into the gap and lose hover state */
    .dropdown::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
}

/* Soft Cards */
.bg-light.rounded, .card {
    background-color: #fff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 2.5rem !important;
}

.bg-light.rounded:hover, .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
    border-color: rgba(255, 103, 31, 0.2) !important;
}

.border-end { border-right: 1px solid var(--border-color) !important; }
.border-top { border-top: none !important; }

/* Premium Icons */
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    background-color: var(--brand-light);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    vertical-align: middle;
}

hr {
    border-top: 1px solid var(--border-color);
    opacity: 1;
    margin: 4rem 0;
}

/* Animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#blazor-error-ui {
    background-color: var(--corp-dark);
    color: #fff;
    bottom: 0;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.container {
    max-width: 1140px;
}

/* ═══════════════════════════════════════════════
   HOME PAGE — Section Visual Separation
   ═══════════════════════════════════════════════ */

.home-section {
    position: relative;
    overflow: hidden;
}

.hero-section.bg-brand-light {
    border-bottom: none;
    padding-bottom: 6rem !important;
}

/* ═══════════════════════════════════════════════
   CINEMATIC HERO
   ═══════════════════════════════════════════════ */

.hero-cinematic {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--corp-darker);
}

.hero-cinematic__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-cinematic__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            rgba(2, 6, 23, 0.92) 0%,
            rgba(2, 6, 23, 0.78) 35%,
            rgba(2, 6, 23, 0.35) 65%,
            rgba(2, 6, 23, 0.15) 100%);
}

.hero-cinematic__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.hero-cinematic__content {
    z-index: 2;
    padding: 8rem 0 6rem;
}

.min-vh-75 {
    min-height: 55vh;
}

.hero-cinematic__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-color);
    border: 1px solid rgba(255, 103, 31, 0.35);
    background: rgba(255, 103, 31, 0.08);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    margin-bottom: 1.75rem;
}

.hero-cinematic__title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
    color: #fff !important;
    margin-bottom: 1.75rem;
    max-width: 620px;
}

.hero-cinematic__subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8 !important;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-cinematic__cta-primary {
    background: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: #fff !important;
    box-shadow: 0 0 30px rgba(255, 103, 31, 0.25);
    transition: all 0.25s ease;
}

.hero-cinematic__cta-primary:hover {
    background: var(--brand-color-hover) !important;
    box-shadow: 0 0 40px rgba(255, 103, 31, 0.4);
    transform: translateY(-1px);
}

.hero-cinematic__cta-secondary {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #e2e8f0 !important;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.hero-cinematic__cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.hero-cinematic__accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--brand-color) 20%,
        var(--brand-color) 35%,
        transparent 55%);
    z-index: 3;
}

/* ── Problems — dot-grid accent ── */
.home-section--problems {
    background: #fff;
    padding: 5rem 0;
}

.home-section--problems::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.35), transparent 70%);
    mask-image: linear-gradient(to left, rgba(0,0,0,0.35), transparent 70%);
}

/* ── Solution — dark diagonal panel ── */
.home-section--solution {
    background: var(--corp-dark);
    padding: 8rem 0;
    clip-path: polygon(0 clamp(20px, 3vw, 50px), 100% 0, 100% calc(100% - clamp(20px, 3vw, 50px)), 0 100%);
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
    z-index: 2;
}

.home-section--solution h2,
.home-section--solution h3 {
    color: #f1f5f9 !important;
}

.home-section--solution p,
.home-section--solution li,
.home-section--solution .text-muted,
.home-section--solution .fs-5 {
    color: #cbd5e1 !important;
}

.home-section--solution img {
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* ── Services — left accent bar ── */
.home-section--services {
    background: #fff;
    padding: 5rem 0;
}

.home-section--services::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, var(--brand-color), transparent);
    border-radius: 0 4px 4px 0;
}

/* ── Industries — warm accent ── */
.home-section--industries {
    background: var(--surface-alt);
    padding: 5rem 0;
    border-top: 3px solid var(--brand-color);
    border-bottom: 1px solid var(--border-color);
}

/* ── Experience — centered ornament ── */
.home-section--experience {
    background: #fff;
    padding: 5rem 0 4rem;
}

.home-section--experience::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--brand-color);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* ── CTA — dark with glow accents ── */
.home-section--cta {
    background: var(--corp-dark);
    padding: 5rem 0;
}

.home-section--cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-section--cta::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-section--cta h2 {
    color: #fff !important;
}

.home-section--cta p,
.home-section--cta .lead {
    color: #94a3b8 !important;
}

/* ═══════════════════════════════════════════════
   OPERATIONS CONSULTING PAGE
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.consulting-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--corp-darker);
}

.consulting-hero__backdrop {
    position: absolute;
    inset: 0;
}

.consulting-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.consulting-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg,
            rgba(2, 6, 23, 0.88) 0%,
            rgba(2, 6, 23, 0.7) 40%,
            rgba(2, 6, 23, 0.3) 70%,
            rgba(2, 6, 23, 0.1) 100%);
}

.min-vh-65 {
    min-height: 50vh;
}

.consulting-hero__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-color);
    border: 1px solid rgba(255, 103, 31, 0.35);
    background: rgba(255, 103, 31, 0.08);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.consulting-hero__title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    color: #fff !important;
    margin-bottom: 1.5rem;
}

.consulting-hero__desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #94a3b8 !important;
    max-width: 520px;
    margin-bottom: 2rem;
}

.consulting-hero__cta {
    box-shadow: 0 0 28px rgba(255, 103, 31, 0.2);
}

.consulting-hero__cta:hover {
    box-shadow: 0 0 40px rgba(255, 103, 31, 0.35);
    transform: translateY(-1px);
}

.consulting-hero__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--brand-color) 0%,
        var(--brand-color) 30%,
        transparent 60%);
    z-index: 3;
}

/* ── Sections ── */
.consulting-section {
    position: relative;
    overflow: hidden;
}

.consulting-section--what-we-do {
    padding: 5rem 0;
    background: #fff;
}

.consulting-section__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 0.75rem;
}

/* ── Checklist ── */
.consulting-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consulting-checklist li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    font-size: 1.05rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

.consulting-checklist li:last-child {
    border-bottom: none;
}

.consulting-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--brand-color);
    border-radius: 1px;
    rotate: 45deg;
}

/* ── Outcomes Card ── */
.consulting-outcomes-card {
    position: relative;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    overflow: hidden;
}

.consulting-outcomes-card__stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-color), transparent 80%);
}

.consulting-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-main);
    height: 100%;
}

.consulting-outcome-item__icon {
    color: var(--brand-color) !important;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    background: none !important;
    width: auto !important;
    height: auto !important;
}

/* ── Approach ── */
.consulting-section--approach {
    padding: 5rem 0;
    background: var(--surface-alt);
    border-top: 1px solid var(--border-color);
}

.consulting-step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.consulting-step-card__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-color);
    opacity: 0.2;
    margin-bottom: 1.25rem;
}

/* ── CTA ── */
.consulting-section--cta {
    padding: 5rem 0;
    background: var(--corp-dark);
}

.consulting-section--cta h2 {
    color: #fff !important;
}

.consulting-section--cta p,
.consulting-section--cta .lead {
    color: #94a3b8 !important;
}

.consulting-section--cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
   Custom Software Page
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.csdev-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--corp-darker);
}

.csdev-hero__backdrop {
    position: absolute;
    inset: 0;
}

.csdev-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.csdev-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.92) 0%,
        rgba(2, 6, 23, 0.72) 35%,
        rgba(2, 6, 23, 0.35) 65%,
        rgba(2, 6, 23, 0.15) 100%);
}

.csdev-hero__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-color);
    border: 1px solid rgba(255, 103, 31, 0.35);
    background: rgba(255, 103, 31, 0.08);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.csdev-hero__title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    color: #fff !important;
    margin-bottom: 1.5rem;
}

.csdev-hero__desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #94a3b8 !important;
    max-width: 520px;
    margin-bottom: 2rem;
}

.csdev-hero__cta {
    box-shadow: 0 0 28px rgba(255, 103, 31, 0.2);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.csdev-hero__cta:hover {
    box-shadow: 0 0 40px rgba(255, 103, 31, 0.35);
    transform: translateY(-1px);
}

.csdev-hero__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--brand-color) 0%,
        var(--brand-color) 30%,
        transparent 60%);
    z-index: 3;
}

/* ── Sections ── */
.csdev-section {
    position: relative;
    overflow: hidden;
}

.csdev-section__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 0.75rem;
}

/* ── Why Section ── */
.csdev-section--why {
    padding: 5rem 0;
    background: #fff;
}

/* Advantage list */
.csdev-advantage-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.csdev-advantage {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.csdev-advantage:last-child {
    border-bottom: none;
}

.csdev-advantage__marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    font-size: 1.1rem;
}

/* Callout card */
.csdev-callout-card {
    position: relative;
    background: var(--corp-dark);
    border-radius: 16px;
    padding: 3rem;
    overflow: hidden;
}

.csdev-callout-card__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        225deg,
        rgba(255, 103, 31, 0.15) 0%,
        transparent 70%);
}

.csdev-callout-card__corner::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--brand-color);
    border-right: 2px solid var(--brand-color);
    opacity: 0.5;
}

.csdev-callout-card__icon {
    font-size: 2.5rem;
    color: var(--brand-color) !important;
    display: block;
    margin-bottom: 1.5rem;
}

.csdev-callout-card h3 {
    color: #fff !important;
}

.csdev-callout-card .text-muted {
    color: #94a3b8 !important;
}

/* ── Services Section ── */
.csdev-section--services {
    padding: 5rem 0;
    background: var(--surface-alt);
    border-top: 1px solid var(--border-color);
}

.csdev-service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem 3rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

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

.csdev-service-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand-color);
    margin-bottom: 1.5rem;
}

.csdev-service-card__tag {
    position: absolute;
    bottom: 1rem;
    right: 1.25rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ── CTA ── */
.csdev-section--cta {
    padding: 5rem 0;
    background: var(--corp-dark);
}

.csdev-section--cta h2 {
    color: #fff !important;
}

.csdev-section--cta p,
.csdev-section--cta .lead {
    color: #94a3b8 !important;
}

.csdev-section--cta::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ═══════════════════════════════════════
   Industries Page
   ═══════════════════════════════════════ */

/* ── Hero ── */
.ind-hero {
    background: var(--corp-darker);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.ind-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ind-hero__inner {
    max-width: 720px;
}

.ind-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-color);
    margin-bottom: 1.25rem;
}

.ind-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.ind-hero__desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
}

.ind-hero__rule {
    width: 48px;
    height: 3px;
    background: var(--brand-color);
    margin-top: 2rem;
    border-radius: 2px;
}

/* ── Panels ── */
.ind-panels {
    background: var(--surface-main);
}

.ind-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.ind-panel--image-right {
    direction: ltr; /* ensure natural reading */
}

.ind-panel__image-col {
    position: relative;
    overflow: hidden;
}

.ind-panel__image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.ind-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.ind-panel:hover .ind-panel__img {
    transform: scale(1.03);
}

.ind-panel__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.2), transparent 60%);
    pointer-events: none;
}

.ind-panel__number {
    position: absolute;
    top: 24px;
    left: 28px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    pointer-events: none;
}

.ind-panel__content-col {
    display: flex;
    align-items: center;
    padding: 3rem;
}

.ind-panel__content {
    max-width: 480px;
}

.ind-panel__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-color);
    margin-bottom: 1rem;
    padding: 6px 14px;
    border: 1px solid rgba(255, 103, 31, 0.25);
    border-radius: 100px;
}

.ind-panel__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.ind-panel__text {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ind-panel__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

.ind-panel__highlight {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 6px 14px;
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
}

.ind-panel__highlight i {
    color: var(--brand-color);
    font-size: .9rem;
}

.ind-panel__link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    color: var(--brand-color);
    text-decoration: none;
    transition: gap .3s ease;
    gap: 0;
}

.ind-panel__link:hover {
    color: #e55b17;
    gap: 4px;
}

/* Alternating backgrounds for rhythm */
.ind-panel:nth-child(even) .ind-panel__content-col {
    background: var(--surface-alt);
}

/* ── CTA Band ── */
.ind-section--cta {
    background: var(--corp-dark);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ind-section--cta h2 {
    font-family: var(--font-heading);
    color: #fff;
}

.ind-section--cta p {
    color: rgba(255, 255, 255, 0.65);
}

.ind-section--cta::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .ind-hero {
        padding: 100px 0 60px;
    }

    .ind-hero__title {
        font-size: 2rem;
    }

    .ind-panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ind-panel--image-right .ind-panel__image-col {
        order: -1;
    }

    .ind-panel__image-wrap {
        min-height: 280px;
    }

    .ind-panel__content-col {
        padding: 2rem 1.25rem;
    }

    .ind-panel__number {
        font-size: 2.5rem;
    }
}

/* ═══════════════════════════════════════
   Case Studies Page
   ═══════════════════════════════════════ */

/* ── Hero ── */
.cs-hero {
    background: var(--corp-darker);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.cs-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cs-hero__inner {
    max-width: 680px;
}

.cs-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-color);
    margin-bottom: 1.25rem;
}

.cs-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.cs-hero__desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
}

.cs-hero__rule {
    width: 48px;
    height: 3px;
    background: var(--brand-color);
    margin-top: 2rem;
    border-radius: 2px;
}

/* ── Featured Case Study ── */
.cs-featured {
    position: relative;
    background: var(--surface-main);
}

.cs-featured__image-band {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.cs-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-featured__image-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.15) 0%,
        rgba(2, 6, 23, 0.4) 100%
    );
    pointer-events: none;
}

.cs-featured__image-label {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
}

.cs-featured__label-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: var(--brand-color);
    padding: 6px 16px;
    border-radius: 100px;
}

.cs-featured__card {
    position: relative;
    max-width: 900px;
    margin: -80px auto 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 2;
}

.cs-featured__card-header {
    padding: 3rem 3rem 0;
}

.cs-featured__kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-color);
    margin-bottom: .75rem;
    padding: 5px 14px;
    border: 1px solid rgba(255, 103, 31, 0.25);
    border-radius: 100px;
}

.cs-featured__card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

/* ── Story Blocks ── */
.cs-featured__story {
    padding: 2rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cs-featured__block {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.cs-featured__block-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-heading);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    padding-top: 4px;
}

.cs-featured__block-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(255, 103, 31, 0.2);
    line-height: 1;
}

.cs-featured__block-text {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

/* ── Results Stats ── */
.cs-featured__results {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cs-featured__stat {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-color);
    min-width: 180px;
    flex: 1;
}

.cs-featured__stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-color);
    line-height: 1;
}

.cs-featured__stat-num i {
    font-size: 1.5rem;
}

.cs-featured__stat-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── CTA Band ── */
.cs-cta {
    background: var(--corp-dark);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
}

.cs-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.cs-cta__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.cs-cta::before {
    content: '';
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .cs-hero {
        padding: 100px 0 60px;
    }

    .cs-hero__title {
        font-size: 2rem;
    }

    .cs-featured__image-band {
        height: 280px;
    }

    .cs-featured__card {
        margin: -48px 1rem 0;
        border-radius: var(--radius-md);
    }

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

    .cs-featured__story {
        padding: 1.5rem;
        gap: 2rem;
    }

    .cs-featured__block {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .cs-featured__results {
        flex-direction: column;
        gap: 1rem;
    }

    .cs-featured__stat {
        min-width: auto;
    }

    .cs-cta {
        margin-top: 3rem;
        padding: 60px 0;
    }
}

/* ── Case Studies Grid ── */
.cs-grid {
    padding: 5rem 0 2rem;
    background: var(--surface-alt);
}

.cs-grid__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.cs-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.cs-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

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

.cs-card__image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cs-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.cs-card:hover .cs-card__img {
    transform: scale(1.04);
}

.cs-card__image-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(2, 6, 23, 0.25));
    pointer-events: none;
}

.cs-card__body {
    padding: 1.75rem;
}

.cs-card__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-color);
    margin-bottom: .75rem;
    padding: 4px 12px;
    border: 1px solid rgba(255, 103, 31, 0.2);
    border-radius: 100px;
}

.cs-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: .75rem;
}

.cs-card__summary {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.cs-card__stats {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cs-card__stat {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.cs-card__stat-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--brand-color);
    line-height: 1;
}

.cs-card__stat-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Grid empty state */
.cs-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: .95rem;
}

.cs-grid__empty p {
    margin-top: .75rem;
}

@media (max-width: 767.98px) {
    .cs-grid {
        padding: 3rem 0 1rem;
    }

    .cs-grid__list {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   About Page
   ═══════════════════════════════════════ */

/* ── Hero ── */
.abt-hero {
    background: var(--corp-darker);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.abt-hero::before {
    content: '';
    position: absolute;
    top: -35%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.abt-hero__inner {
    max-width: 740px;
}

.abt-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-color);
    margin-bottom: 1.25rem;
}

.abt-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 0;
}

.abt-hero__rule {
    width: 48px;
    height: 3px;
    background: var(--brand-color);
    margin-top: 2rem;
    border-radius: 2px;
}

/* ── Story ── */
.abt-story {
    padding: 5rem 0 4rem;
    background: var(--surface-main);
}

.abt-story__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.abt-story__label-col {
    padding-top: 6px;
}

.abt-story__label {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-color);
    position: relative;
    display: inline-block;
}

.abt-story__label::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--brand-color);
    margin-top: .75rem;
    border-radius: 1px;
    opacity: .4;
}

.abt-story__lead {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.abt-story__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.abt-story__pullquote {
    max-width: 860px;
    margin: 3.5rem auto 0;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
}

.abt-story__pullquote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
    padding-left: 2rem;
    border-left: 4px solid var(--brand-color);
}

/* ── Philosophy ── */
.abt-philosophy {
    padding: 5rem 0;
    background: var(--surface-alt);
}

.abt-philosophy__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.abt-philosophy__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brand-color);
    margin-bottom: .75rem;
    padding: 5px 14px;
    border: 1px solid rgba(255, 103, 31, 0.25);
    border-radius: 100px;
}

.abt-philosophy__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: .75rem;
}

.abt-philosophy__subhead {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.abt-philosophy__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.abt-pillar {
    background: var(--surface-main);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

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

.abt-pillar__num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 103, 31, 0.1);
    line-height: 1;
    display: block;
    margin-bottom: 1.25rem;
}

.abt-pillar__icon {
    margin-bottom: 1.25rem;
}

.abt-pillar__icon i {
    font-size: 1.75rem;
    color: var(--brand-color);
}

.abt-pillar__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: .75rem;
}

.abt-pillar__text {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
}

/* ── CTA Band ── */
.abt-cta {
    background: var(--corp-dark);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.abt-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.abt-cta__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.abt-cta::before {
    content: '';
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .abt-hero {
        padding: 100px 0 60px;
    }

    .abt-hero__title {
        font-size: 2rem;
    }

    .abt-story__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .abt-story__pullquote blockquote {
        padding-left: 1.25rem;
        font-size: 1.15rem;
    }

    .abt-philosophy__pillars {
        grid-template-columns: 1fr;
    }

    .abt-cta {
        padding: 60px 0;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT PAGE — prd-* prefix
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.prd-hero {
    background: var(--corp-darker);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.prd-hero::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -8%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.prd-hero__inner {
    max-width: 740px;
}

.prd-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-color);
    margin-bottom: 1.25rem;
}

.prd-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.prd-hero__desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin-bottom: 0;
}

.prd-hero__rule {
    width: 48px;
    height: 3px;
    background: var(--brand-color);
    margin-top: 2rem;
    border-radius: 2px;
}

/* ── Shared section heading ── */
.prd-section-head {
    max-width: 860px;
    margin-bottom: 2rem;
}

.prd-section-head__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 0.75rem;
}

.prd-section-head__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--corp-dark);
    margin: 0;
}

.prd-section-head__desc {
    margin: 0.95rem 0 0;
    max-width: 740px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.prd-section-head--light .prd-section-head__title {
    color: #fff;
}

.prd-section-head--light .prd-section-head__eyebrow {
    color: #ffbb96;
}

/* ── Portfolio cards ── */
.prd-portfolio {
    padding: 100px 0;
    background: var(--surface-alt);
}

.prd-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.prd-jump-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--surface-main);
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.prd-jump-nav a:hover {
    border-color: rgba(255, 103, 31, 0.35);
    color: var(--brand-color);
}

.prd-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.prd-product-card {
    background: var(--surface-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

.prd-product-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand-color);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.prd-product-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    background: var(--brand-light);
    color: var(--brand-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.prd-product-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0 0 0.65rem;
}

.prd-product-card__summary {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.prd-product-card__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.prd-product-card__features li {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}

.prd-product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-color);
    opacity: 0.55;
}

.prd-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

/* ── Fit matrix ── */
.prd-fit {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background:
        radial-gradient(760px 320px at 0% 0%, rgba(255, 103, 31, 0.18), rgba(255, 103, 31, 0) 70%),
        linear-gradient(150deg, #0b1222 0%, #0f1a2f 55%, #111f3a 100%);
}

.prd-fit__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.prd-fit__card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    padding: 1.35rem 1.2rem;
}

.prd-fit__card h3 {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0 0 0.55rem;
}

.prd-fit__card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.76);
}

.prd-fit__card strong {
    color: #ffd3be;
}

/* ── Portfolio foundation ── */
.prd-foundation {
    padding: 100px 0;
    background: #ffffff;
}

.prd-foundation__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.prd-foundation__item {
    border: 1px solid #e1e8f3;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.2rem 1.3rem;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
    transition: border-color 0.24s ease, transform 0.24s ease;
}

.prd-foundation__item:hover {
    border-color: rgba(255, 103, 31, 0.35);
    transform: translateY(-3px);
}

.prd-foundation__item i {
    font-size: 1.3rem;
    color: var(--brand-color);
    margin-bottom: 0.9rem;
}

.prd-foundation__item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #19273c;
    margin: 0 0 0.45rem;
}

.prd-foundation__item p {
    margin: 0;
    font-size: 0.88rem;
    color: #5f6f83;
    line-height: 1.62;
}

/* ── CTA ── */
.prd-cta {
    background: var(--corp-dark);
    padding: 82px 0;
    position: relative;
    overflow: hidden;
}

.prd-cta__glow {
    position: absolute;
    bottom: -35%;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.prd-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.prd-cta__desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
}

/* ── Product page responsive ── */
@media (max-width: 1199.98px) {
    .prd-foundation__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .prd-fit__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .prd-hero {
        padding: 100px 0 60px;
    }

    .prd-hero__title {
        font-size: 2rem;
    }

    .prd-portfolio,
    .prd-fit,
    .prd-foundation {
        padding: 72px 0;
    }

    .prd-jump-nav {
        gap: 0.55rem;
    }

    .prd-jump-nav a {
        width: 100%;
    }

    .prd-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .prd-product-card {
        padding: 1.75rem 1.5rem;
    }

    .prd-product-card__actions {
        flex-direction: column;
    }

    .prd-product-card__actions .btn {
        width: 100%;
    }

    .prd-foundation__grid {
        grid-template-columns: 1fr;
    }

    .prd-cta {
        padding: 64px 0;
    }
}

/* ── 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;
    }
}
