:root {
    --bg: #f6f2e8;
    --ink: #1b262c;
    --muted: #4f5b62;
    --line: #d4c7b3;
    --brand: #0f766e;
    --brand-soft: #d0efe9;
    --accent: #b45309;
    --danger: #9f1239;
    --card: #fffdf9;
    --shadow: 0 14px 32px rgba(27, 38, 44, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 14%, rgba(180, 83, 9, 0.12), transparent 45%),
        radial-gradient(circle at 88% 0%, rgba(15, 118, 110, 0.14), transparent 32%),
        var(--bg);
    font: 17px/1.55 'Exo 2', 'Segoe UI', sans-serif;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 120;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
    padding: 0.45rem 0.7rem;
}

.skip-link:focus {
    top: 0.75rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 242, 232, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-self: start;
}

.logo-image {
    display: block;
    width: clamp(220px, 34vw, 332px);
    height: auto;
}

.header-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    justify-self: center;
}

.header-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border: 1px solid #c5d8d3;
    border-radius: 999px;
    background: #fffdf9;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.header-contact-link:hover {
    border-color: #89bfb5;
    background: #f0faf7;
}

.header-contact-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    color: var(--brand);
}

.main-nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    justify-self: end;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
}

.main-nav a:hover {
    border-color: var(--line);
    background: #fff;
}

.breadcrumbs {
    margin: 0.25rem 0 0.75rem;
}

.breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumbs li + li::before {
    content: '/';
    color: #7c8a93;
}

.breadcrumbs [aria-current='page'] {
    font-weight: 600;
    color: #22313a;
}

main.wrap {
    padding: 1.2rem 0 2rem;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0.6rem 0 1.2rem;
    padding: 1.4rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    color: #ecfdf5;
    box-shadow: var(--shadow);
    animation: rise 420ms ease-out;
}

.hero h1 {
    margin: 0 0 0.8rem;
    font: 700 1.7rem/1.2 'PT Serif', serif;
}

.hero h2 {
    margin: 0 0 0.8rem;
    font: 700 1.55rem/1.2 'PT Serif', serif;
}

.hero-topline {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    opacity: 0.9;
}

.home-hero .hero-title {
    margin: 0 !important;
}

.hero-lead {
    max-width: 78ch;
    margin: 0 0 0.95rem;
}

.home-hero .hero-lead {
    margin-bottom: 0 !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    /* margin: 0 0 0.9rem; */
}

.home-hero .hero-actions {
    gap: 0.75rem;
    /* margin: 0 0 1.15rem; */
}

.home-hero .hero-actions .button {
    flex: 1 1;
    min-height: 48px;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-hero .hero-actions .button:hover {
    transform: translateY(-1px);
    filter: none;
}

.home-hero .hero-actions .button:not(.ghost) {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff7ed;
}

.home-hero .hero-actions .button:not(.ghost):hover {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    box-shadow: 0 12px 20px rgba(124, 45, 18, 0.34);
}

.hero-kpis {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-kpis li {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.72rem;
}

.hero-kpis strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.2;
}

.hero-kpis span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.86rem;
    line-height: 1.35;
    opacity: 0.95;
}

.home-hero .hero-actions .button.ghost {
    color: #0f3f3b;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.home-hero .hero-actions .button.ghost:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
    box-shadow: 0 12px 20px rgba(4, 120, 87, 0.32);
}

.hero .hero-intent-links {
    /* margin: 0.8rem 0 0; */
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero-intent-links a {
    color: #ecfdf5;
    font-weight: 600;
}

.hero-intent-links a:hover {
    color: #bbf7d0;
}

.hero-facts {
    /* margin: 0 0 0.95rem; */
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%);
    padding: 0.7rem;
}

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

.hero-fact-item {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 0.5rem 0.56rem;
}

.hero-fact-item dt {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.92;
}

.hero-fact-item dd {
    margin: 0.16rem 0 0;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 700;
}

.hero-route-note {
    margin: 0.72rem 0 0;
    color: rgba(236, 253, 245, 0.94);
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero-route-note a {
    color: #ecfdf5;
    font-weight: 700;
}

.hero-route-note a:hover {
    color: #bbf7d0;
}

.hero p {
    margin: 0;
}

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

.hero-product-card {
    background: rgba(248, 250, 252, 0.94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.hero-product-image {
    min-height: 112px;
    border: 1px dashed #7dd3c7;
    border-radius: 10px;
    background: linear-gradient(145deg, #f8fffd 0%, #e6faf4 100%);
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    padding: 0.7rem;
    margin: 0 0 0.65rem;
}

.hero-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 112px;
    max-height: 190px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-product-image-link {
    display: block;
    width: 100%;
}

.hero-product-card h2 {
    margin: 0 0 0.35rem;
    font: 700 1.08rem/1.25 'PT Serif', serif;
}

.hero-product-card h3 {
    margin: 0 0 0.35rem;
    font: 700 1.08rem/1.25 'PT Serif', serif;
}

.hero-product-title-link {
    color: inherit;
    text-decoration: none;
}

.hero-product-title-link:hover {
    text-decoration: underline;
}

.hero-product-subtitle {
    margin: 0 0 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #4f5b62;
    font-size: 0.85rem;
    line-height: 1.25;
}

.hero-product-price-list {
    margin: 0 0 0.55rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.22rem;
}

.hero-product-price-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem;
}

.hero-product-price-label {
    color: #4f5b62;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-product-price {
    margin: 0;
    color: var(--accent);
    font: 700 1.1rem/1.2 'Exo 2', sans-serif;
}

.hero-product-meta {
    margin: 0;
    padding-left: 1rem;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero-product-meta li {
    margin: 0.25rem 0;
}

.hero-product-cta-wrap {
    margin-top: 0.65rem;
}

.hero-product-cta {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.5rem 0.7rem;
}

.product-showcase-grid {
    margin-top: 0.8rem;
}

.catalog-hero {
    margin-top: 0.4rem;
}

.catalog-hero-meta {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
}

.catalog-table-wrap {
    overflow-x: auto;
    margin-top: 0.4rem;
}

.catalog-table-summary {
    margin: 0 0 0.55rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
}

.catalog-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.catalog-table th,
.catalog-table td {
    border: 1px solid var(--line);
    padding: 0.65rem;
    vertical-align: top;
    background: #fffefb;
}

.catalog-table th {
    background: #efe6d8;
    font: 700 0.95rem/1.2 'PT Serif', serif;
}

.catalog-table-image-cell {
    width: 150px;
}

.catalog-table-image-link {
    display: inline-block;
}

.catalog-table-image {
    display: block;
    width: 130px;
    height: 86px;
    object-fit: cover;
    border: 1px solid #d5e7e2;
    border-radius: 8px;
    background: #f5fbf9;
}

.catalog-table-no-image {
    display: inline-block;
    font-size: 0.84rem;
    color: #64748b;
}

.catalog-table-name {
    margin: 0 0 0.45rem;
    font: 700 1rem/1.3 'PT Serif', serif;
}

.catalog-table-name-cell {
    text-align: left;
}

.catalog-table-name a {
    text-decoration: none;
}

.catalog-table-name a:hover {
    text-decoration: underline;
}

.catalog-table-meta-list {
    margin: 0;
    padding-left: 1rem;
    color: #334155;
}

.catalog-table-meta-list li {
    margin: 0.28rem 0;
    line-height: 1.35;
}

.catalog-table-price-cell,
.catalog-table-action-cell {
    white-space: nowrap;
}

.catalog-table-price-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.catalog-table-price-item {
    display: grid;
    justify-items: end;
    gap: 0.08rem;
}

.catalog-table-price-label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.catalog-table-price {
    color: var(--accent);
    font: 700 1rem/1.2 'Exo 2', sans-serif;
}

.catalog-table-price-muted {
    color: #64748b;
    font-size: 0.9rem;
}

.catalog-table-button {
    min-width: 154px;
}

.price-opt-list,
.spec-list {
    margin: 0.85rem 0 0;
    padding-left: 1.1rem;
    color: #334155;
    display: grid;
    gap: 0.42rem;
}

.price-opt-list li,
.spec-list li {
    line-height: 1.45;
}

.section-cta-row {
    margin: 0.95rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.section-cta-row .button,
.accent-wide-button {
    min-height: 46px;
    width: 100%;
}

.showcase-intent-note {
    margin: 0.5rem 0 0;
    color: #334155;
    line-height: 1.45;
}

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

.feature-card {
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    padding: 0.8rem;
    background: #fffefb;
}

.feature-card h3 {
    margin: 0 0 0.45rem;
    font: 700 1.02rem/1.25 'PT Serif', serif;
}

.feature-card p {
    margin: 0;
    color: #334155;
}

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

.trust-checklist {
    margin: 0.85rem 0 0.95rem;
    padding-left: 1.12rem;
    display: grid;
    gap: 0.45rem;
    color: #334155;
}

.trust-checklist li {
    line-height: 1.45;
}

.trust-grid article {
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    background: #fffefb;
    padding: 0.8rem;
}

.trust-grid h3 {
    margin: 0 0 0.45rem;
    font: 700 1rem/1.25 'PT Serif', serif;
}

.trust-grid p {
    margin: 0;
    color: #475569;
}

.process-grid {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    counter-reset: process;
}

.process-step {
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    background: #fffefb;
    padding: 0.8rem;
}

.process-step h3 {
    margin: 0 0 0.45rem;
    font: 700 1rem/1.25 'PT Serif', serif;
}

.process-step p {
    margin: 0;
    color: #475569;
}

.faq-list {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.faq-item {
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    background: #fffefb;
    padding: 0.6rem 0.7rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item p {
    margin: 0.55rem 0 0;
    color: #475569;
}

.final-cta {
    border: 1px solid #bfe9df;
    background: linear-gradient(140deg, #ecfdf5 0%, #fffdf9 72%);
}

.final-cta .hint {
    margin: 0.65rem 0 0;
}

.quote-request-card {
    border: 1px solid #bfe9df;
    background: linear-gradient(140deg, #ecfdf5 0%, #fffdf9 72%);
}

.quote-form {
    display: grid;
    gap: 0.85rem;
}

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

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

.quote-form button {
    width: max-content;
}

.quote-form button.accent-wide-button,
.comment-form button.accent-wide-button {
    width: 100%;
}

.product-landing {
    margin-top: 0.4rem;
}

.product-landing-breadcrumb {
    margin-top: 0;
}

.product-landing-summary {
    margin-bottom: 1rem;
}

.product-landing-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-landing-gallery {
    display: grid;
    gap: 0.7rem;
}

.product-landing-figure {
    margin: 0;
    border: 1px solid #d5e7e2;
    border-radius: 12px;
    overflow: hidden;
    background: #f5fbf9;
}

.product-landing-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.product-landing-facts {
    border: 1px solid #dbe8e5;
    border-radius: 12px;
    padding: 0.85rem;
    background: #f9fcfb;
}

.product-landing-price-list {
    margin: 0 0 0.7rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.product-landing-price-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.product-landing-price-label {
    color: #4f5b62;
    font-size: 0.86rem;
    font-weight: 600;
}

.product-landing-price {
    margin: 0;
    color: var(--accent);
    font: 700 1.25rem/1.2 'Exo 2', sans-serif;
}

.product-landing-order-wrap {
    margin: 0 0 0.85rem;
}

.product-landing-order-button {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 18px rgba(124, 45, 18, 0.22);
}

.product-landing-order-button:hover {
    filter: none;
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    box-shadow: 0 12px 20px rgba(124, 45, 18, 0.3);
    transform: translateY(-1px);
}

#quote-request-product {
    scroll-margin-top: 96px;
}

.product-landing-meta,
.product-landing-notes {
    margin: 0;
    padding-left: 1.05rem;
}

.product-landing-meta {
    color: #334155;
    margin-bottom: 0.8rem;
}

.product-landing-meta li,
.product-landing-notes li {
    margin: 0.3rem 0;
}

.product-landing-notes {
    color: #1f2937;
}

.product-entity-card {
    margin-top: 0.85rem;
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    background: #fffefb;
    padding: 0.75rem;
}

.product-entity-card h2 {
    margin: 0 0 0.6rem;
    font: 700 0.98rem/1.25 'PT Serif', serif;
}

.product-entity-list {
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.product-entity-list div {
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
}

.product-entity-list dt {
    margin: 0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-entity-list dd {
    margin: 0;
    color: #1f2937;
}

.product-complect {
    border-top: 1px solid #d4c7b3;
    padding-top: 0.9rem;
    margin-bottom: 1rem;
}

.product-complect .hint {
    margin: 0.4rem 0 0.7rem;
}

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

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

.product-complect-table th,
.product-complect-table td {
    border: 1px solid #d7cdbf;
    padding: 0.6rem;
    vertical-align: top;
    background: #fffefb;
}

.product-complect-table th {
    background: #efe6d8;
    font: 700 0.92rem/1.2 'PT Serif', serif;
}

.product-complect-cost-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.18rem;
}

.product-complect-cost-label {
    color: #475569;
    font-size: 0.82rem;
    margin-right: 0.3rem;
}

.product-complect-cost-value {
    color: var(--accent);
    font: 700 0.95rem/1.2 'Exo 2', sans-serif;
}

.product-landing-description {
    border-top: 1px solid #d4c7b3;
    padding-top: 0.9rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem;
    margin: 0 0 1rem;
    box-shadow: var(--shadow);
    animation: rise 440ms ease-out;
}

.card h1,
.card h2,
.card h3,
.prose h1,
.prose h2,
.prose h3 {
    font-family: 'PT Serif', serif;
    line-height: 1.25;
    margin-top: 0;
}

.summary {
    color: var(--muted);
    font-style: italic;
}

.prose ul {
    padding-left: 1.2rem;
}

.prose table {
    width: 100%;
    margin: 0.95rem 0 1.1rem;
    border-collapse: collapse;
    border: 1px solid #d7cdbf;
    border-radius: 12px;
    overflow: hidden;
    background: #fffefb;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    font-size: 0.95rem;
    line-height: 1.45;
}

.prose table th,
.prose table td {
    padding: 0.62rem 0.72rem;
    border: 1px solid #e4d9c8;
    text-align: left;
    vertical-align: top;
}

.prose table th {
    background: linear-gradient(180deg, #f2e9db 0%, #e8d8c1 100%);
    color: #1f2937;
    font: 700 0.92rem/1.25 'PT Serif', serif;
}

.prose table tbody tr:nth-child(even) td {
    background: #fffaf2;
}

.prose table tbody tr:hover td {
    background: #f1fbf8;
}

.article-list {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.article-list-intro {
    margin: 0;
    max-width: 78ch;
    color: #334155;
}

.article-list li {
    margin: 0.4rem 0;
}

.article-product-jump-button {
    margin: 0 0 0.9rem;
}

#recommended-products {
    scroll-margin-top: 96px;
}

a {
    color: var(--brand);
}

.notice {
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    border: 1px solid;
}

.notice.success {
    background: var(--brand-soft);
    border-color: #7dd3c7;
}

.notice.error {
    background: #ffe4e6;
    border-color: #fda4af;
}

.error-block pre {
    margin: 0.8rem 0 0;
    background: #111827;
    color: #f9fafb;
    padding: 0.9rem;
    overflow: auto;
    border-radius: 10px;
}

.static-error-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.2rem 0;
}

.error-page {
    display: grid;
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(255, 253, 249, 0.98) 44%),
        var(--card);
}

.error-page-code {
    margin: 0;
    color: #0f766e;
    font: 700 clamp(4rem, 14vw, 8rem)/0.9 'PT Serif', serif;
    letter-spacing: 0;
}

.error-page-copy p:not(.hero-topline) {
    max-width: 62ch;
    color: #334155;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

form.stack,
.comment-form {
    display: grid;
    gap: 0.8rem;
}

input,
textarea,
select {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #b8ad9e;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

button,
.button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    background: var(--brand);
    color: #fff;
    font: 600 0.95rem/1 'Exo 2', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button.ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

button:hover,
.button:hover {
    filter: brightness(0.96);
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.check-item input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

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

.quote-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-end;
    margin-bottom: 0.8rem;
}

.quote-filter-form label {
    min-width: 220px;
}

.quote-status {
    display: inline-block;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.quote-status.status-new {
    background: #fef3c7;
    color: #92400e;
}

.quote-status.status-in_progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.quote-status.status-answered {
    background: #dcfce7;
    color: #166534;
}

.quote-status.status-closed {
    background: #e2e8f0;
    color: #334155;
}

.quote-status-form {
    display: grid;
    gap: 0.45rem;
    max-width: 170px;
}

.quote-status-form select,
.quote-status-form button {
    margin: 0;
}

.quote-status-form button {
    width: 100%;
}

.admin-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.admin-action-form {
    display: inline-flex;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.admin-table th,
.admin-table td {
    border: 1px solid var(--line);
    padding: 0.55rem;
    vertical-align: top;
    text-align: left;
}

.inline-form {
    display: inline;
}

.seo-export-output {
    margin: 0.55rem 0 0;
    overflow: auto;
    white-space: pre-wrap;
}

.inline-form button {
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
}

.admin-check-cell {
    align-items: center;
}

.admin-check-cell input[type="checkbox"] {
    margin-top: 0;
}

.faq-home-sort-input {
    width: 110px;
    margin-top: 0;
}

.danger-link {
    background: var(--danger);
}

.comment-item {
    border-top: 1px solid var(--line);
    padding: 0.65rem 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 1.4rem;
    color: var(--muted);
}

.footer-line {
    padding: 1rem 0 1.2rem;
}

.narrow {
    max-width: 460px;
    margin: 1rem auto;
}

.hint {
    color: var(--muted);
    margin-top: 0;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .product-landing-grid {
        grid-template-columns: 1fr;
    }

    .admin-table {
        font-size: 0.86rem;
    }

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

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

    .catalog-table {
        min-width: 720px;
    }

    .catalog-table th,
    .catalog-table td {
        padding: 0.55rem;
    }

    .catalog-table-image {
        width: 110px;
        height: 74px;
    }

    .prose table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .prose table th,
    .prose table td {
        padding: 0.52rem 0.6rem;
    }
}

@media (max-width: 680px) {
    .hero-products {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .header-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact-list {
        margin-top: 0.8rem;
    }

    .header-contact-link {
        min-height: 48px;
        padding: 0.45rem 0.8rem;
    }

    .main-nav {
        margin-top: 0.8rem;
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .home-hero .hero-lead {
        margin-bottom: 1.35rem;
    }

    .home-hero .hero-actions {
        gap: 0.8rem;
        margin: 0 0 1.25rem;
    }

    .home-hero .hero-actions .button {
        min-height: 50px;
    }

    .hero-actions .button {
        width: 100%;
    }

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

    .breadcrumbs {
        margin-bottom: 0.65rem;
    }

    .breadcrumbs ol {
        font-size: 0.82rem;
        gap: 0.28rem;
    }

    .section-cta-row .button {
        width: 100%;
        text-align: center;
    }

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

    .feature-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .product-entity-list div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

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

    .card,
    .hero {
        padding: 0.9rem;
        border-radius: 13px;
    }

    .error-page {
        grid-template-columns: 1fr;
    }

    .error-page-code {
        font-size: 4rem;
    }

    .error-page-actions .button {
        width: 100%;
    }
}

/* Visual redesign (public pages) */
.public-shell {
    --bg: #edf4ff;
    --ink: #10233c;
    --muted: #506683;
    --line: #c8d6ea;
    --brand: #1859b8;
    --brand-soft: #e4efff;
    --accent: #ef6a3f;
    --danger: #b4233c;
    --card: #ffffff;
    --shadow: 0 20px 44px rgba(17, 38, 78, 0.12);
    background:
        radial-gradient(circle at 14% -8%, rgba(90, 138, 236, 0.22), transparent 36%),
        radial-gradient(circle at 86% 0%, rgba(239, 106, 63, 0.16), transparent 30%),
        linear-gradient(165deg, #edf4ff 0%, #f9fbff 52%, #e9efff 100%);
    color: var(--ink);
    font: 16px/1.6 'Manrope', 'Segoe UI', sans-serif;
}

.public-shell .wrap {
    width: min(1140px, calc(100% - 2rem));
}

.public-shell .site-ribbon {
    border-bottom: 1px solid rgba(24, 89, 184, 0.16);
    background: linear-gradient(90deg, rgba(209, 231, 255, 0.8) 0%, rgba(243, 249, 255, 0.95) 100%);
}

.public-shell .site-ribbon-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.48rem 0;
}

.public-shell .site-ribbon-text {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 600;
    color: #1f3554;
}

.public-shell .site-ribbon-link {
    color: #0f4f9b;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.public-shell .site-ribbon-link:hover {
    color: #0a3f7d;
    text-decoration: underline;
}

.public-shell .site-header {
    border-bottom: 1px solid rgba(24, 89, 184, 0.22);
    background: rgba(237, 244, 255, 0.88);
    backdrop-filter: blur(11px);
}

.public-shell .header-shell {
    padding: 0.9rem 0 0.92rem;
}

.public-shell .header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
}

.public-shell .header-identity {
    display: grid;
    gap: 0.4rem;
}

.public-shell .logo-image {
    width: clamp(230px, 32vw, 360px);
}

.public-shell .header-tagline {
    margin: 0;
    font-size: 0.86rem;
    color: #4c6180;
    max-width: 56ch;
}

.public-shell .header-contact-list {
    justify-self: end;
}

.public-shell .header-contact-link {
    border-radius: 14px;
    border: 1px solid rgba(24, 89, 184, 0.22);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(24, 89, 184, 0.1);
}

.public-shell .header-contact-link:hover {
    border-color: rgba(24, 89, 184, 0.38);
    background: #f5f9ff;
}

.public-shell .header-contact-icon {
    color: var(--brand);
}

.public-shell .header-cta {
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(24, 89, 184, 0.22);
    color: #0e4f9f;
    background: #ffffff;
    justify-self: end;
}

.public-shell .header-cta:hover {
    border-color: rgba(24, 89, 184, 0.44);
    background: #f3f8ff;
}

.public-shell .main-nav {
    margin-top: 0.9rem;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.3rem;
    border: 1px solid rgba(24, 89, 184, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
}

.public-shell .main-nav a {
    border-radius: 11px;
    border: 1px solid transparent;
    color: #17375f;
    font-weight: 600;
    padding: 0.38rem 0.78rem;
}

.public-shell .main-nav a:hover {
    border-color: rgba(24, 89, 184, 0.3);
    background: #f0f6ff;
}

.public-shell main.wrap {
    padding: 1.35rem 0 2.35rem;
}

.public-shell .hero,
.public-shell .card {
    border-radius: 22px;
    border: 1px solid rgba(24, 89, 184, 0.15);
    box-shadow: var(--shadow);
}

.public-shell .hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 166, 111, 0.32), transparent 32%),
        linear-gradient(135deg, #1a4e9f 0%, #113f88 52%, #102f68 100%);
    color: #eef5ff;
    padding: 1.6rem 1.4rem;
}

.public-shell .hero::after {
    content: '';
    position: absolute;
    inset: auto -8% -54% 52%;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 62%);
    pointer-events: none;
}

.public-shell .hero h1,
.public-shell .hero h2,
.public-shell .card h1,
.public-shell .card h2,
.public-shell .card h3,
.public-shell .prose h1,
.public-shell .prose h2,
.public-shell .prose h3 {
    font-family: 'Literata', Georgia, serif;
    letter-spacing: -0.01em;
}

.public-shell .hero-topline {
    font-weight: 700;
    opacity: 0.94;
}

.public-shell .hero-lead {
    color: rgba(235, 244, 255, 0.95);
}

.public-shell .hero-kpis li {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.public-shell .hero-kpis span {
    color: rgba(238, 245, 255, 0.92);
}

.public-shell .hero-intent-links a {
    color: #ffe3d7;
}

.public-shell .hero-intent-links a:hover {
    color: #fff0e8;
}

.public-shell .hero-facts {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.public-shell .hero-fact-item {
    border-color: rgba(255, 255, 255, 0.24);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.public-shell .hero-fact-item dt {
    color: rgba(238, 245, 255, 0.9);
}

.public-shell .hero-fact-item dd {
    color: #f8fbff;
}

.public-shell .hero-route-note {
    color: rgba(235, 244, 255, 0.95);
}

.public-shell .hero-route-note a {
    color: #ffe3d7;
}

.public-shell .hero-route-note a:hover {
    color: #fff0e8;
}

.public-shell .hero-product-card {
    border-radius: 16px;
    border: 1px solid rgba(19, 63, 136, 0.18);
    box-shadow: 0 14px 28px rgba(17, 45, 93, 0.14);
}

.public-shell .card {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.95) 100%);
}

.public-shell .summary {
    color: #5c7190;
    font-style: normal;
}

.public-shell a {
    color: var(--brand);
}

.public-shell a:hover {
    color: #103f83;
}

.public-shell button,
.public-shell .button {
    border-radius: 999px;
    border: 1px solid rgba(24, 89, 184, 0.18);
    background: linear-gradient(140deg, #1b61c4 0%, #124b9e 100%);
    color: #f4f8ff;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(17, 56, 116, 0.24);
}

.public-shell button:hover,
.public-shell .button:hover {
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(17, 56, 116, 0.3);
}

.public-shell .button.ghost {
    background: #ffffff;
    color: #104a95;
    border-color: rgba(24, 89, 184, 0.25);
    box-shadow: 0 8px 16px rgba(17, 56, 116, 0.12);
}

.public-shell .button.ghost:hover {
    background: #f2f7ff;
}

.public-shell .accent-wide-button,
.public-shell .product-landing-order-button,
.public-shell .home-hero .hero-actions .button:not(.ghost) {
    background: linear-gradient(140deg, #ef6a3f 0%, #d6512c 100%);
    border-color: rgba(215, 81, 44, 0.42);
}

.public-shell .accent-wide-button:hover,
.public-shell .product-landing-order-button:hover,
.public-shell .home-hero .hero-actions .button:not(.ghost):hover {
    background: linear-gradient(140deg, #f27b56 0%, #df5f3a 100%);
}

.public-shell .catalog-table th,
.public-shell .product-complect-table th {
    background: linear-gradient(180deg, #dfeaff 0%, #ceddfc 100%);
    color: #1b375f;
    border-color: #bbcae2;
}

.public-shell .catalog-table td,
.public-shell .product-complect-table td {
    background: #fbfdff;
    border-color: #c8d6eb;
}

.public-shell .catalog-table-price,
.public-shell .product-complect-cost-value,
.public-shell .product-landing-price,
.public-shell .hero-product-price {
    color: #d6512c;
}

.public-shell .feature-card,
.public-shell .trust-grid article,
.public-shell .process-step,
.public-shell .faq-item,
.public-shell .product-landing-facts,
.public-shell .product-entity-card {
    border-radius: 16px;
    border-color: #c8d6eb;
    background: #f8fbff;
}

.public-shell .showcase-intent-note,
.public-shell .trust-checklist {
    color: #324a6a;
}

.public-shell .breadcrumbs [aria-current='page'] {
    color: #17375f;
}

.public-shell .notice.success {
    background: #e5f2ff;
    border-color: #9fc5f7;
}

.public-shell .notice.error {
    background: #ffe8ea;
    border-color: #f3a7af;
}

.public-shell input,
.public-shell textarea,
.public-shell select {
    border-radius: 12px;
    border: 1px solid #b9cbe4;
    background: #ffffff;
}

.public-shell input:focus,
.public-shell textarea:focus,
.public-shell select:focus {
    outline: none;
    border-color: #2f71cd;
    box-shadow: 0 0 0 3px rgba(47, 113, 205, 0.18);
}

.public-shell .site-footer {
    margin-top: 2rem;
    border-top: none;
    background:
        radial-gradient(circle at 78% -20%, rgba(117, 171, 255, 0.28), transparent 45%),
        linear-gradient(170deg, #132c58 0%, #0e2345 100%);
    color: #d9e8ff;
}

.public-shell .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 1rem;
    padding: 1.5rem 0 1.05rem;
}

.public-shell .footer-heading {
    margin: 0 0 0.5rem;
    color: #f3f8ff;
    font: 700 1rem/1.2 'Literata', Georgia, serif;
}

.public-shell .footer-brand-title {
    margin: 0 0 0.48rem;
    color: #f4f8ff;
    font: 700 1.15rem/1.2 'Literata', Georgia, serif;
}

.public-shell .footer-brand-text,
.public-shell .footer-contacts p {
    margin: 0;
    color: #c6d9fb;
}

.public-shell .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

.public-shell .footer-links a,
.public-shell .footer-contacts a {
    color: #e5efff;
    text-decoration: none;
}

.public-shell .footer-links a:hover,
.public-shell .footer-contacts a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.public-shell .footer-line {
    border-top: 1px solid rgba(184, 206, 239, 0.24);
    padding: 0.8rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
    color: #aac3ea;
    font-size: 0.88rem;
}

@media (max-width: 860px) {
    .public-shell .header-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .public-shell .header-cta {
        grid-column: 1 / -1;
        justify-self: start;
    }

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

@media (max-width: 680px) {
    .public-shell .wrap {
        width: min(100% - 1rem, 1140px);
    }

    .public-shell .site-ribbon-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-shell .header-grid {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .public-shell .header-contact-list,
    .public-shell .header-cta {
        justify-self: start;
    }

    .public-shell .main-nav {
        padding: 0.35rem;
    }

    .public-shell .main-nav a {
        width: calc(50% - 0.25rem);
        text-align: center;
    }

    .public-shell .hero,
    .public-shell .card {
        border-radius: 18px;
    }

    .public-shell .footer-grid {
        grid-template-columns: 1fr;
        padding-top: 1.2rem;
    }

    .public-shell .footer-line {
        flex-direction: column;
        align-items: flex-start;
    }
}
