:root {
    --bg-main: #f3f4f6;
    --bg-soft: #ffffff;
    --steel-100: #e8ebef;
    --steel-300: #c7ccd2;
    --steel-500: #7d858e;
    --steel-700: #3b434e;
    --steel-900: #171b22;
    --accent: #ef3e85;
    --accent-soft: #ffd8e8;
    --shadow-heavy: 0 28px 60px rgba(23, 27, 34, 0.18);
    --shadow-soft: 0 14px 30px rgba(23, 27, 34, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--steel-900);
    background: linear-gradient(180deg, #fafbfc 0%, var(--bg-main) 100%);
    min-height: 100vh;
    line-height: 1.55;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: repeating-linear-gradient(
        -60deg,
        rgba(59, 67, 78, 0.06) 0 2px,
        transparent 2px 18px
    );
    opacity: 0.4;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1;
    font-family: "Teko", sans-serif;
    letter-spacing: 0.03em;
}

p {
    margin: 0;
}

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

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(59, 67, 78, 0.12);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.brand-logo {
    width: clamp(180px, 18vw, 250px);
    max-width: 52vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(23, 27, 34, 0.2));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.main-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel-700);
    position: relative;
    padding-bottom: 3px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.88rem 1.4rem;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-solid {
    color: #fff;
    background: linear-gradient(135deg, #f24f90, #d32d6f);
    box-shadow: 0 10px 25px rgba(211, 45, 111, 0.35);
}

.btn-solid:hover,
.btn-solid:focus-visible {
    box-shadow: 0 14px 30px rgba(211, 45, 111, 0.45);
}

.btn-outline {
    border-color: rgba(59, 67, 78, 0.28);
    color: var(--steel-700);
    background: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 6.2rem 0 4.8rem;
}

.hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(239, 62, 133, 0.3), rgba(239, 62, 133, 0));
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--steel-700);
}

.kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.hero-copy h1 {
    margin-top: 0.8rem;
    font-size: clamp(2.9rem, 8vw, 5.4rem);
    max-width: 12ch;
    color: var(--steel-900);
}

.lead {
    margin-top: 1rem;
    max-width: 56ch;
    color: var(--steel-700);
    font-size: 1.02rem;
}

.hero-actions {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-metrics {
    margin: 2rem 0 0;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-metrics li {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 67, 78, 0.1);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.25rem;
}

.hero-metrics strong {
    font-family: "Teko", sans-serif;
    font-size: 2rem;
    color: var(--steel-900);
    letter-spacing: 0.04em;
}

.hero-metrics span {
    color: var(--steel-700);
    font-size: 0.88rem;
}

.hero-visual {
    position: relative;
    min-height: 440px;
}

.visual-panel {
    position: relative;
    border-radius: 24px;
    padding: 2.2rem;
    min-height: 320px;
    background: linear-gradient(145deg, #2e3640, #171b22);
    color: #f8f9fb;
    box-shadow: var(--shadow-heavy);
    clip-path: polygon(0 0, 92% 0, 100% 18%, 100% 100%, 0 100%);
    overflow: hidden;
}

.visual-panel::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 170px;
    height: 170px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: orbit 16s linear infinite;
}

.visual-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(239, 62, 133, 0) 0%, var(--accent) 50%, rgba(239, 62, 133, 0) 100%);
}

.visual-panel p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #c9ced4;
}

.visual-panel h2 {
    margin-top: 0.9rem;
    font-size: clamp(2.3rem, 7vw, 4rem);
    letter-spacing: 0.05em;
}

.visual-panel span {
    display: block;
    margin-top: 0.8rem;
    max-width: 26ch;
    color: #dbe1e8;
}

.visual-strip {
    position: absolute;
    left: 1rem;
    right: -1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.visual-strip article {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(59, 67, 78, 0.1);
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow-soft);
}

.visual-strip p {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--steel-700);
}

.visual-strip strong {
    margin-top: 0.2rem;
    display: block;
    font-size: 1.05rem;
    color: var(--steel-900);
}

section {
    padding: 4.8rem 0;
}

.section-head {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--steel-700);
    font-weight: 700;
}

.section-head h2 {
    font-size: clamp(2rem, 6vw, 3.35rem);
    max-width: 18ch;
    color: var(--steel-900);
}

.products {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(231, 235, 239, 0.65) 100%);
    border-top: 1px solid rgba(59, 67, 78, 0.1);
    border-bottom: 1px solid rgba(59, 67, 78, 0.08);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(59, 67, 78, 0.1);
    border-radius: 18px;
    padding: 1.25rem 1.2rem;
    min-height: 188px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 58%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 62, 133, 0.4);
}

.product-card h3 {
    font-size: 1.7rem;
    color: var(--steel-900);
}

.product-card p {
    margin-top: 0.65rem;
    color: var(--steel-700);
    max-width: 34ch;
}

.capabilities-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.6rem;
    align-items: start;
}

.capabilities-copy h2 {
    margin-top: 0.7rem;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    max-width: 13ch;
}

.capabilities-copy p:last-child {
    margin-top: 1rem;
    color: var(--steel-700);
    max-width: 43ch;
}

.capability-list {
    display: grid;
    gap: 0.85rem;
}

.capability-list article {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(59, 67, 78, 0.12);
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    padding: 1.15rem;
    box-shadow: var(--shadow-soft);
}

.capability-list h3 {
    font-size: 1.6rem;
    color: var(--steel-900);
}

.capability-list p {
    margin-top: 0.45rem;
    color: var(--steel-700);
}

.process {
    background: linear-gradient(160deg, #262d37, #191d25);
    color: #f5f7fa;
    position: relative;
    overflow: clip;
}

.process::before {
    content: "";
    position: absolute;
    left: -120px;
    top: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(239, 62, 133, 0.28), rgba(239, 62, 133, 0));
}

.section-head-light .eyebrow,
.section-head-light h2 {
    color: #f5f7fa;
}

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

.process-step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.15rem;
    min-height: 210px;
    position: relative;
}

.process-step span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
    font-family: "Teko", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
}

.process-step h3 {
    margin-top: 0.8rem;
    font-size: 1.7rem;
    color: #ffffff;
}

.process-step p {
    margin-top: 0.55rem;
    color: #d5dbe4;
}

.assurance {
    padding-top: 3.2rem;
}

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

.assurance-layout article {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(59, 67, 78, 0.1);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: var(--shadow-soft);
}

.assurance-layout strong {
    font-family: "Teko", sans-serif;
    font-size: 2.3rem;
    color: var(--steel-900);
    letter-spacing: 0.05em;
}

.assurance-layout p {
    margin-top: 0.5rem;
    color: var(--steel-700);
}

.contact {
    padding-top: 4.2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1rem;
}

.contact-copy {
    background: linear-gradient(160deg, #ffffff, #eceff3);
    border: 1px solid rgba(59, 67, 78, 0.12);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.contact-copy h2 {
    margin-top: 0.6rem;
    font-size: clamp(2rem, 6vw, 3rem);
}

.contact-copy p {
    margin-top: 0.9rem;
    color: var(--steel-700);
    max-width: 44ch;
}

.contact-copy .btn {
    margin-top: 1.25rem;
}

.contact-card {
    background: linear-gradient(165deg, #2f3742, #171b22);
    color: #f6f8fb;
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: var(--shadow-heavy);
}

.contact-card h3 {
    font-size: 1.9rem;
}

.contact-card ul {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.contact-card li {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.8rem;
    display: grid;
    gap: 0.15rem;
}

.contact-card span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #bcc5d1;
}

.contact-card a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(239, 62, 133, 0.85);
    text-decoration-thickness: 2px;
}

.contact-card p {
    color: #ffffff;
}

.site-footer {
    border-top: 1px solid rgba(59, 67, 78, 0.12);
    margin-top: 4.4rem;
    background: #f8fafb;
}

.site-footer .container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer p {
    text-align: center;
    color: var(--steel-700);
    letter-spacing: 0.03em;
}

.hero-copy > * {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 0.75s ease forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }

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

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1080px) {
    .main-nav {
        gap: 0.95rem;
    }

    .hero-layout,
    .capabilities-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        margin-top: 1.2rem;
        min-height: 390px;
    }

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

@media (max-width: 760px) {
    .header-row {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        min-height: auto;
        padding: 0.7rem 0 0.45rem;
        gap: 0.6rem;
    }

    .brand-logo {
        width: clamp(132px, 42vw, 182px);
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        padding: 0.2rem 0 0.35rem;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        font-size: 0.74rem;
        white-space: nowrap;
        letter-spacing: 0.09em;
    }

    .header-row > .btn {
        order: 2;
        flex-shrink: 0;
        padding: 0.62rem 0.95rem;
        font-size: 0.72rem;
    }

    .hero {
        padding-top: 4.2rem;
    }

    .hero-visual {
        min-height: auto;
    }

    .visual-panel {
        min-height: auto;
        padding: 1.4rem 1.2rem;
        clip-path: none;
        border-radius: 18px;
    }

    .visual-panel h2 {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .visual-strip {
        position: static;
        margin-top: 0.75rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .visual-strip article {
        padding: 0.65rem;
    }

    .visual-strip strong {
        font-size: 0.96rem;
    }

    .product-grid,
    .assurance-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero-visual {
        margin-top: 0.9rem;
    }

    .visual-panel {
        padding: 1.2rem 1rem;
    }

    .visual-panel::before {
        width: 120px;
        height: 120px;
        right: -30px;
        top: -28px;
    }

    .visual-strip {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

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

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

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