/* =========================================================
   Royal Industrial Services — Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    /* Brand */
    --royal-red: #B5121B;
    --deep-red: #7A0B12;
    --bright-red: #D71920;

    /* Neutrals */
    --charcoal: #151515;
    --dark-industrial: #202020;
    --graphite: #2B2B2B;
    --white: #FFFFFF;
    --off-white: #F6F6F4;
    --light-gray: #E8E8E8;

    /* Accent */
    --gold: #C9A227;

    /* Text */
    --text-dark: #1A1A1A;
    --text-muted: #5C5C5C;
    --text-on-dark: #F2F2F0;
    --text-on-dark-muted: #B9B9B7;

    /* Typography */
    --font-heading: 'Poppins', 'Montserrat', 'Manrope', sans-serif;
    --font-body: 'Inter', 'Roboto', 'Manrope', sans-serif;

    /* Radii */
    --radius-card: 20px;
    --radius-btn: 12px;
    --radius-sm: 8px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.35);
    --shadow-red-glow: 0 12px 40px rgba(215, 25, 32, 0.35);

    /* Spacing */
    --section-pad: 96px;
    --container-pad: 24px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-base: 0.35s var(--ease);
    --transition-slow: 0.6s var(--ease);

    --header-h: 84px;
}

.icon-sprite { display: none; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Keep form fields normally selectable/editable */
input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
svg.icon { flex-shrink: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

section { padding-block: var(--section-pad); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--royal-red);
    color: #fff;
    padding: 12px 20px;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 2px solid var(--bright-red);
    outline-offset: 3px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--royal-red);
    margin-bottom: 0.85em;
}

.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.section-subtitle {
    max-width: 620px;
    font-size: 1.05rem;
}

.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}
.section-head--light .section-title,
.section-head--light .section-subtitle { color: var(--text-on-dark); }
.section-head--light p:not(.eyebrow) { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 13px 26px;
    border-radius: var(--radius-btn);
    border: 1.5px solid transparent;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}
.btn .icon-arrow { transition: transform var(--transition-fast); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
    background: var(--royal-red);
    color: #fff;
    box-shadow: 0 8px 20px rgba(181, 18, 27, 0.35);
}
.btn-primary:hover {
    background: var(--deep-red);
    box-shadow: 0 14px 30px rgba(181, 18, 27, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-on-dark);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-dark {
    background: var(--charcoal);
    color: #fff;
}
.btn-dark:hover { background: #000; }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 500;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(21, 21, 21, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color var(--transition-base), box-shadow var(--transition-base), height var(--transition-base);
}
.site-header.is-scrolled {
    background: rgba(21, 21, 21, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.01em;
}
.logo-text em { color: var(--bright-red); font-style: normal; }

.main-nav ul {
    display: flex;
    gap: 30px;
}
.nav-link {
    position: relative;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 2px;
    transition: color var(--transition-fast);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--bright-red);
    transition: width var(--transition-fast);
}
.nav-link:hover,
.nav-link.is-active { color: #fff; }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.header-call {
    display: none;
    position: relative;
    flex-shrink: 0;
}
.header-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(215, 25, 32, 0.14);
    color: #fff;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.header-call-btn:hover,
.header-call-btn:active,
.header-call-btn[aria-expanded="true"] { background: var(--royal-red); transform: translateY(-2px); }

.header-call-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-strong);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 10;
}
.header-call-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-call-menu a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-on-dark);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.header-call-menu a:hover,
.header-call-menu a:focus-visible {
    background: rgba(215, 25, 32, 0.16);
    color: var(--bright-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 86vw);
    background: var(--charcoal);
    z-index: 700;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px 28px 40px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.08); }

.mobile-menu nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-link {
    display: block;
    padding: 12px 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link:hover { color: var(--bright-red); }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 650;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base);
}
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }

body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 20%, #241414 0%, var(--charcoal) 45%, #0d0d0d 100%);
    padding-top: var(--header-h);
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 75%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, transparent 0 120px, rgba(213, 25, 32, 0.06) 120px 122px);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}
.hero-glow--1 {
    width: 620px; height: 620px;
    top: -180px; right: -160px;
    background: radial-gradient(circle, rgba(215, 25, 32, 0.55), transparent 70%);
}
.hero-glow--2 {
    width: 500px; height: 500px;
    bottom: -220px; left: -140px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
}

.hero-inner { position: relative; z-index: 2; max-width: 1280px; }

.hero-carousel { position: relative; }
.hero-carousel .hero-slide { max-width: 1280px; }

.hero-carousel .owl-dots {
    display: flex;
    gap: 10px;
    margin-top: 2.4em;
}
.hero-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: block;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.hero-carousel .owl-dots .owl-dot:hover span { background: rgba(255, 255, 255, 0.5); }
.hero-carousel .owl-dots .owl-dot.active span {
    background: var(--bright-red);
    transform: scale(1.2);
}

.hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    color: #fff;
    margin-bottom: 0.4em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text-on-dark-muted);
    max-width: 620px;
    margin-bottom: 2.2em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    z-index: 2;
}
.scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--bright-red);
    border-radius: 2px;
    animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
    0% { opacity: 1; top: 8px; }
    70% { opacity: 0; top: 22px; }
    100% { opacity: 0; top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* =========================================================
   STATS
   ========================================================= */
.stats {
    background: var(--dark-industrial);
    padding-block: 56px 40px;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    color: #fff;
    letter-spacing: -0.01em;
}
.stat-number::after { content: attr(data-suffix); color: var(--bright-red); }
.stat-label {
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: var(--text-on-dark-muted);
}
.stats-note {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 24px 0 0;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.about-visual { position: relative; }
.about-frame {
    position: relative;
    border: 1px solid rgba(181, 18, 27, 0.25);
    border-radius: var(--radius-card);
    padding: 18px;
}
.about-frame::before {
    content: "";
    position: absolute;
    inset: -14px auto auto -14px;
    width: 90px;
    height: 90px;
    border-top: 3px solid var(--royal-red);
    border-left: 3px solid var(--royal-red);
    border-radius: var(--radius-card) 0 0 0;
}
.about-frame::after {
    content: "";
    position: absolute;
    inset: auto -14px -14px auto;
    width: 90px;
    height: 90px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 0 0 var(--radius-card) 0;
    opacity: 0.7;
}
.about-art {
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--radius-card) - 6px);
    background: radial-gradient(circle at 30% 20%, #2a2a2a, var(--charcoal) 70%);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.about-art-svg { width: 78%; height: 78%; }
.about-badge {
    position: absolute;
    bottom: 26px;
    right: -18px;
    background: #fff;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.35;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    border-left: 3px solid var(--royal-red);
}

.about-content p { max-width: 560px; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin: 1.6em 0 2em; }
.about-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}
.about-points .icon { color: var(--royal-red); }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-card);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 4px;
    background: linear-gradient(90deg, var(--royal-red), var(--bright-red));
    transition: width var(--transition-base);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-red-glow);
    border-color: rgba(181, 18, 27, 0.3);
}
.service-card:hover::before { width: 100%; }

.service-index {
    position: absolute;
    top: 22px; right: 26px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: rgba(0, 0, 0, 0.06);
}
.service-icon {
    display: inline-grid;
    place-items: center;
    width: 68px; height: 68px;
    border-radius: 16px;
    background: #fff;
    color: var(--charcoal);
    box-shadow: var(--shadow-soft);
    margin-bottom: 22px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.service-card:hover .service-icon { color: var(--royal-red); transform: scale(1.06); }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.service-card > p { font-size: 0.94rem; margin-bottom: 1.2em; }

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.6em;
}
.service-features li {
    font-size: 0.86rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}
.service-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--royal-red);
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--royal-red);
}
.service-link .icon-arrow { transition: transform var(--transition-fast); }
.service-link:hover .icon-arrow { transform: translateX(4px); }

/* =========================================================
   WHY US
   ========================================================= */
.why-us {
    position: relative;
    background: var(--charcoal);
    overflow: hidden;
}
.why-us-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 30% 30%, black 0%, transparent 70%);
}

.why-us-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.why-item {
    background: #1a1a1a;
    padding: 40px 32px;
    transition: background-color var(--transition-base);
}
.why-item:hover { background: #221414; }
.why-icon {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(215, 25, 32, 0.12);
    color: var(--bright-red);
    margin-bottom: 20px;
}
.why-item h3 { color: #fff; font-size: 1.08rem; }
.why-item p { color: var(--text-on-dark-muted); font-size: 0.92rem; margin: 0; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries-belt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.belt-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.belt-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: beltScroll 36s linear infinite;
}
.belt-row.is-reverse .belt-track {
    animation-direction: reverse;
    animation-duration: 42s;
}
.belt-row:hover .belt-track { animation-play-state: paused; }

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

.belt-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 14px 22px 14px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--light-gray);
    transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}
.belt-chip:hover {
    border-color: var(--royal-red);
    background: #fff5f5;
    transform: translateY(-3px);
}
.belt-chip-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--charcoal);
    color: #fff;
    flex-shrink: 0;
    transition: background-color var(--transition-fast);
}
.belt-chip:hover .belt-chip-icon { background: var(--royal-red); }
.belt-chip .name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    color: var(--text-dark);
}

@media (prefers-reduced-motion: reduce) {
    .belt-track { animation: none; flex-wrap: wrap; width: auto; }
    .belt-row { overflow: visible; -webkit-mask-image: none; mask-image: none; }
    .belt-row .belt-chip[aria-hidden="true"] { display: none; }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.86rem;
    padding: 10px 20px;
    border-radius: 999px;
    transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--royal-red); color: var(--royal-red); }
.filter-btn.is-active {
    background: var(--royal-red);
    border-color: var(--royal-red);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.project-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.project-card.is-hidden { display: none; }

.project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
        linear-gradient(135deg, var(--media-a, var(--dark-industrial)), var(--media-b, var(--graphite)));
    transition: transform var(--transition-base);
}
.project-card:hover .project-media { transform: scale(1.03); }
.project-media::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 32px;
    height: 32px;
    border-right: 2px solid rgba(215, 25, 32, 0.6);
    border-bottom: 2px solid rgba(215, 25, 32, 0.6);
    border-radius: 0 0 8px 0;
}
.project-media--industrial { --media-a: #3a1213; --media-b: #151515; }
.project-media--electrical { --media-a: #3a2b0d; --media-b: #151515; }
.project-media--interior { --media-a: #22242c; --media-b: #151515; }
.project-media--maintenance { --media-a: #2c1414; --media-b: #151515; }
.project-media--supply { --media-a: #16241f; --media-b: #151515; }

.project-media-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 13px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.project-media-index {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
}
.project-media-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
}
.project-media-icon::before {
    content: "";
    position: absolute;
    inset: -13px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-body { padding: 26px; }
.project-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--royal-red);
    margin-bottom: 10px;
}
.project-body h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.project-body p { font-size: 0.9rem; margin-bottom: 1em; }
.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.2em;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text-dark);
}
.project-link:hover { color: var(--royal-red); }
.project-link .icon-arrow { transition: transform var(--transition-fast); }
.project-link:hover .icon-arrow { transform: translateX(4px); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--off-white); }
.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.process-steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--royal-red) 0 10px, transparent 10px 18px);
    z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-number {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--royal-red);
    color: var(--royal-red);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    position: relative;
    background: var(--charcoal);
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(215, 25, 32, 0.35), transparent 70%);
    filter: blur(20px);
}
.cta-inner { position: relative; max-width: 700px; margin-inline: auto; }
.cta-inner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cta-inner p { color: var(--text-on-dark-muted); font-size: 1.05rem; margin-bottom: 1.8em; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
}
.contact-info .section-title { margin-top: 0.2em; }
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 2em;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(181, 18, 27, 0.08);
    color: var(--royal-red);
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.contact-details a,
.contact-details span:not(.contact-label) { font-weight: 500; color: var(--text-dark); }
.contact-details a:hover { color: var(--royal-red); }
.contact-multi { display: flex; flex-direction: column; gap: 2px; }

.contact-form-wrap {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-card);
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.form-group label span { color: var(--royal-red); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-red);
    box-shadow: 0 0 0 3px rgba(181, 18, 27, 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--bright-red); }
.form-error {
    display: block;
    min-height: 1.2em;
    font-size: 0.78rem;
    color: var(--bright-red);
    margin-top: 6px;
}
.form-success {
    margin-top: 16px;
    padding: 14px 18px;
    background: #eaf7ee;
    color: #1c6b34;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #0f0f0f; padding-top: 80px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.9rem; margin: 14px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-on-dark-muted);
    transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--royal-red); border-color: var(--royal-red); color: #fff; }

.footer-col h3 {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--bright-red); }

.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-col span.footer-contact-icon {
    display: grid;
    place-items: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--off-white);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 24px;
}
.footer-bottom-inner p { margin: 0; color: rgba(255, 255, 255, 0.4); font-size: 0.82rem; }
.footer-legal a:hover { color: var(--bright-red); }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.page-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 48px;
    background: linear-gradient(160deg, var(--charcoal), #0d0d0d);
    color: #fff;
    text-align: center;
}
.page-hero .eyebrow { color: var(--bright-red); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); margin: 0; }
.page-hero .updated { color: var(--text-on-dark-muted); margin: 14px 0 0; font-size: 0.9rem; }

.legal-section { padding-block: 0; }
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 24px 90px;
}
.legal-note {
    background: var(--off-white);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2.4em;
}
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.2em;
    margin-bottom: 0.6em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--light-gray);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}
.legal-content p { color: var(--text-muted); }
.legal-content ul,
.legal-content ol {
    padding-left: 1.3em;
    color: var(--text-muted);
    margin-bottom: 1.2em;
}
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--royal-red); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--deep-red); }
.legal-content strong { color: var(--text-dark); }
.legal-breadcrumb {
    display: block;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 2em;
}
.legal-breadcrumb a { color: var(--royal-red); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--royal-red);
    color: #fff;
    border: none;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-red-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--deep-red); }
.icon-rotate-up { transform: rotate(-90deg); transform-origin: 50% 50%; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal[data-reveal="fade-right"] { transform: translateX(-32px); }
.reveal[data-reveal="fade-left"] { transform: translateX(32px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    :root { --section-pad: 72px; }

    .main-nav, .header-cta { display: none; }
    .hamburger { display: flex; }
    .header-call { display: flex; }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { max-width: 420px; margin-inline: auto; }

    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .process-steps::before { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }

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

@media (max-width: 767px) {
    :root { --section-pad: 60px; --container-pad: 20px; }

    .services-grid,
    .projects-grid { grid-template-columns: 1fr; }

    .why-us-grid { grid-template-columns: 1fr; }

    .hero { min-height: 100svh; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }

    .contact-form-wrap { padding: 26px; }

    .about-badge { right: 8px; bottom: 16px; font-size: 0.74rem; padding: 10px 14px; }
}

@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
