/* =================================================
BASE
================================================= */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background: #ffffff;
    color: #1f2933;
    padding: 79px 0 58px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

section {
    padding: 80px 0;
}

.section.grey {
    background: #f5f7f9;
}


/* =================================================
NAVIGATION
================================================= */

.nav {
    padding: 18px 0;
    border-bottom: 1px solid #eef1f4;
    background: rgba(255,255,255,0.96);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav .menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.ops-logo {
    display: block;
    align-items: center;
    text-decoration: none;
}

.ops-logo picture,
.ops-logo img {
    display: block;
}

.ops-logo img {
    width: 245px;
    height: 43px;
    object-fit: contain;
    object-position: left center;
}

.nav .menu a {
    margin-left: 32px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
}

.nav .menu a:hover {
    color: #008080;
}

.nav .menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: #008080;
    transition: width 0.25s ease;
}

.nav .menu a:hover::after {
    width: 100%;
}

.desktop-nav-dropdown { position: relative; margin-left: 32px; }
.desktop-dropdown-toggle { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #334155; font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0.3px; cursor: pointer; }
.desktop-dropdown-toggle:hover, .desktop-nav-dropdown:focus-within .desktop-dropdown-toggle { color: #008080; }
.desktop-dropdown-toggle span { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.desktop-dropdown-menu { display: none; position: absolute; z-index: 1020; top: calc(100% + 15px); left: 0; min-width: 220px; padding: 8px; border: 1px solid #dfe5e9; border-radius: 7px; background: rgba(255,255,255,0.99); box-shadow: 0 14px 28px rgba(20,35,45,0.13); }
.desktop-nav-dropdown:hover .desktop-dropdown-menu, .desktop-nav-dropdown:focus-within .desktop-dropdown-menu { display: grid; }
.nav .menu .desktop-dropdown-menu a { margin-left: 0; padding: 10px 11px; color: #56636d; font-size: 14px; white-space: nowrap; }
.nav .menu .desktop-dropdown-menu a::after { display: none; }

.compact-section { padding-top: 58px; padding-bottom: 58px; }
.section-heading-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.section-heading-row h2 { margin: 0; }
.section-heading-row > p { margin: 0; color: #586570; line-height: 1.7; }
.feature-list-card { padding: 30px; border: 1px solid #dfe5e9; border-radius: 8px; background: #f7f9fa; }
.feature-list-card h3 { margin-top: 0; }.feature-list-card li { margin-bottom: 10px; }
.control-method-grid, .platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }.platform-grid { grid-template-columns: repeat(3, 1fr); }
.control-method-grid article, .platform-grid article { padding: 25px; border: 1px solid #dfe5e9; border-radius: 8px; background: #fff; }.control-method-grid h3, .platform-grid h3 { margin-top: 0; }.control-method-grid p, .platform-grid p { margin-bottom: 0; color: #586570; line-height: 1.65; }
.page-brand-logo { display: block; width: auto; max-width: 205px; height: 44px; margin: 0 0 24px; object-fit: contain; object-position: left center; }
.platform-logo { display: block; width: auto; max-width: 150px; height: 38px; margin: 0 0 22px; object-fit: contain; object-position: left center; }
.lutron-brand-logo { max-width: 132px; }.control4-platform-logo { max-width: 142px; }
.platform-note { margin: 26px 0 0; color: #586570; line-height: 1.7; }
.text-link { color: #007878; font-weight: 700; text-decoration: none; }.control4-hero .subpage-hero-image { background: #050505; }.use-item { color: inherit; text-decoration: none; }.use-item:hover h3 { color: #008080; }

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #d9e0e5;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-nav-group { display: none; }

.menu-toggle-icon {
    display: grid;
    gap: 4px;
    width: 20px;
}

.menu-toggle-icon i {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.menu-open .menu-toggle-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .menu-toggle-icon i:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-toggle-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav .menu .insights-nav-link::before {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 1010;
    top: calc(100% + 16px);
    left: 50%;
    width: 250px;
    padding: 10px 12px;
    border-radius: 5px;
    background: #172524;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.nav .menu .insights-nav-link:hover::before,
.nav .menu .insights-nav-link:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
    .nav .menu {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .nav .menu > .desktop-nav-link { display: none; }
    .mobile-nav-group { display: block; position: relative; }
    .submenu-toggle {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 10px 11px;
        border: 1px solid #dce3e7;
        border-radius: 6px;
        background: #ffffff;
        color: #334155;
        font: inherit;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
    }
    .submenu-chevron {
        width: 8px;
        height: 8px;
        margin-right: 3px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.2s ease;
    }
    .submenu-open .submenu-chevron { transform: rotate(225deg) translate(-2px, -2px); }
    .nav-submenu {
        display: none;
        position: absolute;
        z-index: 1020;
        top: calc(100% + 9px);
        right: 0;
        min-width: 210px;
        padding: 8px;
        border: 1px solid #dfe5e9;
        border-radius: 7px;
        background: rgba(255,255,255,0.99);
        box-shadow: 0 14px 28px rgba(20,35,45,0.13);
    }
    .submenu-open .nav-submenu { display: grid; }
    .nav .menu .nav-submenu a {
        margin-left: 0;
        padding: 10px 11px;
        border-bottom: 0;
        color: #56636d;
        font-size: 14px;
    }
    .nav .menu .nav-submenu a::after { display: none; }
    .nav .menu .insights-nav-link::before { display: none; }
}

@media (max-width: 700px) {
    .menu-toggle { display: inline-flex; }
    .nav .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 24px 18px;
        border-top: 1px solid #eef1f4;
        border-bottom: 1px solid #dfe5e9;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 14px 28px rgba(20,35,45,0.10);
    }
    .nav.menu-open .menu { display: grid; }
    .mobile-nav-group { border-bottom: 1px solid #edf1f3; }
    .mobile-nav-group:last-child { border-bottom: 0; }
    .submenu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 11px 4px;
        border: 0;
        background: transparent;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
    }
    .nav-submenu {
        position: static;
        min-width: 0;
        padding: 0 0 8px 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .nav .menu .nav-submenu a { padding: 9px 4px; }
}

@media (max-width: 860px) {
    body { padding: 69px 0 52px; }
    .container { padding-left: 24px; padding-right: 24px; }
    .nav { padding: 15px 0; }
    .ops-logo img { width: 38px; height: 38px; }
    .subpage-hero { height: 210px; }
    .subpage-hero-text { padding: 18px 24px; }
    .subpage-hero-text h1 { max-width: 92%; font-size: 34px; }
    .subpage-hero-text p { max-width: 88%; font-size: 15px; }
}

/* =================================================
PROJECTS
================================================= */

.project-process, .project-case { padding: 64px 0; }
.project-intro, .project-case-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.project-intro h2, .project-case-heading h2 { margin: 0; font-size: 36px; line-height: 1.18; }
.project-intro > div:last-child p, .project-case-heading > p { margin: 0 0 16px; color: #55626d; line-height: 1.7; }
.project-paths { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 46px; border-top: 1px solid #dbe1e5; border-left: 1px solid #dbe1e5; }
.project-paths article { padding: 28px; border-right: 1px solid #dbe1e5; border-bottom: 1px solid #dbe1e5; }
.project-paths span { color: #008080; font-size: 11px; font-weight: 700; }
.project-paths h3 { margin: 34px 0 12px; font-size: 21px; }
.project-paths p { margin: 0; color: #596671; font-size: 14px; line-height: 1.65; }
.project-case-grey { background: #f5f7f9; }
.project-case-heading { margin-bottom: 42px; }
.project-case-heading > p { max-width: 560px; }
.project-case-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.project-case-lead.reverse .project-case-copy { order: 2; }
.project-case-lead.reverse .project-image { order: 1; }
.project-case-copy h3 { margin: 24px 0 8px; font-size: 19px; }
.project-case-copy h3:first-child { margin-top: 0; }
.project-case-copy p { margin: 0 0 18px; color: #4f5c66; line-height: 1.7; }
.project-image img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: 8px; }
.project-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 42px; border-top: 1px solid #d7dee2; border-left: 1px solid #d7dee2; }
.project-detail-grid > div { padding: 26px; border-right: 1px solid #d7dee2; border-bottom: 1px solid #d7dee2; background: rgba(255,255,255,.55); }
.project-detail-grid h3 { margin: 0 0 9px; font-size: 18px; }
.project-detail-grid p { margin: 0; color: #596671; font-size: 14px; line-height: 1.65; }
.project-timeline { margin: 50px 0 0; padding: 0; list-style: none; border-top: 1px solid #dce2e6; }
.project-timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid #dce2e6; }
.project-timeline li > span { color: #008080; font-size: 12px; font-weight: 700; }
.project-timeline h3 { margin: 0 0 7px; font-size: 19px; }
.project-timeline p { margin: 0; color: #56636d; line-height: 1.65; }

/* =================================================
CONTACT
================================================= */

.contact-section { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.contact-details h2 { margin: 0 0 20px; font-size: 36px; }
.contact-details > p { color: #56636d; line-height: 1.7; }
.contact-method { margin-top: 28px; padding-top: 18px; border-top: 1px solid #dce2e6; }
.contact-method span { display: block; margin-bottom: 7px; color: #7a858e; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.contact-method a { color: #1f2933; font-size: 24px; font-weight: 600; text-decoration: none; }
.contact-method a:hover { color: #008080; }
.contact-note { margin-top: 30px; font-size: 13px; }
.contact-note a { color: #007878; font-weight: 600; }
.contact-form .button-primary { margin-top: 0; border: 0; cursor: pointer; }

@media (max-width: 860px) {
    .project-process, .project-case, .contact-section { padding: 46px 0; }
    .project-intro, .project-case-heading, .project-case-lead, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .project-paths, .project-detail-grid { grid-template-columns: 1fr; }
    .project-case-lead.reverse .project-case-copy, .project-case-lead.reverse .project-image { order: initial; }
    .project-timeline li { grid-template-columns: 45px 1fr; gap: 12px; }
    .contact-method a { font-size: 21px; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =================================================
INSIGHTS
================================================= */

.insights-intro { padding: 62px 0 54px; border-bottom: 1px solid #e5e9ec; background: #f8fafb; }
.insights-intro h1 { margin: 0 0 14px; font-size: 48px; line-height: 1.08; }
.insights-intro > .container > p:last-child { max-width: 680px; margin: 0; color: #596671; font-size: 17px; line-height: 1.65; }
.insights-main { padding: 52px 0 72px; }
.insights-titlebar { display: flex; justify-content: space-between; gap: 36px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid #dce2e6; }
.insights-titlebar h2 { margin: 0 0 6px; font-size: 30px; }
.insights-titlebar > div > p { margin: 0; color: #6b7680; font-size: 13px; }
.insights-search { display: flex; gap: 10px; align-items: center; }
.insights-search input, .insights-search select { min-height: 42px; padding: 9px 12px; border: 1px solid #cbd3d9; border-radius: 5px; background: #fff; color: #26323b; font: inherit; font-size: 13px; }
.insights-search input { width: 230px; }
.insights-search button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 5px; background: #008080; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.insights-filterbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 18px 0 34px; }
.insights-types, .insights-view { display: flex; flex-wrap: wrap; gap: 8px; }
.insights-types a, .insights-view a { padding: 7px 11px; border-radius: 4px; color: #52606b; text-decoration: none; font-size: 12px; font-weight: 600; }
.insights-types a:hover, .insights-types a.active, .insights-view a:hover, .insights-view a.active { background: #e5f2f2; color: #006f6f; }
.insights-results.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.insight-card { overflow: hidden; border: 1px solid #e0e5e8; border-radius: 8px; background: #fff; }
.insight-card-image { display: flex; height: 190px; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #123534, #008080); color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.5px; }
.insight-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.insight-card:hover .insight-card-image img { transform: scale(1.025); }
.insight-card-copy { padding: 22px; }
.insight-meta { display: flex; gap: 12px; align-items: center; color: #6b7680; font-size: 11px; }
.insight-meta span { color: #008080; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.insight-card h3 { margin: 13px 0 10px; font-size: 21px; line-height: 1.28; }
.insight-card h3 a { color: #1f2933; text-decoration: none; }
.insight-card-copy > p { margin: 0 0 18px; color: #5a6670; font-size: 14px; line-height: 1.6; }
.insight-read { color: #007878; font-size: 13px; font-weight: 700; text-decoration: none; }
.insights-list { display: grid; gap: 18px; }
.insights-list .insight-card { display: grid; grid-template-columns: 280px 1fr; }
.insights-list .insight-card-image { height: 100%; min-height: 205px; }
.insights-empty { padding: 70px 24px; text-align: center; border: 1px solid #e0e5e8; border-radius: 8px; background: #f8fafb; }
.insights-empty h3 { margin: 0 0 10px; font-size: 24px; }
.insights-empty p { color: #66727c; }
.insights-empty a { color: #007878; font-weight: 600; }
.article-header { padding: 70px 0 58px; background: #f5f7f9; }
.article-header-inner { max-width: 960px; }
.article-back { display: inline-block; margin-bottom: 36px; color: #007878; font-size: 13px; font-weight: 600; text-decoration: none; }
.article-heading-row { display: flex; gap: 28px; align-items: flex-start; }
.article-heading-copy { min-width: 0; flex: 1; }
.article-thumbnail { flex: 0 0 100px; width: 100px; height: 100px; object-fit: contain; border-radius: 7px; background: #ffffff; }
.article-header .insight-meta { margin-bottom: 18px; }
.article-header h1 { margin: 0 0 20px; font-size: 48px; line-height: 1.12; letter-spacing: -0.7px; }
.article-header p { max-width: 760px; margin: 0; color: #586570; font-size: 18px; line-height: 1.65; }
.article-body { max-width: 780px; padding-top: 54px; padding-bottom: 38px; font-size: 17px; line-height: 1.78; }
.article-body h2 { margin: 42px 0 16px; font-size: 30px; line-height: 1.25; }
.article-body h3 { margin: 34px 0 12px; font-size: 23px; }
.article-body img { max-width: 100%; height: auto; border-radius: 7px; }
.article-body iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 30px 0; border: 0; border-radius: 7px; }
.article-body a { color: #007878; }
.article-body blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 4px solid #008080; color: #4f5d67; }
.article-footer { max-width: 780px; padding-bottom: 72px; }
.article-footer a { color: #007878; font-weight: 600; text-decoration: none; }
.article-not-found { padding: 100px 0; }

@media (max-width: 860px) {
    .insights-intro { padding: 44px 0 40px; }
    .insights-intro h1, .article-header h1 { font-size: 36px; }
    .insights-titlebar { display: block; }
    .insights-search { margin-top: 22px; flex-wrap: wrap; }
    .insights-search label:first-of-type { flex: 1 1 100%; }
    .insights-search input { width: 100%; box-sizing: border-box; }
    .insights-filterbar { align-items: flex-start; }
    .insights-results.insights-grid { grid-template-columns: 1fr; }
    .insights-list .insight-card { grid-template-columns: 1fr; }
    .insights-list .insight-card-image { min-height: 190px; }
    .article-header { padding: 48px 0 42px; }
    .article-heading-row { display: block; }
    .article-thumbnail { display: block; width: 90px; height: 90px; margin-bottom: 20px; }
}

/* =================================================
SUPPORT PAGE
================================================= */

.support-section { padding: 64px 0; }
.section-label { margin: 0 0 16px; color: #008080; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.support-section h2 { margin: 0; font-size: 36px; line-height: 1.15; }
.support-intro-grid, .support-heading-row, .support-form-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.support-prose p, .support-heading-row > p, .support-form-grid > div > p { margin: 0 0 18px; color: #4b5563; font-size: 16px; line-height: 1.7; }
.small-note { color: #697681 !important; font-size: 13px !important; }
.support-contracts { background: #f5f7f9; }
.support-heading-row { margin-bottom: 44px; }
.support-benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d8dee3; border-left: 1px solid #d8dee3; }
.support-benefits article { min-height: 220px; padding: 28px; background: rgba(255,255,255,0.55); border-right: 1px solid #d8dee3; border-bottom: 1px solid #d8dee3; }
.support-benefits span { color: #008080; font-size: 11px; font-weight: 700; }
.support-benefits h3 { margin: 38px 0 10px; font-size: 20px; }
.support-benefits p { margin: 0; color: #56636d; font-size: 14px; line-height: 1.6; }
.support-contract-note { margin: 18px 0 0; color: #697681; font-size: 12px; line-height: 1.55; }
.support-form-section { background: #ffffff; }
.support-form { padding: 34px; background: #f5f7f9; border: 1px solid #e0e5e9; border-radius: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-form label { display: block; margin-bottom: 18px; color: #334155; font-size: 13px; font-weight: 600; }
.support-form label span { color: #008080; }
.support-form input, .support-form select, .support-form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 13px; border: 1px solid #cbd3d9; border-radius: 5px; background: #ffffff; color: #1f2933; font: inherit; font-weight: 400; }
.support-form textarea { resize: vertical; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { border-color: #008080; outline: 2px solid rgba(0,128,128,0.15); }
.form-privacy { margin: 0 0 18px; color: #697681; font-size: 12px; line-height: 1.5; }
.form-notice { margin-bottom: 22px; padding: 13px 15px; border-radius: 5px; font-size: 14px; }
.form-notice.success { background: #e7f4ef; color: #175c48; }
.form-notice.error { background: #f8e8e8; color: #842b2b; }
.honeypot { position: absolute !important; left: -10000px !important; }

@media (max-width: 860px) {
    .support-section { padding: 46px 0; }
    .support-intro-grid, .support-heading-row, .support-form-grid { grid-template-columns: 1fr; gap: 28px; }
    .support-heading-row { margin-bottom: 32px; }
    .support-benefits { grid-template-columns: 1fr; }
    .support-benefits article { min-height: 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .support-form { padding: 24px; }
}


/* =================================================
HERO
================================================= */

.hero {
    padding: 80px 0 50px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero p {
    font-size: 17px;
    max-width: 560px;
    color: #5b6672;
    line-height: 1.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* =================================================
BUTTONS
================================================= */

.button-primary {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 26px;
    background: #008080;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.button-primary:hover {
    background: #006d6d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,128,128,0.15);
}


/* =================================================
SERVICES
================================================= */

.services {
    background: #f5f7f9;
    border-top: 1px solid #e5e7eb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-item {
    background: #ffffff;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-item h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.service-item p {
    color: #4b5563;
    line-height: 1.6;
}


/* =================================================
HEADINGS
================================================= */

h2 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #008080;
    margin-top: 12px;
}


/* =================================================
BRANDS
================================================= */

.brand-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 28px 36px;
    align-items: center;
    margin-top: 40px;
}

.brand-logos img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: 48px;
    margin: 0 auto;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: all 0.25s ease;
}

.brand-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-logos .episode-logo {
    max-width: 220px;
    height: 58px;
}

.brand-logos .sympli-logo {
    padding: 8px 10px;
    background: #0a3d62;
    border-radius: 6px;
}


/* =================================================
USE CASES
================================================= */

.use-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.use-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.use-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    overflow: hidden;
    color: #008080;
}

.use-icon svg {
    width: 100%;
    height: 100%;
}


/* =================================================
WHY SECTION
================================================= */

.why-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 30px;
}

.why-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-points li {
    margin-bottom: 14px;
    padding-left: 18px;
    position: relative;
}

.why-points li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #008080;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}


/* =================================================
PAGE LAYOUT
================================================= */

.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 44px 0;
}

.intro-copy-block {
    display: block;
    max-width: 760px;
    margin: 28px 0 8px;
    padding: 0;
}

.intro-copy-block h2 {
    margin-top: 0;
}

.intro-copy-block + .features {
    padding-top: 8px;
}

.content-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subpage-section {
    padding-top: 38px;
    padding-bottom: 30px;
}

.subpage-section h2:first-child,
.subpage-section .text-block h2:first-child {
    margin-top: 0;
}

.subpage-section .text-block p:last-child,
.subpage-section > .container > p:last-child {
    margin-bottom: 0;
}

.page-block.reverse {
    direction: rtl;
}

.page-block.reverse * {
    direction: ltr;
}

.image-block img,
.page-block img {
    width: 100%;
    border-radius: 8px;
}

.content-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.door-entry-portrait {
    max-height: 500px;
    object-fit: cover;
    object-position: center 42%;
}

.door-entry-access .container {
    max-width: 1100px;
}

.door-entry-access > .container > p {
    max-width: 900px;
}

.security-note {
    max-width: 900px;
    margin-top: 24px;
    padding: 20px 24px;
    border-left: 4px solid #008080;
    background: #ffffff;
}

.security-note p {
    margin: 6px 0 0;
}

.door-entry-features {
    padding-top: 42px;
    padding-bottom: 42px;
}


/* =================================================
PAGE HERO (INTERNAL PAGES)
================================================= */

.subpage-hero {
    position: relative;
    height: 240px;
    padding: 0;
    overflow: hidden;
    background: #172524;
    border-bottom: 1px solid #eef1f4;
}

.subpage-hero-grid {
    position: relative;
    display: block;
    max-width: none;
    height: 100%;
    padding: 0;
}

.subpage-hero-text {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px max(48px, calc((100vw - 1100px) / 2 + 48px));
    color: #ffffff;
}

.subpage-hero-text h1 {
    margin: 0 0 14px;
    max-width: 760px;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.7px;
    font-weight: 600;
}

.subpage-hero-text p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    line-height: 1.55;
}

.subpage-hero-image {
    position: absolute;
    inset: 0;
}

.subpage-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,22,21,0.78) 0%, rgba(7,22,21,0.48) 52%, rgba(7,22,21,0.12) 100%);
}

.subpage-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.page-hero {
    background-image: url('/assets/img/cinema-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 140px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    border-bottom: 2px solid #008080;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.page-hero p {
    font-size: 14px;
}


/* =================================================
BREADCRUMB
================================================= */

.breadcrumb {
    background: #f5f7f7;
    font-size: 14px;
    padding: 10px 0;
}

.breadcrumb a {
    color: #008080;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #6b7280;
}


/* =================================================
FEATURES
================================================= */

.features {
    padding: 52px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    margin-top: 30px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature p {
    color: #4b5563;
    line-height: 1.6;
}


/* =================================================
CINEMA LAYOUT
================================================= */

.cinema-layout {
    padding: 56px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.layout-text ul {
    margin-top: 15px;
    padding-left: 18px;
}

.layout-text li {
    margin-bottom: 6px;
}

.layout-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 8px;
}
/* =================================================
Lighting LAYOUT
================================================= */
.image-centre {
    text-align: center;
    margin-top: 30px;
}

.image-centre img {
    max-width: 450px;   /* adjust to match your other images */
    width: 100%;
    height: auto;
    border-radius: 8px; /* optional, matches your style */
}

.service-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-item h3 {
    margin-top: 0;
}
/* =================================================
CALL TO ACTION
================================================= */

.cta {
    background: #f5f7f9;
    text-align: center;
}

.cta p {
    max-width: 600px;
    margin: 16px auto 0;
}

/* The header and footer stay in place while the page moves beneath them. */
.footer {
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.96);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer .container {
    width: 100%;
}

.footer p {
    margin: 0;
    color: #66727d;
    font-size: 13px;
}

@media (max-width: 860px) {
    .subpage-hero { height: 210px; }
    .subpage-hero-text { padding: 18px 24px; }
    .subpage-hero-text h1 { max-width: 92%; font-size: 34px; }
    .subpage-hero-text p { max-width: 88%; font-size: 15px; }
    .section-heading-row { grid-template-columns: 1fr; gap: 18px; }
    .control-method-grid, .platform-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .control-method-grid, .platform-grid { grid-template-columns: 1fr; }
}

/* =================================================
Insights
================================================= */

.article-body .eyebrow {
  margin: 0 0 12px;
  color: #008080;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.article-body > h1 {
  max-width: 650px;
  margin: 0 0 22px;
  color: #1f2933;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.article-body .lead,
.article-body .intro {
  max-width: 690px;
  color: #52616b;
  font-size: 18px;
  line-height: 1.65;
}

.article-body p:has(> img) {
  display: block;
  max-width: 680px;
  margin: 32px 0 42px;
}

.article-body p:has(> img) img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 9px;
}

.article-body .steps {
  display: grid;
  max-width: 700px;
  margin: 28px 0 42px;
  border-top: 1px solid #dce4e8;
}

.article-body .step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #dce4e8;
}

.article-body .step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #e4f3f3;
  color: #007878;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.article-body .step h3 {
  margin: 1px 0 6px;
  color: #26323b;
  font-size: 19px;
  line-height: 1.35;
}

.article-body .step p {
  margin: 0;
  color: #5c6973;
  font-size: 16px;
  line-height: 1.65;
}

.article-body .note {
  max-width: 700px;
  margin: 0 0 36px;
  padding: 22px 24px;
  border-left: 4px solid #008080;
  background: #eef8f8;
  color: #4f6069;
  line-height: 1.65;
}

.article-body .note strong {
  color: #26323b;
}

.article-body .help {
  max-width: 700px;
  padding-top: 30px;
  border-top: 1px solid #dce4e8;
}

.article-body .help h2 {
  margin: 0 0 10px;
}

.article-body .help p {
  margin: 0;
  color: #5c6973;
}