:root {
    --brand-dark: #0b1c46;
    --brand-dark-2: #10245a;
    --brand-deep: #071230;
    --brand-accent: #2563eb;
    --brand-tint: #eff6ff;
    --brand-wash: #f6f9ff;
    --cta: #d64000;
    --cta-dark: #9a3412;
    --wa: #25d366;
    --wa-dark: #1daa61;
    --ink: #0b1220;
    --text: #41495a;
    --muted: #5f6b80;
    --border: #e7ecf6;
    --border-strong: #dce7f7;
    --white: #fff;
    --fs-xs: 12px;
    --fs-sm: 13px;
    --fs-base: 15px;
    --fs-md: 16px;
    --fs-lg: 18px;
    --fs-h2: clamp(28px, 3.4vw, 42px);
    --fs-h1: clamp(32px, 4.2vw, 52px);
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-pill: 999px;
    --shadow-card: 0 24px 70px rgba(11, 28, 70, .13);
    --z-float: 90;
    --z-sticky: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body.page-services-index {
    font-family: Inter, Poppins, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: var(--fs-base);
}

h1, h2, h3 { font-family: Inter, Poppins, Arial, sans-serif; color: var(--ink); }

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

button { font: inherit; cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.container { width: min(1280px, 92%); margin: auto; }

.ic {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: var(--fs-base);
    border: 0;
    transition: .25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--cta);
    color: #fff;
    box-shadow: 0 12px 28px rgba(214, 64, 0, .22);
}

.btn-primary:hover { background: var(--cta-dark); transform: translateY(-1px); }

.btn-outline {
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--brand-dark);
}

.btn-outline:hover { border-color: #b7c8e8; background: var(--brand-wash); }

.btn-whatsapp { background: var(--wa); color: #071a0d; }
.btn-whatsapp:hover { background: var(--wa-dark); }

.si-kicker {
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-accent);
    display: block;
    margin-bottom: 10px;
}

.si-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.si-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}

.si-b1 { width: 560px; height: 560px; background: #bfdbfe; top: -260px; left: -180px; animation: si-drift 22s ease-in-out infinite; }
.si-b2 { width: 460px; height: 460px; background: #dbeafe; top: -120px; right: -160px; animation: si-drift 26s ease-in-out infinite reverse; }
.si-b3 { width: 340px; height: 340px; background: #e0e7ff; top: 220px; left: 38%; animation: si-drift 30s ease-in-out infinite; }

@keyframes si-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 28px) scale(1.08); }
}

.si-catalog {
    position: relative;
    overflow: hidden;
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 48%, #fff 100%);
}

.si-catalog > .container { position: relative; z-index: 1; }

.si-page-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.si-page-head h1 {
    font-size: var(--fs-h1);
    line-height: 1.12;
    letter-spacing: -1.2px;
    font-weight: 700;
}

.si-page-head h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand-accent), #5b74ff 55%, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.si-page-head p {
    margin-top: 14px;
    font-size: var(--fs-lg);
    color: var(--muted);
}

.si-catalog-head {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.si-catalog-head h2 {
    font-size: var(--fs-h2);
    line-height: 1.14;
    letter-spacing: -1.1px;
}

.si-catalog-head p { margin-top: 12px; font-size: var(--fs-lg); color: var(--muted); }

.si-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 48px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 40px rgba(11, 28, 70, .06);
    backdrop-filter: blur(12px);
}

.si-filter {
    border: 0;
    background: transparent;
    border-radius: var(--r-pill);
    padding: 9px 16px;
    font-size: var(--fs-sm);
    font-weight: 800;
    color: var(--muted);
}

.si-filter.is-active,
.si-filter:hover {
    background: var(--brand-dark);
    color: #fff;
}

.si-group { margin-bottom: 56px; }

.si-group-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.si-group-head h2 { font-size: 28px; letter-spacing: -.03em; }
.si-group-head p { margin-top: 8px; color: var(--muted); max-width: 640px; }

.si-group-count {
    flex: 0 0 auto;
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #137a45;
    background: #ecfdf3;
    border: 1px solid #c6f0d7;
    border-radius: var(--r-pill);
    padding: 7px 12px;
}

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

.si-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 22px 22px 18px;
    border: 1px solid #e4ecf8;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(247, 250, 255, .95) 0%, #fff 38%);
    box-shadow: 0 12px 32px rgba(11, 28, 70, .05);
    overflow: hidden;
    isolation: isolate;
    counter-increment: si-card;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.si-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #93c5fd 55%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.si-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 219, 254, .55) 0%, rgba(191, 219, 254, 0) 70%);
    right: -90px;
    top: -110px;
    z-index: 0;
    pointer-events: none;
    transition: transform .35s ease;
}

.si-card:hover {
    transform: translateY(-6px);
    border-color: #b7caec;
    box-shadow: 0 24px 50px rgba(11, 28, 70, .1);
}

.si-card:hover::before { opacity: 1; }
.si-card:hover::after { transform: scale(1.18) translate(-12px, 10px); }

.si-card-top,
.si-card-ico,
.si-card-no,
.si-card h3,
.si-card p,
.si-card-link { position: relative; z-index: 1; }

.si-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.si-card-ico {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4ecf8;
    color: var(--brand-accent);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .08);
    transition: .3s ease;
}

.si-card-ico .ic { width: 22px; height: 22px; }

.si-card-no {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #93a4c4;
}

.si-card-no::before { content: counter(si-card, decimal-leading-zero); }

.si-card h3 {
    font-size: 20px;
    line-height: 1.22;
    letter-spacing: -.03em;
    min-height: 2.44em;
    margin-bottom: 10px;
}

.si-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.si-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eef2f8;
    color: var(--brand-accent);
    font-size: var(--fs-sm);
    font-weight: 800;
}

.si-card-link .ic {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

.si-card:hover .si-card-ico {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
}

.si-card:hover .si-card-link .ic { transform: translateX(4px); }

.si-process { padding: 56px 0 80px; background: var(--brand-wash); }

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

.si-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 18px;
    min-height: 180px;
    overflow: hidden;
}

.si-step-num {
    display: block;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: #eef3fb;
    margin-bottom: 10px;
}

.si-step h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.si-step p { font-size: var(--fs-sm); color: var(--muted); }

.si-closing { padding: 20px 0 88px; background: #fff; }

.si-closing-panel {
    border-radius: 28px;
    background: linear-gradient(135deg, #0b1c46, #173a8b 70%, #1f4fb7);
    padding: 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.si-closing-panel::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    right: -120px;
    top: -180px;
}

.si-closing-copy { position: relative; z-index: 1; max-width: 640px; }
.si-closing-copy h2 { font-size: var(--fs-h2); color: #fff; line-height: 1.12; }
.si-closing-copy p { margin-top: 12px; font-size: var(--fs-lg); color: #c6d3eb; }

.si-closing-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: var(--z-float);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--wa);
    color: #071a0d;
    box-shadow: 0 14px 32px rgba(16, 90, 47, .28);
}

.floating-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

.sticky-mobile-cta { display: none; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .si-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .si-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .si-group-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .si-closing-panel { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}

@media (max-width: 640px) {
    .si-catalog { padding: 36px 0 32px; }
    .si-filters { border-radius: 18px; }
    .si-grid,
    .si-steps { grid-template-columns: 1fr; }
    .si-card { min-height: 0; }
    .si-card h3 { min-height: 0; }
    .si-closing-actions { width: 100%; }
    .si-closing-actions .btn { flex: 1; }
    .floating-whatsapp { display: none; }
    .sticky-mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: var(--z-sticky);
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -12px 30px rgba(11, 28, 70, .12);
    }
    .sticky-mobile-cta a {
        padding: 14px;
        text-align: center;
        font-weight: 800;
        color: #fff;
    }
    .sticky-mobile-cta a:first-child { background: var(--cta); }
    .sticky-mobile-cta a:last-child { background: var(--wa); color: #071a0d; }
    body.page-services-index { padding-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .si-blob,
    .reveal,
    .si-card { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .si-card:hover { transform: none; }
}
