/* ============================================================
   INFORMATION PAGE STYLES
   Shared stylesheet used by brand information pages
   (Wise Controls, Lutron RA2 Select, etc.)
   ============================================================ */

a {
    text-decoration: none;
    color: inherit;
}

/* ── HERO ──────────────────────────────────────────────── */
.hero-section {
    background: #212529;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
}

.hero-content-side {
    display: flex;
    align-items: center;
    padding: 28px 40px 28px 5%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffd65a;
    margin-bottom: 10px;
}

    .hero-eyebrow::before {
        content: '';
        width: 16px;
        height: 2px;
        background: #ffd65a;
        border-radius: 2px;
        flex-shrink: 0;
    }

.hero-section h1 {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

    .hero-section h1 span {
        color: #ffd65a;
    }

.hero-lead {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    margin: 0 0 20px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffd65a;
    color: #212529;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 0;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

    .btn-hero-primary:hover {
        background: #e6c400;
        transform: translateY(-1px);
        color: #212529;
    }

    .btn-hero-primary svg {
        width: 13px;
        height: 13px;
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.25);
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

    .btn-hero-secondary:hover {
        border-color: rgba(255,255,255,0.6);
        background: rgba(255,255,255,0.06);
        color: #fff;
    }

.hero-img-side {
    position: relative;
    overflow: hidden;
}

    .hero-img-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

    .hero-img-side::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #212529 0%, transparent 35%);
        pointer-events: none;
    }

/* ── USP STRIP ──────────────────────────────────────────── */
.usp-strip {
    background: #1a1d20;
    padding: 18px 5%;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.usp-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.88);
}

    .usp-item a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: inherit;
        text-decoration: none;
    }

.usp-icon {
    width: 30px;
    height: 30px;
    background: rgba(255,214,90,0.15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

    .usp-icon svg {
        width: 14px;
        height: 14px;
        color: #ffd65a;
    }

.usp-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.usp-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header {
    text-align: center;
    padding: 40px 5% 20px;
}

    .section-header h2 {
        font-size: clamp(1.3rem, 2.2vw, 1.7rem);
        font-weight: 600;
        margin-bottom: 6px;
        color: #212529;
    }

    .section-header p {
        font-size: 14px;
        color: #6c757d;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.65;
    }

.section-divider {
    width: 36px;
    height: 3px;
    background: #ffd65a;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ── FEATURES GRID ───────────────────────────────────────── */
.features-section {
    padding: 0 5% 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature-card {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 0;
    padding: 20px 18px;
    transition: border-color 0.2s, background 0.2s;
}

    .feature-card:hover {
        border-color: #ffd65a;
        background: #fff;
    }

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,214,90,0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .feature-icon svg {
        width: 14px;
        height: 14px;
        color: #b8960a;
    }

.feature-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ── SPLIT SECTIONS ─────────────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
}

.split-text {
    display: flex;
    align-items: center;
    padding: 48px 5%;
}

.split-text-inner {
    max-width: 520px;
}

    .split-text-inner h2 {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .split-text-inner p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 20px;
    }

.split-dark {
    background: #212529;
}

    .split-dark .split-text-inner h2 {
        color: #fff;
    }

    .split-dark .split-text-inner p {
        color: rgba(255,255,255,0.55);
    }

.split-light {
    background: #fff;
}

    .split-light .split-text-inner h2 {
        color: #212529;
    }

    .split-light .split-text-inner p {
        color: #6c757d;
    }

.split-grey {
    background: #f8f9fa;
}

    .split-grey .split-text-inner h2 {
        color: #212529;
    }

    .split-grey .split-text-inner p {
        color: #6c757d;
    }

.split-image {
    overflow: hidden;
    position: relative;
    min-height: 320px;
    background: #f0f0f0;
}

    .split-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s;
    }

    .split-image:hover img {
        transform: scale(1.03);
    }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffd65a;
    color: #212529;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

    .btn-primary-dark:hover {
        background: #e6c400;
        transform: translateY(-1px);
        color: #212529;
    }

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

    .btn-outline-light:hover {
        border-color: #ffd65a;
        color: #ffd65a;
    }

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #212529;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

    .btn-outline-dark:hover {
        border-color: #212529;
        background: #212529;
        color: #fff;
    }

.btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── KEYPAD / IMAGE STRIP ───────────────────────────────── */
.keypad-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

    .keypad-strip img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        aspect-ratio: 1/1;
        transition: filter 0.3s;
    }

        .keypad-strip img:hover {
            filter: brightness(0.85);
        }

/* ── INTEGRATION ROW ─────────────────────────────────────── */
.integration-section {
    padding: 48px 5%;
    background: #fff;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

    .integration-section h2 {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        font-weight: 600;
        color: #212529;
        margin-bottom: 8px;
    }

    .integration-section p {
        font-size: 14px;
        color: #6c757d;
        margin-bottom: 28px;
    }

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.01em;
    background: #f8f9fa;
    transition: background 0.2s, border-color 0.2s;
}

    .logo-pill:not(:last-child) {
        border-right: none;
    }

    .logo-pill:hover {
        background: #fff;
        border-color: #ffd65a;
    }

    .logo-pill img {
        height: 28px;
        width: auto;
        object-fit: contain;
    }

/* Image-tile variant: for photo-style brand tiles rather than small wordmarks.
   Use .logo-row.logo-row--tiles + .logo-tile children. */
.logo-row--tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 28px;
}

.logo-tile {
    aspect-ratio: 1 / 1;
    max-width: 130px;
    width: 100%;
    margin: 0 auto;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 16px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-tile:hover {
        border-color: #ffd65a;
        transform: translateY(-2px);
    }

    .logo-tile img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

/* ── BENEFITS DARK GRID ─────────────────────────────────── */
.benefits-section {
    background: #212529;
    padding: 56px 5%;
}

.benefits-header {
    text-align: center;
    margin-bottom: 36px;
}

    .benefits-header h2 {
        font-size: clamp(1.3rem, 2.2vw, 1.7rem);
        font-weight: 600;
        color: #fff;
        margin-bottom: 6px;
    }

    .benefits-header p {
        font-size: 13px;
        color: rgba(255,255,255,0.45);
        max-width: 520px;
        margin: 0 auto;
        line-height: 1.65;
    }

.benefits-divider {
    width: 36px;
    height: 3px;
    background: #ffd65a;
    margin: 10px auto 0;
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.benefit-cell {
    background: #1a1d20;
    padding: 24px 22px;
    transition: background 0.2s;
}

    .benefit-cell:hover {
        background: #212529;
    }

.benefit-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,214,90,0.12);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

    .benefit-icon svg {
        width: 14px;
        height: 14px;
        color: #ffd65a;
    }

.benefit-cell h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.benefit-cell p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin: 0;
}

/* ── PRODUCT TABS ────────────────────────────────────────── */
.tabs-section {
    padding: 56px 5%;
    background: #fff;
}

.tabs-section-header {
    margin-bottom: 28px;
}

    .tabs-section-header h2 {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        font-weight: 600;
        color: #212529;
        margin-bottom: 4px;
    }

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    margin-bottom: 28px;
}

.tab-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    color: #6c757d;
    border-radius: 0;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

    .tab-btn.active {
        color: #212529;
        border-bottom-color: #ffd65a;
    }

    .tab-btn:hover:not(.active) {
        color: #212529;
    }

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 28px;
        align-items: center;
    }

.tab-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.07);
    max-height: 200px;
}

    .tab-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        padding: 12px;
    }

.tab-content h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.tab-content h4 {
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 16px;
    line-height: 1.5;
}

.tab-brochure-card {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.07);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    transition: border-color 0.2s;
    text-decoration: none;
}

    .tab-brochure-card:hover {
        border-color: #ffd65a;
    }

.tab-brochure-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
}

.tab-brochure-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffd65a;
    display: block;
    margin-bottom: 2px;
}

.tab-brochure-title {
    font-size: 13px;
    font-weight: 500;
    color: #212529;
}

/* ── SEO SECTION ─────────────────────────────────────────── */
.seo-section {
    padding: 56px 5%;
    border-top: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

    .seo-section h2 {
        font-size: clamp(1.2rem, 2vw, 1.6rem);
        font-weight: 600;
        margin-bottom: 6px;
        color: #212529;
    }

.seo-intro {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 28px;
    max-width: 680px;
    line-height: 1.65;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.seo-card {
    background: #f8f9fa;
    border-radius: 0;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.07);
    transition: border-color 0.18s, background 0.18s;
}

    .seo-card:hover {
        border-color: #ffd65a;
        background: #fff;
    }

.seo-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #212529;
    background: #ffd65a;
    padding: 2px 8px;
    border-radius: 0;
    margin-bottom: 8px;
}

.seo-card strong {
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
    color: #212529;
}

.seo-card p {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

    .seo-card p a {
        color: #212529;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .seo-card p a:hover {
            color: #b8960a;
        }

/* ── CTA / CONTACT SECTION ───────────────────────────────── */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #212529;
    min-height: 320px;
}

.contact-text {
    padding: 48px 5%;
    display: flex;
    align-items: center;
}

.contact-text-inner {
    max-width: 480px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffd65a;
    margin-bottom: 12px;
}

    .contact-eyebrow::before {
        content: '';
        width: 16px;
        height: 2px;
        background: #ffd65a;
        border-radius: 2px;
        flex-shrink: 0;
    }

.contact-text-inner h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.contact-text-inner p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 8px;
}

.contact-detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

    .contact-detail-value a {
        color: #ffd65a;
        text-decoration: none;
    }

        .contact-detail-value a:hover {
            text-decoration: underline;
        }

.contact-image {
    overflow: hidden;
    position: relative;
}

    .contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .contact-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #212529 0%, transparent 30%);
        pointer-events: none;
    }

/* ── FLOATING CONTACT ────────────────────────────────────── */
.float-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.float-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #212529;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

    .float-contact-btn:hover {
        background: #ffd65a;
        color: #212529;
        transform: translateY(-2px);
    }

    .float-contact-btn svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

.float-contact-panel {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
    border: 1px solid rgba(0,0,0,0.08);
}

    .float-contact-panel.open {
        display: flex;
    }

.float-panel-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2px;
}

.float-panel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #212529;
}

    .float-panel-item svg {
        width: 15px;
        height: 15px;
        color: #6c757d;
        flex-shrink: 0;
    }

    .float-panel-item a:hover {
        text-decoration: underline;
    }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 40px;
    height: 40px;
    background: #212529;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.2s;
}

    .back-to-top.visible {
        display: flex;
    }

    .back-to-top:hover {
        background: #ffd65a;
        color: #212529;
        transform: translateY(-2px);
    }

    .back-to-top svg {
        width: 16px;
        height: 16px;
    }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-row--tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        max-height: none;
        min-height: auto;
    }

    .hero-img-side {
        display: none;
    }

    .hero-content-side {
        padding: 24px 5%;
    }

    .usp-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .split-image {
        min-height: 260px;
    }

    .keypad-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-pane.active {
        grid-template-columns: 1fr;
    }

    .tab-image {
        max-height: 180px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-image {
        min-height: 260px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .usp-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tabs-nav {
        overflow-x: auto;
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .logo-row--tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}
