:root {
    --bg-main: #f4f7f9;
    --bg-elevated: #ffffff;
    --bg-soft: #e8eef3;
    --ink: #0f1f2f;
    --ink-muted: #42566d;
    --brand: #0f5d91;
    --brand-deep: #0a4368;
    --brand-aqua: #11a89b;
    --accent: #f28f3b;
    --line: #d4dde7;
    --success: #2e8b57;
    --danger: #b83232;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 16px 40px rgba(12, 43, 69, 0.12);
    --shadow-card: 0 10px 24px rgba(14, 42, 63, 0.1);
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(17, 168, 155, 0.14), transparent 44%),
        radial-gradient(circle at 94% 2%, rgba(15, 93, 145, 0.15), transparent 40%),
        linear-gradient(180deg, #f5f8fb 0%, #f2f6fa 45%, #edf3f7 100%);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    background: #fff;
    color: var(--brand-deep);
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 1000;
}

.skip-link:focus {
    left: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(10px);
    background: rgba(244, 247, 249, 0.9);
    border-bottom: 1px solid rgba(157, 179, 198, 0.42);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(17, 168, 155, 0), rgba(17, 168, 155, 0.55), rgba(15, 93, 145, 0));
}

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

.brand {
    font-family: 'Space Grotesk', 'Avenir Next', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--ink-muted);
    padding: 8px 12px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--brand-deep);
    background: rgba(15, 93, 145, 0.08);
    border-color: rgba(15, 93, 145, 0.16);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 9px 16px;
    font-size: .86rem;
}

.btn-md {
    padding: 12px 20px;
    font-size: .95rem;
}

.btn-primary {
    background: linear-gradient(130deg, var(--brand) 0%, var(--brand-aqua) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 93, 145, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(15, 93, 145, 0.35);
}

.btn-outline {
    border-color: var(--line);
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    border-color: var(--brand);
    background: rgba(15, 93, 145, 0.1);
}

.btn-plain {
    color: var(--brand-deep);
    text-decoration: none;
    font-weight: 700;
}

.hero {
    padding: 78px 0 42px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: min(620px, 85vw);
    height: 220px;
    left: 50%;
    top: -36px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(15, 93, 145, 0.1), rgba(15, 93, 145, 0));
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(17, 168, 155, 0.14);
    color: #0c6f67;
    padding: 7px 14px;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .02em;
}

.hero h1,
.section-title,
.page-title,
.article-title {
    font-family: 'Space Grotesk', 'Avenir Next', sans-serif;
    letter-spacing: -0.035em;
    margin: 12px 0 14px;
    line-height: 1.08;
}

.hero h1 {
    font-size: clamp(2.15rem, 4.9vw, 3.7rem);
}

.highlight {
    color: var(--brand);
}

.hero-copy {
    color: var(--ink-muted);
    max-width: 64ch;
    font-size: 1.06rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-pill {
    font-size: .82rem;
    color: #35536f;
    background: #ffffffbf;
    border: 1px solid #d9e3ec;
    border-radius: 999px;
    padding: 7px 12px;
}

.signal-panel {
    background: linear-gradient(165deg, #0f2842 0%, #0a3c61 56%, #0e5876 100%);
    border-radius: var(--radius-lg);
    padding: 22px;
    color: #eaf4ff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.signal-panel::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -30px;
    background: radial-gradient(circle, rgba(242, 143, 59, 0.45) 0%, rgba(242, 143, 59, 0) 70%);
}

.signal-panel h2 {
    margin: 0 0 14px;
    font-size: 1.3rem;
}

.flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.flow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .92rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
}

.flow-badge {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #0f2842;
    background: #f8d9b9;
    border-radius: 999px;
    padding: 3px 8px;
}

.metrics-strip {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.metric-card {
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    padding: 16px;
    box-shadow: var(--shadow-card);
}

.metric-value {
    font-size: 1.65rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--brand-deep);
    line-height: 1;
}

.metric-label {
    color: var(--ink-muted);
    font-size: .85rem;
    margin-top: 6px;
}

.trust-strip {
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 8px;
    align-items: center;
}

.trust-strip-title {
    font-size: .82rem;
    font-weight: 700;
    color: #4a6178;
}

.logo-chip {
    text-align: center;
    background: #fff;
    border: 1px solid #dde6ef;
    border-radius: 10px;
    padding: 9px 8px;
    font-size: .82rem;
    font-weight: 700;
    color: #49647d;
}

.section {
    padding: 70px 0;
}

.section-title {
    font-size: clamp(1.85rem, 3.8vw, 2.8rem);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--ink-muted);
    margin: 0 0 28px;
    max-width: 72ch;
}

.surface {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 16px;
}

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

.card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: #bfd3e7;
    box-shadow: 0 14px 30px rgba(14, 42, 63, 0.14);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-family: 'Space Grotesk', sans-serif;
}

.card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: .95rem;
}

.problem-card {
    border-left: 4px solid var(--accent);
}

.solution-banner {
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(130deg, rgba(17, 168, 155, 0.15), rgba(15, 93, 145, 0.14));
    border: 1px solid rgba(15, 93, 145, 0.22);
}

.solution-banner p {
    margin: 0;
    color: #27445d;
}

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

.timeline-step {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    position: relative;
}

.timeline-step::before {
    content: attr(data-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-aqua) 100%);
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
}

.timeline-step h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-step p {
    margin: 0;
    color: var(--ink-muted);
}

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

.case-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}

.case-kpi {
    display: inline-flex;
    align-items: center;
    background: rgba(46, 139, 87, 0.12);
    color: #23683f;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .8rem;
    margin-bottom: 10px;
}

.case-card h3 {
    margin: 0 0 8px;
    font-size: 1.07rem;
    font-family: 'Space Grotesk', sans-serif;
}

.case-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: .93rem;
}

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

.sector-card {
    border: 1px solid #cfdceb;
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.sector-card h3 {
    margin: 0 0 8px;
    font-size: 1.04rem;
    font-family: 'Space Grotesk', sans-serif;
}

.sector-card ul {
    margin: 0;
    padding-left: 18px;
    color: #3f5971;
    font-size: .9rem;
}

.roi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.roi-form {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.field {
    margin-bottom: 12px;
}

.field label {
    display: block;
    font-weight: 700;
    font-size: .84rem;
    margin-bottom: 6px;
    color: #27435c;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #cfd9e3;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-step-btn:focus,
.btn:focus,
.faq-trigger:focus {
    outline: 3px solid rgba(17, 168, 155, 0.22);
    outline-offset: 2px;
}

.roi-result {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #bed4e7;
    background: linear-gradient(160deg, #f5fbff 0%, #ebf6ff 100%);
    display: grid;
    gap: 10px;
}

.roi-result-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1;
}

.roi-result small {
    color: #42607a;
}

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

.blog-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.blog-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 8px;
    font-size: 1.01rem;
}

.blog-card p,
.blog-card-meta {
    color: var(--ink-muted);
    font-size: .88rem;
}

.blog-loading {
    color: var(--ink-muted);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    font: inherit;
    font-weight: 700;
    color: #1b3349;
    cursor: pointer;
    padding: 14px 16px;
}

.faq-body {
    border-top: 1px solid #dde7f1;
    color: var(--ink-muted);
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .24s ease, padding .24s ease;
}

.faq-item.active .faq-body {
    max-height: 220px;
    padding: 12px 16px 14px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform .2s ease;
    color: var(--brand);
}

.form-shell {
    background: #fff;
    border: 1px solid #cbdae9;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.progress-dot {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #d8e4ef;
}

.progress-dot.active {
    background: linear-gradient(120deg, var(--brand), var(--brand-aqua));
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 12px;
}

.form-step-btn {
    border: 1px solid #c5d4e3;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-deep);
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-step-btn.primary {
    background: linear-gradient(120deg, var(--brand), var(--brand-aqua));
    color: #fff;
    border: 0;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .83rem;
    color: #44617c;
    margin-top: 8px;
}

.form-feedback {
    display: none;
    border-radius: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    font-weight: 700;
    font-size: .9rem;
}

.form-feedback.success {
    display: block;
    background: #def5e6;
    color: #165030;
}

.form-feedback.error {
    display: block;
    background: #fbe5e5;
    color: #7e1f1f;
}

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

.page-hero {
    padding: 62px 0 24px;
}

.page-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    margin: 10px 0;
}

.page-intro {
    color: var(--ink-muted);
    max-width: 72ch;
    margin: 0;
}

.pill-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    border: 1px solid #d5e1ec;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .82rem;
    font-weight: 700;
    color: #3e5d78;
}

.breadcrumbs {
    font-size: .82rem;
    color: #52708a;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: var(--brand);
    text-decoration: none;
}

.article-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
}

.article-meta {
    color: #4f6a83;
    font-size: .84rem;
    margin-bottom: 8px;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0;
}

.article-excerpt {
    color: var(--ink-muted);
    font-size: 1.07rem;
    margin-top: 0;
}

.article-content {
    line-height: 1.8;
}

.article-content h2,
.article-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.25;
    margin: 28px 0 12px;
}

.article-content p,
.article-content li {
    color: #23384e;
}

.article-content a {
    color: var(--brand);
    font-weight: 700;
}

.tag-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    border: 1px solid #d3dfee;
    border-radius: 999px;
    background: #f5f9ff;
    color: #36506a;
    padding: 4px 10px;
    font-size: .76rem;
    font-weight: 700;
}

.footer {
    padding: 34px 0;
    margin-top: 40px;
    border-top: 1px solid #cfdceb;
    color: #415b73;
    font-size: .87rem;
}

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

.has-motion main section {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}

.has-motion main section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #23c060;
    box-shadow: 0 12px 24px rgba(35, 192, 96, 0.4);
    z-index: 70;
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .hero-grid,
    .roi-wrap,
    .grid-3,
    .grid-4,
    .case-grid,
    .sector-grid,
    .timeline,
    .blog-spotlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip-title {
        grid-column: 1 / -1;
    }
}

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

    .nav-row {
        min-height: 74px;
    }

    .nav-links {
        justify-content: flex-end;
    }

    .hero {
        padding-top: 46px;
    }

    .hero-grid,
    .metrics-strip,
    .roi-wrap,
    .grid-2,
    .grid-3,
    .grid-4,
    .timeline,
    .case-grid,
    .sector-grid,
    .blog-spotlight-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .card,
    .floating-whatsapp,
    .faq-body,
    .faq-chevron,
    .nav-link {
        transition: none !important;
    }

    .has-motion main section {
        opacity: 1;
        transform: none;
    }
}
