/* ==========================================================================
   careers.css — Careers page
   Follows the homepage's language: deep navy hero, cyan gradient accents,
   Outfit headings, pill buttons, the short gradient line above titles.
   All classes are prefixed cr- so nothing collides with other pages.
   ========================================================================== */

.careers-page {
    background: #f4f9ff;
}

.brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .brand img {
            height: 45px;
            width: auto;
        }

        .brand span {
            font-weight: 700;
            font-size: 20px;
        }
        
.cr-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.cr-section {
    padding: 96px 0;
}

/* ---- Section titles (same look as the homepage) ---- */
.cr-title {
    text-align: center;
    margin-bottom: 52px;
}

.cr-line {
    width: 80px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0077a8, #00dcff);
}

.cr-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #002b45;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.cr-title p {
    color: #0077a8;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cr-grad {
    background: linear-gradient(135deg, #00dcff, #7ec8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons (same pills as the homepage) ---- */
.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 50px;
    border: none;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.25s ease;
}

.cr-btn-primary {
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 150, 220, 0.35);
}

.cr-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 180, 255, 0.5);
}

.cr-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.cr-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============ HERO ============ */
.cr-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 42%, rgba(0, 184, 255, 0.22) 0%, transparent 45%),
        linear-gradient(160deg, #001420 0%, #002b45 55%, #03446d 100%);
    padding: 150px 0 150px;
}

.cr-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.cr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 50px;
    background: rgba(0, 200, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4f0ff;
    margin-bottom: 22px;
}

.cr-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5.2vw, 4.3rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.cr-hero .cr-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 34px;
}

.cr-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cr-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.cr-hero-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.cr-hero-facts strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #00dcff;
}

/* ---- The compass / sonar on the right of the hero ---- */
.cr-compass {
    position: relative;
    width: min(380px, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
}

.cr-compass .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 220, 255, 0.25);
}

.cr-compass .ring:nth-child(2) { inset: 14%; border-color: rgba(0, 220, 255, 0.35); }
.cr-compass .ring:nth-child(3) { inset: 28%; border-color: rgba(0, 220, 255, 0.5); }

.cr-compass .pulse {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    border: 2px solid rgba(0, 220, 255, 0.6);
    animation: cr-pulse 3.2s ease-out infinite;
}

.cr-compass .pulse:nth-of-type(2) { animation-delay: 1.6s; }

@keyframes cr-pulse {
    from { transform: scale(1); opacity: 0.9; }
    to   { transform: scale(2.3); opacity: 0; }
}

.cr-compass .sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 220, 255, 0.28), transparent 22%);
    animation: cr-spin 6s linear infinite;
}

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

.cr-compass .core {
    position: absolute;
    inset: 38%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.55);
    font-size: 2.2rem;
    color: #fff;
}

/* Role blips placed around the compass by careers.js */
.cr-blip {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #002b45;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.25s ease, background 0.25s ease;
}

.cr-blip::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #00b8ff;
    box-shadow: 0 0 0 4px rgba(0, 184, 255, 0.2);
    vertical-align: 1px;
}

.cr-blip:hover {
    transform: translate(-50%, -50%) scale(1.07);
    background: #fff;
}

.cr-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    line-height: 0;
}

.cr-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ OPEN POSITIONS ============ */
.cr-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.cr-chip {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #cfe3f0;
    background: #fff;
    color: #03446d;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cr-chip:hover {
    border-color: #00b8ff;
}

.cr-chip[aria-pressed="true"] {
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 150, 220, 0.3);
}

.cr-chip .n {
    display: inline-block;
    min-width: 22px;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 20px;
    background: rgba(0, 119, 168, 0.12);
    font-size: 0.78rem;
}

.cr-chip[aria-pressed="true"] .n {
    background: rgba(255, 255, 255, 0.25);
}

.cr-jobs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.cr-job {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 30px 30px 26px;
    border-radius: 24px;
    border: 1px solid rgba(0, 150, 210, 0.15);
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 60, 100, 0.07);
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cr-job::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #006994, #00b4e6, #00dcff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cr-job:hover {
    transform: translateY(-8px);
    border-color: #00b4e6;
    box-shadow: 0 28px 55px rgba(0, 110, 160, 0.18);
}

.cr-job:hover::before {
    transform: scaleX(1);
}

.cr-job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cr-dept {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 30px;
    background: #e8f4fb;
    color: #0077a8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.cr-openings {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a8f4c;
    white-space: nowrap;
}

.cr-openings::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.cr-job h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #002b45;
    line-height: 1.25;
}

.cr-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.9rem;
    color: #5a6b7c;
}

.cr-job-meta i {
    color: #00a6d6;
    margin-right: 6px;
}

.cr-job-go {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef4f9;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0077a8;
}

.cr-job-go i {
    margin-left: 6px;
    transition: transform 0.25s ease;
}

.cr-job:hover .cr-job-go i {
    transform: translateX(5px);
}

.cr-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #5a6b7c;
}

/* ============ WHY JOIN (dark band) ============ */
.cr-why {
    background: linear-gradient(135deg, #001f3f, #003b5c);
    color: #fff;
}

.cr-why .cr-title h2 {
    color: #fff;
}

.cr-why .cr-title p {
    color: #7fe6ff;
}

.cr-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cr-reasons {
    display: grid;
    gap: 14px;
}

.cr-reason {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cr-reason:hover {
    background: rgba(0, 220, 255, 0.08);
    border-color: rgba(0, 220, 255, 0.35);
}

.cr-reason .ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    box-shadow: 0 10px 25px rgba(0, 150, 220, 0.35);
}

.cr-reason h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.cr-reason p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

/* Photo collage — three team photos, staggered */
.cr-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 16px;
}

.cr-photo {
    position: relative;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.12);
    /* Shown while the photo is missing or loading */
    background: linear-gradient(135deg, #0a3d62, #0d6ba7);
}

.cr-photo:nth-child(1) { grid-row: 1 / 3; }
.cr-photo:nth-child(2) { transform: translateY(24px); }
.cr-photo:nth-child(3) { transform: translateY(24px); }

.cr-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* If a photo file is missing, hide the broken-image icon and show a tidy tile */
.cr-photo.missing img {
    display: none;
}

.cr-photo.missing::after {
    content: "\f0c0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    color: rgba(255, 255, 255, 0.35);
}

.cr-photo figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 20, 32, 0.7);
    backdrop-filter: blur(8px);
    font-size: 0.76rem;
    font-weight: 600;
}

/* ============ WHAT WE OFFER ============ */
.cr-offer-intro {
    max-width: 720px;
    margin: -24px auto 44px;
    text-align: center;
    color: #3a4f60;
    line-height: 1.8;
}

.cr-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.cr-perk {
    padding: 30px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 150, 210, 0.14);
    box-shadow: 0 12px 30px rgba(0, 60, 100, 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.cr-perk:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 110, 160, 0.15);
}

.cr-perk .ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
    color: #005a8c;
    background: linear-gradient(145deg, #e6f4ff, #ccebff);
    transition: all 0.3s ease;
}

.cr-perk:hover .ico {
    background: linear-gradient(145deg, #00a6d6, #0077a8);
    color: #fff;
    transform: rotate(-6deg) scale(1.08);
}

.cr-perk h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #002b45;
    margin-bottom: 6px;
}

.cr-perk p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #5a6b7c;
}

/* ============ HIRING JOURNEY ============ */
.cr-journey {
    background: #eaf5fc;
}

.cr-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    counter-reset: step;
}

/* The dashed "route" line joining the steps */
.cr-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed #9fd3ee;
}

.cr-step {
    position: relative;
    text-align: center;
    padding: 0 8px;
    counter-increment: step;
}

.cr-step .dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    box-shadow: 0 0 0 8px #eaf5fc, 0 14px 30px rgba(0, 150, 220, 0.35);
}

.cr-step .dot::after {
    content: counter(step);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #002b45;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cr-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #002b45;
    margin-bottom: 6px;
}

.cr-step p {
    font-size: 0.9rem;
    color: #5a6b7c;
    line-height: 1.6;
}

/* ============ CLOSING CTA ============ */
.cr-cta {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 220, 255, 0.25), transparent 40%),
        linear-gradient(135deg, #002b45, #03446d);
}

.cr-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.cr-cta p {
    max-width: 58ch;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.cr-cta-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin-top: 28px;
    font-size: 0.95rem;
}

.cr-cta-contacts a {
    color: #7fe6ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.cr-cta-contacts a:hover {
    color: #fff;
}

/* ============ JOB DETAIL DIALOG ============ */
.cr-dialog {
    width: min(920px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 26px;
    background: #fff;
    color: #1a2b3c;
    box-shadow: 0 40px 100px rgba(0, 20, 40, 0.45);
    overflow: hidden;
}

.cr-dialog::backdrop {
    background: rgba(0, 20, 32, 0.65);
    backdrop-filter: blur(4px);
}

.cr-dialog[open] {
    display: flex;
    flex-direction: column;
    animation: cr-rise 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes cr-rise {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

.cr-d-head {
    position: relative;
    padding: 34px 38px 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 220, 255, 0.3), transparent 45%),
        linear-gradient(135deg, #002b45, #03446d);
}

.cr-d-head .cr-dept {
    background: rgba(255, 255, 255, 0.14);
    color: #d4f0ff;
}

.cr-d-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 14px 44px 12px 0;
}

.cr-d-head .cr-job-meta {
    color: rgba(255, 255, 255, 0.82);
}

.cr-d-head .cr-job-meta i {
    color: #7fe6ff;
}

.cr-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cr-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(90deg);
}

.cr-d-body {
    padding: 32px 38px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cr-d-body > p {
    color: #3a4f60;
    line-height: 1.85;
    margin-bottom: 14px;
}

.cr-d-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 26px 0;
}

.cr-d-box {
    border-radius: 18px;
    border: 1px solid #dcebf5;
    overflow: hidden;
}

.cr-d-box h3 {
    padding: 13px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #0077a8, #00a6d6);
}

.cr-d-box ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.cr-d-box li {
    position: relative;
    padding: 10px 20px 10px 42px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #3a4f60;
    border-bottom: 1px solid #eef4f9;
}

.cr-d-box li:last-child {
    border-bottom: none;
}

.cr-d-box li::before {
    content: "\2713";
    position: absolute;
    left: 18px;
    top: 10px;
    font-weight: 800;
    color: #00a6d6;
}

/* Skill profile — bars instead of stars */
.cr-skills h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #002b45;
    margin-bottom: 14px;
}

.cr-skill {
    display: grid;
    grid-template-columns: 170px 1fr 40px;
    align-items: center;
    gap: 14px;
    margin-bottom: 11px;
    font-size: 0.9rem;
    color: #3a4f60;
}

.cr-bar {
    height: 9px;
    border-radius: 10px;
    background: #e3eef6;
    overflow: hidden;
}

.cr-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #0077a8, #00dcff);
    transition: width 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.cr-skill .v {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0077a8;
    text-align: right;
}

.cr-d-note {
    padding: 16px 18px;
    border-radius: 14px;
    background: #f0f8fd;
    border-left: 4px solid #00a6d6;
    color: #3a4f60;
    font-size: 0.93rem;
    line-height: 1.7;
}

.cr-d-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 38px;
    border-top: 1px solid #e6f0f7;
    background: #f8fcff;
}

.cr-d-foot small {
    color: #5a6b7c;
    font-size: 0.85rem;
}

.cr-share {
    background: none;
    border: 1px solid #cfe3f0;
    color: #03446d;
    padding: 11px 18px;
    border-radius: 40px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.cr-share:hover {
    border-color: #00b8ff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
    .cr-hero-grid,
    .cr-why-grid {
        grid-template-columns: 1fr;
    }

    .cr-compass {
        width: min(320px, 86%);
        margin-top: 10px;
    }

    .cr-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cr-collage {
        grid-template-rows: 190px 190px;
    }
}

@media (max-width: 760px) {
    .cr-section {
        padding: 64px 0;
    }

    .cr-hero {
        padding: 120px 0 110px;
    }

    .cr-jobs {
        grid-template-columns: 1fr;
    }

    .cr-steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 34px;
    }

    .cr-steps::before {
        display: none;
    }

    .cr-d-cols {
        grid-template-columns: 1fr;
    }

    .cr-d-head,
    .cr-d-body,
    .cr-d-foot {
        padding-left: 22px;
        padding-right: 22px;
    }

    .cr-skill {
        grid-template-columns: 1fr 1fr 34px;
    }
}

@media (max-width: 480px) {
    .cr-perks {
        grid-template-columns: 1fr;
    }

    .cr-hero-btns .cr-btn {
        flex: 1 1 100%;
    }

    .cr-collage {
        grid-template-rows: 150px 150px;
        gap: 10px;
    }

    .cr-photo:nth-child(2),
    .cr-photo:nth-child(3) {
        transform: none;
    }

    .cr-job {
        padding: 24px 22px 20px;
    }

    /* On small phones the dialog fills the screen like an app sheet */
    .cr-dialog {
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
    }

    .cr-d-foot .cr-btn {
        flex: 1 1 100%;
    }

    .cr-d-foot small {
        display: none;
    }
}

/* Phones: filter chips become one swipeable row instead of stacking */
@media (max-width: 760px) {
    .cr-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: -24px;
        padding: 4px 24px 14px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .cr-filters::-webkit-scrollbar {
        display: none;
    }

    .cr-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

/* Touch screens: no sticky hover lifts */
@media (hover: none) {
    .cr-job:hover,
    .cr-perk:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-compass .sweep,
    .cr-compass .pulse {
        animation: none;
    }
}
