/* =========================================================
   Excellent IT — main stylesheet
   Layout conventions follow the IBE IT Solutions project:
   container-xxl (max 1400px, px-xl-5), 76px header (64px on
   phones), 56px between sections (44px on phones), 16px gutter.
   ========================================================= */

:root {
    --red: #e10a12;
    --red-2: #ff2a2f;
    --red-dark: #9b0a0e;
    --red-deep: #5c0508;
    --red-soft: #fff1f1;
    --gradient: linear-gradient(135deg, #ff2a2f 0%, #e10a12 45%, #a3080c 100%);
    --gradient-dark: linear-gradient(120deg, #b80b10 0%, #7a070b 55%, #3a0406 100%);
    --ink: #111318;
    --ink-2: #2b2f38;
    --muted: #5a606c;
    --line: #e6e8ec;
    --soft: #f5f6f8;
    --navy: #151922;
    --header-height: 76px;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(17, 19, 24, 0.07);
    --shadow-hover: 0 16px 40px rgba(17, 19, 24, 0.13);
    --font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container-xxl {
    max-width: 1400px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main {
    padding-top: var(--header-height);
}

.home-section {
    margin-top: 96px;
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.home-section-tight {
    margin-top: 24px;
}

.main > :last-child {
    margin-bottom: 96px;
}

/* ---------- Shared bits ---------- */

.text-red {
    color: var(--red);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 8px;
    background: var(--red);
    transform: skewX(-30deg);
    border-radius: 1px;
}

.eyebrow.plain::before {
    display: none;
}

.eyebrow.light {
    color: #fff;
}

.eyebrow.light::before {
    background: #fff;
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 12px 0 0;
}

.btn-red,
.btn-outline-red,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-red {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 22px rgba(225, 10, 18, 0.28);
}

.btn-red:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 10, 18, 0.4);
}

.btn-outline-red {
    border: 1.5px solid var(--red);
    color: var(--ink);
    background: #fff;
}

.btn-outline-red:hover {
    background: var(--red);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--red);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    color: var(--red-dark);
    transform: translateY(-2px);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--red);
}

.link-more i {
    transition: transform 0.2s;
}

.link-more:hover i {
    transform: translateX(4px);
}

/* Small red triangle in a card's bottom-right corner */
.corner-accent {
    position: relative;
    overflow: hidden;
}

.corner-accent::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, transparent 50%, var(--red) 50%);
    pointer-events: none;
}

/* ---------- Brand ---------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    width: 42px;
    height: 35px;
    flex: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-text small {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-top: 4px;
    white-space: nowrap;
}

.brand-light,
.brand-light:hover {
    color: #fff;
}

/* ---------- Header ---------- */

#header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.25s;
}

#header.is-scrolled {
    box-shadow: 0 4px 20px rgba(17, 19, 24, 0.08);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav {
    margin: 0 auto;
    gap: 34px;
    align-items: center;
}

.nav-link-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 0;
}

.nav-link-item i {
    font-size: 11px;
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--red);
}

.nav-link-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
}

/* Open dropdowns on hover for mouse users; click still works for touch */
@media (hover: hover) and (min-width: 992px) {
    .header-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.header-nav .dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    padding: 8px;
    margin-top: 0 !important;
    top: 100%;
}

.header-nav .dropdown::after {
    /* hover bridge between link and menu */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.header-nav .dropdown-item {
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 14px;
}

.header-nav .dropdown-item:hover {
    background: var(--red-soft);
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.header-phone i {
    color: var(--red);
}

.header-phone:hover {
    color: var(--red);
}

.header-actions .btn-red {
    padding: 0.7rem 1.3rem;
}

.btn-menu {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--red-soft);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-menu span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.btn-menu span:nth-child(2) {
    background: var(--red);
}

/* Mobile menu (offcanvas) */
.mobile-menu {
    width: min(360px, 88vw) !important;
    border-left: none !important;
}

.mobile-menu .offcanvas-header {
    height: var(--header-height);
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 12px 20px 24px;
}

.mobile-nav > a,
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 4px;
    border: none;
    border-bottom: 1px solid var(--line);
    background: none;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.mobile-nav > a.active {
    color: var(--red);
}

.mobile-nav-toggle i {
    font-size: 13px;
    transition: transform 0.2s;
}

.mobile-nav-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

.mobile-sub {
    border-bottom: 1px solid var(--line);
}

.mobile-sub a {
    display: block;
    padding: 11px 16px;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 500;
}

.mobile-sub a:hover {
    color: var(--red);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.mobile-contact i {
    color: var(--red);
    width: 16px;
}

/* =========================================================
   HOME
   ========================================================= */

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background: linear-gradient(90deg, #f7f8fa 0%, #f7f8fa 38%, #eef0f3 100%);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 58%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* soft fade so the image blends into the copy side */
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 28%);
    z-index: 1;
}

/* red diagonal on the right edge */
.hero-media::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background: var(--gradient);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: 72px 0;
}

.hero-copy {
    max-width: 560px;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-title .underline {
    position: relative;
    display: inline-block;
    color: var(--red);
}

.hero-title .underline::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 0;
    bottom: -6px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C80 2 200 1 298 6' stroke='%23e10a12' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero-text {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.65;
    margin: 28px 0 0;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
}

/* ---------- Feature strip ---------- */

.feature-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 34px 16px;
    position: relative;
}

.feature-item + .feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: var(--line);
}

.feature-item i {
    font-size: 30px;
    color: var(--red);
    width: 36px;
    text-align: center;
}

.feature-item span {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

/* ---------- Two main offer cards ---------- */

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.offer-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.offer-card-light {
    background: linear-gradient(120deg, #ffffff 0%, #f1f2f5 100%);
}

.offer-card-dark {
    background: var(--gradient-dark);
    color: #fff;
}

.offer-body {
    position: relative;
    z-index: 2;
    padding: 44px 0 44px 44px;
}

.offer-body .eyebrow {
    color: var(--red);
    font-size: 11.5px;
}

.offer-card-dark .eyebrow {
    color: #fff;
}

.offer-card-dark .eyebrow::before {
    background: #fff;
}

.offer-body h3 {
    font-weight: 800;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.offer-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0 0 20px;
}

.offer-card-dark p {
    color: rgba(255, 255, 255, 0.88);
}

.offer-card-dark .link-more {
    color: #fff;
}

.offer-media {
    align-self: stretch;
    position: relative;
}

.offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card-dark .offer-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #8d080c 0%, rgba(141, 8, 12, 0) 45%);
    z-index: 1;
}

.offer-card-light .offer-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f8f8fa 0%, rgba(248, 248, 250, 0) 40%);
    z-index: 1;
}

/* ---------- Industries ---------- */

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

.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.industry-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.industry-tile i {
    font-size: 26px;
}

.industry-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ---------- Why choose us ---------- */

.why {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    background: var(--soft);
}

.why-media {
    position: relative;
    min-height: 500px;
}

.why-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-body {
    padding: 72px 64px;
    max-width: 720px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 36px;
}

.why-item {
    display: flex;
    gap: 16px;
    padding: 26px 28px 26px 0;
    border-bottom: 1px solid var(--line);
}

.why-item:nth-child(even) {
    padding-left: 28px;
    padding-right: 0;
    border-left: 1px solid var(--line);
}

.why-item:nth-last-child(-n + 2) {
    border-bottom: none;
}

.why-item i {
    font-size: 28px;
    color: var(--red);
    width: 34px;
    flex: none;
    text-align: center;
    margin-top: 2px;
}

.why-item h4 {
    font-size: 15.5px;
    font-weight: 800;
    margin: 0 0 4px;
}

.why-item p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 40px 48px;
    border-radius: var(--radius);
    background: var(--gradient);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(225, 10, 18, 0.25);
}

.cta-band::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -40%;
    width: 360px;
    height: 180%;
    background: rgba(255, 255, 255, 0.07);
    transform: skewX(-24deg);
}

.cta-icon {
    font-size: 46px;
    padding-right: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    flex: none;
}

.cta-copy {
    flex: 1;
    position: relative;
}

.cta-copy h2 {
    font-weight: 800;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.cta-copy p {
    margin: 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-white {
    position: relative;
    padding: 0.9rem 1.8rem;
}

/* =========================================================
   ABOUT
   ========================================================= */

.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ddd;
}

.page-hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 52%;
    background: var(--gradient-dark);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    z-index: 1;
}

/* thin bright red stripe along the diagonal */
.page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 53.5%;
    background: var(--red);
    clip-path: polygon(97.2% 0, 100% 0, 82.5% 100%, 79.7% 100%);
    z-index: 1;
}

.page-hero .container-xxl {
    position: relative;
    z-index: 2;
}

.page-hero-copy {
    max-width: 440px;
    color: #fff;
    padding: 64px 0;
}

.page-hero-copy h1 {
    font-weight: 800;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.page-hero-copy h1 span {
    color: var(--red-2);
}

.page-hero-copy p {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

/* Company overview */
.overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.overview-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.overview-media img {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    object-fit: cover;
}

.overview-body p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.7;
    margin: 18px 0 0;
}

/* Mission / vision */
.mv-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(120deg, #f6f7f9 0%, #eceef1 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mv-item {
    display: flex;
    gap: 24px;
    padding: 44px 56px;
}

.mv-item + .mv-item {
    border-left: 1px solid #d9dce1;
    margin: 32px 0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.mv-item i {
    font-size: 40px;
    color: var(--red);
    flex: none;
    width: 48px;
    text-align: center;
}

.mv-item h3 {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.mv-item p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0;
}

/* Core values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}

.value-item {
    padding: 4px 28px;
}

.value-item:first-child {
    padding-left: 24px;
}

.value-item + .value-item {
    border-left: 1px solid var(--line);
}

.value-item i {
    font-size: 32px;
    color: var(--red);
    margin-bottom: 14px;
}

.value-item h4 {
    font-weight: 800;
    font-size: 17px;
    margin: 0 0 6px;
}

.value-item p {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
}

/* Business focus */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.focus-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.focus-card::after {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, transparent 50%, #f6c3c5 50%);
}

.offer-card,
.focus-card,
.offer-card:hover,
.focus-card:hover {
    color: var(--ink);
}

.offer-card-dark,
.offer-card-dark:hover {
    color: #fff;
}

.focus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.focus-media img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.focus-body {
    padding: 32px 32px 32px 30px;
}

.focus-body > i {
    font-size: 28px;
    color: var(--red);
    margin-bottom: 10px;
}

.focus-body h3 {
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 6px;
}

.focus-body p {
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.2s;
}

.focus-card:hover .circle-btn {
    transform: translateX(4px);
    color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--navy);
    color: #b9bdc8;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 1.2fr 1.4fr;
}

.footer-grid > div {
    padding: 0 28px;
}

.footer-grid > div:first-child {
    padding-left: 0;
}

.footer-grid > div:last-child {
    padding-right: 0;
}

.footer-grid > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text strong {
    font-size: 24px;
}

.footer-brand p {
    margin: 18px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li + li {
    margin-top: 6px;
}

.footer-col a,
.footer-col span {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: #b9bdc8;
    font-size: 13.5px;
    line-height: 1.45;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .contact-list i {
    color: #fff;
    width: 16px;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #fff;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: #b9bdc8;
}

.footer-legal a + a {
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal a:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {
    .header-nav {
        gap: 24px;
    }

    .header-phone {
        display: none;
    }

    .offer-card {
        grid-template-columns: 1fr;
    }

    .offer-media {
        height: 180px;
        order: -1;
    }

    .offer-card-light .offer-media::before,
    .offer-card-dark .offer-media::before {
        background: none;
    }

    .offer-body {
        padding: 26px 28px 30px;
    }

    .industries {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-body {
        padding: 56px 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
        column-gap: 28px;
    }

    .footer-grid > div,
    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        padding: 0;
    }

    .footer-grid > div + div {
        border-left: none;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .focus-card {
        grid-template-columns: 1fr;
    }

    .focus-media img {
        height: 180px;
        min-height: 0;
    }

    .focus-body {
        padding: 22px 24px 26px;
    }
}

@media (max-width: 991.98px) {
    /* Hero: image on top, copy below */
    .hero {
        background: #f7f8fa;
    }

    .hero-media {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .hero-media::before {
        background: linear-gradient(0deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 35%);
    }

    .hero-media::after {
        width: 80px;
    }

    .hero-inner {
        min-height: 0;
        padding: 12px 0 56px;
    }

    .hero-copy {
        max-width: 640px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        justify-content: flex-start;
        padding: 20px 18px;
    }

    .feature-item:nth-child(3)::before {
        display: none;
    }

    .feature-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        grid-template-columns: 1.1fr 1fr;
    }

    .offer-media {
        height: auto;
        order: 0;
    }

    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why {
        grid-template-columns: 1fr;
    }

    .why-media {
        min-height: 300px;
    }

    .why-body {
        max-width: none;
    }

    .cta-band {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .cta-copy {
        flex-basis: calc(100% - 120px);
    }

    .page-hero::before {
        width: 70%;
    }

    .page-hero::after {
        width: 72%;
    }

    .page-hero-media {
        width: 60%;
    }

    .overview {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mv-card {
        grid-template-columns: 1fr;
    }

    .mv-item {
        padding: 28px 32px;
    }

    .mv-item + .mv-item {
        border-left: none;
        border-top: 1px solid #d9dce1;
        margin: 0 32px;
        padding: 26px 0 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .value-item:nth-child(3) {
        border-left: none;
        padding-left: 24px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .focus-card {
        grid-template-columns: 1fr 1fr;
    }

    .focus-media img {
        height: 100%;
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-height: 64px;
    }

    .container-xxl {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-mark {
        width: 34px;
        height: 28px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 7.5px;
    }

    .home-section {
        margin-top: 64px;
    }

    .home-section-tight {
        margin-top: 20px;
    }

    .main > :last-child {
        margin-bottom: 64px;
    }

    .hero-media {
        height: 230px;
    }

    .hero-media::after {
        width: 56px;
    }

    .hero-text {
        font-size: 15px;
        margin-top: 20px;
    }

    .hero-actions {
        gap: 12px;
        margin-top: 24px;
    }

    .hero-actions > a {
        flex: 1 1 0;
        padding: 0.8rem 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px 8px;
    }

    .feature-item i {
        font-size: 26px;
    }

    .feature-item span {
        font-size: 13.5px;
    }

    .feature-item span br {
        display: none;
    }

    .offer-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .offer-media {
        height: 170px;
        order: -1;
    }

    .offer-card-light .offer-media::before,
    .offer-card-dark .offer-media::before {
        background: none;
    }

    .offer-body {
        padding: 22px 20px 26px;
    }

    .industry-grid {
        gap: 10px;
    }

    .industry-tile {
        padding: 16px 4px;
        font-size: 12px;
        gap: 8px;
    }

    .industry-tile i {
        font-size: 22px;
    }

    .why-media {
        min-height: 220px;
    }

    .why-body {
        padding: 48px 16px 52px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .why-item,
    .why-item:nth-child(even) {
        padding: 16px 0;
        border-left: none;
        border-bottom: 1px solid var(--line);
    }

    .why-item:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .why-item h4 br,
    .why-item p br {
        display: none;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
        padding: 40px 22px;
        gap: 18px;
    }

    .cta-icon {
        border-right: none;
        padding-right: 0;
        font-size: 38px;
    }

    .cta-copy {
        flex-basis: auto;
    }

    .cta-band .btn-white {
        width: 100%;
    }

    .page-hero {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--red-deep);
    }

    .page-hero-media {
        position: relative;
        width: 100%;
        height: 200px;
        order: -1;
    }

    .page-hero::before {
        inset: auto 0 0 0;
        top: 170px;
        width: 100%;
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
    }

    .page-hero::after {
        display: none;
    }

    .page-hero-copy {
        padding: 28px 0 36px;
    }

    .page-hero-copy br {
        display: none;
    }

    .overview-body p {
        font-size: 14.5px;
    }

    .mv-item {
        gap: 16px;
        padding: 24px 20px;
    }

    .mv-item + .mv-item {
        margin: 0 20px;
        padding: 22px 0 26px;
    }

    .mv-item i {
        font-size: 32px;
        width: 38px;
    }

    .mv-item h3 {
        font-size: 1.3rem;
    }

    .mv-item p br,
    .value-item p br {
        display: none;
    }

    .values-grid {
        margin-top: 28px;
        row-gap: 32px;
    }

    .value-item,
    .value-item:first-child,
    .value-item:nth-child(3) {
        padding: 0 14px;
    }

    .value-item:nth-child(odd) {
        padding-left: 0;
    }

    .value-item i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .value-item h4 {
        font-size: 15.5px;
    }

    .value-item p {
        font-size: 13.5px;
    }

    .focus-card {
        grid-template-columns: 1fr;
    }

    .focus-media img {
        height: 170px;
        min-height: 0;
    }

    .focus-body {
        padding: 20px 20px 24px;
    }

    /* Footer: brand full width, link columns in two, contact full width */
    .site-footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .footer-col-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        margin-top: 36px;
    }
}

@media (max-width: 359.98px) {
    .brand-text small {
        display: none;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions > a {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Tablet: wider side gutter, cap tall images */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .container-xxl {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 991.98px) {
    .overview-media img {
        max-height: 340px;
    }

    .cta-band .btn-white {
        margin-left: calc(46px + 32px + 24px);
    }
}

@media (max-width: 767.98px) {
    .cta-band .btn-white {
        margin-left: 0;
    }
}

/* =========================================================
   SERVICES
   ========================================================= */

.page-hero-dark::before {
    background: linear-gradient(120deg, #1a0a0c 0%, #3d0709 50%, #8a0a0e 100%);
}

.page-hero-copy {
    max-width: 480px;
}

.mobile-nav-toggle.active {
    color: var(--red);
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: none;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 32px 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
    scroll-margin-top: calc(var(--header-height) + 20px);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.svc-card:hover {
    color: var(--ink);
    transform: translateY(-4px);
    border-color: #f4c4c6;
    box-shadow: var(--shadow-hover);
}

.svc-card:target {
    border-color: var(--red);
}

.svc-card h3 {
    font-weight: 800;
    font-size: 18px;
    margin: 16px 0 8px;
}

.svc-card p {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    padding-right: 36px;
}

.svc-card .circle-btn {
    position: absolute;
    right: 22px;
    bottom: 22px;
}

.circle-btn.soft {
    background: var(--red-soft);
    color: var(--red);
}

.svc-card:hover .circle-btn.soft {
    background: var(--red);
    color: #fff;
}

/* Process */
.process {
    display: grid;
    grid-template-columns: 30% 1fr;
    background: linear-gradient(90deg, #f1f2f5 0%, #f7f8fa 100%);
}

.process-media {
    position: relative;
    min-height: 340px;
}

.process-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 248, 250, 0) 60%, #f3f4f6 100%);
}

.process-body {
    padding: 64px 56px 64px 48px;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    counter-reset: step;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step + .process-step::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -24px;
    top: 14px;
    color: #b6bac2;
    font-size: 15px;
}

.process-step i {
    font-size: 36px;
    color: var(--red);
    margin-bottom: 14px;
}

.process-step h4 {
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 6px;
}

.process-step p {
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 190px;
}

/* Why strip */
.why-strip {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: center;
}

.why-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.why-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.3;
}

.why-strip-item + .why-strip-item {
    border-left: 1px solid var(--line);
}

.why-strip-item i {
    font-size: 32px;
    color: var(--red);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    align-items: start;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    gap: 28px;
}

.info-list li {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.info-list .icon-box {
    width: 56px;
    height: 56px;
}

.info-list h4 {
    font-weight: 800;
    font-size: 16.5px;
    margin: 2px 0 4px;
}

.info-list a,
.info-list p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    word-break: break-word;
}

.info-list a:hover {
    color: var(--red);
}

.map-card {
    margin-top: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.map-card img {
    width: 100%;
    aspect-ratio: 800 / 360;
    object-fit: cover;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: var(--red);
    font-weight: 700;
    font-size: 14.5px;
}

.map-link:hover {
    color: var(--red-dark);
}

.form-card {
    background: linear-gradient(160deg, #fbfbfc 0%, #f3f4f6 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 44px 40px 44px;
}

.enquiry-form {
    margin-top: 32px;
}

.enquiry-form .form-label {
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 8px;
}

.enquiry-form .req {
    color: var(--red);
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    border-radius: 10px;
    border-color: #d9dce1;
    padding: 0.7rem 0.95rem;
    font-size: 14.5px;
    background-color: #fff;
}

.enquiry-form .form-control::placeholder {
    color: #9a9fa9;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(225, 10, 18, 0.12);
}

.enquiry-form .form-select:invalid {
    color: #9a9fa9;
}

.btn-submit {
    width: 100%;
    border: none;
    font-size: 16px;
    padding: 0.95rem 1.6rem;
    margin-top: 10px;
}

.form-success {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ecf8ef;
    color: #1d7a3a;
    font-size: 14px;
    font-weight: 600;
}

.form-success.show {
    display: block;
}

.assure-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--soft);
    border-radius: var(--radius);
    padding: 36px 0;
}

.assure-item {
    display: flex;
    gap: 16px;
    padding: 4px 32px;
}

.assure-item + .assure-item {
    border-left: 1px solid #dcdfe4;
}

.assure-item i {
    font-size: 30px;
    color: var(--red);
    width: 34px;
    text-align: center;
    flex: none;
    margin-top: 2px;
}

.assure-item h4 {
    font-weight: 800;
    font-size: 15.5px;
    margin: 0 0 4px;
}

.assure-item p {
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* ---------- Services / Contact responsive ---------- */

@media (max-width: 1199.98px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process {
        grid-template-columns: 1fr;
    }

    .process-media {
        display: none;
    }

    .process-body {
        padding: 56px 28px;
    }

    .why-strip {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .assure-strip {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .assure-item:nth-child(3) {
        border-left: none;
    }
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }


    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .process-step:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .page-hero-copy h1 br {
        display: none;
    }

    .svc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .svc-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        padding: 24px 20px;
    }

    .svc-card .icon-box {
        width: 48px;
        height: 48px;
        font-size: 20px;
        grid-row: span 2;
    }

    .svc-card h3 {
        margin: 2px 0 6px;
        font-size: 16.5px;
        padding-right: 30px;
    }

    .svc-card p {
        font-size: 14px;
        padding-right: 0;
    }

    .svc-card .circle-btn {
        top: 18px;
        right: 16px;
        bottom: auto;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .section-title br {
        display: none;
    }

    .process-body {
        padding: 48px 16px 44px;
    }

    /* Steps become a vertical timeline on phones */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 20px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        text-align: left;
        padding-bottom: 22px;
    }

    .process-step::before,
    .process-step + .process-step::before {
        display: none;
    }

    .process-step i {
        grid-row: span 2;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #fff;
        box-shadow: var(--shadow);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin: 0;
        position: relative;
        z-index: 1;
    }

    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 25px;
        top: 52px;
        bottom: 0;
        width: 2px;
        background: #f2c2c4;
    }

    .process-step h4 {
        margin-top: 4px;
    }

    .process-step p {
        max-width: none;
        margin: 0;
    }

    .why-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .why-strip-item {
        font-size: 13.5px;
    }

    .why-strip-item:nth-child(3) {
        border-left: none;
    }

    .why-strip-item span br {
        display: none;
    }

    .form-card {
        padding: 32px 20px 32px;
    }

    .info-list li {
        gap: 16px;
    }

    .info-list .icon-box {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .info-list a,
    .info-list p {
        font-size: 14.5px;
    }

    .map-link {
        padding: 14px 18px;
    }

    .assure-strip {
        grid-template-columns: 1fr;
        padding: 8px 18px;
        row-gap: 0;
    }

    .assure-item,
    .assure-item:nth-child(3) {
        padding: 16px 0;
        border-left: none;
    }

    .assure-item + .assure-item {
        border-left: none;
        border-top: 1px solid #dcdfe4;
    }
}

/* =========================================================
   SPACING SYSTEM — matches ibe_it_solution_v2
   1440px container, 32px side padding (24px below 1200px),
   80px header (72px below 992px), section gap 112 / 88 / 72,
   56px from a section heading to its content, 20px card radius.
   ========================================================= */

:root {
    --header-height: 80px;
    --section-y: 112px;
    --head-gap: 56px;
    --radius: 20px;
    --radius-sm: 14px;
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 72px;
        --section-y: 88px;
        --head-gap: 44px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-y: 72px;
        --head-gap: 36px;
    }
}

html {
    scroll-padding-top: calc(var(--header-height) + 24px);
}

.container-xxl {
    max-width: 1440px;
}

@media (min-width: 1200px) {
    .container-xxl.px-xl-5 {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

@media (max-width: 1199.98px) {
    .container-xxl,
    .container-xxl.px-xl-5 {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

.home-section,
.home-section-tight {
    margin-top: var(--section-y) !important;
}

.main > :last-child {
    margin-bottom: var(--section-y) !important;
}

/* Type rhythm */
.eyebrow {
    font-size: 13px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.18;
}

.section-lead {
    font-size: 16.5px;
    line-height: 1.75;
    margin-top: 24px;
}

.btn-red,
.btn-outline-red,
.btn-white {
    padding: 0.85rem 1.7rem;
}

/* Heading -> content gap */
.svc-grid,
.values-grid,
.focus-grid,
.why-grid,
.process-steps,
.info-list {
    margin-top: var(--head-gap) !important;
}

.enquiry-form {
    margin-top: 40px;
}

/* Hero */
.hero-inner {
    min-height: 600px;
    padding: 88px 0;
}

@media (min-width: 992px) {
    .hero-inner {
        min-height: calc(100vh - var(--header-height) - 110px);
        min-height: calc(100svh - var(--header-height) - 110px);
    }
}

.page-hero-copy {
    padding: 88px 0;
    max-width: 560px;
}

.page-hero-copy p {
    font-size: 16.5px;
    line-height: 1.75;
    margin-top: 24px;
}

/* Cards */
.offer-grid,
.focus-grid {
    gap: 32px;
}

.offer-body {
    padding: 48px 0 48px 48px;
}

.svc-grid {
    gap: 32px;
}

.svc-card {
    padding: 40px 36px 40px;
}

.why-body {
    padding: 88px 64px;
}

.process-body {
    padding: 88px 64px 88px 56px;
}

.mv-item {
    padding: 52px 56px;
}

.cta-band {
    padding: 52px 56px;
}

.form-card {
    padding: 52px 48px;
}

.assure-strip {
    padding: 40px 0;
}

.contact-layout {
    gap: 72px;
}

.overview {
    gap: 80px;
}

/* Footer */
.site-footer {
    padding-top: 80px;
    font-size: 14.5px;
}

.footer-col h4 {
    font-size: 15.5px;
    margin-bottom: 20px;
}

.footer-col li + li {
    margin-top: 12px;
}

.footer-col a,
.footer-col span,
.footer-brand p {
    font-size: 14.5px;
    line-height: 1.6;
}

.footer-brand p {
    margin-top: 22px;
    line-height: 1.75;
    max-width: 320px;
}

.footer-grid > div {
    padding: 0 40px;
}

.footer-bottom {
    margin-top: 64px;
    padding: 26px 0;
    font-size: 13.5px;
}

/* ---- Tablet ---- */
@media (max-width: 1199.98px) {
    .offer-body {
        padding: 36px 36px 40px;
    }

    .why-body,
    .process-body {
        padding: 72px 48px;
    }

    .focus-body {
        padding: 32px 32px 36px;
    }

    .footer-grid {
        gap: 48px 40px;
    }

    .footer-grid > div,
    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-inner {
        min-height: 0;
        padding: 28px 0 72px;
    }

    .page-hero-copy {
        padding: 80px 0;
    }

    .offer-body {
        padding: 44px 0 44px 40px;
    }

    .mv-item {
        padding: 44px 40px;
    }

    .mv-item + .mv-item {
        margin: 0 40px;
        padding: 40px 0 44px;
    }

    .cta-band {
        padding: 44px 40px;
    }

    .contact-layout,
    .overview {
        gap: 56px;
    }

    .values-grid {
        row-gap: 44px;
    }

    .process-steps {
        row-gap: 44px;
    }
}

/* ---- Phone ---- */
@media (max-width: 767.98px) {
    .hero-inner {
        padding: 24px 0 64px;
    }

    .feature-item {
        padding: 24px 8px;
    }

    .offer-body {
        padding: 32px 28px 36px;
    }

    .industry-grid {
        gap: 12px;
    }

    .why-body,
    .process-body {
        padding: 64px 24px;
    }

    .why-item,
    .why-item:nth-child(even) {
        padding: 22px 0;
    }

    .cta-band {
        padding: 44px 28px;
        gap: 22px;
    }

    .page-hero-copy {
        padding: 36px 0 48px;
    }

    .mv-item {
        padding: 36px 28px;
    }

    .mv-item + .mv-item {
        margin: 0 28px;
        padding: 32px 0 36px;
    }

    .svc-grid {
        gap: 20px;
    }

    .svc-card {
        padding: 28px 24px;
    }

    .focus-body {
        padding: 28px 28px 32px;
    }

    .process-step {
        padding-bottom: 32px;
    }

    .form-card {
        padding: 40px 24px;
    }

    .info-list {
        gap: 26px;
    }

    .assure-strip {
        padding: 12px 24px;
    }

    .assure-item,
    .assure-item:nth-child(3) {
        padding: 22px 0;
    }

    .site-footer {
        padding-top: 64px;
    }

    .footer-grid {
        gap: 40px 24px;
    }

    .footer-bottom {
        margin-top: 48px;
    }
}

/* Per-section fine-tuning to match v2 rhythm */
.eyebrow {
    display: flex;
    width: fit-content;
}

@media (max-width: 991.98px) {
    :root {
        --head-gap: 48px;
    }

    .industries,
    .why-strip {
        gap: 40px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --head-gap: 40px;
    }

    .industries,
    .why-strip {
        gap: 32px;
    }

    .enquiry-form {
        margin-top: 32px;
    }
}

/* Footer: brand / quick links / contact */
.footer-grid {
    grid-template-columns: 1.6fr 1fr 1.4fr;
}

@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* About / Services / Contact hero: same 590px height as ibe_it_solution_v2 (desktop + tablet) */
@media (min-width: 768px) {
    .page-hero {
        min-height: 590px;
    }
}

/* ---------- Home: real photos ---------- */
.hero-media picture,
.offer-media picture,
.why-media picture {
    display: contents;
}

/* the hero photo already carries its own red diagonal */
#home-page .hero-media::after {
    display: none;
}

#home-page .hero-media img {
    object-position: 70% center;
}

.offer-card-light .offer-media img {
    object-position: 60% center;
}

.offer-card-dark .offer-media img {
    object-position: 40% center;
}

.why-media img {
    object-position: 35% 40%;
}

@media (max-width: 991.98px) {
    #home-page .hero-media img {
        object-position: 60% center;
    }

    .why-media img {
        object-position: center 35%;
    }
}

#home-page .hero-media img {
    object-position: 45% center;
}

/* Offer cards: fade the photo into the card instead of a hard edge */
.offer-card-light .offer-media::before,
.offer-card-dark .offer-media::before {
    display: none;
}

.offer-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

@media (min-width: 992px) and (max-width: 1199.98px), (max-width: 767.98px) {
    .offer-media img {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (min-width: 992px) {
    #home-page .hero-media {
        width: 64%;
    }

    #home-page .hero-media img {
        object-position: 62% center;
    }
}

/* ---------- About: real photos ---------- */
.page-hero-media picture,
.overview-media picture,
.focus-media picture {
    display: contents;
}

#about-page .page-hero-media img {
    object-position: 80% center;
}

.focus-media {
    position: relative;
}

.focus-media img {
    object-position: center;
}

.focus-card:first-child .focus-media img {
    object-position: 35% center;
}

@media (max-width: 767.98px) {
    #about-page .page-hero-media img {
        object-position: 78% center;
    }
}

@media (min-width: 768px) {
    #about-page .page-hero-media img {
        object-position: 96% center;
    }
}

/* Tablet hero: keep copy inside the red panel, show the logo mark */
@media (min-width: 768px) and (max-width: 991.98px) {
    .page-hero-copy {
        max-width: 420px;
    }

    #about-page .page-hero-media img {
        object-position: 64% center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .page-hero::before {
        width: 58%;
    }

    .page-hero::after {
        width: 59.6%;
    }

    .page-hero-media {
        width: 56%;
    }

    .page-hero-copy {
        max-width: 380px;
    }

    #about-page .page-hero-media img {
        object-position: 60% center;
    }
}

/* Contact hero uses the same logo-wall photo as About */
#contact-page .page-hero-media img {
    object-position: 78% center;
}

@media (min-width: 768px) {
    #contact-page .page-hero-media img {
        object-position: 96% center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #contact-page .page-hero-media img {
        object-position: 60% center;
    }
}

/* ---------- Services: real photos ---------- */
.process-media picture {
    display: contents;
}

#services-page .page-hero-media img {
    object-position: 85% center;
}

.process-media img {
    object-position: 55% center;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #services-page .page-hero-media img {
        object-position: 80% center;
    }
}

@media (max-width: 767.98px) {
    #services-page .page-hero-media img {
        object-position: 70% 30%;
    }
}

/* Process photo: show as a banner above the steps on tablet / phone */
@media (max-width: 1199.98px) {
    .process-media {
        display: block;
        min-height: 0;
        height: 280px;
    }

    .process-media::after {
        background: linear-gradient(0deg, #f3f4f6 0%, rgba(243, 244, 246, 0) 40%);
    }

    .process-media img {
        object-position: center 60%;
    }
}

@media (max-width: 767.98px) {
    .process-media {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .process-steps {
        row-gap: 0;
    }
}

/* =========================================================
   RESPONSIVE IMAGES (tablet + phone)
   Below desktop, photos sit in their own row at a fixed
   aspect ratio close to the photo's shape, so the subject is
   never squeezed into a thin strip or hidden behind text.
   ========================================================= */

/* ---- Home hero: stack image above copy up to 1199px ---- */
@media (max-width: 1199.98px) {
    #home-page .hero {
        background: #f7f8fa;
    }

    #home-page .hero-media {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 8;
    }

    #home-page .hero-media img {
        position: absolute;
        inset: 0;
        object-position: 70% center;
    }

    #home-page .hero-media::before {
        background: linear-gradient(0deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 22%);
    }

    #home-page .hero-inner {
        min-height: 0;
        padding: 12px 0 72px;
    }

    #home-page .hero-copy {
        max-width: 640px;
    }
}

@media (max-width: 767.98px) {
    #home-page .hero-media {
        aspect-ratio: 16 / 10;
    }

    #home-page .hero-inner {
        padding: 8px 0 64px;
    }
}

/* ---- Home offer cards: photo on top, natural 3:2 shape ---- */
@media (max-width: 1199.98px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .offer-media {
        order: -1;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .offer-media img {
        position: absolute;
        inset: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .offer-card-light .offer-media img {
        object-position: 55% 70%;
    }

    .offer-card-dark .offer-media img {
        object-position: 50% center;
    }

    .offer-body {
        padding: 36px 36px 40px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    /* side by side again on tablets: two tall cards */
    .offer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .offer-media {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767.98px) {
    .offer-media {
        aspect-ratio: 3 / 2;
    }

    .offer-body {
        padding: 28px 24px 32px;
    }
}

/* ---- Why choose: show the logo wall at a calm 4:3 ---- */
@media (max-width: 991.98px) {
    .why-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .why-media img {
        object-position: 30% 40%;
    }
}

@media (max-width: 767.98px) {
    .why-media {
        aspect-ratio: 4 / 3;
    }
}

/* ---- Inner page heroes: photo row on top, copy in red panel below ---- */
@media (max-width: 1199.98px) {
    .page-hero {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--red-deep);
    }

    .page-hero-media {
        position: relative;
        inset: auto;
        order: -1;
        width: 100%;
        height: auto;
        aspect-ratio: 21 / 9;
    }

    .page-hero::before {
        inset: auto 0 0 0;
        top: auto;
        width: 100%;
        height: calc(100% - (100vw * 9 / 21) + 36px);
        clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
    }

    .page-hero::after {
        display: none;
    }

    .page-hero-copy {
        max-width: 640px;
        padding: 36px 0 64px;
    }

    #about-page .page-hero-media img,
    #contact-page .page-hero-media img {
        object-position: 80% center;
    }

    #services-page .page-hero-media img {
        object-position: 70% 35%;
    }
}

@media (max-width: 767.98px) {
    .page-hero-media {
        aspect-ratio: 16 / 9;
    }

    .page-hero::before {
        height: calc(100% - (100vw * 9 / 16) + 30px);
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
    }

    .page-hero-copy {
        padding: 28px 0 52px;
    }
}

/* ---- About: overview + focus cards ---- */
.overview-media img {
    aspect-ratio: 16 / 9;
    max-height: none;
}

@media (max-width: 1199.98px) {
    .focus-card {
        grid-template-columns: 1fr;
    }

    .focus-media {
        aspect-ratio: 16 / 9;
    }

    .focus-media img {
        position: absolute;
        inset: 0;
        height: 100%;
        min-height: 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .focus-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- Services: process photo ---- */
@media (max-width: 1199.98px) {
    .process-media {
        height: auto;
        aspect-ratio: 21 / 9;
    }

    .process-media img {
        object-position: center 62%;
    }
}

@media (max-width: 767.98px) {
    .process-media {
        aspect-ratio: 16 / 10;
    }
}

/* Process photo: wider frame so the laptop is not over-zoomed */
@media (max-width: 1199.98px) {
    .process-media {
        aspect-ratio: 16 / 9;
    }

    .process-media img {
        object-position: center 55%;
    }
}

@media (max-width: 767.98px) {
    .process-media {
        aspect-ratio: 4 / 3;
    }
}

/* ---- Fix: offer cards keep photo + text aligned when side by side ---- */
@media (max-width: 1199.98px) {
    .offer-card {
        align-items: stretch;
        align-content: start;
        grid-template-rows: auto 1fr;
    }
}

/* ---- Fix: Services process photo too large on tablet ----
   768–1199px: photo becomes a left column beside the steps. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .process {
        grid-template-columns: 36% 1fr;
    }

    .process-media {
        display: block;
        height: auto;
        aspect-ratio: auto;
        min-height: 100%;
    }

    .process-media img {
        position: absolute;
        inset: 0;
        object-position: 55% center;
    }

    .process-media::after {
        background: linear-gradient(90deg, rgba(243, 244, 246, 0) 65%, #f3f4f6 100%);
    }

    .process-body {
        padding: 56px 40px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .process-step:nth-child(3)::before {
        display: none;
    }
}

/* ---- Fix: Contact form card matches the left column height ---- */
@media (min-width: 992px) {
    .contact-layout {
        align-items: stretch;
    }

    .form-card {
        display: flex;
        flex-direction: column;
    }

    .enquiry-form {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .enquiry-form > .row {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto 1fr auto;
        gap: 18px 16px;
        margin: 0;
    }

    .enquiry-form > .row > * {
        width: auto;
        max-width: none;
        padding: 0;
        margin: 0;
        grid-column: 1 / -1;
    }

    .enquiry-form > .row > .col-md-6 {
        grid-column: auto;
    }

    /* the message box takes the extra height */
    .enquiry-form > .row > .col-12:nth-last-child(2) {
        display: flex;
        flex-direction: column;
    }

    .enquiry-form textarea {
        flex: 1;
        min-height: 140px;
        resize: none;
    }
}

/* =========================================================
   ROUND 3 FIXES
   ========================================================= */

/* ---- Full-screen mobile menu ---- */
.mobile-menu {
    width: 100% !important;
    max-width: 100vw;
}

.mobile-menu .offcanvas-header {
    padding: 0 24px;
}

.mobile-menu .offcanvas-header .btn-close {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--red-soft);
    background-size: 14px;
    opacity: 1;
}

.mobile-menu .offcanvas-body {
    padding: 16px 24px 32px;
}

.mobile-nav > a {
    padding: 20px 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.mobile-nav > a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #b6bac2;
}

.mobile-nav > a.active::after {
    color: var(--red);
}

.mobile-menu-footer {
    gap: 14px;
}

.mobile-contact {
    font-size: 15px;
}

.mobile-menu-footer .btn-red {
    padding: 1rem 1.6rem;
    font-size: 15px;
}

/* ---- Headings: balanced line breaks, keep key phrases together ---- */
h1,
h2,
.section-title {
    text-wrap: balance;
}

.hero-title .underline,
.page-hero-copy h1 span {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(1.7rem, 8.4vw, 2.2rem);
    }

    .page-hero-copy h1 {
        font-size: clamp(1.75rem, 8.6vw, 2.3rem);
    }

    .section-title {
        font-size: clamp(1.45rem, 7vw, 1.8rem);
    }

    .cta-copy h2 {
        font-size: clamp(1.25rem, 6vw, 1.5rem);
    }
}

/* ---- About focus cards: photos line up (same fix as home cards) ---- */
@media (max-width: 1199.98px) {
    .focus-card {
        grid-template-rows: auto 1fr;
        align-content: start;
        align-items: stretch;
    }

    .focus-media {
        align-self: start;
    }
}

/* ---- Services process photo on tablet: show the whole photo,
        as a rounded picture card beside the steps ---- */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .process {
        grid-template-columns: 38% 1fr;
        align-items: center;
    }

    .process-media {
        min-height: 0;
        height: auto;
        aspect-ratio: 880 / 753;
        margin: 48px 0 48px 24px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .process-media::after {
        display: none;
    }

    .process-media img {
        object-position: center;
    }

    .process-body {
        padding: 56px 32px 56px 40px;
    }
}

.mobile-menu .offcanvas-header .btn-close {
    margin-left: auto;
}

/* ---- Services process on tablet / phone (v3):
        the photo becomes a dark full-section backdrop and the
        steps sit on top as glass cards — no awkward cropping ---- */
@media (max-width: 1199.98px) {
    .process {
        position: relative;
        display: block;
        background: #121318;
        overflow: hidden;
    }

    .process-media {
        display: block;
        position: absolute;
        inset: 0;
        margin: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .process-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 45%;
    }

    .process-media::after {
        display: block;
        background: linear-gradient(180deg, rgba(14, 15, 19, 0.78) 0%, rgba(14, 15, 19, 0.9) 55%, rgba(14, 15, 19, 0.95) 100%);
    }

    .process-body {
        position: relative;
        z-index: 1;
        padding: 72px 40px;
        color: #fff;
    }

    .process-body .eyebrow {
        color: #fff;
    }

    .process-body .section-title {
        color: #fff;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-step {
        display: block;
        text-align: left;
        padding: 28px 26px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-sm);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .process-step::before,
    .process-step + .process-step::before,
    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-step i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 0 0 16px;
        border-radius: 12px;
        background: var(--red);
        color: #fff;
        font-size: 20px;
        box-shadow: none;
    }

    .process-step h4 {
        color: #fff;
        margin: 0 0 6px;
    }

    .process-step p {
        color: rgba(255, 255, 255, 0.75);
        max-width: none;
        margin: 0;
    }

    /* step number */
    .process-steps {
        counter-reset: step;
    }

    .process-step {
        position: relative;
        counter-increment: step;
    }

    .process-step h4::before {
        content: "0" counter(step) "  ";
        color: var(--red-2);
        white-space: pre;
    }
}

@media (max-width: 1199.98px) {
    .process-body {
        padding: 64px 24px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        padding: 20px 18px;
    }

    .process-step i {
        grid-row: span 2;
        margin: 0;
    }
}

/* ---- Home products card (desktop): show the whole laptop like the
        design — photo spans most of the card and fades under the text ---- */
@media (min-width: 1200px) {
    .offer-card-light .offer-media {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 68%;
        z-index: 0;
    }

    .offer-card-light .offer-media img {
        position: absolute;
        inset: 0;
        object-fit: cover;
        object-position: right 40%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    }

    .offer-card-light .offer-body {
        grid-column: 1;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* narrower cards: fit the whole photo bottom-right, fade top + left */
    .offer-card-light .offer-media {
        width: 64%;
    }

    .offer-card-light .offer-media img {
        inset: auto 0 0 auto;
        width: 100%;
        height: auto;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 30%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 30%);
        mask-composite: intersect;
    }
}

/* ---- CTA band: deep red like the design sample ---- */
.cta-band {
    background:
        radial-gradient(90% 160% at 0% 0%, rgba(240, 0, 4, 0.9) 0%, rgba(240, 0, 4, 0) 32%),
        linear-gradient(90deg, rgba(50, 0, 2, 0) 45%, rgba(50, 0, 2, 0.22) 100%),
        linear-gradient(180deg, #b80105 0%, #9a0205 55%, #870407 100%);
}

/* ---- Home feature strip, 2 x 2 (tablet / phone): one clean "+" divider
        through the centre, lines fade out at the ends ---- */
@media (max-width: 991.98px) {
    .feature-grid {
        position: relative;
        grid-auto-rows: 1fr;
    }

    .feature-item::before,
    .feature-item + .feature-item::before {
        display: none;
    }

    .feature-item,
    .feature-item:nth-child(-n + 2) {
        border-bottom: none;
    }

    .feature-grid::before,
    .feature-grid::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    /* vertical */
    .feature-grid::before {
        left: 50%;
        top: 12px;
        bottom: 12px;
        width: 1px;
        background: linear-gradient(180deg, rgba(220, 223, 228, 0) 0%, #dcdfe4 30%, #dcdfe4 70%, rgba(220, 223, 228, 0) 100%);
    }

    /* horizontal */
    .feature-grid::after {
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, rgba(220, 223, 228, 0) 0%, #dcdfe4 25%, #dcdfe4 75%, rgba(220, 223, 228, 0) 100%);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* centred in each cell; same text width so icons line up per column */
    .feature-item {
        justify-content: center;
    }

    .feature-item span {
        width: 128px;
    }
}

/* ---- Home feature strip, 2 x 2 (tablet / phone) v3:
        one solid "+" divider — both lines run edge to edge and meet
        in the exact centre ---- */
@media (max-width: 991.98px) {
    .feature-grid::before {
        top: 0;
        bottom: 0;
        background: var(--line);
    }

    .feature-grid::after {
        background: var(--line);
    }
}

/* ---- About core values: content centred in each column so the
        dividers sit evenly between items ---- */
.value-item,
.value-item:first-child {
    text-align: center;
    padding: 4px 24px;
}

/* 2 x 2 (tablet / phone): solid "+" divider through the centre */
@media (max-width: 991.98px) {
    .values-grid {
        position: relative;
        grid-auto-rows: 1fr;
        row-gap: 0;
    }

    .value-item,
    .value-item:first-child,
    .value-item:nth-child(odd),
    .value-item:nth-child(3),
    .value-item + .value-item {
        border-left: none;
        padding: 32px 24px;
    }

    .values-grid::before,
    .values-grid::after {
        content: "";
        position: absolute;
        background: var(--line);
        pointer-events: none;
    }

    .values-grid::before {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
    }

    .values-grid::after {
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
    }
}

@media (max-width: 767.98px) {
    .value-item,
    .value-item:first-child,
    .value-item:nth-child(odd),
    .value-item:nth-child(3),
    .value-item + .value-item {
        padding: 24px 12px;
    }
}

@media (max-width: 991.98px) {
    .value-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* ---- Services process: tablet uses the same single-column list as phone ---- */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .process-body {
        padding: 80px 40px;
    }

    .process-steps {
        gap: 16px;
    }

    .process-step {
        padding: 24px 24px;
    }
}

/* ---- Inner hero eyebrow: red mark instead of white ---- */
.eyebrow.light::before {
    background: var(--red-2);
}

/* ---- Services cards (phone): icon + arrow on one row,
        title and text full width below ---- */
@media (max-width: 767.98px) {
    .svc-card {
        display: flex;
        flex-direction: column;
        padding: 24px 22px 26px;
    }

    .svc-card .icon-box {
        grid-row: auto;
    }

    .svc-card h3 {
        margin: 18px 0 8px;
        padding-right: 0;
    }

    .svc-card .circle-btn {
        top: 32px;
        right: 22px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ---- Inner heroes 1200–1440px: keep the copy clear of the red diagonal ---- */
@media (min-width: 1200px) {
    .page-hero-copy {
        max-width: min(560px, calc(41vw - 20px));
    }
}

/* ---- Services process (desktop): lighter fade, photo stays clear like the design ---- */
@media (min-width: 1200px) {
    .process-media::after {
        background: linear-gradient(90deg, rgba(243, 244, 246, 0) 88%, #f3f4f6 100%);
    }
}

/* ---- LLT Global logo ---- */
.brand picture {
    display: contents;
}

.brand-logo {
    display: block;
    height: 46px;
    width: auto;
}

.site-footer .brand-logo {
    height: 54px;
}

.mobile-menu .brand-logo {
    height: 40px;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 40px;
    }
}

@media (max-width: 359.98px) {
    .brand-logo {
        height: 34px;
    }
}

/* ---- Contact: real Google map ---- */
.map-card iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* ---- Services process: no photo, steps use the full container width ---- */
.process {
    display: block;
}

.process .process-body.container-xxl {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

@media (min-width: 1200px) {
    .process .process-body.container-xxl {
        padding-left: 32px;
        padding-right: 32px;
    }

    .process-steps {
        gap: 48px;
    }

    .process-step + .process-step::before {
        left: -30px;
    }
}

@media (max-width: 1199.98px) {

    .process .process-body.container-xxl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 575.98px) {
    .process .process-body.container-xxl {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ---- Services process (tablet / phone): back to the light look,
        white step cards on the same soft grey as desktop ---- */
@media (max-width: 1199.98px) {
    .process {
        background: linear-gradient(90deg, #f1f2f5 0%, #f7f8fa 100%);
    }

    .process-body {
        color: var(--ink);
    }

    .process-body .eyebrow,
    .process-body .section-title {
        color: var(--ink);
    }

    .process-step {
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 6px 18px rgba(21, 25, 34, 0.05);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .process-step h4 {
        color: var(--ink);
    }

    .process-step p {
        color: var(--ink-2);
    }
}

/* ---- Services process (desktop): heading centred above the steps ---- */
@media (min-width: 1200px) {
    .process .process-body {
        text-align: center;
    }

    .process .process-body .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   SIMPLE MOBILE MENU (v6): full screen, numbered links
   ========================================================= */
.btn-menu {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: none;
    gap: 6px;
    padding: 0;
}

.btn-menu span,
.btn-menu span:nth-child(2) {
    width: 24px;
    height: 2px;
    background: var(--ink);
}

.mobile-menu.offcanvas-end {
    --bs-offcanvas-width: 100%;
    width: 100% !important;
    max-width: 100vw;
    border-left: none !important;
}

.mobile-menu .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.mobile-menu .offcanvas-header .btn-close {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background-color: transparent;
    background-size: 18px;
}

.mobile-menu .offcanvas-body {
    padding: 24px 24px 32px;
}

.mobile-nav {
    counter-reset: navnum;
}

.mobile-nav > a {
    counter-increment: navnum;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.mobile-nav > a::before {
    content: counter(navnum, decimal-leading-zero);
    min-width: 26px;
    font-size: 13px;
    font-weight: 600;
    color: #b6bac2;
}

.mobile-nav > a::after {
    content: none;
}

.mobile-nav > a.active,
.mobile-nav > a.active::before {
    color: var(--red);
}

.mobile-menu-footer {
    gap: 10px;
    padding-top: 24px;
}

.mobile-menu-footer .btn-red {
    justify-content: center;
}

@media (min-width: 768px) {
    .mobile-menu .offcanvas-body {
        padding: 40px 48px 48px;
    }

    .mobile-nav > a {
        font-size: 34px;
        padding: 22px 0;
    }
}

/* Mobile menu link hover / tap feedback */
.mobile-nav > a {
    position: relative;
    transition: color 0.2s, padding-left 0.25s, background-color 0.2s;
}

.mobile-nav > a::before {
    transition: color 0.2s;
}

.mobile-nav > a:hover,
.mobile-nav > a:focus-visible,
.mobile-nav > a:active {
    color: var(--red);
    padding-left: 12px;
    background: linear-gradient(90deg, var(--red-soft), transparent 80%);
}

.mobile-nav > a:hover::before,
.mobile-nav > a:focus-visible::before,
.mobile-nav > a:active::before {
    color: var(--red);
}
