:root {
    --ink: #071113;
    --ink-soft: #162424;
    --paper: #f7f8f2;
    --paper-2: #edf3ec;
    --muted: #60716e;
    --line: rgba(7, 17, 19, 0.12);
    --teal: #21cfa8;
    --teal-dark: #087763;
    --coral: #ff765d;
    --gold: #efbd3f;
    --sky: #44bce5;
    --violet: #7b6cff;
    --white: #ffffff;
    --shadow: 0 22px 70px rgba(7, 17, 19, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
}

img,
svg {
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 50;
    padding: 0.75rem 1rem;
    color: var(--ink);
    background: var(--white);
    border-radius: 6px;
    transform: translateY(-140%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(7, 17, 19, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 46px rgba(7, 17, 19, 0.24);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--ink);
    background: linear-gradient(135deg, var(--teal), var(--gold));
    border-radius: 8px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.55rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding: 0.6rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-cta,
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta {
    padding: 0.75rem 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
}

.nav-cta svg,
.button svg,
.contact-link svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-cta:hover,
.button:hover,
.contact-link:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    gap: 4px;
    padding: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 99px;
}

.hero {
    position: relative;
    min-height: 86svh;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--ink);
    padding: 7.5rem 0 4.2rem;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media {
    background-image: url("assets/itechii-ai-operations.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 17, 19, 0.95) 0%, rgba(7, 17, 19, 0.84) 39%, rgba(7, 17, 19, 0.34) 72%, rgba(7, 17, 19, 0.24) 100%),
        linear-gradient(180deg, rgba(7, 17, 19, 0.42) 0%, rgba(7, 17, 19, 0.12) 58%, rgba(7, 17, 19, 0.88) 100%);
}

.hero-inner {
    max-width: 760px;
    margin-left: max(20px, calc((100% - 1120px) / 2));
}

.eyebrow,
.section-kicker {
    margin: 0 0 1rem;
    color: var(--teal);
    font-size: 0.88rem;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 900;
}

.hero h1 {
    margin: 0;
    font-size: 6rem;
    line-height: 0.95;
    font-weight: 900;
}

.hero-copy {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.32rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

.button {
    padding: 1rem 1.18rem;
}

.button-primary {
    color: var(--ink);
    background: var(--teal);
    box-shadow: 0 16px 40px rgba(33, 207, 168, 0.28);
}

.button-primary:hover {
    background: #4be6c1;
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-facts {
    max-width: 660px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 3rem 0 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts div {
    min-width: 0;
}

.hero-facts dt {
    margin: 0;
    color: var(--white);
    font-size: 1.12rem;
    font-weight: 900;
}

.hero-facts dd {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
}

.signal-band {
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.2rem 0;
}

.signal-content p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.signal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.signal-tags span,
.industry-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.74rem;
    border-radius: 8px;
    white-space: nowrap;
}

.signal-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.section {
    padding: 6rem 0;
}

.section-light {
    background: var(--paper);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-heading h2,
.contact-copy h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 900;
}

.section-heading p:last-child,
.contact-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.service-card {
    min-height: 270px;
    padding: 1.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(7, 17, 19, 0.07);
}

.service-card h3 {
    margin: 1.2rem 0 0.65rem;
    font-size: 1.2rem;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    background: rgba(33, 207, 168, 0.16);
    border-radius: 8px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.accent-coral {
    color: #b54131;
    background: rgba(255, 118, 93, 0.16);
}

.accent-gold {
    color: #8b6209;
    background: rgba(239, 189, 63, 0.2);
}

.accent-blue {
    color: #0d6d88;
    background: rgba(68, 188, 229, 0.18);
}

.accent-ink {
    color: var(--ink);
    background: rgba(7, 17, 19, 0.08);
}

.accent-violet {
    color: #5145bb;
    background: rgba(123, 108, 255, 0.14);
}

.expertise {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(8, 119, 99, 0.5), rgba(255, 118, 93, 0.16)),
        var(--ink-soft);
}

.expertise-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2.4rem;
    align-items: start;
}

.expertise .section-heading {
    margin: 0;
}

.expertise-copy p {
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
    font-size: 1.08rem;
}

.check-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.38rem;
    left: 0;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(239, 189, 63, 0.16);
}

.industry-cloud {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.industry-cloud span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: flex;
    flex-direction: column;
    min-height: 252px;
    gap: 1.2rem;
    padding: 1.3rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.process-list span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--gold);
    border-radius: 8px;
    font-weight: 900;
}

.process-list h3 {
    margin: 0 0 0.55rem;
    font-size: 1.18rem;
}

.process-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.impact {
    padding: 2.5rem 0;
    color: var(--white);
    background: var(--ink);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.impact-panel {
    min-height: 130px;
    padding: 1.3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-panel strong {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.12rem;
}

.impact-panel span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.58;
}

.contact-section {
    background: var(--paper-2);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 100px;
}

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

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    color: var(--ink);
    font-weight: 900;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink-soft);
    font-weight: 800;
}

.contact-form .full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    color: var(--ink);
    background: #fbfcf8;
    border: 1px solid rgba(7, 17, 19, 0.16);
    border-radius: 8px;
    padding: 0.82rem 0.9rem;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    line-height: 1.55;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 4px rgba(33, 207, 168, 0.16);
}

.contact-form button {
    width: 100%;
}

.form-status {
    grid-column: 1 / -1;
    min-height: 1.4rem;
    margin: 0;
    color: var(--teal-dark);
    font-weight: 800;
}

.site-footer {
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.72);
    background: #050b0d;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-inner p,
.footer-inner span {
    margin: 0;
    font-size: 0.95rem;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

    .nav-links {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        display: grid;
        gap: 0;
        padding: 0.6rem;
        color: var(--white);
        background: rgba(7, 17, 19, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 1rem;
        border-radius: 6px;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 4.6rem;
    }

    .hero-copy {
        font-size: 1.16rem;
    }

    .signal-content,
    .expertise-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .signal-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .signal-tags {
        justify-content: flex-start;
    }

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

    .process-list,
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        min-height: auto;
        padding: 6.4rem 0 3rem;
    }

    .hero-media {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(7, 17, 19, 0.96) 0%, rgba(7, 17, 19, 0.8) 62%, rgba(7, 17, 19, 0.34) 100%),
            linear-gradient(180deg, rgba(7, 17, 19, 0.34) 0%, rgba(7, 17, 19, 0.28) 54%, rgba(7, 17, 19, 0.9) 100%);
    }

    .hero-inner {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 3.35rem;
        line-height: 1;
    }

    .hero-copy {
        font-size: 1.03rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .section {
        padding: 4.2rem 0;
    }

    .section-heading h2,
    .contact-copy h2 {
        font-size: 2.15rem;
        line-height: 1.1;
    }

    .service-grid,
    .process-list,
    .impact-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-list li {
        min-height: auto;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .brand {
        font-size: 0.98rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-copy,
    .section-heading p:last-child,
    .contact-copy p {
        font-size: 1rem;
    }
}
