:root {
    color-scheme: dark;
    --background: #06090f;
    --surface: rgba(17, 24, 38, 0.82);
    --surface-solid: #111826;
    --surface-light: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.10);
    --text: #f5f7fb;
    --muted: #9ba7b7;
    --primary: #4a82ff;
    --primary-light: #8ab3ff;
    --success: #48d99b;
    --danger: #ff6d78;
    --warning: #f6c85f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 12%, rgba(74, 130, 255, 0.22), transparent 34%),
        radial-gradient(circle at 10% 88%, rgba(72, 217, 155, 0.07), transparent 28%),
        linear-gradient(145deg, #05070c, #0b111c);
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

button,
select {
    cursor: pointer;
}

.site-header,
.dashboard-header {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(138, 179, 255, 0.28);
    border-radius: 12px;
    color: var(--primary-light);
    background: rgba(74, 130, 255, 0.12);
}

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

.nav a {
    color: var(--muted);
    text-decoration: none;
}

.nav a:hover {
    color: var(--text);
}

.nav__admin {
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.hero {
    width: min(1240px, calc(100% - 40px));
    min-height: calc(100vh - 86px);
    margin: 0 auto;
    padding: 48px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    align-items: center;
    gap: 74px;
}

.badge {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid rgba(138, 179, 255, 0.3);
    border-radius: 999px;
    color: var(--primary-light);
    background: rgba(74, 130, 255, 0.09);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow {
    margin: 30px 0 12px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 0;
    font-size: clamp(48px, 6.6vw, 88px);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: var(--primary-light);
}

.lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

.hero__actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-decoration: none;
    transition:
        transform 160ms ease,
        opacity 160ms ease,
        border-color 160ms ease;
}

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

.button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.button--primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #3159ce);
    box-shadow: 0 18px 45px rgba(74, 130, 255, 0.24);
}

.button--secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
}

.metrics {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.metrics div {
    padding: 20px 16px 20px 0;
}

.metrics div + div {
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    font-size: 22px;
}

.metrics span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.identity-card {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow:
        0 55px 120px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.identity-card__halo {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(74, 130, 255, 0.28);
    filter: blur(90px);
    transform: translateX(-50%);
}

.identity-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
}

.identity-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(4, 7, 12, 0.88));
}

.identity-card__caption {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(5, 9, 15, 0.72);
    backdrop-filter: blur(16px);
}

.identity-card__caption strong,
.identity-card__caption span {
    display: block;
}

.identity-card__caption strong {
    font-size: 18px;
}

.identity-card__caption span {
    margin-top: 5px;
    color: var(--muted);
}

.identity-card__caption b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-size: 12px;
}

.identity-card__caption i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 14px rgba(72, 217, 155, 0.75);
}

.services {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 110px;
}

.section-heading span {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.section-heading h2 {
    max-width: 780px;
    margin: 12px 0 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.service-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-grid article {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface-light);
}

.service-grid article > span {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 800;
}

.service-grid h3 {
    margin: 56px 0 12px;
    font-size: 24px;
}

.service-grid p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(2, 5, 9, 0.78);
    backdrop-filter: blur(12px);
}

.modal__panel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #101725;
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.55);
}

.modal__panel h2,
.auth-card h1 {
    margin: 18px 0 8px;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.modal__panel > p,
.auth-card > p {
    color: var(--muted);
    line-height: 1.6;
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-size: 24px;
}

#lead-form,
.stack-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: #dce3ee;
    font-size: 14px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
}

input,
select {
    min-height: 48px;
    padding: 0 14px;
}

textarea {
    padding: 14px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(138, 179, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(74, 130, 255, 0.12);
}

.form-result {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
}

.form-result--success {
    color: var(--success);
}

.form-result--error {
    color: var(--danger);
}

footer {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 38px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

footer a {
    text-decoration: none;
}

.admin-body {
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(520px, 100%);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(16, 23, 37, 0.94);
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.45);
}

.alert {
    margin: 18px 0;
    padding: 13px 15px;
    border-radius: 12px;
    line-height: 1.5;
}

.alert--success {
    color: #a4f0ce;
    border: 1px solid rgba(72, 217, 155, 0.25);
    background: rgba(72, 217, 155, 0.08);
}

.alert--error {
    color: #ffb3ba;
    border: 1px solid rgba(255, 109, 120, 0.26);
    background: rgba(255, 109, 120, 0.08);
}

.dashboard-body {
    background: #080d15;
}

.dashboard-header {
    border-bottom: 1px solid var(--border);
}

.dashboard-header > div {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.dashboard-header a {
    text-decoration: none;
}

.dashboard {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.dashboard__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.dashboard__heading h1 {
    margin: 16px 0 0;
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -0.055em;
}

.dashboard-metrics {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-metrics article {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.dashboard-metrics strong,
.dashboard-metrics span {
    display: block;
}

.dashboard-metrics strong {
    font-size: 34px;
}

.dashboard-metrics span {
    margin-top: 7px;
    color: var(--muted);
}

.data-card {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
}

.data-card__heading {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.data-card__heading span {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.data-card__heading h2 {
    margin: 5px 0 0;
}

.data-card__heading b {
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

td strong,
td a {
    display: block;
}

td a {
    margin-top: 5px;
    color: var(--muted);
    text-decoration: none;
}

.message-cell {
    min-width: 260px;
    max-width: 420px;
    line-height: 1.55;
}

.status-form select {
    min-width: 126px;
    min-height: 40px;
}

.empty-state {
    padding: 46px 24px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .identity-card {
        min-height: 720px;
    }

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

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

@media (max-width: 640px) {
    .site-header,
    .dashboard-header,
    .hero,
    .services,
    .dashboard,
    footer {
        width: calc(100% - 24px);
    }

    .site-header {
        align-items: flex-start;
    }

    .nav a:not(.nav__admin) {
        display: none;
    }

    .hero {
        padding-top: 24px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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

    .metrics div + div {
        padding-left: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .identity-card {
        min-height: 570px;
        border-radius: 24px;
    }

    .identity-card__caption {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .modal__panel,
    .auth-card {
        padding: 24px;
    }

    .dashboard__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
}


/* Stage 0.3 — AI Chat Core */
.nav__chat {
    padding: 0;
    border: 0;
    color: var(--primary-light);
    background: transparent;
    cursor: pointer;
}

.chat-modal[hidden],
.chat-contact[hidden] {
    display: none;
}

.chat-modal {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}

.chat-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(2, 5, 9, 0.82);
    backdrop-filter: blur(14px);
}

.chat-panel {
    position: relative;
    z-index: 1;
    width: min(780px, 100%);
    height: min(820px, calc(100vh - 36px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #0c131f;
    box-shadow: 0 45px 140px rgba(0, 0, 0, 0.62);
}

.chat-header {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-agent img {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    object-fit: cover;
    object-position: 52% 18%;
}

.chat-agent strong,
.chat-agent span {
    display: block;
}

.chat-agent span {
    margin-top: 5px;
    color: var(--success);
    font-size: 12px;
}

.chat-agent span i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.chat-agent span.is-thinking {
    color: var(--primary-light);
}

.chat-agent span.is-error {
    color: var(--danger);
}

.chat-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switch {
    display: flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.language-switch button,
.chat-icon-button {
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.language-switch button {
    min-width: 38px;
    min-height: 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.language-switch button.is-active {
    color: #fff;
    background: rgba(74, 130, 255, 0.28);
}

.chat-icon-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 21px;
}

.chat-messages {
    min-height: 0;
    padding: 22px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 13px;
    background:
        radial-gradient(circle at 100% 0%, rgba(74, 130, 255, 0.08), transparent 35%),
        #090f19;
}

.chat-message {
    display: flex;
}

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

.chat-message__bubble {
    max-width: min(620px, 84%);
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 17px 17px 17px 5px;
    color: #eaf0f8;
    background: rgba(255, 255, 255, 0.045);
    white-space: pre-wrap;
    line-height: 1.55;
}

.chat-message--user .chat-message__bubble {
    border-color: rgba(74, 130, 255, 0.30);
    border-radius: 17px 17px 5px 17px;
    background: linear-gradient(135deg, rgba(74, 130, 255, 0.38), rgba(49, 89, 206, 0.28));
}

.chat-message--typing .chat-message__bubble {
    display: flex;
    gap: 5px;
    align-items: center;
    min-width: 58px;
}

.chat-message--typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: chat-pulse 1.1s infinite ease-in-out;
}

.chat-message--typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-message--typing i:nth-child(3) { animation-delay: 0.30s; }

@keyframes chat-pulse {
    0%, 70%, 100% { opacity: 0.35; transform: translateY(0); }
    35% { opacity: 1; transform: translateY(-3px); }
}

.chat-tools {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.chat-tools button {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--primary-light);
    background: rgba(74, 130, 255, 0.08);
    cursor: pointer;
}

.chat-tools button.is-highlighted {
    animation: contact-highlight 1.25s infinite;
}

@keyframes contact-highlight {
    50% { box-shadow: 0 0 0 5px rgba(74, 130, 255, 0.10); }
}

.chat-composer {
    padding: 13px 16px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
    background: #0c131f;
}

.chat-composer textarea {
    min-height: 48px;
    max-height: 130px;
    padding: 13px 14px;
    resize: none;
    line-height: 1.45;
}

.chat-composer button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #3159ce);
    cursor: pointer;
    font-size: 21px;
}

.chat-contact {
    position: absolute;
    z-index: 5;
    right: 14px;
    bottom: 84px;
    left: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 23, 37, 0.98);
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.55);
}

.chat-contact__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.chat-contact__heading button {
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 21px;
    cursor: pointer;
}

.chat-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#chat-contact-form {
    display: grid;
    gap: 12px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.admin-nav a {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
}

.admin-nav a.is-active,
.admin-nav a:hover {
    color: var(--text);
    border-color: rgba(138, 179, 255, 0.42);
    background: rgba(74, 130, 255, 0.08);
}

.message-role {
    display: inline-block;
    min-width: 78px;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.conversation-message {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.conversation-message p {
    margin: 8px 0 0;
    white-space: pre-wrap;
    line-height: 1.6;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.settings-grid .data-card {
    margin-top: 0;
}

.settings-form {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.settings-form textarea {
    min-height: 220px;
}

.code-note {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.22);
    overflow-wrap: anywhere;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .chat-modal { padding: 0; }
    .chat-panel {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .chat-header { padding: 12px; }
    .chat-agent img { width: 44px; height: 44px; }
    .chat-messages { padding: 16px 12px; }
    .chat-message__bubble { max-width: 92%; }
    .chat-contact__grid,
    .settings-grid { grid-template-columns: 1fr; }
    .chat-contact { bottom: 76px; }
}

/* WEBBRO_COMMERCIAL_SERVICES_V1_BEGIN */
.section-heading__lead {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 520px !important;
    flex-direction: column;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 99, 255, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.service-card--featured {
    border-color: rgba(108, 99, 255, 0.72) !important;
    background: linear-gradient(160deg, rgba(108, 99, 255, 0.17), var(--surface-light) 52%) !important;
}

.service-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff !important;
    background: var(--primary);
    font-size: 11px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.service-card h3 {
    margin: 30px 0 12px;
}

.service-card__features {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.service-card__features li {
    position: relative;
    padding-left: 25px;
    color: var(--muted);
    line-height: 1.45;
}

.service-card__features li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--success);
    content: "✓";
    font-weight: 900;
}

.service-card__price {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.service-card__price strong,
.service-card__price small {
    display: block;
}

.service-card__price strong {
    font-size: 24px;
    line-height: 1.2;
}

.service-card__price small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 14px;
}

.service-card__button {
    width: 100%;
    margin-top: 22px;
    padding: 15px 18px;
    border: 1px solid rgba(108, 99, 255, 0.55);
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: filter 160ms ease, transform 160ms ease;
}

.service-card__button:hover {
    filter: brightness(1.12);
}

.service-card__button:active {
    transform: translateY(1px);
}

.service-card__button:focus-visible {
    outline: 3px solid rgba(108, 99, 255, 0.34);
    outline-offset: 3px;
}

.services__note {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .service-card {
        min-height: 0 !important;
    }
}

@media (max-width: 640px) {
    .services {
        padding: 68px 0 82px;
    }

    .services .section-heading h2 {
        font-size: 38px;
        line-height: 1.05;
    }

    .section-heading__lead {
        font-size: 16px;
    }

    .service-grid {
        margin-top: 32px;
    }

    .service-card {
        padding: 22px !important;
        border-radius: 20px !important;
    }

    .service-card h3 {
        margin-top: 26px;
    }

    .service-card__badge {
        top: 16px;
        right: 16px;
    }
}
/* WEBBRO_COMMERCIAL_SERVICES_V1_END */
