﻿:root {
    --logo-pink: #e80890;
    --logo-green: #90e840;
    --logo-black: #111111;
    --pink: var(--logo-pink);
    --pink-dark: #94105f;
    --pink-soft: #ffe5f6;
    --green: var(--logo-green);
    --green-dark: #4f9a16;
    --green-soft: #efffdd;
    --orange: #ff72c8;
    --blue: #b7f86d;
    --ink: #261625;
    --muted: #756173;
    --line: rgba(148, 16, 95, 0.14);
    --surface: #fff7fb;
    --surface-warm: #fffaf2;
    --surface-cool: #f7fff1;
    --surface-strong: rgba(255, 250, 253, 0.92);
    --glass: rgba(255, 247, 251, 0.68);
    --glass-strong: rgba(255, 250, 253, 0.88);
    --white-veil: rgba(255, 250, 253, 0.72);
    --ink-shadow: rgba(88, 24, 69, 0.18);
    --comic-ink: #2a1027;
    --shadow: 0 24px 70px rgba(148, 16, 95, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at 5% 8%, rgba(232, 8, 144, 0.28), transparent 24rem),
    radial-gradient(circle at 85% 14%, rgba(144, 232, 64, 0.34), transparent 26rem),
    radial-gradient(circle at 50% 88%, rgba(232, 8, 144, 0.12), transparent 30rem),
    linear-gradient(135deg, var(--surface), var(--surface-cool) 48%, #fbf7ff);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(232, 8, 144, .05) 1px, transparent 1px),
    linear-gradient(rgba(144, 232, 64, .08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(58, 20, 53, .45), transparent 70%);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.032em;
}

h1 {
    max-width: 820px;
    font-size: 50px;
    letter-spacing: -0.055em;
}

.page-services .page-hero h1,
.page-services .page-hero .lead {
    max-width: none;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 1.08rem;
    letter-spacing: -0.015em;
}

.shell {
    width: min(80rem, calc(100% - 32px));
    margin: 0 auto;
}

.service-shell {
    width: min(92rem, calc(100% - 32px));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass {
    border: 1px solid rgba(255, 247, 251, 0.78);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 247, 251, .78);
    background: rgba(255, 247, 251, 0.78);
    backdrop-filter: blur(20px);
}

.nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
}

.brand img {
    width: 76px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
    transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: var(--pink-dark);
    background: rgba(255, 228, 248, 0.9);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--ink);
}

.hero,
.page-hero {
    padding: clamp(66px, 9vw, 126px) 0 clamp(54px, 7vw, 90px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--pink-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--green));
    box-shadow: 0 0 0 6px rgba(232, 8, 144, 0.1);
}

.lead {
    max-width: 680px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.07rem, 2vw, 1.25rem);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border: 0;
    border-radius: 999px;
    color: var(--surface);
    background: linear-gradient(135deg, var(--pink), #ff72c8);
    box-shadow: 0 14px 32px rgba(232, 8, 144, 0.24);
    text-decoration: none;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(232, 8, 144, 0.3);
}

.button.secondary {
    color: var(--pink-dark);
    background: var(--glass-strong);
    box-shadow: inset 0 0 0 1px rgba(232, 8, 144, 0.25);
}

.portal-card {
    position: relative;
    padding: 18px;
    border-radius: 44px;
}

.portal-card::before {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    border-radius: 52px;
    background: conic-gradient(from 210deg, var(--pink), var(--green), #c9ff86, #ff72c8, var(--pink));
    filter: blur(12px);
    opacity: .48;
}

.portal-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 34px;
}

.floating-card {
    position: absolute;
    right: -10px;
    bottom: 28px;
    max-width: 250px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 247, 251, .86);
    border-radius: 22px;
    background: var(--glass-strong);
    box-shadow: 0 18px 40px var(--ink-shadow);
    backdrop-filter: blur(18px);
}

.section {
    padding: clamp(58px, 8vw, 102px) 0;
}

.section-soft {
    background: rgba(255, 247, 251, .32);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
}

.section-head p {
    max-width: 490px;
    color: var(--muted);
}

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

.quest-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 24px;
    border-radius: 30px;
}

.quest-card p,
.service-card p,
.split-card p,
.contact-card p {
    margin-top: 10px;
    color: var(--muted);
}

.quest-icon,
.service-rune {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    color: var(--surface);
    background: linear-gradient(135deg, var(--pink), var(--green));
    font-weight: 900;
}

.service-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 18px;
    border: 1px solid rgba(255, 247, 251, .78);
    border-radius: 24px;
    color: var(--pink-dark);
    background: var(--white-veil);
    box-shadow: 0 12px 30px rgba(88, 24, 69, .09);
    text-decoration: none;
    font-weight: 900;
    backdrop-filter: blur(18px);
}

.service-chip i {
    color: var(--green);
}

.split-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
    padding: clamp(24px, 5vw, 44px);
    border-radius: 38px;
}

.split-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
}

.split-card .button {
    margin-top: 24px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.service-card {
    scroll-margin-top: 120px;
    position: relative;
    grid-column: span 6;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 74px 26px 30px;
    overflow: visible;
    border: 3px solid var(--comic-ink);
    border-radius: 12px;
    background: radial-gradient(circle at 18px 18px, rgba(255, 247, 251, .42) 0 2px, transparent 2px 9px),
    radial-gradient(circle, var(--pink-soft), rgba(232, 8, 144, .5));
    background-size: 18px 18px, 100% 100%;
    box-shadow: 8px 8px 0 var(--comic-ink), 0 20px 44px rgba(148, 16, 95, .12);
    backdrop-filter: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:nth-child(6n+1) {
    grid-column: span 7;
}

.service-card:nth-child(6n+2) {
    grid-column: span 5;
}

.service-card:nth-child(6n+3) {
    grid-column: span 5;
}

.service-card:nth-child(6n+4) {
    grid-column: span 7;
}

.service-card:nth-child(6n+5) {
    grid-column: span 5;
}

.service-card:nth-child(6n+6) {
    grid-column: span 7;
}

.service-card:hover,
.service-card:focus-within {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 var(--comic-ink), 0 24px 52px rgba(148, 16, 95, .16);
}

.service-card:nth-child(4n+2) {
    background: radial-gradient(circle at 18px 18px, rgba(255, 247, 251, .4) 0 2px, transparent 2px 9px),
    radial-gradient(circle, var(--green-soft), rgba(144, 232, 64, .62));
}

.service-card:nth-child(4n+3) {
    background: radial-gradient(circle at 18px 18px, rgba(255, 247, 251, .4) 0 2px, transparent 2px 9px),
    radial-gradient(circle, #ffe1ad, rgba(255, 146, 43, .72));
}

.service-card:nth-child(4n+4) {
    background: radial-gradient(circle at 18px 18px, rgba(255, 247, 251, .4) 0 2px, transparent 2px 9px),
    radial-gradient(circle, #c9ddff, rgba(72, 107, 255, .66));
}

.service-card-top {
    display: block;
}

.service-card h2 {
    position: absolute;
    top: -3px;
    left: -10px;
    max-width: calc(100% - 72px);
    padding: 8px 14px;
    border: 3px solid var(--comic-ink);
    background: var(--surface-strong);
    box-shadow: 4px 4px 0 var(--comic-ink);
    transform: skew(-10deg);
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    z-index: 2;
}

.service-rune {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 3px solid var(--comic-ink);
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--pink-dark);
    box-shadow: 3px 3px 0 var(--comic-ink);
    z-index: 3;
}

.service-card p {
    color: rgba(38, 25, 42, .88);
    font-weight: 650;
    font-size: 1.02rem;
}

.service-card > p:first-of-type {
    margin-top: 0;
    padding: 18px;
    border: 2px solid rgba(92, 38, 82, .18);
    border-radius: 18px;
    background: rgba(255, 247, 251, .68);
    backdrop-filter: blur(10px);
}

.source {
    align-self: flex-start;
    margin-top: 16px !important;
    padding: 6px 10px;
    border: 2px solid var(--comic-ink);
    background: var(--surface-strong);
    color: var(--pink-dark) !important;
    font-weight: 900;
    transform: skew(-8deg);
}

.text-link {
    display: inline-flex;
    gap: 7px;
    align-self: flex-end;
    margin-top: 15px;
    margin-left: auto;
    padding: 8px 12px;
    border: 2px solid var(--comic-ink);
    border-radius: 999px;
    color: var(--comic-ink);
    background: var(--surface-strong);
    box-shadow: 3px 3px 0 var(--comic-ink);
    text-decoration: none;
    font-weight: 900;
    text-align: center;
}

.text-link:hover,
.text-link:focus {
    color: var(--pink-dark);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: start;
    padding: clamp(24px, 5vw, 44px);
    border-radius: 38px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.contact-list div {
    padding: 18px;
    border-radius: 22px;
    background: var(--white-veil);
}

.contact-list dt {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.contact-list a {
    color: var(--pink-dark);
    text-decoration: none;
}

.specialty-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-cloud span {
    display: inline-flex;
    padding: 10px 13px;
    border: 1px solid rgba(255, 247, 251, .78);
    border-radius: 999px;
    color: var(--pink-dark);
    background: var(--white-veil);
    box-shadow: 0 10px 24px rgba(88, 24, 69, .09);
    font-weight: 850;
}

.site-footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 247, 251, .78);
    background: rgba(255, 247, 251, .42);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
    gap: clamp(28px, 6vw, 80px);
}

.certification-link img {
    width: 150px;
    height: auto;
}

.site-footer p,
.copyright {
    margin-top: 16px;
    color: var(--muted);
}

.footer-contact ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.footer-contact a {
    color: var(--pink-dark);
    text-decoration: none;
    font-weight: 850;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: var(--green);
}

.social-links {
    display: flex;
    gap: 14px;
    font-size: 1.6rem;
}

@media (max-width: 900px) {
    .nav {
        min-height: 76px;
        flex-wrap: wrap;
    }

    .brand img {
        width: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0 16px;
    }

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

    .nav-links a {
        justify-content: center;
        background: var(--white-veil);
    }

    .hero-grid,
    .quest-grid,
    .service-preview-grid,
    .split-card,
    .contact-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
    }

    .service-card {
        grid-column: auto;
    }

    h1 {
        letter-spacing: -0.055em;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .portal-card {
        max-width: 560px;
        margin: 0 auto;
    }

    .floating-card {
        right: 10px;
        bottom: 18px;
    }

    .split-card img {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .shell {
        width: min(100% - 24px, 80rem);
    }

    .hero,
    .page-hero {
        padding-top: 46px;
    }

    .button {
        width: 100%;
    }

    .service-card {
        padding: 82px 18px 24px;
    }

    .service-card h2 {
        max-width: calc(100% - 54px);
        font-size: 1.15rem;
    }

    .service-rune {
        width: 36px;
        height: 36px;
        right: 10px;
    }

    .quest-card {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }
}



