/* ==========================================================================
   Croeso Informatics - redesign styles
   Loads after Bootstrap 5.2. Replaces the template's style.css on pages that
   use the new Site1.Master. Colours come from the Croeso logo.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --c-blue: #3065B6;          /* logo blue - links, primary buttons */
    --c-blue-600: #264F93;
    --c-blue-50: #EEF3FB;
    --c-blue-100: #DCE6F6;
    --c-navy: #0F1E3D;          /* headings, dark bands, footer */
    --c-navy-700: #18305E;
    --c-coral: #F45162;         /* logo "INFORMATICS" - accent, large text / decoration only */
    --c-coral-600: #C9303F;     /* coral for small text (AA on white) */
    --c-ink: #0F1E3D;
    --c-body: #475569;
    --c-muted: #64748B;
    --c-line: #E3E9F2;
    --c-mist: #F5F8FD;
    --c-white: #FFFFFF;
    --c-success: #15803D;
    --c-error: #B91C1C;

    --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 30, 61, .06), 0 1px 3px rgba(15, 30, 61, .08);
    --shadow: 0 4px 12px rgba(15, 30, 61, .06), 0 12px 32px rgba(15, 30, 61, .08);
    --shadow-lg: 0 10px 30px rgba(15, 30, 61, .10), 0 30px 60px rgba(15, 30, 61, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 76px;

    /* Bootstrap hooks */
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--c-body);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.7;
    --bs-link-color: var(--c-blue);
    --bs-link-hover-color: var(--c-blue-600);
    --bs-border-color: var(--c-line);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font);
    color: var(--c-body);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--c-ink);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

a { color: var(--c-blue); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--c-blue-600); }

:focus-visible { outline: 3px solid rgba(48, 101, 182, .45); outline-offset: 2px; border-radius: 6px; }

img { max-width: 100%; height: auto; }

main:focus { outline: none; }

section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; }

/* ---------- 3. Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .7rem;
    --bs-btn-border-radius: var(--radius-sm);
    min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s, color .15s, border-color .15s;
}
.btn-lg { --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 12px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    --bs-btn-bg: var(--c-blue); --bs-btn-border-color: var(--c-blue);
    --bs-btn-hover-bg: var(--c-blue-600); --bs-btn-hover-border-color: var(--c-blue-600);
    --bs-btn-active-bg: var(--c-blue-600); --bs-btn-active-border-color: var(--c-blue-600);
    --bs-btn-focus-shadow-rgb: 48, 101, 182;
    box-shadow: 0 6px 16px rgba(48, 101, 182, .25);
}
.btn-outline-primary {
    --bs-btn-color: var(--c-blue); --bs-btn-border-color: var(--c-blue-100);
    --bs-btn-hover-bg: var(--c-blue-50); --bs-btn-hover-color: var(--c-blue-600); --bs-btn-hover-border-color: var(--c-blue);
    --bs-btn-active-bg: var(--c-blue-50); --bs-btn-active-color: var(--c-blue-600); --bs-btn-active-border-color: var(--c-blue);
    background: #fff;
}
.btn-accent {
    --bs-btn-color: #fff; --bs-btn-bg: var(--c-coral); --bs-btn-border-color: var(--c-coral);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #E23F51; --bs-btn-hover-border-color: #E23F51;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #D23748; --bs-btn-active-border-color: #D23748;
    --bs-btn-focus-shadow-rgb: 244, 81, 98;
    box-shadow: 0 6px 16px rgba(244, 81, 98, .28);
}
.btn-outline-light {
    --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255, 255, 255, .7);
}
.btn.is-loading { pointer-events: none; opacity: .8; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow .bi { transition: transform .2s var(--ease); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ---------- 4. Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-mist { background: var(--c-mist); }
.section-tight { padding: 72px 0; }
@media (max-width: 767.98px) {
    .section { padding: 64px 0; }
    .section-tight { padding: 48px 0; }
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.section-head p.lead { font-size: 1.125rem; color: var(--c-body); margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

.display-title { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.3rem); font-weight: 800; margin-bottom: 1.25rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--c-blue); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--c-coral); }
.eyebrow-light { color: #A9C4F0; }

/* ---------- 5. Top bar + header ---------- */
.topbar { background: var(--c-navy); color: #C9D6EE; font-size: .8125rem; }
.topbar .container { min-height: 38px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: #C9D6EE; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .bi-whatsapp { color: #4ADE80; }

.site-header {
    position: sticky; top: 0; z-index: 1030;
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s var(--ease), border-color .2s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu (offcanvas) inside the header box. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px rgba(15, 30, 61, .06); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.site-header .navbar-brand { padding: 0; margin-right: 24px; }
.site-header .navbar-brand img { height: 44px; width: auto; display: block; }

.navbar-toggler {
    border: 1px solid var(--c-line); border-radius: var(--radius-sm);
    width: 46px; height: 46px; padding: 0; font-size: 1.6rem; color: var(--c-navy);
    display: inline-flex; align-items: center; justify-content: center;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(48, 101, 182, .25); }

.site-header .nav-link {
    font-weight: 600; font-size: .95rem; color: var(--c-ink);
    padding: .5rem .9rem !important; border-radius: 8px; position: relative;
}
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--c-blue); }
.site-header .nav-link.active { color: var(--c-blue); }
@media (min-width: 992px) {
    .site-header .nav-link.active::after {
        content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -2px;
        height: 3px; border-radius: 3px; background: var(--c-coral);
    }
}
.site-header .dropdown-toggle::after {
    border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem;
    vertical-align: middle; margin-left: .35rem; transition: transform .2s var(--ease);
}
.site-header .dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu-services {
    border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 10px; min-width: 340px; margin-top: 10px !important;
}
.dropdown-menu-services .dropdown-item {
    display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px;
    border-radius: var(--radius-sm); white-space: normal; color: var(--c-ink);
}
.dropdown-menu-services .dropdown-item strong { display: block; font-size: .925rem; font-weight: 700; }
.dropdown-menu-services .dropdown-item small { display: block; color: var(--c-muted); font-size: .8rem; line-height: 1.4; }
.dropdown-menu-services .dropdown-item:hover,
.dropdown-menu-services .dropdown-item:focus,
.dropdown-menu-services .dropdown-item.active { background: var(--c-blue-50); color: var(--c-ink); }
.dd-icon {
    flex: 0 0 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-blue-50); color: var(--c-blue); font-size: 1.1rem;
}
.dropdown-item:hover .dd-icon, .dropdown-item.active .dd-icon { background: var(--c-blue); color: #fff; }
.dropdown-item-all { font-weight: 600; color: var(--c-blue) !important; gap: 6px !important; align-items: center !important; }

@media (min-width: 992px) and (hover: hover) {
    .site-header .dropdown:hover > .dropdown-menu,
    .site-header .dropdown:focus-within > .dropdown-menu { display: block; }
    .site-header .dropdown > .dropdown-menu { top: 100%; }
    .site-header .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}

/* Mobile slide-in menu */
@media (max-width: 991.98px) {
    .offcanvas-lg { width: min(360px, 88vw) !important; }
    .offcanvas-lg .offcanvas-header { border-bottom: 1px solid var(--c-line); padding: 16px 20px; }
    .offcanvas-lg .offcanvas-body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
    .offcanvas-lg .navbar-nav .nav-link { font-size: 1.05rem; padding: .75rem .25rem !important; border-bottom: 1px solid var(--c-line); border-radius: 0; }
    .offcanvas-lg .dropdown-menu-services { border: 0; box-shadow: none; min-width: 0; padding: 4px 0 8px; margin: 0 !important; background: transparent; }
    .offcanvas-lg .btn-accent { width: 100%; }
    .offcanvas-contact { display: grid; gap: 12px; padding-top: 8px; font-size: .95rem; }
    .offcanvas-contact a { color: var(--c-ink); display: flex; gap: 10px; align-items: center; }
    .offcanvas-contact .bi { color: var(--c-blue); }
    .offcanvas-contact .bi-whatsapp { color: #16A34A; }
}
@media (min-width: 992px) {
    .offcanvas-lg .offcanvas-body { align-items: center; }
}

/* ---------- 6. Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(244, 81, 98, .28), transparent 60%),
        radial-gradient(800px 600px at 0% 110%, rgba(48, 101, 182, .55), transparent 60%),
        var(--c-navy);
    padding: 96px 0 104px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: url("../img/opt/hero-bg.jpg") center / cover no-repeat;
    opacity: .09; mix-blend-mode: luminosity; pointer-events: none;
}
.hero::after { /* fine grid texture */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06);
    font-size: .85rem; font-weight: 600; color: #DCE6F6; margin-bottom: 24px;
}
.hero-pill span { background: var(--c-coral); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .75rem; }
.hero h1 {
    color: #fff; font-weight: 800; letter-spacing: -0.025em;
    font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); line-height: 1.08; margin-bottom: 20px;
}
.hero h1 .hl { background: linear-gradient(90deg, #8FB4F2, #F7A1AA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: #C9D6EE; max-width: 560px; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #C9D6EE; font-size: .925rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .bi { color: #4ADE80; }

.hero-card {
    background: #fff; color: var(--c-body); border-radius: var(--radius-lg); padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35); position: relative;
}
.hero-card::before { /* logo-gradient edge */
    content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, #2098D8, var(--c-blue) 35%, #F8B830 70%, var(--c-coral));
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hero-card-head h2 { font-size: 1rem; margin: 0; }
.hero-card-head .badge-soft { font-size: .75rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1px solid var(--c-line); border-radius: 12px; background: #fff;
    font-size: .925rem; color: var(--c-ink); font-weight: 600;
    transition: transform .2s var(--ease), border-color .2s;
}
.check-list li small { display: block; font-weight: 500; color: var(--c-muted); font-size: .8rem; }
.check-list li:hover { transform: translateX(4px); border-color: var(--c-blue-100); }
.check-list .tick {
    flex: 0 0 28px; height: 28px; border-radius: 50%; background: #DCFCE7; color: var(--c-success);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.hero-card-foot { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line); }
.hero-card-foot img { height: 26px; width: auto; }

.badge-soft { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--c-blue-50); color: var(--c-blue); font-weight: 700; }

@media (max-width: 991.98px) {
    .hero { padding: 64px 0 72px; }
    .hero-card { margin-top: 16px; }
}

/* ---------- 7. Cards ---------- */
.icon-tile {
    width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-blue-50); color: var(--c-blue); font-size: 1.5rem;
    transition: background-color .2s, color .2s, transform .2s var(--ease);
}

.service-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
    overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-coral)); transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-blue-100); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-tile { background: var(--c-blue); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin: 20px 0 4px; }
.service-card h3 a { color: var(--c-ink); }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.service-card .tagline { color: var(--c-coral-600); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.service-card p { margin-bottom: 16px; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: .925rem; }
.service-card ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-ink); }
.service-card ul .bi { color: var(--c-blue); margin-top: 2px; }
.service-card .link-arrow { margin-top: auto; position: relative; z-index: 1; }

.feature-card {
    height: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-blue-100); }
.feature-card h3 { font-size: 1.075rem; margin: 18px 0 8px; }
.feature-card p { margin: 0; font-size: .95rem; }
.feature-card .icon-tile { width: 46px; height: 46px; flex-basis: 46px; font-size: 1.3rem; border-radius: 12px; }
.feature-card .icon-tile.coral { background: #FEECEE; color: var(--c-coral-600); }
.section-mist .feature-card { border-color: #E6ECF5; }

.list-card {
    height: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 26px 26px 22px;
}
.list-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.list-card-head .icon-tile { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.2rem; border-radius: 12px; }
.list-card h3 { font-size: 1.05rem; margin: 0; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 28px; font-size: .95rem; line-height: 1.55; }
.tick-list li::before {
    content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0;
    color: var(--c-success); font-size: 1.05rem; line-height: 1.45;
}

.mini-card {
    display: flex; align-items: center; gap: 16px; padding: 20px 22px; height: 100%;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.mini-card:hover { color: var(--c-ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-blue-100); }
.mini-card:hover .icon-tile { background: var(--c-blue); color: #fff; }
.mini-card-body { flex: 1; }
.mini-card-body strong { display: block; font-size: 1.025rem; }
.mini-card-body small { color: var(--c-muted); font-size: .875rem; }
.mini-card-arrow { color: var(--c-blue); font-size: 1.2rem; transition: transform .2s var(--ease); }
.mini-card:hover .mini-card-arrow { transform: translateX(4px); }

/* ---------- 8. About ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-media .about-badge {
    position: absolute; left: -12px; bottom: -20px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 290px;
}
.about-media .about-badge img { box-shadow: none; border-radius: 0; aspect-ratio: auto; width: 34px; height: auto; }
.about-media .about-badge strong { display: block; color: var(--c-ink); font-size: .95rem; line-height: 1.3; }
.about-media .about-badge small { color: var(--c-muted); font-size: .8rem; }
@media (max-width: 575.98px) { .about-media .about-badge { left: 12px; right: 12px; max-width: none; } }

.about-copy p { font-size: 1.025rem; }
.about-copy .brand { color: var(--c-blue); font-weight: 700; }

.vision-card {
    background: var(--c-navy); color: #C9D6EE; border-radius: var(--radius-lg); padding: 36px;
    position: relative; overflow: hidden;
}
.vision-card::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 81, 98, .35), transparent 70%);
}
@media (min-width: 992px) { .vision-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.vision-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.vision-card p { margin: 0; position: relative; z-index: 1; }

.journey {
    margin-top: 48px; padding: 32px 36px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--c-blue-50), #FFF3F4); border: 1px solid var(--c-line);
}
.journey h3 { font-size: 1.25rem; margin-bottom: 8px; }
.journey p { margin: 0; }
.journey p + p { margin-top: 8px; }

/* ---------- 9. Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-blue-100) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    counter-increment: step; width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
    background: #fff; border: 2px solid var(--c-blue); color: var(--c-blue); font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 0 0 6px var(--c-mist);
    transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.section:not(.section-mist) .step-num { box-shadow: 0 0 0 6px #fff; }
.step-num::before { content: "0" counter(step); }
.step:hover .step-num { background: var(--c-blue); color: #fff; transform: scale(1.06); }
.step h3 { font-size: 1.075rem; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 991.98px) {
    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--c-blue-100) 0 8px, transparent 8px 14px); }
    .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0 0 28px; }
    .step:last-child { padding-bottom: 0; }
    .step-num { margin: 0; grid-row: span 2; }
    .step h3 { margin-top: 14px; }
}

/* ---------- 10. Contact ---------- */
.contact-info { display: grid; gap: 14px; }
.contact-item {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-body);
    transition: border-color .2s, box-shadow .2s var(--ease);
}
a.contact-item:hover { border-color: var(--c-blue-100); box-shadow: var(--shadow-sm); color: var(--c-body); }
.contact-item .icon-tile { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.15rem; border-radius: 12px; }
.contact-item .icon-tile.wa { background: #DCFCE7; color: #15803D; }
.contact-item h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin: 2px 0 4px; font-weight: 700; }
.contact-item p { margin: 0; color: var(--c-ink); font-weight: 600; line-height: 1.5; }
.contact-item p a { color: var(--c-ink); }
.contact-item p a:hover { color: var(--c-blue); }
.map-link { font-size: .9rem; margin-top: -4px; }
.map-frame { border: 0; width: 100%; height: 240px; border-radius: var(--radius); display: block; background: var(--c-blue-50); }

.enquiry-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow);
}
@media (max-width: 575.98px) { .enquiry-card { padding: 24px 20px; } }
.enquiry-title { font-size: 1.4rem; margin-bottom: 4px; }
.enquiry-sub { color: var(--c-muted); margin-bottom: 24px; }
.form-floating > .form-control, .form-floating > .form-select {
    border-color: var(--c-line); border-radius: 12px; height: 58px; color: var(--c-ink);
}
.form-floating > label { color: var(--c-muted); }
.form-control:focus, .form-select:focus { border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(48, 101, 182, .14); }
.form-floating > .form-control-message { height: 150px; resize: vertical; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--c-error); }
.invalid-feedback { color: var(--c-error); font-size: .825rem; }
.form-hint { font-size: .8rem; color: var(--c-muted); margin-top: 6px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.enquiry-alert .bi { font-size: 1.3rem; line-height: 1.3; }
.enquiry-alert strong { display: block; color: var(--c-ink); }
.enquiry-alert-success { background: #ECFDF3; border: 1px solid #BBF7D0; }
.enquiry-alert-success .bi { color: var(--c-success); }
.enquiry-alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D; }
.enquiry-alert-error .bi { color: var(--c-error); }

/* ---------- 11. Page banner (service pages) ---------- */
.page-banner {
    position: relative; overflow: hidden; color: #C9D6EE; padding: 40px 0 72px;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(244, 81, 98, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(48, 101, 182, .5), transparent 60%),
        var(--c-navy);
}
.page-banner::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: #7E92B8; --bs-breadcrumb-item-active-color: #fff; font-size: .875rem; margin-bottom: 40px; }
.page-banner .breadcrumb a { color: #A9C4F0; }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner-body { display: flex; gap: 28px; align-items: flex-start; max-width: 880px; }
.page-banner-icon {
    flex: 0 0 72px; height: 72px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 2rem;
}
.page-banner h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.page-banner-lead { font-size: 1.125rem; margin: 0; max-width: 680px; }
@media (max-width: 767.98px) {
    .page-banner { padding: 28px 0 56px; }
    .page-banner .breadcrumb { margin-bottom: 28px; }
    .page-banner-body { flex-direction: column; gap: 18px; }
    .page-banner-icon { flex-basis: auto; width: 60px; height: 60px; font-size: 1.6rem; }
}

.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.intro-copy p { font-size: 1.05rem; }
.intro-copy p.eyebrow, .about-copy p.eyebrow { font-size: .8125rem; }
.callout {
    border-left: 4px solid var(--c-coral); background: var(--c-mist); padding: 18px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--c-ink); font-weight: 500;
}

/* ---------- 12. Labour law: filter + accordion ---------- */
.act-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.act-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.act-search .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.act-search input { padding-left: 44px; height: 50px; border-radius: 12px; border-color: var(--c-line); }
.act-count { color: var(--c-muted); font-size: .9rem; font-weight: 600; }
.acts.accordion { --bs-accordion-border-color: var(--c-line); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: var(--radius);
    --bs-accordion-active-bg: var(--c-blue-50); --bs-accordion-active-color: var(--c-ink);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 4px rgba(48, 101, 182, .18); --bs-accordion-btn-focus-border-color: var(--c-blue); }
.acts .accordion-item { border-radius: var(--radius) !important; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--c-line) !important; }
.acts .accordion-button { font-weight: 700; color: var(--c-ink); gap: 14px; padding: 18px 20px; font-size: 1rem; }
.acts .accordion-button::after { margin-left: 0; }
.acts .accordion-button .act-year { margin-left: auto; margin-right: 12px; font-size: .78rem; font-weight: 700; color: var(--c-muted); background: var(--c-mist); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.acts .accordion-button:not(.collapsed) .act-year { background: #fff; }
.acts .accordion-body { padding: 4px 20px 22px 66px; }
.acts .act-icon { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--c-blue-50); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
@media (max-width: 575.98px) {
    .acts .accordion-body { padding-left: 20px; }
    .acts .accordion-button::after { margin-left: 0; }
.acts .accordion-button .act-year { display: none; }
    .acts .accordion-button::after { margin-left: auto; }
}

/* ---------- 13. CTA card ---------- */
.cta-section { padding: 0 0 96px; }
.section-mist + .cta-section, .cta-section.on-mist { background: var(--c-mist); }
.section-mist + .cta-section { padding-top: 0; }
.cta-card {
    display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    padding: 44px 48px; border-radius: var(--radius-lg); background: #fff;
    border: 1px solid var(--c-line); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-card::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
    background: linear-gradient(180deg, var(--c-blue), var(--c-coral));
}
.cta-copy { flex: 1 1 420px; }
.cta-tagline { height: auto; width: min(420px, 100%); margin-bottom: 18px; }
.cta-card h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.cta-card p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767.98px) {
    .cta-section { padding-bottom: 64px; }
    .cta-card { padding: 32px 24px 28px 30px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--c-navy); color: #A9B8D3; padding: 72px 0 0; font-size: .95rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 20px; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-about { max-width: 340px; }
.footer-title { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D6EE; }
.site-footer a:hover { color: #fff; }
.footer-links a { position: relative; }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .2s var(--ease); }
.footer-links a:hover::after { right: 0; }
.footer-contact { display: grid; gap: 12px; font-style: normal; margin: 0; }
.footer-contact > * { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .bi { color: #7FA4E6; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 1.05rem;
    transition: background-color .2s, transform .2s var(--ease);
}
.footer-social a:hover { background: var(--c-blue); transform: translateY(-2px); }
.footer-bottom {
    margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: #fff; font-weight: 600; }
.footer-tagline { color: #fff; font-weight: 600; }
.footer-tagline .bi { color: #4ADE80; }

/* ---------- 15. Back to top ---------- */
.back-to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 1020; width: 46px; height: 46px; border-radius: 12px;
    background: var(--c-blue); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(48, 101, 182, .35); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s, visibility .2s, transform .2s var(--ease), background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--c-blue-600); color: #fff; }

/* ---------- 16. Reveal animation (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 17. Toastr restyle ---------- */
#toast-container > div { border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 1; font-family: var(--font); padding: 16px 16px 16px 52px; width: 340px; }
#toast-container > .toast-success { background-color: var(--c-success); }
#toast-container > .toast-error { background-color: var(--c-error); }

/* ---------- 18. Print ---------- */
@media print {
    .topbar, .site-header, .back-to-top, .cta-section, .site-footer, .hero::before, .hero::after { display: none !important; }
    .hero, .page-banner { background: none !important; color: #000; padding: 24px 0; }
    .hero h1, .page-banner h1 { color: #000; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 19. Phone side margins (16px) ---------- */
@media (max-width: 575.98px) {
    .container { padding-left: 16px; padding-right: 16px; }
}
