/* =========================================================
   Parasource International — Brand Stylesheet
   Brand: #FF0000 primary, #646162 secondary, Kanit
   Mood: Tactical luxury. High contrast. Editorial.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --brand-red:        #FF0000;
    --brand-red-dim:    #cc0000;
    --brand-red-glow:   rgba(255, 0, 0, 0.35);
    --brand-grey:       #646162;
    --brand-grey-dark:  #2a2a2c;
    --brand-grey-soft:  #f4f4f5;

    --ink-100: #ffffff;
    --ink-200: #d8d8da;
    --ink-300: #9a9a9d;
    --ink-700: #3a3a3c;
    --ink-900: #0a0a0b;

    --bg-base:    #0a0a0b;
    --bg-elev-1:  #131315;
    --bg-elev-2:  #1c1c20;
    --bg-light:   #ffffff;
    --bg-paper:   #f6f6f7;

    --border-line: rgba(255,255,255,0.08);
    --border-line-dark: rgba(10,10,11,0.08);

    --font-display: 'Kanit', system-ui, sans-serif;
    --font-body:    'Kanit', system-ui, sans-serif;

    --shadow-soft:   0 10px 40px -10px rgba(0,0,0,0.35);
    --shadow-hard:   0 20px 60px -10px rgba(0,0,0,0.55);
    --shadow-red:    0 12px 40px -10px var(--brand-red-glow);

    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);

    --container-max: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--bg-base);
    color: var(--ink-100);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.container-wide { max-width: 1480px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-light { background: var(--bg-light); color: var(--ink-900); }
.section-paper { background: var(--bg-paper); color: var(--ink-900); }
.section-elev  { background: var(--bg-elev-1); }
.section-mid   { background: var(--bg-elev-2); }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 .5em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px; height: 1px;
    background: var(--brand-red);
}

.display-1 { font-size: clamp(48px, 8vw, 112px); font-weight: 800; line-height: .95; letter-spacing: -0.035em; }
.display-2 { font-size: clamp(36px, 5.5vw, 76px); font-weight: 800; line-height: 1.0;  letter-spacing: -0.03em; }
.h-section { font-size: clamp(28px, 4vw, 56px); }
.h-card    { font-size: clamp(20px, 2vw, 28px); }

.lead {
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.6;
    color: var(--ink-200);
    max-width: 60ch;
    font-weight: 300;
}
.section-light .lead, .section-paper .lead { color: var(--ink-700); }

.txt-red { color: var(--brand-red); }
.txt-grey { color: var(--brand-grey); }
.txt-mute { color: var(--ink-300); }
.txt-strike-red {
    background: linear-gradient(transparent 62%, var(--brand-red) 62%, var(--brand-red) 76%, transparent 76%);
}

/* Display headline with red accent slash */
.display-stack {
    display: block;
}
.display-stack .slash {
    color: var(--brand-red);
    display: inline-block;
    transform: translateY(-.05em);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all .25s var(--ease-out);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
    background: var(--brand-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn-primary:hover {
    background: #fff;
    color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 16px 50px -10px rgba(255,0,0,.55);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.05);
}
.section-light .btn-ghost,
.section-paper .btn-ghost {
    color: var(--ink-900);
    border-color: rgba(0,0,0,.18);
}
.section-light .btn-ghost:hover,
.section-paper .btn-ghost:hover {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 80;
    padding: 18px 0;
    background: rgba(10,10,11,0.55);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid var(--border-line);
    transition: all .3s var(--ease-out);
}
.site-header.is-scrolled {
    padding: 12px 0;
    background: rgba(10,10,11,0.9);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}
.site-logo img {
    height: 44px;
    width: auto;
    transition: transform .3s var(--ease-out);
}
.site-logo:hover img { transform: scale(1.05); }

.nav-primary {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-primary a {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-200);
    position: relative;
}
.nav-primary a:hover { color: #fff; }
.nav-primary a.is-active { color: #fff; }
.nav-primary a.is-active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
}
.nav-dropdown { position: relative; }
.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    border-radius: 4px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all .2s var(--ease-out);
    box-shadow: var(--shadow-hard);
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.nav-dropdown__panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 2px;
}
.nav-dropdown__panel a:hover { background: rgba(255,255,255,.04); color: #fff; }
.nav-dropdown__panel a small {
    display: block;
    font-size: 11px;
    color: var(--ink-300);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
    font-weight: 300;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ink-200);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-phone svg { width: 14px; height: 14px; color: var(--brand-red); }

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    padding: 0;
}
.menu-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 980px) {
    .nav-primary, .nav-phone { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    /* Inline "Request a Briefing" CTA is hidden on mobile — the flyout has its own. */
    .nav-actions .btn.btn-primary { display: none; }
}

/* ---------- Mobile flyout menu ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
}
.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 6, 0.6);
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    opacity: 0;
    transition: opacity .4s var(--ease-out);
}
.mobile-menu__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: linear-gradient(180deg, #0e0e10 0%, #050506 100%);
    border-left: 1px solid var(--border-line);
    transform: translateX(105%);
    transition: transform .45s var(--ease-out);
    display: flex;
    flex-direction: column;
    box-shadow: -30px 0 80px -20px rgba(0,0,0,.8);
    will-change: transform;
}
.mobile-menu__panel::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 80px;
    background: var(--brand-red);
}
body.mobile-open { overflow: hidden; }
body.mobile-open .mobile-menu {
    pointer-events: auto;
    visibility: visible;
}
body.mobile-open .mobile-menu__backdrop { opacity: 1; }
body.mobile-open .mobile-menu__panel    { transform: translateX(0); }

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-line);
    flex-shrink: 0;
}
.mobile-menu__head img { height: 36px; width: auto; }
.mobile-menu__close {
    background: transparent;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    color: #fff;
    cursor: pointer;
    transition: all .2s var(--ease-out);
}
.mobile-menu__close:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: rotate(90deg);
}
.mobile-menu__close svg { width: 18px; height: 18px; }

.mobile-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 24px;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu__section {
    padding: 12px 28px 4px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.mobile-menu__section::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-line), transparent);
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    transition: padding-left .25s var(--ease-out), color .2s var(--ease-out);
}
.mobile-menu__link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .25s var(--ease-out);
}
.mobile-menu__link:hover,
.mobile-menu__link:focus,
.mobile-menu__link.is-active {
    padding-left: 36px;
    color: var(--brand-red);
}
.mobile-menu__link:hover::before,
.mobile-menu__link:focus::before,
.mobile-menu__link.is-active::before {
    transform: scaleY(1);
    transform-origin: top;
}
.mobile-menu__link-arrow {
    color: var(--ink-300);
    width: 16px; height: 16px;
    transition: transform .2s var(--ease-out), color .2s var(--ease-out);
}
.mobile-menu__link:hover .mobile-menu__link-arrow {
    color: var(--brand-red);
    transform: translateX(4px);
}

.mobile-menu__service {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 28px;
    color: var(--ink-100);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    transition: background .2s var(--ease-out);
}
.mobile-menu__service:hover,
.mobile-menu__service:focus {
    background: rgba(255,255,255,0.03);
}
.mobile-menu__service:hover .mobile-menu__service-icon,
.mobile-menu__service:focus .mobile-menu__service-icon {
    color: var(--brand-red);
    border-color: var(--brand-red);
}
.mobile-menu__service-icon {
    width: 36px; height: 36px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink-200);
    transition: all .2s var(--ease-out);
}
.mobile-menu__service-icon svg { width: 18px; height: 18px; }
.mobile-menu__service-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.mobile-menu__service-sub {
    font-size: 11px;
    color: var(--ink-300);
    margin-top: 3px;
    letter-spacing: .02em;
}
.mobile-menu__service-arrow {
    color: var(--ink-300);
    width: 14px; height: 14px;
}

.mobile-menu__foot {
    flex-shrink: 0;
    padding: 24px 28px 28px;
    border-top: 1px solid var(--border-line);
    background: #050506;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--brand-red);
    color: #fff;
    padding: 16px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all .25s var(--ease-out);
}
.mobile-menu__cta:hover { background: #fff; color: var(--brand-red); }
.mobile-menu__cta svg { width: 14px; height: 14px; }
.mobile-menu__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-200);
}
.mobile-menu__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-200);
}
.mobile-menu__contact a:hover { color: var(--brand-red); }
.mobile-menu__contact svg {
    width: 14px; height: 14px;
    color: var(--brand-red);
    flex-shrink: 0;
}
.mobile-menu__trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.mobile-menu__trust span {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-300);
    padding: 5px 10px;
    border: 1px solid var(--border-line);
    border-radius: 2px;
}

/* ---------- Floating WhatsApp action button ---------- */
.wa-fab {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 90;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid; place-items: center;
    box-shadow:
        0 12px 30px -8px rgba(37, 211, 102, 0.55),
        0 2px 8px rgba(0,0,0,0.35);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
    text-decoration: none;
}
.wa-fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    opacity: 0;
    animation: wa-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.wa-fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-fab:hover {
    transform: scale(1.07);
    box-shadow:
        0 18px 40px -8px rgba(37, 211, 102, 0.65),
        0 4px 12px rgba(0,0,0,0.4);
}
.wa-fab__label {
    position: absolute;
    right: 72px; top: 50%;
    transform: translate(8px, -50%);
    background: #050506;
    color: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease-out);
    border: 1px solid var(--border-line);
}
.wa-fab__label::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: #050506;
    border-right: 1px solid var(--border-line);
    border-top: 1px solid var(--border-line);
}
.wa-fab:hover .wa-fab__label {
    opacity: 1;
    transform: translate(0, -50%);
}
@keyframes wa-ping {
    0%   { opacity: 0.8; transform: scale(1); }
    80%  { opacity: 0;   transform: scale(1.55); }
    100% { opacity: 0;   transform: scale(1.55); }
}
/* Hide label on small screens — the green button is enough */
@media (max-width: 600px) {
    .wa-fab { width: 54px; height: 54px; }
    .wa-fab svg { width: 26px; height: 26px; }
    .wa-fab__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-fab::before { animation: none; }
}

/* Animated hamburger -> X */
.menu-toggle__bars { position: relative; width: 22px; height: 14px; }
.menu-toggle__bars span {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: #fff;
    transition: transform .3s var(--ease-out), opacity .25s var(--ease-out);
    transform-origin: center;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
body.mobile-open .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.mobile-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
body.mobile-open .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,11,.4) 0%, rgba(10,10,11,.2) 30%, rgba(10,10,11,.92) 100%),
        linear-gradient(90deg, rgba(10,10,11,.65) 0%, rgba(10,10,11,.0) 60%);
}
.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}
.hero__title {
    font-size: clamp(46px, 8vw, 116px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
}
.hero__title em {
    font-style: normal;
    color: var(--brand-red);
}
.hero__title .word-strike {
    display: inline-block;
    position: relative;
}
.hero__title .word-strike::after {
    content: '';
    position: absolute;
    left: -2%;
    right: -2%;
    top: 55%;
    height: 4px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    animation: strike 1s var(--ease-out) 1.2s forwards;
}
@keyframes strike { to { transform: scaleX(1); } }

.hero__sub {
    font-size: clamp(17px, 1.4vw, 22px);
    color: var(--ink-200);
    max-width: 60ch;
    margin: 0 0 36px;
    font-weight: 300;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
    position: absolute;
    bottom: 36px;
    right: var(--gutter);
    z-index: 2;
    display: flex;
    gap: 32px;
    align-items: center;
    color: var(--ink-300);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}
@media (max-width: 720px) { .hero__meta { display: none; } }

.hero__scroll {
    position: absolute;
    left: var(--gutter);
    bottom: 36px;
    z-index: 2;
    writing-mode: vertical-rl;
    color: var(--ink-300);
    font-size: 11px;
    letter-spacing: .35em;
    text-transform: uppercase;
    padding-bottom: 60px;
}
.hero__scroll::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 48px;
    background: linear-gradient(180deg, var(--ink-300), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%,100% { transform: translateX(-50%) scaleY(.4); transform-origin: top; opacity: .4; }
    50%     { transform: translateX(-50%) scaleY(1);  transform-origin: top; opacity: 1; }
}

/* Page hero (smaller) */
.hero-page {
    min-height: 72vh;
    padding: 180px 0 80px;
    align-items: flex-end;
}
.hero-page .hero__title { font-size: clamp(38px, 6vw, 84px); }

/* ---------- Cards & grids ---------- */
.grid {
    display: grid;
    gap: clamp(20px, 2vw, 32px);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.service-card {
    position: relative;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    padding: 36px 32px 32px;
    overflow: hidden;
    transition: all .35s var(--ease-out);
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--brand-red);
    transition: width .5s var(--ease-out);
}
.service-card:hover {
    background: var(--bg-elev-2);
    transform: translateY(-6px);
    border-color: rgba(255,0,0,.3);
}
.service-card:hover::before { width: 100%; }
.service-card__icon {
    width: 52px; height: 52px;
    color: var(--brand-red);
    margin-bottom: 28px;
    transition: transform .4s var(--ease-out);
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-2deg); }
.service-card__num {
    position: absolute;
    top: 28px; right: 32px;
    font-size: 11px;
    letter-spacing: .25em;
    color: var(--ink-300);
}
.service-card__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
}
.service-card__desc {
    color: var(--ink-200);
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}
.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
}
.service-card__cta svg {
    width: 14px; height: 14px;
    transition: transform .25s var(--ease-out);
}
.service-card:hover .service-card__cta svg { transform: translateX(6px); }
.service-card:hover .service-card__cta { color: var(--brand-red); }

/* Feature row (icon + text) */
.feature {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-line);
}
.section-light .feature, .section-paper .feature { border-bottom-color: var(--border-line-dark); }
.feature:last-child { border-bottom: none; }
.feature__icon {
    width: 40px; height: 40px;
    color: var(--brand-red);
    flex-shrink: 0;
}
.feature__title { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.feature__body { color: var(--ink-200); font-size: 15px; margin: 0; line-height: 1.6; }
.section-light .feature__body, .section-paper .feature__body { color: var(--ink-700); }

/* Stat counter */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 60px 0;
    border-top: 1px solid var(--border-line);
    border-bottom: 1px solid var(--border-line);
}
.section-light .stat-row, .section-paper .stat-row {
    border-color: var(--border-line-dark);
}
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    color: var(--brand-red);
    letter-spacing: -.02em;
}
.stat__label {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-300);
    margin-top: 10px;
}

/* ---------- Marquee / tape ---------- */
.tape {
    background: var(--brand-red);
    color: #fff;
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.tape__track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: tape-scroll 40s linear infinite;
    will-change: transform;
}
.tape__item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 60px;
}
.tape__item::after {
    content: '/';
    color: rgba(255,255,255,.5);
    margin-left: 0;
}
@keyframes tape-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Split section ---------- */
.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.split--top { align-items: start; }
.split-reverse { grid-template-columns: .9fr 1.1fr; }
.split-reverse > :first-child { order: 2; }
.split-reverse > :last-child  { order: 1; }
@media (max-width: 900px) {
    .split, .split-reverse { grid-template-columns: 1fr; }
    .split--top { align-items: initial; }
    .split-reverse > :first-child { order: initial; }
    .split-reverse > :last-child  { order: initial; }
}
.split__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.split__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 8s var(--ease-out);
}
.split:hover .split__media img { transform: scale(1.05); }
.split__media-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.2);
    pointer-events: none;
}
.split__media-tag {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--brand-red);
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq__item {
    border-bottom: 1px solid var(--border-line-dark);
    padding: 24px 0;
}
.section-elev .faq__item, .section-mid .faq__item { border-bottom-color: var(--border-line); }
.faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: inherit;
    line-height: 1.3;
}
.faq__q-icon {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all .3s var(--ease-out);
    color: var(--brand-red);
}
.faq__q-icon svg { width: 12px; height: 12px; transition: transform .3s var(--ease-out); }
.faq__item.is-open .faq__q-icon { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.faq__item.is-open .faq__q-icon svg { transform: rotate(45deg); }

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease-out), padding .5s var(--ease-out);
    color: var(--ink-700);
}
.section-elev .faq__a, .section-mid .faq__a { color: var(--ink-200); }
.faq__item.is-open .faq__a {
    max-height: 600px;
    padding: 12px 0 16px;
}
.faq__a p { margin: 0 0 12px; max-width: 75ch; line-height: 1.7; }

/* ---------- Forms ---------- */
.form-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    padding: clamp(28px, 4vw, 52px);
    position: relative;
}
.form-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 80px; height: 4px;
    background: var(--brand-red);
}
.form-card.is-light {
    background: #fff;
    border-color: var(--border-line-dark);
    color: var(--ink-900);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-grid > .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
    .form-card { padding: 28px 20px; }
    .form-foot { flex-direction: column; align-items: stretch; gap: 20px; }
    .form-foot .btn { width: 100%; justify-content: center; text-align: center; }
    .form-foot small { text-align: center; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-300);
    font-weight: 500;
}
.form-card.is-light .field label { color: var(--ink-700); }

.field input,
.field select,
.field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.16);
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    transition: border-color .25s var(--ease-out);
    outline: none;
    width: 100%;
    border-radius: 0;
}
.form-card.is-light .field input,
.form-card.is-light .field select,
.form-card.is-light .field textarea {
    color: var(--ink-900);
    border-bottom-color: rgba(0,0,0,.16);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-bottom-color: var(--brand-red);
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 14px; }
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23FF0000' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}
.form-card.is-light .field select { color: var(--ink-900); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }

.form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}
.form-foot small {
    color: var(--ink-300);
    font-size: 12px;
    letter-spacing: .04em;
}
.form-error {
    background: rgba(255,0,0,.08);
    border-left: 3px solid var(--brand-red);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #ffb3b3;
}
.form-card.is-light .form-error { color: #aa0000; }

/* ---------- Footer ---------- */
.site-footer {
    background: #050506;
    color: var(--ink-200);
    padding: 100px 0 32px;
    border-top: 1px solid var(--border-line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { max-width: 234px; width: 100%; height: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 36ch; color: var(--ink-300); }

.footer-col h5 {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-200); }
.footer-col a:hover { color: var(--brand-red); }

.footer-contact a { display: block; margin-bottom: 6px; font-size: 14px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border-line);
    font-size: 12px;
    color: var(--ink-300);
    letter-spacing: .08em;
}
.footer-bottom a:hover { color: var(--brand-red); }

/* ---------- Big CTA strip ---------- */
.cta-strip {
    padding: clamp(72px, 10vw, 120px) 0;
    background:
        radial-gradient(80% 60% at 80% 20%, rgba(255,0,0,.18), transparent 60%),
        linear-gradient(180deg, #0a0a0b 0%, #131316 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-line);
}
.cta-strip__title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -.03em;
    margin: 0 0 24px;
    max-width: 20ch;
}
.cta-strip__title em { font-style: normal; color: var(--brand-red); }
.cta-strip__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}

/* ---------- Trust strip ---------- */
.trust-strip {
    padding: 48px 0;
    background: #f0f0f0;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}
.trust-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.trust-strip__label {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #777;
}
.trust-strip img {
    height: 72px;
    width: auto;
    opacity: 1;
    filter: none;
    transition: opacity .3s, transform .3s;
}
.trust-strip img:hover {
    opacity: .85;
    transform: scale(1.05);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="zoom"]  { transform: scale(.96); }
[data-reveal="zoom"].is-visible { transform: scale(1); }

/* ---------- Crosshair decoration ---------- */
.deco-crosshair {
    position: absolute;
    width: 240px;
    height: 240px;
    color: var(--brand-red);
    opacity: .06;
    pointer-events: none;
}

/* ---------- Page lead block ---------- */
.lead-block {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
@media (max-width: 900px) { .lead-block { grid-template-columns: 1fr; } }
.lead-block__col p { font-size: 17px; line-height: 1.7; color: var(--ink-700); margin: 0 0 18px; }
.section-elev .lead-block__col p, .section-mid .lead-block__col p { color: var(--ink-200); }

/* ---------- Pillar list ---------- */
.pillar {
    border-top: 1px solid var(--border-line);
    padding: 36px 0;
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 32px;
    align-items: start;
    transition: background .25s var(--ease-out);
}
.section-light .pillar, .section-paper .pillar { border-top-color: var(--border-line-dark); }
.pillar:hover { background: rgba(255,0,0,.025); }
.pillar:last-child { border-bottom: 1px solid var(--border-line); }
.section-light .pillar:last-child, .section-paper .pillar:last-child { border-bottom-color: var(--border-line-dark); }
.pillar__num {
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--brand-red);
    font-weight: 600;
    padding-top: 6px;
}
.pillar__title { font-size: clamp(22px, 2vw, 30px); font-weight: 700; margin: 0; line-height: 1.15; }
.pillar__body { color: var(--ink-700); font-size: 15px; line-height: 1.7; margin: 0; }
.section-elev .pillar__body, .section-mid .pillar__body { color: var(--ink-200); }
@media (max-width: 720px) { .pillar { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Capability tags ---------- */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.tag {
    padding: 8px 14px;
    border: 1px solid var(--border-line);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-200);
    border-radius: 2px;
}
.section-light .tag, .section-paper .tag {
    border-color: var(--border-line-dark);
    color: var(--ink-700);
}

/* ---------- Quote / pull ---------- */
.pull {
    border-left: 3px solid var(--brand-red);
    padding-left: 28px;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    max-width: 30ch;
    margin: 0;
}
.pull cite {
    display: block;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
    margin-top: 18px;
}

/* ---------- Success / Thank-you ---------- */
.success-hero {
    min-height: 80vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 160px var(--gutter) 80px;
    background:
        radial-gradient(60% 60% at 50% 40%, rgba(255,0,0,.18), transparent 70%),
        #0a0a0b;
}
.success-mark {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    display: grid; place-items: center;
    margin: 0 auto 32px;
    animation: pop .6s var(--ease-out);
}
.success-mark svg { width: 44px; height: 44px; }
@keyframes pop { 0% { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Admin shell ---------- */
.admin-shell {
    min-height: 100vh;
    background: var(--bg-base);
    color: var(--ink-100);
    padding: 32px clamp(20px, 4vw, 48px);
}
.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}
.admin-top__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}
.admin-top__brand img { height: 36px; }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}
@media (max-width: 1000px) { .admin-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.admin-stat {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    padding: 18px 20px;
    border-radius: 4px;
    position: relative;
}
.admin-stat__num { font-size: 32px; font-weight: 800; line-height: 1; }
.admin-stat__label {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-300);
    margin-top: 8px;
}
.admin-stat--new      { border-top: 3px solid #6b7cff; }
.admin-stat--contacted{ border-top: 3px solid #ffb547; }
.admin-stat--qualified{ border-top: 3px solid #29c7ac; }
.admin-stat--proposal { border-top: 3px solid #d168ff; }
.admin-stat--won      { border-top: 3px solid #2bd66c; }
.admin-stat--lost     { border-top: 3px solid #ff5266; }

.kanban {
    display: grid;
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    gap: 14px;
    overflow-x: auto;
}
@media (max-width: 1200px) {
    .kanban { grid-template-columns: repeat(6, minmax(240px, 280px)); }
}
.kanban-col {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    border-radius: 4px;
    min-height: 400px;
}
.kanban-col__head {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kanban-col__title {
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-300);
    font-weight: 600;
}
.kanban-col__count {
    background: rgba(255,255,255,.05);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.kanban-col__body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }

.lead-card {
    background: var(--bg-elev-2);
    border: 1px solid var(--border-line);
    border-radius: 3px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, transform .2s;
}
.lead-card:hover { border-color: var(--brand-red); transform: translateY(-2px); }
.lead-card__name { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.lead-card__service { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-red); }
.lead-card__meta { font-size: 11px; color: var(--ink-300); margin-top: 8px; }

/* Lead detail view */
.lead-detail {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 24px;
    margin-top: 24px;
}
@media (max-width: 900px) { .lead-detail { grid-template-columns: 1fr; } }
.panel {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    padding: 28px;
    border-radius: 4px;
}
.panel h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-300); font-weight: 600; margin-bottom: 18px; }
.kv-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-line); font-size: 14px; }
.kv-row:last-child { border-bottom: none; }
.kv-row dt { color: var(--ink-300); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.kv-row dd { margin: 0; color: #fff; }

.note { background: var(--bg-elev-2); padding: 14px 16px; border-radius: 3px; border-left: 2px solid var(--brand-red); }
.note__meta { font-size: 11px; color: var(--ink-300); margin-bottom: 6px; letter-spacing: .12em; text-transform: uppercase; }
.note__body { font-size: 14px; line-height: 1.55; margin: 0; }

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
}
.status-new      { background: rgba(107,124,255,.15); color: #8c9bff; }
.status-contacted{ background: rgba(255,181,71,.15);  color: #ffc371; }
.status-qualified{ background: rgba(41,199,172,.15); color: #4cd9c1; }
.status-proposal { background: rgba(209,104,255,.15); color: #de8aff; }
.status-won      { background: rgba(43,214,108,.15); color: #57e088; }
.status-lost     { background: rgba(255,82,102,.15); color: #ff7480; }

/* Login screen */
.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
    background:
        radial-gradient(50% 50% at 50% 30%, rgba(255,0,0,.12), transparent 70%),
        var(--bg-base);
}
.login-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-line);
    padding: 48px 40px;
    text-align: center;
}
.login-card img { height: 56px; margin: 0 auto 24px; }
.login-card h1 { font-size: 24px; margin-bottom: 8px; }
.login-card p { font-size: 13px; color: var(--ink-300); margin-bottom: 32px; }

/* Utility */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }

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