html,
body {
    overflow-x: hidden;
}

:root {
    --site-bg: #fcfcfd;
    --site-bg-alt: #f8f8f8;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --surface-soft: #fcfcfd;
    --surface-muted: #f6f6f7;
    --text-strong: #111827;
    --text: #1f2937;
    --text-muted: #212327;
    --border: rgba(17, 24, 39, 0.08);
    --border-strong: rgba(17, 24, 39, 0.12);
    --accent: #111111;
    --accent-hover: #18181b;
    --accent-soft: #f4f4f5;
    --accent-tint: #fafafa;
    --accent-rgb: 17, 17, 17;
    --glow-blue: rgba(255, 255, 255, 0.65);
    --glow-aqua: rgba(255, 255, 255, 0.45);
    --glow-lilac: rgba(255, 255, 255, 0.32);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.05);
    --shadow-card: 0 18px 40px rgba(17, 24, 39, 0.08);
    --button-gradient: linear-gradient(135deg, #111111 0%, #18181b 100%);
    --button-gradient-hover: linear-gradient(135deg, #0f172a 0%, #18181b 100%);
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 22%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, var(--site-bg) 52%, var(--site-bg-alt) 100%);
    color: var(--text);
}

.site-page {
    overflow-x: hidden;
}

.site-section-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-section {
    padding: 55px 0;
}

.site-page,
.site-page p,
.site-page li,
.site-page label,
.site-page input,
.site-page textarea {
    text-align: start;
}

.section-kicker {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #faf5ff);
    color: #374151;
    border: 1px solid rgba(17, 24, 39, 28%);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 14px;
}

.section-title {
    font-size: 1.85rem;
    line-height: 1.35;
    color: var(--text-strong);
    margin-bottom: 14px;
    font-weight: 700;
}

.section-copy,
.section-copy p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.section-copy p:last-child {
    margin-bottom: 0;
}

.soft-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.soft-button,
.soft-button-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: .25s ease;
    text-decoration: none !important;
}

.soft-button {
    color: #fff;
    background: var(--button-gradient);
    width: 100%;
    margin-top: 21px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.soft-button:hover {
    color: #fff;
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
}

.soft-button-alt {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    width: 100%;
}

.soft-button-alt:hover {
    color: var(--text-strong);
    background: #fafafa;
    transform: translateY(-2px);
}

.cta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.mini-title {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--text-strong);
    font-weight: 700;
    margin-bottom: 14px;
}

.meta-chip,
.detail-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #fafafa);
    color: #374151;
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 13px;
    font-weight: 600;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.info-list li {
    padding: 15px 17px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--surface-soft));
    border: 1px solid rgba(var(--accent-rgb), 0.08);
    color: var(--text-muted);
    line-height: 1.8;
}

.compact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.product-card-clean {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card-clean:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.product-card-clean::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 0.22) 45%,
            rgba(255, 255, 255, 0) 80%);
    transform: translateX(-130%);
    animation: cardLightSweep 7.5s ease-in-out infinite;
    pointer-events: none;
}

.product-card-clean:hover::after {
    animation-duration: 5.5s;
}

@keyframes cardLightSweep {

    0%,
    18% {
        transform: translateX(-135%);
    }

    45% {
        transform: translateX(135%);
    }

    100% {
        transform: translateX(135%);
    }
}

.product-card-clean__media {
    background: linear-gradient(180deg, #ffffff, #fcfcfd);
    padding: 22px;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-clean__media img {
    width: auto;
    max-height: 210px;
    max-width: 100%;
    object-fit: contain;
}

.product-card-clean__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card-clean__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0;
    letter-spacing: .03em;
}

.product-card-clean h3 {
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--text-strong);
    margin-bottom: 0;
    font-weight: 700;
}

.product-card-clean p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: .93rem;
    margin-bottom: 0;
    flex: 1;
}

.search-input,
.field,
.textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    padding: 13px 15px;
    font: inherit;
}

.search-input:focus,
.field:focus,
.textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.filter-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #fafafa);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.filter-pill.is-active {
    background: var(--button-gradient);
    color: #fff;
    border-color: transparent;
}

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

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

.helper {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 14px;
}

.page-hero-band {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
}

.page-hero-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.page-hero-band .section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-meta {
    display: grid;
    gap: 14px;
}

.home-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 28px;
    align-items: center;
}

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

.image-panel {
    padding: 18px;
}

.image-panel img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.list-clean,
.list-clean ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.list-clean li {
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), var(--surface-soft));
    border: 1px solid rgba(var(--accent-rgb), 0.08);
    color: var(--text-muted);
    line-height: 1.8;
}

.detail-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.detail-tags-bottom {
    margin-top: 24px;
    padding: 10px;
}

.tag-link {
    text-decoration: none !important;
}

html[dir="rtl"] .cta-inline,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .filter-row,
html[dir="rtl"] .tag-row,
html[dir="rtl"] .detail-hero-tags {
    justify-content: flex-start;
}

html[dir="rtl"] .home-two-col,
html[dir="rtl"] .tech-grid,
html[dir="rtl"] .form-grid {
    direction: rtl;
}

html[dir="ltr"] .home-two-col,
html[dir="ltr"] .tech-grid,
html[dir="ltr"] .form-grid {
    direction: ltr;
}

html[dir="rtl"] .product-card-clean__body,
html[dir="rtl"] .page-hero-band,
html[dir="rtl"] .soft-panel,
html[dir="rtl"] .services-section,
html[dir="rtl"] .contact-meta {
    text-align: right;
}

html[dir="ltr"] .product-card-clean__body,
html[dir="ltr"] .page-hero-band,
html[dir="ltr"] .soft-panel,
html[dir="ltr"] .services-section,
html[dir="ltr"] .contact-meta {
    text-align: left;
}

@media (max-width: 768px) {
    .site-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-hero-band .section-title {
        font-size: 1.42rem;
    }

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

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

    .home-two-col,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .product-card-clean__media {
        min-height: 205px;
        padding: 18px;
    }

    .product-card-clean__media img {
        max-height: 185px;
    }

    .page-hero-band {
        padding: 24px 18px;
    }
}