/* Commercial Lighting & Controls Page Styles */

a { text-decoration: none; color: inherit; }

/* ── HERO (matches downlights pattern) ───────── */
.hero-section {
    background: #212529;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 200px;
    max-height: 260px;
    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-lead a { 
    color: #ffd65a; 
}

.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;
}

.btn-hero-primary:hover { 
    background: #e6b800; 
    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;
}

.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;
    background: #1a1d20;
    font-size: 0; /* hides alt text if image fails to load */
}

.hero-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 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-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); 
}

/* ── INTRO ──────────────────────────────────── */
.cl-intro {
    padding: 60px 5% 40px;
    background: #fff;
    text-align: center;
}

.cl-intro-inner {
    max-width: 820px;
    margin: 0 auto;
}

.cl-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.cl-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #212529;
}

.cl-section-header p {
    font-size: 15px;
    color: #6c757d;
    margin: 0 auto;
    max-width: 720px;
}

.cl-divider {
    width: 40px;
    height: 3px;
    background: #ffd65a;
    margin: 12px auto 0;
}

.cl-intro-text {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: #495057;
    margin-bottom: 0;
}

/* ── CATEGORY GROUPS ────────────────────────── */
.cl-categories {
    padding: 60px 5%;
    background: #f8f9fa;
}

.cl-category-group {
    max-width: 1400px;
    margin: 0 auto 48px;
}

.cl-category-group:last-child {
    margin-bottom: 0;
}

.cl-group-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-wrap: wrap;
}

.cl-group-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    letter-spacing: -0.01em;
}

.cl-group-title span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffd65a;
    margin-right: 12px;
    vertical-align: middle;
    transform: translateY(-2px);
}

.cl-group-count {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
}

.cl-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cl-category-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
    position: relative;
}

.cl-category-card,
.cl-category-card *,
.cl-category-card:hover,
.cl-category-card:hover *,
.cl-category-card:visited,
.cl-category-card:active {
    text-decoration: none !important;
}

.cl-category-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    color: inherit;
}

.cl-category-image {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #2d3035 0%, #1a1d20 100%);
    position: relative;
    overflow: hidden;
}

.cl-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cl-category-card:hover .cl-category-image img {
    transform: scale(1.05);
}

.cl-category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.cl-category-body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cl-category-title {
    font-size: 17px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 8px;
    line-height: 1.25;
}

.cl-category-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #6c757d;
    margin: 0 0 16px;
    flex: 1;
}

.cl-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    border-bottom: 1px solid #ffd65a;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: gap 0.2s;
}

.cl-category-card:hover .cl-category-link {
    gap: 10px;
}

.cl-category-link svg {
    width: 12px;
    height: 12px;
}

/* ── SEO CONTENT SECTIONS ───────────────────── */
.cl-content {
    padding: 60px 5%;
    background: #fff;
}

.cl-content-block {
    max-width: 1400px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.cl-content-block:last-child {
    margin-bottom: 0;
}

.cl-content-block.reverse {
    grid-template-columns: 1.4fr 1fr;
}

.cl-content-heading {
    /* Static — sticky behaviour caused the heading to float mid-viewport on long scrolling sections */
}

.cl-content-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #212529;
    background: #ffd65a;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.cl-content-heading h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: #212529;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.cl-content-heading p {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
    margin: 0;
}

.cl-content-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cl-content-card {
    background: #f8f9fa;
    padding: 22px;
    border-left: 3px solid #ffd65a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cl-content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.cl-content-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 8px;
}

.cl-content-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.cl-content-card a {
    color: #212529;
    border-bottom: 1px solid #ffd65a;
}

.cl-content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cl-content-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #495057;
    border-bottom: 1px solid #f1f3f5;
}

.cl-content-list li:last-child {
    border-bottom: none;
}

.cl-content-list li svg {
    width: 18px;
    height: 18px;
    color: #ffd65a;
    flex-shrink: 0;
    margin-top: 1px;
}

.cl-content-list li strong {
    display: block;
    color: #212529;
    margin-bottom: 2px;
}

/* ── WHY US ─────────────────────────────────── */
.cl-why {
    padding: 60px 5%;
    background: #f8f9fa;
}

.cl-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 48px auto 0;
}

.cl-why-card {
    background: #fff;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cl-why-card:hover {
    border-color: #ffd65a;
    box-shadow: 0 0 0 1px #ffd65a;
}

.cl-why-icon {
    width: 48px;
    height: 48px;
    background: #ffd65a;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.cl-why-icon svg {
    width: 22px;
    height: 22px;
    color: #212529;
}

.cl-why-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #212529;
}

.cl-why-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* ── DESIGN BANNER ──────────────────────────── */
.cl-design {
    padding: 60px 5%;
    background: #fff;
}

.cl-design-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cl-design-image {
    background: url('/img/photo/LightingdesignConsultation-2000.webp') center/cover no-repeat;
    min-height: 360px;
    position: relative;
}

.cl-design-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33,37,41,0.35) 0%, rgba(33,37,41,0.05) 100%);
}

.cl-design-body {
    background: linear-gradient(135deg, #1a1d20 0%, #2d3035 100%);
    color: #fff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cl-design-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #212529;
    background: #ffd65a;
    padding: 4px 12px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.cl-design-body h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.cl-design-body p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0 0 22px;
}

.cl-design-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}

.cl-design-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    padding: 6px 0;
}

.cl-design-list li svg {
    width: 16px;
    height: 16px;
    color: #ffd65a;
    flex-shrink: 0;
    margin-top: 2px;
}

.cl-design-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd65a;
    color: #212529;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.cl-design-cta:hover {
    background: #e6b800;
    color: #212529;
}

.cl-design-cta svg {
    width: 14px;
    height: 14px;
}

/* ── FAQ ────────────────────────────────────── */
.cl-faq {
    padding: 60px 5%;
    background: #f8f9fa;
}

.cl-faq-list {
    max-width: 900px;
    margin: 48px auto 0;
    display: grid;
    gap: 12px;
}

.cl-faq-item {
    background: #fff;
    border-left: 3px solid #ffd65a;
    transition: box-shadow 0.2s;
}

.cl-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.cl-faq-q {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    list-style: none;
}

.cl-faq-q::-webkit-details-marker {
    display: none;
}

.cl-faq-q::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #ffd65a;
    line-height: 1;
    transition: transform 0.2s;
}

.cl-faq-item[open] .cl-faq-q::after {
    content: '−';
}

.cl-faq-a {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
}

.cl-faq-a p {
    margin: 0 0 10px;
}

.cl-faq-a p:last-child {
    margin-bottom: 0;
}

.cl-faq-a a {
    color: #212529;
    border-bottom: 1px solid #ffd65a;
}

/* ── CTA BANNER ─────────────────────────────── */
.cl-cta-banner {
    padding: 60px 5%;
    background: #fff;
    text-align: center;
}

.cl-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 48px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.cl-cta-banner h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #212529;
}

.cl-cta-banner p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 28px;
}

.cl-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd65a;
    color: #212529;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s;
}

.cl-cta-btn:hover {
    background: #e6b800;
    color: #212529;
}

.cl-cta-btn svg {
    width: 16px;
    height: 16px;
}

.cl-cta-btn-secondary {
    background: transparent;
    border: 2px solid #212529;
    color: #212529;
}

.cl-cta-btn-secondary:hover {
    background: #212529;
    color: #fff;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
    .cl-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cl-content-block,
    .cl-content-block.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cl-design-inner {
        grid-template-columns: 1fr;
    }

    .cl-design-image {
        min-height: 240px;
    }
}

@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: 20px 5%; 
    }
    
    .usp-inner { 
        grid-template-columns: repeat(3, 1fr); 
    }
    
    .btn-hero-secondary { 
        display: none; 
    }

    .cl-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cl-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cl-content-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .usp-inner { 
        grid-template-columns: repeat(2, 1fr); 
    }

    .cl-intro,
    .cl-categories,
    .cl-content,
    .cl-why,
    .cl-design,
    .cl-faq,
    .cl-cta-banner {
        padding: 40px 5%;
    }

    .cl-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cl-category-body {
        padding: 10px 8px 12px;
    }

    .cl-category-title {
        font-size: 12px;
        line-height: 1.25;
        margin: 0 0 4px;
    }

    .cl-category-desc {
        display: none;
    }

    .cl-category-link {
        font-size: 11px;
    }

    .cl-why-grid {
        grid-template-columns: 1fr;
    }

    .cl-design-body {
        padding: 32px 24px;
    }

    .cl-cta-actions {
        flex-direction: column;
    }

    .cl-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
