/* Netinfosec Solutions Limited
   Palette taken from the company logo: deep navy and signal orange. */

:root {
    --navy: #14284b;
    --navy-deep: #0c1a33;
    --navy-soft: #24406f;
    --orange: #ff7a00;
    --orange-dark: #d96500;
    --ink: #1b2536;
    --muted: #5a6577;
    --line: #e2e7ef;
    --tint: #f4f6fa;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 40, 75, 0.08);
    --shadow-lg: 0 24px 60px rgba(12, 26, 51, 0.18);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --header-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--orange-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    color: var(--navy);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus {
    left: 8px;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-dark);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--orange);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: #ff8f26;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(20, 40, 75, 0.06);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand:hover {
    text-decoration: none;
}

.mark {
    width: 46px;
    height: auto;
    flex: none;
}

.mark-navy {
    stroke: var(--navy);
}

.mark-orange {
    stroke: var(--orange);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-sub {
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.42em;
    color: var(--orange);
}

.brand-light {
    color: var(--white);
}

.brand-light .mark-navy {
    stroke: var(--white);
}

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

.site-nav a:not(.btn) {
    position: relative;
    padding: 6px 0;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--navy);
}

.site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s;
}

.site-nav a:not(.btn):hover,
.site-nav a.active {
    text-decoration: none;
}

.site-nav a:not(.btn):hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
}

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

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(255, 122, 0, 0.2), transparent 60%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
    padding-top: 96px;
    padding-bottom: 110px;
}

.hero .eyebrow {
    color: #ffb066;
}

.hero h1 {
    color: var(--white);
}

.accent {
    color: var(--orange);
}

.lead {
    max-width: 34em;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 34px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-tags li {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 48px;
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
}

.mark-hero {
    width: 100%;
}

.pulse {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 122, 0, 0.5);
    animation: pulse 4s ease-out infinite;
}

.pulse-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: 6%;
}

.pulse-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: 8%;
    animation-delay: 1.6s;
}

@keyframes pulse {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Sections */

.section {
    padding: 96px 0;
}

.section-tint {
    background: var(--tint);
}

.section-dark {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.82);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark .eyebrow {
    color: #ffb066;
}

.section-head {
    max-width: 680px;
    margin-bottom: 52px;
}

.section-head p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.grid {
    display: grid;
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

/* Services */

.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: var(--shadow-lg);
}

.service-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(255, 122, 0, 0.12);
    color: var(--orange-dark);
}

.icon svg {
    width: 28px;
    height: 28px;
}

.ticks {
    margin: auto 0 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
}

.ticks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 6px;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg);
}

.service-cta {
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-color: transparent;
}

.service-cta h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-grid > div:first-child p {
    color: var(--muted);
}

.about-grid .btn {
    margin-top: 12px;
}

.mv-stack {
    display: grid;
    gap: 24px;
}

.mv-card {
    border-left: 5px solid var(--navy);
}

.mv-card-accent {
    border-left-color: var(--orange);
}

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

/* Values */

.values-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 3px solid var(--navy);
}

.values-list li {
    padding: 28px 24px 8px 0;
}

.values-list li + li {
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.value-num {
    display: block;
    margin-bottom: 14px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--orange);
}

.values-list p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* Why us */

.reasons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.reason {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin: -0.5px;
}

.reason h3 {
    position: relative;
    padding-top: 18px;
}

.reason h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--orange);
}

.reason p {
    margin: 0;
    font-size: 0.98rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info > p {
    color: var(--muted);
}

.contact-list {
    margin: 32px 0 0;
}

.contact-list > div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.contact-list dt {
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list dd {
    margin: 0;
    font-weight: 600;
    color: var(--navy);
}

.contact-list dd a {
    display: block;
    color: var(--navy);
}

.contact-form h3 {
    margin-bottom: 22px;
    font-size: 1.4rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.optional {
    font-weight: 400;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid #cfd6e2;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.96rem;
    font-weight: 600;
}

.alert-success {
    background: #e7f6ec;
    color: #17603a;
    border: 1px solid #b5e0c4;
}

.alert-error {
    background: #fdecea;
    color: #9b2318;
    border: 1px solid #f3bdb7;
}

/* Footer */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 48px;
}

.footer-note {
    margin-top: 18px;
    max-width: 28em;
}

.site-footer h4 {
    margin-bottom: 16px;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
}

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

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
    color: var(--orange);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

/* Scroll reveal */

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

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* Responsive */

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

    .values-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }

    .values-list li,
    .values-list li + li {
        padding: 24px 0 8px;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px rgba(20, 40, 75, 0.1);
    }

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

    .site-nav a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

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

    .site-nav .btn {
        margin-top: 18px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .hero-art {
        order: -1;
    }

    .hero-card {
        width: 200px;
        padding: 28px;
        border-radius: 24px;
    }

    .section {
        padding: 68px 0;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .services-grid,
    .reasons-grid,
    .values-list,
    .field-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .field-row {
        gap: 0;
    }

    .card {
        padding: 24px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .mark {
        width: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pulse {
        animation: none;
    }

    .btn,
    .service-card {
        transition: none;
    }
}
