:root {
    --ink: #071114;
    --muted: #5f6f70;
    --panel: #ffffff;
    --soft: #eef8f2;
    --line: rgba(7, 17, 20, .12);
    --green: #22e76a;
    --green-dark: #078a3e;
    --blue: #0a74d9;
    --cyan: #70d6ff;
    --shadow: 0 24px 80px rgba(7, 17, 20, .16);
    --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: #f8fbf9;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(230, 230, 230, .72);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-bottom: 1px solid rgba(0, 0, 0, .18);
    box-shadow: 0 10px 26px rgba(7, 17, 20, .12);
    transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.site-header.scrolled {
    background: rgba(230, 230, 230, .9);
    border-color: rgba(34, 231, 106, .28);
    box-shadow: 0 16px 42px rgba(7, 17, 20, .18);
}

.utility-bar {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9px 0 0;
    background: rgba(28, 28, 28, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.utility-bar time {
    min-width: 252px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    padding: 0 32px 0 6px;
    color: #070707;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
    white-space: nowrap;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 18px;
    padding: 2px 10px;
    border-radius: 999px;
    color: #101010;
    background: #fff;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .22);
    transition: transform .2s ease, background .2s ease;
}

.admin-pill:hover {
    transform: translateY(-1px);
    background: var(--green);
}

.brand-bar {
    min-height: 86px;
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 42px);
    padding: 10px 10px 10px clamp(16px, 4vw, 42px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(222, 222, 222, .38));
    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0;
}

.brand img { width: 78px; height: 60px; object-fit: contain; }
.brand span { font-size: clamp(1.1rem, 2vw, 1.45rem); }

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px, 1.4vw, 16px);
    font-size: clamp(.54rem, 1.05vw, .78rem);
    font-weight: 900;
    text-transform: uppercase;
}

.nav a {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    color: #001fc2;
    background: linear-gradient(rgba(255, 255, 255, .88), rgba(237, 241, 255, .64));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 3px 7px rgba(7, 17, 20, .26),
        inset 0 1px 0 rgba(255, 255, 255, .92);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, color .22s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: linear-gradient(90deg, var(--green), var(--blue));
    transition: transform .28s ease;
}

.nav a:hover {
    transform: translateY(-3px);
    color: #02056b;
    box-shadow:
        0 8px 16px rgba(7, 17, 20, .28),
        0 0 0 3px rgba(34, 231, 106, .16),
        inset 0 1px 0 rgba(255, 255, 255, .96);
}
.nav a:hover::after { transform: scaleX(0); }
.admin-link { color: var(--green-dark); }

.hero {
    min-height: clamp(620px, 92vh, 840px);
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(1, 12, 16, .9), rgba(1, 12, 16, .55), rgba(1, 12, 16, .16)),
        linear-gradient(0deg, rgba(34, 231, 106, .22), transparent 45%);
    z-index: -1;
}

.hero-slider, .slide {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    width: min(760px, calc(100% - 32px));
    margin-left: clamp(16px, 7vw, 92px);
    color: white;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .78rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin-bottom: 16px;
    font-size: clamp(4rem, 16vw, 10rem);
    line-height: .82;
    letter-spacing: 0;
    text-shadow: 0 22px 55px rgba(0, 0, 0, .32);
}

h2 { font-size: clamp(2rem, 5vw, 4.8rem); line-height: .95; letter-spacing: 0; }
h3 { font-size: clamp(1.6rem, 4vw, 3.2rem); line-height: 1; letter-spacing: 0; }

.hero-copy {
    max-width: 640px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions, .admin-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 46px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.primary { border: 0; color: #021006; background: linear-gradient(135deg, var(--green), var(--cyan)); }
.ghost { color: inherit; background: rgba(255, 255, 255, .1); }

.section {
    padding: clamp(54px, 9vw, 112px) clamp(16px, 5vw, 72px);
}

.intro, .split, .vision, .credentials, .contact {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.intro {
    background: var(--ink);
    color: white;
}

.intro p:last-child, .split p, .vision p { color: rgba(255, 255, 255, .72); }
.split { background: #0c1719; color: white; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-grid article, .vision article, .credentials dl, .contact-form, .contact-details, .admin-card {
    background: var(--panel);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 60px rgba(7, 17, 20, .08);
}

.service-grid article {
    min-height: 178px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .24s ease, border-color .24s ease;
}

.service-grid article:hover {
    transform: translateY(-6px) rotateX(2deg);
    border-color: rgba(34, 231, 106, .6);
}

.service-grid span { color: var(--muted); }

.section-title {
    max-width: 900px;
    margin-bottom: 34px;
}

.companies { background: #f8fbf9; }

.company-panel {
    display: grid;
    grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr);
    gap: 22px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.company-copy {
    position: sticky;
    top: 100px;
    align-self: start;
}

.index {
    display: inline-flex;
    color: var(--green-dark);
    font-weight: 900;
    margin-bottom: 12px;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--line);
}

figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

figure:hover img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.05);
}

figcaption {
    padding: 12px;
    font-weight: 800;
    min-height: 68px;
}

.vision {
    background: linear-gradient(135deg, #071114, #10363b);
}

.vision article {
    padding: clamp(24px, 5vw, 46px);
}

.vision article p:last-child { color: var(--muted); }

.projects {
    background: white;
}

.project-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-cloud span {
    padding: 12px 16px;
    border-radius: var(--radius);
    background: #eef8f2;
    border: 1px solid rgba(34, 231, 106, .28);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.project-cloud span:hover {
    transform: translateY(-3px);
    background: #dffbea;
}

.credentials { background: #f3f8f6; }
.credentials dl { margin: 0; padding: 22px; display: grid; gap: 12px; }
.credentials dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.credentials dt { font-weight: 900; }
.credentials dd { margin: 0; color: var(--muted); text-align: right; }

.associations { background: white; }
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.logo-wall img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

.logo-wall img:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(7, 17, 20, .12);
}

.contact {
    background: var(--ink);
    color: white;
}

.contact-details, .contact-form {
    padding: clamp(22px, 4vw, 38px);
}

.contact-details {
    display: grid;
    gap: 10px;
    background: #0d1d20;
    color: white;
}

.contact-details a {
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding-bottom: 10px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 46px;
    padding: 11px 12px;
    font: inherit;
    background: white;
}

textarea { resize: vertical; }

.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 7vw, 82px) clamp(16px, 5vw, 72px) 24px;
    color: white;
    background:
        linear-gradient(135deg, rgba(7, 17, 20, .98), rgba(10, 49, 53, .96)),
        url("../pdf-images/page-06-image-07.jpg") center / cover;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -40%;
    z-index: -1;
    background:
        conic-gradient(from 120deg, transparent, rgba(34, 231, 106, .28), transparent 28%, rgba(112, 214, 255, .2), transparent 56%);
    animation: footerSpin 16s linear infinite;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 82% 10%, rgba(34, 231, 106, .22), transparent 30%);
}

.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .26);
}

.footer-cta h2 {
    margin: 0;
    max-width: 950px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr 1.2fr;
    gap: clamp(18px, 3vw, 44px);
    padding: clamp(34px, 6vw, 62px) 0 26px;
}

.footer-grid section {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-grid h3 {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 1rem;
    text-transform: uppercase;
}

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

.footer-grid a {
    transition: color .2s ease, transform .2s ease;
}

.footer-grid a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-brand img {
    width: 112px;
    height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .28));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .66);
    font-size: .88rem;
}

@keyframes footerSpin {
    to { transform: rotate(360deg); }
}

.floating-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #021006;
    text-decoration: none;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.admin-body { background: #eef8f2; }
.admin-shell { width: min(1120px, calc(100% - 28px)); margin: 24px auto 80px; }
.admin-top { justify-content: space-between; margin-bottom: 24px; }
.admin-card { padding: clamp(20px, 4vw, 34px); margin-bottom: 18px; }
.admin-upload { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.admin-gallery article { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.admin-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-gallery strong, .admin-gallery span { display: block; padding: 0 12px; }
.admin-gallery strong { padding-top: 12px; }
.admin-gallery span { color: var(--muted); font-size: .9rem; }
.admin-list { display: grid; gap: 10px; margin-top: 16px; }
.admin-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.admin-list span { color: var(--muted); font-size: .9rem; }
.delete-button { margin: 12px; border: 0; border-radius: var(--radius); padding: 10px 14px; color: white; background: #c92424; cursor: pointer; }
.alert { padding: 12px 14px; border-radius: var(--radius); font-weight: 800; }
.error { background: #ffe8e8; color: #891919; }
.success { background: #dffbea; color: #075d2d; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
    .brand-bar { grid-template-columns: 98px minmax(0, 1fr); }
    .nav {
        width: 100%;
        overflow: visible;
        padding: 6px 2px 8px;
        justify-content: flex-start;
    }
    .nav a {
        flex: 1 1 min(230px, 100%);
        min-height: 34px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    .intro, .split, .vision, .credentials, .contact, .company-panel { grid-template-columns: 1fr; }
    .footer-cta, .footer-grid { grid-template-columns: 1fr; }
    .footer-actions { justify-content: flex-start; }
    .company-copy { position: static; }
    .admin-upload { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .brand img { width: 54px; height: 44px; }
    .utility-bar time { min-width: 236px; font-size: .64rem; padding-right: 24px; }
    .admin-pill { min-width: 52px; font-size: .72rem; }
    .brand-bar {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 12px;
    }
    .brand {
        justify-content: flex-start;
        width: 100%;
    }
    .nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0;
    }
    .nav a {
        width: 100%;
        min-height: 40px;
        padding: 9px 12px;
        font-size: .72rem;
    }
    .hero { min-height: 650px; }
    .hero-content { margin: 0 auto; }
    .hero-actions .button { width: 100%; }
    .service-grid, .gallery-strip, .admin-upload { grid-template-columns: 1fr; }
    .admin-list article { grid-template-columns: 1fr; }
    .credentials dl div { display: grid; }
    .credentials dd { text-align: left; }
    .footer-bottom { flex-direction: column; }
}
