:root {
    --sentinel-navy: #06182d;
    --sentinel-navy-2: #071f3b;
    --sentinel-navy-3: #0b284b;
    --sentinel-blue: #0d6efd;
    --sentinel-blue-2: #1794ff;
    --sentinel-cyan: #55b9ff;
    --sentinel-white: #ffffff;
    --sentinel-offwhite: #f7f9fc;
    --sentinel-border: #dce3ec;
    --sentinel-text: #101828;
    --sentinel-muted: #667085;
    --sentinel-shadow: 0 18px 48px rgba(15, 36, 67, .12);
    --sentinel-radius: 12px;
    --sentinel-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--sentinel-text);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sentinel-blue); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    position: fixed !important; z-index: 99999; top: 12px; left: 12px;
    width: auto; height: auto; padding: 12px 16px; margin: 0;
    clip: auto; background: #fff; color: #000;
}
.sentinel-container { width: min(var(--sentinel-container), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(3,16,32,.96), rgba(3,16,32,.72));
}
.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 48px; color: #29a0ff; filter: drop-shadow(0 0 12px rgba(18,132,255,.35)); }
.brand-mark svg { width: 100%; height: auto; }
.brand-copy { display: flex; flex-direction: column; line-height: .95; letter-spacing: .16em; }
.brand-copy strong { font-size: 21px; }
.brand-copy small { margin-top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .34em; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 64px; width: auto; }
.primary-navigation { margin-left: auto; }
.primary-menu { list-style: none; display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; }
.primary-menu a { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; }
.primary-menu a:hover { color: #fff; }
.primary-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 5px; font-size: 11px; }
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    padding: 0 24px;
    font-weight: 750;
    font-size: 14px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, #0a63ee, #0d7cff); color: #fff; box-shadow: 0 10px 25px rgba(10,101,239,.28); }
.button-primary:hover { color: #fff; background: linear-gradient(135deg, #0758d8, #0b6fe8); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.52); background: rgba(6,24,45,.35); backdrop-filter: blur(8px); }
.button-outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.header-quote { min-width: 142px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 7px; padding: 10px; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: #fff; }

/* Hero */
.hero-section {
    position: relative;
    min-height: 685px;
    overflow: hidden;
    color: #fff;
    background: var(--sentinel-navy);
}
.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-security.jpg');
    background-size: cover;
    background-position: 71% center;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 63% 28%, rgba(28,139,255,.17), transparent 22%),
        linear-gradient(90deg, rgba(2,13,29,.99) 0%, rgba(3,17,35,.97) 32%, rgba(3,17,35,.64) 55%, rgba(3,17,35,.18) 78%, rgba(3,17,35,.28) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
}
.hero-inner { position: relative; z-index: 2; min-height: 685px; display: flex; align-items: center; padding-top: 92px; padding-bottom: 70px; }
.hero-copy { width: min(570px, 52%); }
.hero-kicker, .section-kicker { margin: 0 0 12px; color: #218dff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-kicker { color: #66baff; text-transform: none; font-size: 14px; }
.hero-copy h1 { margin: 0; max-width: 560px; font-size: clamp(46px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; }
.hero-description { margin: 24px 0 28px; max-width: 510px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 42px; }
.hero-trust .trust-icon { width: 32px; color: var(--sentinel-blue-2); }
.hero-trust .sentinel-icon { width: 32px; height: 32px; }
.hero-trust strong, .hero-trust small { display: block; }
.hero-trust strong { font-size: 14px; }
.hero-trust small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 12px; }
.form-status { margin-top: 18px; padding: 12px 14px; border-radius: 7px; font-size: 13px; }
.form-status.is-success { background: rgba(23,167,94,.16); border: 1px solid rgba(75,223,145,.3); }
.form-status.is-error { background: rgba(222,68,68,.18); border: 1px solid rgba(255,125,125,.3); }

/* Statistics panel */
.stats-wrap { position: relative; z-index: 5; margin-top: -65px; }
.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(80,142,210,.36);
    background: linear-gradient(135deg, #0a213d, #06172c 70%);
    box-shadow: 0 22px 48px rgba(1,15,33,.25);
}
.stat-item { min-height: 142px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 26px; color: #fff; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: rgba(255,255,255,.15); }
.stat-icon { color: #1494ff; display: grid; place-items: start; }
.stat-icon .sentinel-icon { width: 40px; height: 40px; }
.stat-247 { width: 42px; height: 42px; border: 2px solid #1494ff; border-radius: 50%; font-size: 12px; font-weight: 900; place-items: center; }
.stat-item strong { display: block; font-size: 28px; line-height: 1; }
.stat-item span { display: block; margin-top: 6px; color: #2f9fff; font-size: 12px; font-weight: 700; }
.stat-item small { display: block; margin-top: 10px; color: rgba(255,255,255,.63); font-size: 11px; line-height: 1.45; }

/* Shared sections */
.section { padding: 84px 0; }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading h2 { margin: 0; color: #0b1220; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading > p:last-child { margin: 10px 0 0; color: var(--sentinel-muted); font-size: 14px; }
.card-grid { display: grid; gap: 14px; }
.service-grid, .industry-grid { grid-template-columns: repeat(6, 1fr); }
.info-card {
    min-height: 208px;
    position: relative;
    text-align: center;
    padding: 26px 17px 22px;
    border: 1px solid var(--sentinel-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(11,35,72,.06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: #b8d8ff; box-shadow: 0 15px 34px rgba(11,75,145,.12); }
.card-link { position: absolute; inset: 0; z-index: 2; }
.card-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; color: #126eef; }
.card-icon .sentinel-icon { width: 48px; height: 48px; }
.info-card h3 { margin: 12px 0 8px; font-size: 16px; line-height: 1.2; }
.info-card p { margin: 0; color: var(--sentinel-muted); font-size: 12px; line-height: 1.55; }
.section-more { margin: 25px 0 0; text-align: center; }
.section-more a { color: #126eef; font-size: 13px; font-weight: 800; }
.industries-section { background: #f8fafc; border-top: 1px solid #eef1f5; }
.industry-card { min-height: 178px; padding-top: 22px; }
.industry-card .card-icon { height: 52px; }
.industry-card .card-icon .sentinel-icon { width: 44px; height: 44px; }

/* Why section */
.why-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 74px;
    color: #fff;
    background:
        linear-gradient(rgba(4,23,44,.95), rgba(4,23,44,.97)),
        radial-gradient(circle at 50% 50%, #0d3763, #04172c 65%);
}
.why-section::before {
    content: "";
    position: absolute; inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(59,140,225,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(59,140,225,.12) 1px, transparent 1px);
    background-size: 34px 34px;
}
.why-section .sentinel-container { position: relative; z-index: 1; }
.light-heading h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { position: relative; min-height: 180px; text-align: center; padding: 10px 34px; }
.why-item + .why-item::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: rgba(255,255,255,.16); }
.why-icon { display: inline-grid; width: 54px; color: #0e86ff; }
.why-icon .sentinel-icon { width: 46px; height: 46px; }
.why-item h3 { margin: 12px 0 6px; font-size: 16px; }
.why-item p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }

/* Testimonials */
.testimonials-section { padding-bottom: 58px; }
.testimonial-carousel { position: relative; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 3); gap: 15px; overflow: hidden; scroll-behavior: smooth; }
.testimonial-card { min-height: 205px; padding: 22px 24px; border: 1px solid var(--sentinel-border); border-radius: 8px; background: #fff; box-shadow: 0 7px 22px rgba(11,35,72,.05); }
.testimonial-top { display: flex; align-items: flex-start; justify-content: space-between; }
.quote-mark { color: #1b79f4; font-size: 36px; line-height: .8; font-weight: 800; }
.stars { color: #0b75ff; font-size: 13px; letter-spacing: 2px; }
.testimonial-copy { min-height: 82px; color: #3f4a5a; font-size: 12px; line-height: 1.55; }
.testimonial-copy p { margin: 8px 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.avatar-initials { display: grid; place-items: center; background: #eaf3ff; color: #0b67db; font-size: 12px; font-weight: 900; }
.testimonial-author strong, .testimonial-author small { display: block; }
.testimonial-author strong { font-size: 12px; }
.testimonial-author small { color: var(--sentinel-muted); font-size: 10px; }
.carousel-arrow { position: absolute; top: 50%; z-index: 3; width: 36px; height: 36px; margin-top: -35px; border: 0; border-radius: 50%; background: transparent; color: #a5adba; font-size: 34px; line-height: 1; }
.carousel-prev { left: -46px; }
.carousel-next { right: -46px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #ccd2dc; }
.carousel-dots button.is-active { width: 9px; height: 9px; background: #0d74ff; }

/* CTA */
.prefooter-cta { margin-bottom: -38px; position: relative; z-index: 6; }
.cta-panel {
    min-height: 116px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 35px;
    overflow: hidden;
    position: relative;
    color: #fff;
    border: 1px solid rgba(64,142,230,.35);
    border-radius: 9px;
    background:
        linear-gradient(90deg, rgba(7,32,60,.98) 0%, rgba(8,36,67,.92) 55%, rgba(7,30,57,.67) 100%),
        url('../images/cta-security.jpg') right center / cover no-repeat;
    box-shadow: var(--sentinel-shadow);
}
.cta-shield { width: 74px; color: #5ab6ff; }
.cta-shield .sentinel-icon { width: 70px; height: 70px; }
.cta-copy h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; }
.cta-copy p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.cta-panel .button { min-width: 225px; }

/* Footer */
.site-footer { padding-top: 90px; color: rgba(255,255,255,.74); background: #05172b; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr .8fr 1.05fr; gap: 38px; padding-bottom: 52px; }
.footer-brand { margin-bottom: 20px; }
.footer-brand-col { min-width: 0; }
.site-footer h3 { margin: 8px 0 16px; color: #fff; font-size: 14px; }
.contact-list, .footer-links { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 13px 1fr; gap: 9px; margin: 10px 0; font-size: 12px; line-height: 1.5; }
.contact-list li span { color: #66b8ff; font-size: 6px; margin-top: 7px; }
.footer-links li { margin: 7px 0; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.site-footer p { font-size: 12px; }
.social-links { display: flex; gap: 9px; margin-top: 18px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 800; }
.social-links a:hover { background: #0d6efd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; padding: 18px 0; text-align: center; color: rgba(255,255,255,.45); font-size: 11px; }

/* Modal and form */
.quote-modal { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 20px; }
.quote-modal.is-open { display: flex; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(2,11,23,.78); backdrop-filter: blur(5px); }
.quote-modal-panel { position: relative; z-index: 2; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 38px; border-radius: 12px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.quote-modal-panel h2 { margin: 0 0 8px; font-size: 32px; }
.quote-modal-panel > p:not(.section-kicker) { color: var(--sentinel-muted); }
.quote-modal-close { position: absolute; right: 16px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef3f9; color: #26354a; font-size: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; margin-bottom: 15px; color: #344054; font-size: 13px; font-weight: 700; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; margin-top: 6px; border: 1px solid #d7dee8; border-radius: 7px; background: #fff; padding: 11px 12px; outline: none; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: #1b7df5; box-shadow: 0 0 0 3px rgba(27,125,245,.12); }

/* Inner pages */
.inner-hero { padding: 155px 0 70px; color: #fff; background: linear-gradient(135deg, #06182d, #0b2b51); }
.inner-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); }
.content-area { padding: 72px 0; }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.entry-content { font-size: 16px; }
.entry-content h2, .entry-content h3 { line-height: 1.25; }
.entry-content a { color: var(--sentinel-blue); text-decoration: underline; }
.entry-content img { border-radius: 10px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.archive-card { border: 1px solid var(--sentinel-border); border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 8px 28px rgba(10,40,80,.06); }
.archive-card-body { padding: 24px; }
.archive-card h2 { margin: 0 0 10px; font-size: 22px; }
.archive-card p { color: var(--sentinel-muted); }
.archive-card .card-icon { margin-bottom: 6px; }

@media (max-width: 1120px) {
    .primary-menu { gap: 20px; }
    .header-inner { gap: 22px; }
    .service-grid, .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-panel { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3)::before { display: none; }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-grid > :nth-child(4), .footer-grid > :nth-child(5) { margin-top: 10px; }
    .carousel-prev { left: -20px; }
    .carousel-next { right: -20px; }
}

@media (max-width: 900px) {
    .site-header { position: absolute; }
    .header-quote { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .primary-navigation {
        position: absolute; top: 100%; left: 24px; right: 24px;
        display: none; margin: 0; padding: 18px;
        border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
        background: rgba(5,24,45,.98); box-shadow: 0 18px 50px rgba(0,0,0,.32);
    }
    .primary-navigation.is-open { display: block; }
    .primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .primary-menu a { display: block; padding: 12px 10px; }
    .hero-copy { width: 68%; }
    .hero-media { background-position: 60% center; opacity: .75; }
    .hero-overlay { background: linear-gradient(90deg, rgba(2,13,29,.99) 0%, rgba(3,17,35,.92) 55%, rgba(3,17,35,.45) 100%); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item:nth-child(3)::before { display: none; }
    .testimonial-track { grid-auto-columns: calc((100% - 15px) / 2); }
    .cta-panel { grid-template-columns: 70px 1fr; }
    .cta-panel .button { grid-column: 2; justify-self: start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .sentinel-container { width: min(100% - 30px, var(--sentinel-container)); }
    .header-inner { min-height: 76px; }
    .brand-mark { width: 40px; }
    .brand-copy strong { font-size: 17px; }
    .brand-copy small { font-size: 8px; }
    .hero-section, .hero-inner { min-height: 680px; }
    .hero-inner { align-items: flex-end; padding: 120px 0 120px; }
    .hero-media { background-position: 67% center; opacity: .54; }
    .hero-overlay { background: linear-gradient(180deg, rgba(2,13,29,.65), rgba(2,13,29,.95) 58%, rgba(2,13,29,1)); }
    .hero-copy { width: 100%; }
    .hero-copy h1 { font-size: 43px; }
    .hero-description { font-size: 15px; }
    .hero-actions .button { flex: 1 1 160px; }
    .stats-wrap { margin-top: -80px; }
    .stats-panel { grid-template-columns: 1fr; }
    .stat-item { min-height: 120px; }
    .stat-item + .stat-item::before { left: 24px; right: 24px; top: 0; bottom: auto; width: auto; height: 1px; display: block; }
    .section { padding: 66px 0; }
    .service-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .info-card { min-height: 195px; padding-inline: 13px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-item + .why-item::before { left: 28px; right: 28px; top: 0; bottom: auto; width: auto; height: 1px; }
    .testimonial-track { grid-auto-columns: 100%; }
    .carousel-arrow { display: none; }
    .cta-panel { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .cta-shield { margin: 0 auto; }
    .cta-panel .button { grid-column: auto; justify-self: center; min-width: 0; width: 100%; }
    .prefooter-cta { margin-bottom: -44px; }
    .site-footer { padding-top: 100px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand-col { grid-column: auto; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .quote-modal-panel { padding: 32px 22px 24px; }
    .archive-grid { grid-template-columns: 1fr; }
    .content-shell { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .service-grid, .industry-grid { grid-template-columns: 1fr; }
    .info-card { min-height: 180px; }
    .hero-copy h1 { font-size: 38px; }
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
