/* =========================================================================
   PS Labels / The Marathon Group — Design System
   Enhanced, modern recruiting-firm website.
   Sections: tokens · base · layout · header · buttons · hero · components
             · forms · footer · utilities · animations · responsive
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
    /* Brand palette */
    --navy-900: #071630;
    --navy-800: #0a1f3c;
    --navy-700: #112c52;
    --navy-600: #1b3d6b;
    --ink:      #0f1b2d;

    --accent:        #ff6b35;   /* energetic print-ink orange */
    --accent-dark:   #e2541f;
    --accent-soft:   #ffd9c7;
    --teal:          #16b8a6;
    --teal-dark:     #0d8c7e;

    --paper:    #ffffff;
    --mist:     #f4f7fb;
    --mist-2:   #eaf0f8;
    --line:     #dde5f0;

    --text:        #1d2a3d;
    --text-soft:   #54657f;
    --text-faint:  #8597ad;
    --on-dark:     #eaf1fb;
    --on-dark-soft:#a9bbd6;

    /* Gradients */
    --grad-hero:   linear-gradient(135deg, #071630 0%, #112c52 55%, #1b3d6b 100%);
    --grad-accent: linear-gradient(135deg, #ff6b35 0%, #ff9446 100%);
    --grad-teal:   linear-gradient(135deg, #16b8a6 0%, #0d8c7e 100%);

    /* Typography */
    --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

    /* Spacing / shape */
    --container: 1200px;
    --radius:    14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Elevation */
    --shadow-sm: 0 2px 8px rgba(11, 31, 60, 0.06);
    --shadow:    0 12px 30px rgba(11, 31, 60, 0.10);
    --shadow-lg: 0 28px 60px rgba(11, 31, 60, 0.18);
    --shadow-accent: 0 14px 30px rgba(255, 107, 53, 0.35);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------------
   2. Base / reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

/* Default size for inline icons (component rules like `.btn svg` override). */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: middle; flex: none; }

/* -------------------------------------------------------------------------
   Premium preloader
   ------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--grad-hero);
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
    /* No-JS fallback: hide after 6s even if the JS never runs */
    animation: pre-autohide 0.5s ease 6s forwards;
}
.preloader::before {
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    top: -160px; right: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.35), transparent 65%);
    pointer-events: none;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader__inner {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 26px;
    animation: pre-pop 0.6s var(--ease) both;
}
.preloader__logo {
    background: #fff;
    padding: 22px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    animation: pre-float 2.6s ease-in-out infinite;
}
.preloader__logo img { height: 60px; width: auto; display: block; }
.preloader__bar {
    position: relative;
    width: 210px; height: 4px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.16);
    overflow: hidden;
}
.preloader__bar span {
    position: absolute; top: 0; left: -40%;
    width: 40%; height: 100%;
    border-radius: var(--radius-pill);
    background: var(--grad-accent);
    animation: pre-slide 1.1s var(--ease) infinite;
}
.preloader__text {
    color: var(--on-dark-soft);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
@keyframes pre-slide { 0% { left: -40%; } 60% { left: 80%; } 100% { left: 110%; } }
@keyframes pre-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pre-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes pre-autohide { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
    .preloader__logo, .preloader__bar span, .preloader__inner { animation: none; }
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
}

ul { list-style: none; padding: 0; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--grad-hero); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.section-head.center .eyebrow { justify-content: center; }

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-soft);
    line-height: 1.7;
}
.section--dark .lead { color: var(--on-dark-soft); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* -------------------------------------------------------------------------
   4. Top bar + Header
   ------------------------------------------------------------------------- */
.topbar {
    background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--on-dark-soft);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 46px;
}
.topbar__contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--on-dark-soft);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
}
a.topbar__item:hover { color: #fff; background: rgba(255,255,255,0.06); }
.topbar__ico {
    display: grid; place-items: center;
    width: 26px; height: 26px; flex: none;
    border-radius: 50%;
    background: rgba(255,107,53,0.16);
    color: var(--accent);
}
.topbar__ico svg { width: 14px; height: 14px; }

.topbar__socials { display: flex; align-items: center; gap: 8px; }
.topbar__follow {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-dark-soft);
    margin-right: 4px;
}

/* Shared social buttons (topbar + footer) with brand-coloured hovers */
.social-btn {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease),
                border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { transform: translateY(-2px); color: #fff; }
.social-btn--linkedin:hover  { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 8px 18px rgba(10,102,194,0.45); }
.social-btn--facebook:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 18px rgba(24,119,242,0.45); }
.social-btn--twitter:hover   { background: #000;     border-color: #000;     box-shadow: 0 8px 18px rgba(0,0,0,0.5); }
.social-btn--instagram:hover { background: #E4405F; border-color: #E4405F; box-shadow: 0 8px 18px rgba(228,64,95,0.45); }
.social-btn--youtube:hover   { background: #FF0000; border-color: #FF0000; box-shadow: 0 8px 18px rgba(255,0,0,0.45); }

/* Compact social buttons inside the topbar */
.topbar .social-btn { width: 30px; height: 30px; border-radius: 8px; }
.topbar .social-btn svg { width: 14px; height: 14px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
    color: var(--navy-800);
}
.brand__sub {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 600;
    margin-top: 3px;
}

.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__cta { margin-left: 12px; }
.nav__menu a {
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 8px;
}
.nav__menu a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}
.nav__menu a:hover { color: var(--navy-800); }
.nav__menu a:hover::after,
.nav__menu a.active::after { transform: scaleX(1); }
.nav__menu a.active { color: var(--navy-800); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Mobile off-canvas menu (hidden on desktop; shown via the 860px breakpoint) */
.offcanvas { display: none; }

.nav__toggle {
    display: none;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 20px; height: 2px;
    background: var(--navy-800);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before { transform: translate(-50%, -7px); }
.nav__toggle span::after  { transform: translate(-50%, 7px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.96rem;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
    line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { box-shadow: 0 18px 38px rgba(255, 107, 53, 0.45); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-800); background: var(--mist); }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { box-shadow: var(--shadow-lg); }

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

.btn--sm { padding: 9px 18px; font-size: 0.86rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--grad-hero);
    color: var(--on-dark);
    overflow: hidden;
    padding: clamp(72px, 11vw, 140px) 0 clamp(80px, 10vw, 130px);
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.5;
    pointer-events: none;
}
.hero::before {
    width: 540px; height: 540px;
    background: radial-gradient(circle at 30% 30%, rgba(255,107,53,0.55), transparent 62%);
    top: -180px; right: -120px;
    animation: float 16s var(--ease) infinite alternate;
}
.hero::after {
    width: 460px; height: 460px;
    background: radial-gradient(circle at 50% 50%, rgba(22,184,166,0.40), transparent 65%);
    bottom: -200px; left: -120px;
    animation: float 20s var(--ease) infinite alternate-reverse;
}
.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: var(--on-dark);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.hero__badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(22,184,166,0.25);
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .grad {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lead { color: var(--on-dark-soft); font-size: 1.15rem; max-width: 540px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__trust { display: flex; align-items: center; gap: 18px; color: var(--on-dark-soft); font-size: 0.9rem; }
.hero__trust strong { color: #fff; }
.hero__stars { color: #ffc24b; letter-spacing: 2px; }

/* Hero visual — real photography */
.hero__visual { position: relative; }
.hero__photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.5;
    background: var(--navy-700);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; display: block; }
.hero__photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,22,48,0.82) 2%, rgba(7,22,48,0.12) 46%, transparent 70%);
}
.hero__photo-cap {
    position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2;
    display: flex; flex-direction: column; gap: 10px; color: #fff;
}
.hero__photo-cap > span:last-child {
    font-family: var(--font-head); font-weight: 700;
    font-size: 1.02rem; line-height: 1.4; max-width: 62%;
}
.hero__photo-tag {
    align-self: flex-start;
    background: var(--grad-accent); color: #fff;
    font-family: var(--font-head); font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 13px; border-radius: var(--radius-pill);
}
.hero__inset {
    position: absolute;
    right: -22px; bottom: -26px;
    width: 42%; max-width: 210px;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 9s var(--ease) infinite alternate;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero visual card stack (legacy) */
.hero__card {
    background: rgba(255,255,255,0.96);
    color: var(--text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 26px;
}
.hero__card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero__card-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--grad-teal);
    display: grid; place-items: center;
    color: #fff; font-weight: 800; font-family: var(--font-head);
}
.hero__card-role { font-weight: 800; font-family: var(--font-head); }
.hero__card-meta { font-size: 0.85rem; color: var(--text-faint); }
.hero__card-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.92rem;
}
.hero__card-row span:first-child { color: var(--text-soft); }
.hero__card-row span:last-child { font-weight: 700; color: var(--navy-800); }
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent-dark);
}
.hero__float {
    position: absolute;
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 0.9rem;
}
.hero__float .ico {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center; color: #fff;
}
.hero__float--1 { top: -24px; left: -30px; animation: float 7s var(--ease) infinite alternate; }
.hero__float--1 .ico { background: var(--grad-accent); }
.hero__float--2 { top: -22px; left: -34px; right: auto; animation: float 9s var(--ease) infinite alternate-reverse; }
.hero__float--2 .ico { background: var(--grad-teal); }
.hero__float small { display: block; font-size: 0.72rem; color: var(--text-faint); font-weight: 600; }

/* Brand video player */
.video-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    pointer-events: none;
}
.video-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    padding: 6px 14px; border-radius: var(--radius-pill);
    font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
    letter-spacing: 0.04em; margin-bottom: 18px;
}
.video-tag .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Marquee logo strip */
.marquee { background: var(--mist); border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee__label { text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; margin-bottom: 18px; }
.marquee__track { display: flex; gap: 60px; align-items: center; width: max-content; animation: scroll-x 30s linear infinite; }
.marquee__track--logos { gap: 64px; animation-duration: 42s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--text-faint); opacity: 0.7; white-space: nowrap; }
.marquee__logo { display: flex; align-items: center; height: 52px; flex: none; }
.marquee__logo img {
    max-height: 44px; width: auto; max-width: 160px; object-fit: contain;
    filter: grayscale(1);
    opacity: 0.62;
    transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.marquee__logo:hover img { filter: none; opacity: 1; }

/* -------------------------------------------------------------------------
   7. Components — cards, stats, steps, etc.
   ------------------------------------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--mist-2);
    color: var(--navy-700);
    margin-bottom: 20px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--grad-accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.97rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
    text-align: center;
    padding: 30px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
}
.stat__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    line-height: 1;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--on-dark-soft); font-size: 0.92rem; margin-top: 10px; }
.section--mist .stat,
.section--light .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.section--mist .stat__label { color: var(--text-soft); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--grad-hero);
    aspect-ratio: 4 / 3.2;
}
.split__media img, .split__media svg { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 16px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--grad-teal); color: #fff;
    display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist b { font-family: var(--font-head); display: block; }
.checklist span { color: var(--text-soft); font-size: 0.95rem; }

/* Two-path CTA (Job hunting? / Talent searching?) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 44px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.path--seeker { background: var(--grad-hero); }
.path--employer { background: var(--grad-accent); }
.path::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 55%);
    z-index: -1;
}
.path h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.path p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.path__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.18); display: grid; place-items: center; margin-bottom: 22px; }
.path__icon svg { width: 28px; height: 28px; color: #fff; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; }
.step__num {
    font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
    width: 52px; height: 52px; border-radius: 50%;
    background: #fff; border: 2px solid var(--line);
    display: grid; place-items: center; color: var(--accent);
    margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.94rem; }
.step:not(:last-child)::before {
    content: ""; position: absolute; top: 26px; left: 60px; right: -14px;
    height: 2px; background: linear-gradient(90deg, var(--line), transparent);
}

/* Client logo wall (Trusted by Industry Leaders) */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}
.logo-wall__item {
    display: grid; place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    min-height: 112px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.logo-wall__item img {
    max-height: 58px; max-width: 100%; width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.68;
    transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.logo-wall__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.logo-wall__item:hover img { filter: none; opacity: 1; }

/* 8-step recruitment process */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.process__step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process__step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process__num {
    font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--grad-accent); color: #fff;
    display: grid; place-items: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-accent);
}
.process__step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process__step p { color: var(--text-soft); font-size: 0.92rem; }

/* Team */
.team-card { text-align: center; }
.team-card__photo {
    width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 18px; background: var(--mist-2);
    box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover .team-card__photo { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo img, .team-card__photo svg { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.18rem; }
.team-card .role { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin: 4px 0 10px; }
.team-card p { color: var(--text-soft); font-size: 0.92rem; }

/* Testimonials */
.testimonials { position: relative; }
.tslider { overflow: hidden; }
.ttrack { display: flex; transition: transform 0.6s var(--ease); }
.tslide { min-width: 100%; padding: 0 8px; }
.quote-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 56px);
    box-shadow: var(--shadow); border: 1px solid var(--line);
    max-width: 820px; margin-inline: auto; text-align: center;
}
.quote-card .mark {
    font-family: Georgia, serif; font-size: 4rem; line-height: 0.6;
    color: var(--accent); height: 30px;
}
.quote-card blockquote {
    font-family: var(--font-head); font-weight: 600;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    color: var(--ink); line-height: 1.45; margin: 18px 0 26px;
}
.quote-card__by {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}
.quote-card__avatar {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; flex: none;
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm);
}
.quote-card .author { font-weight: 800; font-family: var(--font-head); }
.quote-card .role { color: var(--text-faint); font-size: 0.9rem; }
.tdots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.tdot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: all 0.25s var(--ease); }
.tdot.active { background: var(--accent); width: 28px; border-radius: var(--radius-pill); }

/* Newsletter / CTA band */
.cta-band {
    position: relative;
    background: var(--grad-accent);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px);
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 10% 20%, rgba(255,255,255,0.22), transparent 45%),
      radial-gradient(circle at 90% 90%, rgba(7,22,48,0.25), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 12px auto 30px; }

/* Job cards */
.jobs { display: grid; gap: 18px; }
.job {
    display: flex; align-items: center; gap: 24px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 28px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.job:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.job__main { flex: 1; min-width: 0; }
.job__title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-soft); font-size: 0.88rem; margin-bottom: 8px; }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__summary { color: var(--text-soft); font-size: 0.95rem; }
.job__side { text-align: right; flex: none; }
.job__salary { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); margin-bottom: 10px; white-space: nowrap; }
.chip {
    display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill);
    font-size: 0.74rem; font-weight: 700; background: var(--mist-2); color: var(--navy-700);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip--lg {
    font-size: 0.88rem; padding: 9px 18px;
    background: #fff; border: 1px solid var(--line); color: var(--navy-800);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chip--lg:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-sm); }

/* Embedded careers portal (careers-page.com) */
.job-board {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.job-board iframe {
    display: block;
    width: 100%;
    height: 780px;
    border: 0;
}
@media (max-width: 640px) {
    .job-board iframe { height: 680px; }
}

/* Filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
    border: 1px solid var(--line); background: #fff;
    padding: 9px 18px; border-radius: var(--radius-pill);
    font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
    color: var(--text-soft); cursor: pointer; transition: all 0.2s var(--ease);
}
.filter:hover { border-color: var(--navy-800); color: var(--navy-800); }
.filter.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.post__media img, .post__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post:hover .post__media img, .post:hover .post__media svg { transform: scale(1.06); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.post__title { font-size: 1.2rem; margin-bottom: 10px; }
.post__excerpt { color: var(--text-soft); font-size: 0.94rem; flex: 1; }
.post__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--text-faint); }
.post__more { color: var(--accent); font-weight: 700; font-family: var(--font-head); }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article__hero { aspect-ratio: 16/7; border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0; box-shadow: var(--shadow); }
.article__hero img, .article__hero svg { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 1.08rem; color: var(--text); margin-bottom: 22px; line-height: 1.8; }
.article__meta { display: flex; gap: 18px; color: var(--text-faint); font-size: 0.9rem; }

/* Accordion (FAQ) */
.accordion { max-width: 820px; margin-inline: auto; }
.acc {
    border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 14px; background: #fff; overflow: hidden;
    transition: box-shadow 0.25s var(--ease);
}
.acc[open] { box-shadow: var(--shadow-sm); }
.acc summary {
    list-style: none; cursor: pointer;
    padding: 20px 24px; font-family: var(--font-head); font-weight: 700;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
    content: "+"; font-size: 1.6rem; color: var(--accent); font-weight: 400;
    transition: transform 0.25s var(--ease); line-height: 1;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 24px 22px; color: var(--text-soft); }

/* Legal pages (Privacy Policy) */
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    margin: 40px 0 14px; padding-top: 26px;
    border-top: 1px solid var(--line);
}
.legal-content > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.12rem; margin: 26px 0 10px; color: var(--navy-800); }
.legal-content p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.8; }
.legal-content a { color: var(--accent); font-weight: 600; word-break: break-word; }
.legal-content a:hover { text-decoration: underline; }
.legal-list { margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.legal-list li { position: relative; padding-left: 26px; color: var(--text-soft); line-height: 1.7; }
.legal-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

/* Page hero (interior pages) */
.page-hero {
    background: var(--grad-hero); color: var(--on-dark);
    padding: clamp(60px, 8vw, 100px) 0 clamp(56px, 7vw, 90px);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; top: -160px; right: -120px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.4), transparent 65%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: var(--on-dark-soft); font-size: 1.12rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--on-dark-soft); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: 0.5; }

/* -------------------------------------------------------------------------
   8. Forms
   ------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy-800); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
    font-family: var(--font-body); font-size: 0.98rem;
    padding: 13px 16px; border: 1.5px solid var(--line);
    border-radius: 12px; background: #fff; color: var(--text);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.14);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #e23d3d; box-shadow: 0 0 0 4px rgba(226,61,61,0.12); }
.field .error-msg { color: #e23d3d; font-size: 0.82rem; display: none; }
.field .error-msg.show { display: block; }

/* Radio group (styled option cards) */
.radio-group { display: grid; gap: 10px; }
.radio-option {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.96rem;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.radio-option:hover { border-color: var(--accent); }
.radio-option input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); cursor: pointer; }
.radio-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-group.invalid .radio-option { border-color: #e23d3d; }

/* File upload field */
.file-drop {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    border: 2px dashed var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    background: var(--mist);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); background: #fff; }
.file-drop.invalid { border-color: #e23d3d; }
.file-drop input[type="file"] {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.file-drop__ico {
    flex: none; width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--grad-accent); color: #fff;
}
.file-drop__ico svg { width: 22px; height: 22px; }
.file-drop__text b { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy-800); }
.file-drop__text small { color: var(--text-faint); font-size: 0.82rem; }
.file-drop.has-file { border-style: solid; border-color: var(--teal); background: #fff; }
.file-drop.has-file .file-drop__ico { background: var(--grad-teal); }

.newsletter-form { display: flex; gap: 12px; max-width: 520px; margin-inline: auto; }
.newsletter-form input {
    flex: 1; border: none; border-radius: var(--radius-pill);
    padding: 15px 22px; font-size: 1rem;
}
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.4); }

.alert {
    border-radius: 12px; padding: 16px 20px; font-size: 0.95rem;
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px;
}
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.alert--success { background: #e7f8f3; color: #0c6b5b; border: 1px solid #b6e7da; }
.alert--error { background: #fdecec; color: #b42525; border: 1px solid #f5c6c6; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico {
    flex: none; width: 50px; height: 50px; border-radius: 14px;
    background: var(--mist-2); color: var(--navy-700);
    display: grid; place-items: center;
}
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item b { font-family: var(--font-head); display: block; margin-bottom: 2px; }
.contact-item a, .contact-item p { color: var(--text-soft); }
.contact-item a:hover { color: var(--accent); }

/* -------------------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-logo {
    display: inline-block;
    background: #fff;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.footer-logo img { height: 46px; width: auto; display: block; }
.footer-about { margin: 18px 0 22px; font-size: 0.93rem; line-height: 1.7; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--on-dark-soft); font-size: 0.93rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; font-size: 0.93rem; }
.footer-contact a { color: var(--on-dark-soft); display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials .social-btn { width: 42px; height: 42px; }
.footer-socials .social-btn svg { width: 18px; height: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0; display: flex; justify-content: space-between;
    align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem;
}
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   10. Utilities
   ------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-soft); }
.flex-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.flex-cta.center { justify-content: center; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.badge-soft {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-soft); color: var(--accent-dark);
    padding: 7px 16px; border-radius: var(--radius-pill);
    font-weight: 700; font-size: 0.82rem;
}

/* -------------------------------------------------------------------------
   10b. Back-to-top button with scroll-progress ring
   ------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    width: 56px; height: 56px;
    padding: 0; border: none; background: transparent; cursor: pointer;
    display: grid; place-items: center;
    z-index: 95;
    opacity: 0; visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top__ring {
    position: absolute; inset: 0;
    width: 56px; height: 56px;
    transform: rotate(-90deg);   /* start the progress at 12 o'clock */
}
.back-to-top__track {
    fill: #fff;
    stroke: var(--line);
    stroke-width: 3;
}
.back-to-top__progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}
.back-to-top__icon {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad-accent);
    color: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.25s var(--ease);
}
.back-to-top__icon svg { width: 20px; height: 20px; }
.back-to-top:hover .back-to-top__icon { transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 50%; }

/* -------------------------------------------------------------------------
   11. Scroll reveal animations
   ------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@keyframes float {
    from { transform: translate(0, 0); }
    to   { transform: translate(18px, -22px); }
}
@keyframes scroll-x {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   12. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .topbar__hours { display: none; }   /* free space on tablets */
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 460px; }
    .split { gap: 40px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .step:not(:last-child)::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .topbar__follow { display: none; }
    .nav__menu, .nav__actions .btn { display: none; }
    .nav__toggle { display: block; }

    /* ---- Full-screen off-canvas menu ---- */
    body.menu-open { overflow: hidden; }
    .offcanvas {
        display: flex; flex-direction: column;
        position: fixed; inset: 0; z-index: 1000;
        padding: 0 24px calc(28px + env(safe-area-inset-bottom, 0px));
        background: var(--grad-hero); color: #fff;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        opacity: 0; visibility: hidden;
        transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), visibility 0.5s;
    }
    .offcanvas::before, .offcanvas::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
    .offcanvas::before { top: -140px; right: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,107,53,0.40), transparent 65%); }
    .offcanvas::after  { bottom: -160px; left: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(22,184,166,0.28), transparent 65%); }
    body.menu-open .offcanvas { transform: none; opacity: 1; visibility: visible; }

    .offcanvas__bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
    .offcanvas__logo { background: #fff; padding: 8px 12px; border-radius: 12px; display: inline-flex; }
    .offcanvas__logo img { height: 38px; width: auto; display: block; }
    .offcanvas__close {
        width: 48px; height: 48px; border-radius: 12px; cursor: pointer;
        border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
        position: relative; transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    }
    .offcanvas__close:hover { background: rgba(255,255,255,0.16); transform: rotate(90deg); }
    .offcanvas__close::before, .offcanvas__close::after {
        content: ""; position: absolute; left: 50%; top: 50%;
        width: 18px; height: 2px; background: #fff; border-radius: 2px;
    }
    .offcanvas__close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .offcanvas__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }

    .offcanvas__nav { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 14px 0; }
    .offcanvas__nav a {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        color: #fff; font-family: var(--font-head); font-weight: 700;
        font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1;
        padding: 16px 2px; border-bottom: 1px solid rgba(255,255,255,0.1);
        opacity: 0; transform: translateX(26px);
        transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s var(--ease);
    }
    .offcanvas__nav a svg { width: 22px; height: 22px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
    .offcanvas__nav a:hover, .offcanvas__nav a.active { color: var(--accent); }
    .offcanvas__nav a:hover svg, .offcanvas__nav a.active svg { opacity: 1; transform: none; }
    body.menu-open .offcanvas__nav a { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--i, 0) * 0.06s); }

    .offcanvas__foot {
        position: relative; z-index: 1; display: grid; gap: 18px; padding: 12px 0 8px;
        opacity: 0; transform: translateY(18px);
        transition: opacity 0.45s var(--ease) 0.42s, transform 0.45s var(--ease) 0.42s;
    }
    body.menu-open .offcanvas__foot { opacity: 1; transform: none; }
    .offcanvas__contact { display: grid; gap: 12px; }
    .offcanvas__contact a { color: var(--on-dark-soft); display: flex; align-items: center; gap: 12px; font-weight: 600; }
    .offcanvas__contact a:hover { color: #fff; }
    .offcanvas__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
    .offcanvas__socials { display: flex; gap: 10px; }

    .grid--2, .grid--3 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: -1; }
    .paths { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .posts { grid-template-columns: 1fr; }
    .job { flex-direction: column; align-items: flex-start; gap: 16px; }
    .job__side { text-align: left; width: 100%; display: flex; justify-content: space-between; align-items: center; }
}

@media (max-width: 560px) {
    .container { padding-inline: 18px; }
    .topbar .container { flex-wrap: wrap; justify-content: center; gap: 6px 10px; min-height: 0; padding-block: 9px; }
    .topbar__contact { justify-content: center; gap: 4px 8px; }
    .topbar__item { padding: 4px 8px; }
    .topbar__socials { justify-content: center; }
    .grid--4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .brand__logo { height: 40px; }
    .form__row { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
    .hero__float, .hero__inset { display: none; }
    .hero__photo-cap > span:last-child { max-width: 100%; }
    .hero__trust { flex-direction: column; align-items: flex-start; gap: 8px; }
    /* Full-width, edge-aligned CTAs on phones */
    .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero__cta .btn { width: 100%; }
    .back-to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
    .back-to-top__ring { width: 50px; height: 50px; }
    .back-to-top__icon { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
