/* App Fonts */

@font-face {
    font-family: "TTNorms";
    src: url("../fonts/TTNorms-Regular.otf") format("opentype");
}
@font-face {
    font-family: "TTNorms Medium";
    src: url("../fonts/TTNorms-Medium.otf") format("opentype");
}
@font-face {
    font-family: "TTNorms Light";
    src: url("../fonts/TTNorms-Light.otf") format("opentype");
}
@font-face {
    font-family: "Times Roman Italic";
    src: url("../fonts/Times-new-roman-italic.ttf") format("truetype");
}

/* Base */

:root {
    --bg: #f6f9ff;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --text: #081d43;
    --muted: rgba(8, 29, 67, 0.7);
    --primary: #0050c8;
    --primary-700: #003f9e;
    --border: rgba(8, 29, 67, 0.12);
    --shadow-sm: 0 14px 40px rgba(8, 29, 67, 0.12);
    --shadow-lg: 0 30px 85px rgba(8, 29, 67, 0.18);
    --ring: 0 0 0 4px rgba(0, 80, 200, 0.18);
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

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

body {
    margin: 0;
    font-family: "TTNorms", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    background:
        radial-gradient(1000px 600px at 10% -10%, rgba(0, 80, 200, 0.18), transparent 55%),
        radial-gradient(900px 520px at 95% 10%, rgba(0, 80, 200, 0.12), transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, #ffffff 55%, #f5f7ff 100%);
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

::selection {
    background: rgba(0, 80, 200, 0.18);
}

/* Layout */

.container {
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: #fff;
    color: var(--text);
    padding: 0.6rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    z-index: 999;
}
.skip-link:focus {
    left: 1rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    padding: 0.85rem 1.15rem;
    font-family: "TTNorms Medium";
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: var(--text);
    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease,
        color 150ms ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn:active {
    transform: translateY(0);
}
.btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
.btn__icon {
    width: 1rem;
    height: 1rem;
}
.btn--primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 16px 44px rgba(0, 80, 200, 0.22);
}
.btn--primary:hover {
    background-color: var(--primary-700);
    box-shadow: 0 22px 55px rgba(0, 80, 200, 0.25);
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border);
}
.btn--ghost:hover {
    border-color: rgba(0, 80, 200, 0.25);
}
.btn--light {
    background: #fff;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--light:hover {
    background: rgba(255, 255, 255, 0.92);
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 249, 255, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}
.header--scrolled {
    background: rgba(255, 255, 255, 0.84);
    border-bottom-color: var(--border);
    box-shadow: 0 12px 35px rgba(8, 29, 67, 0.08);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-logo__img {
    width: auto;
    height: 24px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
.nav-toggle__bars {
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
    border-radius: 2px;
    transition: background-color 150ms ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 150ms ease, top 150ms ease, opacity 150ms ease;
}
.nav-toggle__bars::before {
    top: -6px;
}
.nav-toggle__bars::after {
    top: 6px;
}

.menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.menu__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    padding: 0.6rem 0.9rem;
    border-radius: 0.8rem;
    font-family: "TTNorms Medium";
    transition: background-color 150ms ease, color 150ms ease;
}
.menu__link:hover {
    background: rgba(0, 80, 200, 0.08);
    color: var(--primary-700);
}
.menu__link.is-active {
    background: rgba(0, 80, 200, 0.12);
    color: var(--primary-700);
}
.menu__item--mobile {
    display: none;
}

.header__link {
    background-color: var(--primary);
    padding: 0.85rem 1.15rem;
    color: #fff;
    border-radius: 0.9rem;
    text-decoration: none;
    font-family: "TTNorms Medium";
    box-shadow: 0 16px 44px rgba(0, 80, 200, 0.22);
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.header__link:hover {
    background-color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(0, 80, 200, 0.25);
}

/* Hero */

.hero {
    padding: 4.5rem 0 3.5rem;
}
.hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.hero__content {
    flex: 1;
    max-width: 40rem;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--primary-700);
    background: rgba(0, 80, 200, 0.1);
    border: 1px solid rgba(0, 80, 200, 0.16);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-family: "TTNorms Medium";
}
.hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1.06rem;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}
.hero__media {
    flex: 1;
    min-width: 320px;
}
.hero__img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 70px rgba(8, 29, 67, 0.18));
}
.hero__stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 16px 46px rgba(8, 29, 67, 0.08);
}
.stat__number {
    display: block;
    font-family: "TTNorms Medium";
    font-size: 1.5rem;
}
.stat__label {
    display: block;
    color: rgba(8, 29, 67, 0.62);
    font-size: 0.95rem;
}

/* Sections */

.section {
    padding: 5rem 0;
}
.section--alt {
    background:
        radial-gradient(700px 320px at 15% 10%, rgba(0, 80, 200, 0.08), transparent 55%),
        radial-gradient(600px 320px at 85% 20%, rgba(0, 80, 200, 0.06), transparent 55%);
}
.section__head {
    max-width: 52rem;
    margin-bottom: 2rem;
}
.section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.section__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    line-height: 1.2;
}
.section__lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}
.link {
    color: var(--primary-700);
    font-family: "TTNorms Medium";
    text-decoration: none;
}
.link:hover {
    text-decoration: underline;
}

.split {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.split__media {
    flex: 1;
}
.split__content {
    flex: 1;
}
.split__img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 28px 60px rgba(8, 29, 67, 0.14));
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.75rem;
}
.feature-list__item {
    position: relative;
    padding-left: 1.6rem;
}
.feature-list__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 0.35rem;
    background: rgba(0, 80, 200, 0.12);
    border: 1px solid rgba(0, 80, 200, 0.2);
}
.feature-list__item::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.65rem;
    width: 0.35rem;
    height: 0.2rem;
    border-left: 2px solid var(--primary-700);
    border-bottom: 2px solid var(--primary-700);
    transform: rotate(-45deg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 1.45rem 1.25rem;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: rgba(0, 80, 200, 0.09);
    border-radius: 999px;
}
.step-card__badge {
    display: inline-flex;
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 80, 200, 0.1);
    border: 1px solid rgba(0, 80, 200, 0.16);
    color: var(--primary-700);
    font-family: "TTNorms Medium";
}
.step-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
}
.step-card__text {
    margin: 0;
    color: var(--muted);
}

.logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
}
.logos__img {
    height: 32px;
    width: auto;
    opacity: 0.85;
    filter: grayscale(100%);
    transition: opacity 150ms ease, filter 150ms ease;
}
.logos__img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Portfolio */

.chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.chip {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font-family: "TTNorms Medium";
    color: var(--text);
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
    -webkit-tap-highlight-color: transparent;
}
.chip:hover {
    border-color: rgba(0, 80, 200, 0.25);
}
.chip.is-active {
    background: rgba(0, 80, 200, 0.12);
    border-color: rgba(0, 80, 200, 0.35);
    color: var(--primary-700);
}
.chip:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.portfolio-card {
    position: relative;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    text-align: left;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, opacity 150ms ease;
    -webkit-tap-highlight-color: transparent;
}
.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 80, 200, 0.25);
}
.portfolio-card:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
.portfolio-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.portfolio-card__meta {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    background: rgba(8, 29, 67, 0.72);
    color: #fff;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-family: "TTNorms Medium";
    backdrop-filter: blur(8px);
}
.portfolio-card.is-hidden {
    display: none;
}

/* Testimonials */

.slider-controls {
    display: flex;
    gap: 0.6rem;
}
.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
    -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 80, 200, 0.25);
}
.icon-btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.testimonial {
    display: grid;
    gap: 1rem;
}
.testimonial__card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
}
.testimonial__avatar {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(0, 80, 200, 0.22);
    flex-shrink: 0;
}
.testimonial__body {
    flex: 1;
}
.testimonial__quote {
    margin: 0 0 1.1rem;
    font-family: "Times Roman Italic";
    font-size: 1.12rem;
    color: rgba(8, 29, 67, 0.92);
}
.testimonial__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.testimonial__name {
    font-family: "TTNorms Medium";
}
.testimonial__role {
    color: rgba(8, 29, 67, 0.62);
}
.dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    padding-top: 0.5rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(8, 29, 67, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease;
}
.dot:hover {
    transform: translateY(-1px);
}
.dot.is-active {
    background: var(--primary);
}
.dot:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
}
.contact-card__title {
    margin: 0;
    font-size: 1.2rem;
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
    display: grid;
    gap: 0.85rem;
}
.contact-list__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.contact-list__label {
    color: rgba(8, 29, 67, 0.65);
}
.contact-list__value {
    font-family: "TTNorms Medium";
    text-decoration: none;
}
.contact-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow: 0 18px 55px rgba(8, 29, 67, 0.06);
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.field__label {
    font-family: "TTNorms Medium";
    font-size: 0.95rem;
}
.field__input {
    border: 1px solid rgba(8, 29, 67, 0.16);
    border-radius: 0.95rem;
    padding: 0.85rem 1rem;
    background: var(--surface-solid);
    transition: box-shadow 150ms ease, border-color 150ms ease;
}
.field__input::placeholder {
    color: rgba(90, 107, 134, 0.85);
}
.field__input:focus {
    outline: none;
    border-color: rgba(0, 80, 200, 0.55);
    box-shadow: var(--ring);
}
.field__input--textarea {
    resize: vertical;
    min-height: 140px;
}
.field.is-invalid .field__input {
    border-color: #d93025;
    box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.15);
}
.form__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.form__note {
    margin: 0;
    color: rgba(8, 29, 67, 0.65);
    font-size: 0.95rem;
}

/* Footer */

.footer {
    background: linear-gradient(180deg, #081d43 0%, #06152e 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 3rem 0 1.5rem;
}
.footer__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
    align-items: start;
}
.footer__logo {
    width: auto;
    height: 24px;
    filter: brightness(0) invert(1);
}
.footer__text {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    max-width: 28rem;
}
.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.footer__link:hover {
    color: #fff;
    text-decoration: underline;
}
.footer__newsletter {
    display: grid;
    gap: 0.6rem;
}
.footer__label {
    font-family: "TTNorms Medium";
}
.footer__input-row {
    display: flex;
    gap: 0.6rem;
}
.footer__input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.footer__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.footer__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.footer__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}
.footer__back {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.footer__back:hover {
    color: #fff;
    text-decoration: underline;
}

/* Modal */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 80;
}
.modal.is-open {
    display: flex;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 29, 67, 0.55);
    backdrop-filter: blur(6px);
}
.modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    box-shadow: 0 30px 85px rgba(8, 29, 67, 0.25);
    padding: 1.25rem 1.25rem 1.5rem;
}
.modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal__close:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
.modal__img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.modal__title {
    margin: 0 0 0.4rem;
}
.modal__desc {
    margin: 0;
    color: var(--muted);
}

/* Toast */

.toast {
    position: fixed;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    background: rgba(8, 29, 67, 0.92);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    z-index: 90;
    max-width: calc(100% - 2rem);
}
.toast[hidden] {
    display: none;
}

.no-scroll {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 992px) {
    .hero__wrapper {
        flex-direction: column;
    }
    .hero__media {
        width: min(560px, 100%);
        min-width: 0;
    }
    .split {
        flex-direction: column;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 5.5rem;
    }
    .header-top {
        padding: 0.9rem 0;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .menu {
        position: fixed;
        top: 4.5rem;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--border);
        border-radius: 1.2rem;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 150ms ease, transform 150ms ease;
    }
    .header.is-open .menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .header.is-open .nav-toggle__bars {
        background: transparent;
    }
    .header.is-open .nav-toggle__bars::before {
        top: 0;
        transform: rotate(45deg);
    }
    .header.is-open .nav-toggle__bars::after {
        top: 0;
        transform: rotate(-45deg);
    }
    .menu__link {
        padding: 0.9rem 1rem;
    }
    .menu__item--mobile {
        display: block;
    }
    .header__link {
        display: none;
    }
    .hero {
        padding: 3.5rem 0 2.5rem;
    }
    .testimonial__card {
        flex-direction: column;
    }
    .form__row {
        grid-template-columns: 1fr;
    }
    .footer__input-row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .steps {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .logos {
        justify-content: center;
    }
    .stat {
        min-width: 0;
        flex: 1 1 0;
    }
}

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