:root {
    --primary: #0f172a;
    --primary-accent: #1e3a8a;
    --secondary: #0d9488;
    --accent-gold: #d97706;
    --text: #334155;
    --text-light: #64748b;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg-body);
    line-height: 1.6;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Banner de aviso "protótipo" */
.proto-banner {
    background: var(--accent-gold);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
}

/* Header */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nav-toggle-checkbox {
    display: none;
}

.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav-toggle-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    height: 77px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: #cbd5e1;
    font-size: 14.5px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
}

@media (max-width: 700px) {
    .nav-toggle-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--primary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-toggle-checkbox:checked ~ .main-nav {
        max-height: 320px;
    }

    .main-nav a {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav .btn--nav {
        margin: 12px 24px;
        text-align: center;
    }
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.92;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--primary) !important;
}

.btn--nav {
    padding: 9px 18px;
    font-size: 13.5px;
}

.btn--block {
    width: 100%;
    text-align: center;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--primary) 0%, #16213f 100%);
    color: #fff;
    padding: 72px 0 88px;
}

.hero__inner {
    max-width: 720px;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-copy {
    max-width: 560px;
    flex: 1 1 420px;
}

.hero-illustration {
    flex: 0 1 380px;
    max-width: 380px;
    width: 100%;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

@media (max-width: 860px) {
    .hero-illustration {
        display: none;
    }
}

.hero .eyebrow {
    display: inline-block;
    background: rgba(13, 148, 136, 0.18);
    color: #5eead4;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 18px;
}

.hero p.lead {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 28px;
}

.hero .cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Seções gerais */
.section {
    padding: 64px 0;
}

.section h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section .section-sub {
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 620px;
}

.section--muted {
    background: #f1f5f9;
}

/* Grid de cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.card h3 {
    color: var(--primary);
    font-size: 16.5px;
    margin: 0 0 10px;
}

.card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.card .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(13, 148, 136, 0.12);
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 14px;
}

.card-icon {
    width: 42px;
    height: 42px;
    display: block;
    margin-bottom: 14px;
}

/* Alerta regulatório */
.box-alert {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.box-alert img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.box-alert strong {
    color: #9a3412;
    display: block;
    margin-bottom: 6px;
}

/* Pricing */
.grid-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.plan-card--featured {
    border: 2px solid var(--secondary);
    box-shadow: 0 12px 24px -8px rgba(13, 148, 136, 0.25);
    position: relative;
}

.plan-card__badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--secondary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.plan-card--dev {
    position: relative;
    opacity: 0.75;
    border-style: dashed;
}

.plan-card__badge--dev {
    background: var(--accent-gold);
}

.plan-card .btn[disabled] {
    background: var(--border);
    color: var(--text-light) !important;
    cursor: not-allowed;
}

.plan-card h3 {
    color: var(--primary);
    font-size: 19px;
    margin: 0 0 4px;
}

.plan-card .price {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 2px;
}

.plan-card .price small {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.plan-card .eq-mensal {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.plan-card li {
    font-size: 13.8px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text);
}

.plan-card li:last-child {
    border-bottom: none;
}

.free-trial-note {
    text-align: center;
    margin-top: 28px;
    color: var(--text-light);
    font-size: 14px;
}

/* Formulários */
.auth-wrap {
    max-width: 440px;
    margin: 56px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}

.auth-wrap h1 {
    font-size: 22px;
    color: var(--primary);
    margin: 0 0 6px;
}

.auth-wrap .sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 26px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: inherit;
}

.field input:focus,
.field select:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 1px;
}

.plan-choice {
    display: grid;
    gap: 10px;
}

.plan-choice label {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.8px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}

.plan-choice input {
    width: auto;
}

.auth-footer-link {
    text-align: center;
    margin-top: 18px;
    font-size: 13.8px;
    color: var(--text-light);
}

.notice-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13.8px;
    margin-bottom: 20px;
}

.notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13.8px;
    margin-bottom: 20px;
}

.field-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Área do cliente (mock) */
.dash-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 160px);
}

.dash-sidebar {
    background: var(--primary);
    color: #cbd5e1;
    padding: 28px 18px;
}

.dash-sidebar a {
    display: block;
    color: #cbd5e1;
    font-size: 13.8px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.dash-sidebar a.is-active,
.dash-sidebar a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dash-sidebar .is-disabled {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13.8px;
    font-weight: 600;
    padding: 10px 12px;
    margin-bottom: 4px;
    color: #64748b;
    cursor: default;
}

.badge-soon {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

/* Páginas de CRUD (clientes, equipamentos, manutenções) */
.dash-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 26px;
}

.form-panel h3 {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
}

.form-grid .field {
    margin-bottom: 0;
}

.form-grid .field--full {
    grid-column: 1 / -1;
}

.form-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.btn--sm {
    padding: 7px 14px;
    font-size: 12.5px;
}

.btn--danger {
    background: #dc2626;
}

.row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.row-actions form {
    display: inline;
}

.limit-bar {
    background: var(--border);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin: 6px 0 4px;
}

.limit-bar__fill {
    background: var(--secondary);
    height: 100%;
}

.limit-bar__fill.is-full {
    background: var(--accent-gold);
}

.checklist-group {
    display: grid;
    gap: 10px;
}

.checklist-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.8px;
    color: var(--text);
}

.checklist-group input {
    width: auto;
}

.checklist-group small {
    color: var(--text-light);
    font-size: 11.5px;
}

.limit-note {
    font-size: 12.5px;
    color: var(--text-light);
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Documento do laudo (tela + impressão) */
.laudo-doc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 760px;
}

.laudo-doc__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.laudo-doc__muted {
    color: var(--text-light);
    font-size: 12.5px;
    margin-top: 3px;
}

.laudo-doc__title {
    font-size: 18px;
    color: var(--primary);
    margin: 0 0 6px;
}

.laudo-doc__legal {
    font-size: 11.5px;
    color: var(--text-light);
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}

.laudo-doc__section {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--secondary);
    margin: 26px 0 14px;
    padding-top: 4px;
}

.laudo-doc__checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.laudo-doc__checklist li {
    font-size: 13.5px;
    padding: 3px 0;
    color: var(--text-light);
}

.laudo-doc__checklist li.is-done {
    color: var(--text);
    font-weight: 600;
}

.laudo-doc__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.laudo-doc h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-light);
    margin: 0 0 6px;
}

.laudo-doc p {
    margin: 0 0 6px;
    font-size: 13.8px;
}

.laudo-doc__signoff {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.laudo-doc__assinatura {
    max-width: 220px;
    max-height: 100px;
    border-bottom: 1px solid var(--border);
}

.laudo-doc__historico {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.laudo-doc__historico th,
.laudo-doc__historico td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}

.laudo-doc__historico th {
    color: var(--text-light);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
}

.laudo-doc__historico tr.is-current td {
    font-weight: 700;
    background: rgba(13, 148, 136, 0.06);
}

.laudo-doc__footer {
    margin-top: 26px;
    font-size: 11.5px;
    color: var(--text-light);
}

.laudo-doc__numero {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
    text-align: right;
}

.laudo-doc__auth {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 2px solid var(--primary);
}

.laudo-doc__qrcode {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}

.laudo-doc__auth-info strong {
    display: block;
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 4px;
}

.laudo-doc__auth-info p {
    font-size: 11.5px;
    color: var(--text-light);
    margin: 0;
}

.laudo-doc__link-publico {
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    word-break: break-all;
    margin-top: 4px;
}

.signature-canvas {
    width: 100%;
    max-width: 640px;
    height: 240px;
    border: 2px dashed var(--border);
    border-radius: 8px;
    touch-action: none;
    background: #fff;
    display: block;
}

/* Etiquetas de equipamento (QR Code fixo pra abrir o PMOC) — grade genérica,
   dimensionada por variáveis CSS (--cols/--rows/--cell-w/--cell-h) definidas
   inline por PHP conforme o formato escolhido (avulso ou Pimaco A4260/A4355/A4363). */
.folha-etiquetas {
    display: grid;
    grid-template-columns: repeat(var(--cols), var(--cell-w));
    grid-template-rows: repeat(var(--rows), var(--cell-h));
    gap: 0;
    justify-content: center;
    margin: 0 auto 24px;
}

.folha-etiquetas--fluida {
    grid-template-columns: repeat(auto-fill, minmax(var(--cell-w), 1fr));
    grid-template-rows: none;
    max-width: 1000px;
}

.etiqueta-cel {
    box-sizing: border-box;
    border: 1px dashed var(--border);
    padding: 2mm;
    overflow: hidden;
    display: flex;
    background: #fff;
}

.etiqueta-cel--vazia {
    opacity: 0.35;
}

.etiqueta-cel--lado_a_lado {
    flex-direction: row;
    align-items: center;
    gap: 2mm;
}

.etiqueta-cel__qr {
    display: block;
    flex-shrink: 0;
}

.etiqueta-cel--lado_a_lado .etiqueta-cel__qr {
    /* Acompanha a altura da própria etiqueta (--cell-h), até um teto de 30mm — assim o QR nunca
       estoura a célula em formatos mais baixos (ex: Pimaco A4355, 31mm de altura). */
    width: min(30mm, calc(var(--cell-h) - 6mm));
    height: min(30mm, calc(var(--cell-h) - 6mm));
}

.etiqueta-cel__texto {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.etiqueta-cel__cliente {
    font-size: 6.5pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.etiqueta-cel__tag {
    font-family: "Courier New", Courier, monospace;
    font-weight: 800;
    font-size: 8.5pt;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.etiqueta-cel__ambiente {
    font-size: 6.5pt;
    color: #334155;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.etiqueta-cel__specs {
    font-size: 6pt;
    color: #334155;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.etiqueta-cel__meta {
    font-size: 5.5pt;
    color: #475569;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.etiqueta-cel__cta {
    font-size: 5.5pt;
    color: #64748b;
    line-height: 1.3;
}

@media print {
    .etiqueta-cel {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    .etiqueta-cel--vazia {
        /* visibility (não display:none): precisa continuar ocupando a posição na grade CSS,
           senão os itens seguintes deslizam pra frente e o "pular posições" perde o efeito. */
        visibility: hidden;
    }
    .etiqueta-nova-folha {
        break-before: page;
        page-break-before: always;
    }
}

/* Mobile: tabelas viram cartões empilhados em vez de rolar na horizontal */
@media (max-width: 700px) {
    .laudo-doc__grid,
    .laudo-doc__signoff {
        grid-template-columns: 1fr;
    }

    .laudo-doc {
        padding: 20px;
    }

    table.data-table thead {
        display: none;
    }

    table.data-table,
    table.data-table tbody,
    table.data-table tr,
    table.data-table td {
        display: block;
        width: 100%;
    }

    table.data-table tr {
        margin-bottom: 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    table.data-table td {
        border-bottom: 1px solid var(--border);
        padding: 10px 14px;
        text-align: right;
    }

    table.data-table td:last-child {
        border-bottom: none;
    }

    table.data-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        color: var(--primary);
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    table.data-table .row-actions {
        justify-content: flex-end;
    }
}

@media print {
    .no-print,
    .site-header,
    .site-footer,
    .proto-banner,
    .dash-sidebar {
        display: none !important;
    }
    .dash-shell {
        display: block;
    }
    .laudo-doc {
        border: none;
        padding: 0;
        max-width: 100%;
    }
    .laudo-doc__auth {
        break-inside: avoid;
    }
    .laudo-doc__grid,
    .laudo-doc__signoff {
        break-inside: avoid;
    }
}

.empty-state {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 13.8px;
}

.dash-main {
    padding: 32px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.plan-tag {
    display: inline-block;
    background: rgba(13, 148, 136, 0.12);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

.kpi-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

a.kpi-card:hover {
    border-color: var(--secondary);
}

.kpi-card .label {
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 600;
}

.kpi-card .value {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

table.data-table th,
table.data-table td {
    text-align: left;
    padding: 12px 14px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
}

table.data-table th {
    background: #f1f5f9;
    color: var(--primary);
}

.status-pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.status-pill--ok { background: #dcfce7; color: #166534; }
.status-pill--pending { background: #fef3c7; color: #92400e; }
.status-pill--omitido { background: #fee2e2; color: #991b1b; }

/* Footer */
.site-footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    padding: 44px 24px 28px;
}

.site-footer h4 {
    font-size: 13px;
    color: var(--primary);
    margin: 0 0 10px;
}

.site-footer a {
    display: block;
    color: var(--text-light);
    font-size: 13.8px;
    margin-bottom: 8px;
}

.site-footer p {
    color: var(--text-light);
    font-size: 13.5px;
}

.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    font-size: 12.5px;
    color: var(--text-light);
    text-align: center;
}

@media (max-width: 860px) {
    .grid-3,
    .grid-plans {
        grid-template-columns: 1fr;
    }
    .site-footer__inner {
        grid-template-columns: 1fr;
    }
    .dash-shell {
        grid-template-columns: 1fr;
    }
    .dash-sidebar {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        padding: 14px;
    }
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 30px;
    }
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
}

.cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #93c5fd;
}

.cookie-banner .btn {
    flex-shrink: 0;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 18px 0;
}

.whatsapp-cta strong {
    color: #14532d;
}

.whatsapp-cta p {
    margin: 2px 0 0;
}

.btn--whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
    flex-shrink: 0;
}

.btn--whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
}
