/* IMI LTD – CASSIOPEIA CUSTOM CSS
   Consolidated and reviewed: 19 September 2026 */

/* ---------- GENERAL ---------- */
body.site {
    margin: 0;
    min-height: 100vh;
    color: #111;
    background: #d9d9d9 url("/images/header.jpg") center top / cover no-repeat fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.container-header {
    background: transparent;
    box-shadow: none;
}

.container-header .grid-child,
.site-grid,
.container-footer .grid-child {
    width: calc(100% - 30px);
    max-width: 928px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* ---------- LOGO / SITE TITLE ---------- */
.container-header .navbar-brand { padding: 18px 15px 30px; }

.container-header .navbar-brand a,
.container-header .navbar-brand .site-title {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.container-header .site-description { color: #fff; }

/* ---------- CONTENT PANEL / ARTICLES ---------- */
.site-grid {
    display: block !important;
    margin-top: 0;
    padding: 0;
    min-height: 620px;
    background: rgba(245, 245, 245, .97);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.site-grid .container-component {
    display: block !important;
    margin: 0 !important;
    padding: 25px 20px 50px !important;
}

.site-grid main {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.item-page,
.item-page.links-page,
.links-page .item-page {
    margin: 0 !important;
    padding: 0 !important;
    color: #111;
    line-height: 1.45;
}

.item-page p { margin-top: 0; margin-bottom: 16px; }
.item-page ul { margin-top: 10px; margin-bottom: 18px; }
.item-page img { max-width: 100%; height: auto; }
.item-page strong, .item-page b { font-weight: 700; }

.item-page .icons,
.item-page .edit-icon,
.item-page .btn-group,
joomla-toolbar-button,
.icons,
.edit-icon,
a[title="Edit"],
a[href*="article.edit"] { display: none !important; }

.item-page blockquote {
    position: relative;
    margin: 30px 10px 10px;
    padding: 18px 50px;
    color: #222;
    border: 0;
    font-style: italic;
}

.item-page blockquote::before,
.item-page blockquote::after {
    position: absolute;
    color: #ccc;
    font-size: 60px;
    line-height: 1;
}

.item-page blockquote::before { top: 0; left: 5px; content: "“"; }
.item-page blockquote::after { right: 5px; bottom: -20px; content: "”"; }
.pagenavigation { display: none; }

/* ---------- FOOTER ---------- */
.container-footer { color: #777; background: transparent; box-shadow: none; }
.container-footer .grid-child { justify-content: center; text-align: center; }

/* ---------- HOMEPAGE GENERAL ---------- */
.imi-home {
    width: 100%;
    color: #182235;
    font-family: Arial, Helvetica, sans-serif;
}

.imi-home h1, .imi-home h2, .imi-home h3 { font-family: Arial, Helvetica, sans-serif; }
.imi-home h2 { margin: 0 0 18px; color: #2859ed; font-size: 30px; line-height: 1.2; }
.imi-home h3 { margin: 0 0 10px; color: #2859ed; font-size: 20px; line-height: 1.25; }
.imi-home p { line-height: 1.55; }

.imi-eyebrow {
    margin: 0 0 12px !important;
    color: #2859ed;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ---------- PHOTO HERO ---------- */
.imi-photo-hero {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: end;
    min-height: 570px;
    padding: 60px 42px 50px;
    overflow: hidden;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(3, 13, 28, .46) 0%, rgba(3, 13, 28, .31) 43%, rgba(3, 13, 28, .25) 100%),
        linear-gradient(0deg, rgba(3, 12, 25, .38) 0%, rgba(3, 12, 25, .02) 65%),
        url("/images/imi-bunker-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px 8px 0 0;
}

.imi-photo-hero-title, .imi-photo-hero-content { align-self: end; }

.imi-photo-tag {
    display: inline-block;
    margin: 0 0 18px !important;
    padding: 7px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3 !important;
    letter-spacing: .8px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.imi-photo-hero h1,
.imi-photo-hero h2 {
    max-width: 420px;
    margin: 0;
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.imi-photo-hero-content { padding-left: 24px; border-left: 2px solid rgba(255, 255, 255, .75); }

.imi-photo-intro {
    margin: 0 0 17px !important;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .75);
}

.imi-photo-hero-content ul { margin: 0 0 22px; padding-left: 20px; }
.imi-photo-hero-content li {
    margin-bottom: 9px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.imi-photo-button, .imi-button {
    display: inline-block;
    padding: 13px 19px;
    color: #fff !important;
    background: #2859ed;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease;
}

.imi-photo-button:hover, .imi-button:hover {
    color: #fff !important;
    background: #1745cf;
    transform: translateY(-1px);
}

/* ---------- STATISTICS ---------- */
.imi-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 45px;
    background: #edf3fc;
    border-bottom: 1px solid #d6dfeb;
}

.imi-stat {
    position: relative;
    padding: 23px 15px;
    overflow: hidden;
    text-align: center;
    animation: imiStatAppear .6s ease both;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.imi-stat + .imi-stat { border-left: 1px solid #d6dfeb; }
.imi-stat:nth-child(2) { animation-delay: .12s; }
.imi-stat:nth-child(3) { animation-delay: .24s; }

.imi-stat::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    content: "";
    background: #2859ed;
    transition: width .3s ease, left .3s ease;
}

.imi-stat strong {
    display: block;
    margin-bottom: 5px;
    color: #2859ed;
    font-size: 23px;
    transition: transform .25s ease, color .25s ease;
}

.imi-stat:hover { z-index: 2; background: #fff; box-shadow: 0 8px 20px rgba(22, 39, 67, .16); transform: translateY(-6px); }
.imi-stat:hover::before { left: 0; width: 100%; }
.imi-stat:hover strong { color: #1745cf; transform: scale(1.08); }

@keyframes imiStatAppear {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- CORE SERVICES ---------- */
.imi-core-services { padding: 5px 20px 45px; }
.imi-core-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.imi-core-heading h2 { margin-bottom: 10px; color: #182235; }
.imi-core-heading > p:last-child { margin: 0; color: #536176; font-size: 17px; }
.imi-core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.imi-core-card {
    position: relative;
    min-height: 225px;
    padding: 32px 25px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #285fe1, #173f94);
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(20, 44, 91, .2);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.imi-core-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    content: "";
    background: rgba(255, 255, 255, .9);
    transition: width .3s ease;
}

.imi-core-card::after {
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 155px;
    height: 155px;
    content: "";
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    transition: right .3s ease, bottom .3s ease, transform .3s ease;
}

.imi-core-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 17px;
    color: #fff;
    font-size: 23px;
    line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.imi-core-card p { position: relative; z-index: 2; margin: 0; color: rgba(255, 255, 255, .93); font-size: 16px; line-height: 1.55; }
.imi-core-card:hover { background: linear-gradient(145deg, #3169ed, #12377f); box-shadow: 0 15px 28px rgba(20, 44, 91, .3); transform: translateY(-7px); }
.imi-core-card:hover::before { width: 100%; }
.imi-core-card:hover::after { right: -30px; bottom: -50px; transform: scale(1.08); }

.imi-secondary-services {
    margin: 25px 0 0 !important;
    padding: 17px 20px;
    color: #536176;
    border-top: 1px solid #d6dee8;
    border-bottom: 1px solid #d6dee8;
    text-align: center;
    font-size: 16px;
}

.imi-secondary-services strong { color: #2859ed; }

/* ---------- BUNKER DETECTIVES ---------- */
.imi-detectives {
    display: block;
    margin: 35px 0;
    padding: 40px 42px 34px;
    color: #17233a;
    background: #eef3fb;
    border-radius: 8px;
    box-sizing: border-box;
}

.imi-detectives-heading { margin-bottom: 25px; }
.imi-detectives-heading .imi-eyebrow { margin: 0 0 13px !important; color: #4561ed; font-size: 13px; font-weight: 700; letter-spacing: 3px; }
.imi-detectives-heading h2 { max-width: 760px; margin: 0; color: #29438f; font-size: 36px; line-height: 1.18; }
.imi-detectives-intro { margin-bottom: 26px; }
.imi-detectives-intro p { margin: 0 0 15px; color: #17233a; font-size: 16px; line-height: 1.55; }
.imi-detectives-intro p:last-child { margin-bottom: 0; }

/* ---------- WHY CLIENTS CHOOSE IMI ---------- */
.imi-why-premium {
    position: relative;
    margin: 35px 0;
    padding: 55px 35px 45px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 12% 15%, rgba(69, 104, 238, .27), transparent 35%), linear-gradient(135deg, #102044, #09152e);
    border-radius: 8px;
}

.imi-why-heading { position: relative; z-index: 2; max-width: 690px; margin: 0 auto 35px; text-align: center; }
.imi-why-eyebrow { margin: 0 0 11px !important; color: #92a9ff; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.imi-why-heading h2 { margin: 0 0 13px; color: #fff; font-size: 40px; line-height: 1.15; text-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.imi-why-heading > p:last-child { margin: 0; color: #c8d3e9; font-size: 17px; line-height: 1.55; }
.imi-why-premium-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.imi-why-card {
    position: relative;
    min-height: 220px;
    padding: 27px 20px 23px;
    overflow: hidden;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    box-sizing: border-box;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.imi-why-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #5272ff, #78a5ff);
    transition: width .28s ease;
}

.imi-why-card::after {
    position: absolute;
    right: -55px;
    bottom: -70px;
    width: 145px;
    height: 145px;
    content: "";
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    transition: right .3s ease, bottom .3s ease, transform .3s ease;
}

.imi-why-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
    color: #b2c2ff;
    background: rgba(78, 111, 241, .2);
    border-radius: 50%;
    font-size: 20px;
}

.imi-why-icon span { color: inherit; }
.imi-why-card h3 { position: relative; z-index: 2; margin: 0 0 12px; color: #fff; font-size: 20px; line-height: 1.25; }
.imi-why-card p { position: relative; z-index: 2; margin: 0; color: #c8d3e9; font-size: 15px; line-height: 1.55; }
.imi-why-card:hover { background: rgba(255, 255, 255, .12); border-color: rgba(143, 170, 255, .52); box-shadow: 0 14px 25px rgba(0, 0, 0, .25); transform: translateY(-7px); }
.imi-why-card:hover::before { width: 100%; }
.imi-why-card:hover::after { right: -38px; bottom: -55px; transform: scale(1.08); }

/* ---------- FAMILY / CLOSING / CTA ---------- */
.imi-family { margin: 0 20px; padding: 34px 35px 15px; background: #fff; border-radius: 8px; }
.imi-family h2 { text-align: center; }
.imi-family p { color: #344154; text-align: left; }
.imi-family p:last-child { margin-bottom: 0 !important; }

.imi-statement { margin: 0 !important; padding: 20px 30px 25px !important; text-align: center; }
.imi-statement blockquote { margin: 0 !important; padding: 15px 55px !important; min-height: 0 !important; color: #344154; border: 0; font-size: 18px; font-style: italic; line-height: 1.5; }

.imi-final-cta { margin: 0; padding: 32px 20px; text-align: center; background: #edf3fc; border-radius: 8px; }
.imi-final-cta h2 { margin-bottom: 10px; }
.imi-final-cta p { margin-bottom: 22px; color: #4a586b; }
.imi-button { padding: 13px 22px; box-shadow: 0 4px 12px rgba(40, 89, 237, .25); }

/* ---------- TABLET ---------- */
@media (max-width: 991px) {
    .container-header .grid-child,
    .site-grid,
    .container-footer .grid-child,
    .container-header .container-nav { width: calc(100% - 20px); }

    .container-header .navbar-brand { padding: 15px 10px 22px; }
    .site-grid .container-component { padding: 20px 15px 35px !important; }

    .imi-photo-hero { grid-template-columns: 1fr; gap: 30px; min-height: 620px; padding: 50px 35px 42px; background-position: 58% center; }
    .imi-photo-hero h1, .imi-photo-hero h2 { max-width: 500px; font-size: 48px; }
    .imi-photo-hero-content { max-width: 680px; }

    .imi-core-services { padding-right: 10px; padding-left: 10px; }
    .imi-core-grid { grid-template-columns: 1fr; }
    .imi-core-card { min-height: 180px; }

    .imi-detectives { padding: 35px 30px 30px; }
    .imi-detectives-heading h2 { font-size: 32px; }
    .imi-why-premium { padding: 45px 25px 38px; }
    .imi-why-premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .imi-why-card { min-height: 205px; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
    body.site { background-attachment: scroll; }

    .container-header .container-nav { padding: 8px 12px; }
    .container-header .mod-menu > li + li { border-top: 1px solid #ddd; border-left: 0; }
    .container-header .mod-menu > li > a { padding: 11px 10px; }
    .site-grid .container-component { padding: 15px 10px 30px !important; }
    .item-page blockquote { padding: 15px 30px; }

    .imi-photo-hero { display: block; min-height: 0; padding: 42px 22px 35px; background-position: 58% center; border-radius: 6px 6px 0 0; }
    .imi-photo-tag { margin-bottom: 14px !important; padding: 6px 10px; font-size: 11px; letter-spacing: 1px; }
    .imi-photo-hero h1, .imi-photo-hero h2 { max-width: 300px; margin-bottom: 30px; font-size: 40px; line-height: 1.04; }
    .imi-photo-hero-content { padding-left: 17px; }
    .imi-photo-intro { font-size: 16px; line-height: 1.4 !important; }
    .imi-photo-hero-content li { margin-bottom: 10px; font-size: 15px; line-height: 1.4; text-align: left !important; }
    .imi-photo-button { padding: 12px 15px; font-size: 14px; }

    .imi-statistics { grid-template-columns: 1fr; margin-bottom: 35px; }
    .imi-stat + .imi-stat { border-top: 1px solid #d6dfeb; border-left: 0; }
    .imi-home h2 { font-size: 26px; }

    .imi-core-services { padding: 0 5px 35px; }
    .imi-core-heading { margin-bottom: 23px; }
    .imi-core-heading > p:last-child { font-size: 16px; }
    .imi-core-grid { grid-template-columns: 1fr; gap: 15px; }
    .imi-core-card { min-height: 0; padding: 27px 22px 42px; }
    .imi-core-card h3 { font-size: 21px; }
    .imi-core-card p { font-size: 15px; }
    .imi-secondary-services { margin-top: 20px !important; padding: 15px 10px; font-size: 15px; line-height: 1.6; }

    .imi-detectives { margin: 25px 0; padding: 30px 20px 25px; }
    .imi-detectives-heading { margin-bottom: 21px; }
    .imi-detectives-heading h2 { font-size: 28px; }
    .imi-detectives-intro { margin-bottom: 20px; }
    .imi-detectives-intro p { font-size: 15px; line-height: 1.55; }

    .imi-why-premium { margin: 25px 0; padding: 40px 18px 30px; border-radius: 6px; }
    .imi-why-heading { margin-bottom: 27px; }
    .imi-why-heading h2 { font-size: 30px; }
    .imi-why-heading > p:last-child { font-size: 16px; }
    .imi-why-premium-grid { grid-template-columns: 1fr; gap: 14px; }
    .imi-why-card { min-height: 0; padding: 25px 20px 27px; }
    .imi-why-card h3 { font-size: 20px; }
    .imi-why-card p { font-size: 15px; }

    .imi-family { margin: 0 5px; padding: 27px 20px 12px; }
    .imi-statement { padding: 15px 5px 20px !important; }
    .imi-statement blockquote { padding: 12px 30px !important; font-size: 16px; text-align: center !important; }
    .imi-final-cta { padding: 28px 15px; }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
    .imi-stat,
    .imi-stat::before,
    .imi-stat strong,
    .imi-core-card,
    .imi-core-card::before,
    .imi-core-card::after,
    .imi-why-card,
    .imi-why-card::before,
    .imi-why-card::after {
        animation: none;
        transition: none;
    }
}

/* =========================================
   BUNKER DETECTIVES – CENTRAL PHOTO SHOWCASE
   ========================================= */

.imi-detectives-showcase {
    display: block;
    margin: 35px 0;
    padding: 40px 35px 36px;
    color: #17233a;
    background: #eef3fb;
    border-radius: 8px;
    box-sizing: border-box;
}

/* HEADING */
.imi-detectives-showcase .imi-detectives-heading {
    margin-bottom: 24px;
}

.imi-detectives-showcase .imi-detectives-heading .imi-eyebrow {
    margin: 0 0 13px !important;
    color: #4561ed;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.imi-detectives-showcase .imi-detectives-heading h2 {
    max-width: 760px;
    margin: 0;
    color: #29438f;
    font-size: 36px;
    line-height: 1.18;
}

/* INTRODUCTION */
.imi-detectives-showcase .imi-detectives-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 27px;
}

.imi-detectives-showcase .imi-detectives-intro p {
    margin: 0;
    color: #26354c;
    font-size: 15px;
    line-height: 1.55;
}

/* FOUR BOXES WITH CENTRAL PHOTO */
.imi-detectives-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr);
    grid-template-areas:
        "hidden photo methods"
        "solutions photo results";
    gap: 16px;
    align-items: stretch;
}

/* BOX POSITIONS */
.imi-feature-hidden { grid-area: hidden; }
.imi-feature-methods { grid-area: methods; }
.imi-feature-solutions { grid-area: solutions; }
.imi-feature-results { grid-area: results; }

/* BOX APPEARANCE */
.imi-feature-card {
    position: relative;
    min-height: 190px;
    padding: 24px 21px 21px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d8e1ef;
    border-radius: 8px;
    box-shadow: 0 7px 16px rgba(27, 51, 94, 0.09);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* BLUE TOP LINE */
.imi-feature-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #3158eb, #7194ff);
    transition: width 0.28s ease;
}

/* DECORATIVE CIRCLE */
.imi-feature-card::after {
    position: absolute;
    right: -55px;
    bottom: -70px;
    width: 135px;
    height: 135px;
    content: "";
    border: 1px solid rgba(49, 88, 235, 0.10);
    border-radius: 50%;
    transition: right 0.3s ease, bottom 0.3s ease, transform 0.3s ease;
}

/* BOX TEXT */
.imi-feature-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: #3155cf;
    font-size: 19px;
    line-height: 1.25;
}

.imi-feature-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #46556b;
    font-size: 14px;
    line-height: 1.5;
}

/* BOX HOVER */
.imi-feature-card:hover {
    border-color: #aebff6;
    box-shadow: 0 14px 25px rgba(27, 51, 94, 0.16);
    transform: translateY(-6px);
}

.imi-feature-card:hover::before { width: 100%; }
.imi-feature-card:hover::after { right: -40px; bottom: -55px; transform: scale(1.08); }

/* CENTRAL PHOTO */
.imi-feature-photo {
    grid-area: photo;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 396px;
    padding: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #173f94, #102653);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(27, 45, 81, 0.22);
    box-sizing: border-box;
}

.imi-feature-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

/* TABLET */
@media (max-width: 991px) {
    .imi-detectives-showcase { padding: 35px 28px 30px; }
    .imi-detectives-showcase .imi-detectives-heading h2 { font-size: 32px; }
    .imi-detectives-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "hidden methods"
            "photo photo"
            "solutions results";
    }
    .imi-feature-photo { min-height: 230px; }
    .imi-feature-photo img { width: auto; max-width: 360px; }
}

/* MOBILE */
@media (max-width: 767px) {
    .imi-detectives-showcase { margin: 25px 0; padding: 30px 18px 25px; }
    .imi-detectives-showcase .imi-detectives-heading h2 { font-size: 28px; }
    .imi-detectives-showcase .imi-detectives-intro {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 22px;
    }
    .imi-detectives-showcase .imi-detectives-intro p { font-size: 15px; }
    .imi-detectives-feature-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hidden"
            "methods"
            "photo"
            "solutions"
            "results";
        gap: 15px;
    }
    .imi-feature-card { min-height: 0; padding: 23px 20px 25px; }
    .imi-feature-card h3 { font-size: 19px; }
    .imi-feature-card p { font-size: 15px; }
    .imi-feature-photo { min-height: 210px; padding: 20px; }
    .imi-feature-photo img { width: 100%; max-width: 360px; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .imi-feature-card,
    .imi-feature-card::before,
    .imi-feature-card::after {
        transition: none;
    }
}

/* =========================================
   BUNKER DETECTIVES – INTRO & PHOTO FIX
   ========================================= */

.imi-detectives-showcase .imi-detectives-intro {
    display: block;
    margin-bottom: 27px;
}

.imi-detectives-showcase .imi-detectives-intro p {
    width: 100%;
    margin: 0 0 15px;
    color: #26354c;
    font-size: 15px;
    line-height: 1.55;
}

.imi-detectives-showcase .imi-detectives-intro p:last-child {
    margin-bottom: 0;
}

.imi-feature-photo {
    grid-area: photo;
    align-self: center;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.imi-feature-photo img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto;
    border: 3px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(27, 45, 81, 0.25);
}

@media (max-width: 991px) {
    .imi-feature-photo { min-height: 0; padding: 0; }
    .imi-feature-photo img { width: 100%; max-width: 360px; }
}

@media (max-width: 767px) {
    .imi-detectives-showcase .imi-detectives-intro { display: block; margin-bottom: 22px; }
    .imi-feature-photo { min-height: 0; padding: 8px 0; }
    .imi-feature-photo img { width: 100%; max-width: 360px; }
}

/* =========================================
   NEW CENTRAL BUNKER SURVEY IMAGE
   ========================================= */

.imi-feature-photo {
    grid-area: photo;
    align-self: stretch;
    display: block;
    min-height: 396px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(27, 45, 81, 0.22);
}

.imi-feature-photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

@media (max-width: 991px) {
    .imi-feature-photo { min-height: 300px; }
    .imi-feature-photo img {
        width: 100%;
        max-width: none;
        height: 300px;
        object-fit: cover;
        object-position: center 58%;
    }
}

@media (max-width: 767px) {
    .imi-feature-photo { min-height: 380px; padding: 0; }
    .imi-feature-photo img {
        width: 100%;
        max-width: none;
        height: 380px;
        object-fit: cover;
        object-position: center center;
    }
}

/* =========================================
   BUNKER DETECTIVES – DARK BLUE THEME
   ========================================= */

.imi-detectives-showcase {
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 15%, rgba(77, 99, 177, 0.45) 0, rgba(77, 99, 177, 0) 38%),
        linear-gradient(120deg, #2c3b70 0%, #19233f 55%, #11192e 100%);
}

.imi-detectives-showcase .imi-eyebrow,
.imi-detectives-showcase .imi-detectives-heading .imi-eyebrow {
    color: #88a2ff !important;
}

.imi-detectives-showcase .imi-detectives-heading h2 {
    color: #ffffff;
}

.imi-detectives-showcase .imi-detectives-intro p {
    color: rgba(255, 255, 255, 0.88);
}

.imi-detectives-showcase .imi-feature-card {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.17);
    box-shadow: 0 12px 28px rgba(2, 8, 25, 0.22);
}

.imi-detectives-showcase .imi-feature-card::before {
    background: linear-gradient(90deg, #6681ff 0%, #9bb0ff 100%);
}

.imi-detectives-showcase .imi-feature-card::after {
    border-color: rgba(151, 173, 255, 0.15);
}

.imi-detectives-showcase .imi-feature-card h3 {
    color: #ffffff;
}

.imi-detectives-showcase .imi-feature-card p {
    color: rgba(255, 255, 255, 0.82);
}

.imi-detectives-showcase .imi-feature-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(132, 158, 255, 0.55);
    box-shadow: 0 18px 34px rgba(2, 8, 25, 0.35);
}

/* =========================================
   CORE SERVICES – DARK BLUE CARDS ONLY
   ========================================= */

.imi-core-services .imi-core-card {
    background: linear-gradient(145deg, #344574 0%, #273554 55%, #202b45 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(19, 29, 52, 0.20);
}

.imi-core-services .imi-core-card h3 {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5em;
    margin: 0 0 22px;
    line-height: 1.25;
    text-align: center;
}

.imi-core-services .imi-core-card p {
    color: rgba(255, 255, 255, 0.84);
}

.imi-core-services .imi-core-card::after {
    border-color: rgba(151, 173, 255, 0.18);
}

.imi-core-services .imi-core-card:hover {
    background: linear-gradient(145deg, #40558d 0%, #30416a 55%, #263451 100%);
    border-color: rgba(135, 160, 255, 0.50);
    box-shadow: 0 18px 34px rgba(19, 29, 52, 0.30);
}

@media (max-width: 767px) {
    .imi-core-services .imi-core-card h3 {
        min-height: 0;
        margin-bottom: 15px;
    }
}

/* =========================================
   STATISTICS – DARK BLUE THEME
   ========================================= */

.imi-statistics {
    overflow: hidden;
    background: linear-gradient(120deg, #2c3b70 0%, #19233f 58%, #11192e 100%);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 18, 42, 0.22);
}

.imi-statistics .imi-stat {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 400;
}

.imi-statistics .imi-stat + .imi-stat {
    border-left-color: rgba(255, 255, 255, 0.14);
}

.imi-statistics .imi-stat strong {
    color: #88a2ff;
}

@media (max-width: 767px) {
    .imi-statistics .imi-stat + .imi-stat {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
}

/* =========================================
   HERO + STATISTICS SEPARATION
   ========================================= */

.imi-photo-hero {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.imi-statistics {
    margin-top: 0;
    border-radius: 8px;
}

/* =========================================
   CORE SERVICES – PREMIUM HEADING
   ========================================= */

.imi-core-services {
    padding: 42px 38px 36px;
    background:
        radial-gradient(circle at 92% 5%, rgba(91, 119, 232, 0.13), transparent 34%),
        linear-gradient(180deg, #f6f8fc 0%, #edf2f9 100%);
    border-radius: 8px;
}

.imi-core-services .imi-core-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
    grid-template-rows: auto auto;
    column-gap: 45px;
    row-gap: 0;
    align-items: end;
    margin: 0 0 35px;
    text-align: left;
}

.imi-core-services .imi-core-heading .imi-eyebrow {
    display: inline-block;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    margin: 0 0 15px !important;
    padding: 7px 13px;
    color: #91a7ff;
    background: #263760;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2.2px;
}

.imi-core-services .imi-core-heading h2 {
    grid-column: 1;
    grid-row: 2;
    max-width: 620px;
    margin: 0;
    color: #1b2948;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.08;
    text-align: left;
}

.imi-core-services .imi-core-heading > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0 0 3px;
    padding: 4px 0 4px 23px;
    color: #526079;
    border-left: 4px solid #5875f1;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
}

@media (max-width: 767px) {
    .imi-core-services { padding: 30px 18px 25px; }
    .imi-core-services .imi-core-heading { display: block; margin-bottom: 27px; }
    .imi-core-services .imi-core-heading .imi-eyebrow { margin-bottom: 15px !important; }
    .imi-core-services .imi-core-heading h2 { margin-bottom: 20px; font-size: 30px; line-height: 1.12; }
    .imi-core-services .imi-core-heading > p:last-child { margin: 0; padding: 4px 0 4px 17px; font-size: 15px; }
}

/* Emphasis μόνο στις δύο εισαγωγικές παραγράφους */
.imi-detectives-showcase .imi-detectives-intro p {
    position: relative;
    padding-left: 44px;
    color: #ffffff;
    font-weight: 700;
}

.imi-detectives-showcase .imi-detectives-intro p::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    background-color: #5875f1;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767px) {
    .imi-detectives-showcase .imi-detectives-intro p { padding-left: 38px; }
    .imi-detectives-showcase .imi-detectives-intro p::before { width: 24px; height: 24px; font-size: 14px; }
}

/* Hero banner list – bold text with ticks */
.imi-photo-hero-content ul {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.imi-photo-hero-content ul li {
    position: relative;
    margin-bottom: 18px;
    padding-left: 42px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.5;
}

.imi-photo-hero-content ul li::before {
    content: "✓";
    position: absolute;
    top: 1px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: #ffffff;
    background: #5875f1;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.imi-photo-hero-content ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .imi-photo-hero-content ul li { margin-bottom: 15px; padding-left: 36px; font-size: 15px; line-height: 1.5; }
    .imi-photo-hero-content ul li::before { width: 23px; height: 23px; font-size: 13px; }
}

/* Hero button – centred and matching the ticks */
.imi-photo-hero-content .imi-photo-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 34px auto 0;
    padding: 17px 32px;
    color: #ffffff;
    background: #5875f1;
    border: 1px solid #6f89f5;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 30, 70, 0.35);
}

.imi-photo-hero-content .imi-photo-button:hover,
.imi-photo-hero-content .imi-photo-button:focus {
    color: #ffffff;
    background: #4866e4;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .imi-photo-hero-content .imi-photo-button { width: 100%; margin-top: 26px; padding: 15px 18px; }
}

/* IMI reputation statement */
.imi-statement {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 62px 80px;
    background:
        radial-gradient(circle at 50% 0%, rgba(88, 117, 241, 0.28), transparent 55%),
        linear-gradient(120deg, #2c3b70 0%, #19233f 58%, #11192e 100%);
    border-top: 5px solid #5875f1;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(10, 20, 45, 0.22);
}

.imi-statement blockquote {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 75px;
    color: #ffffff;
    border: 0;
    font-size: 27px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.imi-statement blockquote::before,
.imi-statement blockquote::after {
    position: absolute;
    color: #88a2ff;
    font-family: Georgia, serif;
    font-size: 90px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    opacity: 0.65;
}

.imi-statement blockquote::before {
    content: "“";
    top: -25px;
    left: 0;
}

.imi-statement blockquote::after {
    content: "”";
    right: 0;
    bottom: -55px;
}

@media (max-width: 767px) {
    .imi-statement { padding: 45px 22px; }
    .imi-statement blockquote { padding: 0 30px; font-size: 20px; line-height: 1.5; }
    .imi-statement blockquote::before,
    .imi-statement blockquote::after { font-size: 58px; }
    .imi-statement blockquote::before { top: -17px; left: -5px; }
    .imi-statement blockquote::after { right: -5px; bottom: -38px; }
}

/* ---------- MAIN MENU – PREMIUM NAVY ---------- */
.container-header .container-nav {
    padding: 0;
    box-sizing: border-box;
    background:
        linear-gradient(120deg, #2c3b70 0%, #19233f 58%, #11192e 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(12, 22, 48, 0.28);
}

@media (min-width: 992px) {
    .container-header .navbar,
    .container-header .navbar-collapse {
        width: 100%;
        flex: 1 1 100%;
    }

    .container-header .mod-menu {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        flex: 1 1 100%;
    }

    .container-header .mod-menu > li {
        width: 100%;
        min-width: 0;
    }

    .container-header .mod-menu > li > a {
        width: 100%;
    }
}

.container-header .mod-menu {
    gap: 0 !important;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.container-header .mod-menu > li {
    position: relative;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
}

.container-header .mod-menu > li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.13) !important;
}

.container-header .mod-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    margin: 0;
    padding: 0 34px;
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container-header .mod-menu > li > a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 4px;
    background: #5875f1;
    transition: right 0.3s ease, left 0.3s ease;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
    color: #ffffff !important;
    background: rgba(88, 117, 241, 0.22) !important;
}

.container-header .mod-menu > li > a:hover::after,
.container-header .mod-menu > li > a:focus::after {
    right: 18%;
    left: 18%;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
    color: #ffffff !important;
    background: rgba(88, 117, 241, 0.3) !important;
}

.container-header .mod-menu > li.active > a::after,
.container-header .mod-menu > li.current > a::after {
    right: 18%;
    left: 18%;
}

@media (max-width: 767px) {
    .container-header .container-nav { padding: 8px 12px; }
    .container-header .mod-menu > li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.13) !important;
        border-left: 0 !important;
    }
    .container-header .mod-menu > li > a {
        min-height: 48px;
        padding: 10px 14px;
        justify-content: flex-start;
    }
    .container-header .mod-menu > li > a::after {
        top: 20%;
        right: auto;
        bottom: 20%;
        left: 0;
        width: 4px;
        height: auto;
    }
    .container-header .mod-menu > li > a:hover::after,
    .container-header .mod-menu > li > a:focus::after,
    .container-header .mod-menu > li.active > a::after,
    .container-header .mod-menu > li.current > a::after {
        top: 20%;
        right: auto;
        bottom: 20%;
        left: 0;
    }
}

/* ---------- FAMILY COMPANY SECTION ---------- */
.imi-family {
    display: grid;
    grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.7fr);
    column-gap: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dce3f1;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 31, 60, 0.12);
}

.imi-family h2 {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 7;
    margin: 0;
    padding: 68px 48px;
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 10%, rgba(88, 117, 241, 0.38), transparent 43%),
        linear-gradient(145deg, #2c3b70 0%, #19233f 60%, #11192e 100%);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.imi-family h2::before {
    content: "OUR HERITAGE";
    display: block;
    margin-bottom: 24px;
    color: #88a2ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2.6px;
}

.imi-family h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin-top: 30px;
    background: #5875f1;
    border-radius: 10px;
}

.imi-family p {
    position: relative;
    grid-column: 2;
    margin: 0;
    padding: 23px 52px 23px 72px;
    color: #34415b;
    border-bottom: 1px solid #e5eaf3;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
}

.imi-family p::before {
    content: "";
    position: absolute;
    top: 31px;
    left: 48px;
    width: 8px;
    height: 8px;
    background: #5875f1;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(88, 117, 241, 0.12);
}

.imi-family p:first-of-type {
    padding-top: 34px;
    color: #1f2e4d;
    font-size: 19px;
    font-weight: 700;
}

.imi-family p:first-of-type::before { top: 44px; }

.imi-family p:last-of-type {
    padding-bottom: 34px;
    border-bottom: 0;
    color: #263760;
    font-weight: 700;
}

@media (max-width: 767px) {
    .imi-family { display: block; }
    .imi-family h2 { padding: 42px 27px; font-size: 31px; }
    .imi-family h2::before { margin-bottom: 17px; }
    .imi-family h2::after { margin-top: 22px; }
    .imi-family p,
    .imi-family p:first-of-type {
        padding: 21px 24px 21px 53px;
        font-size: 16px;
        line-height: 1.6;
    }
    .imi-family p::before,
    .imi-family p:first-of-type::before { top: 30px; left: 27px; }
    .imi-family p:last-of-type { padding-bottom: 28px; }
}

/* Final contact section – unified colours */
.imi-final-cta {
    background:
        radial-gradient(circle at 50% 0%, rgba(88, 117, 241, 0.12), transparent 55%),
        linear-gradient(180deg, #f6f8fc 0%, #edf2f9 100%);
    border: 1px solid #dce3f1;
    border-radius: 8px;
}

.imi-final-cta h2 { color: #263760; }
.imi-final-cta p { color: #526079; }

.imi-final-cta .imi-button {
    color: #ffffff !important;
    background: #5875f1;
    border: 1px solid #6f89f5;
    box-shadow: 0 8px 20px rgba(38, 55, 96, 0.25);
}

.imi-final-cta .imi-button:hover,
.imi-final-cta .imi-button:focus {
    color: #ffffff !important;
    background: #4866e4;
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================================================
   IMI HERO SLIDER — FINAL CLEAN VERSION
   ========================================================= */

.imi-home .imi-photo-hero.imi-hero-slider {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #11192e;
    border-radius: 8px 8px 0 0;
}

.imi-home .imi-photo-hero.imi-hero-slider::before,
.imi-home .imi-photo-hero.imi-hero-slider::after {
    content: none;
}

.imi-home .imi-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: end;
    width: 100%;
    min-height: 570px;
    padding: 60px 42px 85px;
    color: #ffffff;
    background-image:
        linear-gradient(90deg, rgba(3, 13, 28, .46) 0%, rgba(3, 13, 28, .31) 43%, rgba(3, 13, 28, .25) 100%),
        linear-gradient(0deg, rgba(3, 12, 25, .38) 0%, rgba(3, 12, 25, .02) 65%),
        var(--imi-slide-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .6s ease, visibility 0s linear .6s;
}

.imi-home .imi-hero-slide.is-active {
    position: relative;
    inset: auto;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .6s ease;
}

.imi-home .imi-hero-slide .imi-photo-hero-title,
.imi-home .imi-hero-slide .imi-photo-hero-content {
    position: relative;
    z-index: 2;
    align-self: end;
}

.imi-home .imi-hero-slide .imi-photo-hero-content {
    padding-left: 24px;
    border-top: 0;
    border-left: 2px solid rgba(255, 255, 255, .75);
}

.imi-home .imi-hero-controls {
    position: absolute;
    right: 42px;
    bottom: 18px;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    pointer-events: none;
}

.imi-home .imi-hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(8, 18, 39, .46);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    pointer-events: auto;
}

.imi-home .imi-hero-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: transparent;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .62);
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease, transform .25s ease;
}

.imi-home .imi-hero-dot:hover {
    background: #ffffff;
    transform: scale(1.15);
}

.imi-home .imi-hero-dot.is-active {
    width: 29px;
    border-radius: 999px;
    background: #5875f1;
}

.imi-home .imi-hero-next {
    position: static;
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0 0 3px;
    place-items: center;
    color: #ffffff;
    background: #5875f1;
    border: 1px solid rgba(255, 255, 255, .60);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(4, 15, 40, .35);
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: transform .25s ease, background-color .25s ease;
}

.imi-home .imi-hero-next:hover {
    color: #ffffff;
    background: #4866e4;
    transform: translateX(3px);
}

.imi-home .imi-hero-dot:focus-visible,
.imi-home .imi-hero-next:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .imi-home .imi-hero-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 620px;
        padding: 50px 35px 90px;
        background-position: 58% center;
    }
    .imi-home .imi-hero-slide .imi-photo-hero-content { max-width: 680px; }
    .imi-home .imi-hero-controls { right: 35px; left: 35px; }
}

@media (max-width: 767px) {
    .imi-home .imi-photo-hero.imi-hero-slider { border-radius: 6px 6px 0 0; }
    .imi-home .imi-hero-slide {
        display: block;
        min-height: 0;
        padding: 42px 22px 90px;
        background-position: 58% center;
    }
    .imi-home .imi-hero-slide .imi-photo-hero-title { margin-bottom: 30px; }
    .imi-home .imi-hero-slide .imi-photo-hero-content {
        max-width: none;
        padding-left: 17px;
        border-top: 0;
        border-left: 2px solid rgba(255, 255, 255, .75);
    }
    .imi-home .imi-hero-controls { right: 16px; bottom: 16px; left: 16px; gap: 12px; }
    .imi-home .imi-hero-next { flex-basis: 44px; width: 44px; height: 44px; font-size: 24px; }
    .imi-home .imi-hero-dots { gap: 8px; padding: 8px 12px; }
    .imi-home .imi-hero-dot { width: 9px; height: 9px; min-width: 9px; }
    .imi-home .imi-hero-dot.is-active { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .imi-home .imi-hero-slide,
    .imi-home .imi-hero-dot,
    .imi-home .imi-hero-next {
        transition: none;
    }
}

.imi-home .imi-slide-emphasis {
    margin: 4px 0 20px !important;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: .15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .85);
}

/* ---------- SERVICES PAGE ---------- */
.imi-services-page {
  --imi-navy: #202944;
  --imi-navy-soft: #303b60;
  --imi-blue: #5875f1;
  --imi-blue-light: #8297f7;
  --imi-ink: #243451;
  --imi-muted: #566580;
  --imi-surface: #f1f5fb;
  --imi-border: #d8e0ee;
  color: var(--imi-ink);
  background: var(--imi-surface);
  border-radius: 18px;
  overflow: hidden;
}

.imi-services-page *,
.imi-services-page *::before,
.imi-services-page *::after {
  box-sizing: border-box;
}

.imi-services-hero {
  position: relative;
  padding: clamp(48px, 6vw, 82px) clamp(24px, 6vw, 88px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 117, 241, .32), transparent 32%),
    linear-gradient(125deg, #303b60 0%, #202944 58%, #182035 100%);
}

.imi-services-hero::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
}

.imi-services-eyebrow,
.imi-service-label {
  margin: 0 0 14px;
  color: var(--imi-blue-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.35;
}

.imi-services-hero h1 {
  max-width: 980px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.imi-services-lead {
  max-width: 840px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
}

.imi-services-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 68px) clamp(24px, 5vw, 70px) 30px;
}

.imi-services-intro p {
  margin: 0;
  color: var(--imi-muted);
  font-size: 18px;
  line-height: 1.72;
}

.imi-services-intro p:first-child {
  color: var(--imi-ink);
  font-weight: 650;
}

.imi-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(24px, 5vw, 70px) 30px;
}

.imi-service-card {
  position: relative;
  min-height: 245px;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--imi-border);
  border-radius: 15px;
  box-shadow: 0 13px 32px rgba(34, 51, 82, .08);
  outline: none;
  cursor: default;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.imi-service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 5px;
  background: var(--imi-blue);
  content: "";
}

.imi-service-card::after {
  position: absolute;
  right: -54px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(88, 117, 241, .12);
  border-radius: 50%;
  content: "";
}

.imi-service-card:hover,
.imi-service-card:focus,
.imi-service-card:focus-visible,
.imi-service-card:active {
  transform: translateY(-6px) scale(1.012);
  background: linear-gradient(145deg, var(--imi-navy-soft), var(--imi-navy));
  border-color: var(--imi-blue-light);
  box-shadow: 0 22px 44px rgba(25, 35, 62, .24);
}

.imi-service-card:hover::before,
.imi-service-card:focus::before,
.imi-service-card:focus-visible::before,
.imi-service-card:active::before {
  width: 100%;
  background: var(--imi-blue-light);
}

.imi-service-card:hover::after,
.imi-service-card:focus::after,
.imi-service-card:focus-visible::after,
.imi-service-card:active::after {
  border-color: rgba(255, 255, 255, .14);
}

.imi-service-card .imi-service-label {
  margin-bottom: 18px;
  color: var(--imi-blue);
  font-size: 12px;
}

.imi-service-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--imi-navy);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  transition: color .28s ease;
}

.imi-service-card p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--imi-muted);
  font-size: 17px;
  line-height: 1.65;
  transition: color .28s ease, font-weight .28s ease;
}

.imi-service-card:hover h2,
.imi-service-card:focus h2,
.imi-service-card:focus-visible h2,
.imi-service-card:active h2 {
  color: #fff;
}

.imi-service-card:hover p:last-child,
.imi-service-card:focus p:last-child,
.imi-service-card:focus-visible p:last-child,
.imi-service-card:active p:last-child {
  color: rgba(255, 255, 255, .8);
  font-weight: 650;
}

.imi-service-card:hover .imi-service-label,
.imi-service-card:focus .imi-service-label,
.imi-service-card:focus-visible .imi-service-label,
.imi-service-card:active .imi-service-label {
  color: var(--imi-blue-light);
}

.imi-services-note {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto clamp(42px, 5vw, 66px);
  padding: 18px 22px;
  color: var(--imi-muted);
  background: rgba(255, 255, 255, .56);
  border-left: 4px solid var(--imi-blue);
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}

.imi-services-note strong {
  flex: 0 0 auto;
  color: var(--imi-navy);
}

.imi-services-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 3.5vw, 44px) clamp(24px, 6vw, 88px);
  color: #fff;
  background: var(--imi-navy);
}

.imi-services-cta > div {
  min-width: 0;
}

.imi-services-cta h2 {
  max-width: 850px;
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(25px, 2.25vw, 36px);
  letter-spacing: -.015em;
  line-height: 1.16;
}

.imi-no-wrap {
  white-space: nowrap;
}

.imi-services-cta p:last-child {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.5;
}

.imi-services-cta a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 15px 25px;
  color: #fff !important;
  background: var(--imi-blue);
  border: 1px solid var(--imi-blue-light);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}

.imi-services-cta a:hover {
  color: #fff !important;
  background: #4866e4;
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .imi-services-intro,
  .imi-services-grid {
    grid-template-columns: 1fr;
  }
  .imi-services-intro { gap: 18px; }
  .imi-service-card { min-height: 0; }
  .imi-services-note,
  .imi-services-cta { display: block; }
  .imi-services-note strong { display: block; margin-bottom: 4px; }
  .imi-services-cta a { width: 100%; margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .imi-service-card,
  .imi-services-cta a {
    transition: none;
  }
}

/* IMI Staff page — all rules are scoped to this page only */
.imi-staff-page {
  --imi-navy: #202944;
  --imi-navy-soft: #303b60;
  --imi-blue: #5875f1;
  --imi-blue-light: #8297f7;
  --imi-ink: #243451;
  --imi-muted: #5d6983;
  --imi-pale: #f1f5fb;
  --imi-white: #ffffff;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--imi-pale);
  color: var(--imi-ink);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 22px 55px rgba(27, 39, 70, 0.12);
}

.imi-staff-page,
.imi-staff-page * {
  box-sizing: border-box;
}

.imi-staff-hero {
  position: relative;
  padding: clamp(36px, 4.2vw, 56px) clamp(26px, 7vw, 96px);
  overflow: hidden;
  background: linear-gradient(120deg, #3d4a78 0%, var(--imi-navy) 68%);
  text-align: center;
}

.imi-staff-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 7vw, 96px);
  width: 160px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--imi-blue-light);
}

.imi-staff-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -145px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.imi-staff-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--imi-white);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.imi-staff-content {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 3vw, 40px) clamp(28px, 5vw, 68px) clamp(28px, 5vw, 68px);
}

.imi-staff-profile {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.imi-staff-profile p,
.imi-staff-surveyors p,
.imi-staff-details p,
.imi-staff-quote p {
  margin: 0;
}

.imi-staff-founder {
  display: block;
  padding: clamp(30px, 5vw, 62px);
  background: linear-gradient(135deg, var(--imi-navy-soft), var(--imi-navy));
  color: var(--imi-white);
}

.imi-staff-founder::after,
.imi-staff-director::after {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -150px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.imi-staff-photo {
  position: relative;
  z-index: 1;
  float: left;
  width: clamp(105px, 11vw, 145px);
  margin: 0 clamp(20px, 3vw, 36px) 14px 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 40px rgba(7, 14, 35, 0.28);
}

.imi-staff-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
  background: var(--imi-white);
}

.imi-staff-founder-flow {
  position: relative;
  z-index: 1;
}

.imi-staff-founder-flow::after {
  content: "";
  display: table;
  clear: both;
}

.imi-staff-founder-flow p {
  margin: 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.72;
}

.imi-staff-profile-text {
  position: relative;
  z-index: 1;
}

.imi-staff-profile-text p,
.imi-staff-surveyors p,
.imi-staff-details p {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.72;
}

.imi-staff-director {
  padding: clamp(32px, 5vw, 62px);
  background: linear-gradient(135deg, var(--imi-navy-soft), var(--imi-navy));
  color: var(--imi-white);
}

.imi-staff-director::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 6px;
  background: var(--imi-blue-light);
}

.imi-staff-surveyors {
  position: relative;
  padding: clamp(30px, 4.5vw, 54px) clamp(30px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(88, 117, 241, 0.18);
  border-left: 7px solid var(--imi-blue);
  border-radius: 0 20px 20px 0;
  background: var(--imi-white);
  box-shadow: 0 15px 35px rgba(32, 41, 68, 0.08);
}

.imi-staff-surveyors p {
  color: var(--imi-ink);
  font-weight: 700;
}

.imi-staff-details {
  position: relative;
  padding: clamp(30px, 4.5vw, 54px) clamp(30px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(88, 117, 241, 0.18);
  border-left: 7px solid var(--imi-blue);
  border-radius: 0 20px 20px 0;
  background: var(--imi-white);
  box-shadow: 0 15px 35px rgba(32, 41, 68, 0.08);
}

.imi-staff-details p {
  color: var(--imi-ink);
  font-weight: 700;
}

.imi-staff-details p + p {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(36, 52, 81, 0.13);
}

.imi-staff-quote {
  position: relative;
  margin: 4px 0 0;
  padding: clamp(42px, 6vw, 74px) clamp(34px, 8vw, 110px);
  overflow: hidden;
  border: 0;
  border-top: 5px solid #5875f1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 117, 241, 0.28), transparent 55%),
    linear-gradient(120deg, #2c3b70 0%, #19233f 58%, #11192e 100%);
  color: var(--imi-white);
  text-align: center;
  box-shadow: 0 14px 32px rgba(10, 20, 45, 0.22);
}

.imi-staff-quote::before,
.imi-staff-quote::after {
  color: #88a2ff;
  opacity: 0.65;
}

.imi-staff-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 94px;
  line-height: 1;
}

.imi-staff-quote p {
  position: relative;
  z-index: 1;
  color: var(--imi-white) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.3vw, 32px);
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .imi-staff-page { border-radius: 16px; }
  .imi-staff-content { gap: 20px; }
  .imi-staff-photo { width: 105px; margin-right: 18px; margin-bottom: 10px; }
  .imi-staff-profile-text p,
  .imi-staff-surveyors p,
  .imi-staff-details p { line-height: 1.62; }
}

@media (prefers-reduced-motion: no-preference) {
  .imi-staff-profile,
  .imi-staff-surveyors,
  .imi-staff-quote {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .imi-staff-profile:hover,
  .imi-staff-surveyors:hover,
  .imi-staff-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(26, 38, 70, 0.14);
  }
}

/* IMI Contact page — all rules are scoped to this page only */
.imi-contact-page {
  --imi-navy: #202944;
  --imi-navy-soft: #303b60;
  --imi-blue: #5875f1;
  --imi-blue-light: #8297f7;
  --imi-pale: #f1f5fb;
  --imi-white: #ffffff;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: var(--imi-pale);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 22px 55px rgba(27, 39, 70, 0.12);
}

.imi-contact-page,
.imi-contact-page * {
  box-sizing: border-box;
}

.imi-contact-intro {
  position: relative;
  padding: clamp(38px, 4.5vw, 58px) 22px;
  overflow: hidden;
  background: linear-gradient(120deg, #3d4a78 0%, var(--imi-navy) 68%);
  color: var(--imi-white);
  text-align: center;
}

.imi-contact-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 160px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--imi-blue-light);
  transform: translateX(-50%);
}

.imi-contact-intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -155px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.imi-contact-intro p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--imi-white) !important;
  width: 100%;
  max-width: none !important;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.imi-contact-intro p + p {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .imi-contact-intro p {
    white-space: nowrap;
  }
}

.imi-contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: stretch;
  margin: clamp(28px, 5vw, 68px);
  padding: clamp(18px, 2.4vw, 30px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--imi-navy-soft), var(--imi-navy));
  box-shadow: 0 18px 40px rgba(25, 37, 68, 0.16);
}

.imi-contact-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: var(--imi-blue-light);
  transform: translateX(-50%);
}

.imi-contact-photo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--imi-navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.imi-contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 28, 52, 0.26), transparent 45%);
  pointer-events: none;
}

.imi-contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.imi-contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 3vw, 42px);
  padding-right: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: var(--imi-white);
  box-shadow: none;
}

.imi-contact-card::before { content: none; }

.imi-contact-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -155px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.imi-contact-card h1,
.imi-contact-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--imi-white) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(29px, 2.7vw, 39px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.015em;
}

.imi-contact-address {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(26px, 4vw, 44px);
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.55;
}

.imi-contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.imi-contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--imi-white) !important;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.imi-contact-label {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--imi-blue);
  color: var(--imi-white);
  font-size: 17px;
  font-weight: 800;
  font-style: normal;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.imi-contact-row:hover,
.imi-contact-row:focus-visible {
  border-color: rgba(130, 151, 247, 0.8);
  background: rgba(88, 117, 241, 0.22);
  color: var(--imi-white) !important;
  transform: translateX(5px);
}

.imi-contact-page .imi-contact-card a.imi-contact-row,
.imi-contact-page .imi-contact-card a.imi-contact-row:link,
.imi-contact-page .imi-contact-card a.imi-contact-row:visited,
.imi-contact-page .imi-contact-card a.imi-contact-row:hover,
.imi-contact-page .imi-contact-card a.imi-contact-row:active,
.imi-contact-page .imi-contact-card a.imi-contact-row:focus,
.imi-contact-page .imi-contact-card a.imi-contact-row span,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a:link,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a:visited,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a:hover,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a:active,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a:focus {
  color: var(--imi-white) !important;
  -webkit-text-fill-color: var(--imi-white) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail,
.imi-contact-page .imi-contact-card a.imi-contact-row joomla-hidden-mail a {
  font: inherit;
  white-space: nowrap;
}

.imi-contact-row:focus-visible {
  outline: 3px solid rgba(130, 151, 247, 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .imi-contact-photo:hover img {
    transform: scale(1.035);
  }
}

@media (max-width: 860px) {
  .imi-contact-layout { grid-template-columns: 1fr; }
  .imi-contact-photo { min-height: 320px; }
  .imi-contact-card { padding-right: clamp(28px, 3vw, 42px); }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .imi-contact-card { padding: 28px; padding-right: 0; }
  .imi-contact-row { font-size: 15px; }
}

@media (max-width: 520px) {
  .imi-contact-page { border-radius: 16px; }
  .imi-contact-photo { min-height: 245px; }
  .imi-contact-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    padding: 11px 12px;
  }
  .imi-contact-label { width: 38px; height: 38px; }
}

/* ---------- BACK TO TOP — HOME & STAFF ---------- */
html {
  scroll-behavior: smooth;
}

.imi-back-to-top,
.imi-back-to-top:link,
.imi-back-to-top:visited {
  position: fixed;
  right: clamp(14px, 1.5vw, 24px);
  bottom: 22px;
  z-index: 1200;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, #7188f5 0%, #5875f1 58%, #4866e4 100%);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  text-shadow: 0 1px 3px rgba(14, 26, 59, 0.35);
  box-shadow: 0 10px 26px rgba(24, 39, 86, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.imi-back-to-top:hover,
.imi-back-to-top:focus-visible {
  background: linear-gradient(145deg, #8297f7 0%, #627cf2 58%, #4866e4 100%);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(24, 39, 86, 0.42);
}

.imi-back-to-top:focus-visible {
  outline: 3px solid rgba(130, 151, 247, 0.45);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .imi-back-to-top,
  .imi-back-to-top:link,
  .imi-back-to-top:visited {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .imi-back-to-top { transition: none; }
}

.imi-stat-counter .imi-stat-default,
.imi-stat-counter .imi-stat-hover,
.imi-stat-since .imi-stat-default,
.imi-stat-since .imi-stat-hover,
.imi-stat-global .imi-stat-default,
.imi-stat-global .imi-stat-hover {
    display: block;
}

.imi-stat-counter .imi-stat-hover,
.imi-stat-since .imi-stat-hover,
.imi-stat-global .imi-stat-hover {
    display: none;
    color: #344154;
    font-weight: 600;
}

.imi-stat-counter:hover .imi-stat-default,
.imi-stat-counter:focus-within .imi-stat-default,
.imi-stat-since:hover .imi-stat-default,
.imi-stat-since:focus-within .imi-stat-default,
.imi-stat-global:hover .imi-stat-default,
.imi-stat-global:focus-within .imi-stat-default {
    display: none;
}

.imi-stat-counter:hover .imi-stat-hover,
.imi-stat-counter:focus-within .imi-stat-hover,
.imi-stat-since:hover .imi-stat-hover,
.imi-stat-since:focus-within .imi-stat-hover,
.imi-stat-global:hover .imi-stat-hover,
.imi-stat-global:focus-within .imi-stat-hover {
    display: block;
}

.imi-stat-global {
    isolation: isolate;
}

.imi-stat-global strong,
.imi-stat-global span {
    position: relative;
    z-index: 2;
}

.imi-stat-global::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 115px;
    height: 115px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(40, 89, 237, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 20px rgba(40, 89, 237, 0.09),
        0 0 0 40px rgba(40, 89, 237, 0.045);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
}

.imi-stat-global:hover::after,
.imi-stat-global:focus-within::after {
    animation: imiGlobalPulse 1.8s ease-out infinite;
}

@keyframes imiGlobalPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
    35% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .imi-stat-global:hover::after,
    .imi-stat-global:focus-within::after {
        animation: none;
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ---------- FOOTER SOCIAL ICONS ---------- */
.container-footer .grid-child {
    display: flex;
    justify-content: center;
}

.imi-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 11px;
    text-align: center;
}

.imi-footer-copy {
    margin: 0 !important;
}

.imi-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.imi-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #dce5ff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(7, 15, 35, 0.18);
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.imi-social-mark {
    display: block;
    color: currentColor;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.imi-social-linkedin .imi-social-mark {
    font-size: 17px;
    letter-spacing: -1px;
    transform: translateY(1px);
}

.imi-social-facebook .imi-social-mark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 900;
    transform: translateY(2px);
}

.imi-social-linkedin:hover,
.imi-social-linkedin:focus-visible {
    color: #fff !important;
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 7px 16px rgba(10, 102, 194, 0.35);
    transform: translateY(-3px);
}

.imi-social-facebook:hover,
.imi-social-facebook:focus-visible {
    color: #fff !important;
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 7px 16px rgba(24, 119, 242, 0.35);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .imi-social-link { transition: none; }
    .imi-social-link:hover,
    .imi-social-link:focus-visible { transform: none; }
}

/* IMI Contact — mobile overflow fix */
@media (max-width: 520px) {
  .imi-contact-card { padding: 26px 16px 32px; }
  .imi-contact-list { gap: 10px; }
  .imi-contact-row {
    width: 100%;
    min-width: 0;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
    padding: 10px;
    box-sizing: border-box;
    font-size: clamp(13px, 3.75vw, 15px);
  }
  .imi-contact-label { width: 34px; height: 34px; font-size: 15px; }
  .imi-contact-row > span:not(.imi-contact-label),
  .imi-contact-row joomla-hidden-mail,
  .imi-contact-row joomla-hidden-mail a {
    display: block;
    min-width: 0;
    max-width: 100%;
    font: inherit;
    white-space: nowrap;
  }
  .imi-contact-row[href^="mailto:"] {
    font-size: clamp(12px, 3.45vw, 14px);
    letter-spacing: -0.015em;
  }
  .cf-turnstile {
    width: 300px;
    max-width: none;
    margin-right: -36px;
    margin-bottom: -8px;
    transform: scale(0.88);
    transform-origin: left top;
  }
  .cf-turnstile iframe { max-width: none !important; }
}

@media (max-width: 370px) {
  .imi-contact-card { padding-inline: 12px; }
  .imi-contact-row { font-size: 13px; }
  .imi-contact-row[href^="mailto:"] { font-size: 12px; }
  .cf-turnstile {
    margin-right: -48px;
    margin-bottom: -11px;
    transform: scale(0.84);
  }
}

/* IMI Home hero — mobile badge overflow fix */
@media (max-width: 767px) {
  .imi-home .imi-photo-tag {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-right: 0;
    padding: 7px 10px;
    box-sizing: border-box;
    font-size: clamp(9px, 2.7vw, 11px);
    line-height: 1.4 !important;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 370px) {
  .imi-home .imi-photo-tag {
    width: 100%;
    font-size: 9px;
    letter-spacing: 0.06em;
  }
}

/* Accessibility: stronger button contrast */
.imi-photo-hero-content .imi-photo-button { background-color: #405bc8; }
.imi-final-cta .imi-button { background-color: #4f6bdf; }

/* Accessibility: larger touch area for hero slider dots */
.imi-home .imi-hero-dots { gap: 0; }
.imi-home .imi-hero-dot {
    box-sizing: content-box;
    border: 8px solid transparent;
    background-clip: content-box;
}
.imi-home .imi-hero-dot.is-active { background-clip: content-box; }

/* ==========================================================
   IMI SERVICES V2 — scoped only to the Services article
   ========================================================== */
.imi-services-v2 {
  --imi-v2-navy: #202944;
  --imi-v2-navy-soft: #303b60;
  --imi-v2-blue: #5875f1;
  --imi-v2-blue-light: #8297f7;
  --imi-v2-ink: #243451;
  --imi-v2-muted: #566580;
  --imi-v2-surface: #f1f5fb;
  --imi-v2-border: #d8e0ee;
  width: 100%;
  overflow: hidden;
  color: var(--imi-v2-ink);
  background: var(--imi-v2-surface);
  border-radius: 18px;
}

.imi-services-v2 *,
.imi-services-v2 *::before,
.imi-services-v2 *::after {
  box-sizing: border-box;
}

.imi-v2-hero {
  position: relative;
  padding: clamp(48px, 6vw, 78px) clamp(24px, 6vw, 78px);
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 117, 241, .32), transparent 32%),
    linear-gradient(125deg, #303b60 0%, #202944 58%, #182035 100%);
}

.imi-v2-hero::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
}

.imi-v2-eyebrow,
.imi-v2-label {
  margin: 0 0 14px;
  color: var(--imi-v2-blue-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
}

.imi-v2-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.imi-v2-lead {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.imi-v2-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 58px) clamp(24px, 5vw, 62px) 28px;
}

.imi-v2-intro p {
  margin: 0;
  color: var(--imi-v2-muted);
  font-size: 17px;
  line-height: 1.72;
}

/* 1) Idio skouro xrwma kai entasi gia tis dyo prwtes paragrafous */
.imi-v2-intro p:first-child,
.imi-v2-intro p:nth-child(2) {
  color: var(--imi-v2-ink);
  font-weight: 700;
}

/* 2) H triti paragrafo pianei olo to platos (kai tis dyo stiles) apo katw */
.imi-v2-intro p:nth-child(3) {
  grid-column: 1 / -1;
}

.imi-v2-section-heading {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px clamp(24px, 5vw, 62px) 22px;
  text-align: center;
}

.imi-v2-section-heading h2 {
  margin: 0 0 12px;
  color: var(--imi-v2-navy);
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.imi-v2-section-heading p:last-child {
  max-width: 780px;
  margin: 0 auto;
  color: var(--imi-v2-muted);
  font-size: 17px;
  line-height: 1.65;
}

.imi-v2-featured {
  max-width: 1120px;
  margin: 10px clamp(24px, 5vw, 62px) 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--imi-v2-navy-soft), var(--imi-v2-navy));
  border: 1px solid #526797;
  border-radius: 17px;
  box-shadow: 0 18px 40px rgba(25, 35, 62, .2);
}

.imi-v2-featured-main {
  padding: clamp(30px, 4vw, 42px);
}

.imi-v2-featured h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
}

.imi-v2-featured-main > p:not(.imi-v2-label) {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.7;
}

.imi-v2-featured-main > p:not(.imi-v2-label) + p:not(.imi-v2-label) {
  margin-top: 18px;
}

.imi-v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.imi-v2-feature-item {
  padding: 26px clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.imi-v2-feature-item:nth-child(even) {
  border-right: 0;
}

.imi-v2-feature-item h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.imi-v2-feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15.5px;
  line-height: 1.62;
}

.imi-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(24px, 5vw, 62px) 36px;
}

.imi-v2-card {
  position: relative;
  min-height: 340px;
  padding: clamp(28px, 3vw, 36px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--imi-v2-border);
  border-radius: 15px;
  box-shadow: 0 13px 32px rgba(34, 51, 82, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.imi-v2-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 5px;
  background: var(--imi-v2-blue);
  content: "";
  transition: width .25s ease;
}

.imi-v2-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(25, 35, 62, .16);
}

.imi-v2-card:hover::before {
  width: 100%;
}

.imi-v2-card .imi-v2-label {
  margin-bottom: 17px;
  color: var(--imi-v2-blue);
}

.imi-v2-card h2 {
  margin: 0 0 15px;
  color: var(--imi-v2-navy);
  font-size: clamp(25px, 2.4vw, 31px);
  font-weight: 800;
  line-height: 1.18;
}

.imi-v2-card > p:not(.imi-v2-label) {
  margin: 0 0 17px;
  color: var(--imi-v2-muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.imi-v2-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.imi-v2-card li {
  position: relative;
  margin: 9px 0;
  padding-left: 23px;
  color: #42516d;
  font-size: 15.5px;
  line-height: 1.5;
}

.imi-v2-card li::before {
  position: absolute;
  top: .05em;
  left: 0;
  color: var(--imi-v2-blue);
  font-weight: 900;
  content: "✓";
}

.imi-v2-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.imi-v2-process {
  padding: clamp(42px, 5vw, 56px) clamp(24px, 5vw, 62px);
  background: #e8eef8;
}

.imi-v2-process .imi-v2-section-heading {
  padding: 0;
}

.imi-v2-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 25px auto 0;
}

.imi-v2-step {
  padding: 25px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--imi-v2-border);
  border-radius: 13px;
}

.imi-v2-step-number {
  display: inline-grid;
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
  place-items: center;
  color: #fff;
  background: var(--imi-v2-blue);
  border-radius: 50%;
  font-weight: 800;
}

.imi-v2-step h3 {
  margin: 0 0 9px;
  color: var(--imi-v2-navy);
  font-size: 21px;
  font-weight: 800;
}

.imi-v2-step p {
  margin: 0;
  color: var(--imi-v2-muted);
  font-size: 15px;
  line-height: 1.58;
}

.imi-v2-worldwide {
  margin: 0;
  padding: 22px clamp(24px, 5vw, 62px);
  color: var(--imi-v2-muted);
  background: #fff;
  border-left: 5px solid var(--imi-v2-blue);
  font-size: 16px;
  line-height: 1.65;
}

.imi-v2-worldwide strong {
  color: var(--imi-v2-navy);
}

.imi-v2-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(32px, 4vw, 44px) clamp(24px, 6vw, 78px);
  color: #fff;
  background: var(--imi-v2-navy);
}

.imi-v2-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.18;
}

.imi-v2-cta p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.55;
}

.imi-v2-cta a {
  display: inline-flex;
  min-width: 190px;
  padding: 15px 25px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: var(--imi-v2-blue);
  border: 1px solid var(--imi-v2-blue-light);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}

.imi-v2-cta a:hover {
  color: #fff !important;
  background: #4866e4;
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .imi-v2-intro,
  .imi-v2-feature-grid,
  .imi-v2-grid,
  .imi-v2-process-grid,
  .imi-v2-cta {
    grid-template-columns: 1fr;
  }
  .imi-v2-intro { gap: 18px; }
  .imi-v2-feature-item { border-right: 0; }
  .imi-v2-card,
  .imi-v2-card-wide { min-height: 0; }
  .imi-v2-card-wide { grid-column: auto; }
  .imi-v2-cta a { width: 100%; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .imi-v2-card,
  .imi-v2-card::before,
  .imi-v2-cta a {
    transition: none;
  }
}
/* Core Services Compact Teaser */
.imi-core-teaser {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding-top: 10px;
}
.imi-core-teaser-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}
.imi-core-teaser-tags span {
    display: inline-block;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid #d6dfeb;
    border-radius: 20px;
    color: #243451;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(27, 45, 81, 0.05);
}
.imi-core-teaser .imi-button {
    font-size: 16px;
    padding: 14px 28px;
}
.imi-family p {
    font-weight: 700 !important;
    color: #1f2e4d !important;
	/* --- Services v2 Enhancements: Featured Action & Process SOP --- */

/* Action Button inside Bunker Featured Block */
.imi-v2-featured-action {
  padding: 24px clamp(24px, 4vw, 42px);
  background: rgba(8, 18, 39, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
}

.imi-v2-featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  color: #ffffff !important;
  background: var(--imi-v2-blue);
  border: 1px solid var(--imi-v2-blue-light);
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.imi-v2-featured-button:hover {
  background: #4866e4;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Process Steps & Timeline Enhancements */
.imi-v2-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--imi-v2-blue);
  box-shadow: 0 8px 24px rgba(34, 51, 82, 0.05);
}

.imi-v2-step-number {
  box-shadow: 0 0 0 5px rgba(88, 117, 241, 0.18);
  font-size: 16px;
  letter-spacing: 0;
}

.imi-v2-step-output {
  margin-top: 18px !important;
  padding-top: 12px;
  border-top: 1px dashed rgba(86, 101, 128, 0.3);
  font-size: 13.5px !important;
  color: var(--imi-v2-navy) !important;
  line-height: 1.45 !important;
}

.imi-v2-step-output strong {
  color: var(--imi-v2-blue);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

@media (min-width: 781px) {
  .imi-v2-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 24px;
    right: -13px;
    font-size: 20px;
    font-weight: 800;
    color: var(--imi-v2-blue);
    z-index: 2;
  }
}

@media (max-width: 780px) {
  .imi-v2-featured-button {
    width: 100%;
    text-align: center;
  }
}
}
/* Centered CTA inside Bunker Featured */
.imi-v2-featured-action {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 30px 20px !important;
  background: rgba(8, 18, 39, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  text-align: center !important;
}

.imi-v2-featured-action .imi-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 14px 30px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
/* Center the button inside the Bunker Featured box */
.imi-v2-featured .imi-v2-featured-action {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding: 32px 20px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.imi-v2-featured .imi-v2-featured-action a.imi-button,
.imi-v2-featured .imi-v2-featured-action a.imi-v2-featured-button {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 auto !important;
  float: none !important;
  text-align: center !important;
}
/* Force reduce gap between header, logo and menu */
header.container-header, 
.container-header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-brand, 
.site-logo, 
.header-site-logo {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block !important;
}

/* Αν η εικόνα έχει δικό της κενό από κάτω */
.header-site-logo img, 
.navbar-brand img {
    margin-bottom: 0 !important;
}

.container-nav, 
.navbar, 
ul.mod-menu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
