/* ===== SWS EMS PRODUCT PAGE (LIGHT TACTICAL) ===== */

.sws-page {
    --c-bg: #eef2f6;        /* Gri deschis industrial */
    --c-card: #ffffff;      /* Alb */
    --c-text: #0f172a;      /* Negru închis */
    --c-muted: #475569;     /* Gri text */
    --c-cyan: #0891b2;      /* Accent principal */
    --c-cyan-dark: #155e75;
    --c-border: #cbd5e1;

    --f-head: "Oswald", sans-serif;
    --f-body: "Barlow", sans-serif;

    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: 18px; /* Bază mare pentru text */
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.sws-page * { box-sizing: border-box; }
.sws-page a { text-decoration: none; color: inherit; }

.sws-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- BACKGROUND FX --- */
.sws-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.sws-grid-lines {
    position: absolute; inset: 0; opacity: 0.15;
    background-image:
            linear-gradient(var(--c-text) 1px, transparent 1px),
            linear-gradient(90deg, var(--c-text) 1px, transparent 1px);
    background-size: 60px 60px;
}
.sws-noise {
    position: absolute; inset: 0; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- HERO SECTION --- */
.sws-hero { padding: 100px 0 80px; position: relative; z-index: 1; }
.sws-hero-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.sws-badge-row { display: flex; gap: 12px; margin-bottom: 24px; }
.sws-badge {
    font-family: var(--f-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    letter-spacing: 1px;
    background: rgba(255,255,255,0.5);
}
.sws-badge-accent { background: rgba(8, 145, 178, 0.1); border-color: var(--c-cyan); color: var(--c-cyan-dark); }

.sws-title {
    font-family: var(--f-head);
    font-size: clamp(50px, 6vw, 90px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: var(--c-text);
}
.sws-text-cyan { color: var(--c-cyan); display: block; }

.sws-lead {
    font-size: 20px;
    color: var(--c-muted);
    border-left: 5px solid var(--c-cyan);
    padding-left: 24px;
    max-width: 600px;
    margin-bottom: 40px;
}

.sws-cta-row { display: flex; gap: 16px; margin-bottom: 50px; }
.sws-btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 32px;
    font-family: var(--f-head);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    cursor: pointer;
    /* Colț tăiat tactic */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}
.sws-btn-primary { background: var(--c-cyan); color: #fff; box-shadow: 0 10px 25px rgba(8, 145, 178, 0.3); }
.sws-btn-primary:hover { transform: translateY(-3px); filter: brightness(1.1); }
.sws-btn-ghost { border: 2px solid var(--c-text); color: var(--c-text); }
.sws-btn-ghost:hover { background: var(--c-text); color: #fff; }

/* Quick Specs Grid */
.sws-quick-specs {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--c-border); border: 1px solid var(--c-border);
    max-width: 500px;
}
.sws-qs-item { background: #fff; padding: 14px 20px; }
.sws-qs-label { display: block; font-size: 13px; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: 4px; }
.sws-qs-val { display: block; font-family: var(--f-head); font-size: 22px; color: var(--c-text); font-weight: 500; }

/* Hero Visual */
.sws-hero-visual { position: relative; }
.sws-frame {
    /* Eliminăm fundalul alb, bordura și padding-ul */
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;

    width: 100%;
    display: flex;
    justify-content: center;
}
.sws-frame::before, .sws-frame::after {
    content: ""; position: absolute; width: 40px; height: 40px;
    border: 4px solid var(--c-cyan);
}
.sws-frame::before, .sws-frame::after {
    display: none; /* Le ascundem pentru un look clean */
}
.sws-main-img {
    width: 100%;
    height: auto;
    display: block;

    /* TRUC: Facem imaginea mai mare de 100% din container */
    max-width: 140%;
    width: 120%;

    /* O mutăm puțin la stânga ca să rămână centrată vizual după mărire */
    transform:  scale(1.1);

    /* Adăugăm umbră pe conturul PNG-ului, nu o cutie pătrată */
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));

    /* Tranziție lină */
    transition: transform 0.5s ease;
}
.sws-hero-visual:hover .sws-main-img {
    transform: translateX(-5%) scale(1.15);
}
.sws-scan-line {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: radial-gradient(var(--c-cyan), transparent 70%);
    opacity: 0.6;
    filter: blur(2px);
}
/* --- MODELS SECTION (MODIFIED) --- */
.sws-section { padding: 90px 0; }
.sws-bg-alt { background: #e2e8f0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }

.sws-section-head { margin-bottom: 60px; max-width: 800px; }
.sws-h2 {
    font-family: var(--f-head);
    font-size: 48px;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: var(--c-text);
}
.sws-h2 span { color: var(--c-cyan); }
.sws-sub { font-size: 20px; color: var(--c-muted); margin: 0; }

.sws-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sws-card {
    background: #fff;
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sws-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-cyan);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sws-card-visual {
    height: 380px; /* Înălțime fixă pentru aliniere */
    padding: 30px;
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sws-card-visual img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: transform 0.3s;
}
.sws-card:hover .sws-card-visual img { transform: scale(1.05); }

/* Fundal tehnic subtil în spatele armei */
.sws-visual-bg {
    position: absolute; inset: 20px; border: 1px dashed #cbd5e1; z-index: 1; opacity: 0.5;
}

.sws-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.sws-card-title {
    font-family: var(--f-head);
    font-size: 28px;
    margin: 0 0 10px;
    text-transform: uppercase;
    display: flex; flex-direction: column;
}
.sws-ver { font-size: 16px; color: var(--c-cyan-dark); opacity: 0.8; margin-top: 4px; }

.sws-card-desc { font-size: 16px; color: var(--c-muted); margin-bottom: 20px; }

.sws-specs-list {
    margin-top: auto;
    list-style: none;
    padding: 0;
    border-top: 2px solid var(--c-bg);
    padding-top: 15px;
}
.sws-specs-list li {
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--c-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: flex; justify-content: space-between;
}
.sws-specs-list li strong { color: var(--c-text); font-family: var(--f-head); font-size: 18px; }

/* --- FEATURES GRID --- */
.sws-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sws-feat { padding: 10px; }
.sws-icon {
    width: 60px; height: 60px;
    background: #fff; border: 1px solid var(--c-cyan);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-cyan-dark);
    margin-bottom: 20px;
    box-shadow: 4px 4px 0 rgba(8, 145, 178, 0.1);
}
.sws-icon svg { width: 30px; height: 30px; }
.sws-feat h4 { font-family: var(--f-head); font-size: 24px; margin: 0 0 12px; text-transform: uppercase; }

/* --- SPECS TABLE --- */
.sws-data-panel {
    background: #fff;
    border: 1px solid var(--c-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.sws-panel-title {
    background: var(--c-text);
    color: #fff;
    margin: 0;
    padding: 16px 24px;
    font-family: var(--f-head);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sws-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.sws-data-row {
    padding: 18px 24px;
    border-bottom: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
    display: flex; justify-content: space-between; align-items: center;
}
.sws-data-row:nth-child(2n) { border-right: none; }
.sws-data-row span { text-transform: uppercase; font-size: 14px; font-weight: 700; color: var(--c-muted); }
.sws-data-row strong { font-family: var(--f-head); font-size: 18px; color: var(--c-text); }

.sws-panel-foot {
    background: #f8fafc;
    padding: 20px 24px;
    display: flex; gap: 12px; flex-wrap: wrap;
}
.sws-tag {
    background: #fff; border: 1px solid var(--c-border);
    padding: 8px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--c-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .sws-hero-layout { grid-template-columns: 1fr; }
    .sws-hero-visual { order: -1; margin-bottom: 40px; max-width: 600px; margin-left:auto; margin-right:auto;}
    .sws-models-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .sws-feat-grid { grid-template-columns: 1fr; }
    .sws-data-grid { grid-template-columns: 1fr; }
    .sws-data-row { border-right: none; }
}

@media (max-width: 600px) {
    .sws-title { font-size: 48px; }
    .sws-btn { width: 100%; margin-bottom: 10px; }
    .sws-cta-row { flex-direction: column; gap: 10px; }
    .sws-quick-specs { display: flex; flex-direction: column; max-width: 100%; }
    .sws-qs-item { border-bottom: 1px solid var(--c-border); }
}