:root {
    --bg: #f7efe5;
    --surface: #fffaf3;
    --surface-strong: #132a24;
    --surface-muted: #efe2d0;
    --text: #1d1b18;
    --text-soft: #61594f;
    --white: #ffffff;
    --accent: #cb5c34;
    --accent-dark: #963f20;
    --shadow: 0 20px 60px rgba(30, 20, 14, 0.12);
    --radius: 26px;
    --container: 1180px;
    --nav-height: 88px;
    --topbar-height: 46px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    background: #10231e;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(203, 92, 52, 0.2), transparent 28%),
        linear-gradient(180deg, #fff7ef 0%, #f8efe5 100%);
}

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

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

main .section:nth-of-type(odd) {
    background: #ffffff;
}

main .section:nth-of-type(even) {
    background: #f6f6f6;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading h2,
.about h2,
.cta h2,
.contact h2 {
    margin: 0 0 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    font-weight: 700;
}

.section-heading p,
.about-copy p,
.contact-copy p,
.hero-content p {
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: var(--white);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.button-full {
    width: 100%;
}

.button-contrast {
    background: var(--white);
    color: #10231e;
}

.button-contrast:hover {
    background: #f2eee8;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    padding-bottom: 48px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 28, 24, 0.85), rgba(16, 52, 45, 0.42)),
        url('https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at right top, rgba(255, 177, 136, 0.24), transparent 20%),
        radial-gradient(circle at left bottom, rgba(203, 92, 52, 0.22), transparent 25%);
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 32;
    background: rgb(57 57 57 / 69%);
    backdrop-filter: blur(4px);
    border-bottom: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.topbar.is-scrolled {
    background: rgba(10, 16, 18, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.topbar-inner {
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-contacts,
.topbar-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.topbar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.topbar-socials a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.topbar-socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.site-nav {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    z-index: 30;
    padding: 20px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-nav.is-sticky {
    padding: 12px 0;
    background: rgba(12, 29, 25, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    position: relative;
    z-index: 2;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand-with-logo img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    display: block;
    transition: width 0.3s ease, height 0.3s ease;
}

.site-nav.is-sticky .brand-with-logo img {
    width: 120px;
    height: 120px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.92);
}

.nav-links a {
    font-size: 0.95rem;
}

.nav-cta {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-height) + var(--topbar-height) + 80px);
    color: var(--white);
}

.hero-content h1 {
    max-width: 800px;
    margin: 0 0 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.7rem, 5.2vw, 4.5rem);
    line-height: 1.02;
    font-weight: 700;
}

.hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
}

.carousel-control {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-strong);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

.service-card,
.testimonial-card,
.benefit-card,
.number-card,
.split-panel,
.contact-form,
.cta-box {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-card {
    min-width: calc((100% - 48px) / 3);
    overflow: hidden;
    background: var(--surface);
}

.service-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

.service-card .card-tag,
.service-card h3,
.service-card p {
    margin-left: 32px;
    margin-right: 32px;
}

.service-card .card-tag {
    margin-top: 28px;
}

.service-card p {
    margin-bottom: 32px;
}

.card-tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(203, 92, 52, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-card h3,
.testimonial-card strong {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.service-card p,
.testimonial-card span,
.benefit-card p {
    margin-top: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}

.split-feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.split-panel {
    padding: 38px;
}

.split-panel-solid {
    background: linear-gradient(135deg, #10231e 0%, #21453b 100%);
    color: var(--white);
}

.split-panel-solid .eyebrow,
.cta .eyebrow {
    color: #ffd4c0;
}

.split-panel-solid p,
.cta p {
    color: rgba(255, 255, 255, 0.82);
}

.split-panel-list {
    display: grid;
    gap: 18px;
    background: var(--white);
}

.highlight-item {
    padding-bottom: 18px;
    border-bottom: 1px solid #ece6dc;
}

.highlight-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.highlight-item h3,
.number-card strong {
    display: block;
    margin: 0 0 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.highlight-item h3 {
    font-size: 1.3rem;
}

.highlight-item p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

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

.number-card {
    padding: 32px;
    background: var(--white);
}

.number-card strong {
    color: var(--accent);
    font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.number-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

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

.benefit-card {
    padding: 28px;
    background: linear-gradient(180deg, #fff9f0 0%, #f5eadc 100%);
}

.benefit-number {
    display: block;
    margin-bottom: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 800;
}

.cta {
    padding-top: 20px;
    background:
        radial-gradient(circle at top right, rgba(203, 92, 52, 0.34), transparent 24%),
        linear-gradient(135deg, #0d1c18 0%, #17332c 55%, #20453c 100%) !important;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.cta-copy {
    max-width: 720px;
}

.cta-copy p {
    margin: 0;
    line-height: 1.8;
}

.testimonial-card {
    min-width: calc((100% - 24px) / 2);
    padding: 34px;
    background: var(--white);
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    padding: 34px;
    background: var(--white);
}

.contact-info {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-box {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.map-box {
    margin-top: 32px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-box iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1fa855;
    color: #fff;
    box-shadow: 0 18px 40px rgba(31, 168, 85, 0.32);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #dfd4c5;
    border-radius: 18px;
    outline: none;
    font: inherit;
    color: var(--text);
    background: #fffcf7;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(203, 92, 52, 0.12);
}

@media (max-width: 980px) {
    .service-card {
        min-width: calc((100% - 24px) / 2);
    }

    .split-feature,
    .number-grid,
    .benefit-grid,
    .about-grid,
    .contact-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

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

    .cta-box {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 84px 0;
    }

    .topbar {
        position: relative;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .topbar-contacts,
    .topbar-socials {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 24px;
        background: rgba(12, 29, 25, 0.95);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    }

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

    .service-card,
    .testimonial-card,
    .number-card,
    .split-panel {
        min-width: 100%;
    }

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

    .carousel-control {
        display: none;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero-actions,
    .cta-box {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .benefit-grid,
    .number-grid {
        grid-template-columns: 1fr;
    }

    .split-panel,
    .contact-form,
    .cta-box {
        padding: 26px;
    }

    .service-card .card-tag,
    .service-card h3,
    .service-card p {
        margin-left: 26px;
        margin-right: 26px;
    }

    .service-card p {
        margin-bottom: 26px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
    }

    .service-card .card-tag,
    .service-card h3,
    .service-card p {
        margin-left: 24px;
        margin-right: 24px;
    }

    .service-card p {
        margin-bottom: 24px;
    }

    .testimonial-card,
    .benefit-card,
    .number-card,
    .split-panel,
    .contact-form {
        padding: 24px;
    }
}

.saas-body main .section:nth-of-type(odd) {
    background: #fffdf9;
}

.saas-body main .section:nth-of-type(even) {
    background: #f7efe5;
}

.saas-hero {
    background:
        linear-gradient(135deg, rgba(10, 28, 24, 0.92), rgba(16, 52, 45, 0.66)),
        radial-gradient(circle at right top, rgba(203, 92, 52, 0.45), transparent 22%),
        var(--hero-background-image, none) center/cover no-repeat,
        #10231e;
}

.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 460px);
    gap: 30px;
    align-items: center;
}

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

.hero-copy h1 {
    max-width: 14ch;
}

.hero-art {
    display: flex;
    justify-content: center;
    align-items: end;
}

.hero-art img {
    max-height: 620px;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

.feature-checks {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.feature-checks span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.feature-checks span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
}

.onboarding-info {
    padding-top: 0;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.onboarding-card {
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.onboarding-card h3,
.onboarding-card p {
    margin: 0;
}

.onboarding-card h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.onboarding-card p {
    color: var(--text-soft);
    line-height: 1.75;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: none;
    margin-top: 28px;
}

.pricing-grid-count-1 {
    grid-template-columns: minmax(0, min(520px, 100%));
    justify-content: center;
}

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

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

.pricing-carousel {
    align-items: stretch;
    margin-top: 28px;
}

.pricing-track {
    align-items: stretch;
}

.pricing-track .pricing-card {
    min-width: calc((100% - 44px) / 3);
}

.pricing-card {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.pricing-card.is-featured {
    background: linear-gradient(180deg, #132a24 0%, #18362e 100%);
    color: #fff;
    transform: translateY(-8px);
}

.pricing-card h3,
.pricing-card p,
.pricing-card strong {
    margin: 0;
}

.pricing-card p {
    color: inherit;
    opacity: 0.86;
    line-height: 1.7;
}

.pricing-card strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
}

.pricing-card strong small {
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

.product-showcase {
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.showcase-card {
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.showcase-card-large {
    grid-template-rows: auto 1fr;
}

.showcase-copy h3,
.showcase-copy p {
    margin: 0;
}

.showcase-copy h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.showcase-copy p {
    color: var(--text-soft);
    line-height: 1.75;
}

.showcase-card img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #eadfce;
    box-shadow: 0 16px 40px rgba(30, 20, 14, 0.12);
    object-fit: cover;
}

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

.testimonial-card {
    display: grid;
    gap: 14px;
    padding: 28px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.testimonial-card p,
.testimonial-card strong,
.testimonial-card span {
    margin: 0;
}

.testimonial-card p {
    line-height: 1.8;
}

.testimonial-card span {
    color: var(--text-soft);
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 36px;
    border-radius: 32px;
    background: linear-gradient(135deg, #132a24 0%, #1a3a31 100%);
    color: #fff;
}

.cta-panel h2,
.cta-panel p {
    margin: 0;
}

.cta-panel p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.cta-note {
    max-width: 720px;
    font-size: 0.96rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-secondary-dark {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.site-footer-dark {
    padding: 28px 0 40px;
    background: #0f1d19;
    color: rgba(255, 255, 255, 0.86);
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero-split,
    .onboarding-grid,
    .pricing-grid,
    .showcase-grid,
    .testimonial-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero-art {
        order: -1;
    }

    .pricing-grid {
        max-width: none;
    }

    .pricing-track .pricing-card {
        min-width: calc((100% - 22px) / 2);
    }
}

@media (max-width: 760px) {
    .saas-benefits {
        grid-template-columns: 1fr;
    }

    .hero-art img {
        max-height: 420px;
    }

    .pricing-carousel {
        display: block;
    }

    .pricing-carousel .carousel-viewport {
        overflow: visible;
    }

    .pricing-track {
        display: grid;
        gap: 18px;
        transform: none !important;
    }

    .pricing-track .pricing-card {
        min-width: 100%;
    }
}
