﻿:root {
    /* Logo Colors - matched to brand business card */
    --armr-orange: #F7941D;
    --armr-orange-hover: #DE8112;
    --armr-orange-light: #FFAB47;
    --armr-orange-dark: #C06D0A;
    --armr-blue: #0073BF;
    --armr-blue-hover: #005E9C;
    --armr-blue-light: #338FCC;
    --armr-blue-dark: #004F82;

    /* Background Colors - Light Theme */
    --armr-black: #1A1A1A;
    --armr-dark-charcoal: #2A2A2A;
    --armr-charcoal: #3A3A3A;
    --armr-white: #FFFFFF;
    --armr-off-white: #F8F9FA;
    --armr-light-gray: #F0F2F5;

    /* Metallic/Silver tones */
    --armr-metallic: #8C9BAA;
    --armr-metallic-dark: #465A6C;
    --armr-metallic-light: #C5D3E0;
    --armr-metallic-silver: #C0C0C0;
    --armr-metallic-silver-light: #E8E8E8;
    --armr-metallic-silver-dark: #A8A8A8;
    --armr-metallic-platinum: #E5E4E2;
    --armr-metallic-steel: #71797E;

    /* Gray Scale */
    --armr-gray-50: #F9FAFB;
    --armr-gray-100: #F3F4F6;
    --armr-gray-200: #E5E7EB;
    --armr-gray-300: #D1D5DB;
    --armr-gray-400: #9CA3AF;
    --armr-gray-500: #6B7280;
    --armr-gray-600: #4B5563;
    --armr-gray-700: #374151;
    --armr-gray-800: #1F2937;
    --armr-gray-900: #111827;

    /* Shadows */
    --armr-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --armr-shadow-md: 0 8px 25px rgba(0, 0, 0, 0.12);
    --armr-shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --armr-shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    /* Gradients */
    --armr-gradient-primary: linear-gradient(135deg, #0073BF 0%, #338FCC 50%, #004F82 100%);
    --armr-gradient-blue: linear-gradient(135deg, #0073BF 0%, #338FCC 50%, #005E9C 100%);
    --armr-gradient-metallic: linear-gradient(135deg, #E5E4E2 0%, #C0C0C0 50%, #A8A8A8 100%);
    --armr-gradient-dark: linear-gradient(135deg, #004F82 0%, #465A6C 50%, #1A1A1A 100%);
    --armr-gradient-accent: linear-gradient(90deg, var(--armr-blue) 0%, var(--armr-blue) 50%, var(--armr-orange) 50%, var(--armr-orange) 100%);

    /* Border Radius */
    --armr-border-radius: 8px;
    --armr-border-radius-lg: 12px;

    /* Chamfer (angular cut-corner) sizes, matching the card's clipped corner */
    --armr-chamfer: 18px;
    --armr-chamfer-sm: 10px;
    --armr-chamfer-lg: 28px;

    /* MEWP facet - bold asymmetric cut evoking a lift-platform deck, replaces plain rectangles */
    --armr-facet: polygon(36px 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%, 0 36px);
    --armr-facet-sm: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
    --armr-facet-lg: polygon(56px 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%, 0 56px);

    /* Transitions */
    --armr-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --armr-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Blueprint / circuit-line texture, echoing the back of the business card */
    --armr-blueprint-texture:
        linear-gradient(rgba(0, 115, 191, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 115, 191, 0.05) 1px, transparent 1px);
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--armr-gray-800);
    background: var(--armr-white);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 148, 29, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 115, 191, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(247, 148, 29, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Outfit, 'Source Sans 3', sans-serif;
    font-weight: 650;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--armr-gray-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--armr-gray-900);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    position: relative;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--armr-gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--armr-gray-700);
}

a {
    color: var(--armr-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--armr-blue-hover);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* About section decorative elements */
.about-decoration-1 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--armr-orange);
    opacity: 0.1;
    border-radius: 20px;
    z-index: -1;
}

.about-decoration-2 {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: var(--armr-metallic);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* Common utility classes */
.text-orange {
    color: var(--armr-orange) !important;
}

.text-gray-800 {
    color: var(--armr-gray-800) !important;
}

.text-metallic-light {
    color: var(--armr-metallic-light) !important;
}

.section-header {
    color: var(--armr-blue);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Icon circles */
.icon-circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
    min-width: 80px;
}

/* Partner logos */
.partner-logo {
    max-height: 60px;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* CTA section background */
.cta-section {
    background: linear-gradient(135deg, var(--armr-blue-dark) 0%, var(--armr-metallic-dark) 100%) !important;
    color: var(--armr-white);
}

.cta-section h2,
.cta-section p {
    color: var(--armr-white);
}

/* About page specific styles */
.decorative-line {
    width: 100px;
    height: 3px;
    background-color: var(--armr-blue);
    margin-bottom: 30px;
}

.mission-border {
    border-color: var(--armr-blue) !important;
}

.vision-border {
    border-color: var(--armr-metallic) !important;
}

/* Navbar Styling */
.armr-navbar {
    background-color: var(--armr-white);
    padding: 8px 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--armr-gray-200);
}

.armr-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--armr-gradient-accent);
}

.armr-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 6px;
    background: var(--armr-metallic-silver);
    clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%);
    z-index: 1;
}

.armr-navbar .navbar-brand img,
.navbar-logo {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
}

.armr-footer .footer-brand img,
.footer-logo {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    background: var(--armr-white);
    padding: 4px 8px;
    border-radius: 4px;
}

.armr-logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: #C0C0C0; /* Fallback color for browsers that don't support gradient text */
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
    background: linear-gradient(145deg, #E8E8E8, #A8A8A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Standard property fallback */
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.3),
        -1px -1px 2px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(192, 192, 192, 0.5);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
    transform: perspective(500px) rotateX(15deg);
    transition: all 0.3s ease;
    /* Ensure the logo doesn't get affected by link styles */
    text-decoration: none !important;
}

.armr-logo:hover {
    background: linear-gradient(145deg, #F0F0F0, #B8B8B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Standard property fallback */
    text-shadow:
        3px 3px 6px rgba(0, 0, 0, 0.4),
        -2px -2px 3px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(192, 192, 192, 0.7);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transform: perspective(500px) rotateX(10deg) scale(1.05);
    text-decoration: none !important;
}

.armr-navbar .navbar-nav .nav-link {
    color: var(--armr-gray-700);
    font-weight: 500;
    font-family: Outfit, sans-serif;
    padding: 0.45rem 0.85rem;
    font-size: 0.92rem;
    position: relative;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.armr-navbar .navbar-nav .nav-link:hover,
.armr-navbar .navbar-nav .nav-link.active {
    color: var(--armr-blue);
}

.armr-navbar .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--armr-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.armr-navbar .navbar-nav .nav-link:hover:after,
.armr-navbar .navbar-nav .nav-link.active:after {
    width: 30px;
    opacity: 1;
}

.dropdown-menu {
    background-color: var(--armr-white);
    border: 1px solid var(--armr-gray-200);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--armr-gray-700);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--armr-gray-50);
    color: var(--armr-blue);
}

.dropdown-header {
    color: var(--armr-gray-500);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Button Styling */
.armr-btn {
    background: var(--armr-gradient-primary);
    color: var(--armr-white);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 0;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--armr-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
    box-shadow: var(--armr-shadow-md);
    min-width: 140px;
}

.armr-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: var(--armr-transition);
    z-index: -1;
}

.armr-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--armr-transition);
    z-index: -1;
}

.armr-btn:hover {
    background: linear-gradient(135deg, #004F82 0%, #0073BF 50%, #003C63 100%);
    color: var(--armr-white);
    box-shadow: var(--armr-shadow);
    transform: translateY(-1px);
}

.armr-btn:hover::before {
    left: 0;
}

.armr-btn:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.armr-btn:active {
    transform: translateY(-1px);
    box-shadow: var(--armr-shadow);
}

.armr-btn-outline {
    background: transparent;
    color: var(--armr-blue);
    border: 2px solid var(--armr-blue);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.armr-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--armr-gradient-primary);
    transition: var(--armr-transition);
    z-index: -1;
}

.armr-btn-outline:hover {
    color: var(--armr-white);
    border-color: var(--armr-blue-hover);
    box-shadow: var(--armr-shadow);
    transform: translateY(-1px);
}

/* On blue-toned dark sections, buttons need to contrast against the blue background instead of blending in */
.armr-hero .armr-btn,
.cta-section .armr-btn {
    background: var(--armr-gradient-primary);
    /* Darker stops than the base orange token so white button text clears WCAG AA (~4.5:1) */
    background: linear-gradient(135deg, var(--armr-orange-dark) 0%, var(--armr-orange) 50%, var(--armr-orange-dark) 100%);
}

.armr-hero .armr-btn:hover,
.cta-section .armr-btn:hover {
    background: linear-gradient(135deg, #A65800 0%, var(--armr-orange-dark) 50%, #8A4A00 100%);
}

.armr-hero .armr-btn-outline,
.cta-section .armr-btn-outline {
    color: var(--armr-white);
    border-color: var(--armr-white);
}

.armr-hero .armr-btn-outline:hover,
.cta-section .armr-btn-outline:hover {
    color: var(--armr-white);
    border-color: var(--armr-orange);
}

.armr-hero .armr-btn-outline::before,
.cta-section .armr-btn-outline::before {
    background: linear-gradient(135deg, var(--armr-orange) 0%, var(--armr-orange-light) 100%);
}

.armr-btn-outline:hover::before {
    left: 0;
}

.armr-btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
    min-width: 160px;
    border-radius: var(--armr-border-radius-lg);
}

.armr-btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    min-width: 120px;
}

.hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero Section */
.armr-hero {
    background: #062033;
    color: var(--armr-white);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #f3f5f7;
}

.hero-reel,
.hero-reel-slide,
.hero-video {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-video.is-playing {
    opacity: 1;
}

.hero-media:has(.hero-video.is-playing) .hero-reel {
    visibility: hidden;
}

.hero-reel-slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 78% 70%;
    background-color: #f3f5f7;
    opacity: 0;
    transform: scale(1);
    animation: heroReel 32s linear infinite;
    will-change: opacity, transform;
}

.hero-reel-slide:nth-child(1) { animation-name: heroReelZoom; animation-delay: 0s; }
.hero-reel-slide:nth-child(2) { animation-name: heroReelPan; animation-delay: 8s; }
.hero-reel-slide:nth-child(3) { animation-name: heroReelZoom; animation-delay: 16s; }
.hero-reel-slide:nth-child(4) { animation-name: heroReelPan; animation-delay: 24s; }

/* One-time "boom raising" reveal on the first hero slide: clips the photo from the base
   and unfolds it upward so the boom reads as extending to full height on first paint,
   holds so the motion actually registers, then continues into the same zoom/hold/fade
   beats as heroReelZoom so the loop is seamless. animation-play-state is toggled from
   "paused" via JS once the page has painted, so the reveal always starts from frame zero
   instead of being partway done (or missed) by the time a viewer looks at the hero. */
.hero-reel-boom-rise {
    animation-name: heroBoomRise;
    animation-duration: 32s;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}

.hero-reel-boom-rise.is-rising {
    animation-play-state: running;
}

@keyframes heroBoomRise {
    0% {
        opacity: 1;
        clip-path: inset(0 0 100% 0);
        transform: scale(1.06) translateY(2%);
    }
    18% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: scale(1.06) translateY(2%);
    }
    32% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: scale(1) translateY(0);
    }
    68% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: scale(1.1) translate(-1.4%, -1%);
    }
    72% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: scale(1.12) translate(-1.8%, -1.2%);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
        transform: scale(1.12) translate(-1.8%, -1.2%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reel-boom-rise {
        animation-play-state: paused;
    }
}

@keyframes heroReelZoom {
    0% { opacity: 0; transform: scale(1) translate(0, 0); }
    5% { opacity: 1; }
    25% { opacity: 1; transform: scale(1.14) translate(-1.4%, -1%); }
    30% { opacity: 0; transform: scale(1.16) translate(-1.8%, -1.2%); }
    100% { opacity: 0; transform: scale(1.16) translate(-1.8%, -1.2%); }
}

@keyframes heroReelPan {
    0% { opacity: 0; transform: scale(1.12) translate(-2%, 0); }
    5% { opacity: 1; }
    25% { opacity: 1; transform: scale(1) translate(1%, 1%); }
    30% { opacity: 0; transform: scale(1) translate(1.4%, 1.2%); }
    100% { opacity: 0; transform: scale(1) translate(1.4%, 1.2%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-reel-slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .hero-reel-slide:first-child {
        opacity: 1;
    }
}

.armr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(6, 32, 51, 0.84) 0%, rgba(6, 32, 51, 0.52) 46%, rgba(6, 32, 51, 0.22) 100%),
        linear-gradient(to top, rgba(6, 32, 51, 0.4) 0%, transparent 34%);
    z-index: 1;
}

.armr-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--armr-white), transparent);
    z-index: 1;
}

.armr-hero:has(.hero-brand-bar) {
    padding-bottom: 7rem;
}

.armr-hero:has(.hero-brand-bar)::after {
    display: none;
}

.hero-brand-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(6, 32, 51, 0.94) 0%, rgba(6, 32, 51, 0.72) 62%, transparent 100%);
    padding: 2.4rem 0 1.1rem;
}

.hero-brand-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-brand-line,
.hero-brand-sub {
    margin: 0;
    font-family: var(--armr-font-display, "Outfit", sans-serif);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-brand-line {
    color: #fff;
    font-size: clamp(0.78rem, 1.5vw, 0.95rem);
    font-weight: 700;
}

.hero-brand-line span {
    color: var(--armr-orange);
}

.hero-brand-sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.68rem, 1.2vw, 0.8rem);
    font-weight: 600;
}

.hero-brand-chevrons {
    width: 54px;
    height: 18px;
    flex-shrink: 0;
    background:
        linear-gradient(135deg, transparent 50%, #1d4f91 50%) 0 0 / 18px 18px no-repeat,
        linear-gradient(135deg, transparent 50%, #4aa3d9 50%) 18px 0 / 18px 18px no-repeat,
        linear-gradient(135deg, transparent 50%, var(--armr-orange) 50%) 36px 0 / 18px 18px no-repeat;
}

html[dir="rtl"] .hero-brand-chevrons {
    transform: scaleX(-1);
}

@media (max-width: 767px) {
    .hero-brand-chevrons {
        display: none;
    }
}

.hero-content {
    text-align: start;
    max-width: 38rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.08;
    position: relative;
    display: block;
    color: var(--armr-white);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    transform: none;
    width: 72px;
    height: 3px;
    background: var(--armr-orange);
    border-radius: 0;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin: 28px 0 0;
    color: var(--armr-gray-200);
    max-width: 34rem;
    font-weight: 400;
    line-height: 1.55;
    opacity: 0.92;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

@keyframes heroLineExpand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .armr-hero {
        padding: 72px 0 64px;
        min-height: 78vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Section Styling */
.section-spacing {
    padding: 100px 0;
}

.section-spacing-sm {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--armr-gray-100) !important;
}

.bg-dark {
    background-color: var(--armr-blue-dark) !important;
}

.bg-metallic {
    background-color: var(--armr-metallic-dark) !important;
    color: var(--armr-white);
}

/* Override Bootstrap's default black table-dark with the brand's blue/metallic tone */
.table-dark {
    --bs-table-bg: var(--armr-blue-dark);
    --bs-table-color: var(--armr-white);
    --bs-table-border-color: var(--armr-metallic-dark);
    background-color: var(--armr-blue-dark);
}

/* Override Bootstrap's default black btn-dark with the brand's blue tone */
.btn-dark {
    --bs-btn-bg: var(--armr-blue-dark);
    --bs-btn-border-color: var(--armr-blue-dark);
    --bs-btn-hover-bg: var(--armr-blue);
    --bs-btn-hover-border-color: var(--armr-blue);
    --bs-btn-active-bg: var(--armr-blue-hover);
    --bs-btn-active-border-color: var(--armr-blue-hover);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2 {
    font-weight: 700;
    color: var(--armr-gray-900);
    display: inline-block;
    padding-bottom: 20px;
    position: relative;
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--armr-orange), var(--armr-blue));
    border-radius: 2px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--armr-gray-300);
}

.section-title p {
    color: var(--armr-gray-600);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brands Section */
.brands-section {
    padding: 100px 0;
}

.section-divider {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--armr-gray-100) 25%, transparent 25%) -50px 0,
                linear-gradient(225deg, var(--armr-gray-100) 25%, transparent 25%) -50px 0,
                linear-gradient(315deg, var(--armr-gray-100) 25%, transparent 25%),
                linear-gradient(45deg, var(--armr-gray-100) 25%, transparent 25%);
    background-size: 100px 100px;
    background-color: var(--armr-white);
}

.brand-card {
    background: linear-gradient(135deg, var(--armr-white) 0%, var(--armr-off-white) 100%);
    border-radius: 0;
    clip-path: var(--armr-facet);
    padding: 45px 35px;
    text-align: center;
    transition: var(--armr-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--armr-shadow);
    border: 2px solid var(--armr-gray-300);
    overflow: hidden;
    z-index: 1;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--armr-orange), var(--armr-blue));
    transition: var(--armr-transition);
    z-index: 1;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.03) 0%, transparent 70%);
    transition: var(--armr-transition);
    opacity: 0;
    z-index: -1;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--armr-shadow-md);
    border-color: var(--armr-blue);
}

.brand-card:hover::before {
    background: var(--armr-gradient-primary);
    height: 8px;
}

.brand-card:hover::after {
    opacity: 1;
    top: -25%;
    right: -25%;
}

.brand-card .icon {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--armr-metallic-dark);
    position: relative;
    display: inline-block;
    transition: var(--armr-transition);
    background: var(--armr-gradient-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-card:hover .icon {
    background: var(--armr-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.15) rotateY(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 115, 191, 0.3));
}

/* Realistic 3D-rendered icon images, replacing flat glyphs where a matching render exists */
.icon-3d {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: var(--armr-transition);
}

.icon-3d-sm {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-3d-lg {
    width: 5.5rem;
    height: 5.5rem;
}

.brand-card:hover .icon-3d,
.facet-card:hover .icon-3d {
    transform: none;
}

.icon-ai-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f5f7;
    flex-shrink: 0;
}

.icon-ai-wrap-sm {
    width: 40px;
    height: 40px;
}

.icon-ai-wrap-md {
    width: 80px;
    height: 80px;
}

.icon-ai-wrap-lg {
    width: 100px;
    height: 100px;
}

.icon-ai-wrap .icon-ai {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-ai-sm {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: cover;
    border-radius: 4px;
    vertical-align: -0.25em;
}

.facet-card .icon-ai-wrap {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

/* Real equipment photos used as icons instead of any illustrated glyph */
.icon-photo {
    display: inline-block;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--armr-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: var(--armr-transition);
}

.icon-photo-sm {
    width: 3.25rem;
    height: 3.25rem;
    border-width: 2px;
}

.brand-card:hover .icon-photo,
.facet-card:hover .icon-photo {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--armr-blue);
}

.brand-card h3 {
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--armr-gray-900);
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 20px;
    transition: var(--armr-transition);
}

.brand-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--armr-gradient-metallic);
    border-radius: 2px;
    transition: var(--armr-transition);
}

.brand-card:hover h3 {
    color: var(--armr-blue);
}

.brand-card:hover h3::after {
    width: 90px;
    background: linear-gradient(90deg, var(--armr-orange), var(--armr-blue));
}

.brand-card p {
    color: var(--armr-gray-600);
    margin-bottom: 30px;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
    transition: var(--armr-transition);
}

.brand-card:hover p {
    color: var(--armr-gray-700);
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    max-width: 500px;
}

.about-img img {
    width: 100%;
    border-radius: 0;
    clip-path: var(--armr-facet-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--armr-blue);
}

/* Additional UI Elements */
.hover-lift {
    transition: var(--armr-transition);
    position: relative;
    overflow: hidden;
}

.hover-lift::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: var(--armr-transition);
    z-index: -1;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.hover-lift:hover::before {
    opacity: 1;
}

.rounded-lg {
    border-radius: 0 !important;
    clip-path: var(--armr-facet-lg);
}

/* Service page hero images - faceted instead of plain rounded corners */
.container .img-fluid.rounded {
    border-radius: 0 !important;
    clip-path: var(--armr-facet-lg);
}

/* Professional card enhancements */
.card {
    transition: var(--armr-transition);
    border: 1px solid var(--armr-gray-200);
    background: linear-gradient(135deg, var(--armr-white) 0%, var(--armr-off-white) 100%);
}

/* MEWP-inspired faceted card - opt-in angular shape for marketing surfaces (not admin forms/tables) */
.facet-card {
    border-radius: 0 !important;
    clip-path: var(--armr-facet-sm);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--armr-gray-200) !important;
    background-color: var(--armr-gray-50);
}

.facet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--armr-blue), var(--armr-orange));
    z-index: 2;
}

.facet-card:hover {
    border-color: var(--armr-blue) !important;
}

.card:hover {
    border-color: var(--armr-blue);
    box-shadow: var(--armr-shadow-lg);
}

/* Icon enhancements */
.icon-circle {
    background: var(--armr-gradient-metallic);
    transition: var(--armr-transition);
}

.icon-circle:hover {
    background: var(--armr-gradient-primary);
    transform: scale(1.05);
}
.shadow-sm {
    box-shadow: var(--armr-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--armr-shadow-lg) !important;
}

.bg-gradient-primary {
    background: linear-gradient(to right, var(--armr-blue), var(--armr-blue-light));
}

.text-gradient {
    background: linear-gradient(to right, var(--armr-blue), var(--armr-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-hover {
    transition: all 0.3s ease;
    border: 1px solid var(--armr-gray-200);
}

.border-hover:hover {
    border-color: var(--armr-blue);
}

.hero-buttons {
    margin-top: 40px;
}

/* Footer Styling */
.armr-footer {
    background: linear-gradient(135deg, var(--armr-blue-dark) 0%, var(--armr-metallic-dark) 100%);
    color: var(--armr-white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.armr-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--armr-orange), var(--armr-blue));
}

.armr-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(247, 148, 29, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    pointer-events: none;
    z-index: 1;
}

.armr-footer .container {
    position: relative;
    z-index: 2;
}

.armr-footer h5 {
    color: var(--armr-white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.armr-footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--armr-gradient-primary);
    border-radius: 2px;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    background: var(--armr-gradient-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-text {
    color: var(--armr-gray-300);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-link {
    color: var(--armr-gray-300);
    text-decoration: none;
    transition: var(--armr-transition);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--armr-orange-light);
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--armr-gray-400);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Social icons - official per-platform brand colors so they read as real logos, not theme-tinted glyphs */
.social-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--armr-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

.social-icon-linkedin {
    background-color: #0A66C2;
}

.social-icon-twitter {
    background-color: #000000;
}

.social-icon-facebook {
    background-color: #1877F2;
}

.armr-footer input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.armr-footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--armr-orange-light);
    box-shadow: none;
    color: var(--armr-white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-brand {
    color: var(--armr-white);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-text {
    color: var(--armr-metallic-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-link {
    color: var(--armr-metallic-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--armr-orange-light);
    text-decoration: none;
}

.footer-copyright {
    color: var(--armr-metallic);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--armr-metallic-dark);
    color: var(--armr-metallic);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--armr-white);
        padding: 15px;
        border-radius: 8px;
        box-shadow: var(--armr-shadow-md);
        margin-top: 10px;
    }

    .armr-navbar .navbar-nav .nav-link {
        padding: 0.75rem 0.85rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-img, .about-text {
        max-width: 100%;
    }
}

/* Custom navbar toggler for light theme */
.armr-navbar .navbar-toggler {
    border-color: var(--armr-blue);
    padding: 0.5rem 0.75rem;
}

.armr-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230073BF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.armr-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 115, 191, 0.25);
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .brand-card {
        margin-bottom: 30px;
    }
}

/* Light background sections */
.bg-light {
    background: var(--armr-gray-50) !important;
}

.bg-white {
    background: var(--armr-white) !important;
}

/* Icon Colors - Blue Theme (orange reserved for accent stripes only) */
.text-orange,
i.text-orange {
    color: var(--armr-orange) !important;
    background: none !important;
    -webkit-text-fill-color: var(--armr-orange) !important;
    filter: none !important;
}

.text-blue,
i.text-blue {
    color: var(--armr-blue) !important;
    background: none !important;
    -webkit-text-fill-color: var(--armr-blue) !important;
    filter: none !important;
}

/* Card icon styling */
.brand-card .icon i,
.card .icon i {
    color: var(--armr-metallic-dark) !important;
    background: none !important;
    -webkit-text-fill-color: var(--armr-metallic-dark) !important;
    filter: none !important;
    transition: all 0.3s ease;
}

.brand-card:hover .icon i,
.card:hover .icon i {
    color: var(--armr-blue) !important;
    -webkit-text-fill-color: var(--armr-blue) !important;
    transform: scale(1.1);
}

/* Reset default icon styles for cleaner look */
i[class*="fa-"] {
    transition: all 0.3s ease;
}

/* —— Public chrome (full-bleed layout, page heroes, footer) —— */

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 2000;
    background: var(--armr-blue);
    color: #fff;
    padding: 8px 14px;
    font-weight: 600;
}
.skip-link:focus {
    top: 12px;
    color: #fff;
}

main#main {
    min-height: 50vh;
}

.navbar-logo {
    display: block;
}

.armr-navbar .nav-link.active {
    color: var(--armr-blue) !important;
}

.armr-navbar .nav-cart {
    padding-left: 0.7rem;
    padding-right: 0.9rem;
}

/* Always-visible cart icon next to the hamburger toggler, since the rest of
   the nav (including the desktop cart link) lives inside the collapsed
   mobile menu and isn't reachable until the user opens it. */
.armr-navbar .nav-cart-mobile {
    order: 2;
    margin-left: auto;
    margin-right: 0.75rem;
    padding: 0.5rem 0.6rem;
    font-size: 1.1rem;
    color: var(--armr-gray-700);
}

.armr-navbar .navbar-toggler {
    order: 3;
}

.armr-navbar .armr-btn-sm {
    padding: 10px 18px;
    min-width: 0;
    font-size: 0.8rem;
}

.chrome-admin .armr-navbar {
    border-bottom: 1px solid var(--armr-gray-200);
}

.chrome-admin .admin-wrapper {
    width: 100%;
    min-height: calc(100vh - 72px);
}

/* The base h1-h6/p rules above are sized for marketing hero sections (clamp() up to 3-4rem,
   1.1rem/1.8 line-height body copy). Admin screens use plain heading/paragraph tags for dense
   card titles, section headers and descriptions, so without this override every ERP screen
   inherits landing-page-sized type. */
.chrome-admin h1 { font-size: 1.75rem; }
.chrome-admin h2 { font-size: 1.5rem; }
.chrome-admin h3 { font-size: 1.25rem; }
.chrome-admin h4 { font-size: 1.125rem; }
.chrome-admin h5 { font-size: 1rem; }
.chrome-admin h6 { font-size: 0.8rem; }

.chrome-admin p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* .armr-btn is the public site's big uppercase CTA button (Request a Quote, etc.), reused
   throughout admin forms for routine actions (Save, Add, Update). Shrink it to admin scale
   here rather than editing every view. */
.chrome-admin .armr-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    min-width: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-family: Outfit, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--armr-orange);
    margin-bottom: 16px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
}

.page-hero {
    background-color: var(--armr-blue-dark);
    background-image: var(--armr-blueprint-texture);
    background-size: 48px 48px;
    color: var(--armr-white);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after,
.hero-media::before,
.hero-media::after,
.hero-corner-accent {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.page-hero-photo {
    background-color: #f3f5f7;
    background-image: linear-gradient(100deg, rgba(12, 28, 48, 0.88) 0%, rgba(12, 28, 48, 0.55) 55%, rgba(12, 28, 48, 0.28) 100%), var(--page-hero-image);
    background-size: cover, contain;
    background-position: center, 82% 70%;
    background-repeat: no-repeat;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.page-hero h1 {
    color: var(--armr-white);
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero-eyebrow {
    font-family: Outfit, sans-serif;
    color: var(--armr-orange);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero-lead {
    color: rgba(255, 255, 255, 0.86);
    max-width: 36rem;
    font-size: 1.15rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.brand-card-media {
    margin: -45px -35px 24px;
    padding-top: 4px;
    height: 164px;
    overflow: hidden;
    background: #f3f5f7;
    clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
}

.brand-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Shared parts-catalog card (Tires, Joysticks, and similar brand/part listing pages) */
.product-card {
    border: 1px solid var(--armr-gray-200);
    border-radius: 0;
    clip-path: var(--armr-facet-sm);
    overflow: hidden;
    transition: var(--armr-transition);
    background: var(--armr-white);
    box-shadow: var(--armr-shadow);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--armr-shadow-md);
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background: var(--armr-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.1rem 1.2rem;
    background:
        linear-gradient(160deg, rgba(0, 70, 120, 0.08) 0%, rgba(0, 115, 191, 0.16) 100%),
        linear-gradient(135deg, #eef2f7 0%, #dce5f0 100%);
}

.product-ph-brand {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--armr-orange);
}

.product-ph-part {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--armr-blue-dark);
    word-break: break-word;
}

.product-body {
    padding: 1rem;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--armr-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--armr-gray-800);
}

.product-part-number {
    font-size: 0.9rem;
    color: var(--armr-blue);
    font-weight: 600;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #198754;
}

.product-specs {
    font-size: 0.85rem;
    color: var(--armr-gray-600);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--armr-blue);
    color: var(--armr-white);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Two flex-grow buttons side by side in a narrow product card must be free to
   shrink below the global .armr-btn-sm min-width, or they overflow the card
   on narrow viewports and the facet clip-path corner spills outside it. */
.product-body .d-flex .armr-btn-sm {
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
}

.product-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--armr-charcoal);
    color: var(--armr-white);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.brand-section {
    margin-bottom: 3rem;
}

.brand-header {
    background: linear-gradient(135deg, var(--armr-charcoal) 0%, var(--armr-gray-600) 100%);
    color: var(--armr-white);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--armr-white);
}

.brand-products {
    background: var(--armr-gray-100);
    padding: 1.5rem;
    border: 1px solid var(--armr-gray-200);
    border-top: none;
}

.filter-buttons .armr-btn-outline {
    margin: 0.25rem;
}

.filter-buttons .armr-btn-outline.active {
    background: var(--armr-blue);
    color: var(--armr-white);
}

.armr-footer h5 {
    color: var(--armr-white);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.armr-footer h5::after {
    display: none;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.15rem;
}

.footer-nav a,
.footer-contact a {
    color: var(--armr-gray-300);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.4rem 0;
}

@media (max-width: 767px) {
    .armr-footer h5 {
        font-size: 0.72rem;
        margin-bottom: 0.75rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
        line-height: 1.25;
    }
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--armr-white);
}

.footer-contact,
.footer-hours {
    color: var(--armr-gray-300);
    font-size: 0.95rem;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.form-control,
.form-select {
    border-radius: 2px;
    border-color: var(--armr-gray-300);
    padding: 0.65rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--armr-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 191, 0.18);
}

.partner-mark {
    font-family: Outfit, sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 2.5rem;
    color: #fff;
}

.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    background: #fff;
    border: 1px solid var(--armr-gray-200);
    font-family: Outfit, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--armr-gray-800);
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-height: 280px;
    }

    .armr-hero {
        min-height: 78vh;
        padding: 56px 0 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.lang-switch {
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    font-size: 0.8rem !important;
}

html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] .nav-link,
html[lang="ar"] .dropdown-item,
html[lang="ar"] .footer-text,
html[lang="ar"] .footer-nav a {
    font-family: "Noto Sans Arabic", "Source Sans 3", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .hero-title,
html[lang="ar"] .page-hero h1 {
    font-family: "Noto Sans Arabic", Outfit, sans-serif;
}

html[lang="ar"] .hero-title::after {
    left: auto;
    right: 0;
}

html[lang="ar"] .armr-hero::before {
    background:
        linear-gradient(255deg, rgba(6, 32, 51, 0.84) 0%, rgba(6, 32, 51, 0.52) 46%, rgba(6, 32, 51, 0.22) 100%),
        linear-gradient(to top, rgba(6, 32, 51, 0.4) 0%, transparent 34%);
}

.oem-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.oem-mark {
    min-width: 140px;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--armr-gray-200);
    text-align: center;
    font-family: Outfit, sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--armr-blue-dark);
    font-size: 0.95rem;
}

.tvh-wordmark {
    font-family: Outfit, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #fff;
    line-height: 1;
}

