:root {
    color-scheme: light;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #f6f8ff;
    color: #1d2640;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0b3d91;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a,
.nav-button {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-button:hover {
    color: #ffdc64;
}

.nav-button {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

main {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.hero,
.hero-small {
    background: linear-gradient(135deg, #edf2ff 0%, #f7fbff 100%);
    border-radius: 28px;
    padding: 2.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 24px 70px rgba(31, 70, 147, 0.08);
}

.hero-gradient {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-small {
    padding: 2rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: #0b3d91;
}

.hero h1,
.hero-small h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p,
.hero-small p,
.section-intro,
.section-card p,
.service-card p,
.skill-item p {
    margin: 0;
    color: #475569;
}

.hero-actions,
.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.button,
.hero-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.button {
    background: #0b3d91;
    color: #ffffff;
}

.button-secondary,
.hero-links a.button-secondary {
    background: rgba(11, 61, 145, 0.12);
    color: #0b3d91;
}

.button:hover,
.hero-links a:hover {
    transform: translateY(-1px);
}

.hero-image img {
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(11, 61, 145, 0.1);
}

.section-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(31, 70, 147, 0.06);
    margin-bottom: 2rem;
}

.section-card h2 {
    margin-top: 0;
    color: #0b3d91;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.feature-card {
    background: linear-gradient(135deg, #f7faff 0%, #eef4ff 100%);
    border: 1px solid rgba(11, 61, 145, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    color: #0b3d91;
}

.feature-card p {
    color: #475569;
}

.update-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #eef4ff 0%, #fdfdff 100%);
    border: 1px solid rgba(11, 61, 145, 0.12);
}

.update-intro h2 {
    margin-bottom: 0.75rem;
}

.update-intro p {
    max-width: 65ch;
}

.update-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: #334155;
}

.update-list li + li {
    margin-top: 0.5rem;
}

.update-highlights {
    display: grid;
    gap: 1rem;
}

.update-highlight-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(11, 61, 145, 0.1);
    border-radius: 18px;
    padding: 1rem 1.15rem;
}

.update-highlight-card h3 {
    margin: 0 0 0.4rem;
    color: #0b3d91;
}

.update-highlight-card p {
    color: #475569;
}

.section-intro {
    margin-top: 0.65rem;
    max-width: 72ch;
}

.service-grid,
.skill-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.service-card,
.skill-item {
    background: #f4f7ff;
    border-radius: 22px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.skill-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(11, 61, 145, 0.12);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.testimonial-item {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(11, 61, 145, 0.08);
}

.testimonial-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.9rem;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(11, 61, 145, 0.12);
}

.testimonial-item p {
    margin-bottom: 0.75rem;
    color: #475569;
}

.testimonial-item cite {
    font-style: normal;
    font-weight: 700;
    color: #0b3d91;
}

.service-card h3,
.skill-item h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.skill-item h3 {
    margin: 0 0 0.75rem;
}

.skill-item p {
    color: #475569;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
}

.social-links a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #f2f6ff;
    color: #0b3d91;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: #e2ebff;
    transform: translateY(-1px);
}

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

.clients-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.clients-copy h2 {
    margin-bottom: 0.75rem;
}

.clients-copy p {
    color: #475569;
}

.clients-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(11, 61, 145, 0.12);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid #d8e0ef;
    background: #ffffff;
    font: inherit;
}

.contact-form button {
    margin-top: 0.25rem;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: #0b3d91;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

footer {
    background: #0b3d91;
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1rem;
    border-radius: 18px;
    margin-top: 2rem;
}

footer img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 0.85rem;
    box-shadow: 0 12px 30px rgba(11, 61, 145, 0.18);
}

footer p {
    margin: 0.35rem 0;
    color: #f8fbff;
    font-weight: 600;
}

footer a {
    color: #ffdc64;
    text-decoration: none;
    font-weight: 700;
}

/* Footer layout and navigation */
.site-footer .footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 200px;
}

.footer-brand img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(11,61,145,0.14);
}

.brand-info p {
    margin: 0;
    color: #f8fbff;
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.35rem 0.5rem;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-nav a:hover {
    color: #ffdc64;
    transform: translateY(-2px);
}

.footer-contact {
    min-width: 220px;
    text-align: right;
}

.footer-contact p {
    margin: 0.15rem 0;
    color: #f8fbff;
    font-weight: 600;
}

.footer-copy {
    margin-top: 1rem;
    color: rgba(248,251,255,0.85);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .footer-contact {
        text-align: left;
        width: 100%;
        order: 3;
    }

    .footer-nav {
        order: 2;
        width: 100%;
        margin: 0.5rem 0;
    }

    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .footer-brand {
        order: 1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .hero-gradient {
        grid-template-columns: 1fr;
    }

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

    .clients-section,
    .update-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    nav {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .hero,
    .hero-small {
        padding: 1.75rem;
    }

    .service-card,
    .skill-item {
        padding: 1.25rem;
    }
}

@media (max-width: 520px) {
    .button,
    .hero-links a {
        width: 100%;
    }
}

/* Project grid styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.project-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(11,61,145,0.06);
}

.project-card img {
    border-radius: 12px;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.project-card h3 {
    margin: 0.75rem 0 0.45rem;
}

.project-card p {
    margin: 0 0 0.75rem;
    color: #56667a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(11, 61, 145, 0.12);
}

/* Scroll-triggered reveal animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    will-change: opacity, transform;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: none;
    animation: fadeUp 560ms cubic-bezier(.2,.9,.3,1) both;
}

.service-card.animate-on-scroll.in-view,
.skill-item.animate-on-scroll.in-view,
.project-card.animate-on-scroll.in-view,
.testimonial-item.animate-on-scroll.in-view {
    animation-duration: 640ms;
}

.hero.animate-on-scroll.in-view {
    animation-duration: 720ms;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-on-scroll.in-view {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Contact form submission status */
.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.success {
  color: #16803a;
}

.form-status.error {
  color: #c62828;
}

.contact-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Immersive homepage hero */
.hero-video {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
    background: #071a42;
    color: #fff;
}

.hero-background,
.hero-background img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    object-fit: cover;
    object-position: center;
    opacity: 0.78;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.03);
    animation: heroKenBurns 14s ease-in-out infinite alternate;
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 18, 51, 0.94) 0%, rgba(7, 32, 79, 0.78) 48%, rgba(7, 32, 79, 0.32) 100%),
        linear-gradient(180deg, rgba(5, 19, 48, 0.18), rgba(5, 19, 48, 0.7));
}

.hero-copy-overlay {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 5.5rem 4rem;
}

.hero-copy-overlay .eyebrow {
    color: #ffdc64;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    letter-spacing: 0.14em;
    backdrop-filter: blur(8px);
}

.hero-copy-overlay h1 {
    color: #fff;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    max-width: 780px;
    text-wrap: balance;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.hero-copy-overlay p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.button-light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.button-light:hover {
    background: rgba(255, 255, 255, 0.24);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.hero-proof span {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.17);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.22;
    z-index: 1;
    animation: glowFloat 8s ease-in-out infinite alternate;
}

.hero-glow-one {
    top: -100px;
    right: 8%;
    background: #4e7dff;
}

.hero-glow-two {
    bottom: -130px;
    right: 30%;
    background: #ffdc64;
    animation-delay: -3s;
}

@keyframes heroKenBurns {
    from { transform: scale(1.03); }
    to { transform: scale(1.09); }
}

@keyframes glowFloat {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-25px, 20px, 0); }
}

/* Service video showcase */
.video-showcase {
    background: linear-gradient(135deg, #071a42 0%, #0b3d91 62%, #174fae 100%);
    color: #fff;
    overflow: hidden;
}

.video-showcase h2 {
    color: #fff;
    margin-bottom: 0.4rem;
}

.video-showcase .eyebrow {
    color: #ffdc64;
}

.showcase-heading {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 2rem;
    align-items: end;
}

.showcase-heading > p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 0.8rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 17px;
    background: #061536;
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.video-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(6, 21, 54, 0.12), rgba(6, 21, 54, 0.82));
    z-index: 1;
    pointer-events: none;
}

.video-play {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0b3d91;
    font-size: 1.15rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.video-empty-state strong {
    font-size: 1rem;
}

.video-empty-state small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
}

.video-card h3 {
    margin: 0.9rem 0 0.35rem;
    color: #fff;
}

.video-card p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
}

.showcase-note {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .hero-video {
        min-height: 560px;
    }

    .hero-copy-overlay {
        padding: 4rem 2rem;
    }

    .showcase-heading,
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hero-video {
        min-height: 620px;
        border-radius: 22px;
    }

    .hero-copy-overlay {
        padding: 3.5rem 1.35rem;
    }

    .hero-copy-overlay h1 {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
    }

    .hero-copy-overlay p {
        font-size: 1rem;
    }

    .hero-proof span {
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-background img,
    .hero-glow {
        animation: none;
    }
}


/* Reliable service video playback */
.video-frame video.service-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #061536;
    cursor: pointer;
}
.video-error {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    padding: 1rem;
    text-align: center;
    background: rgba(6, 21, 54, .92);
    color: #fff;
}
.video-error small {
    max-width: 300px;
    color: rgba(255,255,255,.75);
}

/* 2026 professional polish + quick-contact experience */
html { scroll-behavior: smooth; }
body { background: radial-gradient(circle at top right, rgba(11,61,145,.05), transparent 30%), #f6f8ff; }
header { backdrop-filter: blur(14px); }
.navbar { min-height: 72px; }
.nav-links a { position: relative; }
.nav-links a::after { content:""; position:absolute; left:.5rem; right:.5rem; bottom:-.35rem; height:2px; background:#ffdc64; transform:scaleX(0); transform-origin:center; transition:transform .2s ease; }
.nav-links a:hover::after { transform:scaleX(1); }
.section-card { border:1px solid rgba(11,61,145,.055); }
.section-card:hover { box-shadow:0 28px 80px rgba(31,70,147,.08); }
.premium-section { background:linear-gradient(135deg,#071a42 0%,#0b3d91 70%,#1557b7 100%); color:#fff; overflow:hidden; }
.premium-section h2,.premium-section .eyebrow { color:#fff; }
.premium-section .eyebrow { color:#ffdc64; }
.premium-heading { display:grid; grid-template-columns:1fr .8fr; gap:2rem; align-items:end; }
.premium-heading > p { color:rgba(255,255,255,.78); margin:0; }
.premium-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
.premium-grid article { padding:1.35rem; border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.08); border-radius:20px; }
.premium-grid h3 { margin:.7rem 0 .45rem; color:#fff; }
.premium-grid p { color:rgba(255,255,255,.72)!important; font-size:.92rem; }
.premium-number { color:#ffdc64; font-weight:800; letter-spacing:.12em; }
.process-section { background:#fff; }
.process-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.8rem; margin-top:1.4rem; }
.process-grid > div { padding:1.15rem; border-radius:18px; background:#f4f7ff; border:1px solid rgba(11,61,145,.08); }
.process-grid b { display:block; color:#0b3d91; font-size:.8rem; letter-spacing:.12em; }
.process-grid span { display:block; margin:.45rem 0; color:#172554; font-weight:800; font-size:1.05rem; }
.process-grid p { font-size:.88rem; }
/* Refined footer */
.site-footer { text-align:left; margin:2rem 1.5rem 1.5rem; padding:3.2rem 2rem 1.3rem; border-radius:28px; background:linear-gradient(135deg,#061536 0%,#0b3d91 100%); box-shadow:0 25px 70px rgba(6,21,54,.18); }
.site-footer .footer-inner { max-width:1160px; display:grid; grid-template-columns:1.35fr .8fr 1fr 1fr; align-items:start; gap:2rem; }
.footer-column h3 { margin:0 0 .9rem; color:#ffdc64; font-size:1rem; }
.footer-brand { align-items:flex-start; min-width:0; }
.footer-brand img { width:66px; height:66px; border-radius:14px; }
.brand-info p { color:rgba(255,255,255,.72); font-weight:500; font-size:.9rem; }
.brand-info .footer-title { color:#fff; font-size:1.15rem; font-weight:800; }
.footer-nav ul { display:grid; grid-template-columns:1fr 1fr; gap:.35rem .75rem; }
.footer-nav a { padding:.25rem 0; color:rgba(255,255,255,.8); }
.footer-contact { min-width:0; text-align:left; }
.footer-contact p { color:rgba(255,255,255,.78); font-weight:500; }
.footer-whatsapp { display:inline-flex; align-items:center; gap:.6rem; margin-top:.45rem; padding:.75rem 1rem; border-radius:999px; background:#fff; color:#0b3d91!important; text-decoration:none; font-weight:800; }
.wa-mini { width:22px; height:22px; display:grid; place-items:center; color:#16803a; }
.wa-mini svg { width:22px; height:22px; }
.footer-bottom { max-width:1160px; margin:2rem auto 0; padding-top:1rem; border-top:1px solid rgba(255,255,255,.13); display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.footer-bottom p { margin:0; color:rgba(255,255,255,.62); font-size:.82rem; }
/* Floating WhatsApp */
.whatsapp-float { position:fixed; right:22px; bottom:22px; z-index:100; display:inline-flex; align-items:center; gap:.55rem; padding:.78rem 1rem; border-radius:999px; background:#25D366; color:#fff; text-decoration:none; font-weight:800; box-shadow:0 14px 35px rgba(0,0,0,.22); border:3px solid rgba(255,255,255,.9); transition:transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 18px 42px rgba(0,0,0,.28); }
.whatsapp-float svg { width:25px; height:25px; }
.back-to-top { position:fixed; right:24px; bottom:82px; z-index:99; width:42px; height:42px; border:1px solid rgba(11,61,145,.14); border-radius:50%; background:#fff; color:#0b3d91; font-size:1.2rem; font-weight:800; cursor:pointer; opacity:0; pointer-events:none; transform:translateY(8px); transition:.2s ease; box-shadow:0 10px 25px rgba(11,61,145,.14); }
.back-to-top.show { opacity:1; pointer-events:auto; transform:none; }
.scroll-progress { position:fixed; top:0; left:0; width:0; height:3px; background:#ffdc64; z-index:200; }
@media (max-width:900px) { .premium-heading,.site-footer .footer-inner { grid-template-columns:1fr 1fr; } .premium-grid { grid-template-columns:1fr 1fr; } .process-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px) { .site-footer { margin:1.25rem .75rem .75rem; padding:2.2rem 1.25rem 1rem; } .site-footer .footer-inner { grid-template-columns:1fr; gap:1.5rem; } .footer-brand { justify-content:flex-start; } .footer-nav ul { grid-template-columns:1fr 1fr; } .premium-heading,.premium-grid,.process-grid { grid-template-columns:1fr; } .whatsapp-float { right:14px; bottom:14px; padding:.78rem; width:54px; height:54px; justify-content:center; border-radius:50%; } .whatsapp-float span { display:none; } .back-to-top { right:18px; bottom:78px; } }
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto;} .whatsapp-float,.back-to-top{transition:none;} }


/* =========================================================
   MACETHE DIGITAL VENTURES — refined blue/cyan visual system
   ========================================================= */
:root{--navy:#071a3b;--navy-2:#0b2856;--blue:#075bea;--cyan:#11b8e8;--ink:#101b32;--muted:#62718a;--line:#e4eaf4;--paper:#f5f8fd;--white:#fff;--shadow:0 18px 55px rgba(8,35,82,.10);font-family:Inter,system-ui,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{background:#fff;color:var(--ink);line-height:1.65;overflow-x:hidden}
a{transition:color .2s ease,background .2s ease,transform .2s ease}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(15,44,88,.08);box-shadow:0 5px 24px rgba(7,26,59,.04)}
.navbar{max-width:1280px;min-height:78px;padding:10px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand-lockup{display:flex;align-items:center;width:190px;height:58px;overflow:hidden}
.brand-lockup img{width:100%;height:100%;object-fit:contain;object-position:left center}
.nav-links{gap:clamp(15px,2.2vw,32px)}
.nav-links a{color:#1d2a43;font-size:13px;font-weight:700}
.nav-links a:hover,.nav-links a.active{color:var(--blue)}
.nav-cta{display:inline-flex;align-items:center;gap:14px;padding:13px 19px;border-radius:9px;background:var(--blue);color:#fff;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 9px 20px rgba(7,91,234,.18)}
.nav-cta:hover,.button-primary:hover{background:#034bc8;transform:translateY(-2px)}
.menu-toggle{display:none}
.agency-hero{position:relative;isolation:isolate;overflow:hidden;min-height:570px;max-width:1280px;margin:26px auto 0;border-radius:24px;background:linear-gradient(115deg,#061a3c 0%,#082e72 55%,#075bea 100%);color:#fff;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;padding:68px 7.2% 72px;box-shadow:0 28px 65px rgba(7,40,100,.18)}
.agency-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 78% 20%,rgba(0,190,255,.32),transparent 35%),linear-gradient(130deg,transparent 54%,rgba(0,147,255,.24) 54%,transparent 80%)}
.hero-content{position:relative;z-index:3;max-width:650px}
.eyebrow,.section-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.eyebrow{color:#d6f5ff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.17);border-radius:50px;padding:9px 14px;margin-bottom:23px}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:#19d5ef;box-shadow:0 0 0 5px rgba(25,213,239,.13)}
.agency-hero h1{font-size:clamp(42px,5.2vw,68px);line-height:1.08;letter-spacing:-.055em;margin:0 0 20px;font-weight:850;color:#fff}
.agency-hero h1 span{color:#38d4f1}
.agency-hero .hero-content>p{font-size:16px;line-height:1.8;color:#d7e5f8;max-width:570px}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin:28px 0}
.button{border-radius:8px;padding:14px 20px;font-size:13px}
.button-primary{background:#0874ff;color:#fff;box-shadow:0 10px 22px rgba(0,100,255,.25)}
.button-primary span{font-size:18px}
.button-outline{border:1px solid rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.06)}
.button-outline:hover{background:#fff;color:var(--navy)}
.hero-capabilities{display:flex;flex-wrap:wrap;gap:18px;color:#c3d6f2;font-size:11px;font-weight:700}
.hero-visual{height:390px;position:relative;display:flex;align-items:center;justify-content:center}
.visual-glow{position:absolute;width:340px;height:340px;border-radius:50%;background:linear-gradient(140deg,#0cb8f2,#1451dc);filter:blur(2px);opacity:.72;right:7%;top:7%;box-shadow:0 0 100px rgba(0,177,255,.4)}
.portrait-frame{position:relative;z-index:2;width:min(310px,76%);height:370px;border-radius:180px 180px 24px 24px;overflow:hidden;border:1px solid rgba(255,255,255,.35);box-shadow:0 25px 60px rgba(0,0,0,.28);background:#dce8f5}
.portrait-frame img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.hero-monogram{position:absolute;z-index:1;right:0;bottom:-30px;font-size:270px;line-height:1;font-weight:900;color:rgba(255,255,255,.08);letter-spacing:-.1em}
.floating-tag{position:absolute;z-index:4;display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:12px;background:#fff;color:var(--navy);box-shadow:0 15px 35px rgba(0,0,0,.2);font-size:10px;line-height:1.4}
.floating-tag b{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e4f8ff;color:#0875e9;font-size:22px}
.floating-tag strong{font-size:11px}.tag-top{top:50px;left:-20px}.tag-bottom{bottom:44px;right:-15px}
.hero-bottomline{position:absolute;left:7.2%;right:7.2%;bottom:0;height:48px;border-top:1px solid rgba(255,255,255,.16);display:flex;align-items:center;gap:13px;color:#c1d5f3;font-size:9px;font-weight:800;letter-spacing:.18em}
.hero-bottomline b{color:#27c7ed}.hero-bottomline div{margin-left:auto;letter-spacing:0;text-transform:none;font-weight:500}.hero-bottomline div span{padding-left:8px;color:#37d8f2}
.service-ribbon{max-width:1180px;margin:-1px auto 85px;position:relative;z-index:4;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid #e6edf7;border-radius:0 0 16px 16px;box-shadow:0 18px 45px rgba(7,35,80,.08);padding:19px 12px}
.service-ribbon>div{display:flex;justify-content:center;align-items:center;gap:10px;padding:7px 12px;border-right:1px solid var(--line);font-size:11px;color:#263650}.service-ribbon>div:last-child{border:0}
.ribbon-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eaf5ff;color:var(--blue);font-size:21px;font-weight:800}
.content-section,.portfolio-section,.approach-section{max-width:1160px;margin:0 auto 100px;padding:0 20px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:32px}
.section-kicker{color:var(--blue);margin-bottom:12px}
.section-heading h2,.about-copy h2,.contact-intro h2{font-size:clamp(30px,3.8vw,44px);line-height:1.14;letter-spacing:-.045em;margin:0;color:var(--ink)}
.section-heading h2 span,.about-copy h2 span,.contact-intro h2 span{color:var(--blue)}
.section-heading>p{max-width:420px;margin:0;color:var(--muted);font-size:13px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.agency-service{position:relative;padding:27px 25px 24px;min-height:250px;border:1px solid #e4ebf5;border-radius:15px;background:linear-gradient(145deg,#fff,#f8fbff);transition:transform .25s,box-shadow .25s,border-color .25s;overflow:hidden}
.agency-service:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#a8d9ff}
.service-number{position:absolute;right:20px;top:17px;font-size:11px;font-weight:800;color:#9aabc2}
.service-symbol{display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:#e8f5ff;color:var(--blue);font-size:26px;font-weight:700;margin-bottom:19px}
.agency-service h3{font-size:17px;margin:0 0 10px;color:#122442;letter-spacing:-.02em}
.agency-service p{font-size:12px;line-height:1.75;color:#697991;margin:0 0 19px}
.agency-service>a{font-size:11px;font-weight:800;color:var(--blue);text-decoration:none}
.agency-service>a span{font-size:17px;margin-left:6px}
.service-featured{background:linear-gradient(135deg,#071a3b,#0a3c86);border-color:#0b3c80}.service-featured h3{color:#fff}.service-featured p{color:#c6d8ef}.service-featured .service-number{color:#8ca9d2}.service-featured .service-symbol{background:rgba(255,255,255,.13);color:#4bd8f4}
.agency-about{max-width:1160px;margin:0 auto 100px;padding:55px 60px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:65px;background:#f3f7fc;border-radius:20px}
.about-photo{height:370px;overflow:hidden;border-radius:15px;background:#dce8f4;box-shadow:18px 18px 0 #d8eaff}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:center 28%}
.about-copy h2{margin-bottom:20px}.about-copy p{font-size:13px;color:#63718a;line-height:1.9}
.text-link{display:inline-flex;gap:12px;align-items:center;margin-top:13px;color:var(--blue);font-weight:800;font-size:12px;text-decoration:none}.text-link span{font-size:19px}
.portfolio-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:16px}
.portfolio-card{position:relative;display:block;height:280px;border-radius:15px;overflow:hidden;background:#10294d}
.portfolio-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.portfolio-card:hover img{transform:scale(1.06)}
.portfolio-card:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(3,15,35,.92))}
.portfolio-overlay{position:absolute;z-index:2;bottom:22px;left:22px;right:20px;display:grid;color:#fff}
.portfolio-overlay small{font-size:9px;letter-spacing:.14em;color:#8ceaff;font-weight:800}
.portfolio-overlay strong{font-size:19px;margin:6px 0}
.portfolio-overlay em{font-style:normal;font-size:10px;color:#d3e2f7}
.statement-band{max-width:1160px;margin:0 auto 100px;padding:35px 45px;display:flex;align-items:center;gap:25px;background:linear-gradient(110deg,#061a3c,#075bea);border-radius:17px;color:#fff;overflow:hidden;position:relative}
.statement-mark{font-size:82px;line-height:1;font-weight:900;color:rgba(255,255,255,.25)}
.statement-band div:nth-child(2){flex:1}.statement-band div span{font-size:9px;letter-spacing:.18em;color:#8be8ff;font-weight:800}
.statement-band h2{font-size:30px;margin:3px 0 0;letter-spacing:-.04em}.statement-band h2 em{font-style:normal;color:#35d2f1}
.statement-band>a{color:#fff;text-decoration:none;font-size:11px;font-weight:800;border:1px solid rgba(255,255,255,.4);padding:13px 17px;border-radius:8px}.statement-band>a span{padding-left:10px}
.approach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.approach-grid article{padding:25px;border-top:2px solid #0b77ed;background:#f7faff;border-radius:0 0 12px 12px}
.approach-grid b{font-size:12px;color:#0b75e8}.approach-grid h3{margin:15px 0 8px;font-size:18px}.approach-grid p{font-size:12px;color:#6a7890;line-height:1.8;margin:0}
.contact-section{max-width:1160px;margin:0 auto 95px;padding:55px 55px;display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;background:#f3f7fc;border-radius:20px}
.contact-intro h2{margin-bottom:17px}.contact-intro>p{font-size:13px;color:#687790;line-height:1.85}
.contact-detail{display:grid;gap:4px;margin-top:22px}.contact-detail small{font-size:9px;letter-spacing:.15em;color:#8492a8;font-weight:800}.contact-detail a{font-size:12px;color:#142b4e;text-decoration:none;font-weight:700}.contact-detail span{color:#8190a7}
.whatsapp-contact{display:inline-block;margin-top:23px;color:#087d67;font-size:12px;font-weight:800;text-decoration:none}
.contact-form{background:#fff;padding:27px;border:1px solid #e5edf7;border-radius:14px;box-shadow:0 14px 40px rgba(7,35,80,.06);display:grid;gap:15px}
.contact-form label{display:grid;gap:7px;font-size:10px;color:#30415d;font-weight:800}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:12px 13px;border:1px solid #dce5f0;border-radius:7px;background:#fbfdff;color:#172844;font:500 12px Inter,sans-serif;outline:none}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#1682f7;box-shadow:0 0 0 3px rgba(22,130,247,.1)}
.contact-form textarea{resize:vertical}
.contact-form button{border:0;border-radius:8px;padding:14px 18px;background:var(--blue);color:#fff;font:800 12px Inter,sans-serif;cursor:pointer}
.contact-form button:hover{background:#064bc1}.contact-form button span{padding-left:12px;font-size:17px}
.form-status{margin:0;font-size:11px}.form-status.success{color:#087d57}.form-status.error{color:#bd2d3b}
.agency-footer{background:#061733;color:#fff;padding:55px max(24px,calc((100% - 1160px)/2)) 20px;margin:0;border-radius:0;text-align:left}
.footer-main{display:grid;grid-template-columns:1.2fr .75fr 1fr 1.1fr 1.35fr;gap:28px;padding-bottom:40px}
.footer-brand-block img{display:block;width:176px;height:112px;padding:6px;background:#fff;border:1px solid rgba(255,255,255,.18);border-radius:13px;object-fit:contain;object-position:center;filter:none;opacity:1;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.footer-brand-block p{font-size:11px;color:#aebed5;line-height:1.8}
.footer-main h3{font-size:11px;margin:7px 0 17px;color:#fff}
.footer-main>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.footer-main a{font-size:10px;color:#aebed5;text-decoration:none;font-weight:500}.footer-main a:hover{color:#47d5f3}
.footer-bottom{border-top:1px solid rgba(255,255,255,.13);padding-top:18px;display:flex;justify-content:space-between;gap:15px;color:#8295b2;font-size:9px}
.footer-bottom a{color:#b9d5f6;text-decoration:none}
.whatsapp-float{position:fixed;z-index:80;right:22px;bottom:22px;padding:13px 17px;border-radius:50px;background:#087e67;color:#fff;text-decoration:none;font-size:11px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.back-to-top{position:fixed;right:25px;bottom:82px;z-index:80;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--blue);box-shadow:0 5px 22px rgba(0,0,0,.16);font-size:20px;opacity:0;pointer-events:none;transition:opacity .2s}
.back-to-top.show{opacity:1;pointer-events:auto}.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:#12c6ed;z-index:200}
.animate-on-scroll{opacity:1;transform:none}
@media(max-width:900px){.agency-hero{margin:16px 16px 0;padding:50px 5%;grid-template-columns:1fr  .8fr;min-height:520px}.agency-hero h1{font-size:46px}.hero-visual{height:330px}.portrait-frame{height:310px}.service-ribbon{margin:0 16px 70px;grid-template-columns:repeat(3,1fr);border-radius:0 0 14px 14px}.service-ribbon>div:nth-child(3){border-right:0}.service-ribbon>div:nth-child(n+4){display:none}.services-grid{grid-template-columns:repeat(2,1fr)}.agency-about,.contact-section{margin-left:18px;margin-right:18px;padding:38px;gap:35px}.footer-main{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.navbar{min-height:68px;padding:8px 17px;gap:10px}.brand-lockup{width:155px;height:49px}.menu-toggle{display:flex;margin-left:auto;width:42px;height:42px;flex-direction:column;justify-content:center;gap:5px;align-items:center;border:1px solid #e2eaf5;border-radius:8px;background:#fff}.menu-toggle span{width:18px;height:2px;background:#10294d;border-radius:3px}.nav-cta{padding:11px 12px;font-size:10px;gap:7px}.nav-links{display:none;position:absolute;left:12px;right:12px;top:66px;background:#fff;padding:14px;border:1px solid #e5edf7;border-radius:12px;box-shadow:0 18px 35px rgba(7,26,59,.14);flex-direction:column;align-items:stretch;gap:0}.nav-links.open{display:flex}.nav-links li{border-bottom:1px solid #edf1f7}.nav-links li:last-child{border:0}.nav-links a{display:block;padding:12px 10px}
.agency-hero{display:flex;flex-direction:column;align-items:stretch;margin:12px 10px 0;padding:38px 23px 60px;border-radius:16px;min-height:0}.agency-hero h1{font-size:clamp(37px,10vw,49px)}.agency-hero .hero-content>p{font-size:13px}.hero-capabilities{gap:8px 13px;font-size:9px}.hero-visual{height:285px;margin-top:20px}.portrait-frame{height:270px;width:220px}.visual-glow{width:260px;height:260px;right:15%;top:2%}.hero-monogram{font-size:190px;right:7%;bottom:-12px}.tag-top{left:0;top:28px}.tag-bottom{right:0;bottom:18px}.floating-tag{padding:9px 10px}.hero-bottomline{left:23px;right:23px;height:38px;font-size:8px}
.service-ribbon{margin:0 10px 65px;grid-template-columns:repeat(2,1fr);padding:10px 5px}.service-ribbon>div{justify-content:flex-start;border:0!important;padding:8px;font-size:9px}.service-ribbon>div:nth-child(n+3){display:none}
.content-section,.portfolio-section,.approach-section{padding:0 17px;margin-bottom:70px}.section-heading{display:block;margin-bottom:23px}.section-heading h2,.about-copy h2,.contact-intro h2{font-size:32px}.section-heading>p{margin-top:14px}.services-grid{grid-template-columns:1fr;gap:11px}.agency-service{min-height:0;padding:22px}.agency-service p{max-width:52ch}
.agency-about{margin:0 10px 70px;padding:24px;grid-template-columns:1fr;gap:30px}.about-photo{height:280px}.about-copy h2{font-size:32px}
.portfolio-grid{grid-template-columns:1fr}.portfolio-card{height:230px}.statement-band{margin:0 10px 70px;padding:24px;gap:13px;flex-wrap:wrap}.statement-mark{font-size:55px}.statement-band h2{font-size:25px}.statement-band>a{margin-left:auto}
.approach-grid{grid-template-columns:1fr}.contact-section{margin:0 10px 65px;padding:25px 19px;grid-template-columns:1fr;gap:25px}.form-row{grid-template-columns:1fr}.contact-form{padding:19px}
.agency-footer{padding:40px 22px 18px}.footer-main{grid-template-columns:1fr 1fr;gap:25px 18px}.footer-brand-block{grid-column:1/-1}.footer-bottom{flex-wrap:wrap}.whatsapp-float{right:12px;bottom:12px;padding:11px 13px}.back-to-top{right:17px;bottom:68px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}


/* Shared refinements for About and Portfolio pages + subtle brand watermarking */
body:not(:has(.agency-hero)) main{max-width:1160px;padding:42px 22px 70px}
body:not(:has(.agency-hero)) .hero-small{background:linear-gradient(120deg,#071a3b,#075bea);color:#fff;border-radius:18px;padding:65px 55px;position:relative;overflow:hidden}
body:not(:has(.agency-hero)) .hero-small:after{content:"M";position:absolute;right:35px;bottom:-95px;font-size:290px;line-height:1;font-weight:900;color:rgba(255,255,255,.07);pointer-events:none}
body:not(:has(.agency-hero)) .hero-small h1,body:not(:has(.agency-hero)) .hero-small h2,body:not(:has(.agency-hero)) .hero-small h3{color:#fff}
body:not(:has(.agency-hero)) .hero-small p{color:#dce9fb}
body:not(:has(.agency-hero)) .hero-small .eyebrow{color:#8deaff}
body:not(:has(.agency-hero)) .section-card{border:1px solid #e7edf6;border-radius:16px;box-shadow:0 12px 38px rgba(7,35,80,.06);padding:30px;margin-bottom:22px;position:relative}
body:not(:has(.agency-hero)) .section-card h2{color:#10284d}
body:not(:has(.agency-hero)) .service-card,body:not(:has(.agency-hero)) .skill-item{background:#f4f8fd;border:1px solid #e6edf6;border-radius:13px}
body:not(:has(.agency-hero)) .project-card{overflow:hidden;border-radius:13px;background:#f5f8fd;padding:0 0 18px;border:1px solid #e4ebf5}
body:not(:has(.agency-hero)) .project-card img{width:100%;height:220px;object-fit:cover;border-radius:0}
body:not(:has(.agency-hero)) .project-card h3,body:not(:has(.agency-hero)) .project-card p{margin-left:18px;margin-right:18px}
body:not(:has(.agency-hero)) .project-card h3{color:#10284d}
body:not(:has(.agency-hero)) .hero-image{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:22px}
body:not(:has(.agency-hero)) .hero-image img{width:100%;height:280px;object-fit:cover;border-radius:13px}
@media(max-width:650px){body:not(:has(.agency-hero)) main{padding:22px 12px 50px}body:not(:has(.agency-hero)) .hero-small{padding:38px 24px}body:not(:has(.agency-hero)) .section-card{padding:22px 17px}body:not(:has(.agency-hero)) .hero-image{grid-template-columns:1fr}body:not(:has(.agency-hero)) .hero-image img{height:260px}}


/* =========================================================
   MACETHE DIGITAL VENTURES — PREMIUM HERO MOTION SYSTEM
   Lightweight CSS animations + subtle pointer parallax.
   Respects prefers-reduced-motion.
   ========================================================= */
.agency-hero {
  perspective: 1200px;
  --pointer-x: 0px;
  --pointer-y: 0px;
}
.agency-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -30%;
  pointer-events: none;
  opacity: .34;
  background:
    linear-gradient(112deg, transparent 38%, rgba(77,218,255,.16) 48%, transparent 57%),
    radial-gradient(circle at 22% 78%, rgba(40,130,255,.2), transparent 28%);
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  animation: heroLightSweep 12s ease-in-out infinite alternate;
}
.agency-hero .hero-content,
.agency-hero .hero-visual,
.agency-hero .hero-bottomline {
  z-index: 2;
}
.agency-hero .hero-content > * {
  opacity: 0;
  animation: heroContentRise .8s cubic-bezier(.18,.75,.25,1) forwards;
}
.agency-hero .hero-content > .eyebrow { animation-delay: .12s; }
.agency-hero .hero-content > h1 { animation-delay: .25s; }
.agency-hero .hero-content > p { animation-delay: .4s; }
.agency-hero .hero-content > .hero-actions { animation-delay: .55s; }
.agency-hero .hero-content > .hero-capabilities { animation-delay: .7s; }

.agency-hero .hero-visual {
  transform-style: preserve-3d;
  animation: heroVisualEnter 1.1s cubic-bezier(.16,.8,.25,1) .18s both;
}
.agency-hero .visual-glow {
  transform: translate3d(var(--pointer-x), var(--pointer-y), -20px);
  animation: glowPulse 6s ease-in-out infinite, glowDrift 10s ease-in-out infinite alternate;
}
.agency-hero .portrait-frame {
  transform: translate3d(calc(var(--pointer-x) * -.35), calc(var(--pointer-y) * -.35), 26px);
  animation: portraitFloat 6s ease-in-out 1.1s infinite;
  will-change: transform;
}
.agency-hero .portrait-frame img {
  transform: scale(1.035);
  animation: portraitImageReveal 1.25s cubic-bezier(.2,.75,.25,1) .35s both;
}
.agency-hero .floating-tag {
  opacity: 0;
  animation: tagPopIn .75s cubic-bezier(.18,.85,.25,1) forwards, tagFloat 5.5s ease-in-out 1.1s infinite;
  will-change: transform;
}
.agency-hero .tag-top { animation-delay: .65s, 1.4s; }
.agency-hero .tag-bottom { animation-delay: .85s, 1.8s; }
.agency-hero .hero-monogram {
  animation: monogramReveal 1.3s ease-out .3s both, monogramBreathe 8s ease-in-out 1.6s infinite;
  transform-origin: center bottom;
}
.agency-hero .hero-bottomline {
  animation: bottomLineReveal .8s ease-out .8s both;
}
.agency-hero .hero-bottomline div span {
  display: inline-block;
  animation: scrollNudge 1.6s ease-in-out infinite;
}
.agency-hero .button-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.agency-hero .button-primary::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  left: -65%;
  width: 38%;
  height: 220%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  animation: buttonShine 4.8s ease-in-out 1.8s infinite;
}
.agency-hero .button-primary:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 18px 34px rgba(0,111,255,.38);
}
.agency-hero .button-outline {
  transition: transform .28s ease, background .28s ease, color .28s ease;
}
.agency-hero .button-outline:hover { transform: translateY(-4px); }

@keyframes heroContentRise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes heroVisualEnter {
  from { opacity: 0; transform: translate3d(28px, 16px, -35px) rotateY(-9deg) scale(.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}
@keyframes portraitImageReveal {
  from { opacity: .35; transform: scale(1.13); filter: saturate(.65) blur(4px); }
  to { opacity: 1; transform: scale(1.035); filter: saturate(1) blur(0); }
}
@keyframes portraitFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -11px; }
}
@keyframes glowPulse {
  0%, 100% { opacity: .62; filter: blur(2px); }
  50% { opacity: .95; filter: blur(8px); }
}
@keyframes glowDrift {
  from { scale: .96; }
  to { scale: 1.06; }
}
@keyframes tagPopIn {
  from { opacity: 0; scale: .82; }
  to { opacity: 1; scale: 1; }
}
@keyframes tagFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@keyframes monogramReveal {
  from { opacity: 0; transform: translateY(30px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes monogramBreathe {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
@keyframes heroLightSweep {
  from { transform: translate3d(-1.5%, 0, 0) rotate(-2deg); }
  to { transform: translate3d(1.5%, -1%, 0) rotate(2deg); }
}
@keyframes bottomLineReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes buttonShine {
  0%, 55% { left: -65%; }
  78%, 100% { left: 135%; }
}

@media (max-width: 900px) {
  .agency-hero .hero-visual { animation-duration: .9s; }
  .agency-hero .floating-tag { padding: 10px 12px; }
}
@media (max-width: 600px) {
  .agency-hero .hero-content > * { animation-duration: .65s; }
  .agency-hero .hero-visual { animation: heroVisualEnter .85s cubic-bezier(.16,.8,.25,1) .15s both; }
  .agency-hero .portrait-frame { animation-duration: 7s; }
  .agency-hero .floating-tag { animation-duration: .7s, 6s; }
}
@media (prefers-reduced-motion: reduce) {
  .agency-hero *,
  .agency-hero::before,
  .agency-hero::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .agency-hero .hero-content > *,
  .agency-hero .floating-tag { opacity: 1 !important; filter: none !important; }
  .agency-hero .hero-visual { opacity: 1 !important; transform: none !important; }
}


/* Premium brand watermark with a slow, fluid water-like motion. */
.agency-hero { isolation: isolate; }
.hero-wave-logo {
  position: absolute;
  z-index: 0;
  width: clamp(340px, 47vw, 620px);
  height: auto;
  right: 5%;
  top: 50%;
  opacity: .17;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  filter: saturate(1.2) drop-shadow(0 18px 48px rgba(0, 174, 255, .18));
  transform: translate3d(0,-50%,0) rotate(-7deg);
  transform-origin: 55% 50%;
  animation: brandWaterWave 10s ease-in-out infinite;
}
.agency-hero:after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background:
    radial-gradient(ellipse 62% 24% at 78% 82%, rgba(24,194,255,.25), transparent 70%),
    radial-gradient(ellipse 58% 19% at 70% 16%, rgba(69,119,255,.22), transparent 72%);
  animation: waterLight 12s ease-in-out infinite alternate;
}
.hero-content,.hero-visual,.hero-bottomline { z-index: 2; }
@keyframes brandWaterWave {
  0%,100% { transform: translate3d(0,-50%,0) rotate(-7deg) skewY(-1deg) scale(1); }
  25% { transform: translate3d(-10px,calc(-50% - 8px),0) rotate(-4deg) skewY(1.5deg) scale(1.025, .985); }
  50% { transform: translate3d(8px,calc(-50% + 5px),0) rotate(-9deg) skewY(-1.5deg) scale(.985,1.02); }
  75% { transform: translate3d(-5px,calc(-50% - 4px),0) rotate(-5deg) skewY(1deg) scale(1.015,.99); }
}
@keyframes waterLight {
  from { transform: translateX(-2%) scaleY(.92); }
  to { transform: translateX(2%) scaleY(1.08); }
}

/* Clear, accessible recovery actions when the enquiry service is unavailable. */
.form-status.error { line-height: 1.7; color: #b42332; }
.form-status .form-error-copy { display: block; margin-bottom: 9px; }
.form-status .form-fallback-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.form-status .form-fallback-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 8px 12px; border-radius: 7px;
  border: 1px solid rgba(11,61,145,.18); background: #f3f7ff;
  color: #0b3d91; text-decoration: none; font-size: 11px; font-weight: 800;
}
.form-status .form-fallback-actions a:hover { background: #e5efff; }

/* Social profile icon row — shared by all site footers. */
.footer-social { min-width: 190px; }
.footer-social h3 { margin-bottom: 10px; }
.footer-social > p,.footer-social-legacy > p {
  margin: 0 0 13px; max-width: 250px; color: #aebed5;
  font-size: 10px; line-height: 1.7; font-weight: 500;
}
.social-icon-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
 .social-icon-links a {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid transparent; border-radius: 11px;
  background: rgba(255,255,255,.10); color: #fff;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.social-icon-links a:nth-child(1) { background: linear-gradient(135deg,#833ab4 0%,#fd1d1d 55%,#fcb045 100%); }
.social-icon-links a:nth-child(2) { background: #1877f2; }
.social-icon-links a:nth-child(3) { background: #111; }
.social-icon-links a:nth-child(4) { background: #ff0033; }
.social-icon-links a:nth-child(5) { background: #0a66c2; }
.social-icon-links a:nth-child(6) { background: #000; }
.social-icon-links a:hover {
  color: #fff; filter: brightness(1.13); border-color: rgba(255,255,255,.55);
  box-shadow: 0 7px 18px rgba(0,0,0,.2); transform: translateY(-3px);
}
.social-icon-links svg { width: 18px; height: 18px; display: block; }
.footer-social-legacy { min-width: 200px; }
.footer-social-legacy .social-icon-links a { color: #fff; }
@media (max-width: 900px) {
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-social { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .hero-wave-logo {
    width: min(112vw, 500px); right: -22%; top: 55%;
    opacity: .12; transform: translate3d(0,-50%,0) rotate(-7deg);
  }
  .agency-hero:after { opacity: .18; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-social { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wave-logo,.agency-hero:after { animation: none !important; }
}


/* MACETHE DIGITAL VENTURES responsive layout safeguards. */
.agency-hero { overflow: hidden; }
.hero-wave-logo {
  width: clamp(390px, 52vw, 690px);
  max-width: none;
  height: auto;
  right: 1.5%;
  top: 51%;
  z-index: 3;
  opacity: .96;
  mix-blend-mode: normal;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.16));
  transform: translate3d(0,-50%,0) rotate(-4deg);
}
.agency-hero .hero-content { z-index: 4; }
.agency-hero .hero-visual { z-index: 2; }
.agency-hero .hero-bottomline { z-index: 4; }
.hero-wave-logo { pointer-events:none; }

.site-footer .footer-inner {
  grid-template-columns: 1.25fr .9fr 1fr 1fr 1fr;
}
.site-footer .footer-social-legacy {
  min-width: 0;
  grid-column: auto;
}
.site-footer .footer-social-legacy h3 { color: #fff; margin: 0 0 10px; }
.site-footer .footer-social-legacy > p { color: #aebed5; }
.site-footer .footer-bottom { margin-top: 2rem; }

@media (max-width: 1100px) {
  .site-footer .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-social-legacy { grid-column: auto; }
}
@media (max-width: 900px) {
  .agency-hero { grid-template-columns: 1fr .85fr; }
  .hero-wave-logo {
    width: clamp(360px, 60vw, 560px);
    right: -5%;
    opacity: .88;
  }
  .site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .agency-hero { position: relative; }
  .hero-wave-logo {
    width: min(108vw, 510px);
    max-width: 510px;
    right: -14%;
    top: auto;
    bottom: 5%;
    opacity: .88;
    transform: rotate(-3deg);
    animation: none;
  }
  .agency-hero .hero-content { position: relative; }
  .agency-hero .hero-visual { position: relative; }
  .site-footer .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-brand,
  .site-footer .footer-social-legacy { grid-column: 1; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { margin-left: 10px; margin-right: 10px; padding-left: 20px; padding-right: 20px; }
  .agency-footer .footer-main { grid-template-columns: minmax(0, 1fr); }
  .agency-footer .footer-brand-block { grid-column: 1; }
  .agency-footer .footer-bottom { align-items: flex-start; }
}
@media (max-width: 380px) {
  .agency-hero { margin-left: 7px; margin-right: 7px; padding-left: 17px; padding-right: 17px; }
  .agency-hero h1 { font-size: clamp(32px, 9vw, 38px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { text-align: center; }
  .nav-cta { font-size: 9px; padding: 10px 8px; }
}
img, video, iframe { max-width: 100%; }
html { overflow-x: clip; }
body { overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Hero logo intentionally removed at the owner's request. */
.hero-wave-logo { display: none !important; animation: none !important; }


/* 2026 responsive refinement: retain the desktop art direction, simplify touch layouts. */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #19a9df; outline-offset: 3px;
}
.menu-toggle { cursor: pointer; }
.menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
.whatsapp-float {
  width: 76px; height: 76px; padding: 0; border-radius: 50%;
  background: transparent; box-shadow: 0 8px 26px rgba(0,0,0,.18);
  display: grid; place-items: center; overflow: visible;
}
.whatsapp-float img { display:block; width:100%; height:100%; object-fit:contain; border-radius:50%; }
.whatsapp-contact { display:inline-flex; align-items:center; gap:9px; }
.whatsapp-contact img { width:34px; height:34px; object-fit:contain; border-radius:50%; }
@media (max-width: 900px) {
  .agency-hero { min-width:0; }
  .content-section, .portfolio-section, .approach-section { min-width:0; }
  .services-grid, .portfolio-grid, .approach-grid { min-width:0; }
  .agency-service, .portfolio-card { min-width:0; }
}
@media (max-width: 650px) {
  .site-header { position:sticky; top:0; }
  .navbar {
    min-height:66px; padding:8px 14px; display:flex; flex-wrap:nowrap;
    justify-content:space-between; gap:9px;
  }
  .brand-lockup { flex:0 1 142px; width:142px; min-width:0; height:45px; }
  .menu-toggle { flex:0 0 42px; margin-left:auto; width:42px; height:42px; }
  .nav-cta { flex:0 0 auto; padding:10px 11px; font-size:10px; border-radius:8px; white-space:nowrap; }
  .nav-links {
    z-index:120; left:10px; right:10px; top:calc(100% + 7px); width:auto;
    max-height:min(72vh, 520px); overflow-y:auto; padding:8px;
    border-radius:15px; box-shadow:0 18px 42px rgba(7,26,59,.18);
  }
  .nav-links li { border-bottom:1px solid #edf1f7; }
  .nav-links a { min-height:46px; display:flex; align-items:center; padding:11px 13px; font-size:14px; }
  .agency-hero {
    margin:10px 10px 0; padding:30px 19px 50px; border-radius:17px;
    min-height:0; gap:0;
  }
  .agency-hero h1 { max-width:14ch; font-size:clamp(34px, 9.2vw, 45px); line-height:1.08; letter-spacing:-.045em; }
  .agency-hero .hero-content>p { max-width:56ch; font-size:14px; line-height:1.65; }
  .hero-actions { display:grid; grid-template-columns:1fr; gap:10px; margin-top:20px; }
  .hero-actions .button { width:100%; min-height:48px; justify-content:center; }
  .hero-capabilities { display:flex; flex-wrap:wrap; gap:7px 12px; font-size:10px; }
  .hero-visual { height:250px; margin-top:15px; overflow:hidden; }
  .portrait-frame { width:min(68vw,220px); height:235px; }
  .floating-tag { max-width:48%; font-size:10px; padding:8px 9px; }
  .hero-bottomline { left:18px; right:18px; bottom:10px; }
  .service-ribbon { margin:0 10px 52px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content-section, .portfolio-section, .approach-section { padding:0 15px; margin-bottom:54px; }
  .section-heading { display:block; margin-bottom:21px; }
  .section-heading h2, .about-copy h2, .contact-intro h2 { font-size:clamp(27px,7.5vw,34px); line-height:1.15; }
  .section-heading>p { margin-top:12px; font-size:14px; }
  .services-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .agency-service { padding:20px; border-radius:16px; }
  .agency-service h3 { font-size:19px; }
  .agency-service p { font-size:14px; line-height:1.6; }
  .agency-about { margin:0 10px 54px; padding:20px; gap:23px; border-radius:17px; }
  .about-photo { height:auto; max-height:310px; aspect-ratio:1.15/1; }
  .about-photo img { width:100%; height:100%; object-fit:cover; }
  .about-copy p { font-size:14px; }
  .portfolio-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .portfolio-card { height:auto; min-height:210px; aspect-ratio:1.35/1; }
  .statement-band { margin:0 10px 54px; padding:21px; border-radius:16px; }
  .statement-band h2 { font-size:clamp(24px,7vw,31px); }
  .approach-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .approach-grid article { padding:20px; }
  .contact-section { margin:0 10px 50px; padding:22px 17px; grid-template-columns:minmax(0,1fr); gap:20px; border-radius:17px; }
  .contact-intro p { font-size:14px; }
  .contact-detail a { overflow-wrap:anywhere; }
  .contact-form { padding:0; gap:13px; }
  .form-row { grid-template-columns:minmax(0,1fr); gap:13px; }
  .contact-form input, .contact-form select, .contact-form textarea { min-height:48px; padding:12px 13px; font-size:16px; }
  .contact-form textarea { min-height:115px; }
  .contact-form button { width:100%; min-height:49px; }
  .agency-footer { padding:34px 18px 18px; }
  .footer-main { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px 14px; }
  .footer-main>div { min-width:0; overflow-wrap:anywhere; }
  .footer-main a { overflow-wrap:anywhere; }
  .footer-bottom { gap:10px; font-size:11px; }
  .whatsapp-float { width:62px; height:62px; right:12px; bottom:12px; }
  .back-to-top { right:22px; bottom:82px; }
}
@media (max-width: 380px) {
  .brand-lockup { flex-basis:120px; width:120px; }
  .nav-cta { padding:9px 8px; font-size:9px; }
  .agency-hero { padding-left:16px; padding-right:16px; }
  .footer-main { grid-template-columns:minmax(0,1fr); }
  .footer-brand-block { grid-column:auto; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition:none; }
}


/* Shared 3D WhatsApp brand asset across every page and CTA. */
.whatsapp-float img { width:100%; height:100%; object-fit:contain; display:block; border-radius:50%; }
.whatsapp-float span { display:none; }
.footer-whatsapp .wa-mini { width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; }
.footer-whatsapp .wa-mini img { width:100%; height:100%; object-fit:contain; display:block; border-radius:50%; }
.footer-social-legacy { position:relative; clear:both; }
@media (max-width:650px) {
  .footer-social-legacy { width:100%; margin-top:4px; }
  .footer-social-legacy .social-icon-links { display:flex; flex-wrap:wrap; gap:10px; }
}

/* =========================================================
   MOBILE HEADER REBUILD — compact, aligned, touch-friendly
   Applied consistently to Home, About and Portfolio pages.
   Desktop navigation is intentionally unchanged.
   ========================================================= */
@media (max-width: 650px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    z-index: 300 !important;
    background: rgba(255,255,255,.97) !important;
  }

  .site-header .navbar {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto auto !important;
    grid-template-rows: 50px !important;
    align-items: center !important;
    justify-content: initial !important;
    gap: 9px !important;
    flex-wrap: nowrap !important;
    text-align: left !important;
  }

  .site-header .brand-lockup {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    width: min(100%, 138px) !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    justify-self: start !important;
    align-self: center !important;
    overflow: hidden !important;
  }

  .site-header .brand-lockup img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .site-header .nav-cta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: 100px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    gap: 7px !important;
  }

  .site-header .menu-toggle {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 10px !important;
    background: #fff !important;
  }

  .site-header .menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    background: #10294d !important;
  }

  .site-header .nav-links {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 350 !important;
    display: none !important;
    width: auto !important;
    max-height: min(72vh, 480px) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 8px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    list-style: none !important;
    text-align: left !important;
    background: #fff !important;
    border: 1px solid #e5edf7 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px rgba(7,26,59,.18) !important;
  }

  .site-header .nav-links.open {
    display: flex !important;
  }

  .site-header .nav-links li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid #edf1f7 !important;
  }

  .site-header .nav-links li:last-child {
    border-bottom: 0 !important;
  }

  .site-header .nav-links a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 13px !important;
    color: #1d2a43 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
  }
}

@media (max-width: 380px) {
  .site-header .navbar {
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 7px !important;
  }
  .site-header .brand-lockup {
    width: min(100%, 112px) !important;
    height: 40px !important;
  }
  .site-header .nav-cta {
    min-width: 88px !important;
    min-height: 38px !important;
    padding: 8px 8px !important;
    font-size: 10px !important;
  }
  .site-header .menu-toggle {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* =========================================================
   MACETHE DIGITAL VENTURES — FULL-WIDTH & RESPONSIVE LAYOUT UPDATE
   Shared by Home, About and Portfolio pages.
   ========================================================= */
html, body { width:100%; max-width:100%; overflow-x:clip; }
body { min-width:0; }
.site-header, .agency-footer, .site-footer { width:100%; max-width:none; }
.site-header .navbar { width:100%; max-width:none; padding-left:clamp(16px,4vw,64px); padding-right:clamp(16px,4vw,64px); }

/* Home page: remove the narrow centred frame and let sections span the viewport. */
.agency-hero {
  width:100%; max-width:none; min-height:min(720px, calc(100svh - 78px));
  margin:0; border-radius:0; padding:clamp(42px,6vw,90px) clamp(22px,7vw,110px) 78px;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
}
.hero-bottomline { left:clamp(22px,7vw,110px); right:clamp(22px,7vw,110px); }
.service-ribbon { width:min(100% - 48px, 1500px); max-width:none; }
.content-section, .portfolio-section, .approach-section {
  width:100%; max-width:none; padding-left:clamp(22px,6vw,90px);
  padding-right:clamp(22px,6vw,90px);
}
.agency-about, .statement-band, .contact-section {
  width:calc(100% - clamp(44px,12vw,180px)); max-width:none;
}
.agency-about { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.statement-band { margin-left:auto; margin-right:auto; }
.contact-section { margin-left:auto; margin-right:auto; }

/* About and Portfolio pages: full-width main canvas with consistent gutters. */
body:not(:has(.agency-hero)) main {
  width:100%; max-width:none; margin:0; padding:clamp(24px,4vw,58px) clamp(18px,6vw,90px) 76px;
}
body:not(:has(.agency-hero)) main > .hero-small,
body:not(:has(.agency-hero)) main > .section-card {
  width:100%; max-width:none; border-radius:20px;
}
body:not(:has(.agency-hero)) main > .hero-small { padding:clamp(26px,4vw,58px); }
body:not(:has(.agency-hero)) main > .section-card { padding:clamp(22px,3vw,42px); }

/* Consistent full-bleed footer on every page. */
.agency-footer, .site-footer {
  width:100%; max-width:none; margin:0; border-radius:0;
  padding-left:clamp(22px,6vw,90px); padding-right:clamp(22px,6vw,90px);
}
.agency-footer .footer-main, .site-footer .footer-inner {
  width:100%; max-width:none;
}

/* Prevent grid children, long words and media from forcing horizontal scroll. */
main, section, article, .agency-service, .service-card, .feature-card,
.footer-main > div, .footer-inner > div { min-width:0; }
img, video, iframe { max-width:100%; }

@media (max-width:900px) {
  .agency-hero { min-height:0; grid-template-columns:minmax(0,1fr) minmax(230px,.8fr); padding:54px 5vw 72px; }
  .agency-about { width:calc(100% - 40px); margin-left:20px; margin-right:20px; padding:36px; gap:30px; }
  .statement-band, .contact-section { width:calc(100% - 40px); }
  .content-section, .portfolio-section, .approach-section { padding-left:24px; padding-right:24px; }
  body:not(:has(.agency-hero)) main { padding-left:24px; padding-right:24px; }
}
@media (max-width:650px) {
  .site-header .navbar { min-height:66px; padding:8px 14px; gap:9px; }
  .site-header .brand-lockup { width:clamp(112px,38vw,155px); height:46px; flex:0 1 auto; }
  .site-header .nav-cta { min-height:39px; padding:9px 11px; white-space:nowrap; }
  .agency-hero {
    min-height:0; display:flex; flex-direction:column; align-items:stretch;
    padding:42px 20px 64px; gap:22px; border-radius:0;
  }
  .agency-hero h1 { max-width:none; font-size:clamp(34px,9vw,46px); }
  .agency-hero .hero-content>p { font-size:14px; }
  .hero-actions { gap:10px; }
  .hero-actions .button { min-height:44px; padding:12px 15px; }
  .hero-capabilities { gap:9px 14px; }
  .hero-visual { width:100%; height:290px; min-height:0; }
  .portrait-frame { width:min(66%,245px); height:270px; }
  .visual-glow { width:230px; height:230px; right:12%; top:9%; }
  .hero-monogram { font-size:190px; right:4%; bottom:-20px; }
  .tag-top { top:16px; left:0; }
  .tag-bottom { bottom:16px; right:0; }
  .floating-tag { max-width:48%; padding:8px 9px; font-size:9px; }
  .floating-tag b { width:28px; height:28px; flex:0 0 28px; }
  .hero-bottomline { left:20px; right:20px; height:42px; font-size:8px; gap:8px; }
  .service-ribbon { width:100%; margin:0 0 55px; border-radius:0; grid-template-columns:repeat(2,minmax(0,1fr)); padding:10px; }
  .service-ribbon>div { justify-content:flex-start; border-right:0; padding:8px; font-size:10px; }
  .content-section, .portfolio-section, .approach-section { padding:0 17px; margin-bottom:58px; }
  .section-heading { display:block; margin-bottom:22px; }
  .section-heading>p { margin-top:12px; }
  .services-grid, .portfolio-grid, .approach-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .agency-service { min-height:0; padding:22px; }
  .agency-about { width:calc(100% - 30px); margin:0 15px 58px; padding:22px; grid-template-columns:minmax(0,1fr); gap:25px; }
  .about-photo { height:280px; }
  .statement-band, .contact-section { width:calc(100% - 30px); margin:0 15px 58px; padding:24px 20px; }
  .statement-band { flex-wrap:wrap; }
  .statement-band h2 { font-size:25px; }
  .contact-section { grid-template-columns:minmax(0,1fr); gap:25px; }
  .portfolio-card { height:auto; min-height:210px; aspect-ratio:1.35/1; }
  body:not(:has(.agency-hero)) main { padding:20px 14px 48px; }
  body:not(:has(.agency-hero)) main > .hero-small { padding:26px 20px; }
  body:not(:has(.agency-hero)) main > .section-card { padding:22px 18px; margin-bottom:14px; }
  body:not(:has(.agency-hero)) .hero-gradient { grid-template-columns:minmax(0,1fr); }
  body:not(:has(.agency-hero)) .hero-image { grid-template-columns:minmax(0,1fr); }
  .agency-footer, .site-footer { padding:34px 18px 18px; }
  .agency-footer .footer-main, .site-footer .footer-inner { grid-template-columns:minmax(0,1fr); gap:24px; }
  .agency-footer .footer-brand-block, .site-footer .footer-brand,
  .agency-footer .footer-social, .site-footer .footer-social-legacy { grid-column:1; }
  .footer-bottom { align-items:flex-start; flex-direction:column; gap:10px; }
}
@media (max-width:380px) {
  .site-header .navbar { padding-left:9px; padding-right:9px; gap:6px; }
  .site-header .brand-lockup { width:108px; }
  .site-header .nav-cta { padding:8px; font-size:10px; }
  .agency-hero { padding-left:15px; padding-right:15px; }
  .hero-bottomline { left:15px; right:15px; }
  .hero-bottomline div { font-size:8px; }
}


/* Updated Macethe Digital Ventures identity */
.site-header .navbar { min-height:96px; padding-top:7px; padding-bottom:7px; }
.site-header .brand-lockup { flex:0 0 230px; width:230px; height:82px; overflow:hidden; }
.site-header .brand-lockup img { width:100%; height:100%; object-fit:contain; object-position:center; }
.site-footer .footer-brand img { width:176px; height:102px; max-width:100%; object-fit:contain; object-position:center; background:#fff; border:1px solid rgba(255,255,255,.16); border-radius:10px; box-shadow:0 10px 26px rgba(0,0,0,.16); }
.agency-footer .footer-brand-block img { width:210px; height:120px; object-fit:contain; object-position:center; background:#fff; border-radius:10px; }
@media(max-width:900px){.site-header .brand-lockup{flex-basis:190px;width:190px;height:68px}.site-header .navbar{min-height:82px}}
@media(max-width:650px){.site-header .navbar{min-height:72px!important;grid-template-rows:54px!important}.site-header .brand-lockup{flex:0 1 auto!important;width:clamp(122px,36vw,150px)!important;height:54px!important;min-width:0!important}.site-header .brand-lockup img{object-fit:contain!important;object-position:center!important}.site-footer .footer-brand img{width:165px;height:96px}.agency-footer .footer-brand-block img{width:190px;height:108px}}
@media(max-width:380px){.site-header .brand-lockup{width:112px!important;height:50px!important}}
