:root {
    --ink: #0b1628;
    --steel: #15233a;
    --navy: #1a2f55;
    --blue: #2456b8;
    --blue-soft: #e8eef8;
    --amber: #d97706;
    --amber-deep: #b45309;
    --gray-900: #121826;
    --gray-700: #3d4a5c;
    --gray-500: #6b7789;
    --gray-200: #e2e8f0;
    --gray-100: #f1f4f8;
    --paper: #f6f8fb;
    --white: #ffffff;
    --green: #16a34a;
    --green-deep: #15803d;
    --shadow: 0 12px 28px rgba(11, 22, 40, 0.08);
    --radius: 0.85rem;
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-mark, .stat-value {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

button {
    font: inherit;
}

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

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

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

.icon {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
    flex-shrink: 0;
}

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 1rem;
}

.brand-logo {
    height: 52px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem 1.15rem;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--blue);
}

.nav-link-muted {
    color: var(--gray-500);
}

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.55rem;
    background: var(--white);
    cursor: pointer;
    padding: 0.55rem;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* —— Hero —— */
.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(36, 86, 184, 0.35), transparent 55%),
        linear-gradient(135deg, #071018 0%, #0f1f38 45%, #152848 100%);
    color: var(--white);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, #000 20%, transparent 75%);
}

.hero-glow {
    position: absolute;
    width: 50%;
    height: 70%;
    right: -8%;
    top: 10%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.18), transparent 65%);
    animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
}

.route {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.route-a {
    stroke: rgba(148, 180, 255, 0.55);
    stroke-dasharray: 8 14;
    animation: route-flow 28s linear infinite;
}

.route-b {
    stroke: rgba(251, 191, 36, 0.35);
    stroke-dasharray: 4 18;
    animation: route-flow 36s linear infinite reverse;
}

.route-dot {
    fill: #fbbf24;
    animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5.5rem 0 6rem;
    max-width: 720px;
}

.brand-mark {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    font-weight: 700;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    max-width: 28ch;
}

.hero-lead {
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(226, 232, 240, 0.88);
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal-up 0.75s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes route-flow {
    to { stroke-dashoffset: -400; }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.25); }
}

@keyframes glow-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-4%, 3%); }
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    border: 0;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
}

.btn-accent {
    background: var(--amber);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--amber-deep);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
    background: var(--blue-soft);
    color: var(--navy);
}

.btn-ghost:hover {
    background: #d7e3f5;
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--green-deep);
}

/* —— Stats —— */
.stats-section {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.stat-item {
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--gray-200);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
}

/* —— Sections —— */
.section {
    padding: 5.5rem 0;
}

.section-muted {
    background:
        linear-gradient(180deg, #eef2f7 0%, #f6f8fb 100%);
}

.section-heading {
    max-width: 640px;
    margin: 0 0 3rem;
}

.section-heading h2,
.about-copy h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    margin: 0 0 0.75rem;
    color: var(--ink);
}

.section-heading p:last-child,
.about-copy > p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.section-kicker {
    margin: 0 0 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
}

/* —— Services —— */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.6rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: #b8c9e6;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 0.35rem;
}

.service-icon svg {
    width: 1.85rem;
    height: 1.85rem;
}

.service-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--ink);
}

.service-card > p {
    margin: 0;
    color: var(--gray-700);
    flex: 1;
}

.service-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* —— Features —— */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-item {
    padding: 0.25rem 0;
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-deep);
    margin-bottom: 0.85rem;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 0.65rem;
}

.feature-icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.feature-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    color: var(--ink);
}

.feature-item p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.98rem;
}

/* —— About —— */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: stretch;
}

.about-copy h2 {
    margin-bottom: 1rem;
}

.about-copy > p + p {
    margin-top: 1rem;
}

.about-points {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--steel);
}

.about-points svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--blue);
}

.about-panel {
    background:
        linear-gradient(160deg, #12233f 0%, #1a3560 55%, #1f4478 100%);
    color: var(--white);
    border-radius: 1.15rem;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.about-panel .section-kicker {
    color: #93c5fd;
}

.about-panel h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 600;
}

.about-panel p {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
}

.about-panel .btn {
    margin-top: 0.75rem;
    align-self: flex-start;
}

/* —— Footer —— */
.site-footer {
    background: var(--white);
    color: var(--gray-700);
    border-top: 1px solid var(--gray-200);
    padding-top: 2.5rem;
}

.site-footer h3 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    color: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    margin: 0.85rem 0 0;
    max-width: 34ch;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-button {
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    padding: 1rem 0 1.75rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.92rem;
}

.footer-bottom p {
    margin: 0;
}

/* —— Floating WA —— */
.floating-whatsapp {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
    z-index: 40;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px) scale(1.04);
    background: var(--green-deep);
}

.floating-whatsapp svg {
    width: 1.55rem;
    height: 1.55rem;
}

/* —— Flash —— */
.flash-stack {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    display: grid;
    gap: 0.75rem;
}

.flash-message {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* —— Dialogs —— */
.service-dialog {
    width: min(640px, calc(100% - 2rem));
    border: 0;
    padding: 0;
    border-radius: 1.1rem;
    box-shadow: 0 28px 70px rgba(11, 22, 40, 0.3);
}

.service-dialog::backdrop {
    background: rgba(8, 16, 30, 0.68);
}

.dialog-card {
    position: relative;
    background: #fff;
    padding: 2rem;
}

.enquiry-card {
    padding: 0;
    overflow: hidden;
    border-radius: 1.1rem;
}

.dialog-card h2 {
    margin-top: 0;
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: var(--gray-100);
    color: var(--gray-900);
    font-size: 1.25rem;
    line-height: 1;
}

.dialog-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.enquiry-form {
    display: grid;
    gap: 0.2rem;
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--paper);
}

.enquiry-header {
    padding: 1.4rem 1.5rem 1.2rem;
    background: linear-gradient(135deg, #12233f 0%, #1a3a68 100%);
    color: #fff;
}

.enquiry-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #93c5fd;
}

.enquiry-header h2 {
    margin: 0.35rem 0 0.35rem;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    line-height: 1.25;
}

.enquiry-header p {
    margin: 0;
    color: #dbeafe;
    font-size: 0.95rem;
}

.enquiry-form label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--steel);
    margin-top: 0.05rem;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    border: 1.5px solid #cdd8ea;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    background: #ffffff;
    outline: none;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-form textarea {
    min-height: 130px;
    resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36, 86, 184, 0.14);
}

.field-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.05rem;
}

.btn-submit {
    margin-top: 0.35rem;
    background: var(--navy);
    color: #fff;
    width: fit-content;
}

.btn-submit:hover {
    background: var(--blue);
}

/* —— Responsive —— */
@media (max-width: 960px) {
    .stats-strip,
    .feature-grid,
    .service-grid,
    .about-layout,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--gray-200);
    }

    .feature-grid {
        gap: 1.75rem 1.25rem;
    }

    .about-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 0.75rem 1rem 1.1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.7rem 0.4rem;
    }

    .site-nav .btn {
        justify-content: center;
        margin-top: 0.35rem;
    }

    .nav-row {
        position: relative;
    }

    .stats-strip,
    .service-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--gray-200);
        padding: 1.25rem 0.5rem;
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 0;
    }

    .hero-content {
        padding: 4rem 0 4.5rem;
        text-align: left;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .section {
        padding: 3.75rem 0;
    }
}
