.cctv-page {
    --cctv-red: #d70707;
    --cctv-red-dark: #970000;
    --cctv-black: #030303;
    --cctv-text: #111;
    --cctv-line: #dedede;
    background: #fff;
    color: var(--cctv-text);
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 46px;
}

.cctv-page * {
    box-sizing: border-box;
}

.cctv-hero {
    min-height: 214px;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 46%, rgba(215, 7, 7, 0.62), transparent 22%),
        linear-gradient(90deg, #000 0%, #050505 48%, #250000 78%, #080000 100%);
    color: #fff;
}

.cctv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 3px 3px, rgba(215, 7, 7, 0.36) 0 1px, transparent 2px) 0 0 / 22px 22px,
        linear-gradient(90deg, transparent 0 64%, rgba(215, 7, 7, 0.17) 65%, transparent 66%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 68%, #000 100%);
    opacity: 0.75;
}

.cctv-hero__content {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cctv-hero h1 {
    width: min(560px, 100%);
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 5px 24px rgba(0, 0, 0, 0.65);
}

.cctv-hero h1 span {
    display: block;
    color: var(--cctv-red);
}

.cctv-camera-art {
    width: min(560px, 42vw);
    height: 210px;
    position: absolute;
    right: 6vw;
    top: 0;
    z-index: 1;
}

.cctv-camera-art__beam {
    width: 320px;
    height: 320px;
    position: absolute;
    right: 44px;
    top: -55px;
    border-radius: 50%;
    border: 1px solid rgba(255, 31, 31, 0.65);
    box-shadow:
        0 0 0 18px rgba(215, 7, 7, 0.1),
        0 0 0 46px rgba(215, 7, 7, 0.08),
        0 0 80px rgba(255, 0, 0, 0.68);
}

.cctv-camera-art__body {
    width: 390px;
    height: 72px;
    position: absolute;
    right: 0;
    top: 42px;
    border-radius: 12px 8px 8px 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
        linear-gradient(90deg, #121212 0%, #050505 62%, #220000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 -14px 22px rgba(0, 0, 0, 0.7),
        0 16px 28px rgba(0, 0, 0, 0.55);
}

.cctv-camera-art__body::before {
    content: "";
    width: 138px;
    height: 94px;
    position: absolute;
    left: -64px;
    top: -12px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 8px, rgba(255, 0, 0, 0.92) 9px 13px, #080808 14px 31px, #3a0000 32px 44px, #111 45px 100%);
    border: 2px solid rgba(255, 40, 40, 0.7);
    box-shadow: 0 0 32px rgba(255, 0, 0, 0.78);
}

.cctv-camera-art__lens {
    width: 122px;
    height: 122px;
    position: absolute;
    left: -56px;
    top: -26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 70, 70, 0.6);
    animation: cctvPulse 2.4s ease-in-out infinite;
}

.cctv-camera-art__lens span {
    width: 26px;
    height: 26px;
    position: absolute;
    left: 48px;
    top: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.9);
}

.cctv-camera-art__mount {
    width: 84px;
    height: 82px;
    position: absolute;
    right: 88px;
    top: 108px;
    border-radius: 0 0 40px 40px;
    background: linear-gradient(90deg, #0a0a0a, #1a0000);
    box-shadow: inset 0 -12px 22px rgba(0, 0, 0, 0.7);
}

@keyframes cctvPulse {
    50% {
        box-shadow: 0 0 28px rgba(255, 0, 0, 0.72);
    }
}

.cctv-intro,
.cctv-plans,
.cctv-benefits {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cctv-intro {
    padding: 18px 0 10px;
}

.cctv-intro p {
    width: min(920px, 100%);
    margin: 0 auto;
    color: #111;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}

.cctv-intro strong,
.cctv-intro span {
    color: var(--cctv-red);
    font-weight: 900;
}

.cctv-plan-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 22px;
    align-items: start;
}

.cctv-plan-card {
    min-height: 244px;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.cctv-plan-card--1,
.cctv-plan-card--2,
.cctv-plan-card--3 {
    grid-column: span 2;
}

.cctv-plan-card--4 {
    grid-column: 2 / span 2;
}

.cctv-plan-card--5 {
    grid-column: 4 / span 2;
}

.cctv-plan-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 8px 0 0 20px;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(180deg, #f20b0b, #a80000);
    font-size: 30px;
    box-shadow: 0 8px 16px rgba(215, 7, 7, 0.25);
}

.cctv-plan-card__heading {
    min-width: 0;
    padding: 18px 20px 8px 8px;
    text-align: center;
}

.cctv-plan-card__heading h2 {
    margin: 0 0 2px;
    color: #111;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
}

.cctv-plan-card__heading strong {
    color: var(--cctv-red);
    font-size: 16px;
    line-height: 1.1;
    font-weight: 900;
}

.cctv-plan-card ul {
    grid-column: 1 / -1;
    list-style: none;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 2px 24px 12px 38px;
}

.cctv-plan-card li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 25px;
    border-top: 1px solid #dedede;
    color: #111;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.cctv-plan-card li i {
    color: var(--cctv-red);
    font-size: 15px;
}

.cctv-plan-card__price {
    grid-column: 1 / -1;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    padding: 6px 14px;
    color: #fff;
    background: #050505;
    border-top: 2px solid var(--cctv-red);
}

.cctv-plan-card__price strong {
    color: var(--cctv-red);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.cctv-plan-card__price span {
    color: #fff;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.cctv-plan-card__price small {
    flex-basis: 100%;
    color: #fff;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

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

.cctv-benefit-card {
    min-height: 150px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.06);
}

.cctv-benefit-card__icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 1px solid var(--cctv-red);
    border-radius: 50%;
    color: var(--cctv-red);
    font-size: 38px;
}

.cctv-benefit-card__body {
    min-width: 0;
}

.cctv-benefit-card h2 {
    margin: 2px 0 8px;
    color: #111;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.cctv-benefit-card p {
    margin: 0;
    color: #111;
    font-size: 12px;
    line-height: 1.42;
    font-weight: 600;
}

.cctv-benefit-card::after {
    content: "";
    width: 58px;
    height: 2px;
    align-self: end;
    grid-column: 2;
    background: var(--cctv-red);
}

@media (max-width: 1180px) {
    .cctv-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cctv-plan-card,
    .cctv-plan-card--1,
    .cctv-plan-card--2,
    .cctv-plan-card--3,
    .cctv-plan-card--4,
    .cctv-plan-card--5 {
        grid-column: auto;
    }

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

@media (max-width: 760px) {
    .cctv-hero {
        min-height: 230px;
    }

    .cctv-camera-art {
        width: 320px;
        right: -95px;
        opacity: 0.62;
    }

    .cctv-hero h1 {
        width: min(330px, 100%);
        font-size: 42px;
    }

    .cctv-intro p {
        font-size: 13px;
    }

    .cctv-plan-grid,
    .cctv-benefits {
        grid-template-columns: 1fr;
    }

    .cctv-plan-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .cctv-benefit-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .cctv-benefit-card::after {
        grid-column: 1;
    }
}
