:root {
    --bg: #071223;
    --bg-soft: #0c1e37;
    --surface: rgba(10, 27, 51, 0.84);
    --surface-strong: rgba(13, 35, 66, 0.96);
    --line: rgba(65, 148, 255, 0.28);
    --text: #eaf3ff;
    --text-soft: rgba(222, 236, 255, 0.72);
    --blue-1: #0041ce;
    --blue-2: #0b7ef2;
    --cyan: #29d4ff;
    --red: #ff2a2a;
    --radius-lg: 26px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow: 0 28px 80px rgba(0, 10, 25, 0.55);
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
.eyebrow,
.btn,
.main-nav a {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

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

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

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 580px at 110% -5%, rgba(13, 143, 255, 0.26), transparent 72%),
        radial-gradient(860px 540px at -12% 18%, rgba(0, 70, 216, 0.33), transparent 76%),
        linear-gradient(140deg, #031022 0%, #061a33 58%, #05162d 100%);
}

.site-bg::before,
.site-bg::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.site-bg::before {
    width: 56vw;
    max-width: 760px;
    height: 2px;
    left: -10vw;
    top: 250px;
    background: linear-gradient(90deg, rgba(255, 42, 42, 0), rgba(255, 42, 42, 0.95), rgba(255, 42, 42, 0));
    filter: blur(0.2px);
}

.site-bg::after {
    width: 380px;
    height: 380px;
    right: -150px;
    top: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 212, 255, 0.24), rgba(41, 212, 255, 0));
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(65, 148, 255, 0.2);
    backdrop-filter: blur(12px);
    background: rgba(4, 17, 34, 0.72);
}

.nav-row {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 0;
    max-width: 60vw;
    text-decoration: none;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    color: #f7fbff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.9rem, 1vw, 1.24rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-rule {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(250, 86, 86, 0.9), rgba(250, 86, 86, 0.35));
}

.brand-tagline {
    color: #d8e9fc;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(0.8rem, 0.86vw, 1.02rem);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.brand img {
    width: clamp(150px, 14.5vw, 250px);
    height: auto;
    max-width: 36vw;
    flex-shrink: 0;
    filter: drop-shadow(0 0 14px rgba(20, 147, 255, 0.28)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.42));
}

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

.main-nav a {
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-soft);
    padding: 10px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--text);
    background: rgba(24, 93, 183, 0.36);
}

.main-nav .nav-cta {
    color: #fff;
    background: linear-gradient(135deg, #0c6ff1, #0042ce);
    box-shadow: 0 12px 28px rgba(0, 66, 206, 0.32);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(8, 26, 50, 0.86);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

main {
    display: block;
}

.section {
    padding: 74px 0;
}

.section-compact {
    padding-top: 58px;
}

.section-dark {
    background: linear-gradient(180deg, rgba(2, 12, 26, 0.88), rgba(2, 12, 24, 0.68));
    border-top: 1px solid rgba(65, 148, 255, 0.14);
    border-bottom: 1px solid rgba(65, 148, 255, 0.14);
}

.page-head {
    padding-bottom: 10px;
}

.page-list .page-head {
    padding-top: 34px;
    padding-bottom: 4px;
}

.page-list .page-head .section-head h1 {
    margin-bottom: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(41, 212, 255, 0.32);
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.section-head h1,
.section-head h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.06;
}

.section-head p {
    margin: 0;
    color: var(--text-soft);
    max-width: 760px;
}

.hero {
    padding: 56px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 26px;
    align-items: stretch;
}

.hero-copy {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(8, 28, 56, 0.74), rgba(9, 20, 40, 0.9));
    box-shadow: var(--shadow);
}

.hero-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 5.1vw, 3.6rem);
    line-height: 0.95;
}

.hero-copy p {
    margin: 0;
    color: var(--text-soft);
    max-width: 52ch;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.86rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0e8aff, #0148de);
    box-shadow: 0 14px 30px rgba(0, 72, 222, 0.34);
}

.btn-outline {
    color: var(--text);
    border: 1px solid rgba(41, 212, 255, 0.52);
    background: rgba(13, 35, 66, 0.5);
}

.hero-slider {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #081a33;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.46s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg,
.hero-slide-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide-bg {
    background: linear-gradient(120deg, rgba(8, 66, 148, 0.65), rgba(6, 18, 35, 0.9));
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    background: linear-gradient(160deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.45) 95%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 34px;
}

.hero-slide-content h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 0.98;
}

.hero-slide-content p {
    margin: 0;
    color: rgba(234, 243, 255, 0.82);
}

.hero-slide-content a {
    margin-top: 4px;
    width: fit-content;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(224, 240, 255, 0.36);
}

.hero-dot.is-active {
    background: var(--cyan);
}

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

.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
}

.stat-card strong {
    display: block;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 1.7rem;
    line-height: 1;
}

.stat-card span {
    color: var(--text-soft);
    font-size: 0.95rem;
}

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

.product-grid-compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.category-card,
.product-card,
.news-card,
.empty-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
}

.category-card,
.product-card,
.news-copy,
.empty-card {
    padding: 18px;
}

.category-card h3,
.product-card h3,
.news-copy h3,
.empty-card h3 {
    margin: 0 0 8px;
    font-size: 1.36rem;
    line-height: 0.95;
    font-weight: 100;
}

.category-card p,
.product-card p,
.news-copy p,
.empty-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.category-card a {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.84rem;
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #0a2448;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 242, 255, 0.62);
    font-size: 0.92rem;
}

.page-list .product-card h3 {
    text-align: center;
}

.page-list .product-card {
    padding: 0;
}

.product-card-link {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.product-card-sm .product-card-link {
    padding: 10px;
    gap: 8px;
}

.product-card-sm h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.product-card-link:hover,
.product-card-link:focus-visible {
    background: rgba(22, 72, 138, 0.18);
}

.section-product-detail {
    padding-top: 24px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.product-gallery,
.product-detail-info {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    padding: 18px;
}

.product-main-image {
    border: 1px solid rgba(94, 161, 255, 0.24);
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0a2448;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.2s ease;
    will-change: transform;
}

.product-main-image img.is-zooming {
    transform: scale(1.6);
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    border: 1px solid rgba(101, 164, 255, 0.22);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(8, 30, 56, 0.68);
    padding: 0;
    cursor: pointer;
}

.product-thumb img {
    width: 100%;
    height: 72px;
    object-fit: cover;
}

.product-thumb.is-active,
.product-thumb:hover,
.product-thumb:focus-visible {
    border-color: rgba(41, 212, 255, 0.8);
    box-shadow: 0 0 0 2px rgba(41, 212, 255, 0.16);
}

.product-detail-title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    line-height: 1;
}

.product-detail-description {
    color: var(--text-soft);
}

.product-detail-description p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.related-files-title {
    margin: 22px 0 12px;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

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

.webfiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.webfile-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(98, 161, 255, 0.23);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 30, 56, 0.62);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.webfile-card:hover,
.webfile-card:focus-visible {
    border-color: rgba(41, 212, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Área de portada cuadrada */
.webfile-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(4, 18, 38, 0.85);
    flex-shrink: 0;
}

.webfile-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ícono de tipo cuando no hay portada */
.webfile-thumb .file-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

/* Badge de extensión superpuesto sobre portada */
.webfile-ext-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(7, 20, 45, 0.82);
    border: 1px solid rgba(98, 161, 255, 0.35);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(180, 215, 255, 0.9);
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Contenido inferior */
.webfile-copy {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.webfile-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.webfile-desc {
    font-size: 0.82rem;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.webfile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(98, 161, 255, 0.12);
}

.webfile-size {
    font-size: 0.75rem;
    color: rgba(155, 195, 245, 0.55);
}

.webfile-arrow {
    font-size: 1.05rem;
    color: rgba(98, 193, 255, 0.7);
}

/* ── Detalle de catálogo ────────────────────────────── */
.catalog-detail-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.catalog-cover-col {
    position: sticky;
    top: 96px;
}

.catalog-cover-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(98, 161, 255, 0.23);
    background: rgba(4, 18, 38, 0.85);
}

.catalog-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(98, 161, 255, 0.3);
}

.catalog-info-col {
    padding-top: 4px;
}

.catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.catalog-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(98, 161, 255, 0.3);
    background: rgba(30, 60, 110, 0.4);
    font-size: 0.79rem;
    color: rgba(160, 200, 255, 0.85);
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    letter-spacing: 0.03em;
}

.catalog-description {
    font-size: 1.02rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 28px;
    white-space: pre-line;
}

.catalog-download-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.catalog-file-info {
    font-size: 0.83rem;
    color: rgba(155, 195, 245, 0.6);
}

.related-file-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(98, 161, 255, 0.23);
    border-radius: 12px;
    padding: 10px;
    background: rgba(8, 30, 56, 0.62);
}

.related-file-card:hover,
.related-file-card:focus-visible {
    border-color: rgba(41, 212, 255, 0.8);
}

.file-icon {
    min-width: 48px;
    text-align: center;
    border-radius: 10px;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 6px;
    border: 1px solid transparent;
}

.file-icon-pdf {
    color: #ffd7d7;
    border-color: rgba(255, 107, 107, 0.45);
    background: rgba(110, 20, 30, 0.55);
}

.file-icon-doc {
    color: #d8ebff;
    border-color: rgba(111, 167, 255, 0.46);
    background: rgba(19, 53, 102, 0.62);
}

.file-icon-sheet {
    color: #d8ffe8;
    border-color: rgba(87, 208, 145, 0.5);
    background: rgba(11, 74, 45, 0.65);
}

.file-icon-slide {
    color: #ffe7cc;
    border-color: rgba(255, 185, 107, 0.5);
    background: rgba(108, 62, 8, 0.68);
}

.file-icon-zip {
    color: #f0e6ff;
    border-color: rgba(173, 136, 255, 0.5);
    background: rgba(58, 39, 105, 0.67);
}

.file-icon-img,
.file-icon-file {
    color: #d6f4ff;
    border-color: rgba(41, 212, 255, 0.46);
    background: rgba(8, 70, 100, 0.64);
}

.file-copy {
    display: grid;
    min-width: 0;
}

.file-copy strong {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-copy small,
.related-files-empty {
    color: var(--text-soft);
}

.product-tag {
    display: inline-flex;
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #7fd9ff;
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-copy small {
    display: inline-flex;
    margin-top: 10px;
    color: rgba(234, 243, 255, 0.52);
}

.news-card-link {
    display: block;
}

.news-card-link:hover,
.news-card-link:focus-visible {
    background: rgba(22, 72, 138, 0.18);
}

.section-news-detail {
    padding-top: 24px;
}

.news-detail-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
}

.news-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-detail-copy {
    padding: 20px;
}

.news-detail-date {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--text-soft);
}

.news-detail-content {
    color: var(--text-soft);
    line-height: 1.7;
}

.news-detail-content p {
    margin: 0 0 12px;
}

.news-detail-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
}

.about-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.about-grid h2 {
    margin: 12px 0;
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
    line-height: 1;
}

.about-grid p {
    margin: 0;
    max-width: 58ch;
    line-height: 1.6;
    color: var(--text-soft);
}

.about-copy {
    display: grid;
    gap: 12px;
}

.about-copy .about-lead {
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: #f2f8ff;
    letter-spacing: 0.02em;
}

.about-copy .about-represent {
    margin-top: 8px;
    font-weight: 700;
    color: #d6e9ff;
}

.about-partners-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 660px);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(185, 210, 240, 0.32);
    background: linear-gradient(180deg, rgba(55, 60, 70, 0.9), rgba(37, 42, 50, 0.94));
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-partners-link:hover,
.about-partners-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(204, 224, 252, 0.64);
    box-shadow: 0 10px 24px rgba(3, 8, 16, 0.34);
}

.about-partners-logo {
    width: min(100%, 520px);
    height: auto;
    display: block;
}

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

.service-list li {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    background: var(--surface);
}

.service-list .service-logo-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
}

.service-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border: 1px solid rgba(185, 210, 240, 0.32);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(55, 60, 70, 0.9), rgba(37, 42, 50, 0.94));
    padding: 8px;
}

.service-logo-link:hover,
.service-logo-link:focus-visible {
    border-color: rgba(204, 224, 252, 0.64);
}

.service-logo-link img {
    max-width: 100%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-logo-link-light {
    background: linear-gradient(180deg, #f7fbff, #eaf2fb);
    border-color: rgba(121, 156, 198, 0.55);
}

.service-logo-invert-dark {
    filter: brightness(0) saturate(100%) opacity(0.82);
}

.map-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.map-copy {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    background: linear-gradient(180deg, rgba(6, 28, 54, 0.62), rgba(6, 22, 42, 0.78));
}

.map-copy h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
}

.map-copy p {
    margin: 0 0 18px;
    color: var(--text-soft);
}

.mini-contact-form {
    margin-top: 18px;
    border-top: 1px solid rgba(65, 148, 255, 0.2);
    padding-top: 14px;
}

.mini-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mini-form-grid label {
    display: grid;
    gap: 6px;
}

.mini-form-grid span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b8d8ff;
}

.mini-form-grid input,
.mini-form-grid textarea {
    width: 100%;
    border: 1px solid rgba(65, 148, 255, 0.3);
    border-radius: 10px;
    background: rgba(5, 20, 38, 0.75);
    color: var(--text);
    padding: 10px 12px;
    font: inherit;
}

.mini-form-grid input:focus,
.mini-form-grid textarea:focus {
    outline: none;
    border-color: rgba(41, 212, 255, 0.8);
}

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

.mini-form-alert {
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.92rem;
}

.mini-form-alert-error {
    color: #ffd5d5;
    background: rgba(130, 24, 24, 0.45);
    border: 1px solid rgba(255, 115, 115, 0.45);
}

.mini-form-alert-success {
    color: #d7ffe5;
    background: rgba(15, 96, 54, 0.45);
    border: 1px solid rgba(91, 229, 154, 0.45);
}

.mini-form-recaptcha {
    margin-top: 12px;
}

.mini-form-submit {
    margin-top: 12px;
}

.map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 360px;
    box-shadow: var(--shadow);
    position: relative;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(0.92) saturate(0.15) contrast(1.08) brightness(0.92);
    transition: filter 0.25s ease;
}

.map-card:hover iframe,
.map-card:focus-within iframe {
    filter: grayscale(0.7) saturate(0.3) contrast(1.05) brightness(0.95);
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -100%);
    pointer-events: none;
    z-index: 2;
}

.map-pin::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 10px;
    height: 10px;
    background: #ff3a3a;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}

.map-pin span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd4d4 0%, #ff5252 45%, #cf1f1f 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 6px rgba(255, 58, 58, 0.18);
    animation: map-pin-pulse 1.8s ease-out infinite;
}

@keyframes map-pin-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 58, 58, 0.35);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 58, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 58, 58, 0);
    }
}

.site-footer {
    margin-top: 30px;
    padding: 42px 0 16px;
    border-top: 1px solid rgba(65, 148, 255, 0.24);
    background: rgba(1, 12, 24, 0.84);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.6fr;
    gap: 22px;
}

.footer-logo {
    width: min(260px, 70%);
    margin-bottom: 10px;
}

.site-footer h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.14rem;
}

.site-footer p {
    margin: 0 0 10px;
    color: var(--text-soft);
}

.site-footer a {
    color: #99ddff;
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(65, 148, 255, 0.2);
    margin-top: 10px;
    padding-top: 14px;
}

.footer-bar small {
    color: rgba(228, 241, 255, 0.6);
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #99ddff;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-dev:hover,
.footer-dev:focus-visible {
    color: #d5eeff;
}

.footer-dev img {
    height: 24px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(1.05);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .nav-row {
        min-height: 84px;
    }

    .brand {
        max-width: 68vw;
    }

    .brand-title {
        font-size: 0.88rem;
    }

    .brand-tagline {
        font-size: 0.78rem;
    }

    .brand img {
        width: clamp(128px, 14vw, 186px);
        max-width: 40vw;
    }

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

    .hero-slider {
        min-height: 390px;
    }

    .stats-grid,
    .category-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

@media (max-width: 760px) {
    .nav-row {
        min-height: 72px;
    }

    .brand {
        max-width: calc(100% - 64px);
        gap: 7px;
    }

    .brand-copy {
        flex: 1;
        min-width: 0;
    }

    .brand-title {
        font-size: 0.73rem;
        letter-spacing: 0.04em;
    }

    .brand-rule {
        margin: 2px 0 3px;
        height: 1px;
    }

    .brand-tagline {
        font-size: 0.66rem;
        line-height: 1;
    }

    .brand img {
        width: clamp(98px, 30vw, 148px);
        max-width: 42vw;
    }

    .nav-toggle {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: grid;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: rgba(7, 26, 49, 0.97);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 0.94rem;
        text-align: center;
    }

    .hero-copy {
        padding: 28px;
    }

    .hero-slide-content {
        padding: 24px;
    }

    .stats-grid,
    .category-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 58px 0;
    }

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

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

    .related-files-grid {
        grid-template-columns: 1fr;
    }

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

    .catalog-detail-grid {
        grid-template-columns: 1fr;
    }

    .catalog-cover-col {
        position: static;
    }
}
