/* =========================================================
   AGM Century Trading Sdn Bhd
   Dark charcoal + gold theme.
   Spacing follows ibe_it_solution_v2: container-xxl (1320px)
   + px-xl-5, 84px header, 112px between sections on desktop
   (88px tablet, 72px phone), 20px card radius.
   ========================================================= */

:root {
    --gold: #d0a040;
    --gold-2: #ecc265;
    --gold-dark: #a87a22;
    --gold-grad: linear-gradient(135deg, #f2cd72 0%, #d6a541 55%, #b9862c 100%);
    --gold-soft: #fbf5e8;
    --gold-soft-2: #f7eedb;
    --ink: #1c232c;
    --ink-2: #333c48;
    --muted: #5d6673;
    --line: #e7e9ee;
    --line-gold: #eedfbf;
    --dark: #1f262f;
    --dark-2: #2a323c;
    --bg-soft: #f6f7f9;
    --header-height: 84px;
    --section-y: 112px;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 12px 32px rgba(28, 35, 44, 0.07);
    --shadow-hover: 0 18px 44px rgba(28, 35, 44, 0.13);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

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

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

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

a {
    text-decoration: none;
}

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

@media (max-width: 991.98px) {
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
}

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

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

.section {
    padding: var(--section-y) 0 0;
}

.section-last {
    padding-bottom: var(--section-y);
}

.section-soft {
    background: var(--bg-soft);
    padding: var(--section-y) 0;
    margin-top: var(--section-y);
}

/* ---------- Shared type ---------- */

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

.eyebrow::before {
    content: "";
    width: 16px;
    height: 14px;
    background: var(--gold-grad);
    clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
    flex: 0 0 auto;
}

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

.section-lead {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.75;
    margin: 22px 0 0;
}

.section-head {
    margin-bottom: 56px;
}

.section-head.text-center .section-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.text-gold {
    color: var(--gold-2);
}

/* ---------- Buttons ---------- */

.btn-gold,
.btn-gold-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold i,
.btn-gold-outline i,
.btn-ghost i,
.link-arrow i {
    font-size: 0.9em;
    transition: transform 0.2s;
}

.btn-gold:hover i,
.btn-gold-outline:hover i,
.btn-ghost:hover i,
.link-arrow:hover i {
    transform: translateX(4px);
}

.btn-gold {
    /* Slightly deeper gold so the white text stays readable */
    background: linear-gradient(135deg, #e2b552 0%, #c99631 55%, #a97b23 100%);
    color: #fff;
    text-shadow: 0 1px 1px rgba(90, 60, 10, 0.25);
    box-shadow: 0 8px 22px rgba(208, 160, 64, 0.32);
}

.btn-gold:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(208, 160, 64, 0.42);
}

.btn-gold-outline {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: #fff;
}

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

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--ink);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 15px;
}

/* ---------- Logo ---------- */

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

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

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

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

#header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    background: #fff;
    z-index: 1030;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s, border-color 0.25s;
}

#header.is-scrolled {
    box-shadow: 0 6px 24px rgba(28, 35, 44, 0.08);
    border-color: var(--line);
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav-link-item {
    position: relative;
    color: var(--ink);
    font-weight: 600;
    font-size: 15.5px;
    padding: 30px 0;
    transition: color 0.2s;
}

.nav-link-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transition: transform 0.2s;
}

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

.nav-link-item:hover::after,
.nav-link-item.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 40px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
}

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

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

/* Simple hamburger: three lines that turn into an X */
.btn-menu {
    margin-left: auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    position: relative;
}

.btn-menu span {
    position: absolute;
    left: 9px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s, opacity 0.2s, top 0.25s;
}

.btn-menu span:nth-child(1) { top: 13px; }
.btn-menu span:nth-child(2) { top: 19px; }
.btn-menu span:nth-child(3) { top: 25px; }

#header.nav-open .btn-menu span:nth-child(1) { top: 19px; transform: rotate(45deg); }
#header.nav-open .btn-menu span:nth-child(2) { opacity: 0; }
#header.nav-open .btn-menu span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Full-screen mobile menu: dark panel, header turns dark with it */
#header .brand-logo-white {
    display: none;
}

#header.nav-open {
    background: var(--dark);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

#header.nav-open .brand-logo {
    display: none;
}

#header.nav-open .brand-logo-white {
    display: block;
}

#header.nav-open .btn-menu span {
    background: #fff;
}

.mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(214, 170, 82, 0.16), transparent 45%),
        linear-gradient(160deg, #1f262f, #171c23);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#header.nav-open .mobile-nav {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 36px;
    counter-reset: mnav;
}

.mobile-nav .m-link {
    counter-increment: mnav;
    display: block;
    padding: 14px 0;
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s, transform 0.35s, color 0.2s;
}

.mobile-nav .m-link::before {
    content: "0" counter(mnav);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.mobile-nav .m-link:hover,
.mobile-nav .m-link.active {
    color: var(--gold);
}

#header.nav-open .mobile-nav .m-link {
    opacity: 1;
    transform: none;
}

#header.nav-open .mobile-nav .m-link:nth-child(2) { transition-delay: 0.05s; }
#header.nav-open .mobile-nav .m-link:nth-child(3) { transition-delay: 0.1s; }
#header.nav-open .mobile-nav .m-link:nth-child(4) { transition-delay: 0.15s; }

.mobile-nav .m-contact {
    margin-top: auto;
    padding-top: 40px;
    width: 100%;
    display: grid;
    gap: 14px;
    justify-items: center;
    font-size: 14.5px;
}

.mobile-nav .m-contact::before {
    content: "";
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-grad);
    margin-bottom: 10px;
}

.mobile-nav .m-contact a {
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav .m-contact a:hover {
    color: #fff;
}

.mobile-nav .m-contact i {
    color: var(--gold);
}

.mobile-nav .m-contact .btn-gold i {
    color: inherit;
}

.mobile-nav .m-contact .btn-gold {
    margin-top: 12px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    color: #fff;
}

body.nav-locked {
    overflow: hidden;
}

/* ---------- Page hero (shared) ---------- */

.page-hero {
    position: relative;
    background: linear-gradient(105deg, #1b2129 0%, #222a33 55%, #29323d 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: max(600px, calc(50% - 60px));
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor to the right so the main subject (PC, headphones...) is never cut off */
    object-position: right center;
}

/* Gold slash along the image edge */
.page-hero .hero-slash {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: max(600px, calc(50% - 60px));
    /* Wedge that hugs the image edge: wide at the top, tapering and fading towards the bottom */
    transform: translateX(-80px);
    background: linear-gradient(170deg, #f6d57d 0%, #e3b24f 30%, rgba(214, 165, 65, 0.7) 65%, rgba(214, 165, 65, 0.15) 100%);
    clip-path: polygon(16% 0, calc(16% + 81px) 0, 81px 100%, 75px 100%);
    z-index: 1;
}

/* Small gold corner bottom-right */
.page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70px;
    height: 90px;
    background: var(--gold-grad);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

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

.page-hero-inner {
    min-height: 460px;
    padding: 88px 0;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero .eyebrow {
    color: #fff;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 3.6vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.75;
    margin: 26px 0 0;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.home-hero .page-hero-inner {
    min-height: 520px;
}

/* Home: hero + highlights fill exactly the first screen (desktop / tablet landscape) */
@media (min-width: 992px) {
    .home-first {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        display: flex;
        flex-direction: column;
    }

    .home-first .home-hero {
        flex: 1 0 auto;
        display: flex;
        align-items: center;
    }

    .home-first .home-hero > .container-xxl {
        width: 100%;
    }

    .home-first .home-hero .page-hero-inner {
        min-height: 0;
    }
}

/* Short laptop screens: less hero padding so everything still fits */
@media (min-width: 992px) and (max-height: 780px) {
    .home-first .home-hero .page-hero-inner {
        padding: 48px 0;
    }
}

@media (max-width: 1199.98px) {
    .page-hero-inner {
        max-width: 600px;
    }

    .page-hero .hero-media {
        left: 0;
        clip-path: none;
    }

    .page-hero .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(31, 38, 47, 0.96) 0%, rgba(31, 38, 47, 0.88) 55%, rgba(31, 38, 47, 0.6) 100%);
    }

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

    .page-hero::after {
        width: 44px;
        height: 56px;
    }

    .page-hero-inner,
    .home-hero .page-hero-inner {
        min-height: 0;
        padding: 80px 0;
    }
}

@media (max-width: 575.98px) {
    .page-hero-inner,
    .home-hero .page-hero-inner {
        padding: 64px 0 72px;
    }

    .page-hero p {
        font-size: 16px;
    }

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

/* ---------- Highlights strip (home) ---------- */

.highlights {
    background: var(--bg-soft);
}

/* Home: keep the products section close to the highlights bar */
.highlights + .section {
    padding-top: 64px;
}

@media (max-width: 767.98px) {
    .highlights + .section {
        padding-top: 48px;
    }
}

.highlights .row > div {
    padding-top: 40px;
    padding-bottom: 40px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
    height: 100%;
}

.highlight i {
    font-size: 30px;
    color: var(--gold);
    width: 40px;
    text-align: center;
    flex: 0 0 auto;
}

.highlight h2,
.highlight h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
}

.highlight p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
}

@media (min-width: 992px) {
    .highlights .col-lg-3 + .col-lg-3 .highlight {
        border-left: 1px solid #dcdfe5;
    }
}

@media (max-width: 991.98px) {
    .highlights .row > div {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .highlights .row {
        padding: 18px 0;
    }

    .highlight {
        padding: 0 4px;
    }
}

/* ---------- Product cards (home) ---------- */

.product-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 340px;
    padding: 36px 34px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #ffffff 0%, #f1f3f6 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.product-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.product-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 210px;
    position: relative;
    z-index: 1;
}

.product-card img {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 58%;
    max-width: 280px;
}

.circle-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--ink);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(208, 160, 64, 0.4);
    z-index: 2;
    transition: transform 0.2s;
}

.product-card:hover .circle-arrow {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .product-card {
        min-height: 0;
        padding: 28px 24px 0;
    }

    .product-card p {
        max-width: none;
    }

    .product-card img {
        position: static;
        width: 80%;
        margin: 16px auto 0;
    }
}

/* Category links row */
.cat-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 56px;
    border-top: 1px solid var(--line);
    padding-top: 40px;
}

.cat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15.5px;
    padding: 8px 12px;
    transition: color 0.2s, transform 0.2s;
}

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

.cat-link i {
    font-size: 34px;
    color: var(--ink-2);
    transition: color 0.2s;
}

.cat-link:hover {
    color: var(--gold-dark);
    transform: translateY(-3px);
}

.cat-link:hover i {
    color: var(--gold);
}

@media (max-width: 767.98px) {
    .cat-row {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 28px;
    }

    .cat-link:nth-child(4) {
        border-left: 0;
    }
}

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

    .cat-link:nth-child(odd) {
        border-left: 0;
    }

    .cat-link:nth-child(4) {
        border-left: 1px solid var(--line);
    }
}

/* ---------- Slanted media with gold accents ----------
   Rounded parallelogram photo (skewed box, image counter-skewed)
   with two rounded gold parallelograms tucked behind the
   top-left and bottom-right corners, as in the design. */

.slant-media {
    --skew: -18deg;
    position: relative;
    padding: 26px 9%;
}

.slant-media::before,
.slant-media::after {
    content: "";
    position: absolute;
    width: 30%;
    height: 44%;
    border-radius: 16px;
    background: var(--gold-grad);
    transform: skewX(var(--skew));
}

.slant-media::before {
    left: 9%;
    top: 0;
}

.slant-media::after {
    right: 9%;
    bottom: 0;
}

.slant-media .slant-img {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    transform: skewX(var(--skew));
    background: var(--dark);
    box-shadow: 0 18px 40px rgba(28, 35, 44, 0.14);
}

.slant-media .slant-img img {
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transform: skewX(calc(var(--skew) * -1));
}

@media (max-width: 575.98px) {
    .slant-media {
        --skew: -14deg;
        padding: 18px 7%;
    }

    .slant-media::before,
    .slant-media::after {
        border-radius: 12px;
    }

    .slant-media::before {
        left: 7%;
    }

    .slant-media::after {
        right: 7%;
    }

    .slant-media .slant-img {
        border-radius: 18px;
    }
}

/* ---------- Icon service grid ---------- */

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

.icon-item {
    text-align: center;
    padding: 6px 14px;
}

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

.icon-item i {
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 16px;
}

.icon-item h3 {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

.icon-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0 0;
}

@media (max-width: 575.98px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .icon-item:nth-child(3) {
        border-left: 0;
    }
}

/* Larger, centred variant (About: approach) */
.icon-grid-lg .icon-item {
    padding: 8px 26px;
}

.icon-grid-lg .icon-item i {
    font-size: 40px;
    margin-bottom: 20px;
}

.icon-grid-lg .icon-item h3 {
    font-size: 17.5px;
}

@media (max-width: 991.98px) {
    .icon-grid-lg {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .icon-grid-lg .icon-item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .icon-grid-lg .icon-item {
        padding: 8px 12px;
    }
}

/* ---------- Dark "why choose" band ---------- */

.dark-band {
    position: relative;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 56px 56px;
    overflow: hidden;
}

.dark-band::before {
    content: "";
    position: absolute;
    right: -40px;
    top: 0;
    width: 260px;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.04) 40%);
}

.dark-band .eyebrow {
    color: #fff;
}

.dark-band .section-title {
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
}

.why-item {
    padding: 4px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.why-item i {
    font-size: 32px;
    color: var(--gold-2);
    margin-bottom: 16px;
}

.why-item h3 {
    font-size: 16.5px;
    font-weight: 800;
    margin: 0 0 8px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {
    .dark-band {
        padding: 48px 32px;
    }

    .why-item:first-child {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .why-item,
    .why-item:first-child {
        border-left: 0;
        padding: 0 0 0 0;
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
    }

    .why-item i {
        grid-row: span 2;
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .dark-band {
        padding: 40px 24px;
    }
}

/* ---------- Cream strip (3 points) ---------- */

.cream-strip {
    background: var(--gold-soft);
    border: 1px solid var(--line-gold);
    border-radius: var(--radius);
    padding: 36px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.cream-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 4px 28px;
}

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

.cream-item i {
    font-size: 34px;
    color: var(--gold);
    width: 48px;
    text-align: center;
    flex: 0 0 auto;
}

.cream-item h3 {
    font-size: 16.5px;
    font-weight: 800;
    margin: 0 0 5px;
}

.cream-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991.98px) {
    .cream-strip {
        grid-template-columns: 1fr;
        padding: 12px 24px;
    }

    .cream-item {
        padding: 22px 0;
    }

    .cream-item + .cream-item {
        border-left: 0;
        border-top: 1px solid var(--line-gold);
    }
}

/* ---------- CTA bands ---------- */

.cta-cream {
    background: linear-gradient(100deg, #f8efdc 0%, #fbf6ec 60%, #f6f7f9 100%);
    border-radius: var(--radius);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-cream h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    flex: 0 0 auto;
}

.cta-cream p {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
    padding-left: 40px;
    border-left: 1px solid #d9cdb3;
}

.cta-cream .btn-gold {
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .cta-cream {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 40px 32px;
    }

    .cta-cream p {
        padding-left: 0;
        border-left: 0;
    }

    .cta-cream .btn-gold {
        margin-left: 0;
        margin-top: 8px;
    }
}

.cta-dark {
    position: relative;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}

.cta-dark .cta-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
}

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

.cta-dark .cta-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--dark) 0%, rgba(31, 38, 47, 0.55) 45%, rgba(31, 38, 47, 0) 100%);
}

.cta-dark .cta-inner {
    position: relative;
    z-index: 1;
    padding: 56px 56px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.cta-dark h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.cta-dark p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
    margin: 14px 0 0;
    max-width: 460px;
}

.cta-dark .cta-divider {
    align-self: stretch;
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
}

/* Tall variant with the button below the text (About), like the sample */
.cta-dark.cta-tall {
    background: linear-gradient(105deg, #1b2129 0%, #222a33 45%, #2a333e 100%);
}

.cta-dark.cta-tall .cta-inner {
    display: block;
    padding: 40px 60px;
    max-width: 520px;
}

.cta-dark.cta-tall h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.cta-dark.cta-tall p {
    font-size: 15px;
    max-width: 400px;
}

.cta-dark.cta-tall .btn-gold {
    margin-top: 24px;
}

.cta-dark.cta-tall .cta-media {
    width: 62%;
}

@media (min-width: 992px) {
    /* Soft fade from the dark panel into the photo, no hard edge */
    .cta-dark.cta-tall .cta-media::before {
        background: linear-gradient(90deg, #212932 0%, rgba(33, 41, 50, 0.75) 22%, rgba(33, 41, 50, 0.15) 55%, rgba(33, 41, 50, 0) 100%);
    }
}

/* Gold wedge: wide at the top, tapering and fading towards the bottom */
.cta-dark .cta-slash {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 38%;
    width: 150px;
    background: linear-gradient(170deg, #f6d57d 0%, #e3b24f 30%, rgba(214, 165, 65, 0.6) 65%, rgba(214, 165, 65, 0) 100%);
    clip-path: polygon(45% 0, 100% 0, 6% 100%, 0 100%);
    opacity: 0.95;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .cta-dark .cta-media {
        width: 100%;
    }

    .cta-dark .cta-media::before {
        background: linear-gradient(90deg, rgba(31, 38, 47, 0.95) 0%, rgba(31, 38, 47, 0.85) 60%, rgba(31, 38, 47, 0.7) 100%);
    }

    .cta-dark .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 48px 32px;
    }

    .cta-dark .cta-divider,
    .cta-dark .cta-slash {
        display: none;
    }

    .cta-dark.cta-tall .cta-inner {
        padding: 56px 32px;
    }
}

@media (max-width: 575.98px) {
    .cta-cream,
    .cta-dark .cta-inner,
    .cta-dark.cta-tall .cta-inner {
        padding: 40px 24px;
    }

    .cta-cream .btn-gold,
    .cta-dark .btn-gold {
        width: 100%;
    }
}

/* ---------- IT Support: product supply cards ---------- */

.supply-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    color: var(--ink);
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.supply-card .supply-img {
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
}

.supply-card .supply-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supply-card .supply-body {
    padding: 18px 22px 24px;
}

.supply-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.supply-card h3 i {
    color: var(--gold);
    font-size: 17px;
}

.supply-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 767.98px) {
    /* Two cards per row on phones: icon above the title so long words fit */
    .supply-card .supply-body {
        padding: 14px 14px 18px;
    }

    .supply-card h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 16px;
        line-height: 1.25;
        word-break: normal;
    }

    .supply-card p {
        font-size: 13.5px;
        line-height: 1.5;
    }
}

/* ---------- IT Support: process steps ---------- */

.process-head {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-bottom: 48px;
}

.process-head .section-lead {
    margin: 0;
    padding-left: 56px;
    border-left: 1px solid var(--line);
    max-width: 460px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    position: relative;
    background: var(--bg-soft);
    padding: 30px 44px 30px 36px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 0 0);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.step + .step {
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
    padding-left: 52px;
    border-radius: 0;
}

.step:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22px 50%);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    margin-right: 10px;
}

.step h3 {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}

.step p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {
    .process-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .process-head .section-lead {
        padding-left: 0;
        border-left: 0;
    }

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

    .step,
    .step + .step,
    .step:last-child {
        clip-path: none;
        border-radius: var(--radius-sm);
        padding: 28px 28px;
    }
}

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

/* ---------- Contact ---------- */

.contact-hero .page-hero-inner {
    padding-bottom: 150px;
}

.contact-cards {
    position: relative;
    z-index: 4;
    margin-top: -80px;
}

.contact-cards-inner {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 24px;
    color: var(--ink);
    min-width: 0;
}

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

.contact-card i {
    font-size: 30px;
    color: var(--gold);
    width: 40px;
    text-align: center;
    flex: 0 0 auto;
}

.contact-card h2,
.contact-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
}

.contact-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.contact-card:hover h2,
.contact-card:hover h3 {
    color: var(--gold-dark);
}

@media (max-width: 1199.98px) {
    .contact-cards-inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card + .contact-card {
        border-left: 0;
    }

    .contact-card:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .contact-card:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 575.98px) {
    .contact-cards {
        margin-top: -56px;
    }

    .contact-cards-inner {
        grid-template-columns: 1fr;
        padding: 6px 20px;
    }

    .contact-card {
        padding: 18px 0;
    }

    .contact-card:nth-child(even) {
        border-left: 0;
    }

    .contact-card + .contact-card {
        border-top: 1px solid var(--line);
    }
}

.office-visual {
    position: relative;
    height: 100%;
    min-height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
}

.office-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 30%;
}

.enquiry-types {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    background: rgba(251, 246, 236, 0.97);
    border-radius: var(--radius-sm);
    padding: 26px 28px;
    display: grid;
    gap: 22px;
    box-shadow: var(--shadow-hover);
}

.enquiry-types a,
.enquiry-types .enquiry-type {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    color: var(--ink);
}

.enquiry-types i {
    font-size: 26px;
    color: var(--gold);
    width: 34px;
    text-align: center;
    flex: 0 0 auto;
    margin-top: 2px;
}

.enquiry-types h3 {
    font-size: 15.5px;
    font-weight: 800;
    margin: 0 0 3px;
}

.enquiry-types p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
}


@media (max-width: 991.98px) {
    .office-visual {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .office-visual > img {
        position: static;
        border-radius: var(--radius);
        aspect-ratio: 4 / 3;
        object-position: 50% 38%;
    }

    .enquiry-types {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: -48px 16px 0;
    }
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 44px;
    height: 100%;
}

.form-card .section-title {
    margin-bottom: 32px;
}

.form-control,
.form-select {
    border: 1px solid #d9dde4;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 15px;
    color: var(--ink);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(208, 160, 64, 0.16);
}

textarea.form-control {
    min-height: 140px;
}

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

.form-label .req {
    color: #c0392b;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.75rem;
    font-size: 16px;
    border: 0;
}

.form-foot {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin: 16px 0 0;
}

.form-note {
    display: none;
    background: var(--gold-soft);
    border: 1px solid var(--line-gold);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--ink-2);
    margin-top: 16px;
}

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

@media (max-width: 575.98px) {
    .form-card {
        padding: 36px 22px;
    }
}

.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.office-info {
    position: relative;
}

.office-info .info-row {
    display: flex;
    gap: 18px;
    margin-top: 28px;
}

.office-info .info-row > i {
    font-size: 22px;
    color: var(--gold);
    width: 28px;
    text-align: center;
    margin-top: 3px;
    flex: 0 0 auto;
}

.office-info h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 6px;
}

.office-info p,
.office-info address,
.office-info td {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.office-info a {
    color: var(--ink-2);
}

.office-info a:hover {
    color: var(--gold-dark);
}

.office-info td {
    padding: 0 28px 0 0;
}

.office-info .ssm {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 88px;
    margin-top: var(--section-y);
    font-size: 15px;
}

.footer .brand-logo {
    height: 48px;
}

.footer-about {
    margin: 26px 0 0;
    line-height: 1.75;
    max-width: 360px;
}

.footer-ssm {
    margin: 14px 0 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer h4,
.footer .footer-h {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 22px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}

.footer a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--gold-2);
}

.footer-contact li {
    display: flex;
    gap: 14px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--gold-2);
    width: 18px;
    margin-top: 4px;
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .footer-col-line {
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        padding-left: 40px !important;
    }
}

.footer-bottom {
    margin-top: 72px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .container-xxl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
}

@media (max-width: 575.98px) {
    .footer {
        padding-top: 64px;
    }

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

/* Floating WhatsApp button */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1020;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.06);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}
