* {
    box-sizing: border-box;
}
:root {
    --bg: #0d0f10;
    --panel: #16181a;
    --panel-light: #1d2023;
    --white: #f4f4f2;
    --muted: #c8cacd;
    --line: #34383b;
    --red: #d71926;
    --max: 1240px;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font: inherit;
}
.wrap {
    width: min(var(--max), calc(100% - 80px));
    margin: 0 auto;
}

/* Header & Navigace */
.header {
    height: 84px;
    padding: 0 max(40px, calc((100% - var(--max)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 12, 13, 0.96);
    border-bottom: 1px solid #272a2c;
    backdrop-filter: blur(14px);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.target {
    font-size: 54px;
    line-height: 1;
    color: var(--red);
    font-weight: 400;
}
.logo-type {
    font-size: 30px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1.5px;
    line-height: 0.95;
}
.logo-type small {
    font-size: 14px;
    letter-spacing: 0;
    margin-left: 2px;
}
.logo-type em {
    display: block;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 2.8px;
    margin-top: 7px;
    color: #e1e1e1;
}
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav a {
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s;
}
.nav a:hover,
.footer nav a:hover {
    color: var(--red);
}
.nav a.nav-cta {
    background: var(--red);
    color: #fff;
    padding: 9px 16px;
    font-size: 13px;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.nav a.nav-cta:hover {
    color: #fff;
    opacity: 0.9;
}
.menu-toggle {
    display: none;
}

/* Hero sekce */
.hero {
    min-height: 530px;
    position: relative;
    background: #111
    url("https://images.unsplash.com/photo-1595590424283-b8f17842773f?auto=format&fit=crop&w=2200&q=88")
    center 48% / cover no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    90deg,
                    rgba(7, 8, 9, 0.97) 0%,
                    rgba(7, 8, 9, 0.86) 44%,
                    rgba(7, 8, 9, 0.18) 100%
            ),
            linear-gradient(0deg, rgba(7, 8, 9, 0.4), transparent 45%);
}
.hero-inner {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
}
.hero-copy {
    max-width: 760px;
    padding: 55px 0 65px 32px;
    border-left: 4px solid var(--red);
}
.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--red);
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.hero .eyebrow {
    color: #eee;
}
h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -2.2px;
    margin: 0 0 20px;
}
h1 span {
    color: var(--red);
}
.lead {
    font-size: 18px;
    max-width: 630px;
    color: #eef0f2;
    margin: 0;
    line-height: 1.65;
}
.body-copy {
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 20px;
}
.actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 24px;
    font-size: 13.5px;
    font-weight: 800;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: transform 0.2s, background 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn.red {
    background: var(--red);
    color: #fff;
}
.btn.outline {
    border: 1px solid #f0f0f0;
    background: rgba(0, 0, 0, 0.35);
}
.btn.red-border {
    border: 1px solid var(--red);
    color: white;
    background: rgba(215, 25, 38, 0.08);
}

/* Trust lišta */
.trust {
    background: linear-gradient(110deg, #17191b, #0d0f10);
    border-bottom: 1px solid #303335;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 0;
}
.trust-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid #45494c;
    padding: 0 15px;
}
.trust-grid > div:last-child {
    border: 0;
}
.trust-grid span {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
}
.line-icon {
    font-size: 36px;
    color: var(--red);
    font-weight: 400;
}

/* Nadpisy sekcí */
.service-content h2,
.device-intro h2,
.offers h2,
.contact-strip h2,
.contact-extra h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 16px;
}

/* Sekce O společnosti / Služby */
.service-feature {
    position: relative;
    overflow: hidden;
    background: #101112;
}
.service-photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    background: url("https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1400&q=85")
    center/cover no-repeat;
    filter: grayscale(1);
    opacity: 0.45;
}
.service-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            #101112 0%,
            #101112 48%,
            rgba(16, 17, 18, 0.9) 68%,
            rgba(16, 17, 18, 0.4) 100%
    );
}
.service-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: start;
    padding-top: 72px;
    padding-bottom: 72px;
}
.approach-box {
    background: var(--panel);
    border: 1px solid #2b2f32;
    border-left: 3px solid var(--red);
    padding: 22px 24px;
    margin-top: 26px;
}
.approach-box h3 {
    font-size: 19px;
    margin: 0 0 8px;
    color: #fff;
}
.approach-box p:not(.eyebrow) {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}
.goal-box {
    background: rgba(215, 25, 38, 0.1);
    border: 1px solid rgba(215, 25, 38, 0.35);
    padding: 18px 22px;
    margin: 22px 0 24px;
}
.goal-box strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}
.goal-box span {
    display: block;
    font-size: 14.5px;
    color: #e2e4e7;
    line-height: 1.55;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 15px;
    color: #eef0f2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    line-height: 1.55;
}
.check-list li:last-child {
    border-bottom: 0;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--red);
    font-size: 20px;
    font-weight: 800;
}

/* Spojená sekce Vybíjecí zařízení */
.device-details {
    padding-top: 80px;
    padding-bottom: 84px;
    border-top: 1px solid var(--line);
}
.device-intro {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    column-gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}
.device-intro h2 {
    margin: 0;
}
.device-intro .body-copy {
    margin: 0;
}
.device-gallery {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: stretch;
}
.device-photos {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}
.product-media {
    position: relative;
    display: flex;
}
.media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.photo-button {
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
    cursor: zoom-in;
    background: #17191a;
    overflow: hidden;
    text-align: left;
}
.framed-photo {
    position: relative;
    border: 1px solid #363a3e;
    background: #141719;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}
.framed-photo::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 38px;
    height: 38px;
    border-top: 3px solid var(--red);
    border-left: 3px solid var(--red);
    z-index: 2;
    pointer-events: none;
}
.framed-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at center, transparent 42%, rgba(13, 15, 16, 0.68) 100%),
            linear-gradient(180deg, rgba(13, 15, 16, 0.25) 0%, transparent 35%, rgba(13, 15, 16, 0.88) 100%);
    pointer-events: none;
    z-index: 1;
}
.framed-photo img {
    width: 100%;
    height: 255px;
    object-fit: cover;
    filter: grayscale(0.75) contrast(1.08) brightness(0.84);
    transition: transform 0.45s ease, filter 0.45s ease;
}
.framed-photo:hover img {
    transform: scale(1.04);
    filter: grayscale(0.35) contrast(1.05) brightness(0.92);
}
.photo-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    font-size: 12.5px;
    color: #e4e6e8;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.feature-list.single-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}
.unique-callout {
    background: linear-gradient(90deg, rgba(215, 25, 38, 0.18), rgba(23, 25, 27, 0.95));
    border: 1px solid rgba(215, 25, 38, 0.35);
    border-left: 4px solid var(--red);
    padding: 22px 26px;
    margin: 0;
}
.unique-callout strong {
    display: block;
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}
.unique-callout span {
    display: block;
    font-size: 14.5px;
    color: #dcdfe2;
    line-height: 1.6;
}
.feature-card {
    background: var(--panel);
    border: 1px solid #2b2f32;
    border-top: 2px solid var(--red);
    padding: 24px 26px;
}
.feature-card b {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}
.feature-card span {
    display: block;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.68;
}

/* Zkušenosti */
.experience {
    position: relative;
    min-height: 250px;
    background: #101214;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.experience-image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1595590424283-b8f17842773f?auto=format&fit=crop&w=2000&q=85")
    center 45% / cover no-repeat;
    filter: grayscale(0.65);
}
.experience-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(8, 9, 10, 0.98),
            rgba(8, 9, 10, 0.88) 42%,
            rgba(8, 9, 10, 0.25) 100%
    );
}
.experience-content {
    position: relative;
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}
.years {
    border-right: 1px solid #555;
    padding-right: 40px;
}
.years h2 {
    font-size: 46px;
    line-height: 0.98;
    margin: 0;
    letter-spacing: -1.5px;
}
.years h2 span {
    color: var(--red);
    font-size: 56px;
}
.years strong {
    font-size: 20px;
    display: block;
    margin-top: 6px;
}
.experience-copy {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.7;
    color: #eee;
    margin: 0;
}

/* Produktové nabídky */
.offers {
    padding-top: 76px;
    padding-bottom: 80px;
}
.offers-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 36px;
}
.offers-heading h2 {
    margin: 0;
}
.offers-heading > p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.offer {
    border: 1px solid #363a3d;
    background: var(--panel);
    color: white;
    text-align: left;
    padding: 0;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}
.offer:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}
.offer > img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #eee9dc;
    padding: 8px;
}
.offer > span {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
    gap: 8px;
}
.offer small {
    color: var(--red);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}
.offer b {
    font-size: 18px;
}
.offer .offer-desc {
    font-style: normal;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 2px 0 8px;
}
.offer i {
    font-style: normal;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-top: auto;
}

/* Kontaktní výzva */
.contact-strip {
    background: linear-gradient(100deg, #17191b, #0e1011);
    border-top: 1px solid #34383a;
    border-bottom: 1px solid #34383a;
}
.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 42px;
    padding-bottom: 42px;
}
.contact-lead {
    max-width: 680px;
}
.contact-strip h2 {
    font-size: 32px;
    margin: 0 0 10px;
}
.contact-lead p:not(.eyebrow) {
    font-size: 15.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}
.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Fakturační údaje a odborné odkazy (karty) */
.contact-extra {
    padding-top: 56px;
    padding-bottom: 64px;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 32px;
    align-items: stretch;
}
.company-card,
.external-card {
    background: var(--panel);
    border: 1px solid #2b2f32;
    border-top: 2px solid var(--red);
    padding: 32px 34px;
}
.contact-extra h2 {
    font-size: 26px;
    margin: 0 0 24px;
}
.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
    margin: 0;
}
.meta-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}
.meta-grid > div.full-row {
    grid-column: 1 / -1;
    border-bottom: 0;
    padding-bottom: 0;
}
.meta-grid dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #8e9399;
    font-weight: 700;
    margin-bottom: 4px;
}
.meta-grid dd {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--white);
}
.meta-grid dd a:hover {
    color: var(--red);
}
.external-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.external-links a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #111315;
    border: 1px solid #282c2f;
    transition: border-color 0.2s, transform 0.2s;
}
.external-links a:hover {
    border-color: var(--red);
    transform: translateX(4px);
}
.partner-badge {
    width: 54px;
    height: 54px;
    background: transparent; /* Zrušeno červené pozadí */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.partner-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Individuální zvětšení pro každé logo kvůli jejich rozdílným vnitřním okrajům */
.partner-badge img[src*="revue"] {
    transform: scale(1.8);
}
.partner-badge img[src*="znalec"] {
    transform: scale(1.05);
}
.partner-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.partner-info strong {
    font-size: 16px;
    color: #fff;
}
.partner-info span {
    font-size: 13px;
    color: var(--muted);
}
.external-links a b {
    color: var(--red);
    font-size: 18px;
}

/* Patička */
.footer {
    border-top: 1px solid #303436;
    background: #090b0c;
}
.footer-inner {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.footer nav {
    display: flex;
    gap: 24px;
}
.footer nav a,
.footer-inner > p {
    font-size: 13px;
    color: #b6b9bb;
}
.footer-inner > p {
    letter-spacing: 0.6px;
    border-top: 2px solid var(--red);
    padding-top: 10px;
    font-weight: 700;
}

/* Lightbox */
.lightbox[hidden] {
    display: none;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px;
}
.lightbox img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
}
.lightbox button {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 1px solid #777;
    background: #17191b;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
}
.lightbox .close {
    right: 20px;
    top: 20px;
}
.lightbox .prev {
    left: 20px;
    top: 50%;
}
.lightbox .next {
    right: 20px;
    top: 50%;
}
.lightbox small {
    position: absolute;
    bottom: 16px;
    color: #ccc;
    font-size: 13px;
}

/* Responzivita */
@media (max-width: 1024px) {
    .service-content,
    .device-intro,
    .device-gallery,
    .offers-heading,
    .contact-extra {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .device-photos {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 36px);
    }
    .header {
        height: 72px;
        padding: 0 18px;
    }
    .target {
        font-size: 40px;
    }
    .logo-type {
        font-size: 23px;
    }
    .menu-toggle {
        display: block;
        background: transparent;
        color: white;
        border: 1px solid #4b4f52;
        border-radius: 6px;
        padding: 6px 12px;
    }
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 71px;
        background: #101214;
        padding: 20px 22px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--line);
    }
    .nav.open {
        display: flex;
    }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .trust-grid > div {
        justify-content: flex-start;
        border: 0;
    }
    .device-photos,
    .experience-content,
    .offer-grid,
    .meta-grid {
        grid-template-columns: 1fr;
    }
    .years {
        border-right: 0;
        border-bottom: 1px solid #555;
        padding: 0 0 20px;
    }
    .framed-photo img {
        height: 240px;
    }
    .company-card,
    .external-card {
        padding: 22px 20px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
    }
}