/* =====================================
   TSK ONEIT - COMPLETE CSS
   navy #14243B | gold #D5A32C | text #52677D
   cards #E8EDF3 | footer #0C1729
===================================== */

:root {
    --navy: #14243B;
    --gold: #D5A32C;
    --gold-light: #F3D98B;
    --slate: #52677D;
    --card: #E8EDF3;
    --soft: #F4F7FA;
    --edge: #D5DFEA;
    --foot: #0C1729;
    --panel: #E8EDF3;
    --line: #D5DFEA;
    --sky: #60a5fa;
    --cyan: #22d3ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: var(--slate);
    line-height: 1.6;
    animation: pageIn 0.8s ease;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--navy); }

h2, h3 { color: var(--navy); }

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header ---------- */

header,
header.scrolled {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--card);
    box-shadow: 0 4px 18px #14243b14;
    transition: 0.3s;
}

.navbar {
    max-width: 1400px;
    margin: auto;
    padding: 15px 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 135px;
    height: 82px;
    object-fit: contain;
    display: block;
    background: white;
    border-radius: 8px;
    padding: 2px 6px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }

.nav-links a:not(.btn) {
    color: black;
    font-weight: 500;
    font-size: 17px;
    position: relative;
    transition: 0.3s;
}

.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:not(.btn):hover,
.nav-links a.active { color: blue; }

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    font-size: 26px;
    cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--gold);
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #d5a32c66; }

.btn.ghost { background: #2563eb; color: #ffffff; border-color: #2563eb; }

.btn.ghost:hover { background: #1d4ed8; box-shadow: 0 12px 28px #2563eb66; }

.btn.wa { background: #16a34a; color: white; }

/* row of three buttons placed between sections */

.cta-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 34px 7%;
    background: #ffffff;
}

.cta-band + .split { margin-top: 20px; }

#automation .cta-band { background: transparent; padding: 50px 0 0; }

/* =====================================
   HERO: PICTURE SLIDER (slides in from the right)
===================================== */

.hero {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--header-h, 104px));
    height: calc(108svh - var(--header-h, 104px));
    min-height: 280px;
    background: var(--navy);
    color: #ffffff;
}

.hero::before { display: none; }

.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: var(--navy);
}

.hero-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide.active { transform: translateX(0); z-index: 2; }

.hero-slide.leaving { transform: translateX(-100%); z-index: 1; }

.hero-slide.no-anim { transition: none; }

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
    transform: scale(1);
}

.hero-arrow {
    position: absolute;
    top: 45%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ffffff40;
    background: #14243bb3;
    color: white;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
}

.hero-arrow.prev { left: 22px; }

.hero-arrow.next { right: 22px; }

.hero-arrow:hover {
    background: var(--gold);
    color: var(--navy);
    transform: scale(1.12);
}

.hero-ui {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-caption {
    padding: 7px 18px;
    border-radius: 30px;
    background: #14243bb3;
    color: #ffffff;
    border: 1px solid #ffffff30;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-caption.swap { animation: capIn 0.6s ease; }

@keyframes capIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.hero-dots { display: flex; gap: 8px; }

.hero-dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 10px;
    background: #ffffff55;
    cursor: pointer;
    transition: 0.4s;
}

.hero-dots button.on { width: 36px; background: var(--gold); }

/* ---------- stats ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px 7%;
    background: #ffffff;
    border-bottom: 1px solid var(--card);
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--gold);
}

.stat span { color: var(--slate); font-size: 14px; }

/* ---------- sections ---------- */

.section { padding: 100px 7%; }

.section.alt { background: var(--soft); }

#device { background: var(--soft); }

#it-support { background: #ffffff; }

#business { background: var(--soft); }

#industries { background: #ffffff; }

#about { background: var(--soft); }

#contact { background: #ffffff; }

#automation { background: var(--navy); }

.eyebrow {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.head { max-width: 720px; margin: 0 auto 50px; text-align: center; }

.head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--navy);
}

.head p { color: var(--slate); }

#automation .head h2,
#automation .copy h3 { color: #ffffff; }

#automation .head p,
#automation .copy .sub { color: #cbd5e1; }

/* ---------- zigzag: picture + content ---------- */

.split {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split + .split { margin-top: 90px; }

.split.flip .pic { order: 2; }

.pic {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #d5a32c80;
    background: linear-gradient(135deg, #0f1a40, #0b2a4a);
    box-shadow: 0 24px 50px #14243b4d;
    transition: box-shadow 0.4s;
}

.pic:hover { box-shadow: 0 28px 60px #d5a32c4d; }

.pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, #060b1acc);
    pointer-events: none;
    z-index: 1;
}

.pic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 4s linear;
}

.pic img.on { opacity: 1; transform: scale(1.1); }

.pic-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 16px;
    border-radius: 30px;
    background: #14243bcc;
    color: #ffffff;
    border: 1px solid var(--gold);
    font-size: 14px;
    font-weight: 600;
    animation: bob 4s ease-in-out infinite;
}

@keyframes bob { 50% { transform: translateY(-6px); } }

.dots {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    gap: 7px;
}

.dots span {
    width: 9px;
    height: 9px;
    border-radius: 9px;
    background: #ffffff66;
    transition: 0.4s;
}

.dots span.on { width: 28px; background: var(--gold); }

.copy .eyebrow { margin-bottom: 10px; }

.copy h2,
.copy h3 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--navy);
}

.copy .sub { color: var(--slate); }

.svc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0 28px;
}

.svc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--card);
    color: var(--navy);
    border: 1px solid var(--edge);
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    transition: 0.3s;
}

.svc-list li i {
    font-style: normal;
    font-size: 20px;
    transition: transform 0.4s;
}

.svc-list li:hover {
    transform: translateX(6px);
    background: #ffffff;
    border-color: var(--gold);
}

.svc-list li:hover i { transform: scale(1.25) rotate(-8deg); }

/* ---------- industries ---------- */

#industries { overflow: hidden; }

.chips {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.chip {
    padding: 12px 22px;
    background: var(--card);
    color: var(--navy);
    border: 1px solid var(--edge);
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s;
}

.chip:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }

/* ---------- why choose us ---------- */

.why-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-item {
    padding: 24px;
    background: var(--card);
    color: var(--navy);
    border: 1px solid var(--edge);
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.why-item::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 800; }

.why-item:hover { background: #ffffff; border-color: var(--gold); transform: translateY(-5px); }

/* ---------- contact ---------- */

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.info,
form {
    padding: 32px;
    border-radius: 16px;
}

.info {
    background: var(--navy);
    border: 1px solid var(--navy);
}

.info h3 { font-size: 22px; margin-bottom: 16px; color: var(--gold); }

.info p { margin-bottom: 10px; color: #cbd5e1; }

.info p a { color: var(--gold-light); }

.info .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 0;
}

form {
    display: grid;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--card);
    box-shadow: 0 16px 40px #14243b1a;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    color: var(--navy);
    border: 1px solid var(--edge);
    border-radius: 10px;
    font: inherit;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px #d5a32c33;
}

textarea { min-height: 120px; resize: vertical; }

.map { max-width: 1100px; margin: 28px auto 0; }

.map iframe {
    width: 100%;
    height: 320px;
    border: 1px solid var(--card);
    border-radius: 16px;
}

/* ---------- footer ---------- */

footer {
    background: var(--foot);
    text-align: center;
    padding: 40px 15px;
    border-top: 3px solid var(--gold);
}

footer h2 { color: #ffffff; }

footer h2 span { color: var(--gold); }

footer p { margin-top: 8px; color: #cbd5e1; }

footer p a { color: var(--gold-light); }

footer p a:hover { text-decoration: underline; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }

.reveal[data-from="left"] { transform: translateX(-70px); }

.reveal[data-from="right"] { transform: translateX(70px); }

.reveal.show { opacity: 1; transform: none; }

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

@media (max-width: 900px) {

    .menu-btn { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 22px;
        background: #ffffff;
        border-bottom: 1px solid var(--card);
    }

    .nav-links.open { display: flex; }

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

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

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

    .section { padding: 70px 6%; }

    .hero-arrow { display: none; }

    /* phones: the hero follows the shape of the picture */
    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: var(--hero-ratio, 1.7778);
    }

    .split { grid-template-columns: 1fr; gap: 34px; }

    .split.flip .pic { order: 0; }

    .split + .split { margin-top: 70px; }
}

@media (max-width: 520px) {
    .why-grid { grid-template-columns: 1fr; }
    .svc-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* =====================================
   SERVICE ROWS: PICTURE + CONTENT (LEFT / RIGHT)
===================================== */

.split + .split { margin-top: 70px; }

.sub-head + .split { margin-top: 0; }

.sub-head {
    max-width: 760px;
    margin: 80px auto 44px;
    text-align: center;
}

.head + .sub-head { margin-top: 0; }

.sub-head h3 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--navy);
}

#automation .sub-head h3 { color: #ffffff; }

/* big outlined number behind the content */

.copy { position: relative; }

.copy > * { position: relative; z-index: 1; }

.copy::before {
    content: attr(data-num);
    position: absolute;
    top: -44px;
    right: 0;
    z-index: 0;
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #d5a32c66;
    animation: floatNum 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatNum { 50% { transform: translateY(-10px); } }

.copy h3.row-title {
    font-size: clamp(22px, 2.6vw, 32px);
    margin-bottom: 10px;
}

/* gold line that draws itself under the title */

.copy h3.row-title::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background: var(--gold);
    transition: width 0.8s ease 0.4s;
}

.split.in .copy h3.row-title::after { width: 70px; }

.row-desc { color: var(--slate); }

#automation .row-desc { color: #cbd5e1; }

.svc-list.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 22px;
}

/* service tags pop in one after another */

.split.in .svc-list li {
    animation: popTag 0.5s ease backwards;
    animation-delay: calc(var(--i, 0) * 0.12s + 0.4s);
}

@keyframes popTag {
    from { opacity: 0; transform: translateY(16px) scale(0.92); }
    to { opacity: 1; transform: none; }
}

.more {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    transition: 0.3s;
}

.more:hover { letter-spacing: 1px; }

/* shine sweeps over the picture on hover */

.pic::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, #ffffff55, transparent);
    transform: skewX(-20deg);
    z-index: 2;
    pointer-events: none;
}

.pic:hover::before { animation: picShine 0.9s ease; }

@keyframes picShine { to { left: 130%; } }

/* single picture: no dots needed */

.dots:has(span:only-child) { display: none; }


/* =====================================
   CONTACT FORM MESSAGE
===================================== */

.form-status {
    min-height: 1.4em;
    font-size: 14px;
    font-weight: 600;
}

.form-status.ok { color: #15803d; }

.form-status.err { color: #b91c1c; }

form .btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

/* =====================================
   MOBILE: ALL FIVE STATS IN ONE ROW
===================================== */

@media (max-width: 900px) {

    .stats {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 6px;
        padding: 22px 3%;
        overflow: visible;
    }

    .stat {
        min-width: 0;
        padding: 0;
    }

    .stat strong {
        font-size: clamp(11px, 3.4vw, 24px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .stat span {
        display: block;
        margin-top: 4px;
        font-size: clamp(9px, 2.4vw, 13px);
        line-height: 1.3;
    }

    .stat.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =====================================
   SPEED: LESS WORK FOR THE PHONE / BROWSER
===================================== */

.pic-tag { animation: none; }

.copy::before { animation: none; }

.split.in .pic-tag { animation: bob 4s ease-in-out infinite; }

.split.in .copy::before { animation: floatNum 5s ease-in-out infinite; }

@media (max-width: 900px) {

    .split.in .pic-tag,
    .split.in .copy::before { animation: none; }
}


/* =====================================
   MODERN BUTTONS (call, whatsapp, book)
===================================== */

.cta-band { gap: 16px; padding: 44px 7%; }

.btn {
    --glow: 213 163 44;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #D5A32C, #F3D98B 55%, #D5A32C);
    background-size: 200% 200%;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 22px rgb(var(--glow) / 0.38);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s, background-position 0.5s;
}

.btn.ghost {
    --glow: 37 99 235;
    background: linear-gradient(135deg, #2563eb, #38bdf8 60%, #2563eb);
    background-size: 200% 200%;
    color: #ffffff;
}

.btn.wa {
    --glow: 22 163 74;
    background: linear-gradient(135deg, #16a34a, #4ade80 60%, #16a34a);
    background-size: 200% 200%;
    color: #ffffff;
}

.btn:hover,
.btn.ghost:hover,
.btn.wa:hover {
    transform: translateY(-4px) scale(1.04);
    background-position: 100% 0;
    box-shadow: 0 16px 34px rgb(var(--glow) / 0.6);
}

.btn.ghost:hover { background: linear-gradient(135deg, #2563eb, #38bdf8 60%, #2563eb); background-size: 200% 200%; background-position: 100% 0; }

.btn:active { transform: translateY(-1px) scale(0.97); }

/* light that sweeps across every button */

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-170%) skewX(-20deg);
    animation: btnShine 3.6s ease-in-out infinite;
    pointer-events: none;
}

.btn.wa::after { animation-delay: 1.2s; }

.btn.ghost::after { animation-delay: 2.4s; }

@keyframes btnShine {
    0%, 55% { transform: translateX(-170%) skewX(-20deg); }
    100% { transform: translateX(300%) skewX(-20deg); }
}

/* icons */

.btn .ico {
    width: 20px;
    height: 20px;
    flex: none;
    transition: transform 0.3s;
}

.btn:hover .ico { transform: scale(1.2) rotate(-8deg); }

.btn.ghost .ico { animation: phoneRing 3.2s ease-in-out infinite; }

.btn.wa .ico { animation: chatPulse 2s ease-in-out infinite; }

@keyframes phoneRing {
    0%, 60%, 100% { transform: rotate(0); }
    64%, 72%, 80% { transform: rotate(-16deg); }
    68%, 76%, 84% { transform: rotate(16deg); }
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

/* click ripple */

.ripple {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    animation: btnRipple 0.6s linear;
    pointer-events: none;
}

@keyframes btnRipple { to { transform: scale(3.5); opacity: 0; } }

.btn:disabled::after { animation: none; }


/* =====================================
   NAV BAR: MORE ATTRACTIVE
===================================== */

/* thin moving gold line along the bottom of the bar */

header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, #D5A32C, #F3D98B, #2563eb, #D5A32C);
    background-size: 200% 100%;
    animation: navLine 8s linear infinite;
    pointer-events: none;
}

@keyframes navLine { to { background-position: 200% 0; } }

header.scrolled { box-shadow: 0 14px 36px #14243b29; }

.logo img { transition: transform 0.3s; }

.logo:hover img { transform: scale(1.05); }

/* links */

.nav-links { position: relative; gap: 6px; }

.nav-links > a:not(.btn) {
    position: relative;
    z-index: 1;
    padding: 10px 16px;
    border-radius: 40px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.nav-links > a:not(.btn):hover,
.nav-links > a.active {
    color: var(--navy);
}

/* gold highlight that slides from link to link (added by the script) */

.nav-pill {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 46px;
    margin-top: -23px;
    border-radius: 40px;
    background: linear-gradient(135deg, #d5a32c33, #f3d98b80);
    border: 1px solid #d5a32c66;
    box-shadow: 0 6px 16px #d5a32c33;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1), width 0.35s, opacity 0.25s;
}

.nav-links.has-pill > a:not(.btn)::after { display: none; }

/* Contact Us: a plain link styled as an outlined button, fills with gold */

.nav-links > a.menu-trigger {
    margin-left: 8px;
    border: 1.5px solid var(--gold);
    background: #d5a32c14;
    text-align: center;
}

.nav-links > a.menu-trigger::after { display: none; }

.nav-links > a.menu-trigger:hover,
.nav-links > a.menu-trigger.active {
    color: var(--navy);
    background: linear-gradient(135deg, #D5A32C, #F3D98B);
    box-shadow: 0 8px 20px #d5a32c55;
}

/* smaller laptop screens */

@media (max-width: 1100px) {

    .nav-links { gap: 2px; }

    .nav-links > a:not(.btn) {
        padding: 9px 11px;
        font-size: 14.5px;
    }

    .nav-links > a.menu-trigger { margin-left: 4px; }
}

/* phones and tablets: simple list, no sliding highlight */

@media (max-width: 900px) {

    .nav-pill { display: none; }

    .nav-links {
        align-items: stretch;
        gap: 4px;
    }

    .nav-links > a:not(.btn) {
        padding: 13px 16px;
        border-radius: 12px;
        font-size: 16px;
    }

    .nav-links > a.active { background: #d5a32c26; }

    .nav-links > a.menu-trigger { margin: 6px 0 0; }
}


/* =====================================
   TIGHTER SPACING: STATS STRIP + START OF DEVICE CARE
===================================== */

#device { padding-top: 56px; }

#device .head { margin-bottom: 36px; }

@media (min-width: 901px) {

    .stats {
        padding: 22px 7%;
        gap: 0;
    }

    .stat { padding: 4px 10px; }

    .stat + .stat { border-left: 1px solid var(--edge); }

    .stat strong {
        font-size: 26px;
        line-height: 1.2;
    }

    .stat span {
        font-size: 13.5px;
        line-height: 1.4;
    }
}


/* =====================================
   MODERN "ENQUIRE NOW" BUTTON
===================================== */

.more {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 22px;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    background: #d5a32c14;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s, color 0.3s;
}

/* gold fills the button from the left on hover */

.more::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #D5A32C, #F3D98B);
    transform: translateX(-101%);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.more .arr {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 7px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    animation: arrowNudge 1.8s ease-in-out infinite;
    transition: background 0.3s, color 0.3s;
}

@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.more:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px #d5a32c59;
    letter-spacing: 0.2px;
}

.more:hover::before { transform: none; }

.more:hover .arr {
    background: var(--navy);
    color: #ffffff;
    animation: none;
    transform: translateX(3px);
}

.more:active { transform: translateY(-1px) scale(0.97); }

/* on the dark Automation section (home page) */

#automation .more { color: #ffffff; }

#automation .more:hover { color: var(--navy); }


/* =====================================
   MOBILE MENU: COMPACT + SAME LOOK AS DESKTOP
===================================== */

@media (max-width: 900px) {

    .navbar { padding: 8px 16px; }

    .logo img {
        width: 96px;
        height: 56px;
        padding: 0;
    }

    .menu-btn {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        font-size: 24px;
        line-height: 1;
        border-radius: 50%;
        background: var(--soft);
        border: 1px solid var(--edge);
    }

    /* menu panel: fits the screen, scrolls if needed */
    .nav-links {
        padding: 10px 14px 16px;
        gap: 4px;
        align-items: stretch;
        max-height: calc(100svh - var(--header-h, 72px));
        overflow-y: auto;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px #14243b26;
    }

    /* links: left-aligned, compact rows */
    .nav-links > a:not(.btn) {
        display: block;
        text-align: left;
        padding: 12px 16px;
        font-size: 15.5px;
        border-radius: 12px;
    }

    .nav-links > a:not(.btn)::after { display: none !important; }

    /* active link: cream + gold pill */
    .nav-links > a.active {
        color: var(--navy);
        background: linear-gradient(135deg, #d5a32c33, #f3d98b80);
        box-shadow: inset 0 0 0 1px #d5a32c66;
    }

    /* Contact Us: full-width gold button */
    .nav-links > a.menu-trigger {
        text-align: center;
        margin: 8px 0 0;
        padding: 13px 16px;
        border: 0;
        background: linear-gradient(135deg, #D5A32C, #F3D98B);
        box-shadow: 0 6px 16px #d5a32c55;
    }
}


/* =====================================
   CATEGORY PAGES (Device Care, Home Automation,
   IT Services, Business Solutions)
===================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 7% 56px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #1f3d63);
    border-bottom: 3px solid var(--gold);
}

.page-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, #d5a32c40, transparent 70%);
    pointer-events: none;
}

.page-hero > * { position: relative; }

.page-hero .crumbs {
    margin-bottom: 18px;
    font-size: 14px;
    color: #cbd5e1;
}

.page-hero .crumbs a { color: var(--gold-light); }

.page-hero .crumbs a:hover { text-decoration: underline; }

.page-hero .crumbs span { margin: 0 6px; opacity: 0.6; }

.page-hero .eyebrow { margin-bottom: 10px; }

.page-hero h1 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.page-hero .lead {
    max-width: 640px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 17px;
}

/* the page banner replaces the old section heading, so start the rows closer */
.page-hero + .section { padding-top: 70px; }

@media (max-width: 900px) {
    .page-hero { padding: 44px 6% 40px; }
    .page-hero .lead { font-size: 15.5px; }
    .page-hero + .section { padding-top: 50px; }
}
/* PARAGRAPHS: STRAIGHT EDGES, SLIGHTLY BOLDER, 3-4 LINES */
.split .copy .row-desc {
    max-width: 60ch;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-weight: 600;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .split .copy .row-desc {
        text-align: justify;
        text-align-last: left;
        font-size: 15.5px;
        line-height: 1.7;
    }
}

.seo-grid p { font-weight: 500; }

/* =====================================
   WHATSAPP POP BUTTON
===================================== */

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    box-shadow: 0 10px 26px #25d36680;
    animation: waPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards,
               waBob 3.2s ease-in-out 2s infinite;
}

.wa-float svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    transition: transform 0.3s;
}

.wa-float:hover { animation-play-state: paused; box-shadow: 0 14px 34px #25d366aa; }

.wa-float:hover svg { transform: scale(1.15) rotate(-10deg); }

/* two rings that grow and fade, like a call */

.wa-float::before,
.wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0;
    animation: waRing 2.4s ease-out infinite;
}

.wa-float::after { animation-delay: 1.2s; }

@keyframes waRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.9); opacity: 0; }
}

@keyframes waPop {
    from { transform: scale(0) rotate(-120deg); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@keyframes waBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* message that slides out: once after a few seconds, and on hover */

.wa-tip {
    position: absolute;
    right: 76px;
    top: 50%;
    padding: 10px 18px;
    border-radius: 30px;
    background: #ffffff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 30px #14243b33;
    opacity: 0;
    transform: translateY(-50%) translateX(12px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    animation: waGreet 7s ease 3.5s 1 backwards;
}

.wa-tip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
}

.wa-float:hover .wa-tip {
    opacity: 1;
    transform: translateY(-50%);
}

@keyframes waGreet {
    0% { opacity: 0; transform: translateY(-50%) translateX(12px); }
    8%, 82% { opacity: 1; transform: translateY(-50%); }
    100% { opacity: 0; transform: translateY(-50%) translateX(12px); }
}

@media (max-width: 600px) {

    .wa-float { width: 56px; height: 56px; right: 16px; bottom: 80px; }

    .wa-float svg { width: 30px; height: 30px; }

    .wa-tip { right: 68px; padding: 8px 14px; font-size: 13px; }
}


/* =====================================
   PICTURES ALWAYS VISIBLE (even if a script is slow or missing)
===================================== */

.pic img:only-of-type { opacity: 1; }


/* =====================================
   AUTOMATION PAGE (home-automation.html, <body class="light-page">):
   SAME LIGHT COLOURS AS THE OTHER PAGES.
   The home page keeps the dark navy Automation section.
===================================== */

.light-page #automation { background: var(--soft); }

.light-page #automation .head h2,
.light-page #automation .copy h3,
.light-page #automation .sub-head h3 { color: var(--navy); }

.light-page #automation .head p,
.light-page #automation .copy .sub,
.light-page #automation .row-desc { color: var(--slate); }

.light-page #automation .more { color: var(--navy); }

.light-page #automation .more:hover { color: var(--navy); }

.light-page #automation .cta-band { background: transparent; }


/* =====================================
   SEO CONTENT: intro text, FAQ, footer links
===================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seo-block { padding-top: 70px; padding-bottom: 70px; }

.seo-text { max-width: 820px; margin: auto; text-align: center; }

.seo-text h2 {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.seo-text p { margin-bottom: 14px; }

.seo-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.seo-grid article {
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: 16px;
    transition: 0.3s;
}

.seo-grid article:hover { background: #ffffff; border-color: var(--gold); transform: translateY(-5px); }

.seo-grid h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }

.seo-grid p { font-size: 14.5px; margin-bottom: 14px; }

.text-link { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); }

.text-link:hover { color: #2563eb; }

.faq { max-width: 860px; margin: auto; display: grid; gap: 12px; }

.faq-item {
    background: #ffffff;
    border: 1px solid var(--edge);
    border-radius: 14px;
    padding: 4px 20px;
    transition: 0.3s;
}

.faq-item[open] { border-color: var(--gold); box-shadow: 0 10px 26px #14243b14; }

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    color: var(--navy);
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after { content: "+"; float: right; color: var(--gold); font-size: 22px; line-height: 1; }

.faq-item[open] summary::after { content: "−"; }

.faq-item p { padding: 0 0 18px; }

.foot-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin-top: 14px;
}

.foot-links a { color: var(--gold-light); font-weight: 600; font-size: 14.5px; }

.foot-links a:hover { text-decoration: underline; }

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

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


/* =====================================
   MENU LINKS: UNDERLINE
   (Home, Home Automation, Business Solutions, Device Care, IT Services)
===================================== */

.nav-links > a:not(.btn):not(.menu-trigger)::after,
.nav-links.has-pill > a:not(.btn):not(.menu-trigger)::after {
    display: block;
    left: 16px;
    bottom: 6px;
    width: calc(100% - 32px);
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    opacity: 0.55;
    transform: scaleX(1);
    transform-origin: center;
    transition: opacity 0.25s, height 0.25s;
}

/* on hover and on the page you are on: stronger line that draws itself */

.nav-links > a:not(.btn):not(.menu-trigger):hover::after,
.nav-links > a.active:not(.menu-trigger)::after {
    width: calc(100% - 32px);
    height: 3px;
    opacity: 1;
}

.nav-links > a:not(.btn):not(.menu-trigger):hover::after {
    animation: navUnderline 0.35s ease;
}

@keyframes navUnderline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (max-width: 1100px) {

    .nav-links > a:not(.btn):not(.menu-trigger)::after,
    .nav-links > a:not(.btn):not(.menu-trigger):hover::after,
    .nav-links > a.active:not(.menu-trigger)::after {
        left: 11px;
        width: calc(100% - 22px);
    }
}

/* Device Care: one enquiry action after all service images */
.device-care-enquiry {
    display: flex;
    justify-content: center;
    padding: 34px 16px 12px;
}
.device-care-enquiry .btn {
    min-width: 190px;
    text-align: center;
}
#device .row-desc {
    max-width: 620px;
    line-height: 1.8;
    margin-top: 12px;
}


/* =====================================
   CLEAN SEO SERVICE ROWS — PARAGRAPH ONLY
   Consistent alignment across all pages
===================================== */
.split { align-items: center; }
.split .copy {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
}
.split .copy h3.row-title {
    max-width: 100%;
    text-align: left;
    line-height: 1.18;
    margin-bottom: 18px;
}
.split .copy .row-desc {
    display: block;
    width: 100%;
    max-width: 62ch;
    margin: 0;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    overflow-wrap: break-word;
}
.split .svc-list, .split .more, .split .pic-tag {
    display: none !important;
}
@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; gap: 26px; }
    .split.flip .pic { order: 0; }
    .split .copy {
        max-width: 100%;
        padding-inline: 2px;
        text-align: left;
    }
    .split .copy h3.row-title {
        font-size: clamp(22px, 6vw, 30px);
        text-align: left;
    }
    .split .copy .row-desc {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.75;
        text-align: left;
    }
    .split + .split { margin-top: 54px; }
}

/* PASTE AT THE VERY END OF style.css */
/* PARAGRAPHS: STRAIGHT EDGES, SLIGHTLY BOLDER, 3-4 LINES */
.split .copy .row-desc {
    max-width: 60ch;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-weight: 600;
    line-height: 1.75;
}
@media (max-width: 768px) {
    .split .copy .row-desc {
        text-align: justify;
        text-align-last: left;
        font-size: 15.5px;
        line-height: 1.7;
    }
}
.seo-grid p { font-weight: 500; }

/* Overview text block (IT, Business, Home Automation pages) */
.seo-text p {
    text-align: justify;
    text-align-last: center;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-weight: 500;
}