/* =========================================================
   Wadi Hiba Group — brand colors from logo & current site
   ========================================================= */
:root {
    --red: #D3000A;
    --red-dark: #A80008;
    --green: #006B2D;
    --green-dark: #004F21;
    --green-soft: #E6F2EA;
    --red-soft: #FCE8E9;
    --ink: #0F0D1D;
    --dark: #121315;
    --dark-2: #1E2023;
    --text: #585858;
    --muted: #6B7079; /* 4.5:1+ on white for small text */
    --line: #E4E8EE;
    --tint: #F5F7F5;
    --white: #FFFFFF;

    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px -12px rgba(15, 13, 29, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 13, 29, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --chrome: 128px; /* topbar (42) + header (86) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: #3d3d44; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #b9bcc3; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 10% 0%, rgba(0,107,45,.35), transparent 70%),
                radial-gradient(500px 300px at 95% 100%, rgba(211,0,10,.25), transparent 70%);
    pointer-events: none;
}
.section--dark > .container { position: relative; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--red);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff5a61; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split h2 { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(211,0,10,.7); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--green); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--glass { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--glass:hover { background: var(--white); color: var(--ink); }
.btn--outline-white { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--green); }
.btn--wa { background: #25D366; color: var(--white); }
.btn--wa:hover { background: #1da851; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--green); }
.link-arrow i { transition: transform .3s var(--ease); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #c4c7cd; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 10px; }
.topbar__info { display: flex; gap: 24px; align-items: center; }
.topbar i { color: #ff5a61; margin-right: 6px; }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
/* No backdrop-filter here: it would trap the fixed mobile nav inside the header */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: "Cinzel", Georgia, serif; font-weight: 700; }
.brand__name { font-size: 1.45rem; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.brand__name span { color: var(--green); }
.brand__group { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: .72rem; letter-spacing: .5em; margin-right: -.5em; color: var(--red); }
.brand__group::before, .brand__group::after { content: ""; width: 18px; height: 1.5px; background: var(--red); }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a:not(.btn) {
    position: relative; display: block; padding: 10px 16px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
    transition: color .25s;
}
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--green); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__call { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.header__call small { display: block; color: var(--muted); font-size: .78rem; }
.header__call strong { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.header__call-icon {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-soft); color: var(--green); font-size: 1.1rem;
}
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--white); transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* UAE-inspired stripe: green / white / black with red start */
.flag-stripe {
    position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, var(--red) 0 22%, var(--green) 22% 48%, var(--white) 48% 74%, #000 74% 100%);
}

/* ---------- Hero ---------- */
/* Fill the first screen: viewport minus topbar + header (--chrome) */
.hero {
    position: relative; color: #d9dbe0; overflow: hidden; background: var(--dark);
    min-height: calc(100vh - var(--chrome)); min-height: calc(100svh - var(--chrome));
    display: flex; align-items: center;
}
/* Hero slideshow: slides crossfade with a slow zoom; --flip mirrors a photo so its subject sits on the open right side */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
    --fx: 1;
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(calc(var(--fx) * 1.08), 1.08);
    transition: opacity 1.4s ease, transform 0s linear 1.4s; /* reset zoom only after it has faded out */
}
.hero__slide--flip { --fx: -1; }
.hero__slide.is-active { opacity: 1; transform: scale(var(--fx), 1); transition: opacity 1.4s ease, transform 8s ease-out; }
/* Overlay is its own layer so flipping a photo never flips the shading: dark behind the text (left), open on the right */
.hero__shade {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(10,12,14,.55) 0%, transparent 30%),
        linear-gradient(100deg, rgba(10,12,14,.95) 0%, rgba(10,12,14,.82) 38%, rgba(10,12,14,.35) 70%, rgba(0,50,22,.2) 100%);
}
.hero__dots { position: absolute; z-index: 2; bottom: 34px; right: max(20px, calc((100vw - 1240px) / 2 + 20px)); display: flex; gap: 10px; }
.hero__dot { position: relative; width: 34px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .4s var(--ease); }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.hero__dot::before { right: 0; background: rgba(255,255,255,.3); }
.hero__dot::after { width: 0; background: var(--red); }
.hero__dot.is-active { width: 70px; }
.hero__dot.is-active::after { animation: dotFill var(--slide-ms, 6000ms) linear forwards; }
.hero__dot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__dots.is-paused .hero__dot.is-active::after { animation: none; width: 100%; }
@keyframes dotFill { to { width: 100%; } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; padding-block: clamp(56px, 7vw, 90px); }
.hero h1 { color: var(--white); }
.hl-green { color: #2fd26a; }
.hl-red { color: #ff4148; }
.hero__content p { font-size: 1.12rem; max-width: 600px; color: #c6c9cf; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; }
.hero__trust i { color: #2fd26a; margin-right: 6px; }
.flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 14px 0 0 var(--green); margin-right: 14px; }
.eyebrow--light.eyebrow::before { display: none; }

.hero__card {
    background: rgba(14,16,18,.55); border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(14px); border-radius: 24px; padding: 30px; color: #d9dbe0;
    box-shadow: var(--shadow-lg);
}
.hero__card-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--white); margin-bottom: 22px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #2fd26a; box-shadow: 0 0 0 0 rgba(47,210,106,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(47,210,106,0); } 100% { box-shadow: 0 0 0 0 rgba(47,210,106,0); } }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.stat-row > div { background: rgba(255,255,255,.06); border-radius: 16px; padding: 18px; }
.stat-row strong, .stat-row span { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-row span { color: #ff4148; }
.stat-row small { display: block; margin-top: 6px; font-size: .82rem; color: #aab0b8; }
.hero__card-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .9rem; }
.hero__card-list li { display: flex; align-items: center; gap: 10px; }
.hero__card-list i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,107,45,.45); color: #7ef0a7; font-size: .8rem; }
.hero__card-call { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px; font-family: var(--font-head); font-weight: 700; transition: .3s; }
.hero__card-call:hover { background: var(--green); color: var(--white); }

/* Desktop: scale hero content with viewport height so it always fits one screen */
@media (min-width: 1025px) {
    .hero__inner { padding-block: clamp(24px, 5vh, 90px) clamp(60px, 8vh, 96px); gap: clamp(32px, 4vw, 56px); } /* extra bottom room for slide dots */
    .hero__dots { bottom: clamp(20px, 3vh, 34px); }
    .hero .eyebrow { margin-bottom: clamp(8px, 1.6vh, 14px); }
    .hero h1 { font-size: clamp(2rem, min(4.4vw, 6.2vh), 3.9rem); margin-bottom: clamp(10px, 2.2vh, 22px); }
    .hero__content p { font-size: clamp(.95rem, 2vh, 1.12rem); line-height: 1.6; margin: 0; }
    .hero__actions { margin: clamp(16px, 3.6vh, 34px) 0 clamp(14px, 3vh, 30px); }
    .hero__actions .btn--lg { padding: clamp(11px, 1.8vh, 16px) clamp(22px, 2.2vw, 30px); }
    .hero__card { padding: clamp(18px, 3.2vh, 30px); }
    .hero__card-head { margin-bottom: clamp(12px, 2.2vh, 22px); }
    .stat-row { margin-bottom: clamp(12px, 2.2vh, 22px); }
    .stat-row > div { padding: clamp(12px, 2vh, 18px); }
    .stat-row strong, .stat-row span { font-size: clamp(1.6rem, 4vh, 2.2rem); }
    .hero__card-list { gap: clamp(6px, 1.2vh, 10px); margin-bottom: clamp(12px, 2.2vh, 22px); }
    .hero__card-call { padding: clamp(10px, 1.6vh, 14px); }
}
@media (min-width: 1025px) and (max-height: 640px) {
    .hero__trust { display: none; }
}

/* ---------- Services ---------- */
.tabs { display: inline-flex; background: var(--tint); padding: 6px; border-radius: 999px; gap: 4px; }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: .25s; }
.tab.is-active { background: var(--ink); color: var(--white); }
.tab:not(.is-active):hover { color: var(--green); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card.is-hidden { display: none; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover .link-arrow i { transform: translateX(5px); }
.svc-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.svc-card__body { position: relative; padding: 38px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-card__body p { font-size: .95rem; flex: 1; }
.svc-card__icon {
    position: absolute; top: -28px; right: 24px; width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; background: var(--green); color: var(--white); font-size: 1.3rem;
    box-shadow: 0 10px 20px -8px rgba(0,107,45,.7); transition: background .3s, transform .4s var(--ease);
}
.svc-card:hover .svc-card__icon { background: var(--red); transform: rotate(-8deg); }
.svc-card h3 { transition: color .3s; }
.svc-card:hover h3 { color: var(--green); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img-main { border-radius: 24px; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.about__img-sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.section--tint .about__img-sub { border-color: var(--tint); }
.about__badge {
    position: absolute; top: 30px; left: -20px; background: var(--red); color: var(--white);
    padding: 20px 24px; border-radius: 18px; max-width: 200px; box-shadow: 0 20px 40px -15px rgba(211,0,10,.6);
}
.about__badge strong, .about__badge span { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about__badge small { display: block; font-size: .82rem; margin-top: 6px; opacity: .9; line-height: 1.4; }
.vm { display: grid; gap: 18px; margin: 28px 0 32px; }
.vm__item { display: flex; gap: 18px; padding: 20px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.vm__item h4 { margin-bottom: 4px; }
.vm__item p { margin: 0; font-size: .95rem; }
.vm__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; }
.vm__icon--green { background: var(--green-soft); color: var(--green); }
.vm__icon--red { background: var(--red-soft); color: var(--red); }

/* ---------- CEO (home card) ---------- */
.ceo-card {
    display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden;
    background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.ceo-card__media { position: relative; min-height: 420px; }
.ceo-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.ceo-card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, var(--green) 25% 100%); }
.ceo-card__body { position: relative; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.ceo-card__q { position: absolute; top: 30px; right: 40px; font-size: 5rem; color: var(--green-soft); }
.ceo-card blockquote { position: relative; margin: 6px 0 30px; font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.ceo-card .link-arrow { margin-top: 26px; }
.ceo-card .link-arrow:hover i { transform: translateX(5px); }
.ceo-sign { display: flex; align-items: center; gap: 16px; }
.ceo-sign__line { width: 44px; height: 3px; border-radius: 2px; background: var(--red); flex: none; }
.ceo-sign strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.ceo-sign small { color: var(--muted); font-size: .9rem; }
.ceo-sign--light strong { color: var(--white); }
.ceo-sign--light small { color: #9aa0a8; }

/* ---------- CEO (about page) ---------- */
#ceo, #ceo-message { scroll-margin-top: 86px; } /* clear the sticky header on anchor jumps */
.ceo__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.ceo__media { position: relative; padding: 0 0 40px 30px; }
.ceo__media::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 0; width: 70%; border-radius: 24px; background: linear-gradient(160deg, var(--green), var(--green-dark)); }
.ceo__frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.ceo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.ceo__badge { position: absolute; right: -16px; bottom: 0; background: var(--red); color: var(--white); padding: 18px 26px; border-radius: 16px; box-shadow: 0 20px 40px -15px rgba(211,0,10,.6); }
.ceo__badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.ceo__badge small { opacity: .9; }
.ceo__quote { margin: 0 0 26px; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.55; color: var(--white); }
.ceo__content p { color: #b9bcc3; }
.ceo__content .ceo-sign { margin-top: 30px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
    position: relative; padding: 34px 28px; border-radius: var(--radius);
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
    transition: transform .4s var(--ease), background .4s, border-color .4s; overflow: hidden;
}
.why-card:hover { transform: translateY(-6px); background: var(--green); border-color: var(--green); }
.why-card:hover p { color: #dcefe3; }
.why-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: rgba(255,255,255,.07); }
.why-card__icon { font-size: 1.6rem; color: #ff4148; margin-bottom: 22px; display: block; transition: color .3s; }
.why-card:hover .why-card__icon { color: var(--white); }
.why-card p { margin: 0; font-size: .95rem; transition: color .3s; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 2px dashed var(--line); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps span {
    position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px;
    border-radius: 50%; background: var(--white); border: 2px solid var(--green); color: var(--green);
    font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; transition: .3s;
}
.steps li:hover span { background: var(--red); border-color: var(--red); color: var(--white); }
.steps p { font-size: .94rem; margin: 0; }

/* ---------- Testimonials ---------- */
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: .3s; }
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { margin: 0; scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.testi:nth-child(2n) { border-top-color: var(--red); }
.testi__stars { color: #f5a623; font-size: .85rem; letter-spacing: 3px; margin-bottom: 16px; }
.testi blockquote { margin: 0 0 26px; flex: 1; color: #3d3d44; font-size: 1rem; }
.testi figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); }
.testi figcaption small { color: var(--muted); font-size: .85rem; }
.testi__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 700; }
.testi__q { margin-left: auto; font-size: 1.8rem; color: var(--green-soft); }

/* ---------- Contact strip / info cards ---------- */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-cards--stack { grid-template-columns: 1fr; margin-top: 30px; }
.info-card {
    display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--radius);
    background: var(--tint); border: 1px solid transparent; transition: .35s var(--ease); word-break: break-word;
}
.info-cards--stack .info-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 20px; }
.info-cards--stack .info-card__icon { grid-row: span 2; margin: 0; }
a.info-card:hover { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.info-card--wide { grid-column: 1 / -1; }
.info-card small { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-card strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.info-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: var(--white); font-size: 1.1rem; margin-bottom: 14px; }
.info-card__icon--red { background: var(--red); }
.info-card__icon--dark { background: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--green-dark) 0%, var(--green) 60%, #0a8a3f 100%); color: #d6ecde; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #a4a8b0; padding-top: 80px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { height: 88px; width: auto; background: var(--white); border-radius: 14px; padding: 8px 12px; margin-bottom: 20px; }
.footer h4 { color: var(--white); margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--green) 50%); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .25s, padding .25s; }
.footer ul a:hover { color: var(--white); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact i { color: #ff4148; margin-top: 6px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--white); transition: .3s; }
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--white); }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white); font-size: 1.8rem; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--dark); overflow: hidden; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,12,14,.92), rgba(0,60,25,.75)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.3rem); }
.crumbs { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--white); font-size: .92rem; }
.crumbs i { font-size: .65rem; color: #ff4148; }
.crumbs a:hover { color: #7ef0a7; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.detail__side { position: sticky; top: 110px; display: grid; gap: 24px; }
.side-box { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: var(--white); border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); transition: .25s; }
.side-list a i { font-size: .75rem; color: var(--muted); transition: .25s; }
.side-list a:hover, .side-list a.is-active { background: var(--green); color: var(--white); }
.side-list a:hover i, .side-list a.is-active i { color: var(--white); }
.side-box--cta { background: var(--red); color: #ffe1e2; text-align: center; }
.side-box--cta > i { font-size: 2.2rem; color: var(--white); margin-bottom: 14px; }
.side-box--cta h4 { color: var(--white); }
.detail__img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; }
.detail__main h3 { margin-top: 32px; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--tint); border-radius: 12px; color: var(--ink); font-weight: 500; }
.check-list i { color: var(--green); }
.check-list--2 { margin-top: 24px; }
.check-list--2 li { background: transparent; padding: 0; }
.detail__cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius); background: var(--dark); }
.detail__cta strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.2rem; }
.detail__cta span { color: #aab0b8; }

/* ---------- About page ---------- */
.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { padding: 44px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.vm-card > i { font-size: 1.6rem; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; }
.vm-card--green > i { background: var(--green); color: var(--white); }
.vm-card--red > i { background: var(--red); color: var(--white); }
.vm-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; }
.vm-card--green::after { background: var(--green); }
.vm-card--red::after { background: var(--red); }
.vm-card p { margin: 0; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.counters strong, .counters span { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; color: var(--white); line-height: 1; }
.counters span { color: #ff4148; }
.counters small { display: block; margin-top: 10px; font-size: .95rem; }
.counters > div { padding: 20px; border-right: 1px solid rgba(255,255,255,.1); }
.counters > div:last-child { border-right: 0; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); border-top: 5px solid var(--red); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.form input, .form select, .form textarea {
    width: 100%; font: inherit; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--ink);
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); transition: .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(0,107,45,.1); }
.form textarea { resize: vertical; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.alert i { margin-top: 5px; }
.alert--ok { background: var(--green-soft); color: var(--green-dark); }
.alert--err { background: var(--red-soft); color: var(--red-dark); }
.alert a { text-decoration: underline; font-weight: 600; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- Reveal animation ---------- */
/* Only hide when JS is running, so content is never lost without it */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .hero :focus-visible, .footer :focus-visible, .cta-band :focus-visible { outline-color: #7ef0a7; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero__slide, .hero__slide.is-active { transition: opacity .6s ease; transform: scale(var(--fx), 1); }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .header__call { display: none; }
}
@media (max-width: 1024px) {
    .hide-md { display: none !important; }
    .burger { display: flex; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--white); z-index: 200;
        padding: 100px 28px 28px; display: flex; flex-direction: column; gap: 24px;
        /* hidden (no shadow bleed, not tabbable) until opened */
        transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
    }
    .nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.2); }
    .nav ul { flex-direction: column; gap: 0; }
    .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav a:not(.btn)::after { display: none; }
    .nav__cta { display: inline-flex; }
    .burger { position: relative; z-index: 210; }
    body.nav-open { overflow: hidden; }
    .footer__bottom { padding-bottom: 72px; } /* keep text clear of the floating WhatsApp button */
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,12,14,.5); z-index: 95; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__card { max-width: 520px; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    /* odd card out: span both columns with image beside text */
    .svc-card.is-orphan { grid-column: 1 / -1; flex-direction: row; }
    .svc-card.is-orphan .svc-card__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 260px; }
    .svc-card.is-orphan .svc-card__body { padding-top: 32px; }
    .svc-card.is-orphan .svc-card__icon { top: 24px; right: 24px; }
    .svc-card.is-orphan h3 { padding-right: 70px; }
    .about__media { max-width: 600px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .steps::before { display: none; }
    .about, .contact, .ceo__inner { grid-template-columns: 1fr; }
    .ceo-card { grid-template-columns: 1fr; }
    .ceo-card__media { min-height: 0; aspect-ratio: 16 / 11; }
    .ceo__media { max-width: 560px; }
    .testi-track { grid-auto-columns: calc((100% - 28px) / 2); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .detail { grid-template-columns: 1fr; }
    .detail__side { position: static; order: 2; }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .counters > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 680px) {
    .hide-sm { display: none !important; }
    .topbar__inner { justify-content: center; }
    .topbar__info { gap: 16px; }
    :root { --chrome: 116px; }
    .header__inner { height: 74px; }
    .brand img { height: 54px; }
    .svc-grid, .why-grid, .steps, .info-cards, .vm-cards, .check-list, .form__row, .footer__grid { grid-template-columns: 1fr; }
    .svc-card.is-orphan { flex-direction: column; }
    .svc-card.is-orphan .svc-card__media { flex: none; aspect-ratio: 16 / 11; min-height: 0; }
    .svc-card.is-orphan .svc-card__body { padding-top: 38px; }
    .svc-card.is-orphan .svc-card__icon { top: -28px; }
    .svc-card.is-orphan h3 { padding-right: 0; }
    .testi-track { grid-auto-columns: 88%; }
    .tabs { width: 100%; overflow-x: auto; }
    .tab { flex: 1; padding: 10px 8px; font-size: .84rem; white-space: nowrap; }
    .about__media { padding: 0 30px 40px 0; }
    .about__badge { left: -6px; top: 16px; padding: 14px 18px; }
    .about__badge strong, .about__badge span { font-size: 1.8rem; }
    .hero__actions .btn { flex: 1; }
    .vm-card { padding: 30px; }
    .ceo-card__q { font-size: 3.5rem; top: 20px; right: 24px; }
    .ceo__media { padding: 0 0 36px 16px; }
    .ceo__badge { right: 0; padding: 14px 20px; }
    .counters > div { border-right: 0; }
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found__code { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--red); letter-spacing: -.04em; }
.not-found__code span { color: var(--green); }
.not-found p { max-width: 460px; margin: 0 auto 30px; }
.not-found__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Industries strip (under hero) ---------- */
.industries { display: flex; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.industries__label {
    flex: none; display: flex; align-items: center; padding: 0 28px 0 max(20px, calc((100vw - 1240px) / 2 + 20px));
    background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .82rem;
    letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; position: relative; z-index: 1;
}
.industries__label::after { content: ""; position: absolute; right: -18px; top: 0; bottom: 0; width: 18px; background: var(--green); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.marquee { display: flex; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__list { display: flex; flex: none; gap: 44px; margin: 0; padding: 22px 22px 22px 44px; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__list { animation-play-state: paused; }
.marquee__list li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); }
.marquee__list i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: .95rem; }
.marquee__list li:nth-child(even) i { background: var(--red-soft); color: var(--red); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee__list { animation: none; }
    .marquee { overflow-x: auto; }
}

/* ---------- Client logos ---------- */
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.clients__grid li { display: grid; place-items: center; height: 100px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: .3s; }
.clients__grid img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .3s; }
.clients__grid li:hover { border-color: transparent; box-shadow: var(--shadow); }
.clients__grid li:hover img { filter: none; opacity: 1; }

/* ---------- Responsive for the above + brand/hero ---------- */
@media (max-width: 1024px) {
    /* single column: text sits over the whole photo, so keep it evenly dark */
    .hero__inner { padding-bottom: 84px; }
    .hero__dots { right: auto; left: 20px; bottom: 30px; }
    .hero__shade { background: linear-gradient(180deg, rgba(10,12,14,.9) 0%, rgba(10,12,14,.78) 60%, rgba(10,12,14,.9) 100%); }
}
@media (max-width: 680px) {
    .brand img { height: 40px; }
    .brand__name { font-size: 1.15rem; }
    .brand__group { font-size: .62rem; margin-top: 4px; }
    .brand__group::before, .brand__group::after { width: 12px; }
    /* shorter hero on phones: keep stats + call button, drop the trade list */
    .hero__card-list { display: none; }
    .hero__card { padding: 20px; }
    .hero__card-head { margin-bottom: 14px; }
    .stat-row { margin-bottom: 14px; }
    .stat-row strong, .stat-row span { font-size: 1.8rem; }
    .hero__inner { gap: 32px; padding-block: 48px 80px; }
    .hero__actions { margin: 26px 0 22px; }
    .industries__label { padding-inline: 16px; font-size: .72rem; }
    .marquee__list { gap: 30px; padding-block: 16px; animation-duration: 30s; }
    .marquee__list li { font-size: .9rem; }
    .marquee__list i { width: 32px; height: 32px; }
}
.info-card__icon--wa { background: #25D366; font-size: 1.35rem; }
