/* ==========================================================================
   Ennova Consulting — custom styles
   Built on Bootstrap 5.3. Colours, type and spacing taken from the PDF design
   (1440px artboard). Sizes scale down with clamp() for tablet and mobile.
   --------------------------------------------------------------------------
   1. Tokens          6. Home            11. Service pages
   2. Base            7. Services grid   12. Contact
   3. Buttons         8. About           13. CTA + footer
   4. Header / nav    9. Shared blocks   14. Animations
   5. Typography     10. FAQ             15. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --navy: #0B2139;
    --navy-2: #0C1D36;
    --navy-3: #0A1630;
    --blue: #075ECF;
    --blue-dark: #054BA8;
    --green: #58B814;
    --green-soft: #D4EBC9;
    --orange-1: #FFB703;
    --orange-2: #F08A00;
    --yellow: #FFC107;

    --bg: #F6F7F4;
    --white: #FFFFFF;
    --text: #4E5D6E;
    --text-soft: #5C6878;
    --muted: #8B95A1;
    --line: #DCE1E5;
    --card-line: #D3E2DA;

    --grad-soft: linear-gradient(135deg, #EDF5FA 0%, #EEF6F0 55%, #EEF7EB 100%);
    --grad-text: linear-gradient(90deg, #075ECF 0%, #60B6DB 48%, #6CC88A 75%, #58B814 100%);
    --grad-btn: linear-gradient(90deg, #075ECF 0%, #2D8C8C 50%, #58B814 100%);
    --grad-orange: linear-gradient(90deg, var(--orange-1) 0%, var(--orange-2) 100%);

    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-alt: 'Inter', system-ui, sans-serif;

    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 30px;
    --pill: 999px;

    --shadow-blue: 0 14px 30px rgba(7, 94, 207, .28);
    --shadow-card: 0 18px 40px rgba(11, 33, 57, .08);

    --section-y: clamp(64px, 8vw, 110px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); }

@media (min-width: 1400px) {
    .container { max-width: 1300px; }
}

.section { padding: var(--section-y) 0; position: relative; }
.bg-soft-gradient { background: var(--grad-soft); }

/* 3. Buttons --------------------------------------------------------------- */
.btn-ennova {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 64px;
    padding: 0 26px;
    border-radius: var(--pill);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-ennova .bi { font-size: .9em; transition: transform .3s var(--ease); }
.btn-ennova:hover .bi-arrow-right { transform: translateX(4px); }

.btn-primary-ennova {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary-ennova:hover,
.btn-primary-ennova:focus-visible {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(7, 94, 207, .34);
}

.btn-outline-ennova {
    background: transparent;
    color: var(--navy);
    border-color: #A9B1B9;
}
.btn-outline-ennova:hover,
.btn-outline-ennova:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-block-ennova { width: 100%; }
.btn-group-ennova { display: flex; flex-wrap: wrap; gap: 18px; }

.live-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(88, 184, 20, .22);
    animation: livePulse 2s infinite;
}

/* 4. Header / nav ---------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bg);
    transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.header-white { background: var(--white); }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 33, 57, .08); }
.site-header.is-scrolled .navbar { padding: 8px 0; }

.navbar { padding: 16px 0; transition: padding .3s var(--ease); }
.navbar-brand { padding: 0; margin: 0 0 0 26px; }
.navbar-brand img { width: 86px; height: auto; transition: width .3s var(--ease); }
.is-scrolled .navbar-brand img { width: 64px; }
@media (min-width: 992px) {
    .navbar-expand-lg .offcanvas .offcanvas-body { flex-grow: 1; align-items: center; }
}

.navbar-nav { gap: 30px; }
.navbar .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: #111;
    padding: 6px 0 !important;
    position: relative;
}
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--blue); }
.navbar .dropdown-toggle::after { display: none; }
.navbar .dropdown-toggle .bi { font-size: 14px; margin-left: 6px; display: inline-block; transition: transform .3s; }
.navbar .dropdown.show .dropdown-toggle .bi { transform: rotate(180deg); }

.dropdown-menu {
    border: 0;
    border-radius: 16px;
    padding: 10px;
    min-width: 300px;
    box-shadow: 0 20px 50px rgba(11, 33, 57, .14);
    margin-top: 12px !important;
}
.dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    white-space: normal;
}
.dropdown-item:hover,
.dropdown-item:focus { background: #EEF5FB; color: var(--blue); }
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropIn .25s var(--ease);
    }
    .navbar .dropdown > .dropdown-menu::before {
        content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
    }
}

.header-actions { display: flex; align-items: center; gap: 30px; }
.header-actions .btn-ennova { min-height: 64px; }
.btn-job { padding: 0 32px 0 24px; gap: 10px; }

/* Toggler */
.navbar-toggler {
    border: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: none !important;
}
.toggler-bar { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.toggler-bar:nth-child(2) { width: 18px; margin-left: auto; }

/* 5. Typography ------------------------------------------------------------ */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 14px;
    text-transform: none;
}
.eyebrow::before {
    content: "";
    width: 18px; height: 1px;
    background: currentColor;
    flex-shrink: 0;
}
.eyebrow--green { color: var(--green); }
.eyebrow--light { color: #A8B2BE; }

.section-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(30px, 3.62vw, 52px);
    line-height: 1.02;
    letter-spacing: -.3px;
    margin-bottom: 22px;
}
.section-title--md { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }

.lead-text {
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.45;
    color: var(--text);
}
.body-text { font-size: 16px; line-height: 1.85; color: var(--text); }
.body-text--lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.8; }
.statement-text {
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.1;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -.3px;
    margin-bottom: 30px;
}
.statement-text--focus { color: #576677; font-size: clamp(20px, 2.2vw, 32px); }

.text-blue { color: var(--blue); }
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 8s ease-in-out infinite alternate;
}

/* Two-column label rows (dl) */
.info-rows { margin: 0; }
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    transition: padding-left .35s var(--ease);
}
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row:hover { padding-left: 8px; }
.info-row dt { font-size: 21px; font-weight: 500; color: var(--navy); margin: 0; }
.info-row dd { font-size: 16px; color: var(--text); margin: 0; line-height: 1.3; }
.info-rows--sm .info-row { padding: 22px 0; }
.info-rows--sm .info-row dt { font-size: 17px; font-weight: 600; }
.info-rows--sm .info-row dd { font-size: 16px; }
.info-rows--narrow .info-row { grid-template-columns: .75fr 1fr; }


.info-rows {
    margin-top: 150px;
}



/* 6. Home ------------------------------------------------------------------ */
.home-hero { padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 6vw, 90px); }
.home-hero__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(44px, 6.1vw, 88px);
    line-height: .92;
    letter-spacing: 0;
    margin-bottom: 26px;
}
.home-hero__text { max-width: 640px; margin-bottom: 34px; }

.hero-orbit {
    position: absolute;
    top: 46px; right: 0;
    width: 190px; height: 190px;
    border: 1px solid #DADDE0;
    border-radius: 50%;
    pointer-events: none;
    animation: spin 22s linear infinite;
}
.hero-orbit__dot {
    position: absolute;
    top: 14px; left: 22px;
    width: 14px; height: 14px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(88, 184, 20, .2);
}

.hero-copy { z-index: 2; }
.hero-media { position: relative; }
.hero-media__img {
    display: block;
    width: 100%;
    aspect-ratio: 515 / 640;
    object-fit: cover;
    object-position: center 35%;
}
.hero-badge {
    position: absolute;
    top: 34px; right: -50px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    box-shadow: var(--shadow-card);
}
.hero-badge__title { font-size: 17px; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.hero-badge__text { font-size: 12px; color: var(--text-soft); margin: 0; }
.hero-note {
    position: absolute;
    left: -80px; bottom: 30px;
    width: 288px;
    background:  #0B2139EB;
;
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 38px 24px 32px;
}
.hero-note__title { font-size: 17px; font-weight: 500; line-height: 1.35; margin-bottom: 26px; letter-spacing: .2px; }
.hero-note__text { font-size: 12px; line-height: 1.7; margin: 0; color: rgba(255, 255, 255, .9); letter-spacing: .2px; }

@media (min-width: 1200px) { .about-intro__right { padding-left: 88px; } }
.about-intro__lead { font-size: 21px; line-height: 1.45; color: var(--navy); margin-bottom: 28px; }
.about-intro .body-text { line-height: 1.9; margin-bottom: 28px; }

/* Process (dark) */
.process-section { background: var(--navy); }
.process-grid {
    list-style: none;
    margin: 70px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .22);
}
.process-step {
    padding: 62px 60px 58px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    border-right: 1px solid rgba(255, 255, 255, .22);
    transition: background-color .4s var(--ease);
}
.process-step:nth-child(3n) { border-right: 0; }
.process-step:hover { background: rgba(255, 255, 255, .04); border: 1px solid; border-image-source: linear-gradient(90deg, #075ECF 0%, #009DFF 50.96%, #58B814 100%);
 }
.process-step__meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: #C9D0D8; letter-spacing: .4px;
    margin-bottom: 54px;
}
.process-step__meta .dash { width: 18px; height: 1px; background: currentColor; }
.process-step__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 26px;
    color: var(--white);
    letter-spacing: .6px;
    margin-bottom: 14px;
}
.process-step__text { font-size: 16px; line-height: 1.25; color: rgba(255, 255, 255, .35); margin: 0; max-width: 300px; }
.process-step:hover .process-step__text { color: rgba(255, 255, 255, .6); }

.candidates-img { width: 100%; aspect-ratio: 580 / 760; object-fit: cover; display: block; }

/* 7. Services grid --------------------------------------------------------- */
.service-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 58px 28px;
    border: 1px solid var(--card-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease), border-color .45s;
}
.service-card__arc {
    position: absolute;
    top: -45px; right: -45px;
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 1px solid #C5E2B6;
    transition: background-color .45s var(--ease), border-color .45s, transform .6s var(--ease);
}
.service-card__icon { width: 36px; height: 36px; object-fit: contain; margin-bottom: 38px; transition: transform .45s var(--ease); }
.service-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: .6px;
    margin-bottom: 12px;
    max-width: 290px;
}
.service-card__text { font-size: 16px; line-height: 1.5; color: var(--text-soft); letter-spacing: .2px; margin-bottom: 30px; max-width: 290px; }
.service-card__btn {
    margin-top: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
    border-radius: var(--pill);
    border: 1px solid #C2CACF;
    font-size: 17px;
    font-weight: 500;
    color: var(--navy);
    overflow: hidden;
    isolation: isolate;
    transition: color .35s var(--ease), border-color .35s;
}
.service-card__btn::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--grad-btn);
    opacity: 0;
    z-index: -1;
    transition: opacity .35s var(--ease);
}
.service-card__btn .bi { font-size: 15px; transition: transform .3s var(--ease); }

/* Active / hover state as shown in the design */
.service-card.is-active {
    background: #EFF5F3;
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(7, 94, 207, .12);
    transform: translateY(-6px);
}
.service-card.is-active .service-card__arc {
    background: var(--green-soft);
    border: 2px solid var(--green);
    transform: translate(-6px, 6px);
    box-shadow: inset 0 0 0 8px #edf8f4;
    background: #58B8142B;
}
.service-card.is-active .service-card__btn { color: var(--white); border-color: transparent; }
.service-card.is-active .service-card__btn::before { opacity: 1; }
.service-card.is-active .service-card__btn .bi { transform: translateX(4px); }
.service-card.is-active .service-card__icon { transform: scale(1.08); }



/* 8. About ----------------------------------------------------------------- */
.about-hero { background: var(--white); padding: clamp(30px, 4vw, 50px) 0 clamp(40px, 4vw, 54px); overflow: hidden; }
.about-hero__title,
.contact-hero__title,
.service-hero__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(42px, 5.85vw, 78px);
    line-height: 1.1;
    letter-spacing: -.045em;
    margin: 0;
    position: relative;
    z-index: 2;
}
@media (min-width: 992px) { .nowrap-lg { white-space: nowrap; } }
.hero-title-col { position: relative; z-index: 2; }
.about-hero__img { width: 100%; }

.perspective-intro__img { aspect-ratio: 580 / 580; object-fit: cover; }
.pull-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20px, 1.75vw, 25px);
    line-height: 1.15;
    color: var(--navy);
    margin: 28px 0 0;
}

.mission-section { padding-top: clamp(60px, 6vw, 90px); padding-bottom: clamp(60px, 4.5vw, 64px); }
.mv-card {
    height: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 64px 44px 60px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
@media (min-width: 1200px) { .mission-row { --bs-gutter-x: 60px; padding: 0 35px; } }
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.mv-card__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(28px, 2.6vw, 37px);
    line-height: 1.05;
    margin: 0 0 42px;
}
.mv-card__text { font-size: 16px; line-height: 1.85; color: var(--text); margin: 0; }
.mv-card--dark { background: var(--navy); }
.mv-card--dark .mv-card__title { color: var(--white); }
.mv-card--dark .mv-card__text { color: rgba(255, 255, 255, .25); }

/* Values marquee */
.values-strip { background: var(--white); padding: 44px 0; overflow: hidden; }
.values-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.values-strip:hover .values-track { animation-play-state: paused; }
.values-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.values-list li {
    display: flex; align-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(20px, 1.8vw, 26px);
    color: var(--navy);
    white-space: nowrap;
}
.value-star {
    width: 24px; height: 24px;
    margin: 0 26px 0 36px;
    background: var(--green);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* 9. Shared blocks --------------------------------------------------------- */
.relationships-section .statement-text { max-width: 600px; }
.img-reveal { overflow: hidden; }
.img-reveal img { transition: transform 1.2s var(--ease); }
.img-reveal:hover img { transform: scale(1.04); }

/* 10. FAQ ------------------------------------------------------------------ */
.faq-section { padding-bottom: clamp(70px, 6vw, 90px); }
.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 32px !important;
    background: #F1F2F0;
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.faq-accordion .accordion-item:hover { border-color: #BFC7CE; }
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    background: var(--white);
    box-shadow: var(--shadow-card);
}
.faq-accordion .accordion-header { margin: 0; }
.faq-accordion .accordion-button {
    background: transparent;
    min-height: 62px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    box-shadow: none;
    letter-spacing: .1px;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--navy); font-weight: 600; }
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B2139' stroke-width='1.4'%3E%3Cpath d='M2 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-size: 18px;
    width: 18px; height: 18px;
}
.faq-accordion .accordion-button:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }
.faq-accordion .accordion-body { padding: 0 36px 26px; font-size: 16px; line-height: 1.7; color: var(--text); }

/* 11. Service pages -------------------------------------------------------- */
.service-hero { background: var(--white); padding: clamp(40px, 5vw, 80px) 0 clamp(50px, 4vw, 54px); overflow: hidden; }
.service-hero__title { margin-bottom: 40px; }
.service-hero__title .text-gradient { display: inline; }
.service-hero__text { max-width: 450px; margin-bottom: 70px; }

.journey-graphic { position: relative; max-width: 480px; margin-left: auto; padding: 30px 0 60px; }
.journey-svg { width: 100%; height: auto; overflow: visible; }
.journey-path { stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.journey-dash { stroke: #CDD2D7; stroke-width: 2; stroke-dasharray: 8 9; }
.is-visible .journey-path,
.journey-graphic.is-visible .journey-path { animation: drawLine 2.2s var(--ease) forwards .2s; }
.dot-blue { fill: var(--blue); }
.dot-green { fill: var(--green); }
.dot-pale { fill: #DCE7F7; }
.dot-grey { fill: #D7D9DC; }
.halo-blue { fill: rgba(7, 94, 207, .14); }
.halo-green { fill: rgba(88, 184, 20, .16); }
.pulse { transform-box: fill-box; transform-origin: center; animation: haloPulse 2.6s ease-in-out infinite; }

.journey-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--white);
    border: 1px solid #ECEEF0;
    border-radius: 6px;
    padding: 12px 22px 12px 34px;
    font-size: 17px; font-weight: 500;
    color: var(--green);
    box-shadow: 0 6px 18px rgba(11, 33, 57, .1);
    white-space: nowrap;
}
.journey-chip--top { top: 0; left: -2%; animation: floatY 5s ease-in-out infinite; }
.journey-chip--bottom { bottom: 0; left: 12%; animation: floatY 5s ease-in-out infinite 1.2s; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.approach-bar { background: var(--navy); padding: 56px 0; }
.approach-bar__label { font-size: 20px; text-transform: uppercase; color: var(--white); margin: 0; letter-spacing: .2px; }
.approach-item { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 38px; height: 100%; }
.approach-item__title { font-family: var(--font-body); font-size: 21px; font-weight: 500; color: var(--white); margin: 0 0 4px; letter-spacing: .2px; }
.approach-item__text { font-size: 16px; color: rgba(255, 255, 255, .3); margin: 0; line-height: 1.25; letter-spacing: .2px; }

.why-section .section-title { margin-bottom: 26px; }
.why-section .body-text { line-height: 1.6; font-size: 18px; }
.quote-card {
    position: relative;
    margin: 0;
    padding: 40px 40px 58px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #E8EEF1 0%, #EAF1EC 60%, #EDF6E9 100%);
    border: 1px solid #E2E8E6;
    overflow: hidden;
}
.quote-card::after {
    content: "";
    position: absolute;
    right: 48px; bottom: 50px;
    width: 134px; height: 104px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 134 104'%3E%3Cpath fill='%230B2139' d='M0 70a34 34 0 1 0 34-34c-3 0-5 0-8 1C30 22 42 10 58 4L55 0C22 8 0 36 0 70zm76 0a34 34 0 1 0 34-34c-3 0-5 0-8 1 4-15 16-27 32-33l-3-4C98 8 76 36 76 70z'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: .05;
    transform: rotate(180deg);
    pointer-events: none;
}
.quote-card__text {
    position: relative; z-index: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(24px, 2.3vw, 33px);
    line-height: 1.12;
    color: var(--navy);
    margin: 0 0 22px;
}
.quote-card__by { position: relative; z-index: 1; font-size: 16px; font-weight: 600; color: var(--green); }

.focus-section .section-title { margin-bottom: 0; }
@media (min-width: 1200px) {
    .focus-grid > div:nth-child(odd) .focus-item { margin-right: 61px; }
    .focus-grid > div:nth-child(even) .focus-item { margin-left: 61px; }
}
.focus-item { border-top: 1px solid var(--line); padding: 26px 0 18px; height: 100%; }
.focus-grid > div:nth-child(n+3) .focus-item { border-bottom: 1px solid var(--line); }
.focus-item__num { display: block; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 26px; }
.focus-item__title { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 18px; letter-spacing: .3px; }
.focus-item__text { font-size: 15px; line-height: 1.35; color: var(--text); margin: 0; letter-spacing: .2px; }

.stages-intro { max-width: 640px; font-size: 19px; }
.stages-list {
    list-style: none;
    margin: 70px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid #CED6D3;
    border-bottom: 1px solid #CED6D3;
}
.stage { position: relative; padding: 32px 12px 30px; border-left: 1px solid #CED6D3; }
.stage:first-child { border-left: 0; }
.stage__dot {
    position: absolute;
    top: -8px; left: 14px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--green);
    border: 4px solid #D2EBC5;
    transition: transform .3s var(--ease);
}
.stage:hover .stage__dot { transform: scale(1.3); }
.stage__title { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 8px 0 20px; }
.stage__text { font-size: 12px; line-height: 1.7; color: var(--text); margin: 0; }

.perspective-section .section-title { margin-bottom: 40px; }

/* 12. Contact -------------------------------------------------------------- */
.contact-hero { background: var(--grad-soft); padding: clamp(60px, 9vw, 130px) 0 clamp(60px, 6vw, 96px); }
.contact-hero__title { margin-bottom: 30px; max-width: 560px; }
.contact-hero__text { max-width: 560px; }

.route-card {
    height: 100%;
    display: flex; flex-direction: column;
    padding: 36px 30px 56px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .45);
    border: 1px solid rgba(255, 255, 255, .7);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s;
}
.route-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow-card); }
.route-card__label { font-size: 16px; font-weight: 600; color: var(--blue); margin-bottom: 24px; }
.route-card__title { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1; margin-bottom: 16px; }
.route-card__text { font-size: 20px; line-height: 1; color: var(--text); margin-bottom: 30px; }
.route-card__link { font-size: 16px; font-weight: 600; color: var(--navy); margin-top: auto; display: inline-flex; gap: 6px; align-items: center; align-self: flex-start; }
.route-card__link:hover .bi { transform: translateX(4px); }
.route-card__link .bi { transition: transform .3s; }

.contact-quick { border-left: 1px solid #B8D9A9; padding: 4px 0 4px 30px; margin: 0 0 0 16px; height: 100%; }
.contact-quick dt { font-size: 14px; font-weight: 400; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.contact-quick dd { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; color: #4C5C6E; letter-spacing: .4px; margin-bottom: 30px; }
.contact-quick dd:last-child { margin-bottom: 0; }

.contact-main { padding-top: clamp(60px, 6vw, 90px); }
.contact-main .section-title--md { max-width: 400px; }
.contact-details { margin: 50px 0 40px; }
.contact-details dt { font-size: 14px; font-weight: 400; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.contact-details dd { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; color: #4C5C6E; letter-spacing: .4px; line-height: 1.12; margin-bottom: 34px; }
.contact-details address { font-style: normal; }
.map-wrap { overflow: hidden; }
.map-wrap img { width: 100%; aspect-ratio: 495 /580; object-fit: cover; transition: transform 1s var(--ease); }
.map-wrap:hover img { transform: scale(1.05); }

.form-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 60px 30px 40px;
    box-shadow: 0 10px 50px rgba(11, 33, 57, .1);
    margin-top: -40px;
    scroll-margin-top: 130px;
}
.form-card__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 2.6vw, 37px); margin-bottom: 30px; }

.form-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ECEEF0;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 70px;
}
.form-tab {
    position: relative; z-index: 1;
    background: none; border: 0;
    height: 52px;
    font-size: 17px; font-weight: 500;
    color: #4C5C6E;
    border-radius: 6px;
    transition: color .3s;
}
.form-tab.active { color: #111; }
.form-tabs__pill {
    position: absolute;
    top: 6px; left: 6px;
    height: 52px;
    width: calc((100% - 12px) / 3 * .85);
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(11, 33, 57, .06);
    transition: transform .4s var(--ease), width .4s var(--ease);
}

.enquiry-form .form-label { font-size: 15px; font-weight: 500; color: #3F4E60; margin-bottom: 18px; }
.enquiry-form .form-control {
    height: 64px;
    border: 1px solid #D6DADE;
    border-radius: 6px;
    font-size: 16px;
    color: var(--navy);
    transition: border-color .3s, box-shadow .3s;
}
.enquiry-form textarea.form-control { height: 146px; resize: vertical; }
.enquiry-form .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 94, 207, .12); }
.enquiry-form .form-check-label { font-size: 11px; color: var(--text); padding-top: 2px; }
.enquiry-form .form-check-input { border-radius: 2px; }
.enquiry-form .form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.btn-submit { width: 100%; max-width: 460px; min-height: 52px; font-size: 16px; box-shadow: none; }
.form-status { margin: 14px 0 0; font-size: 15px; color: var(--green); min-height: 1em; }

/* Form validation errors + spam honeypot */
.field-err { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: #d33; }
.footer-form .field-err { margin: -4px 0 8px; }
.enquiry-form .form-control.is-invalid { border-color: #d33; background-image: none; }
.enquiry-form .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(221, 51, 51, .12); }
.enquiry-form .form-check-input.is-invalid { border-color: #d33; }
.footer-form input.is-invalid { border-color: #d33; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you page */
.thanks-hero { background: var(--grad-soft); padding: clamp(80px, 11vw, 160px) 0; text-align: center; }
.thanks-hero__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 36px; margin-bottom: 24px; }
.thanks-hero__icon--warn { background: #FDE7D2; color: var(--orange-2); }
.thanks-hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 48px); color: var(--navy); margin-bottom: 16px; }
.thanks-hero__text { max-width: 620px; margin: 0 auto 32px; }
.thanks-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 13. CTA + footer --------------------------------------------------------- */
.cta-bar { background: var(--navy-2); padding: 34px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cta-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .06);
    font-family: var(--font-alt);
    font-size: 13px; font-weight: 600;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.cta-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; color: var(--white); max-width: 720px; margin-bottom: 12px; }
.cta-text { font-family: var(--font-alt); font-size: 16px; color: #B4BDC8; }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; }
.btn-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-width: 200px; height: 47px;
    padding: 0 20px;
    white-space: nowrap;
    border-radius: 4px;
    font-family: var(--font-alt);
    font-size: 15px; font-weight: 600;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn-cta--orange { background: var(--grad-orange); color: var(--navy); box-shadow: 0 8px 20px rgba(240, 138, 0, .25); font-size: 17px; }
.btn-cta--orange:hover { color: var(--navy); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(240, 138, 0, .35); }
.btn-cta--orange:hover .bi { transform: translateX(4px); }
.btn-cta .bi { transition: transform .3s; }
.btn-cta--ghost { border: 1px solid rgba(255, 255, 255, .25); color: var(--white); }
.btn-cta--ghost:hover { background: var(--white); color: var(--navy); }

.site-footer { background: linear-gradient(180deg, #0B1733 0%, #0A1630 100%); color: #B4BDC8; font-family: var(--font-alt); padding-top: 50px; }
.footer-logo img { width: 112px; height: auto; margin-bottom: 20px; }
.footer-label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--white); margin-bottom: 12px; letter-spacing: .2px; }
.footer-tags { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.footer-tags li { font-size: 13px; color: #D9DEE4; background: #1A2A44; border: 1px solid #2B3B55; border-radius: 3px; padding: 6px 13px; transition: border-color .3s, color .3s; }
.footer-tags li:hover { border-color: var(--green); color: var(--white); }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 13px; }
.footer-social a {
    width: 41px; height: 40px;
    display: grid; place-items: center;
    background: #1A2A44; border: 1px solid #2B3B55; border-radius: 6px;
    color: var(--white); font-size: 16px;
    transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px); }

.footer-intro { font-size: 20px; line-height: 1.15; color: #A7B1BD; max-width: 470px; margin: 36px 0 50px; }
.footer-heading { font-family: var(--font-alt); font-size: 12px; font-weight: 600; color: var(--white); text-transform: uppercase; margin-bottom: 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 15px; color: #B4BDC8; white-space: nowrap; }
.footer-links a:hover { color: var(--white); padding-left: 3px; }
.footer-links a { transition: color .25s, padding-left .25s; }

.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 28px; }
@media (min-width: 1200px) {
    .footer-mid { padding-left: 30px; }
    .footer-contact-col { border-left: 1px solid rgba(255, 255, 255, .45); padding-left: 26px; min-width: 210px; }
}
.footer-contact { font-style: normal; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.footer-contact p { margin-bottom: 8px; color: #B4BDC8; }
.footer-phone { display: block; color: var(--white); font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.footer-web { color: #D9DEE4; font-size: 12px; }
.footer-tagline { font-size: 14px; line-height: 1.5; color: #95A1AF; padding: 0 0 12px; margin: 0 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-form { padding-top: 0; max-width: 360px; }
.footer-form input {
    width: 100%; height: 37px;
    background: transparent;
    border: 1px solid #2E4060; border-radius: 4px;
    color: var(--white);
    font-size: 13px; padding: 0 12px;
    margin-bottom: 10px;
    transition: border-color .3s;
}
.footer-form input::placeholder { color: #6E7C8D; }
.footer-form input:focus { outline: none; border-color: var(--blue); }
.footer-form button {
    width: 100%; height: 37px;
    background: #1B2C46; color: var(--white);
    border: 1px solid #2B3B55; border-radius: 4px;
    font-size: 13px; font-weight: 600;
    transition: background-color .3s;
}
.footer-form button:hover { background: var(--blue); border-color: var(--blue); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding: 36px 0 50px; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #B4BDC8; }
.copyright { display: inline-block; padding-right: 34px; margin-right: 0; border-right: 1px solid rgba(255, 255, 255, .5); }
.footer-sub { display: block; margin-top: 6px; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 46px; }
.footer-legal a { color: #B4BDC8; }
.footer-legal a:hover { color: var(--white); }

.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 1020;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: var(--blue); color: var(--white);
    box-shadow: var(--shadow-blue);
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); }

/* 14. Animations ----------------------------------------------------------- */
[data-animate] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-animate="fade-up"] { transform: translateY(36px); }
[data-animate="fade-left"] { transform: translateX(46px); }
[data-animate="fade-right"] { transform: translateX(-46px); }
[data-animate].is-visible { opacity: 1; transform: none; }

.float-y { animation: floatY 5s ease-in-out infinite; }
.float-y-slow { animation: floatY 7s ease-in-out infinite; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(88, 184, 20, .22); } 50% { box-shadow: 0 0 0 8px rgba(88, 184, 20, .08); } }
@keyframes haloPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .6; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gradientShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-animate] { opacity: 1; transform: none; }
    .journey-path { stroke-dashoffset: 0; }
    html { scroll-behavior: auto; }
}

/* 15. Responsive ----------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .navbar-nav { gap: 22px; }
    .header-actions { gap: 16px; }
    .service-card { padding: 46px 40px 26px; }
    .process-step { padding: 50px 40px; }
    .hero-badge { right: -12px; }
    .hero-note { left: -50px; }
}

@media (max-width: 1199.98px) {
    .navbar .nav-link { font-size: 16px; }
    .header-actions .btn-ennova { min-height: 54px; padding: 0 20px; font-size: 16px; }
    .hero-media { padding-left: 50px; }
    .footer-links a { white-space: normal; }
    .stages-list { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
    .stage { border-bottom: 1px solid #CED6D3; }
    .stage:nth-child(4) { border-left: 0; }
    .stage:nth-child(n+4) .stage__dot { top: -8px; }
}

/* Off-canvas menu below lg */
@media (max-width: 991.98px) {
    .navbar-brand { margin-left: 0; }
    .navbar-brand img { width: 72px; }
    .offcanvas { max-width: 340px; }
    .offcanvas-body { display: flex; flex-direction: column; gap: 30px; }
    .navbar-nav { gap: 6px; }
    .navbar .nav-link { font-size: 18px; padding: 10px 0 !important; }
    .navbar .nav-link::after { display: none; }
    .dropdown-menu { box-shadow: none; padding: 0 0 0 12px; min-width: 0; margin-top: 0 !important; background: transparent; }
    .header-actions { flex-direction: column; align-items: stretch; gap: 12px; }

    .hero-orbit { width: 120px; height: 120px; top: 70px; }
    .hero-media { padding-left: 0; max-width: 560px; margin: 0 auto; }
    .hero-badge { right: 12px; top: 16px; }
    .hero-note { position: relative; left: auto; bottom: auto; width: auto; margin: -60px 20px 0; }
    .about-hero__img { max-width: 620px; display: block; margin: 0 auto; }

    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, .22); }
    .process-step:nth-child(2n) { border-right: 0; }

    .candidates-img { aspect-ratio: 4 / 3; }
    .about-intro .col-lg-5 { margin-left: 0; }

    .approach-item { padding-left: 20px; }
    .journey-graphic { margin: 0 auto; }

    .contact-quick { border-left: 0; border-top: 1px solid #B8D9A9; padding: 24px 0 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, auto); column-gap: 24px; }
    .contact-quick dd { margin-bottom: 0; }
    .contact-quick dt { grid-row: 1; }
    .form-card { margin-top: 0; }

    .cta-actions { justify-content: flex-start; }
    .footer-intro { margin-top: 0; }
    .cta-actions .btn-cta { min-width: 0; flex: 1 1 0; }
}

@media (max-width: 767.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .hero-orbit { right: 10px; }
    .btn-ennova { min-height: 54px; font-size: 16px; padding: 0 22px; }
    .info-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .info-row dt { font-size: 18px; }

    .service-card { padding: 36px 28px 24px; }
    .service-card__icon { margin-bottom: 24px; }
    .service-card.is-active { transform: none; }

    .process-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .process-step { border-right: 0 !important; padding: 34px 0; }
    .process-step__meta { margin-bottom: 22px; }

    .mv-card { padding: 40px 28px; }
    .mv-card__title { margin-bottom: 24px; }

    .stages-list { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
    .stage:nth-child(4) { border-left: 1px solid #CED6D3; }
    .stage:nth-child(odd) { border-left: 0; }

    .focus-grid > div .focus-item { border-bottom: 0 !important; }
    .focus-grid > div:last-child .focus-item { border-bottom: 1px solid var(--line) !important; }

    .approach-bar { padding: 40px 0; }
    .approach-item { border-left: 2px solid var(--green); }
    .service-hero__text { margin-bottom: 36px; }
    .journey-chip { font-size: 14px; padding: 10px 16px 10px 20px; }

    .contact-quick { grid-template-columns: 1fr; }
    .contact-quick dt { grid-row: auto; margin-top: 16px; }
    .form-card { padding: 36px 20px 30px; }
    .form-tabs { margin-bottom: 36px; }
    .form-tab { font-size: 15px; }
    .enquiry-form .form-control { height: 54px; }
    .enquiry-form .form-label { margin-bottom: 8px; }

    .faq-accordion .accordion-button { padding: 16px 22px; font-size: 15px; }
    .faq-accordion .accordion-body { padding: 0 22px 22px; }
    .faq-accordion .accordion-item { border-radius: 24px !important; }

    .cta-actions { flex-direction: column; }
    .btn-cta { width: 100%; }
    .copyright { border-right: 0; padding-right: 0; }
    .footer-legal { gap: 10px 24px; }
    .value-star { margin: 0 18px 0 24px; width: 18px; height: 18px; }
}

@media (max-width: 575.98px) {
    .stages-list { grid-template-columns: 1fr; }
    .stage { border-left: 0 !important; padding-left: 36px; }
    .stage__dot { top: 34px; left: 4px; }
    .stage__title { margin-top: 0; }
    .hero-badge { padding: 14px 16px; }
    .btn-group-ennova .btn-ennova { flex: 1 1 auto; }
}

/* ==========================================================================
   16. Mega menu
   ========================================================================== */
.navbar > .container { position: relative; }
.navbar .dropdown-toggle .bi-chevron-down { font-size: 12px; -webkit-text-stroke: .6px; }

.mega-link { display: flex; align-items: flex-start; gap: 14px; text-decoration: none; color: var(--navy); }
.mega-link__icon {
    flex-shrink: 0;
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EAF2FD 0%, #EEF7EB 100%);
    box-shadow: inset 0 0 0 1px rgba(7, 94, 207, .08);
    transition: transform .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}
.mega-link__icon img { width: 28px; height: 28px; object-fit: contain; transition: transform .45s var(--ease), filter .45s; }
.mega-link__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mega-link__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.3; transition: color .3s; }
.mega-link__text {
    font-size: 13px; line-height: 1.5; color: var(--text-soft);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mega-link__arrow {
    margin-left: auto; flex-shrink: 0;
    font-size: 14px; color: var(--blue);
    opacity: 0; transform: translate(-6px, 6px);
    transition: opacity .3s, transform .35s var(--ease);
}

@media (min-width: 992px) {
    .navbar .dropdown-mega { position: static; }
    .navbar .dropdown-mega > .dropdown-menu.mega-menu {
        left: 12px; right: 12px; top: 100%;
        width: auto; min-width: 0;
        margin: 0 !important; padding: 10px 0 0;
        background: transparent; box-shadow: none; border-radius: 0;
    }
    .navbar .dropdown-mega:hover > .mega-menu,
    .navbar .dropdown-mega > .mega-menu.show { display: block; animation: megaIn .45s var(--ease) both; }
    .navbar .dropdown-mega > .dropdown-menu::before { top: -26px; height: 36px; }

    .mega-menu__inner {
        display: grid; grid-template-columns: 300px 1fr;
        background: var(--white);
        border-radius: 24px;
        border: 1px solid rgba(11, 33, 57, .06);
        box-shadow: 0 30px 80px rgba(11, 33, 57, .18), 0 8px 20px rgba(11, 33, 57, .06);
        overflow: hidden;
    }
    .mega-intro {
        position: relative; isolation: isolate;
        display: flex; flex-direction: column; align-items: flex-start;
        padding: 28px 28px;
        background: linear-gradient(160deg, var(--navy) 0%, #0D2E57 100%);
        color: #B4BDC8;
        overflow: hidden;
    }
    .mega-intro::before, .mega-intro::after {
        content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px);
    }
    .mega-intro::before { width: 220px; height: 220px; right: -90px; top: -80px; background: rgba(7, 94, 207, .55); animation: blobDrift 9s ease-in-out infinite alternate; }
    .mega-intro::after { width: 180px; height: 180px; left: -90px; bottom: -110px; background: rgba(88, 184, 20, .3); animation: blobDrift 11s ease-in-out infinite alternate-reverse; }
    .mega-intro__badge {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 5px 12px; border-radius: var(--pill);
        background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
        color: var(--yellow); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
        margin-bottom: 18px;
    }
    .mega-intro__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--white); margin-bottom: 12px; }
    .mega-intro__text { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
    .mega-intro__btn {
        position: relative; overflow: hidden;
        display: inline-flex; align-items: center; gap: 8px;
        padding: 12px 20px; border-radius: var(--pill);
        background: var(--grad-btn); background-size: 200% 100%;
        color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none;
        transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s;
    }
    .mega-intro__btn:hover { color: var(--white); background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7, 94, 207, .35); }
    .mega-intro__btn .bi { transition: transform .3s var(--ease); }
    .mega-intro__btn:hover .bi { transform: translateX(4px); }
    .mega-intro__call {
        margin-top: auto; padding-top: 18px;
        display: flex; align-items: center; gap: 12px;
        color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
    }
    .mega-intro__call small { display: block; font-size: 12px; font-weight: 500; color: #8FA0B3; }
    .mega-intro__call-icon {
        display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
        background: rgba(88, 184, 20, .18); color: var(--green);
        animation: ringPulse 2.4s infinite;
    }
    .mega-intro__call:hover { color: var(--yellow); }

    .mega-body { padding: 26px 26px 0; display: flex; flex-direction: column; }
    .mega-grid { margin-bottom: 18px !important; }
    .mega-body__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 14px; }
    .mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .mega-grid > li { animation: megaItem .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 80ms); }
    .mega-link { position: relative; padding: 16px 14px; border-radius: 16px; transition: background .35s var(--ease), transform .35s var(--ease); }
    .mega-link:hover, .mega-link:focus-visible, .mega-link.is-current { background: #F3F7FB; color: var(--navy); }
    .mega-link:hover { transform: translateY(-2px); }
    .mega-link:hover .mega-link__icon, .mega-link:focus-visible .mega-link__icon {
        background: var(--grad-btn);
        box-shadow: 0 10px 22px rgba(7, 94, 207, .28);
        transform: rotate(-6deg) scale(1.06);
    }
    .mega-link:hover .mega-link__icon img, .mega-link:focus-visible .mega-link__icon img { filter: brightness(0) invert(1); transform: scale(1.05) rotate(6deg); }
    .mega-link:hover .mega-link__title, .mega-link.is-current .mega-link__title { color: var(--blue); }
    .mega-link:hover .mega-link__arrow, .mega-link:focus-visible .mega-link__arrow { opacity: 1; transform: none; }
    .mega-link.is-current::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--grad-btn); }

    .mega-foot {
        margin: auto -26px 0; padding: 16px 40px;
        display: flex; align-items: center; flex-wrap: wrap; gap: 22px;
        background: var(--grad-soft); border-top: 1px solid var(--line);
        font-size: 13px; font-weight: 500; color: var(--text);
    }
    .mega-foot__item { display: inline-flex; align-items: center; gap: 6px; }
    .mega-foot__item .bi { color: var(--green); font-size: 15px; }
    .mega-foot__link { margin-left: auto; color: var(--blue); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
    .mega-foot__link .bi { transition: transform .3s var(--ease); }
    .mega-foot__link:hover .bi { transform: translateX(4px); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .mega-menu__inner { grid-template-columns: 250px 1fr; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-foot__item:nth-child(3) { display: none; }
}

/* Mega menu inside the mobile off-canvas */
@media (max-width: 991.98px) {
    .mega-intro, .mega-foot, .mega-body__label { display: none; }
    .mega-menu { padding: 4px 0 8px !important; }
    .mega-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
    .mega-grid > li { animation: megaItem .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
    .mega-link { align-items: center; padding: 8px; border-radius: 12px; }
    .mega-link__icon { width: 40px; height: 40px; border-radius: 11px; }
    .mega-link__icon img { width: 22px; height: 22px; }
    .mega-link__title { font-size: 14px; font-weight: 600; }
    .mega-link__text { display: none; }
    .mega-link:hover, .mega-link.is-current { background: #EEF5FB; }
    .mega-link.is-current .mega-link__title { color: var(--blue); }
    .offcanvas.show .navbar-nav > .nav-item,
    .offcanvas.showing .navbar-nav > .nav-item,
    .offcanvas.show .header-actions > * { animation: slideInRight .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 70ms + 120ms); }
}

/* ==========================================================================
   17. Effects & motion
   ========================================================================== */
/* Scroll progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
    height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
    background: var(--grad-btn);
    pointer-events: none;
}

/* Header drops in on load */
.site-header { animation: headerIn .8s var(--ease); }

/* Extra reveal variants */
[data-animate="zoom-in"] { transform: scale(.92); }
[data-animate="blur-up"] { transform: translateY(28px); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
[data-animate="blur-up"].is-visible { filter: none; }

/* Eyebrow line grows when its block appears */
.is-visible .eyebrow::before, .eyebrow.fx-on::before { animation: lineGrow .9s var(--ease) both .2s; }

/* Hero headings: word-by-word mask reveal */
.fx-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.fx-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 70ms + 150ms); }
.fx-words-in .fx-word > span { transform: none; }
.fx-whole { display: inline-block; opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--w) * 70ms + 150ms); }
.fx-words-in .fx-whole { opacity: 1; transform: none; }

/* Animated colour blobs behind hero sections */
.fx-hero { position: relative; isolation: isolate; }
.fx-blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx-blobs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.fx-blobs span:nth-child(1) { width: 420px; height: 420px; top: -140px; right: 8%; background: rgba(7, 94, 207, .28); animation: blobDrift 14s ease-in-out infinite alternate; }
.fx-blobs span:nth-child(2) { width: 360px; height: 360px; bottom: -160px; left: -80px; background: rgba(88, 184, 20, .24); animation: blobDrift 17s ease-in-out infinite alternate-reverse; }
.fx-blobs span:nth-child(3) { width: 220px; height: 220px; top: 40%; left: 45%; background: rgba(96, 182, 219, .22); animation: blobDrift 12s ease-in-out infinite alternate; }

/* Cursor spotlight on cards */
.fx-spot { position: relative; overflow: hidden; }
.fx-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0; transition: opacity .4s;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(7, 94, 207, .10), transparent 60%);
}
.fx-spot--dark .fx-glow { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 60%); }
.fx-spot:hover .fx-glow { opacity: 1; }
.fx-spot > *:not(.fx-glow):not(.service-card__arc) { position: relative; z-index: 1; }

/* Service cards: icon bounce */
.service-card__icon { transition: transform .5s var(--ease); }
.service-card:hover .service-card__icon { transform: translateY(-4px) rotate(-8deg) scale(1.1); }

/* Shine sweep on primary buttons */
.btn-primary-ennova, .btn-cta, .btn-submit { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary-ennova::after, .btn-cta::after, .mega-intro__btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
    transform: skewX(-20deg);
}
.btn-primary-ennova:hover::after, .btn-cta:hover::after, .mega-intro__btn:hover::after { animation: shine .9s var(--ease); }

/* Click ripple */
.fx-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s linear; pointer-events: none; z-index: 2; }

/* Images zoom gently on hover */
.img-reveal, .candidates-img { overflow: hidden; }
.img-reveal img, .candidates-img img { transition: transform 1.2s var(--ease); }
.img-reveal:hover img, .candidates-img:hover img { transform: scale(1.05); }

/* Process / stage / focus hover */
.process-step { transition: background-color .4s var(--ease), transform .4s var(--ease); }
.process-step:hover { background-color: rgba(255, 255, 255, .04); }
.focus-item { transition: transform .4s var(--ease); }
.focus-item:hover { transform: translateX(6px); }
.focus-item__num { transition: color .3s; }
.focus-item:hover .focus-item__num { color: var(--blue); }
.stage__dot { transition: transform .4s var(--ease), box-shadow .4s; }
.stage:hover .stage__dot { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(88, 184, 20, .18); }

/* Footer polish */
.footer-social a { transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s; }
.footer-social a:hover { transform: translateY(-4px) rotate(-8deg); }
.footer-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .3s; }
.footer-links a:hover { background-size: 100% 1px; }

/* Back-to-top with progress ring */
.back-to-top { background: conic-gradient(var(--green) calc(var(--p, 0) * 360deg), var(--blue) 0); }
.back-to-top::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); z-index: -1; transition: background-color .3s; }
.back-to-top { isolation: isolate; }
.back-to-top:hover::before { background: var(--navy); }

@keyframes megaIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes megaItem { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes headerIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lineGrow { from { width: 0; } to { width: 18px; } }
@keyframes blobDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } 100% { transform: translate(-30px, 50px) scale(.94); } }
@keyframes shine { from { left: -75%; } to { left: 130%; } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(88, 184, 20, .45); } 70% { box-shadow: 0 0 0 12px rgba(88, 184, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(88, 184, 20, 0); } }

@media (prefers-reduced-motion: reduce) {
    .fx-word > span, .fx-whole { transform: none !important; opacity: 1 !important; }
    [data-animate="blur-up"] { filter: none; }
    .fx-blobs { display: none; }
}

/* ==========================================================================
   18. Contact map
   ========================================================================== */
.contact-map {
    border-radius: 22px; overflow: hidden;
    background: var(--white);
    border: 1px solid var(--card-line);
    box-shadow: 0 24px 50px rgba(11, 33, 57, .10);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.contact-map:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(11, 33, 57, .14); }
.contact-map__frame { position: relative; aspect-ratio: 5 / 4; background: #E9EEF2; }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(.85) contrast(1.02); transition: filter .5s; }
.contact-map:hover .contact-map__frame iframe { filter: none; }
.contact-map__bar { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.contact-map__icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-btn); color: var(--white); font-size: 18px; }
.contact-map__addr { display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; color: var(--text); min-width: 0; }
.contact-map__addr strong { font-family: var(--font-head); color: var(--navy); font-size: 15px; }
.contact-map__btn {
    margin-left: auto; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: var(--pill);
    border: 1px solid var(--line); color: var(--navy);
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.contact-map__btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-2px); }
.enquiry-form .form-check-label a { color: var(--blue); }

/* ==========================================================================
   19. Legal pages
   ========================================================================== */
.legal-hero { background: var(--grad-soft); padding: clamp(60px, 8vw, 120px) 0 clamp(50px, 6vw, 90px); }
.legal-hero__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); margin-bottom: 22px; }
.legal-hero__text { max-width: 680px; }
.legal-meta { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-meta li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: var(--pill);
    background: rgba(255, 255, 255, .7); border: 1px solid var(--card-line);
    backdrop-filter: blur(6px);
    font-size: 14px; font-weight: 500; color: var(--navy);
}
.legal-meta .bi { color: var(--blue); }

.legal-badge { position: relative; width: 260px; height: 260px; margin-left: auto; display: grid; place-items: center; }
.legal-badge__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(7, 94, 207, .25); animation: spin 30s linear infinite; }
.legal-badge__ring--2 { inset: 34px; border: 1px solid rgba(88, 184, 20, .4); border-style: solid; animation: haloPulse 4s ease-in-out infinite; }
.legal-badge__icon {
    position: relative; display: grid; place-items: center;
    width: 128px; height: 128px; border-radius: 36px;
    background: var(--grad-btn); color: var(--white); font-size: 56px;
    box-shadow: 0 30px 60px rgba(7, 94, 207, .35);
    animation: floatY 5s ease-in-out infinite;
}

.legal-main { background: var(--white); }
.legal-toc {
    position: sticky; top: 120px;
    padding: 24px; border-radius: 20px;
    background: var(--bg); border: 1px solid var(--line);
}
.legal-toc__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.legal-toc ol a {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none;
    transition: background-color .3s, color .3s, padding-left .3s var(--ease);
}
.legal-toc__num { font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--muted); transition: color .3s; }
.legal-toc ol a:hover { background: var(--white); color: var(--navy); padding-left: 16px; }
.legal-toc ol a.active { background: var(--white); color: var(--blue); box-shadow: 0 6px 16px rgba(11, 33, 57, .06); }
.legal-toc ol a.active .legal-toc__num { color: var(--green); }
.legal-toc ol a.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad-btn); }
.legal-toc__other { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.legal-toc__other a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; transition: color .3s, transform .3s var(--ease); }
.legal-toc__other a .bi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--white); color: var(--blue); border: 1px solid var(--line); }
.legal-toc__other a:hover { color: var(--blue); transform: translateX(4px); }

.legal-section { scroll-margin-top: 120px; margin-bottom: 22px; }
.legal-card {
    padding: clamp(24px, 3vw, 38px);
    border-radius: 22px; border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.legal-card:hover { border-color: var(--card-line); box-shadow: 0 20px 44px rgba(11, 33, 57, .07); }
.legal-section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.legal-section__icon {
    flex-shrink: 0; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 15px;
    background: linear-gradient(135deg, #EAF2FD 0%, #EEF7EB 100%);
    color: var(--blue); font-size: 22px;
    transition: transform .5s var(--ease), background .5s, color .5s;
}
.legal-card:hover .legal-section__icon { background: var(--grad-btn); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.legal-section__num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.legal-section__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: var(--navy); margin: 0; }
.legal-section__body { font-size: 16px; line-height: 1.75; color: var(--text); }
.legal-section__body p { margin-bottom: 14px; }
.legal-section__body p:last-child { margin-bottom: 0; }
.legal-section__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(7, 94, 207, .35); transition: text-decoration-color .3s; }
.legal-section__body a:hover { text-decoration-color: var(--blue); }
.legal-section__body strong { color: var(--navy); font-weight: 600; }

.legal-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.legal-list li { position: relative; padding-left: 22px; }
.legal-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.legal-list--check li { padding-left: 30px; }
.legal-list--check li::before {
    content: "\F272"; font-family: "bootstrap-icons"; font-size: 12px; line-height: 20px; text-align: center;
    width: 20px; height: 20px; top: .25em; left: 0;
    background: var(--green-soft); color: #3E8A0C;
}
@media (min-width: 768px) { .legal-list--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

.legal-grid { display: grid; gap: 14px; margin: 6px 0 18px; }
@media (min-width: 768px) { .legal-grid { grid-template-columns: repeat(3, 1fr); } }
.legal-grid__item { padding: 20px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--card-line); transition: transform .4s var(--ease); }
.legal-grid__item:hover { transform: translateY(-4px); }
.legal-grid__item > .bi { font-size: 24px; color: var(--blue); }
.legal-grid__item h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin: 10px 0 6px; }
.legal-grid__item p { font-size: 14px; line-height: 1.6; margin: 0; }

.legal-table-wrap { overflow-x: auto; margin: 6px 0 16px; border-radius: 14px; border: 1px solid var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal-table th { background: var(--navy); color: var(--white); font-weight: 600; text-align: left; padding: 12px 16px; font-size: 13px; letter-spacing: .03em; }
.legal-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.legal-table tbody tr { transition: background-color .3s; }
.legal-table tbody tr:hover { background: #F5F9FC; }
.legal-pill { display: inline-block; padding: 3px 10px; border-radius: var(--pill); background: var(--green-soft); color: #3E8A0C; font-size: 12px; font-weight: 600; white-space: nowrap; }
.legal-pill--warn { background: #FFF1D6; color: #A15C00; }

.legal-highlight { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--card-line); }
.legal-highlight > .bi { font-size: 30px; color: var(--green); flex-shrink: 0; }

.legal-contact {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px;
    margin-top: 34px; padding: clamp(26px, 3vw, 40px);
    border-radius: 24px; background: linear-gradient(135deg, var(--navy) 0%, #0D2E57 100%); color: #B4BDC8;
}
.legal-contact::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%; background: rgba(7, 94, 207, .5); filter: blur(60px); animation: blobDrift 10s ease-in-out infinite alternate; }
.legal-contact__title { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--white); margin-bottom: 6px; }
.legal-contact__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.legal-contact__phone { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.legal-contact__phone:hover { color: var(--yellow); }

@media (max-width: 991.98px) {
    .legal-toc { position: static; }
    .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .legal-toc ol { grid-template-columns: 1fr; }
    .contact-map__bar { flex-wrap: wrap; }
    .contact-map__btn { margin-left: 58px; }
}

/* Keep contact email links within narrow mobile layouts. */
.contact-details a[href^="mailto:"], .footer-web { overflow-wrap: anywhere; }
