/* ============================================================
   UCFT Public Website Theme
   Brand: dark charcoal + UCFT red (#c0392b family) + white
   Isolated from dashboard styles.
   ============================================================ */

:root {
    --red: #c0392b;
    --red-bright: #e03131;
    --red-dark: #96281b;
    --red-soft: rgba(192, 57, 43, 0.14);

    --bg: #0a0a0b;
    --bg-alt: #101012;
    --card: #141416;
    --card-hover: #19191c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text: #f5f5f4;
    --text-dim: rgba(245, 245, 244, 0.62);
    --text-faint: rgba(245, 245, 244, 0.42);

    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --header-h: 72px;

    --font: "Tajawal", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body.ucft-site {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

:focus-visible {
    outline: 2px solid var(--red-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    inset-block-start: 10px;
    inset-inline-start: 12px;
    z-index: 1000;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: var(--red);
    color: #fff;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}

.skip-link:focus { transform: translateY(0); }

::selection { background: var(--red); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    color: var(--red-bright);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.lead-text {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.75;
}

.section {
    padding-block: clamp(56px, 9vh, 96px);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.32);
}
.btn-primary:hover {
    background: var(--red-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(224, 49, 49, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--red-bright);
    color: var(--red-bright);
    transform: translateY(-2px);
}

.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-whatsapp {
    background: #1faa53;
    color: #fff;
}
.btn-whatsapp:hover { background: #189a48; transform: translateY(-2px); }

.link-more {
    color: var(--red-bright);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.link-more:hover { color: #ff5447; gap: 10px; }

.chip {
    display: inline-block;
    background: var(--red-soft);
    color: var(--red-bright);
    border: 1px solid rgba(192, 57, 43, 0.35);
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 13px;
    letter-spacing: 0.02em;
}

.rtl-flip { display: inline-block; }
[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(10, 10, 11, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-text { line-height: 1.05; }
.brand-text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}
.brand-text small {
    display: block;
    font-size: 0.6rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

.main-nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.nav-link {
    display: block;
    padding: 9px 13px;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.nav-link.active { color: var(--red-bright); }

.nav-mobile-extra { display: none; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-faint);
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.lang-switch .divider { opacity: 0.4; font-weight: 400; }
.lang-switch:hover { color: #fff; border-color: var(--border-strong); }
.lang-switch .on { color: var(--red-bright); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-top: clamp(56px, 9vh, 110px);
    min-height: 610px;
    overflow: hidden;
    isolation: isolate;
}

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center right;
    filter: saturate(0.92) brightness(0.85);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right, rgba(10, 10, 11, 0.94) 20%, rgba(10, 10, 11, 0.55) 65%, rgba(10, 10, 11, 0.75));
}
[dir="rtl"] .hero-overlay {
    background: linear-gradient(to left, rgba(10, 10, 11, 0.94) 20%, rgba(10, 10, 11, 0.55) 65%, rgba(10, 10, 11, 0.75));
}
[dir="rtl"] .hero-photo { transform: scaleX(-1); }

.hero-grid {
    display: block;
    padding-bottom: clamp(48px, 7vh, 84px);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-soft);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: #ff6a5e;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}
.hero-badge i { font-size: 1rem; color: var(--red-bright); }

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
[dir="rtl"] .hero-title { text-transform: none; }

.hero-title span { display: block; }
.hero-title .accent { color: var(--red-bright); }

.hero-sub {
    color: var(--text-dim);
    max-width: 480px;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

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

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(20, 20, 22, 0.86);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: clamp(28px, 4vw, 44px);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 26px 14px;
    border-inline-start: 1px solid var(--border);
}
.stat:first-child { border-inline-start: none; }

.stat i {
    font-size: 1.9rem;
    color: var(--red-bright);
    flex-shrink: 0;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
}
.stat small {
    color: var(--text-faint);
    font-size: 0.8rem;
}

/* About */
.section-about { padding-top: clamp(78px, 9vh, 108px); }

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.about-text {
    color: var(--text-dim);
    line-height: 1.85;
    margin-block: 18px 28px;
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }
.products-grid--page { margin-top: 8px; }

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 57, 43, 0.45);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.product-media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #fff;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.35s ease;
}
.product-media img.img-fallback { object-fit: scale-down; filter: grayscale(1) invert(0.85); opacity: 0.5; }

.product-card:hover .product-media img:not(.img-fallback) { transform: scale(1.06); }

.product-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.product-name {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
}
.product-name a:hover { color: var(--red-bright); }

.product-short {
    color: var(--text-faint);
    font-size: 0.87rem;
    line-height: 1.55;
    flex: 1;
}

.view-all-wrap { text-align: center; margin-top: 40px; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 57, 43, 0.45);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--red-soft);
    border: 1px solid rgba(192, 57, 43, 0.35);
}

.service-icon i { font-size: 1.8rem; color: var(--red-bright); }
.service-icon img { width: 60%; height: auto; object-fit: contain; }

.service-card h3 { font-size: 1.05rem; font-weight: 800; }
.service-card p {
    color: var(--text-faint);
    font-size: 0.87rem;
    line-height: 1.6;
    flex: 1;
}

/* Clients */
.clients-marquee {
    overflow: hidden;
    border-radius: var(--radius);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.clients-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
    to { transform: translateX(calc(-50% - 9px)); }
}
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
    from { transform: translateX(calc(-50% - 9px)); }
    to { transform: translateX(0); }
}

.client-tile {
    flex-shrink: 0;
    width: 190px;
    height: 108px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: transform 0.2s ease;
}
.client-tile:hover { transform: scale(1.04); }

.client-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-name {
    color: #222;
    font-weight: 800;
    text-align: center;
}

/* Testimonials */
.testimonial-slider { position: relative; }

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.22s ease, transform 0.22s ease;
}
.testimonial-card:hover {
    border-color: rgba(192, 57, 43, 0.4);
    transform: translateY(-4px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--red-bright);
    opacity: 0.85;
}

.testimonial-card blockquote {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
    flex: 1;
}

.stars { display: flex; gap: 3px; color: var(--red-bright); font-size: 0.95rem; }

.testimonial-card figcaption strong {
    display: block;
    font-size: 0.98rem;
}
.testimonial-card figcaption small {
    color: var(--text-faint);
    font-size: 0.8rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.slider-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--border-strong);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}
.slider-dots button.active {
    background: var(--red-bright);
    transform: scale(1.25);
}

/* CTA band */
.cta-band { padding-block: 30px 90px; }

.cta-inner {
    background:
        radial-gradient(ellipse at 15% 120%, rgba(192, 57, 43, 0.4), transparent 55%),
        linear-gradient(150deg, #16161a, #0e0e10);
    border: 1px solid var(--border-strong);
    border-radius: calc(var(--radius) * 1.4);
    padding: clamp(30px, 4.5vw, 54px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.cta-inner h2 { font-size: clamp(1.3rem, 1rem + 1.6vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: var(--text-dim); max-width: 520px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(ellipse 55% 90% at 50% -20%, rgba(192, 57, 43, 0.2), transparent),
        linear-gradient(#111113, var(--bg));
    border-bottom: 1px solid var(--border);
    padding-block: clamp(40px, 7vh, 68px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--text-faint);
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb i { font-size: 1rem; }
.breadcrumb span:last-child { color: var(--text-dim); }

.page-hero h1 {
    font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem);
    font-weight: 900;
}
.page-hero p { color: var(--text-dim); margin-top: 8px; max-width: 640px; }

/* ---------- Products page ---------- */
.filter-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.search-box i {
    position: absolute;
    top: 50%;
    inset-inline-start: 15px;
    transform: translateY(-50%);
    color: var(--text-faint);
}
.search-box input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 13px 16px 13px 44px;
    transition: border-color 0.2s ease;
}
[dir="rtl"] .search-box input { padding: 13px 44px 13px 16px; }
.search-box input:focus { outline: none; border-color: var(--red); }

.select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.select-wrap select {
    appearance: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    padding: 13px 42px 13px 16px;
    cursor: pointer;
    min-width: 200px;
}
[dir="rtl"] .select-wrap select { padding: 13px 16px 13px 42px; }
.select-wrap select:focus { outline: none; border-color: var(--red); }
.select-wrap > i {
    position: absolute;
    inset-inline-end: 14px;
    pointer-events: none;
    color: var(--text-faint);
}
.select-wrap select option { background: #141416; color: #f5f5f4; }

.results-meta { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 18px; }

.pagination-wrap { margin-top: 44px; }

.site-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 10px;
    border-radius: 9px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.page-btn:hover:not(.disabled):not(.active) { border-color: var(--red); color: #fff; }
.page-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.page-btn.disabled { opacity: 0.4; cursor: default; }

.empty-state {
    text-align: center;
    color: var(--text-faint);
    padding: 70px 20px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: 12px; }

/* ---------- Product detail ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

.detail-media img#pd-main-img,
.detail-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    padding: 22px;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.thumb {
    width: 76px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumb.active { border-color: var(--red); opacity: 1; }
.thumb:hover { opacity: 1; }

.detail-info h1 {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-block: 14px 16px;
}

.detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.detail-sections {
    margin-top: clamp(40px, 6vh, 64px);
    display: grid;
    gap: 26px;
    max-width: 900px;
}

.detail-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px);
    color: var(--text-dim);
    line-height: 1.85;
}
.detail-block h2 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-block h2::before {
    content: "";
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--red-bright);
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding-block: 5px;
}
.check-list i { color: var(--red-bright); flex-shrink: 0; }

.dot-list li {
    position: relative;
    padding-inline-start: 20px;
    padding-block: 5px;
}
.dot-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 0.95em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-bright);
}

.related-wrap { margin-top: clamp(48px, 8vh, 80px); }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.contact-grid.is-form-only {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

.info-list { display: grid; gap: 22px; margin-top: 24px; }

.info-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--red-soft);
    border: 1px solid rgba(192, 57, 43, 0.35);
}
.info-icon i { font-size: 1.25rem; color: var(--red-bright); }

.info-list strong { display: block; font-size: 0.92rem; }
.info-list span:not(.info-icon) { color: var(--text-dim); font-size: 0.92rem; }
.info-list a:hover { color: var(--red-bright); }

.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px, 3.4vw, 40px);
}

.contact-form-wrap h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }

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

.field { margin-bottom: 18px; }

.field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 13px 16px;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

.field select option { background: #141416; }

.field textarea { resize: vertical; min-height: 130px; }

.form-hint { color: var(--text-faint); font-size: 0.8rem; margin-bottom: 18px; }

.btn-submit { width: 100%; margin-top: 6px; }

.alert-success {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(31, 170, 83, 0.12);
    border: 1px solid rgba(31, 170, 83, 0.45);
    color: #5fd68d;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 22px;
    font-weight: 500;
}
.alert-success i { font-size: 1.3rem; }

.alert-error {
    background: rgba(224, 49, 49, 0.1);
    border: 1px solid rgba(224, 49, 49, 0.4);
    color: #ff8a80;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 22px;
}
.alert-error ul { list-style: disc; padding-inline-start: 20px; }

/* ---------- Catalog ---------- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.catalog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s ease, border-color 0.22s ease;
}
.catalog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 57, 43, 0.45);
}

.catalog-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--red-soft);
    border: 1px solid rgba(192, 57, 43, 0.35);
}
.catalog-icon i { font-size: 1.6rem; color: var(--red-bright); }

.catalog-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.catalog-body h3 { font-size: 1.08rem; font-weight: 800; }
.catalog-body p { color: var(--text-faint); font-size: 0.89rem; flex: 1; }

.catalog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.catalog-actions small { color: var(--text-faint); }

/* ---------- Footer ---------- */
.site-footer {
    background: #0c0c0e;
    border-top: 1px solid var(--border);
    padding-top: 60px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: clamp(26px, 4vw, 48px);
    padding-bottom: 44px;
}

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

.footer-logo-link { margin-bottom: 16px; display: inline-block; }
.footer-logo { height: 52px; }

.footer-about {
    color: var(--text-faint);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 1.05rem;
    transition: all 0.2s ease;
}
.footer-socials a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--red-bright);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col ul a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.18s ease, padding 0.18s ease;
}
.footer-col ul a:hover { color: #fff; }

.footer-contact ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-dim);
    font-size: 0.9rem;
}
.footer-contact ul i {
    color: var(--red-bright);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-block: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: 0.82rem;
}

.credit i { color: var(--red-bright); }

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    z-index: 90;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1faa53;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 28px rgba(31, 170, 83, 0.45);
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .marquee-track { animation: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .products-grid,
    .products-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }

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

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

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

    .nav-list { gap: 0; }
    .nav-link { padding: 9px 10px; }
}

@media (max-width: 1100px) {
    :root { --header-h: 64px; }

    .brand-logo { height: 38px; }
    .brand-text { display: none; }

    .header-cta { display: none; }

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

    .main-nav {
        position: fixed;
        top: var(--header-h);
        inset-inline: 0;
        background: rgba(12, 12, 14, 0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        padding: 18px 24px 26px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-list a {
        padding: 13px 14px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .nav-mobile-extra { display: block; margin-top: 16px; }
    .nav-mobile-extra .btn { width: 100%; }

    .hero { min-height: 560px; }
    .hero-grid { padding-bottom: 40px; }
    .hero-title { font-size: 3rem; }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.8));
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 32px;
    }
    .stat:nth-child(odd) { border-inline-start: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--border); }

    .section-about { padding-top: clamp(84px, 11vh, 110px); }

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

    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
    .testimonial-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }

    .testimonial-track::-webkit-scrollbar { display: none; }

    .testimonial-card {
        flex: 0 0 min(86vw, 360px);
        scroll-snap-align: center;
    }
}

@media (max-width: 560px) {
    .container { width: min(1200px, 100% - 32px); }

    .products-grid,
    .products-grid--4,
    .services-grid { grid-template-columns: 1fr; }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    .stat { justify-content: flex-start; padding: 18px 16px; }
    .stat i { font-size: 1.5rem; }
    .stat strong { font-size: 1.2rem; }

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

    .catalog-grid { grid-template-columns: minmax(0, 1fr); }
    .catalog-card { padding: 22px; }

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

    .filter-bar { flex-direction: column; }
    .select-wrap, .select-wrap select { width: 100%; }

    .section-head { flex-direction: column; align-items: flex-start; }

    .section-heading { font-size: 1.75rem; }
    .hero { min-height: 540px; padding-top: 52px; }
    .hero-title { font-size: 2.25rem; }
    .hero-sub { font-size: 0.96rem; }
    .hero-actions .btn { flex: 1 1 150px; }

    .footer-bottom { justify-content: center; text-align: center; }
}

body.nav-open { overflow: hidden; }

@media (max-width: 360px) {
    .lang-switch { padding: 6px 8px; font-size: 0.78rem; }
    .btn { padding: 11px 20px; }
    .btn-lg { padding: 13px 26px; }
    .client-tile { width: 150px; height: 88px; }
}

@media (min-width: 1441px) {
    .container { width: min(1280px, 100% - 40px); }
}
