/* -----------------------------------------------------------
   HOLIDAY LIGHTING PAGES — v2 redesign
   Scoped styles for the Holiday Lighting Page template
   (page-holiday-lighting.php). The page content is semantic,
   classless HTML, so everything is styled off element selectors
   under the .mwb-holiday wrapper. Mobile-first.
   ----------------------------------------------------------- */

.mwb-holiday,
.mwb-holiday-bar {
    --hol-gold: #e8b64c;
    --hol-red: #d05555;
    --hol-card: #121212;
    --hol-card-2: #161616;
    --hol-line: #242424;
    --hol-text: #c9cdc9;
}

.mwb-holiday {
    padding: 0 0 4rem;
    overflow-wrap: break-word;
}

.mwb-holiday * {
    min-width: 0;
}

.mwb-holiday article {
    max-width: 780px;
    margin: 0 auto;
}

.mwb-holiday section[id] {
    scroll-margin-top: 96px;
}

.mwb-holiday p {
    margin-bottom: 1.1rem;
    line-height: 1.75;
    color: var(--hol-text);
}

.mwb-holiday strong {
    color: var(--color-white);
}

.mwb-holiday section a:not([href^="tel:"]) {
    color: var(--color-green-bright);
    text-decoration: underline;
    text-decoration-color: rgba(28, 181, 10, 0.35);
    text-underline-offset: 3px;
}

.mwb-holiday section a:not([href^="tel:"]):hover {
    text-decoration-color: var(--color-green-bright);
}

/* ===========================================================
   HERO — full-bleed breakout with festive glow
   =========================================================== */
.mwb-holiday article > nav[aria-label="Breadcrumb"],
.mwb-holiday article > header {
    /* breakout to full viewport width */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.mwb-holiday article > header {
    position: relative;
    padding: 0 1.5rem 3rem;
    margin-bottom: 3rem;
    background:
        radial-gradient(220px 120px at 12% 8%, rgba(232, 182, 76, 0.14), transparent 70%),
        radial-gradient(190px 110px at 85% 16%, rgba(28, 181, 10, 0.12), transparent 70%),
        radial-gradient(150px 90px at 70% 70%, rgba(208, 85, 85, 0.08), transparent 70%),
        radial-gradient(300px 170px at 30% 95%, rgba(232, 182, 76, 0.07), transparent 70%),
        linear-gradient(180deg, #101010 0%, var(--color-black) 100%);
    border-bottom: 1px solid var(--hol-line);
}

/* string of "bulbs" along the hero's bottom edge */
.mwb-holiday article > header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 5px;
    background-image:
        radial-gradient(circle 2.5px, var(--hol-gold) 45%, rgba(232, 182, 76, 0) 60%),
        radial-gradient(circle 2.5px, var(--color-green-bright) 45%, rgba(28, 181, 10, 0) 60%),
        radial-gradient(circle 2.5px, var(--hol-red) 45%, rgba(208, 85, 85, 0) 60%);
    background-size: 84px 5px, 84px 5px, 84px 5px;
    background-position: 0 0, 28px 0, 56px 0;
    background-repeat: repeat-x;
    opacity: 0.9;
}

.mwb-holiday article > header > * {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.mwb-holiday h1 {
    font-size: clamp(1.65rem, 6.9vw, 3.4rem);
    line-height: 1.02;
    margin: 0 auto 1.4rem;
    padding-top: 7.5rem;
    text-wrap: balance;
    overflow-wrap: normal;
}

/* intro line */
.mwb-holiday article > header > p:first-of-type {
    font-size: 1.06rem;
    line-height: 1.7;
    color: #d6d9d6;
    margin-bottom: 1.6rem;
}

/* CTA row */
.mwb-holiday article > header > p:has(a[href^="tel:"]):has(a[href^="#"]) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
}

.mwb-holiday article > header a {
    display: block;
    text-align: center;
    padding: 1.05rem 1.6rem;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: var(--transition);
}

.mwb-holiday article > header a[href^="tel:"] {
    background: linear-gradient(180deg, var(--color-green-bright), var(--color-green));
    color: var(--color-white);
    box-shadow: 0 6px 24px rgba(28, 181, 10, 0.28);
}

.mwb-holiday article > header a[href^="tel:"]:hover {
    box-shadow: 0 6px 32px rgba(28, 181, 10, 0.5);
    transform: translateY(-1px);
}

.mwb-holiday article > header a[href^="#"] {
    border: 2px solid rgba(232, 182, 76, 0.8);
    color: var(--hol-gold);
}

.mwb-holiday article > header a[href^="#"]:hover {
    background: rgba(232, 182, 76, 0.12);
    color: #f3cf7f;
}

/* trust line */
.mwb-holiday article > header > p:nth-of-type(3) {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8f958f;
    margin-bottom: 1.1rem;
}

/* booking-deadline banner */
.mwb-holiday article > header > p:nth-of-type(4) {
    border-left: 3px solid var(--hol-gold);
    background: rgba(232, 182, 76, 0.08);
    color: #eddcb4;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ===========================================================
   BREADCRUMB
   =========================================================== */
.mwb-holiday nav[aria-label="Breadcrumb"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #0d0d0d;
}

.mwb-holiday nav[aria-label="Breadcrumb"] ol {
    max-width: calc(780px + 3rem);
    margin: 0 auto;
    padding: 5.4rem 1.5rem 0.8rem;
    list-style: none;
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7c827c;
}

.mwb-holiday nav[aria-label="Breadcrumb"] ol::-webkit-scrollbar {
    display: none;
}

.mwb-holiday nav[aria-label="Breadcrumb"] li {
    flex: none;
}

.mwb-holiday nav[aria-label="Breadcrumb"] li + li::before {
    content: "›";
    margin: 0 0.55rem;
    color: #3d413d;
}

.mwb-holiday nav[aria-label="Breadcrumb"] a:hover {
    color: var(--color-green-bright);
}

.mwb-holiday nav[aria-label="Breadcrumb"] li[aria-current] {
    color: #b9bfb9;
}

/* the hero sits directly under the breadcrumb bar */
.mwb-holiday article > header h1 {
    padding-top: 2.6rem;
}

/* ===========================================================
   SECTIONS & HEADINGS
   =========================================================== */
.mwb-holiday section {
    margin-top: 3.4rem;
    padding: 0 0.25rem;
}

.mwb-holiday h2 {
    font-size: clamp(1.35rem, 5.4vw, 2rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin-bottom: 1.4rem;
    padding-bottom: 0.85rem;
    position: relative;
    text-wrap: balance;
}

.mwb-holiday h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-bright), rgba(28, 181, 10, 0.15));
}

.mwb-holiday h3 {
    text-transform: none;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 1.9rem 0 0.55rem;
}

/* ===========================================================
   LISTS — service cards + numbered process
   =========================================================== */
.mwb-holiday section ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.mwb-holiday section ul li {
    position: relative;
    background: var(--hol-card);
    border: 1px solid var(--hol-line);
    border-left: 3px solid var(--color-green);
    padding: 0.85rem 1rem 0.85rem 2.55rem;
    line-height: 1.65;
    color: var(--hol-text);
}

.mwb-holiday section ul li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 0.82rem;
    color: var(--color-green-bright);
    font-weight: 700;
}

.mwb-holiday section ol {
    list-style: none;
    counter-reset: mwb-step;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.mwb-holiday section ol > li {
    counter-increment: mwb-step;
    position: relative;
    padding-left: 3.1rem;
    line-height: 1.7;
    color: var(--hol-text);
    min-height: 2.4rem;
}

.mwb-holiday section ol > li::before {
    content: counter(mwb-step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.15rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    background: rgba(28, 181, 10, 0.12);
    border: 1px solid rgba(28, 181, 10, 0.45);
    color: var(--color-green-bright);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
}

/* ===========================================================
   PRICING TABLE
   =========================================================== */
.mwb-holiday table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    font-size: 0.88rem;
}

.mwb-holiday th,
.mwb-holiday td {
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--hol-line);
    text-align: left;
}

.mwb-holiday th {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background: linear-gradient(180deg, rgba(28, 181, 10, 0.16), rgba(28, 181, 10, 0.05));
}

.mwb-holiday td {
    color: var(--hol-text);
}

.mwb-holiday tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

/* ===========================================================
   GALLERY
   =========================================================== */
.mwb-holiday section:has(> figure) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.mwb-holiday section:has(> figure) > h2,
.mwb-holiday section:has(> figure) > p {
    grid-column: 1 / -1;
}

.mwb-holiday section:has(> figure) > p {
    margin-bottom: 0.4rem;
}

.mwb-holiday figure {
    position: relative;
    background: var(--hol-card);
    border: 1px solid var(--hol-line);
    overflow: hidden;
}

.mwb-holiday figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mwb-holiday figure:hover img {
    transform: scale(1.045);
}

.mwb-holiday figcaption {
    padding: 0.6rem 0.75rem;
    font-family: var(--font-head);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #a9afa9;
    border-top: 1px solid var(--hol-line);
    background: #0e0e0e;
}

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.mwb-holiday blockquote {
    position: relative;
    background: var(--hol-card);
    border: 1px solid var(--hol-line);
    border-top: 2px solid var(--color-green);
    padding: 1.6rem 1.4rem 1.2rem;
    margin: 1.4rem 0;
    font-style: normal;
    color: #d6d9d6;
}

.mwb-holiday blockquote::before {
    content: "\201C";
    position: absolute;
    top: 0.2rem;
    right: 0.9rem;
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1;
    color: rgba(28, 181, 10, 0.18);
}

.mwb-holiday blockquote p {
    margin-bottom: 0.6rem;
}

.mwb-holiday blockquote p:last-child {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #8f958f;
}

/* ===========================================================
   FAQ — accordion (JS adds .mwb-js on the #faq section)
   =========================================================== */
.mwb-holiday #faq h3 {
    margin: 0;
    border-top: 1px solid var(--hol-line);
    padding: 1.05rem 2.2rem 1.05rem 0.15rem;
    position: relative;
}

.mwb-holiday #faq h3:last-of-type {
    border-bottom: 1px solid var(--hol-line);
}

.mwb-holiday #faq.mwb-js h3 {
    cursor: pointer;
    user-select: none;
}

.mwb-holiday #faq.mwb-js h3::after {
    content: "+";
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-green-bright);
    transition: transform 0.3s ease;
}

.mwb-holiday #faq.mwb-js h3.open::after {
    transform: translateY(-50%) rotate(45deg);
}

.mwb-holiday #faq.mwb-js h3:hover {
    color: var(--color-green-bright);
}

.mwb-holiday #faq .faq-a {
    padding: 0.35rem 0.15rem 0.4rem;
}

.mwb-holiday #faq.mwb-js .faq-a {
    display: none;
}

.mwb-holiday #faq.mwb-js h3.open + .faq-a {
    display: block;
}

/* ===========================================================
   ESTIMATE FORM
   =========================================================== */
.mwb-holiday #estimate-form form {
    background: var(--hol-card);
    border: 1px solid var(--hol-line);
    border-top: 3px solid var(--color-green-bright);
    padding: 1.5rem 1.25rem;
    margin: 1.4rem 0 1.2rem;
}

.mwb-holiday fieldset {
    border: 1px solid #2e2e2e;
    padding: 0.9rem 1rem 1rem;
    margin: 0 0 1.3rem;
}

.mwb-holiday legend {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
    padding: 0 0.5rem;
}

.mwb-holiday fieldset label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.2rem;
    font-size: 0.95rem;
    color: var(--hol-text);
}

.mwb-holiday form > label {
    display: block;
    margin-bottom: 1.05rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-white);
}

.mwb-holiday form input[type="text"],
.mwb-holiday form input[type="tel"],
.mwb-holiday form input[type="email"],
.mwb-holiday form input[type="file"],
.mwb-holiday form select {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.8rem 0.9rem;
    background: #0c0c0c;
    border: 1px solid #333;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem; /* 16px+ prevents iOS auto-zoom */
    font-weight: 400;
}

.mwb-holiday form input:focus,
.mwb-holiday form select:focus {
    outline: none;
    border-color: var(--color-green-bright);
    box-shadow: 0 0 0 3px rgba(28, 181, 10, 0.15);
}

.mwb-holiday form input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    accent-color: var(--color-green);
}

.mwb-holiday form button {
    display: block;
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(180deg, var(--color-green-bright), var(--color-green));
    color: var(--color-white);
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(28, 181, 10, 0.28);
    transition: var(--transition);
}

.mwb-holiday form button:hover {
    box-shadow: 0 6px 32px rgba(28, 181, 10, 0.5);
    transform: translateY(-1px);
}

/* ===========================================================
   STICKY MOBILE ACTION BAR (markup in the template)
   =========================================================== */
.mwb-holiday-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mwb-holiday-bar a {
    display: block;
    text-align: center;
    padding: 0.85rem 0.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--color-white);
}

.mwb-holiday-bar a:first-child {
    background: var(--color-green);
}

.mwb-holiday-bar a:last-child {
    border: 2px solid rgba(232, 182, 76, 0.8);
    background: rgba(232, 182, 76, 0.1);
    color: var(--hol-gold);
}

/* leave room for the bar on mobile */
.mwb-holiday {
    padding-bottom: 6.5rem;
}

/* ===========================================================
   SCROLL REVEAL (JS adds .mwb-pre / .mwb-in)
   =========================================================== */
.mwb-holiday section.mwb-pre {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.mwb-holiday section.mwb-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mwb-holiday section.mwb-pre,
    .mwb-holiday section.mwb-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mwb-holiday figure img,
    .mwb-holiday form button,
    .mwb-holiday article > header a {
        transition: none;
    }
}

/* ===========================================================
   TABLET & DESKTOP
   =========================================================== */
@media (min-width: 560px) {
    .mwb-holiday article > header > p:has(a[href^="tel:"]):has(a[href^="#"]) {
        grid-template-columns: auto auto;
        justify-content: start;
    }

    .mwb-holiday article > header a {
        display: inline-block;
    }

    .mwb-holiday form button {
        width: auto;
        min-width: 280px;
    }
}

@media (min-width: 768px) {
    .mwb-holiday {
        padding-bottom: 5rem;
    }

    .mwb-holiday-bar {
        display: none;
    }

    .mwb-holiday article > header {
        padding: 0 2rem 4.2rem;
        margin-bottom: 4rem;
    }

    .mwb-holiday nav[aria-label="Breadcrumb"] ol {
        max-width: calc(780px + 4rem);
        padding: 7rem 2rem 0.8rem;
    }

    .mwb-holiday article > header h1 {
        padding-top: 3.4rem;
    }

    .mwb-holiday article > header > p:first-of-type {
        font-size: 1.15rem;
    }

    .mwb-holiday section {
        margin-top: 4.5rem;
    }

    .mwb-holiday table {
        font-size: 0.95rem;
    }

    .mwb-holiday section:has(> figure) {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }

    .mwb-holiday #estimate-form form {
        padding: 2.2rem 2rem;
    }

    .mwb-holiday fieldset label {
        display: inline-flex;
        margin-right: 1.4rem;
    }
}

