:root {
    --qcs-dark: #102326;
    --qcs-darker: #071315;
    --qcs-green: #B6FF2E;
    --qcs-white: #FFFFFF;
    --qcs-light: #F7F9F8;
    --qcs-text: #203033;
    --qcs-muted: #617174;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--qcs-white);
    color: var(--qcs-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--qcs-white);
    border-bottom: 1px solid rgba(16, 35, 38, 0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    max-width: 1180px;
    min-height: 86px;
    margin: 0 auto;
    padding: 0 28px;
}

.site-branding {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.site-branding,
.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.site-branding img,
.site-logo img,
.custom-logo,
.custom-logo-link img {
    display: block;
    max-width: 245px;
    width: auto;
    height: auto;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.site-logo-text {
    color: var(--qcs-dark);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.05;
    max-width: 245px;
}

.header-actions {
    grid-column: 2 / 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
}

.main-navigation .menu {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--qcs-dark);
    font-size: 1.01rem;
    font-weight: 650;
    line-height: 1.2;
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--qcs-green);
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.whatsapp-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--qcs-green);
    color: var(--qcs-dark);
    font-weight: 750;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(86, 120, 24, 0.18);
}

.whatsapp-button {
    padding: 13px 22px;
    margin-left: 0;
    white-space: nowrap;
}

.primary-button {
    padding: 15px 24px;
}

.primary-button-dark {
    background: var(--qcs-dark);
    color: var(--qcs-white);
    box-shadow: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--qcs-white);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(16, 35, 38, 0.12);
    border-radius: 999px;
    background: var(--qcs-white);
    color: var(--qcs-dark);
    cursor: pointer;
}

.menu-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero-section {
    background:
        radial-gradient(circle at 76% 20%, rgba(182, 255, 46, 0.18), transparent 30%),
        linear-gradient(110deg, var(--qcs-darker) 0%, var(--qcs-dark) 52%, var(--qcs-light) 52%, var(--qcs-white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    align-items: center;
    gap: 52px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 82px 28px 88px;
}

.hero-copy {
    max-width: 650px;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 14px;
    color: var(--qcs-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker {
    color: var(--qcs-muted);
}

.hero-title {
    display: grid;
    gap: 4px;
    margin: 0;
    color: var(--qcs-white);
    font-size: clamp(2.45rem, 4.3vw, 4.45rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
}

.hero-title-accent {
    color: var(--qcs-green);
}

.hero-text {
    max-width: 520px;
    margin: 28px 0 0;
    margin-right: 36px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.65;
}

.hero-method-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.hero-method-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.hero-method-list li::before {
    content: "\2713";
    flex: 0 0 auto;
    color: var(--qcs-green);
    font-weight: 900;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 0;
}

.hero-side {
    min-width: 0;
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

.hero-visual img.hero-main-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-panel {
    display: grid;
    min-height: 420px;
    place-items: center;
    padding: 36px;
    border: 1px solid rgba(16, 35, 38, 0.08);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 248, 0.82)),
        radial-gradient(circle at top right, rgba(182, 255, 46, 0.34), transparent 38%);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.12);
}

.service-card {
    width: min(100%, 360px);
    padding: 28px;
    border: 1px solid rgba(16, 35, 38, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--qcs-text);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.service-card-floating {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.service-card h2 {
    margin: 0 0 18px;
    color: var(--qcs-dark);
    font-size: 1.35rem;
    line-height: 1.2;
}

.service-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 24px;
    color: var(--qcs-text);
    font-weight: 650;
}

.service-card li::before {
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    content: "";
    background: var(--qcs-green);
}

.qcs-assistant-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(16, 35, 38, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.qcs-assistant-avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 24px;
    background: var(--qcs-light);
}

.qcs-assistant-content h3 {
    margin: 0 0 6px;
    color: var(--qcs-text);
    font-size: 1rem;
    line-height: 1.2;
}

.qcs-assistant-content p {
    margin: 0 0 12px;
    color: #4B5B5F;
    font-size: 0.93rem;
    line-height: 1.45;
}

.qcs-assistant-button {
    min-height: 0;
    padding: 10px 16px;
    border: 0;
    font-size: 0.92rem;
    cursor: pointer;
}

.content-band {
    background: var(--qcs-white);
}

.content-band-light {
    background: var(--qcs-light);
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 78px 28px;
}

.two-column,
.callout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.section-inner h2,
.post-content h1 {
    margin: 0;
    color: var(--qcs-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.section-inner p {
    margin: 0;
    color: var(--qcs-muted);
    font-size: 1.08rem;
}

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

.service-item {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(16, 35, 38, 0.08);
    border-radius: 8px;
    background: var(--qcs-white);
}

.service-item h3 {
    margin: 0 0 12px;
    color: var(--qcs-dark);
    font-size: 1.24rem;
}

.service-item p {
    font-size: 1rem;
}

.callout {
    padding-top: 64px;
    padding-bottom: 64px;
    border-top: 1px solid rgba(16, 35, 38, 0.08);
    border-bottom: 1px solid rgba(16, 35, 38, 0.08);
}

.callout .primary-button {
    justify-self: end;
}

.contact-section {
    max-width: 780px;
}

.contact-section h2 {
    margin-bottom: 18px;
}

.post-content {
    max-width: 820px;
}

.site-footer {
    background: var(--qcs-dark);
    color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

.footer-inner p {
    margin: 0;
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 78px;
        gap: 18px;
    }

    .site-branding img,
    .site-logo img,
    .custom-logo,
    .custom-logo-link img,
    .site-logo-text {
        max-width: 215px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
        justify-self: end;
    }

    .header-actions {
        position: absolute;
        top: calc(100% + 1px);
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px;
        border: 1px solid rgba(16, 35, 38, 0.08);
        border-radius: 8px;
        background: var(--qcs-white);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
    }

    .header-actions.is-open {
        display: flex;
    }

    .main-navigation .menu {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .whatsapp-button {
        width: 100%;
    }

    .hero-section {
        background: linear-gradient(180deg, var(--qcs-darker) 0%, var(--qcs-dark) 58%, var(--qcs-light) 58%, var(--qcs-white) 100%);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-top: 62px;
    }

    .hero-visual {
        width: 100%;
    }

    .hero-visual img.hero-main-image,
    .hero-panel {
        min-height: 320px;
    }

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

    .two-column,
    .callout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .callout .primary-button {
        justify-self: start;
    }

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

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .header-inner {
        min-height: 72px;
        padding: 0 18px;
    }

    .site-branding img,
    .site-logo img,
    .custom-logo,
    .custom-logo-link img,
    .site-logo-text {
        max-width: 175px;
    }

    .hero-inner {
        padding: 48px 18px 58px;
    }

    .hero-title {
        font-size: clamp(2.45rem, 13vw, 3.8rem);
        letter-spacing: -0.035em;
    }

    .hero-text {
        font-size: 1rem;
        margin-right: 0;
    }

    .hero-cta-row {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .text-link {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        min-height: 280px;
        overflow: hidden;
        border-radius: 24px;
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
    }

    .hero-visual img.hero-main-image,
    .hero-panel {
        min-height: 280px;
        border-radius: 24px;
    }

    .hero-panel {
        padding: 20px;
    }

    .service-card,
    .service-card-floating {
        position: static;
        width: 100%;
        margin: 0;
    }

    .service-card-floating {
        margin-top: -88px;
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }

    .qcs-assistant-card {
        grid-template-columns: 78px 1fr;
        padding: 16px;
    }

    .qcs-assistant-avatar {
        width: 78px;
        height: 78px;
        border-radius: 18px;
    }

    .section-inner {
        padding: 58px 18px;
    }
}
