/* ============================================
   FORZAR FONDO OSCURO EN TODA LA PÁGINA
   ============================================ */
.page-template-residential-lighting,
.page-template-commercial-lighting,
.page-template-architectural-accent-lighting,
.page-template-landscape-lighting,
.page-template-holiday-lighting,
.page-template-security-lighting {
    background: #0a0a0a !important;
}

/* ============================================
   ELIMINAR CONTENEDOR BLANCO DEL THEME
   ============================================ */
.page-template-residential-lighting .site-main,
.page-template-commercial-lighting .site-main,
.page-template-architectural-accent-lighting .site-main,
.page-template-landscape-lighting .site-main,
.page-template-holiday-lighting .site-main,
.page-template-security-lighting .site-main {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-template-residential-lighting .entry-content,
.page-template-commercial-lighting .entry-content,
.page-template-architectural-accent-lighting .entry-content,
.page-template-landscape-lighting .entry-content,
.page-template-holiday-lighting .entry-content,
.page-template-security-lighting .entry-content {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   FULL WIDTH REAL
   ============================================ */
.page-template-residential-lighting .container,
.page-template-commercial-lighting .container,
.page-template-architectural-accent-lighting .container,
.page-template-landscape-lighting .container,
.page-template-holiday-lighting .container,
.page-template-security-lighting .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   SERVICE PAGE — PREMIUM DESIGN
   ============================================ */
.service-page {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter Tight', 'Inter', sans-serif;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInPage .45s ease-out forwards;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Fade-in premium */
@keyframes fadeInPage {
    from { opacity: 0; filter: blur(4px); }
    to { opacity: 1; filter: blur(0); }
}

/* MAIN TITLE */
.service-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255,214,107,0.25);
}

.service-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #ffd66b, #5cc5ff);
    border-radius: 2px;
}

/* LEAD PARAGRAPH */
.service-lead {
    font-size: 1.15rem;
    color: #b7c2ce;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

/* SECTION TITLES */
.service-page h2 {
    font-size: 1.45rem;
    margin-top: 48px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #f7fafc;
    letter-spacing: 0.3px;
}

/* LISTS */
.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-list li {
    font-size: 1rem;
    color: #b7c2ce;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: linear-gradient(90deg, #ffd66b, #5cc5ff);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}

/* CTA BUTTON — PREMIUM */
.service-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #ffd66b, #5cc5ff);
    color: #111;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: 0.25s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(255,214,107,0.45);
}

/* ============================================
   RESPONSIVE — FULL MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .service-page {
        padding: 40px 16px;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-lead {
        font-size: 1rem;
    }

    .service-page h2 {
        font-size: 1.3rem;
    }

    .service-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.9rem;
    }

    .service-cta {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 1rem;
    }
}

/* ============================================
   SERVICE PAGE — PHOTO HERO
   Real installation photo behind the title, with a
   niche-specific accent color for the badge/underline.
   ============================================ */
.service-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 45%, #0a0a0a 100%);
    z-index: -1;
}

.service-hero__overlay {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 34px;
    text-align: center;
}

.service-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: #14140f;
}

.service-hero__title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.service-hero__lead {
    font-size: 1.1rem;
    color: #e6e6ea;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Niche accents */
.service-hero--holiday .service-hero__badge { background: linear-gradient(90deg, #ff3b30, #1fae52); }
.service-hero--permanent .service-hero__badge { background: linear-gradient(90deg, #d4af37, #6ec1e4); }
.service-hero--landscape .service-hero__badge { background: linear-gradient(90deg, #3ea86b, #d4af37); }
.service-hero--patio .service-hero__badge { background: linear-gradient(90deg, #f2a641, #d4af37); }

@media (max-width: 480px) {
    .service-hero { min-height: 260px; }
    .service-hero__overlay { padding: 40px 16px 26px; }
}