:root {
    --bg: #f6f1f6;
    --bg-strong: #e9dceb;
    --surface: rgba(255, 251, 246, 0.82);
    --surface-strong: #ffffff;
    --text: #241223;
    --muted: #6f5b75;
    --accent: #6d277d;
    --accent-dark: #43134f;
    --accent-soft: #cba8d4;
    --line: rgba(52, 27, 55, 0.12);
    --shadow: 0 22px 48px rgba(67, 19, 79, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(109, 39, 125, 0.12), transparent 30%),
        linear-gradient(180deg, #fbf8fb 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
main { padding: 108px 24px 56px; }

.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    background: rgba(45, 27, 68, 0.82);
    backdrop-filter: blur(18px);
}

.topbar__inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 84px;
    display: grid;
    grid-template-columns: minmax(300px, 390px) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand-lockup img,
.brand-fallback {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 236, 248, 0.9));
    padding: 8px;
    flex: 0 0 auto;
    box-shadow: 0 16px 32px rgba(16, 10, 25, 0.22);
}

.brand-text {
    min-width: 0;
    display: grid;
}

.brand-tag {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.02rem;
    line-height: 1.18;
    max-width: 16rem;
    font-weight: 700;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    justify-content: center;
}

.topnav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    white-space: nowrap;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    min-width: 0;
}

.topbar-contact__icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.topbar-contact__body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.topbar-contact__label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.1;
}

.topbar-contact__phone {
    color: white;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.topbar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #b00d6a, #ec4899);
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    white-space: nowrap;
    box-shadow: 0 18px 38px rgba(176, 13, 106, 0.22);
}

.site-header,
.site-footer,
.hero,
.section,
.page-hero,
.page-body,
.calculator-layout {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.site-header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand small { display: block; color: var(--muted); }
.brand-mark {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(111, 43, 135, 0.1);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.brand-fallback {
    color: #fff;
    font-family: "Unbounded", sans-serif;
}

.site-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a,
.phone-link {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    padding: 48px 24px;
}

.hero-fullbleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    background:
        linear-gradient(128deg, rgba(50, 18, 59, 0.98) 0%, rgba(81, 28, 98, 0.95) 52%, rgba(194, 160, 206, 0.34) 100%),
        radial-gradient(circle at 84% 16%, rgba(235, 214, 241, 0.35), transparent 28%);
}

.hero-stage {
    min-height: min(840px, calc(100svh - 96px));
    display: grid;
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 32px;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    justify-content: space-between;
    gap: 44px;
    align-items: center;
    color: #f9f3eb;
    overflow: hidden;
}

.hero-fullbleed .hero-copy {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 720px;
    margin: 0;
    padding: 72px 0;
}

.hero-fullbleed .eyebrow,
.section-dark .eyebrow { color: rgba(249, 243, 235, 0.74); }

.hero-fullbleed h1 {
    max-width: 8.8ch;
    font-size: clamp(3.1rem, 5vw, 5.4rem);
    line-height: 1.02;
}
.hero-fullbleed .hero-text {
    max-width: 38ch;
    color: rgba(249, 243, 235, 0.84);
    font-size: 1.05rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.hero-facts div {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-facts strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.hero-facts span {
    color: rgba(249, 243, 235, 0.72);
    line-height: 1.5;
    font-size: 0.95rem;
}

.hero-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: center;
    padding: 48px 0;
}

.hero-frame {
    position: relative;
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(15, 8, 4, 0.18);
}

.hero-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-frame figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(34, 16, 40, 0.74);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-frame-feature {
    grid-column: 1 / -1;
    aspect-ratio: 1.12 / 1;
}

.hero-frame-support {
    aspect-ratio: 1 / 0.82;
}

.hero-copy,
.hero-panel,
.page-hero,
.page-body,
.card,
.calculator-form,
.calculator-sidebar .sidebar-card,
.content-block {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.page-hero,
.page-body,
.calculator-form,
.calculator-sidebar .sidebar-card,
.content-block {
    padding: 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--muted);
}

h1, h2, h3 {
    font-family: "Unbounded", sans-serif;
    line-height: 1.08;
}

h1 { font-size: clamp(2.7rem, 5vw, 4.85rem); margin: 10px 0 16px; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.8rem); margin: 8px 0 14px; }
h3 { font-size: 1.1rem; margin: 0 0 12px; }

.hero-text,
.lead,
.richtext,
.card p,
.section-heading p,
.service-meta,
.calculator-sidebar p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions,
.service-meta,
.link-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.metric + .metric,
.sidebar-card + .sidebar-card { margin-top: 16px; }

.metric strong,
.sidebar-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.section,
.page-body,
.calculator-layout {
    padding: 16px 24px 0;
}

.section-alt { padding-bottom: 24px; }
.section-heading { margin-bottom: 18px; }
.section-heading > p:last-child { max-width: 64ch; }

.section-split,
.section-dark {
    padding-top: 48px;
    padding-bottom: 16px;
}

.advantages-section {
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.advantage-card {
    padding: 0 22px 0 0;
    background: transparent;
    border-right: 1px solid var(--line);
    box-shadow: none;
}

.advantage-card h3 {
    margin-bottom: 10px;
}

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

.advantages-grid .advantage-card:last-child {
    border-right: 0;
    padding-right: 0;
}

.about-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.about-split .page-body:first-child {
    background: linear-gradient(145deg, rgba(92, 35, 107, 0.96), rgba(66, 21, 77, 0.96));
    color: #f9f3eb;
}

.about-split .page-body:first-child .eyebrow,
.about-split .page-body:first-child .richtext {
    color: rgba(249, 243, 235, 0.78);
}

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

.process-grid article {
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
}

.process-step {
    display: inline-block;
    margin-bottom: 16px;
    font-family: "Unbounded", sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
}

.catalog-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.catalog-overview-grid .card {
    padding: 0 0 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.catalog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border-radius: 26px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.catalog-overview-grid .card h3,
.catalog-overview-grid .card p {
    padding: 0 6px;
}

.payment-section .payment-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.payment-box div {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.works-section .works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.work-shot {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.work-shot img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--line);
}

.stat-card strong {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    margin-bottom: 10px;
}

.stat-card span {
    color: var(--muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: none;
}

.testimonial-card p {
    margin-top: 0;
    color: var(--muted);
    line-height: 1.7;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card span {
    color: var(--muted);
    margin-top: 4px;
}

.service-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.service-ribbon__item {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-ribbon__item span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.service-ribbon__item strong {
    font-size: 1.05rem;
    line-height: 1.35;
}

.service-ribbon__item:hover {
    transform: translateY(-3px);
    border-color: rgba(111, 43, 135, 0.28);
    background: rgba(255, 255, 255, 0.9);
}

.section-dark {
    background: linear-gradient(135deg, #2d153b, #4f1e62 64%, #79508f);
    color: #f9f3eb;
    border-radius: 34px;
    margin-top: 28px;
}

.contact-cta {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: end;
}

.contact-cta__meta {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-cta__meta span {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(249, 243, 235, 0.64);
}

.contact-cta__meta strong { font-size: 1.1rem; }

.release-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.section-proof {
    padding-top: 36px;
}

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

.proof-layout article {
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card { padding: 24px; }
.card-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
}

.link-list a,
.link-list span {
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.page-body {
    margin-top: 16px;
}

.content-block { margin-top: 20px; }

.calculator-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 20px;
}

.service-hero {
    align-items: stretch;
}

.service-summary-box {
    display: grid;
    align-content: end;
    gap: 14px;
    padding: 28px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(186, 77, 24, 0.16), rgba(255, 255, 255, 0.82)),
        rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(186, 77, 24, 0.14);
    box-shadow: var(--shadow);
}

.service-summary-box span {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-row { display: grid; gap: 8px; margin-bottom: 16px; }
input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    font: inherit;
}

ul.errorlist { margin: 0; padding-left: 18px; color: #b00020; }
.flash-stack { width: min(1180px, calc(100% - 48px)); margin: 12px auto 0; }
.flash {
    padding: 14px 18px;
    border-radius: 18px;
    background: #eef8ed;
    border: 1px solid #c2e1bf;
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px 24px 64px;
}

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }

#service-inquiry,
#calculator-inquiry,
#contact-form {
    scroll-margin-top: 108px;
}

@media (max-width: 1180px) {
    .hero-stage {
        width: min(1360px, calc(100% - 36px));
        padding: 0 24px;
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, 360px);
        gap: 32px;
    }

    .hero-fullbleed .hero-copy {
        padding: 56px 0 44px;
    }

    .hero-media {
        padding: 44px 0;
    }

    .hero-fullbleed h1 {
        max-width: 8ch;
        font-size: clamp(2.9rem, 4.6vw, 4.8rem);
    }
}

@media (max-width: 900px) {
    .topbar__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .topnav,
    .topbar-contact {
        display: none;
    }

    .site-header,
    .hero,
    .page-hero,
    .calculator-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stage,
    .process-grid,
    .contact-cta,
    .release-grid,
    .proof-layout,
    .advantages-grid,
    .about-split,
    .catalog-overview-grid,
    .payment-section .payment-box,
    .stats-section .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-fullbleed .hero-copy {
        padding: 48px 24px 24px;
        max-width: none;
    }

    .hero-fullbleed h1 {
        max-width: 9ch;
        font-size: clamp(2.8rem, 8vw, 4.2rem);
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px 32px;
    }

    .hero-frame-feature {
        grid-column: 1 / -1;
        aspect-ratio: 4 / 3;
    }

    .hero-frame-support {
        aspect-ratio: 1 / 1;
    }

    .advantages-grid,
    .catalog-overview-grid,
    .works-section .works-grid,
    .payment-section .payment-box {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        border-right: 0;
        padding-right: 0;
    }

    .site-nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
    main {
        padding: 96px 16px 44px;
    }

    .hero-fullbleed {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .site-header {
        padding: 16px;
    }

    .brand {
        align-items: flex-start;
    }

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

    .site-nav,
    .topbar__cta,
    .hero-actions,
    .service-meta,
    .link-list {
        gap: 10px;
    }

    .site-nav a,
    .phone-link,
    .button {
        width: 100%;
    }

    .topbar__inner {
        width: min(100%, calc(100% - 32px));
        min-height: 76px;
        grid-template-columns: 1fr;
    }

    .brand-lockup img,
    .brand-fallback {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .brand-tag,
    .topbar__cta {
        display: none;
    }

    .hero-stage {
        min-height: auto;
        padding: 0;
        width: 100%;
    }

    .hero-fullbleed .hero-copy {
        padding: 36px 16px 18px;
    }

    .advantages-section {
        margin-top: 0;
    }

    .hero-fullbleed h1 {
        max-width: none;
        font-size: clamp(2.4rem, 12vw, 3.7rem);
    }

    .hero-media {
        grid-template-columns: 1fr;
        padding: 0 16px 20px;
    }

    .hero-frame {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .section,
    .page-body,
    .calculator-layout,
    .page-hero,
    .works-section {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-copy,
    .hero-panel,
    .page-hero,
    .page-body,
    .card,
    .calculator-form,
    .calculator-sidebar .sidebar-card,
    .content-block,
    .service-summary-box {
        padding: 20px;
        border-radius: 22px;
    }

    .contact-cta__meta {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        padding-top: 18px;
    }

    .works-section .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
