:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-soft: #eef2f7;
    --ink: #0f172a;
    --muted: #667085;
    --line: #e2e8f0;
    --primary: #111a7a;
    --primary-dark: #050b3f;
    --accent: #ef111f;
    --danger: #d90416;
    --success: #16815f;
    --warning: #a15c00;
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(239, 17, 31, 0.06), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(17, 26, 122, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 260px);
    letter-spacing: 0;
}

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

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

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

button:disabled,
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.container {
    width: min(1200px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    opacity: 0.64;
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: clamp(170px, 18vw, 260px);
    height: auto;
    max-height: 54px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.08));
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #1f2933);
    font-size: 0.9rem;
}

.brand-mark svg,
.btn svg,
.feature-box svg,
.service-category svg,
.profile-btn svg,
.contact-info svg,
.tools-panel svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

[data-lucide] {
    display: inline-grid;
    place-items: center;
    width: 1.15em;
    height: 1.15em;
    border-radius: 999px;
    color: currentColor;
    background: currentColor;
    opacity: 0.9;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.52);
    vertical-align: middle;
}

.brand-mark [data-lucide] {
    color: #facc15;
    background: #facc15;
}

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

.site-nav a {
    color: var(--muted);
    border-radius: 999px;
    padding: 9px 11px;
    font-weight: 780;
    font-size: 0.88rem;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
    color: var(--primary-dark);
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(17, 26, 122, 0.08);
    transform: translateY(-1px);
}

.nav-cart {
    color: var(--primary-dark) !important;
    background: linear-gradient(135deg, #eef2ff, #fff1f2);
}

.nav-account {
    position: relative;
}

.nav-account > button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--primary-dark);
    background: #fff;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-account > button:hover {
    border-color: rgba(17, 26, 122, 0.28);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.nav-account > div {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.nav-account:hover > div,
.nav-account:focus-within > div {
    display: grid;
}

.nav-account > div a {
    border-radius: 8px;
    padding: 10px 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.pill {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--danger);
    font-size: 0.78rem;
    box-shadow: 0 8px 18px rgba(217, 4, 22, 0.24);
}

.flash-area {
    padding-top: 16px;
}

.alert {
    margin-bottom: 12px;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.06);
}

.alert-success {
    color: var(--success);
    border-color: rgba(22, 129, 95, 0.22);
}

.alert-danger {
    color: var(--danger);
    border-color: rgba(194, 65, 61, 0.24);
}

.alert-warning {
    color: var(--warning);
    border-color: rgba(154, 106, 18, 0.24);
}

.hero {
    min-height: 620px;
    display: grid;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 68% 28%, rgba(239, 17, 31, 0.18), transparent 26%),
        radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.11), transparent 22%),
        linear-gradient(110deg, #050b3f 0%, #111a7a 58%, #08104f 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 44px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 120px 120px;
    pointer-events: none;
}

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

.modern-hero .hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
    gap: 42px;
    align-items: center;
}

.page-hero {
    color: #fff;
    background:
        linear-gradient(110deg, #050b3f, #111a7a);
}

.page-hero h1 {
    max-width: 760px;
    margin: 10px 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.06;
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.draft-hero {
    text-align: center;
}

.hero-content.centered {
    grid-template-columns: 1fr;
    justify-items: center;
}

.center-actions {
    justify-content: center;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 680px);
}

.hero h1,
.section-heading h1,
.section-heading h2,
.auth-card h1,
.panel h1,
.panel h3,
.summary h3,
.detail-copy h1 {
    margin: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 760px;
    margin-top: 12px;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    letter-spacing: 0;
}

.hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-benefits span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
    margin-top: 22px;
}

.hero-metrics span {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.hero-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.hero-card img {
    width: 100%;
    padding: 0;
    border-radius: 12px;
    background: #000;
}

.hero-card strong {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.hero-card p {
    margin: 0;
    color: var(--muted);
}

.hero-card-list {
    display: grid;
    gap: 8px;
    margin: 2px 0;
}

.hero-card-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 800;
}

.hero-card-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(239, 17, 31, 0.12);
}

.hero-card a {
    color: var(--danger);
    font-weight: 900;
}

.hero-commerce-card {
    gap: 18px;
    padding: 22px;
}

.hero-card-brand {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.hero-card-brand img {
    width: 100%;
    min-height: 74px;
    object-fit: contain;
}

.hero-card-brand div {
    display: grid;
    gap: 6px;
}

.hero-card-brand span,
.hero-snapshot-grid span,
.hero-mini-product span,
.front-flow-card span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-card-brand strong {
    font-size: 1.1rem;
    line-height: 1.2;
}

.hero-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-snapshot-grid div {
    display: grid;
    gap: 6px;
    min-height: 142px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero-snapshot-grid strong {
    font-size: 1rem;
    line-height: 1.24;
}

.hero-snapshot-grid small {
    color: var(--muted);
    line-height: 1.45;
}

.hero-mini-product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(17, 26, 122, 0.12);
    border-radius: 18px;
    background: #f8fafc;
}

.hero-mini-product img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2f7;
}

.hero-mini-product div {
    display: grid;
    gap: 6px;
}

.hero-mini-product strong {
    font-size: 1rem;
    line-height: 1.25;
}

.hero-mini-product p {
    margin: 0;
    color: var(--primary);
    font-weight: 900;
}

.hero-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-card-actions .btn {
    color: #fff;
}

.hero-card-actions .btn-light {
    color: var(--ink);
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section {
    padding: 82px 0;
}

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

.front-flow-section {
    padding-top: 64px;
    padding-bottom: 72px;
    background:
        linear-gradient(180deg, #ffffff, #f7f8fb);
}

.front-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.front-flow-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 242px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.front-flow-card::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -54px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(17, 26, 122, 0.07);
}

.front-flow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(17, 26, 122, 0.24);
    box-shadow: var(--shadow);
}

.front-flow-card i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: var(--primary);
    background: #eef2ff;
}

.front-flow-card strong {
    color: var(--primary-dark);
    font-size: 1.16rem;
    line-height: 1.24;
}

.front-flow-card small {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.front-flow-card.is-featured {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 17, 31, 0.32), transparent 34%),
        linear-gradient(145deg, var(--primary-dark), var(--primary));
}

.front-flow-card.is-featured span,
.front-flow-card.is-featured strong,
.front-flow-card.is-featured small {
    color: #fff;
}

.front-flow-card.is-featured i {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading h1,
.section-heading h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 0;
}

.section-heading.compact {
    align-items: center;
    margin-bottom: 16px;
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

.centered-heading p {
    max-width: 760px;
    margin: 10px auto 0;
    color: var(--muted);
}

.filters {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) auto;
    gap: 10px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17, 26, 122, 0.12);
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 15px;
    color: var(--ink);
    font-weight: 750;
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 12px 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(17, 26, 122, 0.18);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(5, 11, 63, 0.24);
}

.btn-small {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn-ghost {
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}

.hero .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.btn-light {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

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

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

.product-card,
.panel,
.summary,
.auth-card,
.stat-card,
.account-menu,
.admin-menu {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.admin-body {
    background: #eef2f6;
}

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

.admin-shell .admin-menu {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    border-width: 0 1px 0 0;
    box-shadow: none;
    background: #111827;
}

.admin-shell .admin-menu a {
    color: #cbd5e1;
}

.admin-shell .admin-menu a:hover {
    color: #fff;
    background: rgba(103, 232, 249, 0.12);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff !important;
}

.admin-logo-img {
    width: 170px;
    max-width: 100%;
    height: auto;
    padding: 0;
    border-radius: 8px;
    background: #000;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.2fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 74px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.admin-topbar strong {
    display: block;
    font-size: 1.05rem;
}

.admin-search input {
    min-height: 42px;
}

.search-page-hero {
    background: linear-gradient(135deg, rgba(5, 11, 63, 0.96), rgba(17, 26, 122, 0.92));
    color: #fff;
}

.search-hero-inner {
    max-width: 860px;
}

.search-hero-inner h1 {
    color: #fff;
    max-width: 760px;
}

.site-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 24px;
    max-width: 720px;
}

.site-search-form input {
    min-height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    padding: 0 16px;
    font: inherit;
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(100%, 620px);
    margin: 18px 0 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.home-search-form input {
    min-width: 0;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    font: inherit;
    color: #fff;
    background: rgba(15, 23, 42, 0.52);
}

.home-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.home-search-form button {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    color: #fff;
    background: var(--red);
    font-weight: 900;
    cursor: pointer;
}

.search-results-layout {
    display: grid;
    gap: 28px;
}

.search-result-section {
    display: grid;
    gap: 14px;
}

.search-result-section h3 {
    margin: 0;
    color: var(--ink);
}

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

.search-result-card {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.search-result-card span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.search-result-card strong {
    font-size: 1.08rem;
}

.search-result-card p {
    margin: 0;
    color: var(--muted);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.admin-badge,
.admin-profile {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 11px;
    color: var(--ink);
    background: #fff;
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-badge.attention {
    color: var(--warning);
    border-color: rgba(154, 106, 18, 0.26);
    background: #fffbeb;
}

.admin-ai-top-trigger {
    cursor: pointer;
}

.admin-page {
    padding: 26px;
}

.admin-page > .alert {
    margin-bottom: 18px;
}

.admin-content {
    display: grid;
    gap: 24px;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
}

.admin-page-head h1 {
    margin: 5px 0 8px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.admin-page-head p {
    margin: 0;
    color: var(--muted);
}

.period-tabs {
    display: inline-flex;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 5px;
    background: #fff;
}

.period-tabs a {
    border-radius: 7px;
    padding: 9px 12px;
    color: var(--muted);
    font-weight: 850;
}

.period-tabs a.active {
    color: #fff;
    background: var(--primary);
}

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

.metric-card {
    display: grid;
    gap: 8px;
    min-height: 154px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.metric-card.good {
    border-left-color: var(--success);
}

.metric-card.warning {
    border-left-color: var(--warning);
}

.metric-card.critical {
    border-left-color: var(--danger);
}

.metric-card.neutral {
    border-left-color: #94a3b8;
}

.metric-card span,
.ops-card span {
    color: var(--muted);
    font-weight: 850;
}

.metric-card strong {
    font-size: 2rem;
    line-height: 1;
}

.metric-card small {
    color: var(--muted);
}

.metric-card em {
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    color: #334155;
    background: #f1f5f9;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 850;
}

.dashboard-wide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
    gap: 24px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.panel-head h2 {
    margin: 5px 0 0;
}

.panel-head small {
    color: var(--muted);
    font-weight: 750;
}

.sales-chart {
    display: flex;
    align-items: end;
    gap: 5px;
    height: 260px;
    border-radius: 8px;
    padding: 16px;
    background: linear-gradient(180deg, #f8fafc, #eef5f7);
}

.sales-chart span {
    flex: 1;
    min-width: 5px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #06b6d4, #075985);
}

.funnel-list {
    display: grid;
    gap: 16px;
}

.funnel-list div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    align-items: center;
}

.funnel-list span {
    color: var(--muted);
    font-weight: 850;
}

.funnel-list strong {
    color: var(--ink);
}

.funnel-list em {
    grid-column: 1 / -1;
    display: block;
    height: 13px;
    border-radius: 999px;
    background: var(--primary);
}

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

.ops-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.ops-card strong {
    font-size: 1.8rem;
}

.ops-card small {
    color: var(--muted);
    font-weight: 850;
}

.good-text {
    color: var(--success) !important;
}

.warning-text {
    color: var(--warning) !important;
}

.critical-text {
    color: var(--danger) !important;
}

.neutral-text {
    color: var(--muted) !important;
}

.rich-empty {
    display: grid;
    gap: 10px;
    text-align: left;
}

.rich-empty strong {
    color: var(--ink);
    font-size: 1.2rem;
}

.rich-empty p {
    margin: 0;
}

.rich-empty div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stock-list.enhanced a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.stock-list.enhanced small,
.stock-list.enhanced em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
}

.stock-list.enhanced em {
    grid-column: 1 / -1;
    color: var(--primary);
    font-weight: 850;
}

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

.rank-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.rank-list div:last-child {
    border-bottom: 0;
}

.rank-list span {
    color: var(--muted);
}

.measurement-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 24px;
    align-items: center;
}

.measurement-card p {
    color: var(--muted);
}

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

.measurement-grid span {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f8fafc;
    font-weight: 800;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
}

.product-image img,
.detail-image img,
.cart-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    display: grid;
    gap: 14px;
    padding: 20px;
    flex: 1;
}

.product-body .btn {
    gap: 8px;
}

.product-body h3 {
    margin: 0;
    font-size: 1.2rem;
}

.product-body p,
.muted,
.site-footer p {
    color: var(--muted);
}

.product-meta,
.total-line,
.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.dual-price {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(8, 127, 140, 0.18);
    border-radius: 8px;
    padding: 12px;
    background: #f0fdfa;
}

.dual-price strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.dual-price span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 750;
}

.dual-price.compact {
    padding: 10px;
}

.ecommerce-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ecommerce-card:hover,
.product-card:hover,
.feature-box:hover,
.popular-service-grid article:hover,
.blog-card:hover,
.home-slide:hover,
.flash-offer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(17, 26, 122, 0.22);
    box-shadow: var(--shadow);
}

.ecommerce-card .product-image {
    aspect-ratio: 1 / 0.82;
}

.ecommerce-card .product-body {
    gap: 12px;
    padding: 16px;
}

.ecommerce-card h3 {
    min-height: 2.9em;
    line-height: 1.35;
}

.ecommerce-card .product-mini-bullets {
    margin: 0;
    min-height: 2.8em;
}

.commerce-price-box {
    display: grid;
    gap: 8px;
    text-align: center;
}

.card-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    color: var(--product-card-primary, #001d7a);
    line-height: 1;
}

.card-price-main strong {
    font-size: 1.25rem;
    font-weight: 900;
}

.card-price-main span {
    font-size: 0.82rem;
    font-weight: 850;
}

.cash-special-box {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 10px 8px;
    border: 2px dashed var(--product-card-accent, #ff7a1a);
    border-radius: 10px;
    color: #001d7a;
    background: #fffdf9;
}

.cash-special-box strong {
    font-size: 0.88rem;
    font-weight: 900;
}

.cash-special-box del {
    color: var(--product-card-primary, #001d7a);
    font-size: 0.88rem;
    line-height: 1;
}

.cash-special-box .cash-price {
    color: var(--product-card-primary, #001d7a);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
}

.cash-special-box small {
    color: #050505;
    font-size: 0.76rem;
    font-weight: 700;
}

.product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 10px;
    align-items: stretch;
    margin-top: 2px;
}

.product-view-btn {
    min-height: 44px;
    justify-content: center;
    background: var(--product-card-primary, #001d7a);
    border-color: var(--product-card-primary, #001d7a);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.product-view-btn:hover {
    background: #00145c;
    border-color: #00145c;
}

.btn-circle-icon {
    display: inline-grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 900;
}

.quick-view-btn {
    display: grid;
    min-height: 44px;
    place-items: center;
    border-radius: 10px;
    background: var(--product-card-eye-bg, #020202);
    color: #fff;
    text-decoration: none;
}

.quick-view-btn:hover {
    background: #1f2933;
}

.eye-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 999px / 720px;
}

.eye-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.ecommerce-card-compact .product-image {
    aspect-ratio: 4 / 3;
}

.ecommerce-card-compact h3 {
    min-height: 3.6em;
    font-size: 1.04rem;
}

.ecommerce-card-compact .card-price-main strong {
    font-size: 1.08rem;
}

.ecommerce-card-compact .product-card-actions {
    grid-template-columns: minmax(0, 1fr) 46px;
}

.compact-products {
    align-items: stretch;
}

.compact-products .product-card {
    min-height: 100%;
}

.compact-products .product-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

.compact-products .tag {
    min-height: 28px;
}

.compact-products .ecommerce-card-compact h3 {
    min-height: 4.4em;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.compact-products .commerce-price-box,
.compact-products .price-locked-box {
    min-height: 0;
}

.compact-products .product-card-actions {
    margin-top: auto;
    padding-top: 10px;
    grid-template-columns: minmax(0, 1fr) 54px;
    align-items: stretch;
}

.compact-products .product-card-actions form {
    min-width: 0;
}

.compact-products .product-view-btn,
.compact-products .product-advisor-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
}

.compact-products .product-view-btn {
    padding: 10px 12px;
    font-size: 0.86rem;
    line-height: 1.15;
}

.compact-products .product-advisor-btn {
    grid-template-rows: 20px auto;
    padding: 7px 6px;
    font-size: 0.67rem;
}

.product-meta strong,
.price-line {
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.price-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.price-option {
    display: grid;
    gap: 6px;
    border: 2px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.price-option.active {
    border-color: var(--primary);
    background: #ecfeff;
}

.price-option span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 850;
}

.price-option strong {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.login-required-box {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(8, 127, 140, 0.2);
    border-radius: 8px;
    padding: 16px;
    background: #f0fdfa;
}

.login-required-box p {
    margin: 0;
}

.login-required-box div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag,
.status {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--primary-dark);
    background: rgba(8, 127, 140, 0.12);
    font-size: 0.8rem;
    font-weight: 850;
}

.product-detail,
.two-columns,
.checkout-grid,
.account-grid,
.admin-layout {
    display: grid;
    gap: 28px;
}

.product-detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
}

.detail-image {
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-soft);
    box-shadow: var(--shadow);
}

.detail-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.inline-form {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    margin-top: 20px;
}

.two-columns,
.checkout-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.panel,
.summary {
    padding: 22px;
}

.payment-box {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #f9fbfc;
}

.payment-box h3 {
    margin: 0;
}

.payment-method-grid {
    display: grid;
    gap: 12px;
}

.payment-method-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.payment-method-card:hover,
.payment-method-card:focus-within {
    border-color: rgba(227, 6, 19, 0.45);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.payment-method-card input {
    margin-top: 4px;
}

.payment-method-card strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
}

.payment-method-card small {
    display: block;
    color: var(--muted);
    line-height: 1.55;
}

.checkout-success-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.08);
}

.checkout-success-box strong {
    color: #047857;
}

.checkout-form button[disabled] {
    opacity: 0.72;
    cursor: wait;
}

html[data-theme="dark"] .payment-box,
html[data-theme="dark"] .payment-method-card {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="dark"] .payment-method-card strong {
    color: #f8fafc;
}

html[data-theme="dark"] .checkout-success-box {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(52, 211, 153, 0.32);
}

.card-mock {
    display: grid;
    gap: 14px;
}

.card-visual {
    display: grid;
    gap: 12px;
    min-height: 132px;
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    background: linear-gradient(135deg, #111827, #075985);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.card-visual span {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 800;
}

.card-visual strong {
    align-self: end;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.cash-note {
    border-radius: 8px;
    padding: 14px;
    color: var(--muted);
    background: #fff;
}

.review-list {
    display: grid;
    gap: 12px;
}

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

.review span {
    color: var(--accent);
}

.auth-page {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 48px 16px;
}

.auth-card {
    width: min(460px, 100%);
    padding: 30px;
}

.auth-card-wide {
    width: min(540px, 100%);
}

.auth-lead {
    margin: -10px 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.recovery-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 20px;
}

.recovery-steps span {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--muted);
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 900;
}

.recovery-steps span.is-active {
    border-color: rgba(220, 22, 34, 0.32);
    background: rgba(220, 22, 34, 0.08);
    color: var(--primary);
}

.recovery-steps span.is-done {
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.auth-note-box {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.08);
    padding: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.auth-note-box strong {
    color: var(--ink);
}

.auth-card h1 {
    margin: 8px 0 22px;
}

.auth-link {
    color: var(--muted);
    text-align: center;
}

.auth-link a,
table a,
.link-button {
    color: var(--primary);
    font-weight: 800;
}

.password-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.password-control input {
    min-width: 0;
}

.password-control button {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--primary-dark);
    background: var(--surface-soft);
    font-weight: 850;
    cursor: pointer;
}

.password-help,
.auth-privacy-note {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.password-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -4px 0 12px;
    padding: 0;
    list-style: none;
}

.password-rules li {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.password-rules li.is-valid {
    color: #047857;
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(16, 185, 129, 0.1);
}

.legal-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.legal-consent input {
    margin-top: 4px;
}

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

.turnstile-box {
    margin: 10px 0 14px;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 30px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.order-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.order-resend-btn {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 0.78rem;
    white-space: nowrap;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

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

th {
    color: var(--muted);
    background: #f9fbfc;
    font-size: 0.86rem;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.cart-product img {
    width: 66px;
    height: 52px;
    border-radius: 8px;
}

.qty-input {
    max-width: 92px;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    padding: 14px;
}

.summary {
    align-self: start;
    display: grid;
    gap: 14px;
}

.total-line {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-size: 1.1rem;
}

.account-grid,
.admin-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
}

.account-menu,
.admin-menu {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 6px;
    padding: 16px;
}

.account-menu a,
.admin-menu a {
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--muted);
    font-weight: 800;
}

.account-menu a:hover,
.admin-menu a:hover {
    color: var(--primary);
    background: rgba(8, 127, 140, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.split-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 17, 31, 0.08), transparent 28%),
        #fff;
    box-shadow: var(--shadow-soft);
}

.split-showcase h2 {
    max-width: 760px;
    margin: 8px 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.split-showcase p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.trust-row span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--primary-dark);
    font-weight: 850;
    font-size: 0.9rem;
}

.popular-service-grid,
.specialty-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.popular-service-grid article,
.specialty-grid article,
.tool-link-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.popular-service-grid i,
.specialty-grid i {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: var(--primary);
    background: #eef2ff;
    font-size: 1.35rem;
}

.popular-service-grid h3,
.specialty-grid strong,
.tool-link-card h3 {
    margin: 0;
}

.popular-service-grid p,
.specialty-grid span,
.tool-link-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: stretch;
}

.story-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.commitment-card {
    display: grid;
    gap: 10px;
    align-content: center;
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    background: var(--primary-dark);
}

.commitment-card strong {
    font-size: 1.25rem;
}

.commitment-card span {
    padding: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 850;
}

.cta-band {
    color: #fff;
    background: var(--primary-dark);
}

.cta-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.cta-content h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.78);
}

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

.faq-list details {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.faq-list summary {
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 900;
}

.faq-list p {
    color: var(--muted);
    line-height: 1.7;
}

.stat-card {
    padding: 18px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 10px;
    color: var(--primary-dark);
    font-size: 2rem;
}

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

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: 18px;
    height: 18px;
}

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

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-action-card {
    display: grid;
    gap: 8px;
    min-height: 120px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.admin-action-card strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.admin-action-card span {
    color: var(--muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 24px;
}

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

.stock-list a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.stock-list strong {
    color: var(--danger);
}

.product-admin-filters {
    display: grid;
    gap: 16px;
}

.product-admin-table table {
    min-width: 1040px;
}

.product-admin-cell {
    min-width: 280px;
}

.product-admin-cell span {
    display: grid;
    gap: 3px;
}

.product-admin-cell small {
    color: var(--muted);
    font-size: 0.78rem;
}

.quick-product-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr)) auto;
    gap: 8px;
    align-items: end;
    min-width: 360px;
}

.quick-product-form label {
    display: grid;
    gap: 4px;
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quick-product-form input {
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: 0.86rem;
}

.product-review-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 150px;
}

.admin-editor-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.config-admin-page {
    gap: 28px;
}

.config-grouped-form {
    display: grid;
    gap: 22px;
}

.config-group-grid {
    display: grid;
    gap: 18px;
}

.config-group-card {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(31, 111, 235, 0.06), rgba(8, 127, 140, 0.04)),
        #fff;
}

.config-group-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.config-group-title h3 {
    margin: 0;
    color: var(--primary-dark);
}

.config-group-title p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.config-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.config-field-grid label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.config-field-grid label.is-wide {
    grid-column: 1 / -1;
}

.config-field-grid span {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.config-field-grid input,
.config-field-grid textarea {
    min-width: 0;
}

.config-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.config-form-footer p {
    margin: 0;
}

.config-admin-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.module-help {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(8, 127, 140, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    background: #f0fdfa;
}

.module-help p {
    margin: 0;
    color: var(--muted);
}

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

.module-guide-card {
    display: grid;
    gap: 8px;
    min-height: 130px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.module-guide-card:hover {
    border-color: var(--primary);
}

.module-guide-card span {
    color: var(--muted);
}

.ai-result {
    white-space: normal;
    line-height: 1.7;
    color: var(--ink);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.media-admin-layout {
    grid-template-columns: 340px minmax(0, 1fr);
}

.media-filter-panel {
    margin-bottom: 18px;
}

.media-bulk-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.media-bulk-panel div {
    display: grid;
    gap: 3px;
}

.media-filter-check {
    align-self: end;
    min-height: 44px;
}

.media-card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--surface-soft);
}

.media-card small {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.media-path {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.media-meta-row,
.media-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.media-meta-row span,
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
}

.media-meta-row span {
    color: #334155;
    background: #f1f5f9;
}

.status-pill.success {
    color: #047857;
    background: #dcfce7;
}

.status-pill.warning {
    color: #92400e;
    background: #fef3c7;
}

.status-pill.neutral {
    color: #475569;
    background: #e2e8f0;
}

.media-meta-form {
    display: grid;
    gap: 8px;
}

.admin-search.wide {
    max-width: none;
}

.admin-image-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f9fbfc;
}

.admin-image-preview img {
    width: 92px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.admin-image-preview span {
    color: var(--muted);
    font-size: 0.9rem;
    word-break: break-all;
}

.integration-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 950;
}

.integration-status.is-ready {
    color: #166534;
    background: #dcfce7;
    box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.16);
}

.integration-status.is-pending {
    color: #92400e;
    background: #fef3c7;
    box-shadow: inset 0 0 0 1px rgba(146, 64, 14, 0.16);
}

.google-setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.google-setup-panel {
    display: grid;
    gap: 14px;
}

.google-setup-panel h3,
.google-flow-panel h3 {
    margin: 0;
}

.google-setup-panel p,
.google-flow-panel p {
    margin: 0;
}

.setup-note {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
}

.setup-note strong {
    color: #0f172a;
    font-size: 0.85rem;
}

.setup-note span {
    color: #64748b;
    line-height: 1.5;
}

.setup-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 18px;
    color: #475569;
    line-height: 1.5;
}

.google-flow-panel {
    display: grid;
    gap: 18px;
}

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

.google-flow-grid article {
    display: grid;
    gap: 7px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
}

.google-flow-grid strong {
    color: #0f172a;
}

.google-flow-grid span {
    color: #64748b;
    line-height: 1.5;
}

.product-bullets,
.product-mini-bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.product-bullets {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.product-mini-bullets {
    display: grid;
    gap: 5px;
    font-size: 0.9rem;
}

.actions form {
    margin: 0;
}

.link-button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.link-button.danger {
    color: var(--danger);
}

.status-form select {
    min-width: 140px;
}

.hidden {
    display: none;
}

.site-footer {
    position: relative;
    padding: 54px 0 46px;
    color: var(--ink);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 0%, rgba(239, 17, 31, 0.07), transparent 24%),
        radial-gradient(circle at 90% 12%, rgba(17, 26, 122, 0.07), transparent 26%),
        #fbfcff;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.quick-section {
    background:
        linear-gradient(180deg, #ffffff, rgba(248, 250, 252, 0.8));
}

.home-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.home-slide {
    display: grid;
    grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-slide picture,
.home-slide img {
    width: 100%;
}

.home-slide img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--surface-soft);
}

.home-slide h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.home-slide p {
    color: var(--muted);
}

.home-slider-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-promo-heading {
    align-items: end;
    margin-bottom: 26px;
}

.home-promo-heading h2 {
    max-width: 650px;
    font-size: clamp(2.05rem, 3.5vw, 3.55rem);
    line-height: 1.02;
}

.home-promo-heading p {
    max-width: 620px;
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.65;
}

.home-slider-section .home-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-slider-section .home-slide {
    grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1fr);
    min-height: 176px;
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.home-slider-section .home-slide img {
    aspect-ratio: 1.32 / 1;
    border-radius: 16px;
}

.home-slider-section .home-slide div {
    min-width: 0;
}

.home-slider-section .home-slide h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.25;
}

.home-slider-section .home-slide p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.home-slider-section .home-slide .btn {
    padding-inline: 14px;
}

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

.flash-offer-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.flash-offer-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    background: var(--surface-soft);
}

.flash-offer-card h3,
.flash-offer-card p {
    margin: 6px 0;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0;
}

.offer-price del {
    color: var(--muted);
}

.offer-price strong {
    color: var(--danger);
    font-size: 1.3rem;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 10px 0;
}

.countdown span {
    display: grid;
    min-height: 34px;
    place-items: center;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-weight: 850;
    font-size: 0.85rem;
}

.feature-box {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 190px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 22px 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: rgba(17, 26, 122, 0.22);
    box-shadow: var(--shadow);
}

.feature-box svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    padding: 10px;
    border-radius: 16px;
    background: #eef2ff;
}

.feature-box:nth-child(2) svg {
    color: var(--success);
}

.feature-box:nth-child(3) svg {
    color: var(--danger);
}

.feature-box:nth-child(4) svg {
    color: var(--accent);
}

.feature-box:nth-child(5) svg {
    color: #4f46e5;
}

.feature-box h3 {
    margin: 0;
    font-size: 1.05rem;
}

.feature-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.tools-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.4fr;
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
    border-top: 4px solid #4f46e5;
    border-radius: 8px;
    padding: 24px;
    background: #eef2ff;
    box-shadow: var(--shadow);
}

.tools-panel > div:first-child {
    display: grid;
    gap: 10px;
}

.tools-panel svg {
    width: 44px;
    height: 44px;
    color: #4f46e5;
}

.tools-panel h3,
.tools-panel p {
    margin: 0;
}

.tools-panel p {
    color: var(--muted);
}

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

.mini-card {
    display: flex;
    align-items: center;
    min-height: 94px;
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 8px;
    padding: 16px;
    color: #3730a3;
    background: #fff;
    font-weight: 850;
}

.service-list {
    display: grid;
    gap: 18px;
}

.service-category {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.service-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 16px 18px;
    color: var(--primary-dark);
    background: #e7fbff;
    font-size: 1.08rem;
}

.service-category h3 svg {
    color: var(--primary);
}

.service-category div {
    padding: 18px;
}

.service-category h4 {
    margin: 0 0 8px;
}

.service-category p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.65;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.shop-sidebar h3 {
    margin: 0 0 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.shop-sidebar a {
    border-radius: 8px;
    padding: 9px 10px;
    color: var(--muted);
    font-weight: 750;
}

.shop-sidebar a:hover {
    color: var(--primary);
    background: rgba(8, 127, 140, 0.08);
}

.shop-promo-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 26px;
    padding: 22px;
    border: 1px solid rgba(217, 154, 43, 0.35);
    border-radius: 8px;
    background: #fff8eb;
}

.shop-promo-band h2 {
    margin: 6px 0;
}

.shop-promo-band p {
    color: var(--muted);
}

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

.shop-promo-list a {
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
}

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

.config-grid,
.pc-builder,
.contact-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.tool-card {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.tool-card h3,
.block-title {
    margin: 0;
    color: var(--primary-dark);
}

.estimate-list {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    color: var(--muted);
}

.estimate-list strong {
    color: var(--ink);
}

.smart-plan {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 360px;
    margin-top: 14px;
    border-radius: 8px;
    padding: 40px;
    background:
        linear-gradient(rgba(229, 231, 235, 0.7), rgba(229, 231, 235, 0.7)),
        url("../img/sections/smart-home.svg") center/cover;
    box-shadow: inset 0 2px 18px rgba(31, 41, 51, 0.12);
}

.smart-plan button,
.profile-btn {
    border: 1px solid rgba(8, 127, 140, 0.22);
    border-radius: 8px;
    padding: 14px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 850;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.gallery-grid img,
.project-card img,
.blog-card img {
    width: 100%;
    object-fit: cover;
}

.gallery-grid img {
    height: 210px;
    border-radius: 8px;
}

.pc-builder {
    grid-template-columns: minmax(0, 1.5fr) 360px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-btn.active {
    color: #fff;
    background: var(--primary);
}

.dark-summary {
    color: #e5edf2;
    border-color: #2b3945;
    background: #1f2933;
}

.dark-summary h3,
.dark-summary strong {
    color: #66e4f3;
}

.dark-summary p {
    color: #cbd5e1;
}

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

.project-card,
.blog-card {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.project-card::after,
.blog-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.82;
}

.project-card img,
.blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background:
        linear-gradient(135deg, rgba(17, 26, 122, 0.1), rgba(239, 17, 31, 0.08)),
        var(--surface-soft);
}

.project-card div,
.blog-card div {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.project-card h3,
.blog-card h3 {
    margin: 0;
    color: var(--primary-dark);
    line-height: 1.24;
}

.project-card p,
.blog-card p {
    margin: 0;
    color: var(--muted);
}

.project-card strong {
    color: var(--success);
}

.blog-card span {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--primary-dark);
    background: #eef2ff;
    font-size: 0.82rem;
    font-weight: 850;
}

.contact-section {
    background: var(--surface-soft);
}

.contact-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.policy-summary {
    position: sticky;
    top: 96px;
}

.policy-content {
    display: grid;
    gap: 16px;
}

.policy-content h2,
.policy-content h3 {
    margin-top: 0;
}

.policy-content p,
.policy-summary p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 180px;
    border-radius: 8px;
    color: var(--muted);
    background: #e5e7eb;
}

.contact-hero {
    padding: 66px 0 48px;
    color: #ffffff;
    background: #071038;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 38px;
    align-items: center;
}

.contact-hero .eyebrow {
    color: #ffccd1;
}

.contact-hero h1 {
    max-width: 840px;
    margin: 12px 0 16px;
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1;
}

.contact-hero p {
    max-width: 710px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.72;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-hero-actions .btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.contact-response-card {
    display: grid;
    gap: 13px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
}

.contact-response-card > span {
    color: #ffccd1;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-response-card strong {
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.1;
}

.contact-response-card p {
    font-size: 0.94rem;
}

.contact-response-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-response-points small {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.76);
    font-weight: 850;
}

.contact-modern-section {
    background: #f6f8fb;
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 26px;
    align-items: start;
}

.contact-form-card,
.contact-priority-card,
.contact-location-card {
    border: 1px solid #dde5f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.contact-form-card {
    display: grid;
    gap: 18px;
    padding: 30px;
    border-top: 4px solid var(--accent);
}

.contact-form-section {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(214, 222, 235, 0.86);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.contact-form-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(214, 222, 235, 0.78);
}

.contact-form-section-title span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-form-section-title strong {
    color: var(--ink);
    font-size: 1.02rem;
}

.contact-phone-grid {
    display: grid;
    grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
    gap: 16px;
}

.contact-location-status {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    font-weight: 700;
}

.contact-form-card h2,
.contact-priority-card h2,
.contact-final-cta h2 {
    margin: 0;
    color: var(--primary-dark);
    line-height: 1.08;
}

.contact-form-card h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.contact-form-card > p,
.contact-priority-card p,
.contact-location-card p,
.contact-final-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-form-card label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 900;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d6deeb;
    border-radius: 13px;
    background: #fbfcfe;
    color: var(--ink);
    padding: 0 14px;
    font-weight: 650;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form-card textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(17, 26, 122, 0.1);
}

.contact-form-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-top: 4px;
}

.contact-form-footer .btn {
    min-height: 52px;
    padding-inline: 26px;
}

.contact-form-footer small {
    color: #64748b;
    line-height: 1.55;
}

.contact-side {
    display: grid;
    gap: 18px;
}

.contact-priority-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    color: #ffffff;
    border-color: #071038;
    background: #071038;
}

.contact-priority-card .eyebrow {
    color: #ffccd1;
}

.contact-priority-card h2,
.contact-priority-card p {
    color: #ffffff;
}

.contact-priority-card p {
    color: rgba(255, 255, 255, 0.76);
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-channel-card {
    display: grid;
    gap: 8px;
    min-height: 138px;
    padding: 18px;
    border: 1px solid #dde5f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

a.contact-channel-card:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 26, 122, 0.22);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.contact-channel-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 950;
}

.contact-channel-card small {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-channel-card strong {
    color: var(--primary-dark);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-location-card {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.contact-location-card h3 {
    margin: 8px 0 10px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.contact-map-card {
    display: grid;
    gap: 8px;
    min-height: 160px;
    align-content: end;
    padding: 20px;
    border: 1px solid #dce3ee;
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        #f8fafc;
    background-size: 26px 26px;
}

.contact-map-card span {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.contact-map-card strong {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.contact-map-card small {
    color: var(--muted);
    font-weight: 750;
}

.contact-final-section {
    padding-top: 22px;
}

.contact-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 32px;
    border: 1px solid rgba(239, 17, 31, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.contact-final-cta h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.institution-hero,
.tool-hero {
    padding: 68px 0 52px;
    color: #ffffff;
    background: linear-gradient(135deg, #071038 0%, #121c57 100%);
}

.institution-hero-grid,
.tool-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
    align-items: center;
}

.institution-hero .eyebrow,
.tool-hero .eyebrow {
    color: #ffccd1;
}

.institution-hero h1,
.tool-hero h1 {
    max-width: 860px;
    margin: 12px 0 16px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1;
}

.institution-hero p,
.tool-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.72;
}

.institution-card,
.tool-hero-panel {
    display: grid;
    gap: 12px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.institution-card strong,
.tool-hero-panel strong {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.15;
}

.institution-card span,
.tool-hero-panel span {
    color: #ffccd1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.76rem;
}

.institution-section {
    background: #ffffff;
}

.institution-story .story-panel,
.institution-values .panel,
.institution-specialty-grid article {
    border-radius: 18px;
    border-color: #dde5f0;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.institution-commitment {
    border-radius: 18px;
}

.institution-specialty-grid article {
    min-height: 170px;
    padding: 24px;
    background: #ffffff;
}

.policy-layout-modern {
    align-items: start;
}

.policy-nav {
    display: grid;
    gap: 6px;
    margin: 14px 0 18px;
}

.policy-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: #475569;
    font-weight: 850;
    background: #f8fafc;
}

.policy-nav a:hover {
    color: var(--primary);
    background: #eef2ff;
}

.policy-note {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 16px;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    background: #fff7f7;
}

.policy-note p {
    margin: 0;
}

.policy-content-modern .panel {
    border-radius: 18px;
    border-color: #dde5f0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.policy-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tool-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tool-hero-actions .btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.tool-access-note {
    width: fit-content;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 850;
}

.tool-workspace {
    background: #f6f8fb;
}

.tool-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.tool-summary-card {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid #dde5f0;
    border-top: 4px solid var(--accent);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.tool-summary-card h2,
.tool-main h2 {
    margin: 0;
    color: var(--primary-dark);
}

.tool-summary-card p,
.tool-main p {
    color: var(--muted);
    line-height: 1.65;
}

.tool-selected-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tool-selected-list li {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--primary-dark);
    background: #f8fafc;
    font-weight: 850;
}

.tool-price-lock,
.compatibility-box {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fbfcfe;
}

.tool-price-lock strong,
.compatibility-box strong {
    color: var(--primary-dark);
}

.tool-price-lock span,
.compatibility-box span {
    color: var(--muted);
    line-height: 1.55;
}

.tool-summary-actions {
    display: grid;
    gap: 10px;
}

.tool-main {
    display: grid;
    gap: 24px;
}

.smart-zone-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.smart-zone-board button,
.pc-profile-grid button {
    cursor: pointer;
    text-align: left;
    border: 1px solid #dde5f0;
    border-radius: 16px;
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.smart-zone-board button {
    display: grid;
    gap: 8px;
    padding: 18px;
    font-weight: 950;
}

.smart-zone-board button span,
.tool-icon,
.pc-profile-grid button span,
.component-grid article > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--primary);
    background: #eef2ff;
    font-weight: 950;
    font-size: 0.76rem;
}

.smart-zone-board button.active,
.smart-zone-board button:hover,
.pc-profile-grid button.active,
.pc-profile-grid button:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 17, 31, 0.26);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.tool-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tool-option-card,
.kit-strip article,
.builder-step,
.component-grid article {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid #dde5f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.tool-option-head {
    display: flex;
    gap: 14px;
    align-items: center;
}

.tool-option-head small,
.kit-strip article > span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tool-option-card h3,
.kit-strip h3,
.builder-step h3,
.component-grid h3 {
    margin: 0;
    color: var(--primary-dark);
}

.tool-option-card ul,
.component-grid ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.tool-option-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.tool-option-footer strong,
.kit-strip strong {
    color: var(--primary-dark);
}

.compact-heading {
    margin-bottom: 0;
}

.kit-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.pc-profile-grid button {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.pc-profile-grid button strong {
    font-size: 1.05rem;
}

.pc-profile-grid button small,
.pc-profile-grid button em {
    color: var(--muted);
    line-height: 1.5;
    font-style: normal;
}

.builder-flow,
.component-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.builder-step > span {
    color: var(--accent);
    font-weight: 950;
}

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

.nav-public-menu > div {
    right: auto;
    left: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.site-footer span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.site-footer strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    letter-spacing: 0;
}

.site-footer p {
    color: var(--muted);
}

.footer-logo {
    display: block;
    width: min(250px, 100%);
    height: auto;
    margin-bottom: 14px;
    padding: 0;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 18px 32px rgba(5, 11, 63, 0.14);
}

.site-footer a {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 9px 0;
    color: var(--muted);
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer a:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

@media (max-width: 980px) {
    .product-grid,
    .stats-grid,
    .admin-actions-grid,
    .dashboard-grid,
    .admin-editor-grid,
    .config-admin-grid,
    .admin-shell,
    .admin-topbar,
    .metric-grid,
    .dashboard-wide-grid,
    .module-guide-grid,
    .google-setup-grid,
    .google-flow-grid,
    .ops-grid,
    .measurement-card,
    .compact-products,
    .shop-products,
    .flash-offer-grid,
    .front-flow-grid,
    .project-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail,
    .two-columns,
    .checkout-grid,
    .account-grid,
    .admin-layout,
    .shop-layout,
    .shop-promo-band,
    .config-grid,
    .pc-builder,
    .contact-grid,
    .policy-layout,
    .tools-panel {
        grid-template-columns: 1fr;
    }

    .split-showcase,
    .story-grid,
    .cta-content {
        grid-template-columns: 1fr;
    }

    .account-menu,
    .admin-menu,
    .shop-sidebar {
        position: static;
    }

    .admin-shell .admin-menu {
        position: static;
        height: auto;
        border-radius: 0;
    }

    .admin-topbar-actions {
        flex-wrap: wrap;
    }

    .filters {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .feature-grid,
    .popular-service-grid,
    .specialty-grid,
    .tools-grid,
    .mini-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .home-slide,
    .flash-offer-card {
        grid-template-columns: 1fr;
    }

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

    .hero-card-brand,
    .hero-snapshot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1120px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
        padding: 8px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px;
        border-radius: 8px;
    }

    .nav-account > button {
        width: 100%;
        justify-content: flex-start;
        border-radius: 8px;
        text-align: left;
    }

    .nav-account > div {
        position: static;
        display: grid;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
        border-radius: 8px;
        background: #f8fafc;
    }

    .site-nav a:hover {
        background: rgba(8, 127, 140, 0.08);
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 470px;
    }

    .section {
        padding: 46px 0;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .product-grid,
    .stats-grid,
    .form-grid,
    .admin-actions-grid,
    .dashboard-grid,
    .admin-editor-grid,
    .config-admin-grid,
    .metric-grid,
    .dashboard-wide-grid,
    .module-guide-grid,
    .ops-grid,
    .measurement-card,
    .measurement-grid,
    .compact-products,
    .shop-products,
    .home-slider,
    .flash-offer-grid,
    .front-flow-grid,
    .feature-grid,
    .popular-service-grid,
    .specialty-grid,
    .tools-grid,
    .mini-card-grid,
    .project-grid,
    .blog-grid,
    .gallery-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .config-field-grid {
        grid-template-columns: 1fr;
    }

    .config-group-title,
    .config-form-footer {
        display: grid;
    }

    .smart-plan {
        grid-template-columns: 1fr;
        min-height: 420px;
        padding: 24px;
    }

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

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

    .hero-commerce-card {
        padding: 18px;
    }

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

/* Stitch MCP: Elyon Precision refinement layer. */
:root {
    --bg: #f9f9f9;
    --surface: #ffffff;
    --surface-soft: #f3f3f3;
    --ink: #1a1c1c;
    --muted: #5f6368;
    --line: rgba(143, 111, 108, 0.18);
    --primary: #af101a;
    --primary-dark: #1a237e;
    --accent: #d32f2f;
    --danger: #af101a;
    --shadow: 0 20px 40px rgba(26, 28, 28, 0.06);
    --shadow-soft: 0 12px 28px rgba(26, 28, 28, 0.045);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0, #f9f9f9 360px),
        var(--bg);
}

.site-header {
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 20px 40px rgba(26, 28, 28, 0.045);
}

.site-header::after {
    height: 1px;
    opacity: 0.3;
}

.site-nav a,
.nav-cart,
.nav-account > button,
.btn,
button.btn,
input,
select,
textarea,
.alert {
    border-radius: 6px;
}

.btn,
button.btn {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: none;
}

.btn:hover {
    box-shadow: 0 20px 40px rgba(175, 16, 26, 0.16);
}

.btn-ghost,
.btn-light,
.hero .btn-ghost {
    border-color: rgba(26, 35, 126, 0.16);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.hero {
    min-height: 680px;
    background:
        radial-gradient(circle at 80% 16%, rgba(211, 47, 47, 0.28), transparent 24%),
        linear-gradient(112deg, #10164f 0%, #1a237e 58%, #af101a 150%);
}

.hero::before {
    inset: 52px 32px;
    border-color: rgba(255, 255, 255, 0.06);
    opacity: 0.72;
}

.modern-hero .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
    gap: 58px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3.1rem, 6.2vw, 6rem);
}

.hero p {
    max-width: 650px;
}

.hero-benefits span,
.hero-metrics span,
.nav-cart,
.pill,
.blog-card span,
.tag,
.status,
.trust-row span {
    border-radius: 6px;
}

.hero-card,
.hero-snapshot-grid div,
.hero-mini-product,
.front-flow-card,
.home-slide,
.flash-offer-card,
.feature-box,
.popular-service-grid article,
.specialty-grid article,
.tool-link-card,
.project-card,
.blog-card,
.ecommerce-card,
.product-card,
.panel,
.summary,
.auth-card,
.stat-card {
    border-color: rgba(143, 111, 108, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.hero-card {
    background: rgba(255, 255, 255, 0.94);
}

.hero-card img,
.hero-mini-product img,
.home-slide img,
.flash-offer-card img,
.product-image,
.footer-logo {
    border-radius: 6px;
}

.front-flow-section,
.quick-section,
.section-soft {
    background: #f3f3f3;
}

.front-flow-grid {
    gap: 20px;
}

.front-flow-card {
    min-height: 260px;
    background: #ffffff;
}

.front-flow-card::after {
    background: rgba(26, 35, 126, 0.06);
}

.front-flow-card.is-featured {
    background:
        radial-gradient(circle at 110% -10%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(145deg, #1a237e, #10164f 58%, #af101a 140%);
}

.front-flow-card i,
.popular-service-grid i,
.specialty-grid i,
.feature-box svg {
    border-radius: 6px;
    color: var(--primary-dark);
    background: #e0e0ff;
}

.section-heading h1,
.section-heading h2 {
    max-width: 780px;
}

.split-showcase {
    border-color: transparent;
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(211, 47, 47, 0.08), transparent 30%),
        #ffffff;
    box-shadow: var(--shadow-soft);
}

.blog-card::after,
.project-card::after,
.site-footer::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

@media (max-width: 980px) {
    .modern-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero {
        min-height: 0;
        padding: 72px 0;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 0;
        padding: 54px 0;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.4rem);
    }

    .hero-metrics,
    .hero-snapshot-grid,
    .hero-card-brand,
    .hero-card-actions {
        grid-template-columns: 1fr;
    }

    .front-flow-card {
        min-height: 0;
    }
}

/* Stitch MCP: Vanguard Monolith premium tech layer. */
:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #f1f4f8;
    --ink: #111827;
    --muted: #5d6677;
    --line: rgba(17, 24, 39, 0.1);
    --primary: #b6171e;
    --primary-dark: #0d1c32;
    --accent: #e33235;
    --danger: #b6171e;
    --shadow: 0 22px 55px rgba(13, 28, 50, 0.11);
    --shadow-soft: 0 14px 36px rgba(13, 28, 50, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background:
        linear-gradient(180deg, #ffffff 0, #f7f9fc 420px),
        radial-gradient(circle at 8% 16%, rgba(182, 23, 30, 0.08), transparent 24%),
        var(--bg);
}

.container {
    max-width: 1180px;
}

.site-header {
    border-bottom: 1px solid rgba(13, 28, 50, 0.08);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.brand-logo {
    max-height: 48px;
    width: auto;
}

.site-nav {
    gap: 8px;
}

.site-nav a,
.nav-account > button,
.nav-cart {
    color: #273247;
    font-weight: 800;
}

.site-nav a:hover,
.nav-account > button:hover {
    color: var(--primary);
    background: rgba(182, 23, 30, 0.06);
}

.btn,
button.btn,
.hero .btn {
    min-height: 46px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    letter-spacing: 0;
}

.btn:hover,
button.btn:hover {
    background: #981219;
    transform: translateY(-1px);
}

.btn-ghost,
.btn-light,
.hero .btn-ghost {
    border: 1px solid rgba(13, 28, 50, 0.16);
    background: #ffffff;
    color: var(--primary-dark);
}

.hero {
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(13, 28, 50, 0.88), rgba(13, 28, 50, 0.62)),
        radial-gradient(circle at 74% 20%, rgba(227, 50, 53, 0.35), transparent 24%),
        linear-gradient(112deg, #0d1c32 0%, #17243d 62%, #39475f 100%);
}

.hero::before {
    inset: 48px 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -34% 52%;
    height: 58%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 64px);
    transform: skewY(-8deg);
}

.modern-hero .hero-content {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.76fr);
    gap: 72px;
}

.hero .eyebrow {
    color: #ff6a70;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(3.3rem, 6.4vw, 6.25rem);
    line-height: 0.96;
}

.hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.06rem;
}

.hero-benefits {
    margin-top: 22px;
}

.hero-benefits span,
.hero-metrics span {
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

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

.hero-metrics strong {
    color: #ffffff;
}

.hero-commerce-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.hero-card-brand {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(13, 28, 50, 0.08);
}

.hero-card-brand img {
    background: #060606;
}

.hero-card-brand span,
.hero-snapshot-grid span,
.hero-mini-product span,
.front-flow-card span {
    color: var(--primary);
}

.hero-snapshot-grid div,
.hero-mini-product {
    border-radius: 4px;
    border-color: rgba(13, 28, 50, 0.1);
    background: #f7f9fc;
}

.hero-mini-product img {
    border-radius: 4px;
    background: #ffffff;
}

.tech-category-band {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding: 0 0 42px;
}

.tech-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(13, 28, 50, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.tech-category-grid a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 14px;
    border-radius: 4px;
    color: var(--primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.tech-category-grid a:hover {
    background: var(--surface-soft);
    color: var(--primary);
    transform: translateY(-1px);
}

.tech-category-grid svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 4px;
    background: #edf1f7;
    color: var(--primary);
}

.front-flow-section,
.quick-section,
.section-soft {
    background:
        linear-gradient(180deg, #f7f9fc, #eef2f7);
}

.centered-heading {
    text-align: center;
}

.centered-heading > div {
    margin-inline: auto;
}

.section-heading h1,
.section-heading h2 {
    color: var(--primary-dark);
    line-height: 1.05;
}

.front-flow-card,
.feature-box,
.popular-service-grid article,
.blog-card,
.home-slide,
.flash-offer-card,
.product-card,
.split-showcase,
.trust-tech-grid article {
    border-radius: 6px;
    border: 1px solid rgba(13, 28, 50, 0.09);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(13, 28, 50, 0.055);
}

.front-flow-card:hover,
.feature-box:hover,
.popular-service-grid article:hover,
.blog-card:hover,
.home-slide:hover,
.flash-offer-card:hover,
.product-card:hover,
.trust-tech-grid article:hover {
    border-color: rgba(182, 23, 30, 0.2);
    box-shadow: var(--shadow-soft);
}

.front-flow-card::after {
    background: rgba(13, 28, 50, 0.05);
}

.front-flow-card.is-featured {
    background:
        linear-gradient(145deg, rgba(13, 28, 50, 0.96), rgba(23, 36, 61, 0.96)),
        radial-gradient(circle at 100% 0, rgba(182, 23, 30, 0.42), transparent 24%);
}

.front-flow-card i,
.popular-service-grid i,
.specialty-grid i,
.feature-box svg,
.trust-tech-grid svg {
    border-radius: 4px;
    background: #edf1f7;
    color: var(--primary);
}

.trust-tech-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.trust-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-tech-grid article {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.trust-tech-grid svg {
    width: 48px;
    height: 48px;
    padding: 12px;
}

.trust-tech-grid span {
    color: var(--primary-dark);
    font-size: 1.04rem;
    font-weight: 900;
}

.trust-tech-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.split-showcase {
    background:
        linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%);
}

.product-card-actions .btn {
    border-radius: 4px;
    background: var(--product-card-primary, #001d7a);
}

.product-card-actions .product-view {
    border-radius: 4px;
}

.site-footer {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.footer-logo {
    max-width: 220px;
    background: #050505;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 17px;
    border-radius: 4px;
    background: #128c7e;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(18, 140, 126, 0.26);
}

.floating-whatsapp:hover {
    background: #0f766c;
    transform: translateY(-2px);
}

.floating-whatsapp svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 980px) {
    .tech-category-grid,
    .trust-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modern-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero {
        min-height: 0;
        padding: 72px 0 92px;
    }

    .tech-category-band {
        margin-top: -54px;
    }
}

@media (max-width: 760px) {
    .brand-logo {
        max-height: 38px;
    }

    .hero {
        padding: 58px 0 84px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.6rem);
    }

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

    .hero-metrics,
    .tech-category-grid,
    .trust-tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-category-band {
        padding-bottom: 22px;
    }

    .tech-category-grid a {
        min-height: 60px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        min-height: 44px;
        padding: 0 13px;
    }
}

/* Stitch MCP: Home Premium conversion layer. */
.solutions-studio-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.solution-studio-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 54px;
}

.solution-studio-grid h2,
.tech-cta h2 {
    margin: 8px 0 16px;
    color: var(--primary-dark);
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    line-height: 1;
}

.solution-studio-grid p,
.tech-cta p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.78;
}

.solution-checks {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
}

.solution-checks span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 850;
}

.solution-checks svg {
    width: 20px;
    height: 20px;
    padding: 4px;
    border-radius: 4px;
    background: rgba(182, 23, 30, 0.09);
    color: var(--primary);
}

.solution-console {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(13, 28, 50, 0.98), rgba(23, 36, 61, 0.96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 72px);
    color: #ffffff;
    box-shadow: 0 32px 80px rgba(13, 28, 50, 0.24);
}

.solution-console::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.solution-console-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.solution-console-head span,
.solution-console-grid span,
.solution-console-status span {
    color: #ff6a70;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.solution-console-head strong {
    font-size: 1.08rem;
}

.solution-console-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.solution-console-grid article {
    display: grid;
    gap: 12px;
    min-height: 164px;
    padding: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.solution-console-grid svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.solution-console-grid strong {
    align-self: end;
    font-size: 1.05rem;
    line-height: 1.2;
}

.solution-console-status {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
    border-radius: 4px;
    background: #ffffff;
    color: var(--primary-dark);
}

.solution-console-status a {
    color: var(--primary);
    font-weight: 950;
    text-decoration: none;
}

.process-section {
    position: relative;
}

.process-grid {
    counter-reset: process;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-grid li {
    min-height: 252px;
    padding: 26px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(13, 28, 50, 0.055);
}

.process-grid span {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 950;
}

.process-grid h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 1.28rem;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.64;
}

.tech-cta-section {
    padding-top: 34px;
    background: #ffffff;
}

.tech-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 42px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, #0d1c32 0%, #17243d 74%, #273a5c 100%);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(13, 28, 50, 0.18);
}

.tech-cta .eyebrow {
    color: #ff6a70;
}

.tech-cta h2,
.tech-cta p {
    color: #ffffff;
}

.tech-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.tech-cta-actions {
    display: grid;
    gap: 12px;
    min-width: 230px;
}

.tech-cta .btn-ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@media (max-width: 980px) {
    .solution-studio-grid,
    .tech-cta {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .solution-studio-grid {
        gap: 28px;
    }

    .solution-console {
        padding: 18px;
    }

    .solution-console-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .solution-console-status {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .process-grid li {
        min-height: 0;
        padding: 22px;
    }

    .process-grid span {
        margin-bottom: 18px;
    }

    .tech-cta {
        padding: 26px;
    }

    .tech-cta-actions {
        min-width: 0;
    }
}

/* Example-inspired final storefront skin. No external Tailwind dependency. */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --ink: #1e293b;
    --muted: #64748b;
    --primary: #d71920;
    --primary-dark: #0f172a;
    --accent: #3b82f6;
    --danger: #d71920;
    --line: rgba(15, 23, 42, 0.08);
    --shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--bg);
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.glass-header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 80px;
}

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

.brand-letter {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    background: #0f172a;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 950;
    line-height: 1;
    transition: transform 0.2s ease;
}

.brand:hover .brand-letter {
    transform: rotate(6deg);
}

.brand-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    gap: 18px;
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-nav > a:not(.btn),
.nav-account > button,
.nav-cart {
    position: relative;
    min-height: 40px;
    padding: 10px 0;
    border-radius: 0;
    color: #475569;
    letter-spacing: 0;
    background: transparent;
}

.site-nav > a:not(.btn)::after,
.nav-account > button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.site-nav > a:not(.btn):hover,
.nav-account > button:hover {
    color: #0f172a;
    background: transparent;
}

.site-nav > a:not(.btn):hover::after,
.nav-account > button:hover::after {
    width: 100%;
}

.nav-support {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    text-transform: none !important;
}

.nav-support strong {
    font-size: 0.86rem;
    line-height: 1;
}

.nav-support small {
    max-width: 138px;
    overflow: hidden;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-support::after {
    display: none;
}

.nav-support span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.nav-support.is-closed span {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.btn,
button.btn,
.hero .btn {
    min-height: 46px;
    border-radius: 12px;
    border: 0;
    background: var(--primary);
    color: #ffffff;
    box-shadow: none;
    font-weight: 950;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
button.btn:hover {
    background: #a91118;
    box-shadow: 0 10px 15px -3px rgba(215, 25, 32, 0.3);
    transform: translateY(-1px) scale(1.01);
}

.btn-ghost,
.btn-light,
.hero .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.hero {
    min-height: 730px;
    padding: 96px 0 128px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(215, 25, 32, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.11;
}

.hero::after {
    display: none;
}

.modern-hero .hero-content {
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    gap: 64px;
}

.hero .eyebrow {
    display: inline-flex;
    padding: 9px 16px;
    border: 1px solid rgba(215, 25, 32, 0.22);
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.12);
    color: #ef4444;
    font-size: 0.73rem;
    font-weight: 950;
}

.hero h1 {
    max-width: 850px;
    margin: 22px 0 26px;
    color: #ffffff;
    font-size: clamp(3.2rem, 6.1vw, 6.6rem);
    font-weight: 950;
    line-height: 1.04;
}

.hero h1::first-letter {
    color: #ffffff;
}

.hero p {
    max-width: 700px;
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    gap: 14px;
    margin-top: 30px;
}

.hero-actions .btn {
    min-height: 56px;
    padding-inline: 28px;
    font-size: 1rem;
}

.hero-benefits {
    gap: 10px;
    margin-top: 32px;
}

.hero-benefits span {
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.9rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 42px;
    padding-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics span {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.hero-metrics strong {
    display: inline;
    color: #ffffff;
}

.hero-commerce-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 0;
    border-radius: 28px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.hero-commerce-card::before {
    content: "";
    position: absolute;
    top: -58px;
    right: -58px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.06);
    transition: transform 0.25s ease;
}

.hero-commerce-card:hover::before {
    transform: scale(1.35);
}

.hero-card-brand {
    position: relative;
    z-index: 1;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding-bottom: 6px;
    border-bottom: 0;
}

.hero-card-brand img {
    width: 72px;
    min-height: 72px;
    padding: 8px;
    border-radius: 18px;
    background: #0f172a;
    object-fit: contain;
}

.hero-card-brand span,
.hero-snapshot-grid span,
.hero-mini-product span,
.front-flow-card span {
    color: #d71920;
}

.hero-card-brand strong {
    color: #0f172a;
    font-size: 1.15rem;
}

.hero-snapshot-grid {
    position: relative;
    z-index: 1;
}

.hero-snapshot-grid div,
.hero-mini-product,
.hero-ops-list span {
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    background: #f8fafc;
}

.hero-snapshot-grid div {
    min-height: 118px;
}

.hero-snapshot-grid strong {
    color: #0f172a;
}

.hero-mini-product {
    position: relative;
    z-index: 1;
}

.hero-mini-product img {
    border-radius: 14px;
    background: #f1f5f9;
}

.hero-ops-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.hero-ops-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 12px 14px;
}

.hero-ops-list strong {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-ops-list small {
    padding: 4px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-card-actions {
    position: relative;
    z-index: 1;
}

.hero-card-actions .btn-light {
    border: 1px solid #e2e8f0;
    background: #0f172a;
    color: #ffffff;
}

.tech-category-band {
    margin-top: -56px;
    padding-bottom: 54px;
}

.tech-category-grid {
    gap: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.tech-category-grid a {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: center;
    padding: 26px 18px;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    color: #1e293b;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tech-category-grid a:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-6px);
}

.tech-category-grid svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 14px;
    background: #fee2e2;
    color: var(--primary);
}

.tech-category-grid a:hover svg {
    background: var(--primary);
    color: #ffffff;
}

.section {
    padding: 88px 0;
}

.section-soft,
.front-flow-section,
.quick-section {
    background: #f8fafc;
}

.section-heading h1,
.section-heading h2,
.solution-studio-grid h2,
.tech-cta h2 {
    color: #0f172a;
    font-weight: 950;
    line-height: 1.04;
}

.section-heading h2,
.solution-studio-grid h2 {
    font-size: clamp(2.35rem, 4.4vw, 4.6rem);
}

.solutions-studio-section {
    background: #ffffff;
}

.solution-console,
.tech-cta {
    border-radius: 36px;
    background:
        radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.14), transparent 26%),
        radial-gradient(circle at 90% 86%, rgba(215, 25, 32, 0.14), transparent 28%),
        #0f172a;
    box-shadow: none;
}

.solution-console-grid article,
.solution-console-status {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.solution-console-status {
    background: #ffffff;
}

.process-section {
    background: #ffffff;
}

.process-section .container {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 44px;
    background:
        radial-gradient(circle at 12% 10%, rgba(59, 130, 246, 0.12), transparent 28%),
        radial-gradient(circle at 90% 88%, rgba(215, 25, 32, 0.16), transparent 28%),
        #0f172a;
}

.process-section .section-heading h2,
.process-section .section-heading .eyebrow {
    color: #ffffff;
}

.process-section .section-heading .eyebrow {
    color: #ef4444;
}

.process-section .btn-ghost {
    border-color: rgba(255, 255, 255, 0.16);
}

.process-grid {
    gap: 22px;
}

.process-grid li {
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.process-grid span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: #ef4444;
}

.process-grid h3 {
    color: #ffffff;
    font-size: 1.2rem;
}

.process-grid p {
    color: #94a3b8;
}

.front-flow-card,
.feature-box,
.popular-service-grid article,
.blog-card,
.home-slide,
.flash-offer-card,
.product-card,
.split-showcase,
.trust-tech-grid article {
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.front-flow-card:hover,
.feature-box:hover,
.popular-service-grid article:hover,
.blog-card:hover,
.home-slide:hover,
.flash-offer-card:hover,
.product-card:hover,
.trust-tech-grid article:hover {
    border-color: #e2e8f0;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.front-flow-card.is-featured {
    background: #0f172a;
}

.front-flow-card i,
.popular-service-grid i,
.specialty-grid i,
.feature-box svg,
.trust-tech-grid svg {
    border-radius: 14px;
    background: #fee2e2;
    color: var(--primary);
}

.product-card {
    padding: 8px;
}

.product-image {
    margin: 0 0 20px;
    border-radius: 18px;
    background: #f1f5f9;
}

.product-image img {
    transition: transform 0.25s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-body {
    padding: 0 18px 18px;
}

.product-card .tag {
    color: #2563eb;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 950;
}

.product-card h3 {
    color: #0f172a;
    font-size: 1.06rem;
    line-height: 1.25;
}

.card-price-main strong {
    color: #0f172a;
    font-size: 1.6rem;
}

.card-price-main span {
    color: #94a3b8;
    font-weight: 850;
}

.cash-special-box {
    border: 1px solid #fecaca;
    border-radius: 16px;
    background: #fef2f2;
}

.cash-special-box strong,
.cash-special-box .cash-price {
    color: #b91c1c;
}

.product-card-actions {
    grid-template-columns: minmax(0, 1fr) 50px;
}

.product-view-btn {
    border-radius: 14px;
}

.quick-view-btn {
    border-radius: 14px;
    background: #020617;
}

.tech-cta-section {
    background: #f8fafc;
}

.tech-cta {
    padding: clamp(34px, 6vw, 72px);
    border-radius: 44px;
}

.tech-cta h2,
.tech-cta p {
    color: #ffffff;
}

.tech-cta .btn-ghost {
    background: #ffffff;
    color: #0f172a;
}

.site-footer {
    padding: 82px 0 44px;
    background: #0f172a;
    color: #94a3b8;
}

.site-footer::before {
    display: none;
}

.footer-grid {
    gap: 42px;
}

.footer-logo {
    max-width: 230px;
    padding: 8px;
    border-radius: 12px;
    background: #020617;
}

.site-footer strong {
    color: #ffffff;
    text-transform: uppercase;
}

.site-footer p,
.site-footer span,
.site-footer a {
    color: #94a3b8;
}

.site-footer a:hover {
    color: #ef4444;
}

.floating-whatsapp {
    right: 28px;
    bottom: 28px;
    display: flex;
    min-height: 0;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.whatsapp-tooltip {
    align-self: center;
    max-width: min(260px, calc(100vw - 110px));
    padding: 10px 16px;
    border-radius: 14px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    font-size: 0.85rem;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-icon {
    position: relative;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-logo {
    display: block;
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.whatsapp-status {
    position: absolute;
    top: 1px;
    right: 1px;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 2px #25d366;
}

.whatsapp-status::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #25d366;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 0;
        text-transform: none;
    }

    .site-nav > a:not(.btn),
    .nav-account > button,
    .nav-cart,
    .nav-support {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .site-nav > a:not(.btn)::after,
    .nav-account > button::after {
        display: none;
    }
}

@media (max-width: 980px) {
    .modern-hero .hero-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding: 72px 0 104px;
    }

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

@media (max-width: 760px) {
    .nav-wrap {
        min-height: 68px;
    }

    .brand-letter {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .brand-logo {
        max-height: 34px;
        max-width: 168px;
    }

    .hero {
        padding: 56px 0 92px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

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

    .hero-metrics {
        display: grid;
        gap: 14px;
    }

    .hero-commerce-card {
        padding: 22px;
        border-radius: 24px;
    }

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

    .tech-category-band {
        margin-top: -42px;
    }

    .tech-category-grid {
        grid-template-columns: 1fr;
    }

    .tech-category-grid a {
        min-height: 98px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .section {
        padding: 58px 0;
    }

    .process-section .container,
    .tech-cta {
        border-radius: 28px;
    }

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

    .whatsapp-tooltip {
        display: none;
    }

    .whatsapp-icon {
        width: 54px;
        height: 54px;
    }

    .whatsapp-logo {
        width: 32px;
        height: 32px;
    }
}

/* Softer storefront polish: less boxy, clearer WhatsApp, richer depth. */
:root {
    --soft-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --lift-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0 520px, #f8fafc 520px 100%),
        #f8fafc;
}

.hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.96) 56%, rgba(15, 23, 42, 0.98) 100%);
}

.hero::before {
    opacity: 0.08;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero h1 span,
.hero .accent {
    color: #ef4444;
}

.hero-commerce-card {
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.hero-snapshot-grid div,
.hero-mini-product,
.hero-ops-list span {
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.75);
}

.tech-category-grid a {
    border-radius: 26px;
    box-shadow: var(--soft-shadow);
}

.tech-category-grid a:nth-child(2) svg {
    background: #dbeafe;
    color: #2563eb;
}

.tech-category-grid a:nth-child(3) svg {
    background: #f3e8ff;
    color: #7c3aed;
}

.tech-category-grid a:nth-child(4) svg {
    background: #fef3c7;
    color: #d97706;
}

.tech-category-grid a:nth-child(5) svg {
    background: #dcfce7;
    color: #16a34a;
}

.solutions-studio-section,
.trust-tech-section,
.about-snapshot {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.solution-studio-grid {
    gap: clamp(34px, 5vw, 72px);
}

.solution-console,
.tech-cta,
.process-section .container {
    border-radius: 34px;
}

.solution-console {
    box-shadow: var(--lift-shadow);
}

.solution-console::before {
    border-radius: 24px;
}

.solution-console-grid article,
.solution-console-status {
    border-radius: 20px;
}

.front-flow-card,
.feature-box,
.popular-service-grid article,
.blog-card,
.home-slide,
.flash-offer-card,
.product-card,
.split-showcase,
.trust-tech-grid article {
    border: 0;
    border-radius: 26px;
    box-shadow: var(--soft-shadow);
}

.front-flow-card:hover,
.feature-box:hover,
.popular-service-grid article:hover,
.blog-card:hover,
.home-slide:hover,
.flash-offer-card:hover,
.product-card:hover,
.trust-tech-grid article:hover {
    box-shadow: var(--lift-shadow);
}

.product-card {
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #f8fafc 100%);
}

.product-image {
    overflow: hidden;
    border-radius: 22px;
    background:
        linear-gradient(135deg, #eef2f7, #f8fafc);
}

.cash-special-box {
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed, #fef2f2);
    box-shadow: inset 0 0 0 1px rgba(254, 202, 202, 0.75);
}

.product-view-btn,
.quick-view-btn {
    border-radius: 16px;
}

.process-grid li {
    border-radius: 26px;
}

.site-footer {
    margin-top: 24px;
}

.floating-whatsapp {
    right: 24px;
    bottom: 24px;
    align-items: center;
    gap: 10px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    max-width: 270px;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(10px);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    transform: translateY(0);
}

.whatsapp-widget {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    border: 1px solid rgba(37, 211, 102, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover .whatsapp-widget {
    box-shadow: 0 22px 54px rgba(37, 211, 102, 0.24);
    transform: translateY(-3px);
}

.whatsapp-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    background: #25d366;
}

.floating-whatsapp .whatsapp-logo {
    width: 31px;
    height: 31px;
    color: #ffffff;
}

.whatsapp-copy {
    display: grid;
    gap: 1px;
    color: #0f172a;
    line-height: 1.05;
}

.whatsapp-copy strong {
    font-size: 0.95rem;
    font-weight: 950;
}

.whatsapp-copy small {
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 900;
}

.floating-whatsapp.is-closed .whatsapp-copy small {
    color: #b45309;
}

.floating-whatsapp.is-closed .whatsapp-status,
.floating-whatsapp.is-closed .whatsapp-status::after {
    background: #f59e0b;
}

.whatsapp-status {
    top: -1px;
    right: -1px;
    width: 15px;
    height: 15px;
}

.whatsapp-status::after {
    width: 8px;
    height: 8px;
}

@media (max-width: 760px) {
    .hero-commerce-card,
    .tech-category-grid a,
    .front-flow-card,
    .feature-box,
    .popular-service-grid article,
    .blog-card,
    .product-card,
    .trust-tech-grid article {
        border-radius: 22px;
    }

    .solution-console,
    .tech-cta,
    .process-section .container {
        border-radius: 26px;
    }

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

    .whatsapp-widget {
        padding: 7px;
    }

    .whatsapp-copy {
        display: none;
    }

    .whatsapp-icon {
        width: 54px;
        height: 54px;
    }

    .floating-whatsapp .whatsapp-logo {
        width: 33px;
        height: 33px;
    }
}

/* Rounded interaction states: avoid square hover blocks. */
a,
button,
.btn,
.site-nav a,
.nav-account > button,
.floating-whatsapp,
.whatsapp-widget,
.whatsapp-icon,
.tech-category-grid a,
.front-flow-card,
.feature-box,
.product-card,
.popular-service-grid article,
.trust-tech-grid article {
    -webkit-tap-highlight-color: transparent;
}

.site-nav a,
.nav-account > button,
.nav-cart,
.nav-support {
    overflow: hidden;
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn):focus-visible,
.nav-account > button:hover,
.nav-account > button:focus-visible,
.nav-cart:hover,
.nav-cart:focus-visible {
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.08);
    box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.08);
    outline: none;
}

.nav-support:hover,
.nav-support:focus-visible {
    border-radius: 999px !important;
    background: #e2e8f0 !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    outline: none;
}

.btn:hover,
.btn:focus-visible,
button.btn:hover,
button.btn:focus-visible {
    border-radius: 14px;
    outline: none;
}

.tech-category-grid a,
.front-flow-card,
.feature-box,
.product-card,
.popular-service-grid article,
.trust-tech-grid article,
.blog-card,
.home-slide,
.flash-offer-card {
    background-clip: padding-box;
}

.tech-category-grid a:hover,
.tech-category-grid a:focus-visible {
    border-radius: 28px;
    outline: none;
}

.front-flow-card:hover,
.front-flow-card:focus-visible,
.feature-box:hover,
.feature-box:focus-visible,
.product-card:hover,
.popular-service-grid article:hover,
.trust-tech-grid article:hover,
.blog-card:hover,
.home-slide:hover,
.flash-offer-card:hover {
    border-radius: 28px;
}

.floating-whatsapp,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    border-radius: 999px;
    outline: none;
    background: transparent;
}

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0);
    filter: blur(12px);
    transition: background 0.25s ease;
}

.floating-whatsapp:hover::before,
.floating-whatsapp:focus-visible::before {
    background: rgba(37, 211, 102, 0.22);
}

.floating-whatsapp:hover .whatsapp-widget,
.floating-whatsapp:focus-visible .whatsapp-widget {
    border-radius: 999px;
}

.whatsapp-widget,
.whatsapp-widget:hover,
.whatsapp-icon,
.whatsapp-icon:hover {
    border-radius: 999px;
}

.whatsapp-icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: inherit;
    background: rgba(37, 211, 102, 0.14);
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp:hover .whatsapp-icon::before,
.floating-whatsapp:focus-visible .whatsapp-icon::before {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-tooltip {
    border-radius: 18px;
}

@media (max-width: 1120px) {
    .site-nav > a:not(.btn):hover,
    .site-nav > a:not(.btn):focus-visible,
    .nav-account > button:hover,
    .nav-account > button:focus-visible,
    .nav-cart:hover,
    .nav-cart:focus-visible,
    .nav-support:hover,
    .nav-support:focus-visible {
        border-radius: 16px !important;
    }
}

@media (max-width: 760px) {
    .tech-category-grid a:hover,
    .tech-category-grid a:focus-visible,
    .front-flow-card:hover,
    .front-flow-card:focus-visible,
    .feature-box:hover,
    .feature-box:focus-visible,
    .product-card:hover,
    .popular-service-grid article:hover,
    .trust-tech-grid article:hover,
    .blog-card:hover {
        border-radius: 24px;
    }
}

/* Store category panel: internal scrolling for long category lists. */
.shop-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}

.shop-sidebar {
    top: 104px;
    max-height: calc(100vh - 124px);
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--soft-shadow, 0 18px 50px rgba(15, 23, 42, 0.08));
}

.shop-sidebar h3 {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
}

.shop-category-scroll {
    display: grid;
    gap: 7px;
    max-height: calc(100vh - 202px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(215, 25, 32, 0.45) rgba(226, 232, 240, 0.8);
}

.shop-category-scroll::-webkit-scrollbar {
    width: 8px;
}

.shop-category-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #e2e8f0;
}

.shop-category-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #d71920, #a91118);
}

.shop-category-scroll a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.25;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.shop-category-scroll a:hover,
.shop-category-scroll a:focus-visible,
.shop-category-scroll a.is-active {
    background: #0f172a;
    color: #ffffff;
    outline: none;
    transform: translateX(2px);
}

.shop-category-scroll a.is-active {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

@media (max-width: 980px) {
    .shop-sidebar {
        position: static;
        max-height: none;
        padding: 0;
    }

    .shop-sidebar h3 {
        position: static;
    }

    .shop-category-scroll {
        display: flex;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px;
        scroll-snap-type: x proximity;
    }

    .shop-category-scroll a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

/* Professional footer contact block. */
.site-footer {
    padding-bottom: 0;
}

.footer-grid {
    grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(170px, 0.8fr)) minmax(280px, 1.2fr);
    align-items: start;
}

.footer-brand-block p {
    max-width: 330px;
}

.footer-contact-block {
    display: grid;
    gap: 16px;
}

.footer-contact-list {
    display: grid;
    gap: 9px;
}

.footer-contact-item {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 0 !important;
    padding: 9px 11px;
    border-radius: 16px;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.045);
    transform: none !important;
}

.footer-contact-item svg,
.footer-contact-item i {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #ef4444;
}

.footer-contact-item span {
    margin: 0;
    color: inherit;
    line-height: 1.25;
}

.footer-contact-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.footer-whatsapp-btn {
    min-height: 46px;
    border: 1px solid rgba(37, 211, 102, 0.24);
    background: rgba(37, 211, 102, 0.1);
    color: #ffffff !important;
    font-weight: 950;
}

.footer-whatsapp-btn svg {
    color: #25d366;
}

.footer-whatsapp-btn:hover {
    border-color: rgba(37, 211, 102, 0.42);
    background: rgba(37, 211, 102, 0.16);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.footer-socials a {
    display: grid !important;
    width: 42px !important;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 950;
    transform: none !important;
}

.footer-socials a:hover {
    background: #d71920;
    color: #ffffff !important;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.footer-bottom span {
    margin: 0;
    color: #64748b;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.footer-bottom a {
    width: auto !important;
    margin: 0 !important;
    color: #94a3b8;
    transform: none !important;
}

.footer-bottom a:hover {
    color: #ffffff;
}

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

    .footer-bottom {
        display: grid;
        justify-items: start;
    }

    .footer-bottom div {
        justify-content: flex-start;
    }
}

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

    .footer-bottom div {
        display: grid;
        gap: 10px;
    }
}

/* Footer refinement: one strong WhatsApp CTA, clean contact lines. */
.footer-grid {
    align-items: flex-start;
    column-gap: clamp(34px, 5vw, 66px);
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-brand-block strong {
    margin-bottom: 12px;
}

.footer-brand-block p {
    max-width: 300px;
    color: #a7b3c5;
    line-height: 1.72;
}

.footer-contact-list {
    gap: 12px;
}

.footer-contact-list .footer-whatsapp-btn {
    margin-bottom: 8px !important;
}

.footer-contact-line {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    gap: 12px;
    min-height: 28px;
    margin: 0 !important;
    padding: 0;
    color: #cbd5e1 !important;
    font-size: 0.94rem;
    font-weight: 760;
    line-height: 1.35;
    transform: none !important;
}

.footer-contact-line svg,
.footer-contact-line i {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #ef4444;
}

.footer-contact-line span {
    margin: 0;
    color: inherit;
}

a.footer-contact-line:hover {
    color: #ffffff !important;
}

.footer-whatsapp-btn {
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.1));
}

.footer-follow-title {
    display: block;
    margin: 8px 0 0;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-socials {
    gap: 14px;
    margin-top: 0;
}

.footer-socials a {
    width: 48px !important;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
}

.footer-socials a i,
.footer-socials a svg {
    width: 20px;
    height: 20px;
}

.footer-socials a span {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.footer-socials a i + span,
.footer-socials a svg + span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-socials a:hover {
    border-radius: 18px;
    transform: translateY(-2px) !important;
}

.footer-bottom {
    margin-top: 54px;
}

/* Footer premium final pass: balanced columns, cleaner hierarchy, stronger contact area. */
.site-footer {
    isolation: isolate;
    overflow: hidden;
    margin-top: 36px;
    padding: clamp(64px, 7vw, 92px) 0 0;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(215, 25, 32, 0.09), transparent 24%),
        radial-gradient(circle at 86% 12%, rgba(59, 130, 246, 0.05), transparent 26%),
        linear-gradient(180deg, #0d1628 0%, #0b1324 100%);
    color: #cbd5e1;
}

.footer-main {
    grid-template-columns:
        minmax(260px, 1.35fr)
        minmax(150px, 0.78fr)
        minmax(190px, 0.9fr)
        minmax(310px, 1.2fr);
    gap: clamp(34px, 5.2vw, 72px);
    align-items: start;
}

.site-footer strong {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.035em;
    line-height: 1.35;
    text-transform: uppercase;
}

.footer-brand-block {
    display: grid;
    justify-items: center;
    max-width: 350px;
    margin-inline: auto;
    text-align: center;
}

.footer-brand-block .footer-logo {
    width: min(236px, 100%);
    max-width: 236px;
    margin: 0 0 20px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.footer-brand-block strong {
    margin-bottom: 14px;
    font-size: 0.82rem;
}

.footer-brand-block p {
    max-width: 305px;
    margin: 0;
    color: #aab7ca;
    font-size: 0.93rem;
    line-height: 1.78;
    margin-inline: auto;
}

.footer-link-column {
    display: grid;
    align-content: start;
}

.footer-link-column a {
    width: fit-content;
    margin: 0 0 11px;
    color: #aab7ca;
    font-size: 0.92rem;
    font-weight: 760;
    line-height: 1.35;
    transform: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-column a:hover,
.footer-link-column a:focus-visible {
    color: #ffffff;
    outline: none;
    transform: translateX(3px);
}

.footer-contact-block {
    min-width: 0;
    gap: 18px;
}

.footer-contact-block > strong {
    margin-bottom: 2px;
}

.footer-contact-list {
    gap: 13px;
}

.footer-whatsapp-btn {
    justify-content: center;
    min-height: 48px;
    margin: 0 0 6px !important;
    padding: 0 18px;
    border: 1px solid rgba(37, 211, 102, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.09));
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    transform: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-whatsapp-btn svg {
    width: 18px;
    height: 18px;
    color: #25d366;
}

.footer-whatsapp-btn:hover,
.footer-whatsapp-btn:focus-visible {
    border-color: rgba(37, 211, 102, 0.58);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.26), rgba(37, 211, 102, 0.12));
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.12);
    outline: none;
    transform: translateY(-1px) !important;
}

.footer-contact-line {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    min-height: 0;
    padding: 0;
    color: #cbd5e1 !important;
    font-size: 0.91rem;
    font-weight: 820;
    line-height: 1.42;
}

.footer-contact-line i,
.footer-contact-line svg {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: #ef7075;
}

.footer-contact-line span {
    margin: 0;
    color: inherit;
}

a.footer-contact-line:hover,
a.footer-contact-line:focus-visible {
    color: #ffffff !important;
    outline: none;
}

.footer-follow-title {
    margin: 5px 0 -2px;
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-socials {
    gap: 12px;
}

.footer-socials a {
    position: relative;
    width: 46px !important;
    height: 46px;
    display: inline-grid !important;
    place-items: center;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
    color: #f8fafc !important;
    box-shadow: none;
    transform: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-socials a i,
.footer-socials a svg {
    width: 20px;
    height: 20px;
    display: block;
    color: currentColor;
}

.footer-socials a span {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 190px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, 6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: rgba(215, 25, 32, 0.55);
    border-radius: 16px;
    background: rgba(215, 25, 32, 0.92);
    color: #ffffff !important;
    outline: none;
    transform: translateY(-2px) !important;
}

.footer-socials a:hover span,
.footer-socials a:focus-visible span {
    opacity: 1;
    transform: translate(50%, 0);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: clamp(44px, 5vw, 64px) auto 0;
    padding: 22px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    color: #7d8aa1;
    font-size: 0.82rem;
}

.footer-bottom span {
    color: #7d8aa1;
    line-height: 1.5;
}

.footer-bottom div {
    gap: 18px;
}

.footer-bottom a {
    color: #99a6bb;
    font-weight: 780;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: #ffffff;
    outline: none;
}

@media (max-width: 1060px) {
    .footer-main {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        row-gap: 46px;
    }

    .footer-contact-block {
        max-width: 430px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding-top: 52px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand-block,
    .footer-brand-block p,
    .footer-contact-block {
        max-width: none;
    }

    .footer-brand-block {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .footer-brand-block .footer-logo {
        margin-inline: auto;
    }

    .footer-brand-block strong {
        justify-self: center;
    }

    .footer-brand-block p {
        margin-inline: auto;
        max-width: 34ch;
    }

    .footer-whatsapp-btn {
        width: 100% !important;
    }

    .footer-bottom {
        display: grid;
        gap: 16px;
        justify-items: start;
    }

    .footer-bottom div {
        display: grid;
        gap: 10px;
        justify-content: start;
    }
}

/* Registered customer pricing gate. */
.price-locked-box {
    display: grid;
    gap: 10px;
    margin: 14px 0 4px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
    text-align: left;
}

.price-locked-box strong {
    color: #0f172a;
    font-size: 0.98rem;
    line-height: 1.2;
}

.price-locked-box > span {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.price-locked-box div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.price-locked-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 950;
    text-decoration: none;
}

.price-locked-box a + a {
    background: #ffffff;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px #cbd5e1;
}

.login-required-box {
    border: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.login-required-box strong {
    color: #0f172a;
}

.auth-social-box {
    display: grid;
    gap: 10px;
    margin: 18px 0 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    text-align: center;
}

.auth-social-primary {
    margin: 0 0 18px;
    padding-top: 0;
    border-top: 0;
}

.auth-divider {
    position: relative;
    display: grid;
    place-items: center;
    margin: 4px 0 16px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(226, 232, 240, 0.95);
}

.auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 10px;
    background: #ffffff;
}

.auth-social-box > span {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
}

.auth-social-box small {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.4;
}

.phone-field-grid {
    display: grid;
    grid-template-columns: minmax(145px, 0.9fr) minmax(0, 1fr);
    gap: 10px;
}

.phone-field-grid select,
.phone-field-grid input {
    min-width: 0;
}

.account-panels {
    display: grid;
    gap: 18px;
}

.account-provider-box {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.95);
}

.account-provider-box strong {
    color: #0f172a;
}

.account-provider-box span {
    color: #64748b;
    line-height: 1.5;
}

.account-provider-box.success {
    background: #ecfdf5;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.22);
}

.security-panel {
    display: grid;
    gap: 14px;
}

.security-panel h2 {
    margin: 0;
}

.totp-setup-grid {
    display: grid;
    grid-template-columns: minmax(172px, 0.45fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.totp-qr-card,
.totp-instructions {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
}

.totp-qr-card {
    display: grid;
    gap: 9px;
    justify-items: center;
    text-align: center;
}

.totp-qr-card > span,
.totp-instructions > strong {
    color: var(--ink);
    font-weight: 950;
}

.totp-qr-box {
    display: grid;
    place-items: center;
    width: min(100%, 168px);
    min-height: 168px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
}

.totp-qr-box svg {
    width: 146px;
    height: 146px;
    max-width: 100%;
}

.totp-app-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    padding: 8px 10px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.totp-instructions {
    display: grid;
    gap: 10px;
}

.totp-instructions ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.48;
}

.totp-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.totp-help-links a {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 10px;
    color: #0f172a;
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
}

.totp-secret-box small {
    color: #cbd5e1;
    font-weight: 750;
    line-height: 1.5;
}

html[data-theme="dark"] .totp-qr-card,
html[data-theme="dark"] .totp-instructions {
    background: #111827;
    border-color: #334155;
}

html[data-theme="dark"] .totp-qr-box,
html[data-theme="dark"] .totp-help-links a {
    background: #0f172a;
    border-color: #334155;
}

html[data-theme="dark"] .totp-help-links a {
    color: #e5e7eb;
}

.totp-secret-box {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
}

.totp-secret-box span {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.totp-secret-box strong {
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.08em;
}

.totp-secret-box a {
    color: #67e8f9;
    font-weight: 850;
}

.recovery-codes-box {
    margin: 4px 0;
}

.recovery-code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.recovery-code-grid code {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.ok {
    background: #dcfce7;
    color: #166534;
}

.status-pill.pending {
    background: #fef3c7;
    color: #92400e;
}

html[data-theme="dark"] .status-pill {
    background: rgba(96, 165, 250, 0.18);
    color: #bfdbfe;
}

html[data-theme="dark"] .status-pill.ok {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

html[data-theme="dark"] .status-pill.pending {
    background: rgba(245, 158, 11, 0.18);
    color: #fde68a;
}

.inline-security-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    max-width: none;
}

.inline-security-form label {
    flex: 1 1 220px;
}

.inline-security-form .btn {
    flex: 0 0 220px;
}

.social-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    width: 100%;
    padding: 0 16px;
    border-radius: 999px;
    background: #1877f2;
    color: #ffffff !important;
    font-weight: 950;
    text-decoration: none;
}

.social-auth-btn > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    color: #1877f2;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
}

.social-auth-btn:hover {
    background: #0f5dcc;
    transform: translateY(-1px);
}

.google-auth-btn {
    background: #ffffff;
    color: #1f2937 !important;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.95), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.google-auth-btn > span {
    background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.google-auth-btn:hover {
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.95), 0 16px 32px rgba(15, 23, 42, 0.12);
}

.social-auth-btn.is-disabled,
.social-auth-btn.is-disabled:hover {
    background: #e2e8f0;
    color: #64748b !important;
    cursor: not-allowed;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.9);
    transform: none;
}

.social-auth-btn.is-disabled > span {
    background: #cbd5e1;
    color: #475569;
}

/* Commercial flow: normal card price, promotional cash/transfer price and WhatsApp advisor CTAs. */
.card-price-main {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(17, 26, 122, 0.12);
    border-radius: 12px;
    background: #f8fbff;
}

.card-price-main > span:first-child {
    color: #475569;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.card-price-main > span:last-child {
    color: #64748b;
}

.cash-special-box {
    border-style: solid;
    border-color: rgba(239, 17, 31, 0.22);
    background: #fff7f5;
}

.product-card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(82px, 0.55fr);
}

.product-card-actions form {
    display: grid;
    margin: 0;
}

.product-advisor-btn,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid rgba(37, 211, 102, 0.38);
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #128c7e);
    color: #ffffff !important;
    font-weight: 950;
    text-align: center;
    box-shadow: 0 14px 28px rgba(18, 140, 126, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.product-advisor-btn {
    display: grid;
    grid-template-rows: 20px auto;
    padding: 6px 8px;
    font-size: 0.72rem;
    line-height: 1;
}

.product-advisor-btn svg,
.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.product-advisor-btn:hover,
.product-advisor-btn:focus-visible,
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
    filter: saturate(1.08);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(18, 140, 126, 0.24);
    outline: none;
}

.product-buy-actions {
    display: grid;
    gap: 12px;
}

.advisor-cta {
    min-height: 50px;
}

.price-option span {
    color: #334155;
    text-transform: uppercase;
}

.price-option.active {
    border-color: var(--accent);
    background: #fff7f7;
}

.dealer-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(239, 17, 31, 0.18), transparent 34%),
        linear-gradient(145deg, #071038 0%, #10194d 56%, #17235f 100%);
}

.dealer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 44px 44px;
}

.dealer-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 420px;
    gap: 42px;
    align-items: center;
}

.dealer-hero-copy {
    max-width: 760px;
}

.dealer-hero .eyebrow {
    color: #ffccd1;
}

.dealer-hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 0.98;
    color: #ffffff;
}

.dealer-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.75;
}

.dealer-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.dealer-hero-actions .btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.dealer-hero-panel {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.dealer-hero-panel span {
    color: #ffccd1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.dealer-hero-panel strong {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.2;
}

.dealer-hero-panel p {
    font-size: 0.95rem;
}

.dealer-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.dealer-hero-stats div {
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.dealer-hero-stats b {
    display: block;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
}

.dealer-hero-stats small {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.dealer-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.dealer-heading {
    margin-bottom: 22px;
}

.dealer-filter {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.dealer-filter label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dealer-filter input,
.dealer-filter select {
    min-height: 46px;
    border: 1px solid #d7deea;
    border-radius: 13px;
    background: #ffffff;
    color: var(--ink);
    padding: 0 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

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

.dealer-card {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 28px;
    min-height: 100%;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dealer-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    background: var(--accent);
}

.dealer-card:hover {
    transform: translateY(-2px);
    border-color: #cfd7e5;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
}

.dealer-card.is-featured {
    border-color: #d4dcea;
}

.dealer-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.dealer-logo {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 950;
}

.dealer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.dealer-network-mark {
    width: 12px;
    height: 58px;
    border-left: 3px solid var(--accent);
    border-radius: 999px;
    margin-top: 2px;
}

.dealer-title-block {
    min-width: 0;
}

.dealer-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.dealer-title-block h3 {
    margin: 7px 0 5px;
    color: var(--primary-dark);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.dealer-title-block p,
.dealer-description,
.dealer-address small {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.dealer-title-block p {
    font-weight: 900;
    color: #475569;
}

.dealer-description {
    max-width: 62ch;
    font-size: 0.95rem;
}

.dealer-address {
    display: grid;
    gap: 6px;
    padding: 14px 0 0;
    border-top: 1px solid #e5eaf2;
    border-radius: 0;
    background: transparent;
}

.dealer-address span,
.dealer-details span:first-child {
    color: var(--primary);
    font-weight: 950;
}

.dealer-address > span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dealer-address strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.45;
}

.dealer-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.dealer-details div,
.dealer-details a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.45;
}

.dealer-details a:hover {
    color: var(--primary);
}

.dealer-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary) !important;
    font-size: 0.72rem;
    line-height: 1;
}

.dealer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    padding-top: 2px;
    margin-top: auto;
}

.dealer-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 950;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.dealer-text-link::after {
    content: "→";
    text-decoration: none;
}

.dealer-text-link:hover {
    color: var(--primary);
}

.dealer-text-link.muted-link {
    color: #475569;
}

.dealer-empty {
    margin-bottom: 22px;
}

.dealer-empty h3 {
    margin-top: 0;
}

.dealer-cta-section {
    padding-top: 28px;
}

.dealer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(239, 17, 31, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 10%, rgba(239, 17, 31, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff, #f7f8fb);
    box-shadow: var(--shadow);
}

.dealer-cta h2 {
    margin: 8px 0 10px;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
}

.dealer-cta p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.dealer-cta .btn {
    white-space: nowrap;
}

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

.distributor-card {
    display: grid;
    gap: 12px;
}

.distributor-card h2 {
    margin: 0;
    color: var(--primary-dark);
}

.distributor-card p,
.distributor-cta p {
    color: var(--muted);
    line-height: 1.7;
}

.distributor-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

@media (max-width: 760px) {
    .price-selector,
    .distributor-grid,
    .distributor-cta {
        grid-template-columns: 1fr;
    }

    .product-card-actions {
        grid-template-columns: 1fr;
    }

    .product-advisor-btn {
        grid-template-rows: none;
        grid-template-columns: 20px auto;
        min-height: 44px;
    }
}

@media (max-width: 980px) {
    .institution-hero-grid,
    .tool-hero-grid,
    .tool-layout {
        grid-template-columns: 1fr;
    }

    .tool-summary-card {
        position: static;
    }

    .smart-zone-board,
    .pc-profile-grid,
    .builder-flow,
    .component-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero-grid,
    .contact-modern-grid,
    .contact-final-cta {
        grid-template-columns: 1fr;
    }

    .contact-response-card {
        max-width: 560px;
    }

    .dealer-hero-grid,
    .dealer-cta {
        grid-template-columns: 1fr;
    }

    .dealer-hero-panel {
        max-width: 560px;
    }

    .dealer-filter {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 640px) {
    .institution-hero,
    .tool-hero {
        padding: 48px 0 38px;
    }

    .tool-hero-actions,
    .tool-option-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .smart-zone-board,
    .tool-card-grid,
    .kit-strip,
    .pc-profile-grid,
    .builder-flow,
    .component-grid {
        grid-template-columns: 1fr;
    }

    .tool-access-note {
        border-radius: 14px;
    }

    .contact-hero {
        padding: 50px 0 38px;
    }

    .contact-hero-actions,
    .contact-form-footer {
        grid-template-columns: 1fr;
    }

    .contact-hero-actions {
        display: grid;
    }

    .contact-form-card,
    .contact-priority-card,
    .contact-location-card,
    .contact-final-cta {
        padding: 22px;
        border-radius: 16px;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-footer .btn,
    .contact-final-cta .btn {
        width: 100%;
    }

    .dealer-hero {
        padding: 52px 0 40px;
    }

    .dealer-hero-actions,
    .dealer-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dealer-hero-stats,
    .dealer-filter,
    .dealer-card-top,
    .dealer-details {
        grid-template-columns: 1fr;
    }

    .dealer-card {
        padding: 22px;
        border-radius: 14px;
    }

    .dealer-card::before {
        height: 3px;
        width: auto;
        border-radius: 14px 14px 0 0;
    }

    .dealer-logo {
        width: 54px;
        height: 54px;
    }

    .dealer-cta {
        padding: 24px;
        border-radius: 20px;
    }
}

.social-auth-inline {
    width: fit-content;
    margin-top: 2px;
}

@media (max-width: 520px) {
    .phone-field-grid {
        grid-template-columns: 1fr;
    }

    .social-auth-inline {
        width: 100%;
    }
}

/* Refined public header and flash messages. */
.site-header.glass-header {
    z-index: 90;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.site-header::after {
    opacity: 0.2;
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    flex: 0 0 auto;
}

.brand-letter {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
}

.brand-logo {
    max-height: 42px;
    max-width: 214px;
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 0;
    text-transform: none;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links {
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.nav-actions {
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.site-nav a,
.nav-account > button {
    letter-spacing: 0;
    text-transform: none;
}

.nav-links > a {
    position: relative;
    min-height: 40px;
    padding: 11px 10px;
    border-radius: 999px;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 800;
    background: transparent;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible {
    color: #0f172a;
    background: rgba(215, 25, 32, 0.06);
    outline: none;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-support,
.nav-login,
.nav-register,
.nav-cart,
.nav-account > button {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border-radius: 999px !important;
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-support {
    padding: 9px 13px !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.nav-support span {
    width: 7px;
    height: 7px;
}

.nav-support:hover,
.nav-support:focus-visible {
    color: #0f172a !important;
    background: #e8eef6 !important;
    transform: translateY(-1px);
    outline: none;
}

.nav-cart {
    position: relative;
    padding: 9px 13px !important;
    color: #16213a !important;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1), 0 8px 20px rgba(15, 23, 42, 0.04);
}

.nav-cart svg {
    width: 17px;
    height: 17px;
}

.nav-cart .pill {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(215, 25, 32, 0.22);
}

.nav-cart:hover,
.nav-cart:focus-visible {
    color: var(--primary) !important;
    transform: translateY(-1px);
    outline: none;
}

.nav-login {
    padding: 9px 15px !important;
    color: #0f172a !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.nav-login:hover,
.nav-login:focus-visible {
    color: var(--primary) !important;
    box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.22), 0 8px 20px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
    outline: none;
}

.nav-register {
    padding: 10px 17px !important;
    color: #fff !important;
    background: var(--primary) !important;
    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.2);
}

.nav-register:hover,
.nav-register:focus-visible {
    background: #a91118 !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

.nav-account > button {
    padding: 9px 15px;
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.nav-account > button:hover,
.nav-account > button:focus-visible {
    color: var(--primary);
    background: #fff;
    border-color: rgba(215, 25, 32, 0.22);
    transform: translateY(-1px);
    outline: none;
}

.flash-area {
    padding-top: 18px;
}

.alert {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 14px 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    color: #102033;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    animation: flash-enter 220ms ease-out both;
}

.alert-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: currentColor;
}

.alert-icon svg {
    width: 18px;
    height: 18px;
}

.alert-message {
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.45;
}

.alert-close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: currentColor;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.alert-close:hover,
.alert-close:focus-visible {
    background: rgba(15, 23, 42, 0.07);
    outline: none;
}

.alert-success {
    color: #0f7a55;
    border-color: rgba(16, 185, 129, 0.24);
    background: linear-gradient(135deg, #effdf7, #ffffff);
}

.alert-success .alert-icon {
    background: rgba(16, 185, 129, 0.13);
}

.alert-danger {
    color: #b6171e;
    border-color: rgba(215, 25, 32, 0.22);
    background: linear-gradient(135deg, #fff1f2, #ffffff);
}

.alert-danger .alert-icon {
    background: rgba(215, 25, 32, 0.1);
}

.alert-warning {
    color: #9a6a12;
    border-color: rgba(245, 158, 11, 0.24);
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.alert-warning .alert-icon {
    background: rgba(245, 158, 11, 0.14);
}

@keyframes flash-enter {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .nav-wrap {
        gap: 18px;
    }

    .site-nav {
        gap: 16px;
    }

    .nav-links > a {
        padding-inline: 8px;
        font-size: 0.8rem;
    }

    .nav-support,
    .nav-login,
    .nav-register,
    .nav-cart,
    .nav-account > button {
        font-size: 0.78rem;
        padding-inline: 11px !important;
    }
}

@media (max-width: 1120px) {
    .site-nav {
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-radius: 18px;
        padding: 14px;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .nav-links > a,
    .nav-support,
    .nav-login,
    .nav-register,
    .nav-cart,
    .nav-account > button {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    .nav-links > a::after {
        display: none;
    }

    .nav-cart .pill {
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .brand-logo {
        max-width: 156px;
    }

    .site-header .brand-services-page .brand-logo {
        max-width: 192px;
        max-height: 42px;
    }

    .alert {
        grid-template-columns: 28px minmax(0, 1fr) 30px;
        gap: 10px;
        padding: 12px;
        border-radius: 14px;
    }

    .alert-message {
        font-size: 0.88rem;
    }
}

/* Services page refresh. */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 54px;
    color: #fff;
    background:
        radial-gradient(circle at 14% 24%, rgba(215, 25, 32, 0.2), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #16213a 58%, #1e293b 100%);
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 42px 42px;
}

.service-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 40px;
    align-items: center;
}

.service-hero .eyebrow {
    color: #ffb4b8;
}

.service-hero h1 {
    max-width: 780px;
    margin: 12px 0 18px;
    font-size: clamp(2.45rem, 5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.service-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.7;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.service-hero-actions .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.service-hero-panel {
    display: grid;
    gap: 12px;
}

.service-hero-panel div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.service-hero-panel strong,
.service-hero-panel span {
    display: block;
}

.service-hero-panel strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 0.98rem;
}

.service-hero-panel span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

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

.service-modern-card {
    display: grid;
    gap: 14px;
    align-content: start;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-modern-card:hover {
    border-color: rgba(215, 25, 32, 0.22);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 16px;
    color: var(--primary);
    background: linear-gradient(135deg, #fff1f2, #eef2ff);
    font-size: 0.9rem;
    font-weight: 950;
    letter-spacing: 0;
}

.service-icon-soft {
    color: #0f172a;
    background: #fff;
}

.service-modern-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.16rem, 1.7vw, 1.42rem);
    line-height: 1.2;
}

.service-modern-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.service-modern-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-modern-card li {
    position: relative;
    padding-left: 20px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.45;
}

.service-modern-card li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.08);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    margin-top: 4px;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.9rem;
    font-weight: 850;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
    color: #fff;
    background: #a91118;
    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.2);
    transform: translateY(-1px);
    outline: none;
}

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

.work-steps article {
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.work-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--primary);
    background: #fff1f2;
    font-weight: 950;
}

.work-steps h3 {
    margin: 0 0 8px;
    color: #0f172a;
}

.work-steps p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.services-tools-panel {
    margin-bottom: 0;
    border-top: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.services-tools-panel .mini-card {
    min-height: 86px;
    border-radius: 14px;
    color: #16213a;
    background: rgba(255, 255, 255, 0.86);
}

.services-tools-panel .mini-card:hover {
    color: var(--primary);
    border-color: rgba(215, 25, 32, 0.18);
    transform: translateY(-2px);
}

.service-final-cta {
    background:
        radial-gradient(circle at 92% 10%, rgba(215, 25, 32, 0.22), transparent 30%),
        #0f172a;
}

.service-final-cta .eyebrow {
    color: #ffb4b8;
}

@media (max-width: 980px) {
    .service-hero-grid,
    .services-modern-grid,
    .work-steps,
    .services-tools-panel,
    .mini-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-hero-grid,
    .services-tools-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .service-hero {
        padding: 54px 0 42px;
    }

    .services-modern-grid,
    .work-steps,
    .mini-card-grid,
    .cta-content {
        grid-template-columns: 1fr;
    }

    .service-modern-card,
    .work-steps article {
        padding: 20px;
    }

    .service-hero-actions .btn,
    .service-card-link,
    .service-final-cta .btn {
        width: 100%;
    }
}

/* Private catalog storefront. */
.shop-private-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 54px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(215, 25, 32, 0.18), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #172554 54%, #111827 100%);
}

.shop-private-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.85) 1px, transparent 1px);
    background-size: 44px 44px;
}

.shop-private-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr);
    gap: 42px;
    align-items: center;
}

.shop-private-hero .eyebrow {
    color: #ffb4b8;
}

.shop-private-hero h1 {
    max-width: 760px;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.shop-private-hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.7;
}

.shop-private-hero small {
    display: block;
    max-width: 640px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 700;
    line-height: 1.6;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.shop-hero-actions .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.shop-access-card {
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.shop-access-card > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.35rem;
}

.shop-access-card strong {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.2;
}

.shop-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}

.shop-trust-strip div {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.shop-trust-strip strong {
    color: #0f172a;
    font-size: 0.94rem;
    line-height: 1.25;
}

.shop-trust-strip span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.catalog-preview-note {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.price-locked-box {
    position: relative;
    gap: 12px;
    margin: 14px 0 4px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.96)),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.05) 0 7px, transparent 7px 14px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.price-locked-box::before {
    content: "🔒";
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: #0f172a;
    background: #eef2ff;
    font-size: 0.95rem;
}

.price-locked-box strong {
    font-size: 1rem;
}

.price-locked-box .locked-lead {
    color: #64748b;
}

.locked-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.locked-benefits li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.35;
}

.locked-benefits li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}

.price-locked-box a:first-child {
    background: #0f172a;
}

.price-locked-box a:last-child {
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}

/* Cleaner locked product cards: one main action plus secondary WhatsApp. */
.price-locked-box {
    gap: 8px;
    padding: 14px;
}

.price-locked-box::before {
    width: 30px;
    height: 30px;
    font-size: 0.84rem;
}

.price-locked-box strong {
    font-size: 0.94rem;
}

.price-locked-box .locked-lead {
    font-size: 0.84rem;
    line-height: 1.45;
}

.price-locked-box div,
.locked-benefits {
    display: none;
}

.product-card-actions {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(58px, 0.32fr);
}

.product-card-actions .product-view-btn {
    min-height: 46px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.15;
}

.product-card-actions .product-view-btn .btn-circle-icon {
    display: none;
}

.product-advisor-btn {
    min-height: 46px;
    border-radius: 12px;
    background: #ffffff;
    color: #128c7e !important;
    border-color: rgba(18, 140, 126, 0.34);
    box-shadow: inset 0 0 0 1px rgba(18, 140, 126, 0.05);
}

.product-advisor-btn span {
    font-size: 0;
}

.product-advisor-btn span::after {
    content: "WhatsApp";
    font-size: 0.68rem;
}

.product-advisor-btn:hover,
.product-advisor-btn:focus-visible {
    color: #fff !important;
    background: #128c7e;
}

/* Product card action sizing: prevent cropped labels. */
.shop-products .product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    align-items: stretch;
}

.shop-products .product-card-actions > a,
.shop-products .product-card-actions > form,
.shop-products .product-card-actions button {
    min-width: 0;
}

.shop-products .product-card-actions .product-view-btn {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    white-space: normal;
    overflow: visible;
    text-align: center;
    font-size: clamp(0.72rem, 0.85vw, 0.84rem);
    line-height: 1.2;
}

.shop-products .product-advisor-btn {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 9px 8px;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.05;
}

.shop-products .product-advisor-btn svg {
    width: 18px;
    height: 18px;
}

.shop-products .product-advisor-btn span::after {
    font-size: 0.66rem;
}

@media (max-width: 1240px) {
    .shop-products .product-card-actions {
        grid-template-columns: 1fr;
    }

    .shop-products .product-advisor-btn {
        min-height: 46px;
        flex-direction: row;
        gap: 8px;
    }

    .shop-products .product-advisor-btn span::after {
        font-size: 0.76rem;
    }
}

/* Home featured products alignment: equal cards and uncropped actions. */
.compact-products {
    align-items: start;
}

.compact-products .product-card {
    align-self: start;
    height: auto;
    min-height: 0;
}

.compact-products .product-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.compact-products .ecommerce-card-compact h3 {
    min-height: 3.7em;
    line-height: 1.3;
}

.compact-products .product-body > p {
    min-height: 3.2em;
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.compact-products .product-mini-bullets {
    display: grid;
    gap: 5px;
    min-height: 2.9em;
    margin: 0;
    padding-left: 16px;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.35;
}

.compact-products .commerce-price-box,
.compact-products .price-locked-box {
    min-height: 0;
}

.compact-products .product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 10px;
    align-items: stretch;
    margin-top: 6px;
    padding-top: 12px;
}

.compact-products .product-card-actions > a,
.compact-products .product-card-actions > form,
.compact-products .product-card-actions button {
    min-width: 0;
}

.compact-products .product-view-btn {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 10px 14px;
    align-items: center;
    justify-content: center;
    white-space: normal;
    overflow: visible;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.18;
}

.compact-products .product-advisor-btn {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 8px 7px;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    white-space: normal;
    line-height: 1.05;
}

.compact-products .product-advisor-btn svg {
    width: 18px;
    height: 18px;
}

.compact-products .product-advisor-btn span::after {
    font-size: 0.64rem;
}

@media (max-width: 1240px) {
    .compact-products .product-card-actions {
        grid-template-columns: 1fr;
    }

    .compact-products .product-advisor-btn {
        min-height: 46px;
        flex-direction: row;
        gap: 8px;
    }

    .compact-products .product-advisor-btn span::after {
        font-size: 0.76rem;
    }
}

/* Commercial product detail page without public reviews. */
.product-commerce-section {
    background:
        linear-gradient(180deg, #ffffff 0, #f8fafc 100%);
}

.product-commerce-detail {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.product-media-panel {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 110px;
}

.product-commerce-detail .detail-image {
    display: grid;
    min-height: 420px;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.product-commerce-detail .detail-image img {
    max-width: 86%;
    max-height: 360px;
    object-fit: contain;
}

.product-commerce-copy {
    display: grid;
    gap: 18px;
}

.product-commerce-copy h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: 1.05;
}

.product-summary {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-benefits {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-benefits li {
    position: relative;
    padding-left: 22px;
    color: #1f2937;
    font-weight: 750;
}

.product-benefits li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.08);
}

.product-price-panel {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
}

.price-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    color: #0f172a;
    background: #f8fafc;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px transparent;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.price-row:hover,
.price-row:focus-visible {
    border-color: rgba(15, 23, 42, 0.18);
    background: #fff;
    transform: translateY(-1px);
    outline: none;
}

.price-radio {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
}

.price-radio::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: inherit;
    background: var(--primary);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 160ms ease, transform 160ms ease;
}

.price-copy {
    display: grid;
    gap: 2px;
}

.price-copy > span {
    color: #475569;
    font-size: 0.92rem;
    font-weight: 950;
}

.price-copy small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
}

.price-row strong {
    color: #0f172a;
    font-size: 1.22rem;
    font-weight: 950;
    white-space: nowrap;
}

.price-row.active,
.price-row-promo.active {
    border-color: rgba(215, 25, 32, 0.34);
    background: linear-gradient(135deg, #fff7f7, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.08), 0 12px 28px rgba(215, 25, 32, 0.08);
}

.price-row.active .price-radio {
    border-color: var(--primary);
}

.price-row.active .price-radio::after {
    opacity: 1;
    transform: scale(1);
}

.price-row-promo.active .price-copy > span {
    color: var(--primary);
}

.price-saving {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 14px;
    color: #0f7a55;
    background: #ecfdf5;
    font-size: 0.92rem;
    font-weight: 900;
    animation: flash-enter 180ms ease-out both;
}

.price-saving::before {
    content: "✓";
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #10b981;
    font-size: 0.72rem;
}

.stock-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    border-radius: 16px;
    color: #334155;
    background: #f8fafc;
}

.stock-line strong {
    color: #0f172a;
}

.product-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-trust-row span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border-radius: 999px;
    color: #0f172a;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    font-size: 0.82rem;
    font-weight: 850;
}

.product-commerce-copy .product-buy-actions {
    grid-template-columns: 1fr;
}

.product-commerce-copy .inline-form {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
}

.product-commerce-copy .inline-form input[type="number"] {
    min-height: 50px;
}

.product-info-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-info-card {
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.product-info-wide {
    grid-column: 1 / -1;
}

.product-info-card h2,
.product-info-card h3 {
    margin: 0 0 12px;
    color: #0f172a;
}

.product-info-card p,
.product-info-card li {
    color: #475569;
    line-height: 1.7;
}

.product-info-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.product-faq-list {
    max-width: 900px;
}

.product-login-box {
    border-radius: 20px;
}

.admin-product-form {
    display: grid;
    gap: 18px;
}

.admin-product-form details {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 16px;
    background: #fff;
}

.admin-product-form summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 950;
}

.admin-product-form details[open] summary {
    margin-bottom: 14px;
}

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

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .product-commerce-detail,
    .product-info-layout {
        grid-template-columns: 1fr;
    }

    .product-media-panel {
        position: static;
    }

    .product-commerce-detail .detail-image {
        min-height: 320px;
    }
}

@media (max-width: 620px) {
    .product-commerce-copy .inline-form,
    .product-trust-row,
    .check-grid {
        grid-template-columns: 1fr;
    }

    .price-row {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .price-row strong {
        grid-column: 2;
        font-size: 1.18rem;
    }
}

/* Project areas page. */
.project-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 58px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 22%, rgba(215, 25, 32, 0.22), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #172554 52%, #111827 100%);
}

.project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 44px 44px;
}

.project-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 42px;
    align-items: center;
}

.project-hero .eyebrow {
    color: #ffb4b8;
}

.project-hero h1 {
    max-width: 850px;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(2.45rem, 5.2vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.project-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.72;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.project-hero-actions .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.project-hero-panel {
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.project-hero-panel strong {
    color: #fff;
    font-size: 1.24rem;
    line-height: 1.3;
}

.project-hero-panel span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.project-intro {
    padding-top: 48px;
    padding-bottom: 24px;
}

.project-intro .container {
    max-width: 960px;
}

.project-intro p {
    margin: 8px 0 0;
    color: #334155;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.75;
}

.project-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-area-card {
    display: grid;
    gap: 15px;
    align-content: start;
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-area-card:hover {
    border-color: rgba(215, 25, 32, 0.22);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.project-area-card.is-featured {
    border-color: rgba(215, 25, 32, 0.2);
    background: linear-gradient(135deg, #ffffff, #fff7f7);
}

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

.project-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: var(--primary);
    background: linear-gradient(135deg, #fff1f2, #eef2ff);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
}

.project-area-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.24rem, 2vw, 1.64rem);
    line-height: 1.18;
}

.project-area-card p {
    margin: 0;
    color: #475569;
    line-height: 1.68;
}

.project-card-desc {
    color: #334155 !important;
}

.project-solutions {
    display: grid;
    gap: 9px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.project-solutions strong {
    color: #0f172a;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.project-solutions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-solutions li {
    position: relative;
    padding-left: 16px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-solutions li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}

.project-result {
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    color: #0f172a;
    background: #fff7f7;
    font-weight: 850;
    line-height: 1.45;
}

.project-card-link {
    display: inline-flex;
    width: fit-content;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.9rem;
    font-weight: 900;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-card-link:hover,
.project-card-link:focus-visible {
    color: #fff;
    background: #a91118;
    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
    transform: translateY(-1px);
    outline: none;
}

.project-admin-note {
    background: #fff;
}

.project-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: #f8fafc;
}

.project-admin-grid h2 {
    margin: 6px 0 8px;
}

.project-admin-grid p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.project-final-cta {
    background:
        radial-gradient(circle at 92% 10%, rgba(215, 25, 32, 0.22), transparent 30%),
        #0f172a;
}

.project-final-cta .eyebrow {
    color: #ffb4b8;
}

@media (max-width: 980px) {
    .project-hero-grid,
    .project-admin-grid {
        grid-template-columns: 1fr;
    }

    .project-area-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .project-hero {
        padding: 54px 0 42px;
    }

    .project-hero-actions .btn,
    .project-card-link,
    .project-admin-grid .btn {
        width: 100%;
    }

    .project-solutions ul {
        grid-template-columns: 1fr;
    }

    .project-area-card {
        padding: 20px;
    }
}

@media (max-width: 980px) {
    .shop-private-hero-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .shop-private-hero {
        padding: 54px 0 42px;
    }

    .shop-hero-actions .btn,
    .shop-trust-strip {
        grid-template-columns: 1fr;
    }

    .shop-hero-actions .btn {
        width: 100%;
    }

    .locked-benefits {
        grid-template-columns: 1fr;
    }
}

/* Servicios y Proyectos: experiencias separadas */
.services-sales-hero {
    padding: 72px 0 58px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(239, 17, 31, 0.22), transparent 28%),
        linear-gradient(135deg, #050b3f 0%, #111a7a 58%, #0f172a 100%);
    overflow: hidden;
}

.services-sales-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.48fr);
    gap: 32px;
    align-items: center;
}

.services-sales-hero h1,
.case-hero h1 {
    max-width: 840px;
    margin: 10px 0 14px;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1.04;
}

.services-sales-hero p,
.case-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.7;
}

.service-hero-actions,
.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.service-hero-actions .btn-ghost,
.project-hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.services-sales-aside {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services-sales-aside strong {
    color: #fff;
    font-size: 1.2rem;
}

.services-sales-aside span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.services-sales-aside a {
    width: fit-content;
    color: #fff;
    border-bottom: 2px solid var(--accent);
    font-weight: 900;
}

.services-offer-section {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.service-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-offer-card {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 17, 31, 0.22);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
}

.service-offer-card.is-featured {
    border-color: rgba(239, 17, 31, 0.24);
    background: linear-gradient(180deg, #fff, #fff7f7);
}

.service-offer-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.service-line-icon {
    display: inline-grid;
    min-width: 48px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--primary);
    background: #eef2ff;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.03em;
}

.service-pill {
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--accent);
    background: rgba(239, 17, 31, 0.08);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-offer-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.08rem;
    line-height: 1.25;
}

.service-subtitle {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.45;
}

.service-offer-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.service-offer-card ul {
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.service-offer-card li {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 9px;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-offer-card li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--accent);
}

.service-offer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: auto;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.service-offer-cta:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
    box-shadow: 0 14px 26px rgba(5, 11, 63, 0.18);
}

.service-contract-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-contract-strip div {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.service-contract-strip span {
    color: var(--accent);
    font-weight: 950;
}

.service-contract-strip strong {
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.service-contract-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.service-final-cta {
    background:
        radial-gradient(circle at 92% 8%, rgba(239, 17, 31, 0.22), transparent 30%),
        linear-gradient(135deg, #050b3f, #111827);
}

.case-hero {
    padding: 78px 0 62px;
    color: #fff;
    background:
        linear-gradient(rgba(5, 11, 63, 0.9), rgba(15, 23, 42, 0.92)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
        #0f172a;
}

.case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 34px;
    align-items: center;
}

.case-hero-board {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.case-hero-board span {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 14px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.case-hero-board span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(239, 17, 31, 0.16);
}

.case-intro {
    padding: 48px 0;
    background: #fff;
}

.case-intro .container {
    display: grid;
    gap: 10px;
}

.case-intro p {
    max-width: 920px;
    margin: 0;
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.75;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 28px;
}

.case-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-top: 3px solid var(--case-accent, var(--primary));
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.82);
    border-top-color: var(--case-accent, var(--primary));
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.085);
}

.case-card.is-featured {
    border-color: rgba(203, 213, 225, 0.82);
    border-top-color: var(--case-accent, var(--accent));
}

.case-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: unset;
    height: 116px;
    padding: 22px 24px 16px;
    overflow: hidden;
    border-bottom: 1px solid rgba(226, 232, 240, 0.76);
    color: var(--case-accent);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.case-media::before {
    display: none;
}

.case-media::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.045;
    pointer-events: none;
}

.case-visual-frame {
    position: relative;
    z-index: 2;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    flex: 0 0 64px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 18px;
    color: var(--case-accent);
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.case-svg-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
}

.case-svg-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.case-image {
    width: 100%;
    height: 100%;
    max-width: 58px;
    max-height: 52px;
    object-fit: contain;
}

.case-media-imagen .case-visual-frame {
    width: 82px;
    height: 64px;
    flex-basis: 82px;
    border-radius: 18px;
}

.case-area-label {
    position: relative;
    z-index: 3;
    left: auto;
    right: auto;
    bottom: auto;
    border-radius: 999px;
    max-width: 72%;
    padding: 7px 0;
    color: #475569;
    background: transparent;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: none;
}

.case-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 15px;
    padding: 24px;
}

.case-kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    order: -1;
}

.case-kicker span {
    display: inline-flex;
    min-width: 0;
    height: auto;
    place-items: unset;
    border-radius: 0;
    color: var(--case-accent, var(--accent));
    background: transparent;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-kicker small {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.35;
}

.case-body h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.24rem;
    line-height: 1.24;
}

.case-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.case-flow div {
    display: grid;
    gap: 6px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0;
    background: transparent;
}

.case-flow strong {
    color: var(--case-accent, var(--accent));
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-flow p {
    margin: 0;
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.62;
}

.case-result {
    position: relative;
    border-left: 0;
    border-radius: 0;
    padding: 2px 0 0 18px;
    color: #0f172a;
    background: transparent;
    font-weight: 900;
    line-height: 1.48;
    box-shadow: none;
}

.case-result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 3px;
    border-radius: 999px;
    background: var(--case-accent, var(--accent));
}

.case-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    margin-top: auto;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 999px;
    padding: 9px 15px;
    color: var(--primary-dark);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 850;
    box-shadow: none;
    transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.case-link:hover {
    transform: translateY(-1px);
    color: var(--case-accent, var(--accent));
    border-color: color-mix(in srgb, var(--case-accent, var(--accent)) 35%, #cbd5e1);
    background: #f8fafc;
}

.content-admin-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
}

.content-admin-grid .panel {
    min-width: 0;
}

.admin-inline-details {
    min-width: 210px;
}

.admin-inline-details summary {
    cursor: pointer;
    font-weight: 850;
    color: var(--admin-blue, #315cf6);
}

.solution-request-detail {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--admin-line, rgba(148, 163, 184, 0.25));
    border-radius: 12px;
    background: var(--admin-surface-soft, #f7f9fd);
    color: var(--admin-text, #111827);
}

.solution-request-detail ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-request-detail li {
    color: var(--admin-muted, #64748b);
    font-size: 0.86rem;
    line-height: 1.45;
}

.solution-request-detail li span,
.solution-request-detail strong {
    color: var(--admin-text, #111827);
}

.inline-form select {
    min-width: 150px;
}

.solution-request-filters {
    grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.8fr) minmax(140px, 0.72fr) minmax(140px, 0.72fr) auto auto;
    margin: 0 0 18px;
}

.solution-followup-form {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--admin-line, rgba(148, 163, 184, 0.25));
    border-radius: 12px;
    background: var(--admin-surface, #fff);
}

.solution-followup-form .form-grid {
    gap: 10px;
}

.solution-followup-form textarea {
    min-height: 84px;
}

.compact-panel-head {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--admin-line, rgba(148, 163, 184, 0.25));
}

.vertical-actions {
    display: grid !important;
    align-items: stretch !important;
}

.vertical-actions .btn,
.vertical-actions form,
.vertical-actions button {
    width: 100%;
}

.solution-request-page .solution-request-detail {
    margin-top: 0;
}

.solution-request-summary strong {
    font-size: clamp(1.15rem, 1.8vw, 1.6rem);
    line-height: 1.12;
}

.solution-timeline {
    position: relative;
    display: grid;
    gap: 12px;
}

.solution-timeline article {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 12px 12px 12px 16px;
    border: 1px solid var(--admin-line, rgba(148, 163, 184, 0.25));
    border-left: 4px solid var(--admin-blue, #4f6df5);
    border-radius: 12px;
    background: var(--admin-surface-soft, #f7f9fd);
}

.solution-timeline article strong {
    color: var(--admin-text, #111827);
    font-size: 0.92rem;
}

.solution-timeline article span {
    color: var(--admin-muted, #64748b);
    font-size: 0.82rem;
    font-weight: 750;
}

@media (max-width: 1120px) {
    .service-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    .services-sales-grid,
    .case-hero-grid,
    .content-admin-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .services-sales-hero,
    .case-hero {
        padding: 54px 0 42px;
    }

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

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-media img {
        min-height: unset;
    }

    .case-flow {
        grid-template-columns: 1fr;
    }

    .case-body {
        padding: 22px;
    }

    .service-hero-actions .btn,
    .project-hero-actions .btn,
    .service-offer-cta,
    .case-link {
        width: 100%;
    }
}

/* Blog / Noticias automático */
.news-hero {
    padding: 76px 0 58px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(5, 11, 63, 0.96), rgba(15, 23, 42, 0.94)),
        #0f172a;
}

.news-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 34px;
    align-items: end;
}

.news-hero h1 {
    max-width: 850px;
    margin: 10px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: 1.04;
}

.news-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.72;
}

.news-hero-note {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.news-hero-note strong {
    color: #fff;
}

.news-hero-note span {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.news-page {
    background: #f8fafc;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.news-categories a {
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 999px;
    padding: 9px 14px;
    color: #334155;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 850;
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.news-categories a:hover,
.news-categories a.active {
    color: var(--chip-color, var(--primary));
    border-color: color-mix(in srgb, var(--chip-color, var(--primary)) 42%, #cbd5e1);
    transform: translateY(-1px);
}

.news-featured {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
    gap: 0;
    margin-bottom: 46px;
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.news-featured-media {
    display: block;
    min-height: 390px;
    background:
        linear-gradient(135deg, rgba(17, 26, 122, 0.1), rgba(239, 17, 31, 0.08)),
        #e2e8f0;
}

.news-featured-media img,
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-copy {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 38px;
}

.news-featured-copy h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.06;
}

.news-featured-copy p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.news-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--chip-color, var(--primary));
    background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-color, var(--primary)) 24%, #e2e8f0);
    font-size: 0.75rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 780;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 30px;
    align-items: start;
}

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

.news-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.news-card-image {
    display: block;
    height: 185px;
    background:
        linear-gradient(135deg, rgba(17, 26, 122, 0.1), rgba(239, 17, 31, 0.08)),
        #e2e8f0;
}

.news-featured-media img,
.news-card-image img {
    display: block;
    min-height: 100%;
}

.news-card-image img.is-fallback-image,
.news-featured-media img.is-fallback-image {
    object-fit: cover;
}

.news-card-body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.news-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.12rem;
    line-height: 1.3;
}

.news-card p {
    margin: 0;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.62;
}

.news-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.news-sidebar h3 {
    margin: 0 0 4px;
    color: var(--primary-dark);
}

.news-sidebar a {
    display: grid;
    gap: 5px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding-top: 12px;
}

.news-sidebar a span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.news-sidebar a strong {
    color: #0f172a;
    line-height: 1.35;
}

.news-legal-note,
.news-empty {
    border: 1px dashed rgba(148, 163, 184, 0.7);
    border-radius: 16px;
    padding: 16px;
    color: #475569;
    background: #f8fafc;
}

.news-empty {
    margin-bottom: 30px;
}

.admin-code {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    color: #e2e8f0;
    background: #0f172a;
    font-size: 0.85rem;
    white-space: pre-wrap;
}

.blog-cron-panel {
    display: grid;
    gap: 16px;
}

.cron-command-block {
    display: grid;
    gap: 8px;
}

.cron-command-block span,
.cron-status-grid small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cron-command-block small {
    color: #64748b;
    line-height: 1.5;
}

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

.cron-status-grid > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
}

.cron-status-grid strong,
.cron-status-grid a {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-news-thumb {
    width: 96px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #eef2f7;
    object-fit: cover;
}

@media (max-width: 980px) {
    .news-hero-grid,
    .news-featured,
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .cron-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .news-hero {
        padding: 54px 0 42px;
    }

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

    .news-featured-media {
        min-height: 240px;
    }

    .news-featured-copy {
        padding: 24px;
    }
}

/* Header refinement: gives the full desktop menu enough room without feeling cramped. */
.site-header .nav-wrap {
    width: min(1440px, calc(100% - 32px));
    max-width: none;
    min-height: 76px;
    gap: clamp(14px, 1.8vw, 28px);
}

.site-header .brand {
    min-width: 0;
}

.site-header .brand-letter {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.site-header .brand-logo {
    max-width: clamp(150px, 13vw, 195px);
    max-height: 36px;
}

.site-header .brand-services-page {
    gap: 0;
}

.site-header .brand-services-page .brand-logo {
    width: auto;
    max-width: clamp(252px, 19vw, 344px);
    max-height: 58px;
    border-radius: 0;
    filter: none;
}

.site-header .site-nav {
    min-width: 0;
    gap: clamp(12px, 1.4vw, 24px);
}

.site-header .nav-links {
    flex: 1 1 auto;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.site-header .nav-actions {
    gap: 8px;
}

.site-header .nav-links > a,
.site-header .nav-public-menu > button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 9px;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
}

.site-header .nav-support,
.site-header .nav-login,
.site-header .nav-register,
.site-header .nav-cart,
.site-header .nav-actions .nav-account > button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px !important;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
}

.site-header .nav-cart svg {
    width: 16px;
    height: 16px;
}

.site-header .nav-cart .pill {
    min-width: 19px;
    height: 19px;
    font-size: 0.72rem;
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header .nav-wrap {
        width: min(1260px, calc(100% - 24px));
        gap: 12px;
    }

    .site-header .brand-logo {
        max-width: 145px;
    }

    .site-header .brand-services-page .brand-logo {
        max-width: 236px;
        max-height: 50px;
    }

    .site-header .brand-letter {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .site-header .site-nav {
        gap: 10px;
    }

    .site-header .nav-links {
        gap: 1px;
    }

    .site-header .nav-links > a,
    .site-header .nav-public-menu > button {
        padding-inline: 7px;
        font-size: 0.74rem;
    }

    .site-header .nav-support,
    .site-header .nav-login,
    .site-header .nav-register,
    .site-header .nav-cart,
    .site-header .nav-actions .nav-account > button {
        padding-inline: 10px !important;
        font-size: 0.74rem;
    }
}

@media (max-width: 1120px) {
    .site-header .nav-wrap {
        width: min(1200px, calc(100% - 28px));
    }

    .site-header .nav-links,
    .site-header .nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-header .nav-links > a,
    .site-header .nav-public-menu > button,
    .site-header .nav-support,
    .site-header .nav-login,
    .site-header .nav-register,
    .site-header .nav-cart,
    .site-header .nav-actions .nav-account > button {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        font-size: 0.86rem;
    }

    .site-header .nav-cart .pill {
        margin-left: auto;
    }
}

/* Editorial policy page: institutional document, not dashboard cards. */
.policy-hero-editorial {
    padding: clamp(56px, 7vw, 92px) 0 clamp(42px, 5vw, 68px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.74)),
        linear-gradient(135deg, #10172b 0%, #1e293b 52%, #071038 100%);
}

.policy-hero-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(28px, 5vw, 74px);
    align-items: end;
}

.policy-hero-editorial h1 {
    max-width: 900px;
    margin: 14px 0 18px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5.2vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.policy-hero-editorial p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
}

.policy-hero-register {
    display: grid;
    gap: 12px;
    padding: 0 0 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.policy-hero-register span,
.policy-hero-register small {
    color: #ffccd1;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.policy-hero-register strong {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.45;
}

.policy-hero-register small {
    color: rgba(255, 255, 255, 0.58);
}

.policy-document-section {
    padding: clamp(44px, 6vw, 82px) 0;
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98)),
        #ffffff;
}

.policy-document-layout {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 820px);
    justify-content: center;
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.policy-sidebar-editorial {
    position: sticky;
    top: 104px;
}

.policy-sidebar-inner {
    display: grid;
    gap: 26px;
}

.policy-sidebar-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #d7dee9;
}

.policy-sidebar-heading span,
.policy-brief-editorial span,
.policy-contact-editorial span,
.policy-document-intro span {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.policy-sidebar-heading h2 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.policy-index-editorial {
    display: grid;
    gap: 2px;
}

.policy-index-editorial a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 780;
    line-height: 1.35;
}

.policy-index-editorial a:hover,
.policy-index-editorial a:focus-visible {
    color: #0f172a;
    outline: none;
}

.policy-index-editorial a:hover span,
.policy-index-editorial a:focus-visible span {
    color: var(--primary);
}

.policy-index-editorial span {
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    font-weight: 900;
}

.policy-brief-editorial {
    display: grid;
    gap: 12px;
    padding: 20px 0 0;
    border-top: 3px solid #0f172a;
}

.policy-brief-editorial p,
.policy-contact-editorial p,
.policy-document-intro p,
.policy-section-body p {
    color: #475569;
    line-height: 1.78;
}

.policy-brief-editorial p,
.policy-contact-editorial p {
    margin: 0;
    font-size: 0.94rem;
}

.policy-contact-editorial {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid #d7dee9;
    border-left: 4px solid var(--primary);
    background: #ffffff;
}

.policy-contact-editorial a {
    justify-self: start;
    color: #0f172a;
    font-weight: 950;
    border-bottom: 2px solid rgba(215, 25, 32, 0.3);
}

.policy-contact-editorial a:hover,
.policy-contact-editorial a:focus-visible {
    color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.policy-document-editorial {
    min-width: 0;
}

.policy-document-intro {
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #d7dee9;
}

.policy-document-intro h2 {
    max-width: 720px;
    margin: 10px 0 12px;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
}

.policy-document-intro p {
    max-width: 720px;
    margin: 0;
}

.policy-section-editorial {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid #d7dee9;
    scroll-margin-top: 112px;
}

.policy-section-marker {
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1;
}

.policy-section-body {
    max-width: 760px;
}

.policy-section-body .policy-kicker {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-section-body h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.policy-section-body h3 {
    margin: 24px 0 8px;
    color: #172033;
    font-size: 1.02rem;
}

.policy-section-body p {
    margin: 0 0 16px;
    font-size: 1rem;
}

.policy-section-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .policy-hero-editorial-grid,
    .policy-document-layout {
        grid-template-columns: 1fr;
    }

    .policy-hero-register {
        max-width: 640px;
        padding: 18px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

    .policy-sidebar-editorial {
        position: static;
    }

    .policy-sidebar-inner {
        gap: 18px;
    }

    .policy-index-editorial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
    }
}

@media (max-width: 640px) {
    .policy-hero-editorial {
        padding-top: 44px;
    }

    .policy-index-editorial {
        grid-template-columns: 1fr;
    }

    .policy-section-editorial {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .policy-section-marker {
        font-size: 0.9rem;
    }
}

/* Editorial about page: same institutional family as Policies, warmer and brand-led. */
.about-hero-editorial {
    padding: clamp(58px, 7vw, 94px) 0 clamp(44px, 5vw, 70px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(9, 15, 34, 0.94), rgba(15, 23, 42, 0.76)),
        linear-gradient(135deg, #071038 0%, #172554 50%, #111827 100%);
}

.about-hero-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 380px);
    gap: clamp(28px, 5vw, 76px);
    align-items: end;
}

.about-hero-editorial h1 {
    max-width: 860px;
    margin: 14px 0 18px;
    color: #ffffff;
    font-size: clamp(2.65rem, 5.5vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.about-hero-editorial p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.75;
}

.about-hero-register {
    display: grid;
    gap: 12px;
    padding: 0 0 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.about-hero-register span,
.about-hero-register small {
    color: #ffccd1;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.about-hero-register strong {
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.45;
}

.about-hero-register small {
    color: rgba(255, 255, 255, 0.6);
}

.about-document-section {
    padding: clamp(44px, 6vw, 84px) 0;
    background: linear-gradient(90deg, #f8fafc, #ffffff);
}

.about-document-layout {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 820px);
    justify-content: center;
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.about-sidebar-editorial {
    position: sticky;
    top: 104px;
}

.about-sidebar-inner {
    display: grid;
    gap: 26px;
}

.about-sidebar-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #d7dee9;
}

.about-sidebar-heading span,
.about-brief-editorial span,
.about-contact-editorial span,
.about-document-intro span,
.about-kicker {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.about-sidebar-heading h2 {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: 1.35rem;
}

.about-index-editorial {
    display: grid;
    gap: 2px;
}

.about-index-editorial a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.about-index-editorial a:hover,
.about-index-editorial a:focus-visible {
    color: #0f172a;
    outline: none;
}

.about-index-editorial span {
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
    font-weight: 900;
}

.about-index-editorial a:hover span,
.about-index-editorial a:focus-visible span {
    color: var(--primary);
}

.about-brief-editorial {
    display: grid;
    gap: 12px;
    padding: 20px 0 0;
    border-top: 3px solid #0f172a;
}

.about-brief-editorial p,
.about-contact-editorial p,
.about-document-intro p,
.about-section-body p,
.about-capability-list span {
    color: #475569;
    line-height: 1.78;
}

.about-brief-editorial p,
.about-contact-editorial p {
    margin: 0;
    font-size: 0.94rem;
}

.about-contact-editorial {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid #d7dee9;
    border-left: 4px solid var(--primary);
    background: #ffffff;
}

.about-contact-editorial a {
    justify-self: start;
    color: #0f172a;
    font-weight: 950;
    border-bottom: 2px solid rgba(215, 25, 32, 0.3);
}

.about-contact-editorial a:hover,
.about-contact-editorial a:focus-visible {
    color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.about-document-intro {
    margin-bottom: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #d7dee9;
}

.about-document-intro h2 {
    max-width: 760px;
    margin: 10px 0 12px;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
}

.about-document-intro p {
    max-width: 760px;
    margin: 0;
}

.about-section-editorial {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid #d7dee9;
    scroll-margin-top: 112px;
}

.about-section-marker {
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1;
}

.about-section-body {
    max-width: 760px;
}

.about-section-body h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.about-section-body p {
    margin: 0 0 16px;
    font-size: 1rem;
}

.about-commitment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-commitment-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    color: #172033;
    font-weight: 900;
}

.about-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.about-capability-list div {
    display: grid;
    gap: 5px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.about-capability-list strong {
    color: #0f172a;
    font-size: 1rem;
}

.about-capability-list span {
    font-size: 0.94rem;
}

@media (max-width: 980px) {
    .about-hero-editorial-grid,
    .about-document-layout {
        grid-template-columns: 1fr;
    }

    .about-hero-register {
        max-width: 640px;
        padding: 18px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

    .about-sidebar-editorial {
        position: static;
    }

    .about-sidebar-inner {
        gap: 18px;
    }

    .about-index-editorial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
    }
}

@media (max-width: 640px) {
    .about-hero-editorial {
        padding-top: 44px;
    }

    .about-index-editorial,
    .about-commitment-list,
    .about-capability-list {
        grid-template-columns: 1fr;
    }

    .about-section-editorial {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-section-marker {
        font-size: 0.9rem;
    }
}

/* Home news: dynamic entries from the real blog importer. */
.home-news-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-news-heading {
    align-items: end;
}

.home-news-heading h2 {
    max-width: 760px;
}

.home-news-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.65;
}

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

.home-news-card {
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 25, 32, 0.18);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.1);
}

.home-news-media {
    display: block;
    height: 185px;
    background:
        linear-gradient(135deg, rgba(17, 26, 122, 0.1), rgba(215, 25, 32, 0.08)),
        #e2e8f0;
}

.home-news-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-copy {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.home-news-kicker {
    justify-self: start;
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--chip-color, #111a7a);
    background: color-mix(in srgb, var(--chip-color, #111a7a) 10%, #ffffff);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-news-copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.32;
}

.home-news-copy h3 a {
    color: inherit;
}

.home-news-copy h3 a:hover,
.home-news-copy h3 a:focus-visible {
    color: var(--primary);
    outline: none;
}

.home-news-copy p {
    margin: 0;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.62;
}

.home-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 4px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 850;
}

.home-news-meta span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px 2px 0;
    border-radius: 999px;
    background: #cbd5e1;
}

.home-news-empty {
    padding: 28px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    background: #ffffff;
}

.home-news-empty strong {
    color: #0f172a;
}

.home-news-empty p {
    color: #64748b;
}

.home-news-empty a {
    color: var(--primary);
    font-weight: 900;
}

@media (max-width: 980px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .home-news-media {
        height: 210px;
    }
}

/* Home promotions refinement */
.home-slider-section {
    padding-top: 72px;
    padding-bottom: 74px;
    background:
        radial-gradient(circle at 10% 0%, rgba(215, 25, 32, 0.055), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-slider-section .home-promo-heading {
    align-items: end;
    gap: 28px;
    margin-bottom: 28px;
}

.home-slider-section .home-promo-heading h2 {
    max-width: 560px;
    color: #071225;
    font-size: clamp(2.1rem, 3.2vw, 3.65rem);
    line-height: 1.02;
    text-wrap: balance;
}

.home-slider-section .home-promo-heading p {
    max-width: 610px;
    margin: 12px 0 0;
    color: #506079;
    font-size: 1rem;
    line-height: 1.7;
}

.home-slider-section .home-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-slider-section .home-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 164px;
    padding: 28px 30px;
    border: 1px solid #e8edf4;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.home-slider-section .home-slide:hover,
.home-slider-section .home-slide:focus-within {
    border-color: rgba(215, 25, 32, 0.22);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    transform: translateY(-5px);
}

.home-slider-section .home-slide > div {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.home-slide-label {
    justify-self: start;
    color: #0b4f9c;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-slider-section .home-slide h3 {
    margin: 0;
    color: #071225;
    font-size: clamp(1.05rem, 1.3vw, 1.28rem);
    line-height: 1.24;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-slider-section .home-slide p {
    margin: 0;
    color: #536279;
    font-size: 0.94rem;
    line-height: 1.58;
}

.home-slider-section .home-slide .btn {
    justify-self: start;
    margin-top: 2px;
    padding: 9px 15px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .home-slider-section .home-slider {
        grid-template-columns: 1fr;
    }

    .home-slider-section .home-slide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-slider-section {
        padding-top: 52px;
        padding-bottom: 56px;
    }

    .home-slider-section .home-promo-heading {
        align-items: start;
        gap: 16px;
    }

    .home-slider-section .home-slide {
        grid-template-columns: 1fr;
        padding: 18px;
    }

}

/* Final header logo refinement */
.site-header .nav-wrap {
    min-height: 84px;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
}

.site-header .brand,
.site-header .brand-image-only,
.site-header .brand-services-page {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
}

.site-header .brand-image-only,
.site-header .brand-services-page {
    gap: 0;
    margin-right: clamp(2px, 0.5vw, 10px);
}

.site-header .brand-logo {
    width: auto;
    height: auto;
    max-width: clamp(188px, 14.8vw, 236px);
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.08));
}

.site-header .brand-image-only .brand-logo {
    max-width: clamp(200px, 15.4vw, 248px);
    max-height: 46px;
}

.site-header .brand-services-page .brand-logo {
    max-width: clamp(272px, 20vw, 360px);
    max-height: 62px;
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header .nav-wrap {
        min-height: 78px;
    }

    .site-header .brand-logo {
        max-width: 178px;
        max-height: 40px;
    }

    .site-header .brand-image-only .brand-logo {
        max-width: 188px;
        max-height: 42px;
    }

    .site-header .brand-services-page .brand-logo {
        max-width: 242px;
        max-height: 50px;
    }
}

@media (max-width: 760px) {
    .site-header .nav-wrap {
        min-height: 72px;
        gap: 12px;
    }

    .site-header .brand-logo {
        max-width: 164px;
        max-height: 36px;
    }

    .site-header .brand-image-only .brand-logo {
        max-width: 174px;
        max-height: 38px;
    }

    .site-header .brand-services-page .brand-logo {
        max-width: 208px;
        max-height: 44px;
    }
}

/* Services page header: reserve more room so the attached image fits fully. */
.site-header.services-header .nav-wrap {
    min-height: 96px;
    gap: clamp(16px, 2vw, 30px);
}

.site-header.services-header .brand-services-page {
    flex: 0 0 auto;
    align-items: center;
}

.site-header.services-header .brand-services-page .brand-logo {
    max-width: clamp(300px, 22vw, 390px);
    max-height: 76px;
    object-position: left center;
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header.services-header .nav-wrap {
        min-height: 88px;
    }

    .site-header.services-header .brand-services-page .brand-logo {
        max-width: 280px;
        max-height: 68px;
    }
}

@media (max-width: 760px) {
    .site-header.services-header .nav-wrap {
        min-height: 76px;
    }

    .site-header.services-header .brand-services-page .brand-logo {
        max-width: 220px;
        max-height: 50px;
    }
}

/* Mobile navigation and storefront hardening. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1120px) {
    .site-header .site-nav {
        max-height: 0;
        overflow: hidden;
        overscroll-behavior: contain;
        transition: max-height 220ms ease, padding 220ms ease;
    }

    .site-header .site-nav.open {
        max-height: calc(100dvh - 86px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .nav-public-menu > div {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 16px;
        background: #f8fafc;
        box-shadow: none;
    }

    .site-header .nav-public-menu:hover > div,
    .site-header .nav-public-menu:focus-within > div {
        display: none;
    }

    .site-header .nav-public-menu.is-open > div,
    .site-header .nav-public-menu.is-open:hover > div,
    .site-header .nav-public-menu.is-open:focus-within > div {
        display: grid;
        gap: 6px;
    }

    .site-header .nav-public-menu > button::after,
    .site-header .nav-actions .nav-account > button::after {
        content: "";
        width: 8px;
        height: 8px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        opacity: 0.55;
    }

    .site-header .nav-public-menu.is-open > button::after {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .site-header .nav-links > a,
    .site-header .nav-public-menu > button,
    .site-header .nav-public-menu > div a,
    .site-header .nav-actions a,
    .site-header .nav-actions button {
        touch-action: manipulation;
    }
}

@media (max-width: 760px) {
    .shop-private-hero,
    .section {
        overflow: hidden;
    }

    .shop-private-hero {
        padding: 34px 0 28px;
    }

    .shop-private-hero-grid,
    .shop-trust-strip,
    .shop-layout,
    .section-heading {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px;
        width: 100%;
    }

    .section-heading {
        align-items: stretch;
    }

    .filters {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100%;
        gap: 12px;
    }

    .filters select,
    .filters input,
    .filters button {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        font-size: 16px;
    }

    .shop-layout > *,
    .shop-layout > div,
    .shop-products,
    .shop-products > * {
        min-width: 0;
        max-width: 100%;
    }

    .shop-sidebar {
        position: static !important;
        width: 100%;
        max-height: none !important;
        overflow: hidden;
        border-radius: 22px;
    }

    .shop-sidebar h3 {
        position: static;
        padding: 18px 18px 12px;
        font-size: clamp(1.15rem, 6vw, 1.55rem);
    }

    .shop-category-scroll {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        max-height: none !important;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 14px;
        scroll-padding-inline: 14px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .shop-category-scroll a {
        flex: 0 0 auto;
        min-height: 42px;
        max-width: 78vw;
        padding: 10px 14px;
        white-space: normal;
        overflow-wrap: anywhere;
        scroll-snap-align: start;
    }

    .product-grid.shop-products,
    .shop-products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
    }

    .shop-products .product-card,
    .product-card.ecommerce-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 22px;
    }

    .shop-products .product-image {
        aspect-ratio: 4 / 3;
        min-height: 0;
        max-height: 240px;
    }

    .shop-products .product-body {
        min-width: 0;
        padding: 18px;
    }

    .shop-products .product-card-actions {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .shop-products .product-card-actions .product-view-btn,
    .shop-products .product-advisor-btn {
        min-height: 48px;
        width: 100%;
        border-radius: 14px;
    }

    .shop-products .product-advisor-btn {
        flex-direction: row;
        padding: 10px 12px;
    }

    .shop-products .product-advisor-btn span::after {
        font-size: 0.78rem;
    }

    .floating-whatsapp,
    .whatsapp-float {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        transform: scale(0.9);
        transform-origin: right bottom;
    }
}

@media (max-width: 420px) {
    .site-header .nav-wrap {
        width: min(100% - 22px, 1200px);
        min-height: 70px;
        gap: 10px;
    }

    .site-header .brand-logo,
    .site-header .brand-image-only .brand-logo {
        max-width: min(66vw, 230px);
        max-height: 50px;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border-radius: 16px;
    }

    .shop-private-hero h1,
    .section-heading h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
        line-height: 1.04;
    }
}

/* Store mobile refinement: less cramped, no reload-feeling category controls. */
@media (max-width: 760px) {
    .shop-private-hero {
        padding: 24px 0 20px;
    }

    .shop-private-hero-grid {
        gap: 12px !important;
    }

    .shop-private-hero h1 {
        max-width: 15ch;
        margin: 8px 0 12px;
        font-size: clamp(1.8rem, 7.8vw, 2.55rem);
        line-height: 1.02;
    }

    .shop-private-hero p {
        max-width: 34ch;
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .shop-private-hero small {
        max-width: 32ch;
        margin-top: 10px;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .shop-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .shop-hero-actions .btn {
        min-height: 44px;
        border-radius: 10px;
    }

    .shop-access-card {
        display: none;
    }

    .shop-trust-strip {
        display: none !important;
    }

    .shop-sidebar {
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    }

    .shop-sidebar h3 {
        padding: 14px 14px 10px;
        font-size: 1.25rem;
    }

    .shop-category-scroll {
        gap: 8px;
        padding: 10px 12px 12px;
        scrollbar-width: none;
    }

    .shop-category-scroll::-webkit-scrollbar {
        display: none;
    }

    .shop-category-scroll a {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 0.78rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .shop-products {
        gap: 16px !important;
    }

    .shop-products .product-card,
    .product-card.ecommerce-card {
        border-radius: 18px;
    }

    .shop-products .product-image {
        max-height: 205px;
        border-radius: 16px 16px 14px 14px;
    }

    .shop-products .product-body {
        padding: 16px;
    }

    .shop-products .product-body h3 {
        font-size: 1.05rem;
        line-height: 1.24;
    }

    .shop-products .catalog-preview-note {
        font-size: 0.86rem;
    }

    .price-locked-box {
        padding: 12px;
        border-radius: 14px;
    }
}

@media (max-width: 420px) {
    .shop-private-hero {
        padding: 20px 0 16px;
    }

    .shop-private-hero h1 {
        max-width: 15ch;
        font-size: clamp(1.65rem, 8.8vw, 2.1rem);
    }

    .shop-private-hero p {
        font-size: 0.88rem;
    }

    .section {
        padding: 30px 0;
    }

    .filters select,
    .filters input,
    .filters button {
        min-height: 44px;
    }

    .shop-products .product-image {
        max-height: 180px;
    }
}

/* Store filters and extra-small viewport breathing room. */
.shop-heading {
    align-items: start;
}

.shop-filter-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 10px;
    min-width: min(520px, 100%);
}

.shop-filter-panel .btn,
.shop-filter-note {
    grid-column: 1 / -1;
}

.shop-filter-note {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.shop-filter-panel input:disabled,
.shop-filter-panel select:disabled,
.shop-filter-panel select option:disabled {
    color: #94a3b8;
}

.shop-filter-panel input:disabled {
    border-style: dashed;
    background: #f8fafc;
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .shop-filter-panel {
        grid-template-columns: 1fr !important;
        min-width: 0;
    }

    .shop-heading {
        gap: 16px !important;
    }
}

@media (max-width: 380px) {
    .container,
    .site-header .nav-wrap {
        width: min(100% - 20px, 1180px);
    }

    .shop-private-hero {
        padding: 18px 0 14px;
    }

    .shop-private-hero h1 {
        max-width: 14ch;
        font-size: clamp(1.52rem, 8.6vw, 1.95rem);
        line-height: 1.05;
    }

    .shop-private-hero p {
        max-width: 30ch;
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .shop-private-hero small {
        font-size: 0.7rem;
    }

    .shop-hero-actions .btn {
        min-height: 42px;
        font-size: 0.85rem;
    }

    .section-heading h1,
    .section-heading h2,
    .service-hero h1,
    .project-hero h1,
    .page-hero h1 {
        font-size: clamp(1.82rem, 10vw, 2.35rem);
        line-height: 1.06;
    }

    .section-heading p,
    .service-hero p,
    .project-hero p,
    .page-hero p {
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .shop-products .product-body h3 {
        font-size: 0.98rem;
    }
}

/* Store hero: compact phone layout for very narrow browsers. */
@media (max-width: 480px) {
    .shop-private-hero {
        padding: 18px 0 16px;
    }

    .shop-private-hero::before {
        background-size: 38px 38px;
    }

    .shop-private-hero-grid {
        width: min(100% - 28px, 1180px) !important;
        justify-items: center;
        text-align: center;
    }

    .shop-private-hero-grid > div:first-child {
        display: grid;
        justify-items: center;
        width: 100%;
    }

    .shop-private-hero .eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.05em;
    }

    .shop-private-hero h1 {
        max-width: 260px;
        margin: 8px auto 10px;
        font-size: clamp(1.72rem, 8vw, 2.2rem);
        line-height: 1.04;
        text-wrap: balance;
    }

    .shop-private-hero p {
        max-width: 270px;
        margin-inline: auto;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .shop-private-hero small {
        max-width: 260px;
        margin-inline: auto;
        font-size: 0.7rem;
        line-height: 1.45;
    }

    .shop-hero-actions {
        width: min(100%, 248px);
        margin-top: 14px;
    }

    .shop-hero-actions .btn {
        width: 100%;
        min-height: 42px;
    }
}

@media (max-width: 320px) {
    .shop-private-hero-grid {
        width: min(100% - 22px, 1180px) !important;
    }

    .shop-private-hero h1 {
        max-width: 230px;
        font-size: 1.52rem;
    }

    .shop-private-hero p {
        max-width: 240px;
        font-size: 0.8rem;
    }

    .shop-hero-actions {
        width: min(100%, 220px);
    }
}

/* Final mobile polish: centered home hero and usable category chips. */
@media (max-width: 760px) {
    .modern-hero .hero-content {
        justify-items: center;
        text-align: center;
    }

    .modern-hero .hero-content > div:first-child {
        display: grid;
        justify-items: center;
        width: 100%;
    }

    .modern-hero .eyebrow,
    .modern-hero h1,
    .modern-hero p {
        margin-inline: auto;
    }

    .modern-hero h1 {
        max-width: min(10.8em, 100%);
        font-size: clamp(2rem, 10vw, 3.4rem);
        text-wrap: balance;
    }

    .modern-hero p {
        max-width: 34ch;
        font-size: 0.94rem;
    }

    .modern-hero .hero-actions {
        display: grid;
        width: min(100%, 300px);
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .modern-hero .hero-actions .btn {
        width: 100%;
    }

    .modern-hero .hero-benefits {
        justify-content: center;
    }

    .shop-sidebar {
        text-align: left;
    }

    .shop-category-scroll {
        display: flex !important;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px 12px 14px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .shop-category-scroll a {
        flex: 0 0 auto;
        max-width: min(68vw, 240px);
        white-space: nowrap;
        text-align: center;
        scroll-snap-align: start;
    }
}

@media (max-width: 380px) {
    .modern-hero {
        min-height: auto;
        padding: 30px 0 26px;
    }

    .modern-hero h1 {
        max-width: 10.2em;
        font-size: clamp(1.75rem, 9.5vw, 2.45rem);
    }

    .modern-hero p {
        max-width: 30ch;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .modern-hero .hero-actions {
        width: min(100%, 270px);
    }
}

/* Theme toggle and dark mode. */
.theme-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(17, 26, 122, 0.32);
    outline: none;
}

.theme-icon {
    width: 17px;
    height: 17px;
}

.theme-icon-sun {
    display: none;
}

.theme-toggle-mobile {
    display: none;
    width: 46px;
    min-height: 46px;
    padding: 0;
}

html[data-theme="dark"] {
    --bg: #08111f;
    --surface: #101827;
    --surface-soft: #142033;
    --ink: #e5ecf7;
    --muted: #a8b4c7;
    --line: rgba(148, 163, 184, 0.22);
    --primary: #7aa2ff;
    --primary-dark: #dbe7ff;
    --accent: #ff3f4c;
    --shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] body {
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(239, 17, 31, 0.16), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(59, 130, 246, 0.14), transparent 25%),
        linear-gradient(180deg, #07101f 0%, #0b1220 260px, var(--bg) 100%);
}

html[data-theme="dark"] .theme-toggle {
    color: #eaf1ff;
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.86);
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: block;
}

html[data-theme="dark"] .site-header {
    background: rgba(8, 17, 31, 0.9);
    border-bottom-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .site-nav .nav-public-menu > div,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .account-menu,
html[data-theme="dark"] .shop-sidebar,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .policy-paper,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .footer-contact-line {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(16, 24, 39, 0.92);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    color: var(--ink);
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.74);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #7f8ca3;
}

html[data-theme="dark"] .site-footer {
    background: #050a14;
}

html[data-theme="dark"] .news-page,
html[data-theme="dark"] .policy-document-section,
html[data-theme="dark"] .about-document-section,
html[data-theme="dark"] .home-news-section,
html[data-theme="dark"] .home-slider-section {
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(11, 18, 32, 0.98)),
        var(--bg);
}

html[data-theme="dark"] .news-categories a,
html[data-theme="dark"] .news-featured,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .news-sidebar,
html[data-theme="dark"] .news-legal-note,
html[data-theme="dark"] .news-empty,
html[data-theme="dark"] .review,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .split-showcase,
html[data-theme="dark"] .popular-service-grid article,
html[data-theme="dark"] .specialty-grid article,
html[data-theme="dark"] .tool-link-card,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .home-news-card,
html[data-theme="dark"] .home-news-empty,
html[data-theme="dark"] .home-slider-section .home-slide,
html[data-theme="dark"] .policy-contact-editorial,
html[data-theme="dark"] .about-contact-editorial {
    color: var(--ink);
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(16, 24, 39, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] th {
    color: #aebbd0;
    background: rgba(18, 28, 45, 0.96);
}

html[data-theme="dark"] .news-categories a:hover,
html[data-theme="dark"] .news-categories a.active {
    background: rgba(23, 34, 54, 0.96);
}

html[data-theme="dark"] .news-featured-copy h2,
html[data-theme="dark"] .news-card h3,
html[data-theme="dark"] .news-sidebar h3,
html[data-theme="dark"] .news-sidebar a strong,
html[data-theme="dark"] .split-showcase h2,
html[data-theme="dark"] .home-news-copy h3,
html[data-theme="dark"] .home-slider-section .home-slide h3,
html[data-theme="dark"] .policy-sidebar-heading h2,
html[data-theme="dark"] .policy-document-intro h2,
html[data-theme="dark"] .policy-section-body h2,
html[data-theme="dark"] .policy-section-body h3,
html[data-theme="dark"] .about-sidebar-heading h2,
html[data-theme="dark"] .about-document-intro h2,
html[data-theme="dark"] .about-section-body h2,
html[data-theme="dark"] .about-capability-list strong,
html[data-theme="dark"] .about-commitment-list li {
    color: var(--ink);
}

html[data-theme="dark"] .news-featured-copy p,
html[data-theme="dark"] .news-card p,
html[data-theme="dark"] .news-meta,
html[data-theme="dark"] .news-empty,
html[data-theme="dark"] .news-legal-note,
html[data-theme="dark"] .split-showcase p,
html[data-theme="dark"] .popular-service-grid p,
html[data-theme="dark"] .specialty-grid span,
html[data-theme="dark"] .tool-link-card p,
html[data-theme="dark"] .faq-list p,
html[data-theme="dark"] .home-news-heading p,
html[data-theme="dark"] .home-news-copy p,
html[data-theme="dark"] .home-news-meta,
html[data-theme="dark"] .home-news-empty p,
html[data-theme="dark"] .home-slider-section .home-promo-heading p,
html[data-theme="dark"] .home-slider-section .home-slide p,
html[data-theme="dark"] .policy-brief-editorial p,
html[data-theme="dark"] .policy-contact-editorial p,
html[data-theme="dark"] .policy-document-intro p,
html[data-theme="dark"] .policy-section-body p,
html[data-theme="dark"] .about-brief-editorial p,
html[data-theme="dark"] .about-contact-editorial p,
html[data-theme="dark"] .about-document-intro p,
html[data-theme="dark"] .about-section-body p,
html[data-theme="dark"] .about-capability-list span {
    color: #aebbd0;
}

html[data-theme="dark"] .news-card-image,
html[data-theme="dark"] .news-featured-media,
html[data-theme="dark"] .home-news-media,
html[data-theme="dark"] .home-slider-section .home-slide picture {
    background:
        linear-gradient(135deg, rgba(79, 109, 245, 0.18), rgba(239, 17, 31, 0.12)),
        rgba(22, 32, 51, 0.96);
}


html[data-theme="dark"] .home-news-copy h3 a:hover,
html[data-theme="dark"] .home-news-copy h3 a:focus-visible,
html[data-theme="dark"] .policy-contact-editorial a,
html[data-theme="dark"] .about-contact-editorial a {
    color: #dbe7ff;
}

html[data-theme="dark"] .trust-row span,
html[data-theme="dark"] .news-kicker,
html[data-theme="dark"] .home-news-kicker {
    background: rgba(20, 32, 51, 0.88);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .policy-document-section,
html[data-theme="dark"] .about-document-section {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] .policy-sidebar-heading,
html[data-theme="dark"] .policy-document-intro,
html[data-theme="dark"] .policy-section-editorial,
html[data-theme="dark"] .policy-index-editorial a,
html[data-theme="dark"] .about-sidebar-heading,
html[data-theme="dark"] .about-document-intro,
html[data-theme="dark"] .about-section-editorial,
html[data-theme="dark"] .about-index-editorial a,
html[data-theme="dark"] .about-commitment-list li,
html[data-theme="dark"] .about-capability-list div {
    border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .policy-index-editorial a,
html[data-theme="dark"] .about-index-editorial a,
html[data-theme="dark"] .policy-section-marker,
html[data-theme="dark"] .about-section-marker,
html[data-theme="dark"] .policy-index-editorial span,
html[data-theme="dark"] .about-index-editorial span {
    color: #7f8ca3;
}

html[data-theme="dark"] .shop-filter-panel input:disabled,
html[data-theme="dark"] .shop-filter-panel select:disabled {
    color: #8ea0ba !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    background: rgba(15, 23, 42, 0.78) !important;
    -webkit-text-fill-color: #8ea0ba;
}

html[data-theme="dark"] .shop-filter-note {
    color: #93a7c3;
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .section-soft,
html[data-theme="dark"] .services-offer-section,
html[data-theme="dark"] .dealer-section,
html[data-theme="dark"] .dealer-cta-section,
html[data-theme="dark"] .contact-modern-section,
html[data-theme="dark"] .contact-final-section,
html[data-theme="dark"] .solutions-hub-section,
html[data-theme="dark"] .solution-packages-section,
html[data-theme="dark"] .solution-wizard-section,
html[data-theme="dark"] .solution-faq-section,
html[data-theme="dark"] .shop-layout,
html[data-theme="dark"] .solutions-studio-section,
html[data-theme="dark"] .trust-tech-section,
html[data-theme="dark"] .about-snapshot {
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(11, 18, 32, 0.98)),
        var(--bg) !important;
}

html[data-theme="dark"] .service-offer-card,
html[data-theme="dark"] .service-contract-strip article,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .case-body,
html[data-theme="dark"] .case-flow div,
html[data-theme="dark"] .case-result,
html[data-theme="dark"] .dealer-filter,
html[data-theme="dark"] .dealer-card,
html[data-theme="dark"] .dealer-address,
html[data-theme="dark"] .dealer-cta,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .contact-channel-card,
html[data-theme="dark"] .contact-location-card,
html[data-theme="dark"] .contact-map-card,
html[data-theme="dark"] .contact-final-cta,
html[data-theme="dark"] .shop-access-card,
html[data-theme="dark"] .shop-trust-strip,
html[data-theme="dark"] .shop-filter-panel,
html[data-theme="dark"] .shop-promo-band,
html[data-theme="dark"] .shop-promo-list a,
html[data-theme="dark"] .solution-detail-card,
html[data-theme="dark"] .solution-package-card,
html[data-theme="dark"] .solution-wizard-panel,
html[data-theme="dark"] .solution-summary-panel,
html[data-theme="dark"] .solution-choice,
html[data-theme="dark"] .solution-check-option,
html[data-theme="dark"] .solution-toggle-option,
html[data-theme="dark"] .solution-summary-box,
html[data-theme="dark"] .solution-rules-box,
html[data-theme="dark"] .solution-visual-preview,
html[data-theme="dark"] .solution-visual-screen,
html[data-theme="dark"] .solution-hub-card,
html[data-theme="dark"] .solution-faq-list details,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .blog-card {
    color: var(--ink) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    background:
        linear-gradient(180deg, rgba(16, 24, 39, 0.96), rgba(14, 22, 36, 0.96)) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .service-offer-card.is-featured,
html[data-theme="dark"] .dealer-card.is-featured {
    background:
        linear-gradient(180deg, rgba(31, 41, 64, 0.98), rgba(16, 24, 39, 0.98)) !important;
}

html[data-theme="dark"] .service-offer-card h3,
html[data-theme="dark"] .service-subtitle,
html[data-theme="dark"] .case-body h3,
html[data-theme="dark"] .dealer-title-block h3,
html[data-theme="dark"] .dealer-address strong,
html[data-theme="dark"] .dealer-cta h2,
html[data-theme="dark"] .contact-form-card h2,
html[data-theme="dark"] .contact-channel-card strong,
html[data-theme="dark"] .contact-location-card h3,
html[data-theme="dark"] .contact-final-cta h2,
html[data-theme="dark"] .solution-detail-card strong,
html[data-theme="dark"] .solution-hero-estimate b,
html[data-theme="dark"] .solution-detail-points li,
html[data-theme="dark"] .solution-package-card h3,
html[data-theme="dark"] .solution-wizard-panel h2,
html[data-theme="dark"] .solution-summary-panel h2,
html[data-theme="dark"] .solution-field-label,
html[data-theme="dark"] .solution-hub-card h3,
html[data-theme="dark"] .product-card h3,
html[data-theme="dark"] .blog-card h3 {
    color: var(--ink) !important;
}

html[data-theme="dark"] .service-offer-card p,
html[data-theme="dark"] .service-offer-card li,
html[data-theme="dark"] .case-flow p,
html[data-theme="dark"] .dealer-description,
html[data-theme="dark"] .dealer-title-block p,
html[data-theme="dark"] .dealer-address small,
html[data-theme="dark"] .dealer-cta p,
html[data-theme="dark"] .contact-form-card > p,
html[data-theme="dark"] .contact-location-card p,
html[data-theme="dark"] .contact-final-cta p,
html[data-theme="dark"] .solution-detail-card p,
html[data-theme="dark"] .solution-package-card p,
html[data-theme="dark"] .solution-wizard-panel p,
html[data-theme="dark"] .solution-summary-box li,
html[data-theme="dark"] .solution-rules-box li,
html[data-theme="dark"] .solution-hub-card p,
html[data-theme="dark"] .product-card p,
html[data-theme="dark"] .blog-card p {
    color: #aebbd0 !important;
}

html[data-theme="dark"] .solution-estimate-card,
html[data-theme="dark"] .shop-private-hero,
html[data-theme="dark"] .services-sales-hero,
html[data-theme="dark"] .case-hero,
html[data-theme="dark"] .dealer-hero,
html[data-theme="dark"] .contact-hero,
html[data-theme="dark"] .solutions-hub-hero,
html[data-theme="dark"] .solution-detail-hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(79, 109, 245, 0.16), transparent 28%),
        linear-gradient(135deg, #080f20, #121b34) !important;
}

html[data-theme="dark"] .solution-final-box {
    background: rgba(20, 83, 45, 0.28);
    border-color: rgba(34, 197, 94, 0.26);
}

html[data-theme="dark"] .solution-final-box strong,
html[data-theme="dark"] .solution-final-box p,
html[data-theme="dark"] .solution-final-box small {
    color: #bbf7d0;
}

html[data-theme="dark"] .solution-final-box.is-error {
    background: rgba(127, 29, 29, 0.28);
    border-color: rgba(248, 113, 113, 0.28);
}

html[data-theme="dark"] .solution-final-box.is-error strong,
html[data-theme="dark"] .solution-final-box.is-error p,
html[data-theme="dark"] .solution-final-box.is-error small {
    color: #fecaca;
}

html[data-theme="dark"] .solution-hero-estimate {
    background: linear-gradient(135deg, rgba(36, 87, 255, 0.14), rgba(223, 24, 33, 0.08));
    border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .solution-hero-estimate em {
    color: #cbd5e1;
}

html[data-theme="dark"] .solution-reset-estimate {
    color: #e5edff;
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="dark"] .solution-reset-estimate:hover {
    background: rgba(127, 29, 29, 0.22);
    border-color: rgba(248, 113, 113, 0.36);
}

html[data-theme="dark"] .solution-hero-mini-list li {
    color: #e5edff;
    background: rgba(59, 130, 246, 0.18);
}

@media (max-width: 1120px) {
    .theme-toggle {
        width: 100%;
    }

    .theme-toggle-mobile {
        display: inline-flex;
        width: 46px;
        min-width: 46px;
        margin-left: auto;
    }

    .nav-actions > .theme-toggle:not(.theme-toggle-mobile) {
        display: none;
    }
}

/* Modern admin dashboard layer. */
.admin-body {
    --admin-bg: #f4f7fb;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f7f9fd;
    --admin-sidebar: #182132;
    --admin-sidebar-muted: #94a3b8;
    --admin-text: #111827;
    --admin-muted: #64748b;
    --admin-line: rgba(148, 163, 184, 0.22);
    --admin-blue: #4f6df5;
    --admin-cyan: #20b7d8;
    --admin-green: #10b981;
    --admin-red: #ef111f;
    --admin-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    color: var(--admin-text);
    background:
        radial-gradient(circle at 76% 0%, rgba(79, 109, 245, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0, var(--admin-bg) 190px);
}

html[data-theme="dark"] .admin-body {
    --admin-bg: #0b1120;
    --admin-surface: #111827;
    --admin-surface-soft: #172033;
    --admin-sidebar: #0d1424;
    --admin-sidebar-muted: #91a0b8;
    --admin-text: #eaf1ff;
    --admin-muted: #a7b3c5;
    --admin-line: rgba(148, 163, 184, 0.18);
    --admin-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
    background:
        radial-gradient(circle at 74% 0%, rgba(79, 109, 245, 0.18), transparent 28%),
        linear-gradient(180deg, #08101f 0, var(--admin-bg) 210px);
}

.admin-shell {
    grid-template-columns: 292px minmax(0, 1fr);
    align-items: stretch;
    background: linear-gradient(90deg, var(--admin-sidebar) 0 292px, transparent 292px);
}

.admin-shell .admin-menu {
    padding: 22px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at 20% 0%, rgba(79, 109, 245, 0.18), transparent 30%),
        var(--admin-sidebar);
    box-shadow: 18px 0 45px rgba(15, 23, 42, 0.08);
    min-height: 100vh;
    scrollbar-color: rgba(203, 213, 225, 0.65) transparent;
}

.admin-logo {
    gap: 0;
    margin: 0 0 22px;
    padding: 12px 12px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 !important;
    color: #fff !important;
}

.admin-logo:hover {
    background: transparent !important;
}

.admin-logo-img {
    width: 118px;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.admin-logo span {
    display: grid;
    gap: 5px;
}

.admin-logo strong {
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

.admin-logo small {
    color: var(--admin-sidebar-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.admin-menu-section {
    display: block;
    margin: 18px 8px 8px;
    color: var(--admin-sidebar-muted);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-shell .admin-menu a:not(.admin-logo) {
    position: relative;
    min-height: 42px;
    padding: 11px 13px 11px 34px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 850;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-shell .admin-menu a:not(.admin-logo)::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    transform: translateY(-50%);
}

.admin-shell .admin-menu a:not(.admin-logo):hover,
.admin-shell .admin-menu a:not(.admin-logo).is-active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(2px);
}

.admin-shell .admin-menu a:not(.admin-logo).is-active::before {
    background: var(--admin-red);
    box-shadow: 0 0 0 5px rgba(239, 17, 31, 0.14);
}

.admin-topbar {
    grid-template-columns: minmax(170px, 0.8fr) minmax(260px, 1.1fr) auto;
    min-height: 82px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

html[data-theme="dark"] .admin-topbar {
    background: rgba(11, 17, 32, 0.86);
}

html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .admin-action-card,
html[data-theme="dark"] .stock-list a,
html[data-theme="dark"] .module-help,
html[data-theme="dark"] .module-guide-card,
html[data-theme="dark"] .setup-note,
html[data-theme="dark"] .google-flow-grid article,
html[data-theme="dark"] .cron-status-grid > div,
html[data-theme="dark"] .admin-image-preview,
html[data-theme="dark"] .media-card,
html[data-theme="dark"] .google-setup-panel,
html[data-theme="dark"] .google-flow-panel {
    color: var(--admin-text);
    border-color: var(--admin-line);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

html[data-theme="dark"] .admin-image-preview img {
    background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .panel-head small,
html[data-theme="dark"] .module-help p,
html[data-theme="dark"] .module-guide-card span,
html[data-theme="dark"] .setup-note span,
html[data-theme="dark"] .google-flow-grid span,
html[data-theme="dark"] .google-setup-panel p,
html[data-theme="dark"] .google-flow-panel p,
html[data-theme="dark"] .cron-command-block small,
html[data-theme="dark"] .cron-command-block span,
html[data-theme="dark"] .cron-status-grid small,
html[data-theme="dark"] .admin-image-preview span,
html[data-theme="dark"] .media-card small {
    color: var(--admin-muted);
}

html[data-theme="dark"] .media-path,
html[data-theme="dark"] .media-meta-row span {
    color: #dbe7ff;
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.78);
}

html[data-theme="dark"] .status-pill.neutral {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .quick-product-form label,
html[data-theme="dark"] .product-admin-cell small {
    color: var(--admin-muted);
}

.orders-admin-page .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-filter-panel {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}

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

.admin-data-table table {
    min-width: 980px;
}

.admin-data-table td {
    vertical-align: middle;
}

.status-pill.info {
    color: #1d4ed8;
    background: #dbeafe;
}

.status-pill.danger {
    color: #b91c1c;
    background: #fee2e2;
}

.shipment-email-preview {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f3f4f6;
}

.shipment-admin-page .table-actions form {
    margin: 0;
}

.quote-inline-form textarea {
    min-width: 190px;
    min-height: 84px;
    resize: vertical;
}

.rma-inline-form input,
.rma-inline-form textarea {
    min-width: 170px;
}

.rma-inline-form textarea {
    min-height: 78px;
    resize: vertical;
}

.admin-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 22px;
}

.admin-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--admin-line, var(--line));
    color: var(--admin-text, var(--ink));
}

.admin-result-row:last-child {
    border-bottom: 0;
}

.admin-result-row span {
    display: grid;
    gap: 4px;
}

.admin-result-row small,
.admin-result-row em {
    color: var(--admin-muted, var(--muted));
    font-style: normal;
}

.users-admin-page .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.user-filter-panel {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 150px 150px auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
}

.stock-admin-page + .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-filter-panel {
    margin-bottom: 18px;
}

.stock-filter-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) auto;
    gap: 12px;
    align-items: end;
}

.stock-list {
    display: grid;
    gap: 12px;
}

.stock-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.7fr);
    gap: 14px;
    align-items: center;
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.72);
    padding: 14px;
}

.stock-product-main {
    display: grid;
    gap: 6px;
}

.stock-product-main strong {
    color: var(--admin-text, var(--ink));
    line-height: 1.2;
}

.stock-product-main span {
    color: var(--admin-muted, var(--muted));
    font-size: 0.9rem;
}

.stock-product-main .status-pill {
    justify-self: start;
}

.stock-adjust-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(90px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.stock-adjust-form label {
    margin: 0;
}

html[data-theme="dark"] .stock-row {
    background: rgba(15, 23, 42, 0.72);
}

.payments-admin-page + .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.payment-filter-panel {
    margin-bottom: 18px;
}

.payment-filter-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) auto;
    gap: 12px;
    align-items: end;
}

.payment-list {
    display: grid;
    gap: 12px;
}

.payment-row {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.8fr);
    gap: 14px;
    align-items: center;
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.72);
    padding: 14px;
}

.payment-order-main {
    display: grid;
    gap: 6px;
}

.payment-order-main strong {
    color: var(--admin-text, var(--ink));
}

.payment-order-main span,
.payment-order-main small {
    color: var(--admin-muted, var(--muted));
}

.payment-inline-form {
    display: grid;
    grid-template-columns: 150px 130px minmax(160px, 1fr) minmax(160px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.payment-inline-form label {
    margin: 0;
}

html[data-theme="dark"] .payment-row {
    background: rgba(15, 23, 42, 0.72);
}

.product-stock-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 900;
    color: #065f46;
    background: rgba(16, 185, 129, 0.12);
}

.product-stock-chip.stock_bajo {
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
}

.product-stock-chip.agotado,
.product-stock-chip.en_transito,
.product-stock-chip.bajo_pedido {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.12);
}

@media (max-width: 860px) {
    .admin-search-panel,
    .admin-search-results,
    .user-filter-panel,
    .stock-filter-grid,
    .stock-row,
    .stock-adjust-form,
    .payment-filter-grid,
    .payment-row,
    .payment-inline-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .users-admin-page .metric-grid,
    .stock-admin-page + .metric-grid,
    .payments-admin-page + .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .users-admin-page .metric-grid,
    .stock-admin-page + .metric-grid,
    .payments-admin-page + .metric-grid {
        grid-template-columns: 1fr;
    }
}

.quote-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(88px, 1fr));
    gap: 8px;
    min-width: 190px;
}

.quote-value-grid label,
.compact-label {
    display: grid;
    gap: 4px;
    margin: 0 0 8px;
    color: var(--admin-muted, var(--muted));
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quote-value-grid input,
.compact-label input {
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: 0.86rem;
}

html[data-theme="dark"] .status-pill.info {
    color: #bfdbfe;
    background: rgba(96, 165, 250, 0.18);
}

html[data-theme="dark"] .status-pill.danger {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.18);
}

html[data-theme="dark"] .setup-note strong,
html[data-theme="dark"] .google-flow-grid strong,
html[data-theme="dark"] .cron-status-grid strong,
html[data-theme="dark"] .cron-status-grid a,
html[data-theme="dark"] .admin-action-card strong {
    color: var(--admin-text);
}

html[data-theme="dark"] .table-wrap th {
    color: #9fb0c9;
    background: rgba(19, 30, 49, 0.94);
}

html[data-theme="dark"] .table-wrap td {
    color: var(--admin-text);
}

html[data-theme="dark"] .table-wrap tr:hover td {
    background: rgba(79, 109, 245, 0.07);
}

.admin-topbar-title strong {
    color: var(--admin-text);
    font-size: 1.18rem;
}

.admin-search input {
    min-height: 46px;
    border-color: var(--admin-line);
    border-radius: 999px;
    padding-inline: 18px;
    color: var(--admin-text);
    background: var(--admin-surface-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.admin-topbar-actions {
    gap: 10px;
}

.admin-badge,
.admin-profile,
.admin-theme-toggle {
    min-height: 42px;
    border-color: var(--admin-line);
    border-radius: 999px;
    color: var(--admin-text);
    background: var(--admin-surface);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-badge.attention {
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.25);
    background: #fffbeb;
}

html[data-theme="dark"] .admin-badge.attention {
    color: #fbbf24;
    background: rgba(120, 53, 15, 0.24);
}

.admin-page {
    padding: 30px;
}

.admin-content {
    gap: 26px;
}

.admin-page-head {
    align-items: center;
    padding: 4px 0 2px;
}

.admin-page-head h1 {
    margin: 6px 0 10px;
    color: var(--admin-text);
    font-size: clamp(2.2rem, 3vw, 3.25rem);
    letter-spacing: -0.02em;
}

.admin-page-head p {
    max-width: 680px;
    color: var(--admin-muted);
}

.period-tabs {
    border-color: var(--admin-line);
    border-radius: 999px;
    padding: 6px;
    background: var(--admin-surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.period-tabs a {
    border-radius: 999px;
    color: var(--admin-muted);
}

.period-tabs a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--admin-blue), #6d7cff);
    box-shadow: 0 12px 24px rgba(79, 109, 245, 0.24);
}

.metric-grid {
    gap: 18px;
}

.metric-card,
.ops-card,
.admin-action-card,
.module-guide-card,
.panel,
.module-help {
    border-color: var(--admin-line);
    border-radius: 18px;
    color: var(--admin-text);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.metric-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-left: 1px solid var(--admin-line);
    padding: 22px;
}

.metric-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(79, 109, 245, 0.1);
}

.metric-card.good::after {
    background: rgba(16, 185, 129, 0.12);
}

.metric-card.warning::after {
    background: rgba(245, 158, 11, 0.14);
}

.metric-card.critical::after {
    background: rgba(239, 17, 31, 0.12);
}

.filters-panel .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.filters-panel label {
    display: grid;
    gap: 8px;
    color: var(--admin-muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.filters-panel input,
.filters-panel select {
    min-height: 44px;
}

.import-fill-preview {
    display: grid;
    gap: 18px;
    margin: 18px 0;
}

.import-mini-example {
    min-width: 960px;
}

.import-mini-example th {
    background: var(--admin-text);
    color: var(--admin-surface);
    white-space: nowrap;
}

.import-mini-example td {
    vertical-align: top;
}

.import-format-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--admin-text);
    background: rgba(37, 99, 235, 0.08);
}

.import-format-note span {
    color: var(--admin-muted);
}

.import-column-guide {
    display: grid;
    gap: 18px;
    margin: 18px 0;
}

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

.import-column-groups article {
    display: grid;
    gap: 9px;
    align-content: start;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.86);
}

.import-column-groups strong {
    color: var(--admin-text);
    font-size: 1rem;
}

.import-column-groups span {
    color: var(--admin-muted);
    line-height: 1.45;
}

.import-column-groups code {
    display: inline-flex;
    margin-right: 4px;
    padding: 3px 7px;
    border-radius: 8px;
    color: var(--admin-text);
    background: rgba(15, 23, 42, 0.06);
    font-weight: 900;
}

.metric-card span,
.ops-card span {
    color: var(--admin-muted);
}

.metric-card strong {
    color: var(--admin-text);
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
}

.metric-card em {
    color: var(--admin-text);
    background: var(--admin-surface-soft);
}

.dashboard-wide-grid,
.dashboard-grid {
    gap: 26px;
}

.panel {
    padding: 22px;
}

.panel-head h2 {
    color: var(--admin-text);
    letter-spacing: -0.01em;
}

.sales-chart {
    height: 280px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, var(--admin-surface-soft), rgba(79, 109, 245, 0.04));
    background-size: 100% 52px, auto;
}

.sales-chart span {
    background: linear-gradient(180deg, #64d2ff, var(--admin-blue));
    box-shadow: 0 10px 20px rgba(79, 109, 245, 0.22);
}

.funnel-list em {
    background: linear-gradient(90deg, var(--admin-blue), var(--admin-cyan));
}

.ops-grid {
    gap: 16px;
}

.ops-card {
    padding: 18px;
}

.ops-card strong {
    color: var(--admin-text);
}

.module-help {
    border-left: 0;
    padding: 18px 20px;
    background:
        linear-gradient(135deg, rgba(79, 109, 245, 0.08), rgba(32, 183, 216, 0.08)),
        var(--admin-surface);
}

html[data-theme="dark"] .module-help {
    background:
        linear-gradient(135deg, rgba(79, 109, 245, 0.14), rgba(32, 183, 216, 0.1)),
        var(--admin-surface);
}

html[data-theme="dark"] .config-group-card {
    border-color: var(--admin-line);
    background:
        linear-gradient(135deg, rgba(79, 109, 245, 0.14), rgba(32, 183, 216, 0.08)),
        var(--admin-surface);
}

html[data-theme="dark"] .config-group-title,
html[data-theme="dark"] .config-form-footer {
    border-color: var(--admin-line);
}

html[data-theme="dark"] .config-group-title h3,
html[data-theme="dark"] .config-field-grid span {
    color: var(--admin-text);
}

.module-guide-card {
    min-height: 118px;
    padding: 18px;
}

.module-guide-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 109, 245, 0.32);
}

.stock-list a {
    border-color: var(--admin-line);
    border-radius: 14px;
    background: var(--admin-surface-soft);
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-shell .admin-menu {
        position: static;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: 0;
    }

    .admin-logo,
    .admin-menu-section {
        grid-column: 1 / -1;
    }

    .admin-topbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .admin-page {
        padding: 20px 14px;
    }

    .admin-shell .admin-menu {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .admin-topbar {
        padding: 14px;
    }

    .admin-topbar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-profile {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* Admin AI-first evolution */
.command-center,
.ai-governance-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

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

.command-center article,
.ai-governance-strip article,
.task-card,
.seo-aeo-card,
.ai-provider-grid article {
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 16px;
    background: var(--admin-surface, #fff);
    box-shadow: var(--shadow);
}

.command-center article,
.ai-governance-strip article {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.command-center span,
.ai-governance-strip span,
.task-module,
.seo-aeo-title span {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.command-center strong,
.ai-governance-strip strong {
    color: var(--admin-text, var(--ink));
    font-size: 1.8rem;
    line-height: 1;
}

.ai-governance-strip strong {
    font-size: 1.1rem;
}

.command-center small,
.ai-governance-strip small,
.task-card small {
    color: var(--admin-muted, var(--muted));
    font-weight: 750;
    line-height: 1.45;
}

.command-center a {
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 900;
}

.ai-draft-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ai-draft-actions form {
    margin: 0;
}

.ai-draft-actions button {
    border: 0;
    padding: 0;
    color: var(--danger, #d71920);
    background: transparent;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
}

.ai-json-output {
    max-height: 520px;
    overflow: auto;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 14px;
    background: #0f172a;
    color: #dbeafe;
    font-size: 0.86rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

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

.ai-provider-grid article {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.ai-provider-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ai-provider-head strong {
    color: var(--admin-text, var(--ink));
    font-size: 1.05rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 850;
}

.ai-history-list,
.task-board,
.seo-aeo-list {
    display: grid;
    gap: 14px;
}

.ai-history-list form,
.task-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--admin-line, var(--line));
}

.ai-history-list form:last-child {
    border-bottom: 0;
}

.ai-history-list span,
.ai-history-list small {
    display: block;
    color: var(--admin-muted, var(--muted));
    font-size: 0.82rem;
    font-weight: 750;
}

.ai-history-list strong {
    display: block;
    margin: 3px 0;
    color: var(--admin-text, var(--ink));
}

.task-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    padding: 18px;
    border-left: 5px solid #94a3b8;
}

.task-card p {
    margin: 8px 0;
    color: var(--admin-muted, var(--muted));
    line-height: 1.55;
}

.task-card form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.severity-critica {
    border-left-color: #b91c1c;
}

.severity-alta {
    border-left-color: #d71920;
}

.severity-media {
    border-left-color: #f59e0b;
}

.severity-info {
    border-left-color: #2563eb;
}

.seo-aeo-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(170px, 0.35fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
}

.seo-aeo-title strong {
    display: block;
    margin-top: 5px;
    color: var(--admin-text, var(--ink));
    font-size: 1.04rem;
}

.score-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.score-pair div {
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 12px;
    padding: 10px;
    background: var(--admin-surface-soft, #f8fafc);
    text-align: center;
}

.score-pair span {
    display: block;
    color: var(--admin-muted, var(--muted));
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.score-pair strong {
    color: var(--admin-text, var(--ink));
}

.checklist-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist-inline li {
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 999px;
    padding: 6px 9px;
    color: var(--admin-muted, var(--muted));
    font-size: 0.76rem;
    font-weight: 850;
}

.checklist-inline li.ok {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    color: #15803d;
}

.checklist-inline li.fail {
    border-color: rgba(215, 25, 32, 0.25);
    background: rgba(215, 25, 32, 0.06);
    color: #b91c1c;
}

.rich-preview-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--admin-line, var(--line));
}

.serp-preview,
.schema-preview,
.entity-preview {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--admin-line, var(--line));
    border-radius: 14px;
    background: var(--admin-surface-soft, #f8fafc);
}

.serp-preview span,
.schema-preview span,
.entity-preview span {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.serp-preview strong,
.schema-preview strong {
    color: #1d4ed8;
    font-size: 1rem;
    line-height: 1.25;
}

.serp-preview em {
    color: #15803d;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.serp-preview p,
.schema-preview p,
.entity-preview p {
    margin: 0;
    color: var(--admin-muted, var(--muted));
    font-size: 0.84rem;
    line-height: 1.45;
}

.entity-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.entity-chips b {
    display: inline-flex;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.75rem;
}

html[data-theme="dark"] .ai-json-output {
    background: #020617;
    color: #bfdbfe;
}

html[data-theme="dark"] .serp-preview strong,
html[data-theme="dark"] .schema-preview strong,
html[data-theme="dark"] .entity-chips b {
    color: #93c5fd;
}

html[data-theme="dark"] .serp-preview em {
    color: #86efac;
}

html[data-theme="dark"] .entity-chips b {
    border-color: rgba(147, 197, 253, 0.24);
    background: rgba(147, 197, 253, 0.09);
}

/* Final pass: mobile menu must behave like a real panel in both themes. */
@media (max-width: 1120px) {
    .site-header {
        z-index: 120;
    }

    .site-header .nav-wrap {
        position: relative;
    }

    .site-header .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 130;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-height: 0;
        padding: 0 14px;
        overflow: hidden;
        pointer-events: none;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    }

    .site-header .site-nav.open {
        max-height: calc(100dvh - 92px);
        padding: 14px;
        overflow-y: auto;
        pointer-events: auto;
    }

    .site-header .nav-links,
    .site-header .nav-actions {
        width: 100%;
        min-width: 0;
    }

    .site-header .nav-actions {
        order: -1;
    }

    .site-header .nav-actions .nav-login {
        order: 1;
    }

    .site-header .nav-actions .nav-register {
        order: 2;
    }

    .site-header .nav-actions .nav-cart {
        order: 3;
    }

    .site-header .nav-actions .nav-support {
        order: 4;
    }

    .site-header .nav-actions > .theme-toggle {
        order: 5;
    }

    .site-header .nav-links > a,
    .site-header .nav-public-menu > button,
    .site-header .nav-public-menu > div a,
    .site-header .nav-support,
    .site-header .nav-login,
    .site-header .nav-register,
    .site-header .nav-cart,
    .site-header .nav-actions .nav-account > button {
        display: flex;
        align-items: center;
        min-width: 0;
        width: 100%;
        min-height: 46px;
        color: #142033;
        border: 1px solid rgba(226, 232, 240, 0.95);
        background: #ffffff;
        box-shadow: none;
    }

    .site-header .nav-register {
        justify-content: center;
        color: #ffffff;
        border-color: rgba(223, 24, 33, 0.88);
        background: var(--accent);
    }

    html[data-theme="dark"] .site-header .site-nav {
        border-color: rgba(148, 163, 184, 0.24);
        background: rgba(8, 17, 31, 0.98);
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    }

    html[data-theme="dark"] .site-header .nav-links > a,
    html[data-theme="dark"] .site-header .nav-public-menu > button,
    html[data-theme="dark"] .site-header .nav-public-menu > div a,
    html[data-theme="dark"] .site-header .nav-support,
    html[data-theme="dark"] .site-header .nav-login,
    html[data-theme="dark"] .site-header .nav-cart,
    html[data-theme="dark"] .site-header .nav-actions .nav-account > button {
        color: #eaf1ff !important;
        border-color: rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.78);
    }

    html[data-theme="dark"] .site-header .nav-register {
        color: #ffffff !important;
        border-color: rgba(255, 63, 76, 0.7);
        background: #df1821;
    }

html[data-theme="dark"] .site-header .nav-public-menu > div {
        border-color: rgba(148, 163, 184, 0.18);
        background: rgba(2, 6, 23, 0.42);
    }
}

/* Final desktop header balance: prevents logo, menu and support badge from crowding. */
@media (min-width: 1121px) {
    .site-header .nav-wrap {
        width: min(1400px, calc(100% - 28px));
        gap: clamp(12px, 1.2vw, 20px);
    }

    .site-header .brand {
        flex: 0 0 clamp(220px, 18vw, 286px);
        max-width: 286px;
        overflow: visible;
    }

    .site-header .brand-logo,
    .site-header .brand-image-only .brand-logo {
        width: 100%;
        max-width: 100%;
        max-height: 46px;
        object-fit: contain;
        object-position: left center;
    }

    .site-header .site-nav {
        flex: 1 1 auto;
        min-width: 0;
        gap: clamp(8px, .8vw, 14px);
    }

    .site-header .nav-links {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 2px;
    }

    .site-header .nav-actions {
        flex: 0 1 auto;
        gap: 6px;
    }

    .site-header .nav-links > a,
    .site-header .nav-public-menu > button {
        padding-inline: 6px;
        font-size: .74rem;
    }

    .site-header .nav-support,
    .site-header .nav-cart,
    .site-header .nav-login,
    .site-header .nav-register,
    .site-header .nav-actions .nav-account > button,
    .site-header .theme-toggle {
        padding-inline: 8px !important;
        font-size: .74rem;
    }

    .site-header .theme-toggle span {
        display: none;
    }

    .site-header .nav-support small {
        display: inline;
        max-width: 58px;
        text-overflow: ellipsis;
    }
}

@media (min-width: 1121px) and (max-width: 1260px) {
    .site-header .nav-cart span:not(.pill) {
        display: none;
    }

    .site-header .brand {
        flex-basis: 218px;
        max-width: 218px;
    }

    .site-header .brand-logo,
    .site-header .brand-image-only .brand-logo {
        max-height: 42px;
    }
}

/* Keep Servicios header logo aligned with the rest of the public site. */
.site-header.services-header .nav-wrap {
    min-height: 84px;
}

.site-header.services-header .brand-services-page .brand-logo {
    max-width: clamp(200px, 15.4vw, 248px);
    max-height: 46px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1280px) and (min-width: 1121px) {
    .site-header.services-header .nav-wrap {
        min-height: 78px;
    }

    .site-header.services-header .brand-services-page .brand-logo {
        max-width: 188px;
        max-height: 42px;
    }
}

@media (max-width: 760px) {
    .site-header.services-header .nav-wrap {
        min-height: 72px;
    }

.site-header.services-header .brand-services-page .brand-logo {
    max-width: 174px;
    max-height: 38px;
}
}

/* PC builder */
.pc-quote-hero {
    padding: clamp(44px, 6vw, 74px) 0;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 16, 56, 0.96), rgba(18, 28, 87, 0.92)),
        radial-gradient(circle at 82% 20%, rgba(32, 178, 208, 0.24), transparent 32%);
}

.pc-quote-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.pc-quote-hero h1 {
    max-width: 900px;
    margin: 10px 0 16px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.95;
}

.pc-quote-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.7;
}

.pc-quote-hero-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.pc-quote-hero-card strong {
    color: #ffffff;
    font-size: 1.4rem;
}

.pc-quote-hero-card span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
}

.pc-builder-shell {
    padding: clamp(34px, 5vw, 72px) 0;
    background: #eef3f8;
}

.pc-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: clamp(18px, 3vw, 32px);
    align-items: start;
}

.pc-builder-main,
.pc-builder-summary {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.pc-builder-main {
    min-width: 0;
    padding: clamp(18px, 3vw, 30px);
}

.pc-builder-summary {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
    padding: 22px;
}

.pc-builder-progress {
    display: none;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pc-builder-progress button {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 900;
    cursor: pointer;
}

.pc-builder-progress button.active,
.pc-builder-progress button.done {
    border-color: rgba(225, 29, 42, 0.24);
    color: #071038;
    background: #fff2f3;
}

.pc-builder-step-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 24px;
}

.pc-builder-step-head h2 {
    margin: 8px 0 8px;
    color: #071038;
    font-size: clamp(1.55rem, 2.7vw, 2.65rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.pc-builder-step-head p {
    margin: 0;
    color: #526173;
    line-height: 1.7;
}

.pc-back-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    color: #071038;
    background: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-back-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

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

.pc-choice-grid button {
    min-height: 132px;
    padding: 18px;
    border: 1px solid #d8e1ec;
    border-radius: 18px;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-choice-grid button:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 29, 42, 0.24);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.pc-choice-grid strong,
.pc-choice-grid span {
    display: block;
}

.pc-choice-grid strong {
    color: #071038;
    font-size: 1.02rem;
}

.pc-choice-grid span {
    margin-top: 10px;
    color: #64748b;
    line-height: 1.5;
}

.pc-product-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.pc-product-toolbar p {
    margin: 0;
    color: #526173;
    font-weight: 700;
}

.pc-product-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pc-product-filters select {
    min-height: 40px;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    padding: 0 14px;
    color: #071038;
    background: #ffffff;
    font-weight: 800;
}

.pc-products-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pc-product-card {
    overflow: hidden;
    border: 1px solid #d8e1ec;
    border-radius: 22px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-product-card:hover,
.pc-product-card.selected {
    transform: translateY(-2px);
    border-color: rgba(9, 160, 84, 0.32);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.pc-product-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 230px;
    background: #eaf8fb;
}

.pc-product-image img {
    width: min(78%, 260px);
    height: 180px;
    object-fit: contain;
}

.pc-product-image span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 950;
}

.pc-product-image .available {
    background: #0e9f6e;
}

.pc-product-image .unavailable {
    background: #9ca3af;
}

.pc-product-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.pc-product-category {
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.pc-product-body h3 {
    margin: 0;
    color: #071038;
    font-size: 1.08rem;
    line-height: 1.25;
}

.pc-product-body p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.pc-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-product-specs span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #475569;
    background: #f8fbff;
    font-size: 0.78rem;
}

.pc-product-specs b {
    color: #071038;
}

.pc-product-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.pc-product-footer button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #073b4c;
    font-weight: 950;
    cursor: pointer;
}

.pc-product-footer button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.pc-product-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pc-product-prices div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 13px;
    background: #f8fafc;
}

.pc-product-prices .promo {
    border-color: rgba(225, 29, 42, 0.22);
    background: #fff5f5;
}

.pc-product-prices small,
.pc-product-prices em {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    font-style: normal;
    line-height: 1.2;
}

.pc-product-prices strong {
    color: #071038;
    font-size: 1.05rem;
}

.pc-product-prices .promo strong {
    color: #e11d2a;
}

.pc-loading,
.pc-error,
.pc-builder-empty,
.pc-final-panel {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed #b8c6d8;
    border-radius: 20px;
    background: #f8fbff;
    color: #526173;
}

.pc-final-panel h2,
.pc-builder-empty strong {
    margin: 0 0 10px;
    color: #071038;
}

.pc-final-actions,
.pc-peripheral-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pc-summary-head {
    display: grid;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.pc-summary-head span {
    color: #071038;
    font-size: 1.25rem;
    font-weight: 950;
    text-transform: uppercase;
}

.pc-summary-head strong {
    color: #e11d2a;
    line-height: 1.4;
}

.pc-summary-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-summary-list li {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.pc-summary-list span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
}

.pc-summary-list strong {
    color: #071038;
    font-size: 0.86rem;
    line-height: 1.35;
}

.pc-summary-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pc-summary-status div,
.pc-summary-tax,
.pc-summary-tech,
.pc-summary-analysis,
.pc-summary-warning {
    border-radius: 16px;
    background: #f1f5f9;
}

.pc-summary-status div {
    display: grid;
    gap: 4px;
    padding: 12px;
}

.pc-summary-status small,
.pc-summary-status em,
.pc-summary-tech span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    font-style: normal;
}

.pc-summary-status strong {
    color: #071038;
    font-size: 1rem;
}

.pc-summary-status .pc-summary-total {
    background: #071038;
}

.pc-summary-status .pc-summary-total small,
.pc-summary-status .pc-summary-total strong,
.pc-summary-status .pc-summary-total em {
    color: #ffffff;
}

.pc-summary-tax {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 12px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.pc-summary-tax strong {
    color: #071038;
}

.pc-summary-tech {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.pc-summary-tech p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

.pc-summary-tech strong {
    color: #071038;
}

.pc-summary-warning {
    display: grid;
    gap: 8px;
    padding: 12px;
    color: #8a3412;
    background: #fff7ed;
}

.pc-summary-warning p {
    margin: 0;
}

.pc-summary-analysis {
    padding: 14px;
    color: #526173;
    line-height: 1.55;
}

.pc-restart-btn {
    min-height: 46px;
    border: 1px solid rgba(225, 29, 42, 0.28);
    border-radius: 999px;
    color: #e11d2a;
    background: #fff5f5;
    font-weight: 950;
    cursor: pointer;
}

.pc-promo-note {
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}

html[data-theme="dark"] .pc-builder-shell {
    background: #07101f;
}

html[data-theme="dark"] .pc-builder-main,
html[data-theme="dark"] .pc-builder-summary,
html[data-theme="dark"] .pc-product-card,
html[data-theme="dark"] .pc-choice-grid button,
html[data-theme="dark"] .pc-back-btn {
    border-color: rgba(148, 163, 184, 0.22);
    background: #101827;
}

html[data-theme="dark"] .pc-builder-step-head h2,
html[data-theme="dark"] .pc-choice-grid strong,
html[data-theme="dark"] .pc-product-body h3,
html[data-theme="dark"] .pc-summary-head span,
html[data-theme="dark"] .pc-summary-list strong,
html[data-theme="dark"] .pc-summary-tech strong,
html[data-theme="dark"] .pc-final-panel h2,
html[data-theme="dark"] .pc-builder-empty strong {
    color: #ffffff;
}

html[data-theme="dark"] .pc-builder-step-head p,
html[data-theme="dark"] .pc-choice-grid span,
html[data-theme="dark"] .pc-product-body p,
html[data-theme="dark"] .pc-summary-analysis,
html[data-theme="dark"] .pc-promo-note {
    color: #b8c6d8;
}

html[data-theme="dark"] .pc-product-image,
html[data-theme="dark"] .pc-summary-list li,
html[data-theme="dark"] .pc-summary-tech,
html[data-theme="dark"] .pc-summary-status div,
html[data-theme="dark"] .pc-summary-tax,
html[data-theme="dark"] .pc-final-panel,
html[data-theme="dark"] .pc-builder-empty,
html[data-theme="dark"] .pc-loading,
html[data-theme="dark"] .pc-error,
html[data-theme="dark"] .pc-product-prices div {
    background: #0b1220;
    border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .pc-product-prices strong,
html[data-theme="dark"] .pc-summary-tax strong {
    color: #ffffff;
}

@media (max-width: 980px) {
    .pc-quote-hero-grid,
    .pc-builder-grid {
        grid-template-columns: 1fr;
    }

    .pc-builder-summary {
        position: static;
        order: 2;
    }

    .pc-products-stage,
    .pc-choice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pc-builder-main,
    .pc-builder-summary {
        border-radius: 18px;
        padding: 16px;
    }

    .pc-builder-step-head,
    .pc-product-toolbar,
    .pc-product-footer,
    .pc-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pc-product-filters {
        display: grid;
    }

    .pc-product-image {
        height: 190px;
    }

    .pc-summary-status {
        grid-template-columns: 1fr;
    }
}

/* Solutions hub: guided commercial configurators */
.solutions-hub-hero,
.solution-detail-hero {
    padding: clamp(30px, 4vw, 54px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 14%, rgba(223, 24, 33, 0.28), transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(34, 211, 238, 0.18), transparent 28%),
        linear-gradient(135deg, #07101f 0%, #10154a 100%);
}

.solutions-hub-hero h1,
.solution-detail-hero h1 {
    max-width: 680px;
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    line-height: 0.98;
}

.solutions-hub-hero p,
.solution-detail-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(234, 241, 255, 0.82);
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.5;
}

.solutions-hub-section,
.solution-wizard-section {
    padding: clamp(48px, 6vw, 82px) 0;
    background: #f6f8fb;
}

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

.solution-hub-card {
    display: grid;
    gap: 12px;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.07);
}

.solution-hub-card .solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #df1821;
    background: rgba(223, 24, 33, 0.08);
    font-weight: 950;
}

.solution-hub-card span,
.solution-detail-card span {
    color: #2457ff;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solution-hub-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.28rem;
}

.solution-hub-card p,
.solution-hub-card small {
    color: #526173;
    line-height: 1.6;
}

.solution-packages-section,
.solution-faq-section {
    padding: 56px 0 0;
    background: #f8fafc;
}

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

.solution-package-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.solution-package-card span {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(215, 25, 32, .08);
    color: var(--brand-red);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.solution-package-card h3,
.solution-package-card p {
    margin: 0;
}

.solution-package-card h3 {
    color: var(--navy);
    font-size: 1.2rem;
}

.solution-package-card p {
    color: var(--muted);
    line-height: 1.55;
}

.solution-package-card strong {
    color: var(--navy);
    font-size: 1.45rem;
}

.solution-package-card a {
    color: var(--brand-red);
    font-weight: 950;
}

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

.solution-faq-list details {
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 16px;
    background: #fff;
}

.solution-faq-list summary {
    cursor: pointer;
    color: var(--navy);
    font-weight: 950;
}

.solution-faq-list p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.solution-detail-grid,
.solution-wizard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    gap: clamp(18px, 2.8vw, 36px);
    align-items: center;
}

.solution-detail-card,
.solution-wizard-panel,
.solution-summary-panel {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.solution-detail-card {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
}

.solution-detail-hero .solution-detail-card {
    justify-self: end;
    width: min(100%, 300px);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(2, 8, 23, 0.22);
}

.solution-detail-card p {
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.4;
}

.solution-detail-hero .hero-actions {
    margin-top: 18px;
    gap: 10px;
}

.solution-detail-hero .hero-actions .btn {
    min-height: 42px;
    padding: 12px 20px;
    font-size: 0.88rem;
}

.solution-detail-points {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.solution-detail-points li {
    position: relative;
    padding-left: 14px;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.32;
}

.solution-detail-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-red);
}

.solution-hero-estimate {
    display: grid;
    gap: 3px;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid rgba(36, 87, 255, 0.16);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(36, 87, 255, 0.07), rgba(223, 24, 33, 0.05));
}

.solution-hero-estimate small {
    color: #2457ff;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.solution-hero-estimate b {
    color: #0f172a;
    font-size: clamp(1.12rem, 1.45vw, 1.35rem);
    line-height: 1;
}

.solution-hero-estimate em {
    color: #64748b;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.35;
}

.solution-reset-estimate {
    width: 100%;
    margin-top: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    color: #0f172a;
    background: #ffffff;
    font-size: 0.72rem;
    font-weight: 950;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.solution-reset-estimate:hover {
    transform: translateY(-1px);
    border-color: rgba(223, 24, 33, 0.35);
    background: #fff7f7;
}

.solution-reset-estimate.is-panel {
    margin: 10px 0 14px;
}

.solution-hero-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.solution-hero-mini-list li {
    padding: 7px 10px;
    border-radius: 999px;
    color: #0f172a;
    background: #eef2ff;
    font-size: 0.78rem;
    font-weight: 900;
}

.solution-detail-card.is-complete {
    border-color: rgba(34, 197, 94, 0.28);
}

.solution-detail-card.is-error {
    border-color: rgba(220, 38, 38, 0.28);
}

.solution-detail-card strong,
.solution-summary-panel h2,
.solution-wizard-panel h2 {
    display: block;
    margin: 5px 0;
    color: #0f172a;
    font-size: clamp(1.18rem, 1.6vw, 1.48rem);
    line-height: 1.08;
}

.solution-wizard-panel label {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.solution-wizard-panel label span {
    color: #0f172a;
    font-weight: 900;
}

.solution-summary-panel {
    position: sticky;
    top: 104px;
}

.solution-summary-box,
.price-gate-card,
.solution-rules-box {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #f8fafc;
}

.solution-final-box {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 18px;
    background: #f0fdf4;
    color: #14532d;
}

.solution-final-box[hidden] {
    display: none;
}

.solution-final-box strong {
    color: #14532d;
    font-size: 1rem;
}

.solution-final-box p,
.solution-final-box small {
    margin: 0;
    color: #166534;
    line-height: 1.5;
}

.solution-final-box.is-error {
    border-color: rgba(220, 38, 38, 0.24);
    background: #fff1f2;
    color: #7f1d1d;
}

.solution-final-box.is-error strong,
.solution-final-box.is-error p,
.solution-final-box.is-error small {
    color: #7f1d1d;
}

.solution-actions .btn.is-loading,
.solution-step-actions .btn.is-loading {
    opacity: 0.75;
    cursor: progress;
}

.solution-summary-box ul,
.solution-rules-box ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.solution-summary-box li span {
    font-weight: 900;
}

.price-gate-card {
    border-color: rgba(223, 24, 33, 0.18);
    background: rgba(223, 24, 33, 0.05);
}

.solution-actions,
.ai-provider-actions,
.ai-mode-badges,
.ai-test-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ai-mode-badges span,
.ai-mode-badges a {
    text-decoration: none;
    padding: 9px 12px;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.12));
    border-radius: 999px;
    color: var(--admin-text, #0f172a);
    background: var(--admin-surface, #ffffff);
    font-size: 0.78rem;
    font-weight: 900;
}

.ai-mode-badges a {
    color: #ffffff;
    border-color: #1d4ed8;
    background: #1d4ed8;
}

.ai-cost-layout {
    align-items: start;
}

.ai-cost-page .metric-grid {
    margin-bottom: 22px;
}

.ai-provider-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0;
}

.ai-provider-form {
    display: grid;
    gap: 10px;
}

.ai-result-note {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 900;
}

.ai-result-note.good {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

.ai-result-note.warning {
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
}

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

.ai-test-grid .btn {
    width: 100%;
}

html[data-theme="dark"] .solutions-hub-section,
html[data-theme="dark"] .solution-wizard-section,
html[data-theme="dark"] .solution-packages-section,
html[data-theme="dark"] .solution-faq-section {
    background: #07101f;
}

html[data-theme="dark"] .solution-hub-card,
html[data-theme="dark"] .solution-wizard-panel,
html[data-theme="dark"] .solution-summary-panel,
html[data-theme="dark"] .solution-detail-card,
html[data-theme="dark"] .solution-summary-box,
html[data-theme="dark"] .price-gate-card,
html[data-theme="dark"] .solution-rules-box,
html[data-theme="dark"] .solution-package-card,
html[data-theme="dark"] .solution-faq-list details {
    color: #eaf1ff;
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.92);
}

html[data-theme="dark"] .solution-hub-card h3,
html[data-theme="dark"] .solution-detail-card strong,
html[data-theme="dark"] .solution-summary-panel h2,
html[data-theme="dark"] .solution-wizard-panel h2,
html[data-theme="dark"] .solution-wizard-panel label span,
html[data-theme="dark"] .solution-package-card h3,
html[data-theme="dark"] .solution-package-card strong,
html[data-theme="dark"] .solution-faq-list summary {
    color: #ffffff;
}

html[data-theme="dark"] .solution-hub-card p,
html[data-theme="dark"] .solution-hub-card small,
html[data-theme="dark"] .solution-detail-card p,
html[data-theme="dark"] .solution-package-card p,
html[data-theme="dark"] .solution-faq-list p {
    color: #aebbd0;
}

@media (max-width: 980px) {
    .solutions-hub-grid,
    .solution-detail-grid,
    .solution-wizard-grid,
    .ai-provider-grid-wide,
    .ai-test-grid,
    .rich-preview-row {
        grid-template-columns: 1fr;
    }

    .solution-summary-panel {
        position: static;
    }

    .solution-detail-hero .solution-detail-card {
        justify-self: stretch;
        width: 100%;
    }

    .solution-package-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .solutions-hub-hero,
    .solution-detail-hero {
        padding: 34px 0;
    }

    .solution-hub-card,
    .solution-wizard-panel,
    .solution-summary-panel,
    .solution-detail-hero .solution-detail-card {
        border-radius: 18px;
        padding: 18px;
    }
}

/* Persistent AI assistant for the admin panel */
.admin-ai-assistant {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 220;
    font-family: inherit;
}

.admin-ai-assistant.is-open {
    top: 86px;
    bottom: 46px;
}

.admin-ai-fab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(79, 109, 245, 0.26);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #13213a, #2447d8);
    box-shadow: 0 18px 46px rgba(36, 71, 216, 0.28);
    cursor: pointer;
}

.admin-ai-fab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 950;
}

.admin-ai-fab strong {
    font-size: 0.9rem;
}

.admin-ai-assistant.is-open .admin-ai-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
}

.admin-ai-drawer {
    position: fixed;
    right: 22px;
    top: 86px;
    bottom: 46px;
    display: grid;
    grid-template-rows: auto auto minmax(150px, 1fr) auto;
    width: min(300px, calc(100vw - 34px));
    height: auto;
    overflow: hidden;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.12));
    border-radius: 18px;
    background: var(--admin-surface, #ffffff);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 180ms ease, transform 180ms ease;
}

.admin-ai-assistant.is-open .admin-ai-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.admin-ai-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px 9px;
    color: var(--admin-text, #111827);
    border-bottom: 1px solid var(--admin-line, rgba(15, 23, 42, 0.1));
}

.admin-ai-head span,
.admin-ai-head small,
.admin-ai-head em {
    display: block;
    color: var(--admin-muted, #64748b);
    font-size: 0.64rem;
    font-weight: 850;
    font-style: normal;
}

.admin-ai-head small {
    line-height: 1.35;
}

.admin-ai-head strong {
    display: block;
    margin: 2px 0;
    font-size: 0.86rem;
}

.admin-ai-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-items: end;
    justify-content: flex-end;
    gap: 6px;
    max-width: 118px;
}

.admin-ai-head-actions em {
    flex-basis: 100%;
    max-width: 118px;
    text-align: right;
    white-space: normal;
}

.admin-ai-head button {
    width: auto;
    height: 28px;
    padding: 0 9px;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.12));
    border-radius: 10px;
    color: var(--admin-text, #111827);
    background: var(--admin-surface-soft, #f7f9fd);
    font-size: 0.68rem;
    font-weight: 900;
    cursor: pointer;
}

.admin-ai-options {
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--admin-line, rgba(15, 23, 42, 0.08));
    background: var(--admin-surface, #ffffff);
}

.admin-ai-options > small {
    display: block;
    padding: 8px 10px 0;
    color: var(--admin-muted, #64748b);
    font-size: 0.64rem;
    font-weight: 850;
}

.admin-ai-options[hidden] {
    display: none !important;
}

.admin-ai-tabs,
.admin-ai-capabilities,
.admin-ai-quick,
.admin-ai-form-actions,
.ai-suggested-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-ai-tabs {
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 8px;
    border-bottom: 0;
    background: transparent;
}

.admin-ai-tabs button {
    min-height: 28px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--admin-muted, #64748b);
    background: transparent;
    font-size: 0.66rem;
    font-weight: 950;
    cursor: pointer;
}

.admin-ai-tabs button.is-active {
    color: #ffffff;
    border-color: rgba(36, 71, 216, 0.2);
    background: #2447d8;
    box-shadow: 0 8px 16px rgba(36, 71, 216, 0.16);
}

.admin-ai-capabilities {
    max-height: 46px;
    overflow-y: auto;
    padding: 0 10px 8px;
    border-bottom: 0;
    background: transparent;
}

.admin-ai-capabilities span,
.admin-ai-quick button,
.admin-ai-capabilities button,
.ai-suggested-actions button {
    min-height: 30px;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.12));
    border-radius: 999px;
    color: var(--admin-text, #111827);
    background: var(--admin-surface-soft, #f7f9fd);
    font-size: 0.64rem;
    font-weight: 900;
}

.admin-ai-quick button,
.admin-ai-capabilities button,
.ai-suggested-actions button {
    cursor: pointer;
}

.admin-ai-messages {
    display: grid;
    align-content: start;
    gap: 9px;
    min-height: 0;
    overflow-y: auto;
    padding: 11px 12px;
}

.ai-message {
    max-width: 96%;
    padding: 9px 11px;
    border-radius: 14px;
    color: var(--admin-text, #111827);
    background: var(--admin-surface-soft, #f7f9fd);
}

.ai-message.user {
    justify-self: end;
    color: #ffffff;
    background: #2447d8;
}

.ai-message.assistant {
    justify-self: start;
}

.ai-message.is-loading {
    opacity: 0.75;
}

.ai-message.system {
    justify-self: center;
    max-width: 100%;
    color: #475569;
    background: rgba(148, 163, 184, 0.14);
    font-size: 0.82rem;
}

.ai-message p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.8rem;
}

.ai-message-warnings {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding-left: 18px;
    color: #92400e;
}

.ai-suggested-blocks {
    display: grid;
    gap: 8px;
    margin-top: 9px;
}

.ai-suggested-block {
    display: grid;
    gap: 7px;
    padding: 9px;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.1));
    border-radius: 14px;
    background: var(--admin-surface, #ffffff);
}

.ai-suggested-block pre {
    max-height: 120px;
    overflow: auto;
    margin: 0;
    white-space: pre-wrap;
    color: var(--admin-muted, #64748b);
    font-family: inherit;
    font-size: 0.74rem;
}

.ai-suggested-actions button.primary {
    color: #ffffff;
    border-color: #2447d8;
    background: #2447d8;
}

.ai-suggested-actions button.muted {
    opacity: 0.72;
}

.admin-ai-form {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 8px 10px 10px;
    border-top: 1px solid var(--admin-line, rgba(15, 23, 42, 0.08));
    background: var(--admin-surface, #ffffff);
}

.admin-ai-composer-hint {
    margin: 0;
    color: var(--admin-muted, #64748b);
    font-size: 0.62rem;
    line-height: 1.45;
}

.admin-ai-form label {
    display: grid;
    gap: 4px;
}

.admin-ai-form label span {
    color: var(--admin-muted, #64748b);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-ai-form textarea,
.admin-ai-form select {
    width: 100%;
    border: 1px solid var(--admin-line, rgba(15, 23, 42, 0.12));
    border-radius: 14px;
    color: var(--admin-text, #111827);
    background: var(--admin-surface-soft, #f7f9fd);
}

.admin-ai-form textarea {
    min-height: 54px;
    font-size: 0.8rem;
    resize: vertical;
}

.admin-ai-form-actions {
    display: block;
    align-items: center;
}

.admin-ai-provider-note {
    color: var(--admin-muted, #64748b);
    font-size: 0.64rem;
    font-weight: 850;
}

.admin-ai-form-actions .btn {
    min-width: 78px;
    justify-content: center;
}

.admin-ai-submit-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    padding: 0;
}

/* Soluciones: configuradores reales y consistentes */
.hero-card-brand-text {
    grid-template-columns: 1fr;
}

.hero-card-brand-text div {
    min-height: 0;
}

.solution-wizard-top {
    margin-bottom: 24px;
}

.solution-step-progress {
    display: none;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 22px;
    padding: 0 0 8px;
    scrollbar-width: thin;
}

.solution-step-progress button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 42px;
    max-width: 210px;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.solution-step-progress button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: var(--brand-red);
    background: rgba(215, 25, 32, .1);
    font-size: 11px;
}

.solution-step-progress button strong {
    color: inherit;
    overflow: hidden;
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

.solution-step-progress button.is-active {
    color: #ffffff;
    border-color: var(--brand-red);
    background: var(--brand-red);
    box-shadow: 0 14px 28px rgba(215, 25, 32, .18);
}

.solution-step-progress button.is-active span {
    color: var(--brand-red);
    background: #ffffff;
}

.solution-step-progress button.is-done {
    border-color: rgba(15, 23, 42, .18);
    background: rgba(15, 23, 42, .05);
}

.solution-step-progress button:disabled {
    cursor: not-allowed;
    opacity: .52;
}

.solution-step {
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, .22);
}

.solution-step[hidden] {
    display: none !important;
}

.solution-step.is-active {
    animation: solutionStepIn .18s ease;
}

@keyframes solutionStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-step:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.solution-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.solution-step-title span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(215, 25, 32, .1);
    color: var(--brand-red);
    font-weight: 900;
    font-size: 12px;
}

.solution-step-title h3 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
}

.solution-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.solution-live-wizard .solution-fields-grid {
    grid-template-columns: 1fr;
}

.solution-field {
    display: grid;
    gap: 10px;
}

.solution-live-wizard .solution-field {
    min-height: 210px;
    padding: clamp(18px, 2.5vw, 26px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    background: #ffffff;
}

.solution-field-label {
    font-weight: 900;
    color: var(--navy);
}

.solution-live-wizard .solution-field-label {
    margin: 0 0 10px;
    color: #071038;
    font-size: clamp(1.28rem, 2vw, 1.9rem);
    line-height: 1.08;
}

.solution-field p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.solution-live-wizard .solution-field > p {
    max-width: 680px;
    margin: 0 0 18px;
    color: #526173;
    line-height: 1.65;
}

.solution-field select,
.solution-field input[type="number"],
.solution-field input[type="text"] {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .42);
    background: #fff;
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--navy);
    font-weight: 800;
    outline: 0;
}

.solution-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.solution-choice,
.solution-check-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 54px;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 16px;
    background: #fff;
    padding: 12px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

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

.solution-option-card {
    min-height: 86px;
    padding: 16px;
}

.solution-option-card input {
    margin-top: 6px;
}

.solution-toggle-group {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: min(260px, 100%);
    padding: 5px;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 999px;
    background: #f8fafc;
}

.solution-toggle-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    color: #475569;
}

.solution-toggle-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.solution-toggle-option span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border-radius: 999px;
}

.solution-toggle-option:has(input:checked) {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .16);
}

.solution-toggle-option input:checked + span {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .16);
}

.solution-choice:hover,
.solution-check-option:hover {
    border-color: rgba(215, 25, 32, .45);
    box-shadow: 0 14px 26px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.solution-choice input,
.solution-check-option input {
    margin-top: 4px;
    accent-color: var(--brand-red);
}

.solution-choice strong,
.solution-check-option span {
    display: block;
    color: var(--navy);
    font-weight: 900;
}

.solution-choice small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.35;
}

.solution-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.solution-range {
    display: grid;
    gap: 9px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 16px;
    background: #fff;
    padding: 14px;
}

.solution-range input {
    width: 100%;
    accent-color: var(--brand-red);
}

.solution-range output {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    color: var(--navy);
    font-weight: 900;
    font-size: 13px;
}

.solution-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .2);
}

.solution-step-actions .btn {
    min-width: 150px;
}

.solution-estimate-card {
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    margin-bottom: 16px;
}

.solution-estimate-card small,
.solution-estimate-card em {
    display: block;
    color: rgba(255, 255, 255, .72);
}

.solution-estimate-card strong {
    display: block;
    font-size: 34px;
    margin: 8px 0 4px;
    color: #fff;
}

.solution-estimate-card p {
    color: rgba(255, 255, 255, .86);
    margin: 0 0 8px;
}

.solution-summary-panel {
    position: sticky;
    top: 96px;
}

.solution-summary-box li,
.solution-rules-box li {
    line-height: 1.45;
}

html[data-theme="dark"] .solution-step-title h3,
html[data-theme="dark"] .solution-field-label,
html[data-theme="dark"] .solution-choice strong,
html[data-theme="dark"] .solution-check-option span,
html[data-theme="dark"] .solution-range output {
    color: #f8fafc;
}

html[data-theme="dark"] .solution-field select,
html[data-theme="dark"] .solution-field input[type="number"],
html[data-theme="dark"] .solution-field input[type="text"],
html[data-theme="dark"] .solution-live-wizard .solution-field,
html[data-theme="dark"] .solution-choice,
html[data-theme="dark"] .solution-check-option,
html[data-theme="dark"] .solution-range,
html[data-theme="dark"] .solution-toggle-group,
html[data-theme="dark"] .solution-step-progress button {
    background: #0f172a;
    border-color: rgba(148, 163, 184, .25);
    color: #f8fafc;
}

html[data-theme="dark"] .solution-step-progress button.is-active {
    color: #ffffff;
    border-color: #e21b23;
    background: #e21b23;
}

html[data-theme="dark"] .solution-step-progress button.is-active span {
    color: #e21b23;
    background: #ffffff;
}

html[data-theme="dark"] .solution-toggle-option {
    color: #cbd5e1;
}

html[data-theme="dark"] .solution-toggle-option:has(input:checked) {
    background: #e21b23;
    color: #fff;
}

html[data-theme="dark"] .solution-toggle-option input:checked + span {
    background: #e21b23;
    color: #fff;
}

html[data-theme="dark"] .solution-range output {
    background: rgba(255, 255, 255, .1);
}

.import-template-card {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(37, 99, 235, .2);
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(14, 165, 233, .08));
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.import-intro-card,
.import-step-card,
.import-rules-panel,
.import-upload-panel {
    border: 1px solid rgba(15, 23, 42, .1);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.import-intro-card {
    padding: 18px 20px;
    margin-bottom: 18px;
    max-width: 980px;
}

.import-intro-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.import-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.import-step-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 18px;
}

.import-step-card .step-number {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: rgba(225, 29, 46, .1);
    color: var(--red);
    font-weight: 900;
}

.import-step-card h2 {
    font-size: 1.08rem;
    margin: 0;
}

.import-step-card p,
.import-step-card li,
.import-step-card small {
    color: var(--muted);
    line-height: 1.55;
}

.import-step-card ul {
    margin: 0;
    padding-left: 18px;
}

.import-step-card code,
.sku-example-grid code {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 9px;
    background: rgba(15, 23, 42, .06);
    color: var(--navy);
    white-space: normal;
}

.import-rules-panel,
.import-example-panel {
    margin: 18px 0;
    padding: 18px;
}

.import-rules-panel summary,
.import-example-panel summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--navy);
}

.import-rules-panel ol {
    color: var(--muted);
    line-height: 1.7;
}

.sku-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.sku-example-grid > div {
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px dashed rgba(15, 23, 42, .14);
    border-radius: 14px;
}

.import-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.import-upload-grid label {
    display: grid;
    gap: 9px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 16px;
    background: rgba(248, 250, 252, .8);
    font-weight: 900;
}

.import-upload-grid label span {
    font-weight: 600;
    color: var(--muted);
    line-height: 1.55;
}

.import-preview-table td {
    vertical-align: top;
}

.import-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    text-transform: capitalize;
}

.import-state-correcto {
    color: #047857;
    background: rgba(16, 185, 129, .12);
}

.import-state-advertencia {
    color: #92400e;
    background: rgba(245, 158, 11, .16);
}

.import-state-error {
    color: #b91c1c;
    background: rgba(239, 68, 68, .14);
}

.product-video-preview,
.product-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    border: 1px solid rgba(15, 23, 42, .12);
}

.product-video-preview iframe,
.product-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-video-lite {
    display: grid;
    place-items: center;
}

.product-video-lite img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
}

.product-video-lite::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .56));
}

.product-video-play {
    position: relative;
    z-index: 2;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .24);
    cursor: pointer;
}

.product-video-play:hover,
.product-video-play:focus-visible {
    background: #b91c1c;
    outline: none;
}

.product-video-section {
    padding-top: 24px;
}

.product-gallery-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-gallery-row a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #ffffff;
}

.product-gallery-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.cookie-consent strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
}

.cookie-consent p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

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

@media (max-width: 720px) {
    .import-step-grid,
    .import-column-groups,
    .import-upload-grid,
    .sku-example-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-actions .btn {
        flex: 1;
    }
}

.import-template-card code {
    display: block;
    white-space: normal;
    color: var(--navy);
}

.import-template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.import-example-panel {
    margin-bottom: 22px;
}

.import-preview-panel,
.import-history-panel {
    display: grid;
    gap: 18px;
    margin: 22px 0;
}

.import-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.import-summary-grid div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.import-summary-grid strong {
    color: var(--navy);
    font-size: 26px;
    line-height: 1;
}

.import-summary-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.import-message-table td:last-child {
    min-width: 280px;
}

.import-confirm-row {
    margin-top: 2px;
}

.import-example-table th,
.import-example-table td {
    min-width: 150px;
    vertical-align: top;
}

.import-example-table td:nth-child(4) {
    min-width: 260px;
}

.import-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.import-tips-grid div {
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 14px;
    padding: 12px;
    background: rgba(248, 250, 252, .82);
}

.import-tips-grid strong,
.import-tips-grid span {
    display: block;
}

.import-tips-grid strong {
    color: var(--navy);
    font-size: 13px;
    margin-bottom: 4px;
}

.import-tips-grid span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.solution-builder-panel {
    display: grid;
    gap: 16px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: rgba(248, 250, 252, .72);
}

.solution-builder-panel .panel-head {
    margin-bottom: 0;
}

.solution-builder-panel h3 {
    margin: 2px 0 0;
    color: var(--navy);
    font-size: 20px;
}

.muted-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.solution-builder-list {
    display: grid;
    gap: 14px;
}

.solution-builder-field {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 16px;
    background: #fff;
}

.solution-builder-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.solution-builder-field-head strong {
    color: var(--navy);
}

.solution-builder-field textarea {
    font-family: inherit;
    line-height: 1.45;
}

.admin-repeat-block {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
}

.admin-repeat-title {
    display: grid;
    gap: 4px;
}

.admin-repeat-title strong {
    color: var(--navy);
}

.admin-repeat-title small {
    color: var(--muted);
    line-height: 1.45;
}

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

.admin-repeat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    background: #fff;
}

.admin-repeat-row.package-row {
    grid-template-columns: 1.2fr .8fr .7fr .9fr auto;
}

.admin-repeat-row.faq-row {
    grid-template-columns: 1fr 1.6fr auto;
}

.admin-repeat-row label {
    margin: 0;
}

.admin-repeat-wide {
    grid-column: span 2;
}

.admin-repeat-remove {
    min-height: 42px;
    align-self: end;
}

@media (max-width: 980px) {
    .admin-repeat-row,
    .admin-repeat-row.package-row,
    .admin-repeat-row.faq-row {
        grid-template-columns: 1fr;
    }

    .admin-repeat-wide {
        grid-column: auto;
    }
}

.compact-help {
    margin: 0 0 18px;
    padding: 14px 16px;
}

.solution-visual-preview {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.solution-visual-screen {
    position: relative;
    overflow: hidden;
    min-height: 140px;
    padding: 16px 92px 16px 16px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .96), rgba(236, 253, 245, .82)),
        repeating-linear-gradient(90deg, rgba(37, 99, 235, .1) 0 1px, transparent 1px 38px);
}

.solution-visual-screen::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 181, 210, .85), rgba(36, 87, 255, .8));
    box-shadow: -22px -18px 0 rgba(223, 24, 33, .08);
}

.solution-visual-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 12px;
    color: #ffffff;
    background: #07101f;
    font-size: 12px;
    font-weight: 950;
}

.solution-visual-screen strong,
.solution-visual-screen small {
    position: relative;
    z-index: 1;
    display: block;
}

.solution-visual-screen strong {
    margin-top: 12px;
    max-width: 220px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.12;
}

.solution-visual-screen small {
    max-width: 220px;
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.45;
}

.solution-visual-bars {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    max-width: 120px;
    margin-top: 14px;
}

.solution-visual-bars i {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 181, 210, .35);
}

.solution-visual-bars i:nth-child(2) {
    width: 72%;
}

.solution-visual-bars i:nth-child(3) {
    width: 44%;
}

.solution-visual-preview ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-visual-preview li {
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 999px;
    color: var(--navy);
    background: #ffffff;
    font-size: 11px;
    font-weight: 850;
}

html[data-theme="dark"] .import-template-card {
    background: rgba(15, 23, 42, .78);
}

html[data-theme="dark"] .import-template-card code {
    color: #e2e8f0;
}

html[data-theme="dark"] .import-intro-card,
html[data-theme="dark"] .import-step-card,
html[data-theme="dark"] .import-rules-panel,
html[data-theme="dark"] .import-upload-panel,
html[data-theme="dark"] .import-column-groups article,
html[data-theme="dark"] .sku-example-grid > div,
html[data-theme="dark"] .import-upload-grid label {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .78);
    color: #e5edf8;
}

html[data-theme="dark"] .import-step-card h2,
html[data-theme="dark"] .import-column-groups strong,
html[data-theme="dark"] .import-rules-panel summary,
html[data-theme="dark"] .import-example-panel summary,
html[data-theme="dark"] .import-column-groups code,
html[data-theme="dark"] .import-step-card code,
html[data-theme="dark"] .sku-example-grid code {
    color: #ffffff;
}

html[data-theme="dark"] .import-column-groups span {
    color: #cbd5e1;
}

html[data-theme="dark"] .import-column-groups code,
html[data-theme="dark"] .import-step-card code,
html[data-theme="dark"] .sku-example-grid code {
    background: rgba(226, 232, 240, .08);
}

html[data-theme="dark"] .product-gallery-row a {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(15, 23, 42, .74);
}

html[data-theme="dark"] .cookie-consent {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(15, 23, 42, .96);
}

html[data-theme="dark"] .cookie-consent strong {
    color: #ffffff;
}

html[data-theme="dark"] .import-summary-grid div {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .72);
}

html[data-theme="dark"] .import-summary-grid strong {
    color: #ffffff;
}

html[data-theme="dark"] .import-summary-grid span {
    color: #cbd5e1;
}

html[data-theme="dark"] .import-tips-grid div {
    background: rgba(15, 23, 42, .72);
}

html[data-theme="dark"] .import-tips-grid strong {
    color: #f8fafc;
}

html[data-theme="dark"] .import-tips-grid span {
    color: #cbd5e1;
}

html[data-theme="dark"] .solution-builder-panel,
html[data-theme="dark"] .solution-builder-field,
html[data-theme="dark"] .admin-repeat-block,
html[data-theme="dark"] .admin-repeat-row {
    background: rgba(15, 23, 42, .78);
    border-color: rgba(148, 163, 184, .22);
}

html[data-theme="dark"] .solution-builder-panel h3,
html[data-theme="dark"] .solution-builder-field-head strong,
html[data-theme="dark"] .admin-repeat-title strong {
    color: #f8fafc;
}

html[data-theme="dark"] .admin-repeat-title small {
    color: #cbd5e1;
}

html[data-theme="dark"] .muted-text {
    color: #cbd5e1;
}

html[data-theme="dark"] .solution-visual-screen {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .84)),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, .12) 0 1px, transparent 1px 38px);
}

html[data-theme="dark"] .solution-visual-screen strong,
html[data-theme="dark"] .solution-visual-preview li {
    color: #f8fafc;
}

html[data-theme="dark"] .solution-visual-screen small {
    color: #cbd5e1;
}

html[data-theme="dark"] .solution-visual-preview li {
    background: rgba(15, 23, 42, .88);
    border-color: rgba(148, 163, 184, .24);
}

@media (max-width: 840px) {
    .solution-fields-grid,
    .solution-choice-grid,
    .solution-check-list {
        grid-template-columns: 1fr;
    }

    .solution-summary-panel {
        position: static;
    }

    .solution-estimate-card strong {
        font-size: 28px;
    }

    .import-tips-grid {
        grid-template-columns: 1fr;
    }
}

html[data-theme="dark"] .admin-ai-drawer,
html[data-theme="dark"] .admin-ai-form,
html[data-theme="dark"] .admin-ai-tabs,
html[data-theme="dark"] .admin-ai-options,
html[data-theme="dark"] .admin-ai-capabilities,
html[data-theme="dark"] .ai-suggested-block {
    background: #111827;
}

html[data-theme="dark"] .ai-message.system {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] .ai-message-warnings {
    color: #fbbf24;
}

/* Final alignment for home hero and solution admin editing controls. */
.modern-hero .hero-content {
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
    gap: clamp(34px, 5vw, 64px);
}

.modern-hero .hero-content > div:first-child {
    max-width: 640px;
    min-width: 0;
}

.modern-hero h1 {
    max-width: 8.8em;
    font-size: clamp(3rem, 5.25vw, 5.45rem);
    line-height: 1.02;
    text-wrap: balance;
}

.modern-hero p {
    max-width: 58ch;
}

.solution-row-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.content-admin-grid .table-wrap table {
    min-width: 720px;
}

.content-admin-grid .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.content-admin-grid .table-actions form {
    margin: 0;
}

.btn-danger {
    color: #ffffff !important;
    border-color: #b91c1c !important;
    background: #b91c1c !important;
    box-shadow: 0 14px 26px rgba(185, 28, 28, 0.22);
}

.btn-danger:hover {
    background: #991b1b !important;
}

.admin-page-actions,
.content-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.admin-page-actions form {
    margin: 0;
}

.content-filter-panel {
    display: grid;
    gap: 14px;
}

.content-filter-panel .form-grid {
    align-items: end;
}

@media (min-width: 981px) {
    .content-admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .modern-hero .hero-content {
        grid-template-columns: 1fr;
    }

    .modern-hero .hero-content > div:first-child {
        max-width: 100%;
    }
}

@media (max-width: 620px) {
    .admin-ai-assistant {
        right: 12px;
        bottom: 12px;
    }

    .admin-ai-fab strong {
        display: none;
    }

    .admin-ai-drawer {
        right: 12px;
        top: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        border-radius: 20px;
    }

    .admin-ai-form-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .command-center {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ai-provider-grid,
    .ai-governance-strip {
        grid-template-columns: 1fr;
    }

    .seo-aeo-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .command-center {
        grid-template-columns: 1fr;
    }

    .ai-history-list form,
    .task-card {
        grid-template-columns: 1fr;
    }

    .task-card form {
        justify-content: stretch;
    }

    .task-card form > *,
    .ai-history-list form > * {
        width: 100%;
    }

    .totp-setup-grid {
        grid-template-columns: 1fr;
    }

    .totp-qr-box {
        width: 100%;
    }
}

/* Public dark theme hardening: keep every public section on the same dark canvas. */
html[data-theme="dark"] main,
html[data-theme="dark"] .section,
html[data-theme="dark"] .section-soft,
html[data-theme="dark"] .services-offer-section,
html[data-theme="dark"] .front-flow-section,
html[data-theme="dark"] .quick-section,
html[data-theme="dark"] .process-section,
html[data-theme="dark"] .solutions-studio-section,
html[data-theme="dark"] .trust-tech-section,
html[data-theme="dark"] .about-snapshot,
html[data-theme="dark"] .tech-cta-section,
html[data-theme="dark"] .home-news-section,
html[data-theme="dark"] .home-slider-section,
html[data-theme="dark"] .product-commerce-section,
html[data-theme="dark"] .product-info-section,
html[data-theme="dark"] .contact-modern-section,
html[data-theme="dark"] .contact-final-section,
html[data-theme="dark"] .dealer-section,
html[data-theme="dark"] .dealer-cta-section,
html[data-theme="dark"] .case-intro,
html[data-theme="dark"] .news-page,
html[data-theme="dark"] .tool-workspace,
html[data-theme="dark"] .shop-content-section,
html[data-theme="dark"] .tech-category-band,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .auth-page {
    color: #eaf1ff;
    background:
        radial-gradient(circle at 14% 0%, rgba(239, 17, 31, 0.08), transparent 30%),
        linear-gradient(180deg, #07101f 0%, #0b1220 100%) !important;
}

html[data-theme="dark"] .service-offer-card,
html[data-theme="dark"] .service-offer-card.is-featured,
html[data-theme="dark"] .service-contract-strip > div,
html[data-theme="dark"] .front-flow-card,
html[data-theme="dark"] .home-slide,
html[data-theme="dark"] .flash-offer-card,
html[data-theme="dark"] .quick-card,
html[data-theme="dark"] .trust-tech-card,
html[data-theme="dark"] .product-info-card,
html[data-theme="dark"] .product-purchase-panel,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .contact-priority-card,
html[data-theme="dark"] .contact-channel-card,
html[data-theme="dark"] .contact-location-card,
html[data-theme="dark"] .contact-map-card,
html[data-theme="dark"] .dealer-card,
html[data-theme="dark"] .dealer-hero-panel,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .case-hero-board,
html[data-theme="dark"] .tool-summary-card,
html[data-theme="dark"] .tool-option-card,
html[data-theme="dark"] .shop-access-card,
html[data-theme="dark"] .shop-filter-panel,
html[data-theme="dark"] .shop-category-card,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .auth-card {
    color: #eaf1ff !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    background: rgba(15, 23, 42, 0.92) !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme="dark"] .section-heading h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .service-offer-card h3,
html[data-theme="dark"] .service-subtitle,
html[data-theme="dark"] .service-contract-strip strong,
html[data-theme="dark"] .front-flow-card strong,
html[data-theme="dark"] .home-slide h3,
html[data-theme="dark"] .flash-offer-card h3,
html[data-theme="dark"] .quick-card strong,
html[data-theme="dark"] .trust-tech-card strong,
html[data-theme="dark"] .product-info-card h2,
html[data-theme="dark"] .product-info-card h3,
html[data-theme="dark"] .contact-form-card h2,
html[data-theme="dark"] .contact-channel-card strong,
html[data-theme="dark"] .dealer-card h3,
html[data-theme="dark"] .case-card h3,
html[data-theme="dark"] .tool-option-card h3,
html[data-theme="dark"] .shop-access-card strong,
html[data-theme="dark"] .shop-category-card strong,
html[data-theme="dark"] .category-card strong,
html[data-theme="dark"] .auth-card h1,
html[data-theme="dark"] .auth-card h2 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .service-offer-card p,
html[data-theme="dark"] .service-offer-card li,
html[data-theme="dark"] .service-contract-strip p,
html[data-theme="dark"] .front-flow-card span,
html[data-theme="dark"] .home-slide p,
html[data-theme="dark"] .flash-offer-card p,
html[data-theme="dark"] .quick-card p,
html[data-theme="dark"] .trust-tech-card p,
html[data-theme="dark"] .product-info-card p,
html[data-theme="dark"] .contact-form-card p,
html[data-theme="dark"] .contact-channel-card span,
html[data-theme="dark"] .dealer-card p,
html[data-theme="dark"] .dealer-card span,
html[data-theme="dark"] .case-card p,
html[data-theme="dark"] .tool-option-card p,
html[data-theme="dark"] .shop-access-card p,
html[data-theme="dark"] .shop-category-card span,
html[data-theme="dark"] .category-card span,
html[data-theme="dark"] .auth-card p,
html[data-theme="dark"] .muted {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .password-control button,
html[data-theme="dark"] .password-rules li {
    color: #dbe7ff;
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.78);
}

html[data-theme="dark"] .recovery-steps span,
html[data-theme="dark"] .auth-note-box {
    color: #dbe7ff;
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.68);
}

html[data-theme="dark"] .recovery-steps span.is-active {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.38);
    background: rgba(220, 38, 38, 0.14);
}

html[data-theme="dark"] .recovery-steps span.is-done {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.38);
    background: rgba(34, 197, 94, 0.12);
}

html[data-theme="dark"] .auth-note-box strong {
    color: #f8fafc;
}

html[data-theme="dark"] .password-rules li.is-valid {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.38);
    background: rgba(34, 197, 94, 0.12);
}

html[data-theme="dark"] .password-help,
html[data-theme="dark"] .auth-privacy-note,
html[data-theme="dark"] .legal-consent {
    color: #cbd5e1;
}

html[data-theme="dark"] .search-page-hero {
    background: linear-gradient(135deg, #08111f, #12124a);
}

html[data-theme="dark"] .search-result-section h3,
html[data-theme="dark"] .search-result-card {
    color: #f8fafc;
}

html[data-theme="dark"] .search-result-card {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.84);
    box-shadow: none;
}

html[data-theme="dark"] .search-result-card p {
    color: #cbd5e1;
}

html[data-theme="dark"] .site-search-form input {
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.28);
}

@media (max-width: 760px) {
    .site-search-form,
    .home-search-form,
    .search-card-grid {
        grid-template-columns: 1fr;
    }

    .site-search-form .btn,
    .home-search-form button {
        width: 100%;
    }
}

html[data-theme="dark"] .service-line-icon,
html[data-theme="dark"] .service-pill,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .shop-category-pill {
    border-color: rgba(148, 163, 184, 0.22) !important;
    background: rgba(30, 41, 59, 0.82) !important;
}

html[data-theme="dark"] .service-offer-cta,
html[data-theme="dark"] .btn,
html[data-theme="dark"] button[type="submit"] {
    box-shadow: 0 16px 30px rgba(239, 17, 31, 0.22);
}

html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .service-hero-actions .btn-ghost {
    color: #eaf1ff !important;
    border-color: rgba(226, 232, 240, 0.28) !important;
    background: rgba(15, 23, 42, 0.72) !important;
}

html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .service-final-cta,
html[data-theme="dark"] .project-final-cta {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at 12% 20%, rgba(239, 17, 31, 0.18), transparent 30%),
        linear-gradient(135deg, #0b1220, #111827) !important;
}
.shop-product-compare-wrap {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.product-compare-link {
    align-self: center;
    color: var(--brand-blue);
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none;
}

.compare-picker {
    margin-bottom: 24px;
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

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

.compare-table thead th {
    background: var(--surface-soft);
}

.compare-table thead img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.compare-table thead strong,
.compare-table thead small,
.compare-table thead a {
    display: block;
}

.compare-mini-table table {
    width: 100%;
}

.compare-mini-table th {
    width: 42%;
}
/* Importador de productos */
.import-progress-panel {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid rgba(26, 91, 255, .22);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26, 91, 255, .08), rgba(18, 190, 167, .08));
}

.import-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text);
}

.import-progress-copy span {
    color: var(--muted);
    font-size: .92rem;
}

.import-progress-bar {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, .12);
    margin-bottom: 14px;
}

.import-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #1a5bff, #10b981);
    transition: width .25s ease;
}

.import-progress-mini {
    height: 8px;
    margin: 8px 0 6px;
    min-width: 120px;
}

.import-unused-images {
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid rgba(245, 158, 11, .32);
    border-radius: 14px;
    background: rgba(255, 251, 235, .82);
}

.unused-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unused-image-list code {
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid rgba(245, 158, 11, .26);
    border-radius: 10px;
    background: #ffffff;
    color: #713f12;
    font-size: .78rem;
    overflow-wrap: anywhere;
}

[data-theme="dark"] .import-progress-panel {
    border-color: rgba(128, 167, 255, .28);
    background: linear-gradient(135deg, rgba(58, 103, 255, .14), rgba(16, 185, 129, .12));
}

[data-theme="dark"] .import-progress-bar {
    background: rgba(255, 255, 255, .14);
}

[data-theme="dark"] .import-unused-images {
    border-color: rgba(245, 158, 11, .38);
    background: rgba(120, 53, 15, .18);
}

[data-theme="dark"] .unused-image-list code {
    border-color: rgba(245, 158, 11, .3);
    background: rgba(15, 23, 42, .76);
    color: #fde68a;
}

@media (max-width: 980px) {
    .orders-admin-page .metric-grid,
    .order-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .orders-admin-page .metric-grid,
    .order-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* Roles y permisos */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.role-card {
    align-self: start;
}

.permission-groups {
    display: grid;
    gap: 12px;
}

.permission-group {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .58);
}

.permission-group legend {
    padding: 0 8px;
    color: var(--primary);
    font-weight: 900;
    font-size: .78rem;
    text-transform: uppercase;
}

.permission-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 8px 0;
}

.permission-check + .permission-check {
    border-top: 1px solid var(--border);
}

.permission-check input {
    margin-top: 4px;
}

.permission-check strong,
.permission-check small {
    display: block;
}

.permission-check small {
    color: var(--muted);
}

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

.admin-help-list p {
    margin: 0;
    color: var(--muted);
}

.inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

[data-theme="dark"] .permission-group {
    background: rgba(255, 255, 255, .045);
    border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 980px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
}
/* Clientes / CRM basico */
.customers-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 14px;
    align-items: end;
}

.customers-table th,
.customers-table td {
    vertical-align: top;
}

.customers-table td {
    min-width: 180px;
}

.customer-status-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.customer-profile-form,
.customer-lead-form {
    display: grid;
    gap: 10px;
}

.customer-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 10px;
}

.customer-profile-form label,
.customer-lead-form label {
    display: grid;
    gap: 6px;
    color: var(--admin-muted);
    font-size: .78rem;
    font-weight: 900;
}

.customer-profile-form input,
.customer-profile-form select,
.customer-profile-form textarea,
.customer-lead-form input,
.customer-lead-form textarea {
    width: 100%;
}

.customer-actions-cell {
    min-width: 190px;
}

.admin-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

@media (max-width: 900px) {
    .customers-filter-grid,
    .customer-profile-grid {
        grid-template-columns: 1fr;
    }
}
/* Shop pagination */
.shop-results-summary {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 700;
}

.shop-results-region {
    position: relative;
    min-height: 180px;
}

.shop-results-region.is-loading {
    pointer-events: none;
}

.shop-results-region.is-loading::after {
    content: "Actualizando productos...";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 16px 35px rgba(15, 23, 42, .18);
}

.shop-results-region.is-loading .shop-products,
.shop-results-region.is-loading .shop-pagination,
.shop-results-region.is-loading .shop-results-summary {
    opacity: .46;
}

.shop-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 0;
}

.shop-page-link,
.shop-page-ellipsis {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, .16);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.shop-page-link:first-child,
.shop-page-link:last-child {
    min-width: 104px;
    padding-inline: 18px;
}

.shop-page-link:hover,
.shop-page-link:focus-visible,
.shop-page-link.is-active {
    border-color: #e11d2a;
    background: #e11d2a;
    color: #fff;
}

.shop-page-link.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.shop-page-ellipsis {
    border-color: transparent;
    box-shadow: none;
    background: transparent;
    color: var(--muted);
}

html[data-theme="dark"] .shop-results-summary {
    color: rgba(226, 232, 240, .78);
}

html[data-theme="dark"] .shop-results-region.is-loading::after {
    background: #e11d2a;
    color: #fff;
}

html[data-theme="dark"] .shop-page-link {
    border-color: rgba(148, 163, 184, .26);
    background: #111827;
    color: #e5edf7;
    box-shadow: none;
}

html[data-theme="dark"] .shop-page-link:hover,
html[data-theme="dark"] .shop-page-link:focus-visible,
html[data-theme="dark"] .shop-page-link.is-active {
    border-color: #ef2330;
    background: #ef2330;
    color: #fff;
}

html[data-theme="dark"] .shop-page-ellipsis {
    color: rgba(226, 232, 240, .68);
}

html[data-theme="dark"] .contact-form-section {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(15, 23, 42, .68);
}

html[data-theme="dark"] .contact-form-section-title {
    border-color: rgba(148, 163, 184, .2);
}

html[data-theme="dark"] .contact-form-section-title strong {
    color: #f8fbff;
}

html[data-theme="dark"] .contact-location-status {
    color: #a7b5ca;
}

html[data-theme="dark"] .shop-sidebar h3 {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .94);
    color: #eef4ff;
}

@media (max-width: 640px) {
    .shop-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 4px 2px 12px;
        scrollbar-width: thin;
    }

    .shop-page-link,
    .shop-page-ellipsis {
        min-width: 38px;
        height: 38px;
        flex: 0 0 auto;
    }

    .shop-page-link:first-child,
    .shop-page-link:last-child {
        min-width: 92px;
    }

    .contact-phone-grid {
        grid-template-columns: 1fr;
    }
}

/* Final responsive safety layer for store and public sections. */
@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 30px, 1180px);
        max-width: 1180px;
        margin-inline: auto;
    }

    .section,
    .shop-private-hero,
    .shop-layout,
    .shop-results-region,
    .product-grid {
        max-width: 100%;
        overflow-x: clip;
    }

    .shop-private-hero {
        padding: 26px 0 24px;
    }

    .shop-private-hero-grid {
        width: min(100% - 30px, 1180px) !important;
        max-width: 1180px;
        margin-inline: auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: stretch;
        gap: 14px !important;
        text-align: left;
    }

    .shop-private-hero-grid > *,
    .shop-heading > *,
    .shop-layout > *,
    .shop-results-region > * {
        min-width: 0;
        max-width: 100%;
    }

    .shop-private-hero h1 {
        width: 100%;
        max-width: 16ch;
        margin: 8px 0 12px;
        font-size: clamp(1.95rem, 8vw, 2.7rem);
        line-height: 1.04;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .shop-private-hero p,
    .shop-private-hero small {
        max-width: 36ch;
        overflow-wrap: anywhere;
    }

    .shop-hero-actions {
        width: 100%;
        max-width: 360px;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .shop-hero-actions .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .shop-heading {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch;
    }

    .shop-heading h2 {
        max-width: 14ch;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .shop-heading p {
        max-width: 36ch;
        overflow-wrap: anywhere;
    }

    .shop-filter-panel {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr !important;
    }

    .shop-filter-panel input,
    .shop-filter-panel select,
    .shop-filter-panel button {
        width: 100%;
        min-width: 0;
    }

    .shop-layout {
        width: 100%;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
    }

    .shop-sidebar {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .shop-category-scroll {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding-inline: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .shop-category-scroll a {
        flex: 0 0 auto;
        max-width: 72vw;
    }

    .product-grid.shop-products,
    .shop-products {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .shop-products .product-card,
    .product-card.ecommerce-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-inline: 0;
    }

    .floating-whatsapp,
    .whatsapp-float {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 420px) {
    .container,
    .shop-private-hero-grid {
        width: min(100% - 24px, 1180px) !important;
    }

    .shop-private-hero h1 {
        max-width: 13ch;
        font-size: clamp(1.72rem, 8.5vw, 2.15rem);
    }

    .shop-heading h2 {
        max-width: 13ch;
        font-size: clamp(1.85rem, 9vw, 2.35rem);
    }

    .shop-private-hero p,
    .shop-heading p {
        max-width: 32ch;
        font-size: .9rem;
    }
}
