:root {
    --color-bg: #ffffff;
    --color-text: #16192a;
    --color-primary: #0f5da8;
    --color-primary-dark: #0b4a86;
    --color-primary-light: #2f8fe0;
    --color-accent: #ffb020;
    --color-accent-dark: #e08e00;
    --color-muted: #5b6472;
    --color-surface: #f4f7fb;
    --color-ink: #0a1c33;
    --font-heading: 'Sora', system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 999px;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

::selection {
    background: var(--color-accent);
    color: var(--color-ink);
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header .logo a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
}

.site-header .logo a span {
    color: var(--color-primary);
}

.site-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.site-header nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-header nav a:not(.nav-cta) {
    position: relative;
    padding-bottom: 4px;
}

.site-header nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--color-accent);
    transition: right 0.25s ease;
}

.site-header nav a:not(.nav-cta):hover {
    color: var(--color-primary);
}

.site-header nav a:not(.nav-cta):hover::after {
    right: 0;
}

.site-header nav a.nav-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 14px rgba(15, 93, 168, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header nav a.nav-cta:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 93, 168, 0.32);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem;
    text-align: center;
    color: #fff;
    background:
        url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.09' stroke-width='1'%3E%3Cpath d='M0 40h30M50 40h30M40 0v30M40 50v30'/%3E%3C/g%3E%3Cg fill='white'%3E%3Ccircle cx='40' cy='40' r='2.6' fill-opacity='0.16'/%3E%3Ccircle cx='10' cy='40' r='1.8' fill-opacity='0.13'/%3E%3Ccircle cx='70' cy='40' r='1.8' fill-opacity='0.13'/%3E%3Ccircle cx='40' cy='10' r='1.8' fill-opacity='0.13'/%3E%3Ccircle cx='40' cy='70' r='1.8' fill-opacity='0.13'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 105%, rgba(255, 176, 32, 0.18), transparent 50%),
        radial-gradient(ellipse at 50% 30%, rgba(47, 143, 224, 0.28), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(15, 93, 168, 0.55), transparent 50%),
        linear-gradient(135deg, #050d1f 0%, #0b2a55 60%, #0f5da8 100%);
}

.hero-badge {
    margin-bottom: 1.25rem;
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(255, 176, 32, 0.16), 0 8px 24px rgba(10, 38, 71, 0.25);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #bfe0ff;
    margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------------
   Home hero motion graphic: wireless devices send a signal toward the
   centre shield and get certified one after another (amber check).
   Pure CSS, transform/opacity only. Markup lives in index.php.
   ------------------------------------------------------------------ */
.hero-devices {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero > :not(.hero-devices),
.page-hero > :not(.hero-devices) {
    position: relative;
    z-index: 1;
}

.hero-device {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    animation: heroFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.8s);
}

.hero-device-card {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(5, 20, 40, 0.25);
    animation: heroCertifyCard 9.6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.2s);
}

.hero-device-card .icon {
    width: 38px;
    height: 38px;
    opacity: 0.92;
}

/* Signal waves pointing toward the centre of the hero */
.hero-device-signal {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
}

.hero-device-left .hero-device-signal {
    left: 100%;
}

.hero-device-right .hero-device-signal {
    right: 100%;
    transform: translateY(-50%) scaleX(-1);
}

.hero-device-signal i {
    position: absolute;
    top: 50%;
    left: 0;
    border: 2px solid transparent;
    border-right-color: rgba(191, 224, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    animation: heroSignal 2.4s ease-out infinite;
}

.hero-device-signal i:nth-child(1) { width: 14px; height: 14px; margin: -7px 0 0 -2px; }
.hero-device-signal i:nth-child(2) { width: 26px; height: 26px; margin: -13px 0 0 -8px; animation-delay: 0.3s; }
.hero-device-signal i:nth-child(3) { width: 38px; height: 38px; margin: -19px 0 0 -14px; animation-delay: 0.6s; }

/* "Certified" check that pops onto each device in turn */
.hero-device-check {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2647;
    background: var(--color-accent);
    box-shadow: 0 4px 12px rgba(255, 176, 32, 0.45);
    transform: scale(0);
    opacity: 0;
    animation: heroCheck 9.6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.2s);
}

.hero-device-check svg {
    width: 15px;
    height: 15px;
}

/* Floating Bluetooth / Wi-Fi symbols */
.hero-glyph {
    position: absolute;
    left: var(--x);
    top: var(--y);
    color: #bfe0ff;
    opacity: 0.35;
    animation: heroGlyph 7s ease-in-out infinite;
}

.hero-glyph .icon {
    width: 30px;
    height: 30px;
}

.hero-glyph-wifi {
    animation-delay: -2.5s;
}

/* Radar rings around the centre shield */
.hero-badge {
    position: relative;
}

.hero .hero-badge::before,
.hero .hero-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 176, 32, 0.55);
    animation: heroRing 3.2s ease-out infinite;
}

.hero .hero-badge::after {
    animation-delay: 1.6s;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-12px); }
}

@keyframes heroSignal {
    0%   { opacity: 0; }
    30%  { opacity: 0.9; }
    100% { opacity: 0; }
}

@keyframes heroCertifyCard {
    0%, 4%    { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 10px 30px rgba(5, 20, 40, 0.25); }
    9%, 55%   { border-color: rgba(255, 176, 32, 0.9); box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.14), 0 10px 30px rgba(255, 176, 32, 0.22); }
    62%, 100% { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 10px 30px rgba(5, 20, 40, 0.25); }
}

@keyframes heroCheck {
    0%, 4%    { transform: scale(0); opacity: 0; }
    8%        { transform: scale(1.3); opacity: 1; }
    11%, 55%  { transform: scale(1); opacity: 1; }
    62%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes heroGlyph {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(6deg); }
}

@keyframes heroRing {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Home hero: headline on the left, animated approval tracker on the right */
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5rem;
    align-items: center;
    text-align: left;
}

.hero-copy .hero-badge {
    margin-left: 0;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    margin-left: 0;
    max-width: 640px;
}

.hero-copy .hero-sub {
    margin-left: 0;
}

.hero-tracker {
    width: 100%;
    max-width: 440px;
    justify-self: end;
    animation: fadeInUp 0.8s ease both 0.5s;
}

.hero-tracker .illo-panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px rgba(2, 8, 20, 0.45);
}

/* Inner page banner with an illustration on the right (Services) */
.page-hero-split {
    padding: 4rem 2rem;
}

.page-hero-split .hero-copy h1 {
    margin-left: 0;
}

.page-hero-split .page-hero-sub {
    margin: 0;
}

.page-hero-split .illo-panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px rgba(2, 8, 20, 0.4);
}

@media (max-width: 1024px) {
    .page-hero-split .page-hero-sub {
        margin: 0 auto;
    }

    .page-hero-split .hero-tracker {
        max-width: 400px;
        text-align: left;
    }
}

/* Two-column hero: the tracker carries the device animation, floating tiles would collide */
@media (min-width: 1025px) {
    .hero .hero-devices {
        display: none;
    }
}

/* Tablets and phones: stack, centred, tracker under the button */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        text-align: center;
    }

    .hero-copy .hero-badge,
    .hero-copy h1,
    .hero-copy .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tracker {
        justify-self: center;
    }

    /* the card sits at the bottom, so drop the bottom-corner tiles */
    .hero .hero-device:nth-child(3),
    .hero .hero-device:nth-child(7),
    .hero .hero-device-inner,
    .hero .hero-glyph {
        display: none;
    }
}

/* Narrower screens: keep only the outer devices so text stays clear */
@media (max-width: 1320px) {
    .hero-device-inner,
    .hero-glyph {
        display: none;
    }

    .hero-device-card {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .hero-device-card .icon {
        width: 32px;
        height: 32px;
    }
}

/* Phones and small tablets: four small devices tucked into the corners */
@media (max-width: 900px) {
    .hero {
        padding-bottom: 5.5rem;
    }

    .hero-device {
        opacity: 0.55;
    }

    .hero-device-signal {
        display: none;
    }

    .hero-device-card {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .hero-device-card .icon {
        width: 24px;
        height: 24px;
    }

    .hero-device-check {
        top: -7px;
        right: -7px;
        width: 20px;
        height: 20px;
    }

    .hero-device-check svg {
        width: 12px;
        height: 12px;
    }

    .hero-device:nth-child(1) { left: 10% !important; top: 40px !important; }
    .hero-device:nth-child(5) { left: 90% !important; top: 40px !important; }
    .hero-device:nth-child(3) { left: 10% !important; top: calc(100% - 36px) !important; }
    .hero-device:nth-child(7) { left: 90% !important; top: calc(100% - 36px) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-device,
    .hero-glyph,
    .hero-device-signal i {
        animation: none;
    }

    .hero-device-card {
        animation: none;
        border-color: rgba(255, 176, 32, 0.9);
    }

    .hero-device-check {
        animation: none;
        transform: none;
        opacity: 1;
    }

    .hero-badge::before,
    .hero-badge::after {
        display: none;
    }
}

/* Secondary page hero band (About, Service & Consultation, etc.) */
.page-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 4.5rem 2rem 4rem;
    background:
        radial-gradient(circle at 50% 105%, rgba(255, 176, 32, 0.2), transparent 55%),
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.14), transparent 45%),
        linear-gradient(135deg, #0a2647 0%, #0f5da8 55%, #1a7fd6 100%);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 0.75rem;
}

.page-hero-sub {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.page-hero .btn {
    margin-top: 1.5rem;
}

/* Banner icons sit a little smaller than on the home hero */
.page-hero .hero-device-card {
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.page-hero .hero-device-card .icon {
    width: 30px;
    height: 30px;
}

/* Phones: inner banners are short, so keep just the two top-corner icons */
@media (max-width: 900px) {
    .page-hero .hero-device:nth-child(3),
    .page-hero .hero-device:nth-child(7) {
        display: none;
    }

    .page-hero .hero-device-card {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .page-hero .hero-device-card .icon {
        width: 24px;
        height: 24px;
    }
}

.page-content-wide {
    max-width: 1000px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0 0 2rem;
}

.service-grid .service-group {
    margin: 0;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 14px rgba(15, 93, 168, 0.22);
}

.service-icon .icon {
    width: 22px;
    height: 22px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.hero .btn {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 8px 20px rgba(10, 38, 71, 0.3);
}

.hero .btn:hover {
    background: var(--color-surface);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.9rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 93, 168, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 93, 168, 0.34);
}

/* Regulatory bodies bar (names only — no third-party logos/emblems) */
.regulatory-bar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 2rem 2.5rem;
    text-align: center;
}

.regulatory-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 1.25rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.reg-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
}

.reg-badge .icon-sm {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.highlight {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.highlight h2 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.highlight p {
    color: var(--color-muted);
    margin: 0;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 2rem 3rem;
    text-align: center;
}

.stat {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin: 0 0 0.15rem;
}

.stat-label {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Services teaser + trusted-by */
.services-teaser {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem 2.5rem;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(160deg, #0a1c33 0%, #123a66 55%, #0f5da8 130%);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 48px rgba(10, 28, 51, 0.22);
}

.trusted-by {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
}

.services-teaser h2,
.trusted-by h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.services-teaser h2 {
    color: #fff;
}

.teaser-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
    text-align: left;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-list li {
    padding-left: 1.1rem;
    position: relative;
    color: rgba(255, 255, 255, 0.88);
}

.teaser-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.services-teaser .link-more {
    color: var(--color-accent);
    margin: 1rem 0.75rem 0;
}

.teaser-list a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 3px;
}

.service-group li a {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.services-teaser .link-more:hover {
    color: #fff;
}

.client-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

.client-logo-row img {
    height: 60px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.client-logo-row img:hover {
    filter: none;
    opacity: 1;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 93, 168, 0.14);
}

.link-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.link-more:hover {
    text-decoration: underline;
}

/* Inner page content */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.page-content h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Original icon system — used instead of third-party product photos */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    box-shadow: 0 8px 18px rgba(15, 93, 168, 0.22);
}

.icon-circle .icon {
    width: 32px;
    height: 32px;
}

.icon-circle-lg {
    width: 88px;
    height: 88px;
}

.icon-circle-lg .icon {
    width: 44px;
    height: 44px;
}

.product-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.product-grid li {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
}

.product-grid strong {
    display: block;
    margin-bottom: 0.35rem;
}

.product-grid span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.product-photo {
    display: block;
    max-height: 90px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    margin: 0 auto 0.75rem;
}

.service-group {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.75rem 1.75rem 1.75rem 1.9rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.service-group h2 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
    color: var(--color-primary-dark);
}

.service-group p {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.service-group ul {
    margin: 0;
    padding-left: 1.25rem;
}

.service-group li {
    margin-bottom: 0.4rem;
}

/* Photo beside text (About, Services). Stacks on small screens. */
.split {
    max-width: 1080px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.split-reverse .split-media {
    order: 2;
}

.split-media {
    position: relative;
    margin: 0;
}

.split-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(10, 38, 71, 0.18);
}

/* Amber offset frame behind the photo */
.split-media::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    z-index: -1;
}

.split-reverse .split-media::before {
    inset: 18px 18px -18px -18px;
}

.split-badge {
    position: absolute;
    right: -14px;
    top: -18px;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--color-ink);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.3;
    max-width: 170px;
    box-shadow: 0 12px 28px rgba(10, 38, 71, 0.3);
}

.split-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent);
}

/* ---- Illustration panels (original, no photos) ---- */
.illo-panel {
    position: relative;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(47, 143, 224, 0.35), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(255, 176, 32, 0.14), transparent 50%),
        linear-gradient(150deg, #050d1f 0%, #0b2a55 70%, #0f5da8 130%);
    box-shadow: 0 24px 48px rgba(10, 38, 71, 0.22);
    overflow: hidden;
}

.illo-panel small {
    display: block;
    font-size: 0.78rem;
    color: rgba(191, 224, 255, 0.75);
}

.illo-panel .icon-sm {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* About: approval status card */
.illo-status-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1.1rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.illo-status-device {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 176, 32, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.12);
}

.illo-status-device .icon {
    width: 30px;
    height: 30px;
}

.illo-status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.illo-status-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    animation: illoRowIn 0.6s ease both;
    animation-delay: calc(0.4s + var(--n) * 0.35s);
}

.illo-status-list li .icon-sm {
    color: #bfe0ff;
}

.illo-status-list span {
    flex: 1;
}

.illo-status-list em {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    color: #0a2647;
    background: var(--color-accent);
}

.illo-status-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* Home: animated approval tracker (states set by main.js) */
.tracker .illo-status-head {
    transition: opacity 0.2s ease;
}

.tracker .illo-status-head.is-swapping {
    opacity: 0;
}

.tracker .tracker-icon {
    transition: transform 0.2s ease;
}

.tracker .illo-status-head.is-swapping .tracker-icon {
    transform: scale(0.8);
}

.tracker .tracker-list li {
    animation: none;
    transition: color 0.3s ease;
}

.tracker-list li em {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Pending */
.tracker-list li:not(.is-working):not(.is-done) {
    color: rgba(255, 255, 255, 0.5);
}

.tracker-list li:not(.is-working):not(.is-done) em {
    color: rgba(191, 224, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

/* In progress */
.tracker-list li.is-working em {
    color: #fff;
    background: var(--color-primary-light);
    animation: trackerPulse 0.5s ease-in-out infinite;
}

/* Done */
.tracker-list li.is-done em {
    animation: trackerPop 0.35s ease;
}

.tracker-foot {
    opacity: 0.25;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tracker-foot.is-ready {
    opacity: 1;
    transform: scale(1.04);
}

@keyframes trackerPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

@keyframes trackerPop {
    0%   { transform: scale(0.7); }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Services: lab-to-market journey */
.illo-journey {
    padding: 2rem 1.75rem;
}

.illo-journey-line {
    position: absolute;
    left: calc(1.75rem + 27px);
    top: 3.5rem;
    bottom: 3.5rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

/* Glowing "packet" travelling down the journey */
.illo-journey-line i {
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px rgba(255, 176, 32, 0.9);
    animation: illoTravel 4s ease-in-out infinite;
}

.illo-journey-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    animation: illoRowIn 0.6s ease both;
    animation-delay: calc(0.3s + var(--n) * 0.3s);
}

.illo-journey-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #0b2a55;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.illo-journey-step:last-child .illo-journey-icon {
    border-color: rgba(255, 176, 32, 0.9);
    box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.14);
    color: var(--color-accent);
}

.illo-journey-icon .icon {
    width: 28px;
    height: 28px;
}

@keyframes illoRowIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: none; }
}

@keyframes illoTravel {
    0%   { top: 0; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: calc(100% - 10px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .illo-status-list li,
    .illo-journey-step,
    .illo-journey-line i {
        animation: none;
    }
}

.split-text h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    color: var(--color-ink);
    margin: 0 0 1rem;
}

.split-text p {
    color: var(--color-muted);
    line-height: 1.7;
}

.eyebrow-dark {
    color: var(--color-primary);
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 1.25rem 3rem;
    }

    .split-reverse .split-media {
        order: 0;
    }

    .split-media::before {
        inset: 12px -10px -12px 10px;
    }

    .split-reverse .split-media::before {
        inset: 12px 10px -12px -10px;
    }

    /* Small screens: badge sits under the card instead of covering it */
    .split-badge {
        position: static;
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        max-width: none;
        width: fit-content;
        margin: 1.75rem 0 0 auto;
        padding: 0.6rem 0.9rem;
    }

    .split-badge strong {
        display: inline;
        font-size: 1.3rem;
    }
}

/* Long-form landing pages (e.g. SIRIM permit application) */
.article {
    max-width: 820px;
}

.article h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    color: var(--color-ink);
    margin: 2.75rem 0 1rem;
}

.article > h2:first-child {
    margin-top: 0;
}

.article p {
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.article .service-group {
    margin: 0;
}

.article .service-group h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--color-primary-dark);
}

/* Cards with a product photo across the top (SIRIM guide examples) */
.article .photo-card {
    padding: 0 0 1.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 10px 26px rgba(10, 38, 71, 0.08);
}

.photo-card-img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.photo-card .service-icon {
    position: relative;
    margin: -22px 0 0.75rem 1.5rem;
    box-shadow: 0 0 0 4px #fff;
}

.photo-card h3,
.photo-card p {
    padding: 0 1.5rem;
}

.article .service-group p {
    margin: 0;
}

.article .service-group ul {
    color: var(--color-muted);
    line-height: 1.6;
}

.article a:not(.btn) {
    color: var(--color-primary);
    font-weight: 600;
}

.note {
    font-size: 0.92rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    border-left: 3px solid var(--color-accent);
    margin-top: 1.25rem !important;
}

/* Comparison tables in guides; scroll sideways on small phones instead of squashing */
.table-wrap {
    overflow-x: auto;
    margin: 0 0 1rem;
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-md);
}

.compare-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e9ef;
}

.compare-table thead th {
    background: var(--color-ink);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.compare-table tbody th {
    width: 22%;
    color: var(--color-primary-dark);
    background: var(--color-surface);
    font-weight: 700;
}

.compare-table td {
    color: var(--color-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* Phones: each row becomes a small card so both options are visible without sideways scrolling */
@media (max-width: 600px) {
    .table-wrap {
        overflow: visible;
        border: none;
    }

    .compare-table,
    .compare-table tbody,
    .compare-table tr,
    .compare-table th,
    .compare-table td {
        display: block;
        width: auto;
        min-width: 0;
    }

    .compare-table thead {
        display: none;
    }

    .compare-table tbody tr {
        margin-bottom: 0.75rem;
        border: 1px solid #e5e9ef;
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .compare-table tbody th {
        width: auto;
        background: var(--color-ink);
        color: #fff;
        font-size: 0.9rem;
        padding: 0.6rem 0.9rem;
    }

    .compare-table td {
        padding: 0.65rem 0.9rem;
    }

    .compare-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--color-primary-dark);
        margin-bottom: 0.15rem;
    }

    .compare-table tbody tr:last-child td {
        border-bottom: 1px solid #e5e9ef;
    }

    .compare-table tbody tr td:last-child {
        border-bottom: none;
    }
}

.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.25rem 3.25rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps strong,
.check-list strong {
    color: var(--color-text);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.faq {
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: #fff;
}

.faq summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.faq[open] summary {
    color: var(--color-primary-dark);
}

.faq p {
    padding: 0 1.25rem 1rem;
    margin: 0;
}

.teaser-text {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem;
}

/* Clients & partners logo grid */
.logo-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 2rem 0 0;
}

.logo-grid li {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.logo-grid img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.logo-grid span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
}

/* Contact */
/* ---- Contact page ---- */
.contact-layout {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid #e5e9ef;
    color: var(--color-text);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(10, 38, 71, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
    box-shadow: 0 14px 30px rgba(10, 38, 71, 0.12);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.contact-card-icon .icon {
    width: 24px;
    height: 24px;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.contact-card-body strong {
    color: var(--color-ink);
    font-family: var(--font-heading);
}

.contact-card-link {
    margin-top: 0.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* WhatsApp card stands out */
.contact-card-wa {
    background: linear-gradient(135deg, #0d3b24 0%, #128c4a 100%);
    border-color: transparent;
    color: #fff;
}

.contact-card-wa:hover {
    border-color: transparent;
}

.contact-card-wa .contact-card-icon {
    background: #25d366;
}

.contact-card-wa .contact-card-body,
.contact-card-wa .contact-card-body strong {
    color: #fff;
}

.contact-card-wa .contact-card-body span {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card-cta {
    margin-left: auto;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    background: #fff;
    color: #128c4a;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.contact-next {
    margin-top: 1.25rem;
    padding: 1.5rem 1.5rem 0.5rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.contact-next h2 {
    font-size: 1.15rem;
    color: var(--color-ink);
    margin: 0 0 1.1rem;
}

.contact-form-card {
    padding: 2.25rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid #e5e9ef;
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 24px 48px rgba(10, 38, 71, 0.1);
    scroll-margin-top: 100px;
}

.contact-form-card h2 {
    font-size: 1.5rem;
    color: var(--color-ink);
    margin: 0 0 0.5rem;
}

.contact-form-hint {
    color: var(--color-muted);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.contact-form-card form {
    max-width: none;
}

.contact-form-card label {
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-form-card button {
    margin-top: 0.5rem;
}

.contact-map {
    max-width: 1140px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(10, 38, 71, 0.12);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem 2rem;
        gap: 2rem;
    }

    .contact-form-card {
        padding: 1.5rem 1.25rem;
        order: -1; /* form first on phones */
    }

    .contact-map {
        padding: 0 1.25rem;
    }

    .contact-map iframe {
        height: 260px;
    }
}

.contact-details {
    margin: 1.5rem 0 2rem;
    padding: 1.5rem 1.75rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
}

.contact-details p {
    margin: 0.5rem 0;
}

.contact-details a {
    color: var(--color-primary);
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 480px;
}

form input,
form textarea {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1.5px solid #dde3ec;
    border-radius: var(--radius-sm);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 93, 168, 0.15);
}

form button {
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 10px 24px rgba(15, 93, 168, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 93, 168, 0.34);
}

.form-success {
    color: #2f855a;
    font-weight: bold;
}

.form-error {
    color: #c53030;
    font-weight: bold;
}

/* Floating WhatsApp chat button (home page) */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40; /* below the header (50) so the open mobile menu stays on top */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem 0.7rem 0.8rem;
    border-radius: var(--radius-full);
    background: #25d366;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(18, 140, 70, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: waIn 0.5s ease 1s both;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(18, 140, 70, 0.5);
    color: #fff;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* Gentle pulse ring to draw the eye */
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid #25d366;
    animation: waPulse 2.4s ease-out 2s infinite;
    pointer-events: none;
}

@keyframes waIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to   { opacity: 1; transform: none; }
}

@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Phones: round icon-only button */
@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 0.85rem;
    }

    .whatsapp-float-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float::before {
        animation: none;
    }
}

/* Contact form spam trap: off-screen so people never see it */
.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Footer */
.site-footer {
    position: relative;
    padding: 2.5rem 2rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: #0a0a0a;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.footer-grid strong {
    color: #fff;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    margin: 0;
}

.copyright-trademark {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: fadeInUp 0.7s ease both;
}

.hero .eyebrow {
    animation: fadeInUp 0.7s ease both 0.1s;
}

.hero h1 {
    animation: fadeInUp 0.7s ease both 0.2s;
}

.hero-sub {
    animation: fadeInUp 0.7s ease both 0.3s;
}

.hero .btn {
    animation: fadeInUp 0.7s ease both 0.4s;
}

/* Scroll-reveal: whole-section fade/slide-up, toggled by main.js via IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Scroll-reveal: staggered children within a container */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: none;
}

.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.56s; }

/* Hover lift on interactive cards */
.highlight,
.stat,
.product-grid li,
.logo-grid li {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight:hover,
.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 93, 168, 0.14);
}

.product-grid li:hover,
.logo-grid li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 93, 168, 0.1);
}

.icon-circle {
    transition: transform 0.25s ease;
}

.highlight:hover .icon-circle,
.stat:hover .icon-circle {
    transform: scale(1.1);
}

.reg-badge {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reg-badge:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    box-shadow: 0 6px 14px rgba(255, 176, 32, 0.28);
}

/* Mobile layout */
/* Hamburger menu below 1024px: the 7 menu items don't fit on one line on small laptops/tablets */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid #eee;
        box-shadow: 0 12px 20px rgba(10, 38, 71, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-header.nav-open nav {
        max-height: 520px;
    }

    .site-header nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0;
    }

    .site-header nav a {
        display: block;
        padding: 0.85rem 1.25rem;
        border-bottom: 1px solid #f1f1f1;
    }

    .site-header nav a:not(.nav-cta)::after {
        display: none;
    }

    .site-header nav a.nav-cta {
        display: block;
        margin: 0.75rem 1.25rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.25rem;
    }

    .hero {
        padding: 4rem 1.25rem 5.5rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .page-hero {
        padding: 3rem 1.25rem 2.75rem;
    }

    .page-content {
        padding: 2rem 1.25rem;
    }

    .services-teaser {
        margin: 2rem 1rem;
        padding: 2.25rem 1.5rem;
        border-radius: var(--radius-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero .eyebrow,
    .hero h1,
    .hero-sub,
    .hero .btn {
        animation: none;
    }

    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .highlight,
    .stat,
    .product-grid li,
    .logo-grid li,
    .icon-circle,
    .reg-badge {
        transition: none;
    }
}
