/* alarm.php: "Green means safe. Red means go and look." page, in e2di's colors and fonts */

.alarm-page .section-tag {
    display: inline-block;
    color: #ff3b30;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.alarm-section {
    padding: 80px 0;
    background: #fff;
}

.alarm-section.is-tint {
    background: #f8fbff;
}

.alarm-head {
    max-width: 780px;
    margin: 0 auto 45px;
    text-align: center;
}

.alarm-head h2,
.alarm-split h2 {
    font-size: 40px;
    font-weight: 600;
    color: #002964;
    line-height: 1.25;
    margin: 0 0 15px;
}

.alarm-head p,
.alarm-split p {
    color: #646F88;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 15px;
}

.alarm-btn {
    display: inline-block;
    border-radius: 10px;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: .3s ease;
    margin: 0 10px 10px 0;
}

.alarm-btn.is-primary {
    background: #ff3b30;
    color: #fff;
}

.alarm-btn.is-primary:hover {
    background: #002964;
    color: #fff;
}

.alarm-btn.is-outline {
    border: 2px solid #002964;
    color: #002964;
}

.alarm-btn.is-outline:hover {
    background: #002964;
    color: #fff;
}

/* ---------- Hero ---------- */

.alarm-hero {
    padding: 80px 0 70px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.alarm-hero-row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.alarm-hero h1 {
    font-size: 50px;
    font-weight: 700;
    color: #002964;
    line-height: 1.15;
    margin: 0 0 20px;
}

.alarm-hero h1 .is-green {
    color: #1a9e4b;
}

.alarm-hero h1 .is-red {
    color: #ff3b30;
}

.alarm-hero .lead {
    color: #444f66;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.alarm-hero-note {
    color: #646F88;
    font-size: 15px;
    margin: 10px 0 0;
}

.alarm-hero figure {
    margin: 0;
}

.alarm-hero figure img,
.alarm-split figure img,
.alarm-screen img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(6, 46, 130, .12);
}

.alarm-hero figcaption,
.alarm-split figcaption {
    color: #646F88;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
}

/* ---------- Fact strip ---------- */

.alarm-strip {
    background: #002964;
    padding: 30px 0;
}

.alarm-strip ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.alarm-strip li {
    color: #c9d6ea;
    font-size: 14px;
    line-height: 1.5;
}

.alarm-strip strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

/* ---------- Two screens ---------- */

.alarm-screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.alarm-screen {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 18px;
    padding: 25px;
}

.alarm-screen-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #002964;
    margin: 0 0 15px;
}

.alarm-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex: 0 0 14px;
}

.alarm-dot.is-ok {
    background: #1a9e4b;
    box-shadow: 0 0 0 4px rgba(26, 158, 75, .18);
}

.alarm-dot.is-alert {
    background: #ff3b30;
    box-shadow: 0 0 0 4px rgba(255, 59, 48, .18);
}

.alarm-screen p {
    color: #646F88;
    font-size: 15px;
    line-height: 1.6;
    margin: 15px 0 0;
}

/* ---------- Room tiles ---------- */

.alarm-rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.alarm-room {
    display: block;
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 18px;
    padding: 26px 24px;
    text-decoration: none;
    transition: .3s ease;
}

.alarm-room:hover {
    border-color: #002964;
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(6, 46, 130, .10);
}

.alarm-room i {
    color: #ff3b30;
    font-size: 24px;
    margin-bottom: 14px;
}

.alarm-room h3 {
    font-size: 19px;
    font-weight: 600;
    color: #002964;
    margin: 0 0 8px;
}

.alarm-room p {
    color: #646F88;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.alarm-room span {
    color: #002964;
    font-weight: 600;
    font-size: 14px;
}

/* ---------- Install steps ---------- */

.alarm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}

.alarm-steps li {
    background: #f8fbff;
    border: 1px solid #dfe7f3;
    border-radius: 18px;
    padding: 28px 22px 24px;
    counter-increment: step;
}

.alarm-steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #002964;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.alarm-steps h3 {
    font-size: 18px;
    font-weight: 600;
    color: #002964;
    margin: 0 0 8px;
}

.alarm-steps p {
    color: #646F88;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.alarm-aside {
    text-align: center;
    margin: 30px 0 0;
}

.alarm-aside a {
    color: #002964;
    font-weight: 600;
}

/* ---------- Split sections ---------- */

.alarm-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.alarm-split.is-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.alarm-split.is-reverse .alarm-split-text {
    order: 2;
}

.alarm-split figure {
    margin: 0;
}

.alarm-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 25px 0;
}

.alarm-compare > div {
    border: 1px solid #dfe7f3;
    border-radius: 16px;
    padding: 20px 22px;
    background: #fff;
}

.alarm-compare > div.is-ours {
    border: 2px solid #002964;
}

.alarm-compare h3 {
    font-size: 17px;
    font-weight: 600;
    color: #002964;
    margin: 0 0 12px;
}

.alarm-compare ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alarm-compare li {
    position: relative;
    padding-left: 24px;
    color: #444f66;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 9px;
}

.alarm-compare li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.alarm-compare .is-ours li::before {
    content: "\f00c";
    color: #1a9e4b;
}

.alarm-compare div:not(.is-ours) li::before {
    content: "\f068";
    color: #9aa5b8;
}

/* ---------- Configurator ---------- */

.alarm-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.alarm-config form,
.alarm-config-result {
    background: #fff;
    border: 1px solid #dfe7f3;
    border-radius: 18px;
    padding: 28px;
}

.alarm-config fieldset {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

.alarm-config legend {
    font-size: 17px;
    font-weight: 600;
    color: #002964;
    margin-bottom: 10px;
}

.alarm-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444f66;
    font-size: 15px;
    margin-bottom: 8px;
    cursor: pointer;
}

.alarm-choice input[type="radio"],
.alarm-choice input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #002964;
}

.alarm-choice input[type="number"] {
    width: 80px;
    border: 1px solid #b8c8dc;
    border-radius: 8px;
    padding: 6px 10px;
}

.alarm-config-result h3 {
    font-size: 20px;
    font-weight: 600;
    color: #002964;
    margin: 0 0 15px;
}

.alarm-config-lines {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
}

.alarm-config-lines li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #eef2f8;
    padding: 9px 0;
    color: #444f66;
    font-size: 15px;
}

.alarm-config-lines .sku {
    display: block;
    color: #002964;
    font-weight: 700;
    font-size: 14px;
}

.alarm-config-total {
    display: flex;
    justify-content: space-between;
    font-size: 19px;
    font-weight: 700;
    color: #002964;
    margin: 0 0 12px;
}

.alarm-config-note {
    color: #646F88;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .alarm-strip ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .alarm-hero-row,
    .alarm-split,
    .alarm-split.is-reverse,
    .alarm-config {
        grid-template-columns: 1fr;
    }

    .alarm-split.is-reverse .alarm-split-text {
        order: 0;
    }

    .alarm-rooms,
    .alarm-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .alarm-hero h1 {
        font-size: 40px;
    }

    .alarm-head h2,
    .alarm-split h2 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .alarm-section,
    .alarm-hero {
        padding: 55px 0;
    }

    .alarm-strip ul,
    .alarm-screens,
    .alarm-rooms,
    .alarm-steps,
    .alarm-compare {
        grid-template-columns: 1fr;
    }

    .alarm-hero h1 {
        font-size: 32px;
    }
}
