:root {
    --brand-deep: #063b34;
    --brand-deep-2: #032923;
    --brand-accent: #087f73;
    --brand-accent-bright: #11b3a1;
    --brand-mint: #dff7f3;
    --brand-surface: #f4f8f7;
    --brand-border: #dce8e5;
    --brand-text: #10211f;
    --brand-muted: #526864;
    --site-header-height: 76px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--site-header-height) + 20px);
}

body {
    margin: 0;
    background: var(--brand-surface);
    color: var(--brand-text);
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

body.nav-open {
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 20000;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform .2s ease;
}

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

header.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    min-height: var(--site-header-height);
    padding: 8px 0 !important;
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid rgba(6, 59, 52, .08);
    box-shadow: 0 8px 28px rgba(6, 59, 52, .07) !important;
    backdrop-filter: blur(12px);
}

.site-header .nav-flex,
header .nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    gap: 24px;
}

.site-logo.logo {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    gap: 0;
    color: var(--brand-deep);
    font-size: 0;
    letter-spacing: 0;
    text-decoration: none;
}

.site-logo__lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.site-logo__image {
    display: block;
    width: auto;
    height: 47px;
    max-width: 190px;
    object-fit: contain;
}

.site-logo__tagline {
    color: var(--brand-deep);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .nav-menu ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.45vw, 23px) !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header .nav-menu a {
    display: block;
    color: var(--brand-text) !important;
    font-size: .91rem !important;
    font-weight: 650 !important;
    text-decoration: none;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a:focus-visible,
.site-header .nav-menu li.active > a,
.site-header .nav-menu a[aria-current="page"] {
    color: var(--brand-accent) !important;
}

.site-header .nav-menu a.btn-wycena-nav {
    padding: 11px 19px !important;
    background: var(--brand-deep) !important;
    color: #fff !important;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(6, 59, 52, .16);
}

.site-header .nav-menu a.btn-wycena-nav:hover,
.site-header .nav-menu a.btn-wycena-nav:focus-visible,
.site-header .nav-menu a.btn-wycena-nav[aria-current="page"] {
    background: var(--brand-accent) !important;
    color: #fff !important;
}

.site-header .dropdown-content {
    position: absolute;
    left: 0;
    z-index: 100;
    display: none;
    top: calc(100% + 12px) !important;
    min-width: 330px;
    border: 1px solid var(--brand-border);
    border-top: 3px solid var(--brand-accent-bright);
    box-shadow: 0 22px 50px rgba(6, 59, 52, .14) !important;
    border-radius: 10px;
    background: #fff;
    padding: 9px 0;
}

.site-header .dropdown {
    position: relative;
}

.site-header .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    white-space: nowrap;
}

.site-header .dropdown-content a:hover,
.site-header .dropdown-content a:focus-visible {
    background: var(--brand-surface);
}

@media (min-width: 1241px) {
    .site-header .dropdown:hover .dropdown-content,
    .site-header .dropdown:focus-within .dropdown-content,
    .site-header .dropdown.active .dropdown-content {
        display: block;
    }
}

.site-header .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 8px;
}

.site-header .menu-toggle span {
    display: block;
    width: 29px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-deep);
}

.site-header .menu-toggle:focus-visible {
    outline: 3px solid rgba(17, 179, 161, .35);
    outline-offset: 3px;
}

.site-header .nav-edu-link {
    padding: 8px 11px !important;
    border: 1px solid rgba(17, 179, 161, .32);
    border-radius: 9px;
    background: rgba(17, 179, 161, .07);
    color: var(--brand-deep) !important;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--brand-accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-card--edu {
    background: linear-gradient(145deg, #ffffff 0%, #eafaf7 100%);
    border-color: rgba(17, 179, 161, .35) !important;
}

.partners-heading {
    margin: 0 0 34px;
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.section-soft {
    background: #eaf4f2;
}

.split-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(28px, 6vw, 70px);
    align-items: center;
}

.split-service-grid h2 {
    margin: 0 0 14px;
    color: var(--brand-deep);
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: 1.18;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--brand-accent);
    font-weight: 900;
    content: '✓';
}

.service-note-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(6, 59, 52, .1);
    border-radius: 22px;
    background: var(--brand-deep);
    box-shadow: 0 22px 55px rgba(3, 41, 35, .16);
    color: rgba(255, 255, 255, .84);
}

.service-note-card > i {
    margin-bottom: 18px;
    color: #5eead4;
    font-size: 2rem;
}

.service-note-card h3 {
    margin: 0 0 12px;
    color: #fff;
}

.service-note-card p {
    margin: 0;
}

.deliverable-box {
    margin-top: 30px;
    padding: 20px 24px;
    border-left: 4px solid var(--brand-accent-bright);
    border-radius: 0 14px 14px 0;
    background: #fff;
    box-shadow: 0 12px 34px rgba(6, 59, 52, .07);
}

.cta-band {
    padding: clamp(44px, 7vw, 74px) 0;
    background: var(--brand-deep-2);
    color: #fff;
}

.cta-band__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-band h2 {
    margin: 0 0 8px;
    color: #fff;
}

.cta-band p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .75);
}

.moved-service {
    min-height: min(62vh, 620px);
    display: grid;
    place-items: center;
    text-align: center;
}

.moved-service .container {
    max-width: 780px;
}

.moved-service .btn-primary {
    display: inline-flex;
    margin-top: 12px;
}

.hero h1,
.hero-section h1,
.config-hero h1 {
    line-height: 1.13 !important;
    text-wrap: balance;
}

.hero p,
.hero-section p,
.config-hero p {
    text-wrap: pretty;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #dff7f3;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .25s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #fff;
    color: var(--brand-deep);
    transform: translateY(-2px);
}

.btn-primary,
.btn-home-send,
.btn-submit,
.btn-submit-order,
.btn-submit-config {
    background: var(--brand-accent-bright) !important;
    color: var(--brand-deep-2) !important;
}

.btn-primary:hover,
.btn-home-send:hover,
.btn-submit:hover,
.btn-submit-order:hover,
.btn-submit-config:hover {
    background: #2dd4bf !important;
    color: var(--brand-deep-2) !important;
}

.services-section {
    padding: clamp(62px, 8vw, 100px) 0;
    background: #fff;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: linear-gradient(160deg, #fff 65%, #eff9f7 100%);
    box-shadow: 0 14px 32px rgba(6, 59, 52, .06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 179, 161, .55);
    box-shadow: 0 20px 42px rgba(6, 59, 52, .1);
}

.service-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 14px;
    background: var(--brand-mint);
    color: var(--brand-accent);
    font-size: 1.35rem;
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--brand-deep);
    font-size: 1.16rem;
}

.service-card p {
    margin: 0 0 20px;
    color: var(--brand-muted);
    font-size: .93rem;
}

.service-card a {
    margin-top: auto;
    color: var(--brand-accent);
    font-weight: 750;
    text-decoration: none;
}

.partner-logo img {
    max-height: 68px !important;
    opacity: .72 !important;
}

.partner-logo:hover img,
.partner-logo:focus-within img {
    opacity: 1 !important;
}

.about-content p,
.legal-content p,
.content-section p {
    text-align: left !important;
}

.form-hint,
.field-help {
    display: block;
    margin-top: 7px;
    color: var(--brand-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 8px;
    color: inherit;
    font-size: .78rem;
    line-height: 1.5;
}

.privacy-row input {
    width: 18px !important;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
}

.privacy-row a {
    color: inherit;
    font-weight: 700;
}

.turnstile-slot:empty {
    display: none;
}

.turnstile-slot {
    margin: 16px 0 8px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: .82rem;
    font-weight: 700;
}

.home-contact-form input,
.home-contact-form textarea {
    box-sizing: border-box;
}

.form-row-flex > div {
    flex: 1 1 0;
}

.section-dark-bg .form-label,
.section-dark-bg .privacy-row {
    color: rgba(255, 255, 255, .9);
}

.config-progress {
    margin: 28px 0 -28px;
    color: var(--brand-muted);
    font-size: .9rem;
    font-weight: 650;
}

.estimate-note {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
    line-height: 1.5;
}

.btn-print-estimate {
    background: #fff !important;
    color: var(--brand-deep) !important;
}

.btn-send-estimate {
    margin-top: 10px !important;
}

.mobile-budget-bar {
    display: none;
}

.form-status {
    min-height: 1.4em;
    margin-top: 12px;
    font-size: .86rem;
}

.site-footer {
    padding: 42px 0 24px !important;
    background: #011d1a !important;
    color: rgba(255, 255, 255, .76) !important;
    border-top: 3px solid var(--brand-accent-bright) !important;
    text-align: left !important;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr;
    gap: 36px;
    align-items: start;
}

.site-footer__brand {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.site-footer__tagline {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .86rem;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .92rem;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, .76) !important;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #5eead4 !important;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
}

.site-footer__bottom p {
    margin: 0;
}

.simple-hero {
    padding: clamp(68px, 8vw, 106px) 0;
    background: linear-gradient(135deg, #032923, #07564d);
    color: #fff;
    text-align: center;
}

.simple-hero h1 {
    max-width: 900px;
    margin: 0 auto 16px;
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.12;
}

.simple-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
}

.content-section {
    padding: clamp(56px, 7vw, 90px) 0;
}

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

.content-card {
    padding: 28px;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(6, 59, 52, .06);
}

.content-card h2,
.content-card h3 {
    margin-top: 0;
    color: var(--brand-deep);
}

.section-eyebrow {
    margin: 0 0 10px;
    color: var(--brand-accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-lead {
    max-width: 740px;
    margin: 0 auto 36px;
    color: var(--brand-muted);
    text-align: center;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.logo-card {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    background: #fff;
    color: var(--brand-muted);
    font-size: .75rem;
    font-weight: 650;
    text-align: center;
}

.logo-card img {
    width: auto;
    max-width: 105px;
    height: 64px;
    object-fit: contain;
}

.support-callout {
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-deep-2), var(--brand-deep));
    color: #fff;
}

.support-callout h2 {
    margin-top: 0;
}

.support-callout a {
    color: #5eead4;
    font-weight: 750;
}

.help-system-hero p:not(.section-eyebrow) {
    max-width: 820px;
}

.help-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.help-primary-cta {
    gap: 9px;
    background: var(--brand-accent-bright);
    color: var(--brand-deep-2);
}

.help-section-title {
    margin: 0 0 12px;
    color: var(--brand-deep);
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    text-align: center;
}

.support-action-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
}

.support-action-card--primary {
    border-color: rgba(17, 179, 161, .55);
    background: linear-gradient(155deg, #fff 55%, #e9faf7 100%);
}

.support-action-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    background: var(--brand-mint);
    color: var(--brand-accent);
    font-size: 1.35rem;
}

.support-action-label {
    margin: 0 0 4px !important;
    color: var(--brand-accent) !important;
    font-size: .72rem !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.support-action-card .btn-solid {
    width: fit-content;
    margin-top: auto;
}

.help-contact-section {
    background: #eef6f4;
}

.help-contact-card {
    text-align: center;
}

.help-contact-card > i {
    margin-bottom: 12px;
    color: var(--brand-accent);
    font-size: 1.65rem;
}

.help-contact-card a {
    color: var(--brand-deep);
    font-weight: 800;
}

.help-ticket-guide {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 36px;
    align-items: center;
}

.help-ticket-guide p {
    margin-bottom: 0;
}

.help-privacy-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
}

.help-privacy-note i {
    margin-top: 3px;
    color: #5eead4;
    font-size: 1.25rem;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 1240px) {
    :root {
        --site-header-height: 68px;
    }

    .site-header .nav-flex,
    header .nav-flex {
        min-height: 52px;
    }

    .site-logo__image {
        height: 43px;
        max-width: 150px;
    }

    .site-logo__tagline {
        display: none;
    }

    .site-header .nav-menu,
    header .nav-menu {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 9998;
        display: none;
        top: var(--site-header-height) !important;
        height: calc(100dvh - var(--site-header-height)) !important;
        padding: 18px 22px 30px !important;
        overflow-y: auto;
        background: #fff;
        box-sizing: border-box;
    }

    .site-header .nav-menu.active,
    header .nav-menu.active {
        display: block;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .site-header .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 7px !important;
    }

    .site-header .nav-menu li,
    .site-header .nav-menu a {
        width: 100%;
        box-sizing: border-box;
    }

    .site-header .nav-menu a {
        padding: 10px 6px;
    }

    .site-header .dropdown-content {
        position: static;
        display: none;
        min-width: 0;
        box-sizing: border-box;
        box-shadow: none !important;
    }

    .site-header .dropdown.active .dropdown-content {
        display: block;
    }

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

    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .logo-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .services-grid,
    .content-grid-3,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

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

    .site-footer__bottom {
        flex-direction: column;
        gap: 8px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
        margin-inline: auto;
    }

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

    .help-ticket-guide {
        grid-template-columns: 1fr;
    }

    .split-service-grid {
        grid-template-columns: 1fr;
    }

    .cta-band__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .config-progress {
        margin-top: 20px;
    }

    .mobile-budget-bar {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 9000;
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 10px;
        align-items: center;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 14px;
        background: rgba(3, 41, 35, .96);
        box-shadow: 0 16px 42px rgba(3, 41, 35, .28);
        color: #fff;
        backdrop-filter: blur(10px);
    }

    .mobile-budget-bar span {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .mobile-budget-bar small {
        color: rgba(255, 255, 255, .62);
        font-size: .58rem;
    }

    .mobile-budget-bar strong {
        overflow: hidden;
        font-size: .68rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-budget-bar a {
        padding: 10px 12px;
        border-radius: 9px;
        background: var(--brand-accent-bright);
        color: var(--brand-deep-2);
        font-size: .72rem;
        font-weight: 800;
        text-decoration: none;
    }
}

@media print {
    .mobile-budget-bar {
        display: none !important;
    }
}

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