@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-alt: #eef4fb;
    --text: #152238;
    --muted: #5b6b82;
    --border: rgba(18, 37, 63, 0.1);
    --navy: #0d1b3d;
    --navy-soft: #17306b;
    --blue: #0e78ff;
    --blue-bright: #48b6ff;
    --cyan: #8be7ff;
    --success: #0a8f5b;
    --warning: #ef9e11;
    --danger: #d14343;
    --shadow: 0 20px 55px rgba(13, 27, 61, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(72, 182, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(14, 120, 255, 0.12), transparent 30%),
        var(--bg);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

.section {
    padding: 88px 0;
}

.section-tight {
    padding: 64px 0;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(14, 120, 255, 0.1);
    color: var(--navy-soft);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(13, 27, 61, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 800;
    color: var(--navy);
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(340px, 56vw);
    height: 60px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    box-shadow: none;
}

.brand-meta small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--navy);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 72px;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
}

.hero::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(14, 120, 255, 0.24), transparent 65%);
}

.hero::after {
    width: 320px;
    height: 320px;
    left: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(72, 182, 255, 0.2), transparent 62%);
}

.hero-grid,
.split-grid,
.cards-grid,
.metrics-grid,
.form-grid,
.dashboard-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.hero-copy p {
    font-size: 1.1rem;
    max-width: 720px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(14, 120, 255, 0.22);
}

.button-secondary {
    background: var(--surface);
    color: var(--navy);
    border-color: var(--border);
}

.button-dark {
    background: var(--navy);
    color: #fff;
}

.button-whatsapp {
    background: #1fae66;
    color: #fff;
}

.hero-panel,
.card,
.table-wrap,
.auth-card,
.sidebar,
.panel {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 37, 63, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 2rem;
}

.hero-stat {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.hero-stat strong,
.metric-card strong {
    display: block;
    font-size: 1.6rem;
    color: var(--navy);
}

.hero-list,
.list-clean {
    list-style: none;
    padding: 0;
}

.hero-list li,
.list-clean li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.95rem;
    color: var(--text);
}

.hero-list li::before,
.tick::before {
    content: '?';
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
}

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

.card {
    padding: 1.6rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(13, 27, 61, 0.08), rgba(72, 182, 255, 0.18));
    color: var(--navy);
    font-weight: 800;
}

.surface-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 251, 0.94));
}

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

.metric-card {
    padding: 1.4rem;
}

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

.process-step {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 37, 63, 0.08);
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    font-weight: 800;
}

.accordion-item {
    border-bottom: 1px solid rgba(18, 37, 63, 0.08);
}

.accordion-button {
    width: 100%;
    padding: 1.1rem 0;
    background: none;
    border: 0;
    text-align: left;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
}

.accordion-panel {
    display: none;
    padding: 0 0 1rem;
}

.accordion-item.is-open .accordion-panel {
    display: block;
}

.cta-strip {
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    box-shadow: 0 24px 45px rgba(13, 27, 61, 0.18);
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.82);
}

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

.field,
textarea,
select,
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='url'],
input[type='file'] {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
}

input,
textarea,
select {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(18, 37, 63, 0.12);
    background: #fff;
    color: var(--text);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.field-group {
    margin-bottom: 1rem;
}

.field-span-2 {
    grid-column: span 2;
}

.form-help,
small.muted {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.error-list {
    margin: 0.45rem 0 0;
    padding-left: 1rem;
    color: var(--danger);
    font-size: 0.9rem;
}

.alert-stack {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.alert {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    font-weight: 700;
}

.alert-success {
    background: rgba(10, 143, 91, 0.12);
    color: var(--success);
}

.alert-error {
    background: rgba(209, 67, 67, 0.12);
    color: var(--danger);
}

.footer {
    padding: 64px 0 28px;
    border-top: 1px solid rgba(18, 37, 63, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 1.25rem;
}

.footer-links a {
    display: block;
    padding: 0.3rem 0;
    color: var(--muted);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(18, 37, 63, 0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.auth-card {
    width: min(540px, calc(100% - 2rem));
    padding: 2rem;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1.5rem;
    border-radius: 0;
    border-right: 1px solid rgba(18, 37, 63, 0.08);
    box-shadow: none;
}

.sidebar nav {
    display: grid;
    gap: 0.4rem;
    margin-top: 2rem;
}

.sidebar nav a,
.sidebar nav form button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: var(--muted);
    font-weight: 700;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}

.sidebar nav a:hover,
.sidebar nav a.is-active,
.sidebar nav form button:hover {
    color: var(--navy);
    background: rgba(14, 120, 255, 0.08);
}

.sidebar-group {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-content {
    padding: 1.5rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.panel {
    padding: 1.4rem;
}

.table-wrap {
    overflow: auto;
    padding: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(18, 37, 63, 0.08);
    text-align: left;
    vertical-align: top;
}

.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.badge-success {
    background: rgba(10, 143, 91, 0.12);
    color: var(--success);
}

.badge-warning {
    background: rgba(239, 158, 17, 0.12);
    color: #9b6500;
}

.badge-danger {
    background: rgba(209, 67, 67, 0.12);
    color: var(--danger);
}

.badge-info {
    background: rgba(14, 120, 255, 0.12);
    color: var(--blue);
}

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

.kpi-card {
    padding: 1.4rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(238,244,251,0.94));
    border: 1px solid rgba(18, 37, 63, 0.08);
}

.kpi-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 2rem;
    color: var(--navy);
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
}

.floating-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: #1fae66;
    color: #fff;
    box-shadow: 0 20px 40px rgba(31, 174, 102, 0.28);
    font-weight: 800;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    list-style: none;
}

.pill-list li {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(14, 120, 255, 0.08);
    color: var(--navy-soft);
    font-weight: 700;
}

@media (max-width: 1100px) {
    .cards-grid,
    .metrics-grid,
    .process-grid,
    .footer-grid,
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        border-radius: 0 0 var(--radius) var(--radius);
    }
}

@media (max-width: 860px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.is-open,
    .nav-actions.is-open {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1rem;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 1rem 0;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .cards-grid,
    .metrics-grid,
    .process-grid,
    .footer-grid,
    .form-grid,
    .help-grid,
    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .field-span-2 {
        grid-column: auto;
    }

    .hero-stat {
        grid-template-columns: 1fr;
    }
}

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

    .dashboard-content,
    .sidebar,
    .auth-card,
    .card,
    .panel,
    .hero-panel {
        padding: 1.2rem;
    }

    .button-row,
    .inline-actions,
    .inline-form {
        flex-direction: column;
        align-items: stretch;
    }
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(340px, 56vw);
    height: 60px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    box-shadow: none;
}

.footer .brand-logo {
    max-width: 280px;
}

.sidebar .brand-logo {
    max-width: 230px;
    height: 44px;
}

.auth-card .brand-logo {
    max-width: min(340px, 78vw);
    height: 64px;
}

.logo-caption {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .brand-logo {
        max-width: min(240px, 64vw);
        height: 46px;
    }
}




.site-shell {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 255, 0.98) 38%, rgba(238, 245, 255, 0.98) 100%),
        linear-gradient(90deg, rgba(39, 180, 246, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(10, 99, 216, 0.04) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px;
}

.site-shell::before,
.site-shell::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
}

.site-shell::before {
    top: -7rem;
    right: -10rem;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(39, 180, 246, 0.24), transparent 62%);
    animation: brandFloat 18s ease-in-out infinite;
}

.site-shell::after {
    left: -8rem;
    bottom: 10rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(10, 99, 216, 0.16), transparent 68%);
    animation: brandFloat 16s ease-in-out infinite reverse;
}

.site-shell .header,
.site-shell main,
.site-shell .footer {
    position: relative;
    z-index: 1;
}

.site-shell .header {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(8, 30, 66, 0.08);
}

.site-shell .brand {
    transition: transform 0.35s ease;
}

.site-shell .brand:hover {
    transform: translateY(-1px);
}

.site-shell .nav-links a {
    position: relative;
    padding-bottom: 0.35rem;
}

.site-shell .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #27b4f6, #0a63d8, #0b2a59);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.site-shell .nav-links a:hover::after,
.site-shell .nav-links a.is-active::after {
    transform: scaleX(1);
}

.site-shell .hero {
    padding: 118px 0 96px;
    background:
        radial-gradient(circle at 8% 0%, rgba(39, 180, 246, 0.22), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(10, 99, 216, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.82));
}

.site-shell .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
    gap: 2rem;
}

.site-shell .hero::before {
    width: 32rem;
    height: 32rem;
    top: -10rem;
    right: -8rem;
    background: radial-gradient(circle, rgba(39, 180, 246, 0.34), transparent 62%);
    filter: blur(10px);
    animation: brandFloat 17s ease-in-out infinite;
}

.site-shell .hero::after {
    width: 26rem;
    height: 26rem;
    left: -6rem;
    bottom: -7rem;
    background: radial-gradient(circle, rgba(10, 99, 216, 0.22), transparent 64%);
    filter: blur(10px);
    animation: brandFloat 15s ease-in-out infinite reverse;
}

.site-shell .hero-copy h1 {
    color: #072654;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 28px rgba(8, 30, 66, 0.08);
}

.site-shell .hero-copy p {
    max-width: 640px;
    font-size: 1.12rem;
}

.site-shell .hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: linear-gradient(148deg, #071733 0%, #0b2858 52%, #0a63d8 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 70px rgba(8, 30, 66, 0.22);
}

.site-shell .hero-panel-logo {
    width: min(100%, 320px);
    height: auto;
    margin-bottom: 0.2rem;
    filter: drop-shadow(0 16px 24px rgba(4, 19, 44, 0.28));
}

.site-shell .hero-panel::before {
    content: '';
    position: absolute;
    right: -3rem;
    bottom: -4rem;
    width: 16rem;
    height: 16rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 231, 255, 0.34), transparent 64%);
}

.site-shell .hero-panel::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: calc(var(--radius) - 8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-shell .hero-panel > * {
    position: relative;
    z-index: 1;
}

.site-shell .hero-panel h3,
.site-shell .hero-panel p,
.site-shell .hero-panel li,
.site-shell .hero-stat strong {
    color: #ffffff;
}

.site-shell .hero-panel p {
    color: rgba(255, 255, 255, 0.76);
}

.site-shell .hero-list li::before,
.site-shell .list-clean li::before {
    content: '';
    flex: 0 0 0.8rem;
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.38rem;
    border-radius: 999px 999px 999px 0;
    background: linear-gradient(135deg, #27b4f6, #0a63d8);
    box-shadow: 0 8px 16px rgba(10, 99, 216, 0.18);
}

.site-shell .hero-stat > div {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.site-shell .section-heading {
    position: relative;
    padding-left: 1.2rem;
}

.site-shell .section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #27b4f6, #0a63d8);
}

.site-shell .surface-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(235, 244, 255, 0.96));
    border-top: 1px solid rgba(10, 99, 216, 0.06);
    border-bottom: 1px solid rgba(10, 99, 216, 0.06);
}

.site-shell .card,
.site-shell .metric-card,
.site-shell .process-step,
.site-shell .panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.98));
    border: 1px solid rgba(12, 55, 110, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-shell .card::before,
.site-shell .metric-card::before,
.site-shell .process-step::before,
.site-shell .panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #27b4f6, #0a63d8, #0b2a59);
}

.site-shell .card:hover,
.site-shell .metric-card:hover,
.site-shell .process-step:hover,
.site-shell .panel:hover {
    transform: translateY(-10px);
    border-color: rgba(39, 180, 246, 0.24);
    box-shadow: 0 28px 60px rgba(9, 42, 88, 0.16);
}

.site-shell .card-icon {
    background: linear-gradient(135deg, rgba(39, 180, 246, 0.18), rgba(10, 99, 216, 0.22));
    box-shadow: inset 0 0 0 1px rgba(10, 99, 216, 0.08);
}

.site-shell .pill-list li {
    border: 1px solid rgba(10, 99, 216, 0.12);
    background: rgba(39, 180, 246, 0.11);
    color: #0b2a59;
}

.site-shell .process-step span {
    background: linear-gradient(135deg, #27b4f6, #0a63d8);
    box-shadow: 0 14px 24px rgba(10, 99, 216, 0.18);
}

.site-shell .accordion-button {
    position: relative;
    padding-right: 2rem;
}

.site-shell .accordion-button::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0a63d8;
    font-size: 1.15rem;
    transition: transform 0.24s ease;
}

.site-shell .accordion-item.is-open .accordion-button::after {
    transform: translateY(-50%) rotate(45deg);
}

.site-shell .button-primary {
    background: linear-gradient(135deg, #0b2a59 0%, #0a63d8 55%, #27b4f6 100%);
    box-shadow: 0 22px 34px rgba(10, 99, 216, 0.22);
}

.site-shell .button-secondary {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(10, 99, 216, 0.12);
}

.site-shell .cta-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071a38 0%, #0a63d8 50%, #27b4f6 100%);
}

.site-shell .cta-strip::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    animation: shineSweep 6s linear infinite;
}

.site-shell .footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.94));
}

.site-shell .floating-whatsapp a {
    box-shadow: 0 24px 46px rgba(31, 174, 102, 0.28);
}

.site-shell .reveal-item {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-shell .reveal-item.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes brandFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 16px, 0) scale(1.04);
    }
}

@keyframes shineSweep {
    0% {
        transform: translateX(0) skewX(-20deg);
    }

    100% {
        transform: translateX(420%) skewX(-20deg);
    }
}

@media (max-width: 860px) {
    .site-shell .hero {
        padding: 96px 0 72px;
    }

    .site-shell .hero-grid {
        grid-template-columns: 1fr;
    }

    .site-shell .hero-copy h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

.site-shell .hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.site-shell .hero-pill-row span,
.site-shell .hero-panel-ribbon span,
.site-shell .brand-ribbon span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-shell .hero-pill-row span::before,
.site-shell .hero-panel-ribbon span::before,
.site-shell .brand-ribbon span::before {
    content: '';
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.75rem;
    border-radius: 999px 999px 999px 0;
    background: linear-gradient(135deg, #8be7ff, #27b4f6 45%, #0a63d8 100%);
    box-shadow: 0 12px 24px rgba(10, 99, 216, 0.2);
}

.site-shell .hero-pill-row span {
    padding: 0.9rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(10, 99, 216, 0.12);
    color: #0b2a59;
    box-shadow: 0 16px 26px rgba(7, 26, 56, 0.08);
    backdrop-filter: blur(12px);
}

.site-shell .hero-pill-row span:hover,
.site-shell .hero-panel-ribbon span:hover,
.site-shell .brand-ribbon span:hover {
    transform: translateY(-4px);
}

.site-shell .hero-panel-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.site-shell .hero-panel-ribbon span {
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.site-shell .brand-ribbon-band {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.site-shell .brand-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0;
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #071a38 0%, #0a63d8 52%, #27b4f6 100%);
    box-shadow: 0 28px 56px rgba(8, 30, 66, 0.18);
}

.site-shell .brand-ribbon span {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

@media (max-width: 860px) {
    .site-shell .hero-pill-row {
        gap: 0.6rem;
    }

    .site-shell .hero-panel-ribbon,
    .site-shell .brand-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-shell .hero-pill-row span,
    .site-shell .hero-panel-ribbon,
    .site-shell .brand-ribbon {
        width: 100%;
    }

    .site-shell .hero-panel-ribbon,
    .site-shell .brand-ribbon {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-shell::before,
    .site-shell::after,
    .site-shell .hero::before,
    .site-shell .hero::after,
    .site-shell .cta-strip::before {
        animation: none;
    }

    .site-shell .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-shell .card,
    .site-shell .metric-card,
    .site-shell .process-step,
    .site-shell .panel,
    .site-shell .hero-pill-row span,
    .site-shell .hero-panel-ribbon span,
    .site-shell .brand-ribbon span,
    .site-shell .brand {
        transition: none;
    }
}

.map-embed {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(12, 55, 110, 0.1);
    background: linear-gradient(180deg, rgba(235, 244, 255, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 22px 44px rgba(8, 30, 66, 0.12);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.social-link-list a {
    font-weight: 700;
    color: var(--navy);
}

.site-shell .map-embed {
    position: relative;
}

.site-shell .map-embed::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-grid > *,
.split-grid > *,
.cards-grid > *,
.metrics-grid > *,
.process-grid > *,
.form-grid > *,
.footer-grid > * {
    min-width: 0;
}

.split-grid-main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-grid-contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

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

.split-grid-cta {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.split-align-start {
    align-items: start;
}

.split-align-center {
    align-items: center;
}

.cards-grid-single {
    grid-template-columns: 1fr;
}

.button-row-end {
    justify-content: flex-end;
}

.panel-soft {
    background: var(--surface-alt);
}

.panel-top-gap {
    margin-top: 1.5rem;
}

.panel-top-gap-xs {
    margin-top: 1rem;
}

.panel-bottom-gap {
    margin-bottom: 1rem;
}

.panel-bottom-gap-lg {
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
    display: inline-flex;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 100%;
    padding: 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(10, 99, 216, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.98));
    box-shadow: 0 18px 34px rgba(8, 30, 66, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.social-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #27b4f6, #0a63d8, #0b2a59);
}

.social-card:hover {
    transform: translateY(-6px);
    border-color: rgba(39, 180, 246, 0.28);
    box-shadow: 0 24px 44px rgba(8, 30, 66, 0.14);
}

.social-card strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.social-card p {
    margin-bottom: 0;
}

.social-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(39, 180, 246, 0.12);
    color: var(--navy-soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 99, 216, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-weight: 800;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.social-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 180, 246, 0.28);
    box-shadow: 0 14px 24px rgba(8, 30, 66, 0.12);
}

@media (max-width: 1100px) {
    .split-grid-main,
    .split-grid-contact,
    .split-grid-equal,
    .split-grid-cta,
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .split-grid-main,
    .split-grid-contact,
    .split-grid-equal,
    .split-grid-cta,
    .button-row-end {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .button,
    button.button,
    .social-chip,
    .floating-whatsapp a {
        width: 100%;
    }

    .floating-whatsapp {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .floating-whatsapp a {
        justify-content: center;
    }

    .map-embed iframe {
        height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-card,
    .social-chip {
        transition: none;
    }
}



.chatbot-widget {
    position: fixed;
    right: 20px;
    bottom: 96px;
    z-index: 39;
    display: grid;
    gap: 0.9rem;
    justify-items: end;
    max-width: min(360px, calc(100vw - 24px));
}

.chatbot-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: default;
    z-index: 0;
}

.chatbot-toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 58px;
    padding: 0.7rem 0.95rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #071a38 0%, #0a63d8 52%, #27b4f6 100%);
    color: #fff;
    box-shadow: 0 22px 42px rgba(8, 30, 66, 0.22);
    cursor: pointer;
}

.chatbot-toggle-mark,
.chatbot-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.chatbot-toggle-mark {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.chatbot-toggle-copy {
    display: grid;
    text-align: left;
}

.chatbot-toggle-copy strong,
.chatbot-toggle-copy small {
    color: #fff;
}

.chatbot-toggle-copy strong {
    font-size: 1rem;
}

.chatbot-toggle-copy small {
    font-size: 0.88rem;
    opacity: 0.76;
}

.chatbot-panel {
    width: min(360px, calc(100vw - 24px));
    max-height: min(72vh, 640px);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    border-radius: 28px;
    border: 1px solid rgba(10, 99, 216, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 32px 62px rgba(8, 30, 66, 0.2);
    overflow: hidden;
}

.chatbot-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.15rem 0.9rem;
    background: linear-gradient(135deg, rgba(7, 26, 56, 0.98), rgba(10, 99, 216, 0.94));
    color: #fff;
}

.chatbot-header p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.chatbot-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    flex: 0 0 auto;
}

.chatbot-messages {
    flex: 1 1 auto;
    min-height: 160px;
    padding: 1rem 1rem 0.2rem;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 248, 255, 0.98));
}

.chatbot-message {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.chatbot-message.is-user {
    justify-content: flex-end;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: linear-gradient(135deg, #0a63d8, #27b4f6);
    color: #fff;
    font-size: 0.82rem;
}

.chatbot-message.is-user .chatbot-avatar {
    background: linear-gradient(135deg, #0b2a59, #0a63d8);
}

.chatbot-bubble {
    max-width: calc(100% - 48px);
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(10, 99, 216, 0.08);
    box-shadow: 0 14px 28px rgba(8, 30, 66, 0.08);
}

.chatbot-message.is-user .chatbot-bubble {
    background: linear-gradient(135deg, #0b2a59, #0a63d8);
    color: #fff;
}

.chatbot-message.is-user .chatbot-bubble p {
    color: rgba(255, 255, 255, 0.9);
}

.chatbot-bubble strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--navy);
}

.chatbot-bubble p {
    margin-bottom: 0.5rem;
}

.chatbot-bubble p:last-child {
    margin-bottom: 0;
}

.chatbot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.chatbot-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(39, 180, 246, 0.12);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.9rem 1rem 0;
    overflow-y: auto;
}

.chatbot-suggestion {
    border: 1px solid rgba(10, 99, 216, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
}

.chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 1rem;
}

.chatbot-form input {
    min-width: 0;
}

.chatbot-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.chatbot-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(10, 99, 216, 0.34);
    animation: chatbotPulse 1.2s ease-in-out infinite;
}

.chatbot-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.chatbot-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatbotPulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .chatbot-widget {
        left: 12px;
        right: 12px;
        bottom: 84px;
        justify-items: stretch;
        max-width: none;
    }

    .chatbot-toggle,
    .chatbot-panel,
    .chatbot-suggestion,
    .chatbot-link {
        width: 100%;
    }

    .chatbot-form {
        grid-template-columns: 1fr;
    }

    .chatbot-messages {
        min-height: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-toggle,
    .chatbot-panel,
    .chatbot-bubble,
    .chatbot-link,
    .chatbot-suggestion,
    .chatbot-dots span {
        transition: none;
        animation: none;
    }
}





/* Compact chatbot rebuild */
.chatbot-widget {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 39;
    display: grid;
    gap: 0.65rem;
    justify-items: end;
    width: auto;
    max-width: calc(100vw - 24px);
}

.chatbot-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 54px;
    padding: 0.65rem 0.9rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #071a38 0%, #0a63d8 58%, #27b4f6 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(8, 30, 66, 0.18);
}

.chatbot-toggle-mark {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chatbot-toggle-copy strong {
    font-size: 0.98rem;
}

.chatbot-toggle-copy small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chatbot-panel {
    width: min(320px, calc(100vw - 24px));
    max-height: min(460px, 62vh);
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    border: 1px solid rgba(10, 99, 216, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 52px rgba(8, 30, 66, 0.18);
    overflow: hidden;
}

.chatbot-header {
    align-items: center;
    padding: 0.9rem 1rem 0.75rem;
}

.chatbot-header-copy {
    min-width: 0;
}

.chatbot-header-copy strong {
    display: block;
    font-size: 1rem;
}

.chatbot-header p {
    font-size: 0.82rem;
    line-height: 1.45;
}

.chatbot-close {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem 0;
    overflow: visible;
}

.chatbot-suggestion {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
}

.chatbot-messages {
    flex: 1 1 auto;
    min-height: 120px;
    max-height: 220px;
    padding: 0.85rem 0.9rem 0.25rem;
}

.chatbot-message {
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.chatbot-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    font-size: 0.78rem;
}

.chatbot-bubble {
    max-width: calc(100% - 40px);
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(8, 30, 66, 0.07);
}

.chatbot-bubble strong {
    font-size: 0.92rem;
}

.chatbot-bubble p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.chatbot-links {
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.chatbot-link {
    min-height: 34px;
    padding: 0 0.75rem;
    font-size: 0.82rem;
}

.chatbot-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem 0.95rem;
}

.chatbot-form input {
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
}

.chatbot-form .button {
    min-height: 44px;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .chatbot-widget {
        left: 12px;
        right: 12px;
        bottom: 82px;
        justify-items: end;
        max-width: none;
    }

    .chatbot-panel {
        width: min(320px, 100%);
    }

    .chatbot-form {
        grid-template-columns: 1fr;
    }

    .chatbot-form .button {
        width: 100%;
    }
}

.chatbot-panel[hidden],
.chatbot-widget:not(.is-open) .chatbot-panel {
    display: none !important;
}

.chatbot-widget.is-open .chatbot-panel {
    display: flex !important;
}

/* Public theme toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    border: 1px solid rgba(18, 37, 63, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    box-shadow: 0 14px 28px rgba(8, 30, 66, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 99, 216, 0.2);
    box-shadow: 0 18px 32px rgba(8, 30, 66, 0.12);
}

.theme-toggle-track {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(7, 26, 56, 0.18), rgba(39, 180, 246, 0.44));
    box-shadow: inset 0 0 0 1px rgba(10, 99, 216, 0.12);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 12px rgba(8, 30, 66, 0.18);
    transition: transform 0.22s ease, background 0.22s ease;
}

.theme-toggle-text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 860px) {
    .theme-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* Public dark theme */
:root[data-theme='dark'] {
    --bg: #07111f;
    --surface: #0b172d;
    --surface-alt: #10203b;
    --text: #eaf2ff;
    --muted: #9bb0cf;
    --border: rgba(126, 164, 220, 0.18);
    --shadow: 0 24px 60px rgba(1, 6, 16, 0.42);
}

html[data-theme='dark'] body {
    background:
        radial-gradient(circle at top left, rgba(72, 182, 255, 0.14), transparent 26%),
        radial-gradient(circle at top right, rgba(14, 120, 255, 0.16), transparent 28%),
        var(--bg);
    color: var(--text);
}

html[data-theme='dark'] h1,
html[data-theme='dark'] h2,
html[data-theme='dark'] h3,
html[data-theme='dark'] h4,
html[data-theme='dark'] label {
    color: #f3f8ff;
}

html[data-theme='dark'] p,
html[data-theme='dark'] ul,
html[data-theme='dark'] ol,
html[data-theme='dark'] .nav-links a,
html[data-theme='dark'] .footer-links a,
html[data-theme='dark'] .footer-bottom,
html[data-theme='dark'] .brand-meta small {
    color: var(--muted);
}

html[data-theme='dark'] input,
html[data-theme='dark'] textarea,
html[data-theme='dark'] select {
    background: rgba(10, 21, 41, 0.92);
    border-color: rgba(120, 160, 220, 0.18);
    color: var(--text);
}

html[data-theme='dark'] input::placeholder,
html[data-theme='dark'] textarea::placeholder {
    color: rgba(219, 232, 252, 0.56);
}

html[data-theme='dark'] .header {
    background: rgba(7, 18, 35, 0.88);
    border-bottom-color: rgba(126, 164, 220, 0.14);
}

html[data-theme='dark'] .mobile-toggle {
    background: rgba(16, 34, 62, 0.88);
    color: #f3f8ff;
}

html[data-theme='dark'] .theme-toggle {
    background: rgba(10, 21, 41, 0.88);
    border-color: rgba(120, 160, 220, 0.18);
    color: #f3f8ff;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] .theme-toggle-track {
    background: linear-gradient(135deg, rgba(17, 41, 80, 0.98), rgba(39, 180, 246, 0.42));
}

html[data-theme='dark'] .theme-toggle-thumb {
    transform: translateX(20px);
    background: #dce9ff;
}

html[data-theme='dark'] .site-shell {
    background:
        linear-gradient(180deg, rgba(5, 12, 24, 0.99) 0%, rgba(8, 18, 34, 0.99) 42%, rgba(6, 17, 32, 0.99) 100%),
        linear-gradient(90deg, rgba(39, 180, 246, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(10, 99, 216, 0.05) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px;
}

html[data-theme='dark'] .site-shell::before {
    background: radial-gradient(circle, rgba(39, 180, 246, 0.18), transparent 64%);
}

html[data-theme='dark'] .site-shell::after {
    background: radial-gradient(circle, rgba(10, 99, 216, 0.16), transparent 68%);
}

html[data-theme='dark'] .site-shell .header {
    background: rgba(8, 18, 35, 0.72);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

html[data-theme='dark'] .site-shell .brand,
html[data-theme='dark'] .site-shell .nav-links a:hover,
html[data-theme='dark'] .site-shell .nav-links a.is-active {
    color: #f7fbff;
}

html[data-theme='dark'] .site-shell .hero {
    background:
        radial-gradient(circle at 8% 0%, rgba(39, 180, 246, 0.16), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(10, 99, 216, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(7, 16, 31, 0.94), rgba(9, 19, 37, 0.9));
}

html[data-theme='dark'] .site-shell .hero-copy h1 {
    color: #f7fbff;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] .eyebrow {
    background: rgba(14, 120, 255, 0.16);
    color: #d7e9ff;
}

html[data-theme='dark'] .site-shell .surface-band {
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.72), rgba(10, 20, 39, 0.92));
    border-top-color: rgba(39, 180, 246, 0.08);
    border-bottom-color: rgba(39, 180, 246, 0.08);
}

html[data-theme='dark'] .site-shell .card,
html[data-theme='dark'] .site-shell .metric-card,
html[data-theme='dark'] .site-shell .process-step,
html[data-theme='dark'] .site-shell .panel,
html[data-theme='dark'] .social-card {
    background: linear-gradient(180deg, rgba(10, 21, 41, 0.96), rgba(12, 25, 49, 0.98));
    border-color: rgba(120, 160, 220, 0.16);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

html[data-theme='dark'] .site-shell .card:hover,
html[data-theme='dark'] .site-shell .metric-card:hover,
html[data-theme='dark'] .site-shell .process-step:hover,
html[data-theme='dark'] .site-shell .panel:hover,
html[data-theme='dark'] .social-card:hover {
    border-color: rgba(39, 180, 246, 0.3);
    box-shadow: 0 30px 68px rgba(0, 0, 0, 0.3);
}

html[data-theme='dark'] .site-shell .card h3,
html[data-theme='dark'] .site-shell .process-step h3,
html[data-theme='dark'] .site-shell .metric-card strong,
html[data-theme='dark'] .site-shell .card-icon,
html[data-theme='dark'] .social-card strong,
html[data-theme='dark'] .footer h3,
html[data-theme='dark'] .footer strong {
    color: #f3f8ff;
}

html[data-theme='dark'] .site-shell .card-icon {
    background: linear-gradient(135deg, rgba(39, 180, 246, 0.18), rgba(10, 99, 216, 0.28));
    box-shadow: inset 0 0 0 1px rgba(120, 160, 220, 0.12);
}

html[data-theme='dark'] .site-shell .pill-list li,
html[data-theme='dark'] .social-label,
html[data-theme='dark'] .social-chip {
    border-color: rgba(120, 160, 220, 0.16);
    background: rgba(14, 120, 255, 0.14);
    color: #e7f1ff;
}

html[data-theme='dark'] .button-secondary {
    background: rgba(11, 24, 46, 0.88);
    color: #eef4ff;
    border-color: rgba(120, 160, 220, 0.18);
}

html[data-theme='dark'] .button-secondary:hover {
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

html[data-theme='dark'] .footer {
    background: rgba(8, 18, 35, 0.82);
    border-top-color: rgba(126, 164, 220, 0.12);
}

html[data-theme='dark'] .footer-bottom {
    border-top-color: rgba(126, 164, 220, 0.12);
}

html[data-theme='dark'] .chatbot-toggle {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

html[data-theme='dark'] .chatbot-panel {
    background: rgba(9, 19, 37, 0.98);
    border-color: rgba(120, 160, 220, 0.16);
    box-shadow: 0 30px 68px rgba(0, 0, 0, 0.34);
}

html[data-theme='dark'] .chatbot-messages {
    background: linear-gradient(180deg, rgba(7, 16, 31, 0.98), rgba(10, 21, 41, 0.98));
}

html[data-theme='dark'] .chatbot-bubble {
    background: rgba(17, 34, 63, 0.92);
    border-color: rgba(120, 160, 220, 0.16);
    box-shadow: none;
}

html[data-theme='dark'] .chatbot-bubble strong,
html[data-theme='dark'] .chatbot-link,
html[data-theme='dark'] .chatbot-suggestion {
    color: #eef4ff;
}

html[data-theme='dark'] .chatbot-link,
html[data-theme='dark'] .chatbot-suggestion {
    background: rgba(14, 120, 255, 0.16);
    border-color: rgba(120, 160, 220, 0.16);
}

html[data-theme='dark'] .chatbot-form input {
    background: rgba(10, 21, 41, 0.92);
    border: 1px solid rgba(120, 160, 220, 0.18);
    color: #eef4ff;
}

html[data-theme='dark'] .chatbot-form input::placeholder {
    color: rgba(230, 240, 255, 0.58);
}
/* Responsive polish for mobile and tablet */
.site-shell {
    overflow-x: clip;
}

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

    .navbar {
        min-height: 76px;
    }

    .site-shell .hero-grid,
    .split-grid-main,
    .split-grid-contact,
    .split-grid-equal,
    .split-grid-cta {
        gap: 1.25rem;
    }
}

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

    .navbar {
        gap: 0.75rem;
    }

    .nav-links.is-open,
    .nav-actions.is-open {
        gap: 0.75rem;
    }

    .nav-actions.is-open {
        align-items: stretch;
    }

    .nav-actions.is-open > *,
    .nav-actions.is-open form,
    .nav-actions.is-open .button,
    .nav-actions.is-open .theme-toggle {
        width: 100%;
    }

    .site-shell .hero {
        padding: 84px 0 64px;
    }

    .site-shell .hero-grid {
        gap: 1.5rem;
    }

    .site-shell .hero-copy h1 {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .site-shell .hero-panel-ribbon span,
    .site-shell .brand-ribbon span {
        min-height: 48px;
    }

    .chatbot-widget {
        right: 14px;
        bottom: 82px;
    }

    .chatbot-toggle {
        width: auto;
        max-width: 210px;
    }

    .chatbot-panel {
        width: min(320px, calc(100vw - 28px));
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        left: auto;
    }

    .floating-whatsapp a {
        width: auto;
        max-width: min(220px, calc(100vw - 28px));
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 640px) {
    .button,
    button.button,
    .social-chip {
        width: auto;
    }

    .button-row .button,
    .button-row button.button,
    .inline-form .button,
    .cta-strip .button,
    .nav-actions.is-open .button,
    .nav-actions.is-open .theme-toggle {
        width: 100%;
    }

    .site-shell .hero {
        padding: 72px 0 56px;
    }

    .site-shell .hero-copy h1 {
        font-size: clamp(1.95rem, 12vw, 2.9rem);
        letter-spacing: -0.045em;
    }

    .site-shell .hero-copy p {
        font-size: 0.98rem;
    }

    .button-row {
        gap: 0.7rem;
    }

    .site-shell .hero-pill-row {
        gap: 0.55rem;
    }

    .site-shell .hero-pill-row span,
    .site-shell .hero-panel-ribbon span,
    .site-shell .brand-ribbon span {
        width: auto;
        min-height: 46px;
        padding: 0.8rem 0.95rem;
        font-size: 0.92rem;
    }

    .site-shell .hero-panel-ribbon,
    .site-shell .brand-ribbon {
        width: 100%;
        gap: 0.65rem;
    }

    .hero-stat {
        gap: 0.75rem;
    }

    .chatbot-widget {
        left: auto;
        right: 12px;
        bottom: 76px;
        gap: 0.5rem;
        max-width: min(300px, calc(100vw - 24px));
    }

    .chatbot-toggle {
        width: auto !important;
        max-width: min(210px, calc(100vw - 24px));
        min-height: 50px;
        padding: 0.6rem 0.8rem;
    }

    .chatbot-toggle-copy small {
        display: none;
    }

    .chatbot-panel {
        width: min(300px, calc(100vw - 24px));
        max-height: min(440px, 66vh);
    }

    .chatbot-link,
    .chatbot-suggestion {
        width: auto !important;
    }

    .floating-whatsapp {
        left: auto;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    .floating-whatsapp a {
        width: auto !important;
        max-width: min(210px, calc(100vw - 24px));
        min-height: 48px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 1rem);
    }

    .navbar {
        min-height: 70px;
    }

    .site-shell .hero-copy h1 {
        font-size: clamp(1.85rem, 12vw, 2.6rem);
    }

    .chatbot-widget {
        bottom: 74px;
        max-width: min(286px, calc(100vw - 16px));
    }

    .chatbot-toggle {
        max-width: min(196px, calc(100vw - 16px));
    }

    .chatbot-panel {
        width: min(286px, calc(100vw - 16px));
    }

    .floating-whatsapp a {
        max-width: min(196px, calc(100vw - 16px));
        font-size: 0.86rem;
    }
}
.brand-logo-navbar {
    width: 52px;
    max-width: 52px;
    height: 52px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .brand-logo-navbar {
        width: 40px;
        max-width: 40px;
        height: 40px;
    }
}
.brand-navbar-lockup {
    gap: 0.6rem;
    min-width: 0;
}

.brand-wordmark {
    display: inline-grid;
    gap: 0.08rem;
    justify-content: center;
    min-width: 0;
    line-height: 1;
}

.brand-title,
.brand-subtitle {
    display: block;
    white-space: nowrap;
}

.brand-title {
    font-size: clamp(1.45rem, 2vw, 2.02rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #1195da 0%, #0f78e7 38%, #0b2a59 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 0.24rem;
    color: #7b879d;
    font-size: clamp(0.5rem, 0.88vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.3em;
}

.brand-logo-navbar {
    width: 48px;
    max-width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 48px;
}

html[data-theme='dark'] .brand-title {
    background: linear-gradient(90deg, #5ec9ff 0%, #2ca8ff 38%, #dbe9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme='dark'] .brand-subtitle {
    color: #b4c5df;
}

@media (max-width: 860px) {
    .brand-navbar-lockup {
        gap: 0.45rem;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        font-size: 0.52rem;
        letter-spacing: 0.24em;
    }

    .brand-logo-navbar {
        width: 42px;
        max-width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

@media (max-width: 420px) {
    .brand-navbar-lockup {
        gap: 0.38rem;
    }

    .brand-title {
        font-size: 1.05rem;
        letter-spacing: 0.03em;
    }

    .brand-subtitle {
        margin-top: 0.18rem;
        font-size: 0.42rem;
        letter-spacing: 0.16em;
    }

    .brand-logo-navbar {
        width: 36px;
        max-width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}
