/* rr public site. Navy and gold, Montserrat headings, Inter text.
   One card style everywhere; colour only for the brand and for meaning. */

:root {
    --navy:        #1a234c;
    --navy-deep:   #111733;
    --navy-tint:   #eef0f7;
    --gold:        #f2b233;
    --gold-hover:  #e09f1c;
    --gold-tint:   #fdf4e1;
    --ink:         #1c2236;
    --muted:       #5d6578;
    --line:        #e4e7ef;
    --bg-alt:      #f6f7fb;
    --white:       #ffffff;

    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Montserrat", var(--font-body);

    --radius:    14px;
    --radius-sm: 10px;
    --shadow:    0 1px 2px rgba(17, 23, 51, .04), 0 8px 24px rgba(17, 23, 51, .06);
    --header-h:  76px;
    --container: 1180px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 .6em;
    color: var(--navy);
    text-wrap: balance; /* no single word left alone on the last line */
}

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 8px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-hover); }

.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
}
.link-arrow i { transition: transform .15s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(17, 23, 51, .06); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand img { max-height: 48px; width: auto; }
.brand-mark {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .02em;
    color: var(--gold);
    background: var(--navy);
    padding: 4px 10px;
    border-radius: 8px;
}
.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .72rem;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--navy);
}
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-mark { background: var(--gold); color: var(--navy-deep); }

.site-menu { display: flex; align-items: center; gap: 28px; }
.site-menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-menu ul a {
    display: block;
    padding: .5rem .8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
}
.site-menu ul a:hover { background: var(--navy); color: var(--white); }
.site-menu ul a.active { color: var(--gold); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Below 1080px the menu folds into a panel under the header */
@media (max-width: 1079px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .site-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 12px 20px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(17, 23, 51, .08);
    }
    .menu-open .site-menu { display: flex; }
    .site-menu ul { flex-direction: column; }
    .site-menu ul a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .site-menu ul a.active { box-shadow: inset 3px 0 0 var(--gold); padding-left: .9rem; }
    .site-menu .btn { justify-content: center; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

.eyebrow {
    display: inline-block;
    margin-bottom: .9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-hover);
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.section-foot { margin-top: 48px; text-align: center; }

/* ---------- Hero slider ---------- */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(1000px 500px at 85% 10%, rgba(242, 178, 51, .18), transparent 60%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #26326a 100%);
}
.hero-track { display: grid; }
.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 120px 0 190px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
}
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
/* The photo, then the navy and gold shades over it: style="--hero-image:url(...)" */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image, none) center / cover no-repeat;
    opacity: .58;
    filter: saturate(.55) contrast(1.02);
    transform: scale(1.02);
    transition: transform 9s ease;
}
.hero-slide.is-active::before { transform: scale(1.08); }
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 480px at 86% 4%, rgba(242, 178, 51, .20), transparent 62%),
        linear-gradient(90deg, rgba(17, 23, 51, .97) 0%, rgba(17, 23, 51, .88) 40%, rgba(17, 23, 51, .52) 72%, rgba(17, 23, 51, .30) 100%);
}
.hero-slide .container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; opacity: 0; transform: translateY(16px); transition: opacity .7s ease .12s, transform .7s ease .12s; }
.hero-slide.is-active .hero-content { opacity: 1; transform: none; }
.hero h1, .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em;
}
.hero h1 em, .hero-title em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-controls { display: none; position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; }
.hero-slider.is-ready .hero-controls { display: block; }
.hero-controls-inner { display: flex; align-items: center; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dot {
    position: relative;
    width: 32px;
    height: 18px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width .25s ease;
}
.hero-dot::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
    transform: translateY(-50%);
    transition: background .25s ease;
}
.hero-dot:hover::before { background: rgba(255, 255, 255, .62); }
.hero-dot[aria-current="true"] { width: 46px; }
.hero-dot[aria-current="true"]::before { background: var(--gold); }
.hero-dot:focus-visible::before { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 899px) {
    .hero-slide { min-height: 520px; padding: 100px 0 180px; }
    .hero-slide::after {
        background:
            radial-gradient(700px 400px at 88% 0%, rgba(242, 178, 51, .18), transparent 60%),
            linear-gradient(180deg, rgba(17, 23, 51, .93) 0%, rgba(17, 23, 51, .80) 58%, rgba(17, 23, 51, .62) 100%);
    }
}
@media (max-width: 599px) {
    .hero-slide { min-height: 0; padding: 80px 0 150px; }
    .hero-controls { bottom: 70px; }
    .hero-dot { width: 26px; }
    .hero-dot[aria-current="true"] { width: 38px; }
}

/* Trust strip that overlaps the bottom of the hero */
.trust { position: relative; margin-top: -64px; z-index: 2; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--font-heading); color: var(--navy); font-size: .98rem; line-height: 1.3; }
.trust-item span { font-size: .85rem; color: var(--muted); }

@media (max-width: 899px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 519px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Inner page hero ---------- */

.page-hero {
    padding: 88px 0 96px;
    color: rgba(255, 255, 255, .8);
    background:
        radial-gradient(800px 360px at 90% 0%, rgba(242, 178, 51, .16), transparent 60%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; color: var(--white); max-width: 820px; }
.page-hero p { font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: .88rem; }
.breadcrumb li:not(:last-child) { white-space: nowrap; } /* wrap between items, not inside "Why Choose Us" */
.breadcrumb a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.breadcrumb [aria-current] { color: var(--white); }

@media (max-width: 599px) { .page-hero { padding: 64px 0 72px; } }

/* ---------- Icons ---------- */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-tint);
    color: var(--gold-hover);
    font-size: 1.35rem;
}
.icon-navy { background: var(--navy-tint); color: var(--navy); }
.section-dark .icon { background: rgba(242, 178, 51, .14); color: var(--gold); }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) { .card-grid-2 { grid-template-columns: 1fr; } }

.card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.card, .card-link { text-decoration: none; color: inherit; }
a.card:hover, .card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { margin-bottom: 20px; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Ticked list */
.checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: .96rem; }
.checklist li::before {
    content: "\F26E"; /* bootstrap-icons check2 */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: .8rem;
    font-weight: 700;
}
.label {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--navy-tint);
    color: var(--navy);
    font-size: .76rem;
    font-weight: 600;
}

.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.meta i { color: var(--gold-hover); margin-right: 4px; }

/* Items on the dark section: no box, just icon + text */
.feature-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; gap: 18px; text-decoration: none; color: inherit; }
.feature h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.feature p { margin: 0; font-size: .95rem; }
a.feature:hover h3 { color: var(--gold); }

@media (max-width: 899px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Split (text + side panel) ---------- */

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.split .lead { font-size: 1.12rem; color: var(--ink); }
.split p { color: var(--muted); }
.stack { display: grid; gap: 16px; }
.stack .card { flex-direction: row; gap: 18px; padding: 24px; }
.stack .card .icon { margin: 0; }
.stack .card p { margin: 0; }

@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.split-top { align-items: start; }

/* Key facts in a card: icon, small label, value */
.facts { list-style: none; margin: 0; padding: 8px 28px; }
.facts li { display: flex; gap: 16px; align-items: center; padding: 18px 0; }
.facts li + li { border-top: 1px solid var(--line); }
.facts small { display: block; font-size: .8rem; color: var(--muted); }
.facts strong { font-family: var(--font-heading); color: var(--navy); }
.card.facts-card { padding: 0; }
.facts-card h3 { margin: 0; padding: 24px 28px 0; font-size: 1rem; }

/* Role tags */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .93rem;
    font-weight: 500;
}
.chips i { color: var(--gold-hover); }
.chips-group + .chips-group { margin-top: 32px; }
.chips-group h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Vision / mission: two large cards */
.statement { padding: 40px; }
.statement h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.statement h3 .icon { margin: 0; }
.statement p { font-size: 1.08rem; line-height: 1.7; color: var(--ink); margin: 0; }

/* Values: a row of short items */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.values li { padding: 28px 22px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); }
.values .icon { margin-bottom: 16px; }
.values strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--white); margin-bottom: .3rem; }
.values span { font-size: .92rem; }

@media (max-width: 999px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) {
    .values { grid-template-columns: 1fr 1fr; }
    .values li:last-child { grid-column: 1 / -1; }
    .statement { padding: 28px; }
}

/* ---------- Why Choose Us ---------- */

.reason-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 999px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .reason-grid { grid-template-columns: 1fr; } }

.reason-card { position: relative; overflow: hidden; }
.reason-number {
    position: absolute;
    top: 14px;
    right: 22px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--navy-tint);
    transition: color .2s;
}
.reason-card:hover .reason-number { color: var(--gold-tint); }

/* Icon + "Reason 01 of 06" above a detail page's title */
.page-hero-icon { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.page-hero-icon .eyebrow { margin: 0; }
.page-hero .icon { background: rgba(242, 178, 51, .14); color: var(--gold); }

.lead-lg { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--ink); margin-bottom: 2rem; }
.split .h-sub { font-size: 1.15rem; margin-bottom: 1.2rem; }

/* ---------- Training ---------- */

.course-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .course-grid-3 { grid-template-columns: 1fr; } }

/* Trainers, on navy: text on the left, points on the right */
.split .trainers-text { font-size: 1.08rem; margin-bottom: 1.8rem; color: rgba(255, 255, 255, .78); }
.trainer-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trainer-points li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .88);
}

/* Course facts inside the side card */
.facts-compact { padding: 0; margin: 4px 0 24px; }
.facts-compact li { padding: 14px 0; }
.facts-compact strong { font-family: var(--font-body); font-weight: 600; font-size: .95rem; }

/* ---------- Careers ---------- */

.jobs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.jobs-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.jobs-count { color: var(--muted); font-weight: 500; }

.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.job-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.job-row:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.job-row-main { flex: 1; min-width: 0; }
.job-row h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.job-row p { color: var(--muted); margin-bottom: .8rem; }
.job-row .meta { margin: 0; }
.job-row-go { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-weight: 600; color: var(--navy); }
.job-row-go i { transition: transform .15s; }
.job-row:hover .job-row-go i { transform: translateX(3px); }
@media (max-width: 599px) {
    .job-row { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
}

.empty-jobs { align-items: center; text-align: center; padding: 56px 24px; }
.empty-jobs .icon { margin-bottom: 16px; }
.empty-jobs p { max-width: 420px; }

/* Job facts in the banner */
.meta-light { color: rgba(255, 255, 255, .78); font-size: .95rem; gap: 8px 22px; margin: 4px 0 0; }
.meta-light i { color: var(--gold); }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
}

/* Staff-only notice above a draft job */
.preview-bar { background: var(--gold-tint); color: var(--ink); font-size: .92rem; padding: 10px 0; border-bottom: 1px solid #f3dfae; }
.preview-bar i { color: var(--gold-hover); margin-right: 4px; }
.preview-bar a { margin-left: 8px; font-weight: 600; }

/* Text typed in the admin (text_to_html) */
.prose { font-size: 1.02rem; }
.prose p { color: var(--ink); }
.prose strong { font-family: var(--font-heading); color: var(--navy); }
.prose p:has(> strong:only-child) { margin: 1.6em 0 .7em; }
.prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.split .prose p { color: var(--ink); }

.job-body .ask-card .ask-phone { font-weight: 500; }

.apply-box { max-width: 760px; margin: 0 auto; padding: 40px; }
.apply-box h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.apply-intro { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
#apply { scroll-margin-top: var(--header-h); }
@media (max-width: 599px) { .apply-box { padding: 26px 20px; } }

.apply-done { text-align: center; padding: 16px 0; }
.apply-done .icon { width: 64px; height: 64px; font-size: 2rem; margin-bottom: 18px; background: #e7f6ec; color: #1f8a4c; }
.apply-done p { color: var(--muted); max-width: 480px; margin: 0 auto 1.2rem; }

/* ---------- Contact ---------- */

.contact-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-hover); }

.contact-form-card { padding: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
@media (max-width: 599px) { .contact-form-card { padding: 26px 20px; } }

/* ---------- Forms (public) ---------- */

.site-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 599px) { .form-row { grid-template-columns: 1fr; } }

.form-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.form-field input, .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd4e0;
    border-radius: var(--radius-sm);
    background: var(--white);
    font: inherit;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid #cfd4e0;
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
    appearance: none;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a234c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.form-field .is-invalid { border-color: #d14343; }
.form-field .is-invalid:focus { box-shadow: 0 0 0 3px #fbe4e4; }
.form-field .field-error { margin: 6px 0 0; color: #b42318; font-size: .88rem; }
.req { color: #d14343; }
.optional { color: var(--muted); font-weight: 400; }

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #fdecec;
    color: #8a1c1c;
    font-size: .95rem;
}
.form-alert i { margin-top: 2px; }

/* File picker: the real input is hidden; its label is the drop area */
.form-field .file-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 18px 20px;
    border: 2px dashed #cfd4e0;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.form-field .file-drop i { font-size: 1.5rem; color: var(--navy); }
.form-field .file-drop:hover, #cv:focus-visible + .file-drop { border-color: var(--navy); background: var(--white); }
.form-field .file-drop.has-file { border-style: solid; border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.form-field .file-drop.is-invalid { border-color: #d14343; }
.file-drop-text { min-width: 0; overflow-wrap: anywhere; }

.form-note { margin: 0; color: var(--muted); font-size: .85rem; }
.site-form .btn { justify-self: start; }

/* Spam trap: kept off-screen for people, still filled in by bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Video cards (services) ---------- */
/* Cover image, dark fade at the bottom, play button in the middle.
   The title link stretches over the whole card; the play button sits above it. */

.video-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.video-grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Smaller cards: title only, and a smaller play button, so the two never meet.
   (Cards stay 16:9: YouTube covers have black bars that only that shape crops off.) */
.video-grid-3 .video-card p { display: none; }
.video-grid-3 .video-card-text { padding: 60px 22px 18px; }
.video-grid-3 .video-card h3 { font-size: 1.1rem; }
.video-grid-3 .play-btn { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 1.7rem; top: 33%; }
@media (max-width: 999px) { .video-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .video-grid, .video-grid-3 { grid-template-columns: 1fr; } }

.video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    color: var(--white);
    isolation: isolate;
}
.video-card > img, .video-card-blank {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.video-card:hover > img, .video-card:hover .video-card-blank { transform: scale(1.04); }
.video-card-blank {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 11%;
    font-size: 3.4rem;
    color: rgba(242, 178, 51, .35);
    background:
        radial-gradient(420px 220px at 85% 0%, rgba(242, 178, 51, .2), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), #26326a);
}
/* With a play button in the middle, the icon would sit behind it */
.video-card:has(.play-btn) .video-card-blank i { display: none; }

.video-card-text {
    position: absolute;
    inset: auto 0 0 0;
    padding: 80px 28px 24px;
    background: linear-gradient(0deg, rgba(10, 14, 32, .92) 0%, rgba(10, 14, 32, .6) 55%, transparent 100%);
}
.video-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: .35rem; }
.video-card h3 a { color: inherit; text-decoration: none; }
.video-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is the link */
.video-card p {
    margin: 0 0 .6rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card .link-arrow { color: var(--gold); font-size: .92rem; }
.video-card:hover .link-arrow i { transform: translateX(3px); }
.video-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.video-card a:focus-visible { outline: none; }

/* Round play button with a pulsing ring */
.play-btn {
    position: absolute;
    top: 35%;
    left: 50%;
    z-index: 2;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: transform .2s, background-color .2s;
}
.play-btn i { margin-left: 4px; } /* the triangle looks centred when nudged right */
.play-btn::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}
.play-btn:hover { transform: scale(1.08); background: var(--gold); }
@keyframes pulse-ring {
    from { transform: scale(.85); opacity: 1; }
    to   { transform: scale(1.35); opacity: 0; }
}
.play-btn-lg { top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; font-size: 3rem; }

@media (max-width: 599px) {
    /* Phones: the cover on top (16:9), the text in a navy panel underneath */
    .video-card { aspect-ratio: auto; }
    .video-card > img, .video-card-blank { position: relative; height: auto; aspect-ratio: 16 / 9; }
    .video-card-blank { align-items: center; padding-top: 0; }
    .video-card-text, .video-grid-3 .video-card-text { position: static; padding: 18px 20px 20px; background: var(--navy-deep); }
    .video-card h3, .video-grid-3 .video-card h3 { font-size: 1.12rem; }
    .video-grid-3 .video-card p { display: -webkit-box; }
    /* Centre of the cover: card width (screen minus the 2 × 20px gutters) × 9/16 ÷ 2 */
    .video-card .play-btn { top: calc((100vw - 40px) * 9 / 32); width: 58px; height: 58px; margin: -29px 0 0 -29px; font-size: 1.9rem; }
}

/* ---------- Video window (native <dialog>) ---------- */

.video-modal {
    width: min(1000px, calc(100% - 32px));
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}
.video-modal::backdrop { background: rgba(10, 14, 32, .85); backdrop-filter: blur(3px); }
.video-modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.video-frame { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.modal-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: var(--white);
    font-size: 1.05rem;
    cursor: pointer;
}
.modal-close:hover { background: var(--white); color: var(--navy); }

/* ---------- Video on a service's own page ---------- */

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(242, 178, 51, .2), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), #26326a);
    box-shadow: var(--shadow);
}
.player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-soon {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255, 255, 255, .75);
    font-family: var(--font-heading);
    font-weight: 600;
}
.player-soon i { font-size: 3.6rem; color: var(--gold); }

.service-body { margin-top: 72px; }
.checklist-lg { gap: 16px; }
.checklist-lg li { font-size: 1.05rem; }
.service-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ask-card { padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.ask-card h3 { font-size: 1.25rem; }
.ask-card .btn { justify-content: center; }
.ask-phone { display: inline-flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-weight: 600; text-decoration: none; }
@media (max-width: 899px) { .ask-card { position: static; } }
@media (max-width: 599px) { .service-body { margin-top: 48px; } .player { border-radius: 14px; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .68); padding-top: 72px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-about p { margin: 20px 0; max-width: 360px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-links, .footer-contact, .social-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .55rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li + li { margin-top: .8rem; }
.footer-contact i { color: var(--gold); margin-top: 2px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.social-links a:hover { background: var(--gold); color: var(--navy-deep); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 799px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Small screens ---------- */

@media (max-width: 599px) {
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
