/**
 * Lord Glazing Theme — Main Stylesheet
 * Mobile-first, production-ready CSS for a glazing company website.
 *
 * Sections:
 *  1. Reset / Normalize
 *  2. CSS Custom Properties
 *  3. Typography
 *  4. Layout
 *  5. Buttons
 *  6. Header
 *  7. Footer
 *  8. Blog
 *  9. Components
 * 10. Utilities
 * 11. Responsive
 *
 * @package LordGlazing
 */

/* ==========================================================================
   1. Reset / Normalize
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: clip; /* prevents sideways scroll WITHOUT breaking position:sticky (unlike overflow:hidden) */
}

body {
    font-family: var(--lg-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--lg-text);
    background-color: var(--lg-bg);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

::selection {
    background-color: var(--lg-primary);
    color: var(--lg-white);
}

[x-cloak] {
    display: none !important;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   2. CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand — Anthracite + Glass */
    --lg-primary: #1f2933;        /* anthracite */
    --lg-primary-dark: #11181f;   /* near-black charcoal */
    --lg-primary-light: #3a4a5a;  /* steel */
    --lg-secondary: #2b3a47;      /* slate */
    --lg-secondary-dark: #18222b;
    --lg-secondary-light: #45586a;
    --lg-accent: #0bb4d4;         /* glass cyan */
    --lg-accent-dark: #0892ac;
    --lg-accent-light: #3fd0ec;
    --lg-emergency: #dc2626;
    --lg-success: #16a34a;
    --lg-warning: #f59e0b;
    --lg-info: #0bb4d4;
    --lg-white: #ffffff;
    --lg-black: #0b1014;

    /* Neutrals — cool grey ramp */
    --lg-gray-50: #f6f8fa;
    --lg-gray-100: #eef1f4;
    --lg-gray-200: #e1e6ea;
    --lg-gray-300: #c7d0d7;
    --lg-gray-400: #97a4ae;
    --lg-gray-500: #6b7884;
    --lg-gray-600: #4d5963;
    --lg-gray-700: #364049;
    --lg-gray-800: #232c34;
    --lg-gray-900: #131a20;

    /* Semantic text */
    --lg-text: #1f2933;
    --lg-text-light: #5b6b78;

    /* Backgrounds */
    --lg-bg: #ffffff;
    --lg-bg-light: #f4f6f8;
    --lg-bg-dark: #11181f;

    /* Glass effect tokens */
    --lg-glass-bg: rgba(255, 255, 255, 0.72);
    --lg-glass-bg-dark: rgba(17, 24, 31, 0.55);
    --lg-glass-border: rgba(255, 255, 255, 0.35);
    --lg-glass-blur: 14px;

    /* Gradients */
    --lg-grad-anthracite: linear-gradient(135deg, #1f2933 0%, #11181f 100%);
    --lg-grad-accent: linear-gradient(135deg, #0bb4d4 0%, #0892ac 100%);

    /* Borders & Effects */
    --lg-border: #e1e6ea;
    --lg-radius-sm: 0.375rem;
    --lg-radius: 0.625rem;
    --lg-radius-lg: 1rem;
    --lg-radius-xl: 1.5rem;
    --lg-radius-full: 9999px;
    --lg-shadow-sm: 0 1px 2px rgba(17, 24, 31, 0.06);
    --lg-shadow: 0 2px 8px rgba(17, 24, 31, 0.08);
    --lg-shadow-md: 0 8px 24px rgba(17, 24, 31, 0.10);
    --lg-shadow-lg: 0 18px 40px rgba(17, 24, 31, 0.14);
    --lg-shadow-xl: 0 30px 60px rgba(17, 24, 31, 0.18);
    --lg-shadow-accent: 0 10px 30px rgba(11, 180, 212, 0.30);

    /* Fonts */
    --lg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --lg-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --lg-container: 1240px;
    --lg-container-padding: 1.25rem;
    --lg-header-height: 76px;

    /* Transitions */
    --lg-transition-fast: 150ms ease;
    --lg-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --lg-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --lg-z-dropdown: 100;
    --lg-z-sticky-cta: 150;
    --lg-z-header: 200;
    --lg-z-mobile-menu: 300;
    --lg-z-overlay: 400;
    --lg-z-modal: 500;

    /* Header builder dynamic vars (defaults — overridden by admin settings) */
    --lg-hb-bg: #ffffff;
    --lg-hb-text: #1f2933;
    --lg-hb-accent: #0bb4d4;
    --lg-hb-topbar-bg: #11181f;
    --lg-hb-topbar-text: #ffffff;
    --lg-hb-logo-height: 50px;
    --lg-hb-sticky-bg: rgba(255, 255, 255, 0.82);
    --lg-hb-sticky-shadow: 0 6px 24px rgba(17, 24, 31, 0.10);

    /* Footer builder dynamic vars (defaults) */
    --lg-fb-bg: #11181f;
    --lg-fb-text: #c7d0d7;
    --lg-fb-heading: #ffffff;
    --lg-fb-link: #97a4ae;
    --lg-fb-link-hover: #0bb4d4;
    --lg-fb-accent: #0bb4d4;
    --lg-fb-subfooter-bg: #0b1014;
    --lg-fb-subfooter-text: #6b7884;
    --lg-fb-emergency-bg: #dc2626;
    --lg-fb-emergency-text: #ffffff;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lg-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--lg-gray-900);
    margin: 0 0 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

a:not([class]) {
    color: var(--lg-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--lg-transition-fast);
}

a:not([class]):hover {
    color: var(--lg-accent);
}

ul:not([class]),
ol:not([class]) {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

ul:not([class]) { list-style: disc; }
ol:not([class]) { list-style: decimal; }

ul:not([class]) li,
ol:not([class]) li {
    margin-bottom: 0.35rem;
}

blockquote {
    border-left: 4px solid var(--lg-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--lg-bg-light);
    font-style: italic;
    color: var(--lg-text-light);
    border-radius: 0 var(--lg-radius) var(--lg-radius) 0;
}

blockquote p:last-child { margin-bottom: 0; }

hr {
    border: none;
    border-top: 1px solid var(--lg-border);
    margin: 2rem 0;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.lg-container {
    width: 100%;
    max-width: var(--lg-container);
    margin-inline: auto;
    padding-inline: var(--lg-container-padding);
}

.lg-main {
    min-height: 60vh;
}

.lg-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.lg-section--light {
    background-color: var(--lg-bg-light);
}

.lg-section--dark {
    background-color: var(--lg-bg-dark);
    color: #d1d5db;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--lg-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--lg-radius);
    cursor: pointer;
    transition: all var(--lg-transition-fast);
    white-space: nowrap;
}

.lg-btn:focus-visible {
    outline: 2px solid var(--lg-primary);
    outline-offset: 2px;
}

.lg-btn--primary {
    background-color: var(--lg-primary);
    color: var(--lg-white);
    border-color: var(--lg-primary);
}

.lg-btn--primary:hover,
.lg-btn--primary:focus {
    background-color: var(--lg-primary-dark);
    border-color: var(--lg-primary-dark);
    color: var(--lg-white);
}

.lg-btn--accent {
    background-color: var(--lg-accent);
    color: var(--lg-white);
    border-color: var(--lg-accent);
}

.lg-btn--accent:hover,
.lg-btn--accent:focus {
    background-color: var(--lg-accent-dark);
    border-color: var(--lg-accent-dark);
    color: var(--lg-white);
}

.lg-btn--outline {
    background-color: transparent;
    color: var(--lg-primary);
    border-color: var(--lg-gray-200);
}

.lg-btn--outline:hover,
.lg-btn--outline:focus {
    background-color: var(--lg-gray-50);
    border-color: var(--lg-primary);
    color: var(--lg-primary);
}

.lg-btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.lg-btn--lg { padding: 1rem 2rem; font-size: 1.125rem; }

/* ==========================================================================
   6. Header
   ========================================================================== */

/* --- Top Bar (Emergency / Promo) --- */

.lg-topbar {
    background-color: var(--lg-hb-topbar-bg);
    color: var(--lg-hb-topbar-text);
    font-size: 0.875rem;
    line-height: 1.4;
    position: relative;
    z-index: calc(var(--lg-z-header) + 1);
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    max-height: 200px;
    opacity: 1;
    max-width: var(--lg-container);
    margin-inline: auto;
    border-radius: var(--lg-radius-full, 9999px);
    margin-bottom: 0.375rem;
}

/* Top bar border radius variants */
.lg-header--radius-pill .lg-topbar {
    border-radius: var(--lg-radius-full);
}

.lg-header--radius-rounded .lg-topbar {
    border-radius: 0.75rem;
}

.lg-header--radius-none .lg-topbar {
    border-radius: 0;
}

.lg-topbar--dismissed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.lg-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    max-width: var(--lg-container);
    margin: 0 auto;
    text-align: center;
}

.lg-topbar__icon {
    flex-shrink: 0;
    font-size: 1rem;
}

.lg-topbar__text {
    flex: 1 1 auto;
}

.lg-topbar__text a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.lg-topbar__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease;
    font-size: 1.125rem;
    line-height: 1;
}

.lg-topbar__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.lg-topbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lg-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity var(--lg-transition-fast);
}

.lg-topbar__link:hover {
    opacity: 0.8;
    color: inherit;
}

.lg-topbar__link svg,
.lg-topbar__link .lg-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lg-topbar__social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.lg-topbar__social-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    opacity: 0.85;
    transition: opacity var(--lg-transition-fast);
}

.lg-topbar__social-link:hover {
    opacity: 1;
    color: inherit;
}

.lg-topbar__social-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --- Main Header --- */

.lg-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--lg-z-header);
    padding: 0.5rem 1rem;
    color: var(--lg-hb-text);
    transition: transform 0.3s ease, padding 0.3s ease;
}

.lg-header__main {
    display: none; /* hidden on mobile, shown at 1024px */
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--lg-container);
    margin-inline: auto;
    padding: 0.75rem 1.5rem;
    min-height: var(--lg-header-height);
    background-color: var(--lg-hb-bg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    border-radius: var(--lg-radius-full, 9999px);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Border radius variants — applied to the inner bar */
.lg-header--radius-pill .lg-header__main {
    border-radius: var(--lg-radius-full, 9999px);
}

.lg-header--radius-rounded .lg-header__main {
    border-radius: 0.75rem;
}

.lg-header--radius-none .lg-header__main {
    border-radius: 0;
}

.lg-header--no-shadow .lg-header__main {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lg-header--bordered .lg-header__main {
    border: 1px solid var(--lg-border);
}

.lg-header--transparent .lg-header__main {
    background-color: transparent;
    box-shadow: none;
}

.lg-header--transparent .lg-header__mobile-bar {
    background-color: transparent;
    box-shadow: none;
}

/* Logo */
.lg-header__logo {
    flex-shrink: 0;
}

.lg-header__logo a {
    display: flex;
    align-items: center;
}

.lg-header__logo img,
.lg-header__logo .custom-logo {
    height: var(--lg-hb-logo-height);
    width: auto;
    display: block;
}

.lg-header__site-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--lg-hb-text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.lg-header__site-title:hover {
    color: var(--lg-hb-accent);
}

/* Desktop Navigation */
.lg-header__nav {
    display: none; /* hidden on mobile, shown at 1024px */
    flex: 1;
    justify-content: center;
}

.lg-header__nav ul,
.lg-header__nav .lg-header__menu {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lg-header__nav a,
.lg-header__nav .menu-item > a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lg-hb-text);
    border-radius: var(--lg-radius);
    transition: color var(--lg-transition-fast), background var(--lg-transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.lg-header__nav a:hover,
.lg-header__nav a:focus {
    color: var(--lg-hb-accent);
    background: rgba(0, 0, 0, 0.04);
}

.lg-header__nav .current-menu-item > a,
.lg-header__nav .current_page_item > a {
    color: var(--lg-hb-accent);
    font-weight: 600;
}

/* Dropdown sub-menus */
.lg-header__nav li {
    position: relative;
}

/* Parent item indicator — chevron after items with children */
.lg-header__nav .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lg-header__nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.15em;
    opacity: 0.6;
    transition: transform var(--lg-transition-fast), opacity var(--lg-transition-fast);
}

.lg-header__nav .menu-item-has-children:hover > a::after,
.lg-header__nav .menu-item-has-children:focus-within > a::after {
    opacity: 1;
    transform: rotate(45deg) translate(1px, 1px);
}

/* Sub-menu chevron points right for nested levels */
.lg-header__nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);
    margin-top: 0;
}

.lg-header__nav .sub-menu .menu-item-has-children:hover > a::after {
    transform: rotate(-45deg) translate(1px, -1px);
}

.lg-header__nav .sub-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    min-width: 230px;
    background: var(--lg-bg);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius-lg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 0.375rem;
    z-index: var(--lg-z-dropdown);
    flex-direction: column;
    gap: 0;

    /* Hidden by default with animation prep */
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lg-header__nav li:hover > .sub-menu,
.lg-header__nav li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lg-header__nav .sub-menu a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--lg-radius);
    text-align: left;
    color: var(--lg-text);
    transition: background var(--lg-transition-fast), color var(--lg-transition-fast);
}

.lg-header__nav .sub-menu a:hover,
.lg-header__nav .sub-menu a:focus {
    background: rgba(26, 82, 118, 0.06);
    color: var(--lg-hb-accent);
}

/* Active state inside dropdown */
.lg-header__nav .sub-menu .current-menu-item > a {
    background: rgba(26, 82, 118, 0.08);
    color: var(--lg-hb-accent);
    font-weight: 600;
}

/* Nested sub-menu flies out to the right */
.lg-header__nav .sub-menu .sub-menu {
    top: -0.375rem;
    left: calc(100% + 0.25rem);
    transform: translateX(8px);
}

.lg-header__nav .sub-menu li:hover > .sub-menu,
.lg-header__nav .sub-menu li:focus-within > .sub-menu {
    transform: translateX(0);
}

/* Header actions (CTA + phone) */
.lg-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lg-header__phone {
    display: none; /* shown on larger screens */
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--lg-hb-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--lg-transition-fast);
}

.lg-header__phone:hover {
    color: var(--lg-hb-accent);
}

.lg-header__phone svg,
.lg-header__phone .lg-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.lg-header__cta {
    display: none; /* shown on larger screens */
    padding: 0.625rem 1.25rem;
    background-color: var(--lg-accent);
    color: var(--lg-white);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--lg-radius);
    text-decoration: none;
    transition: background var(--lg-transition-fast), transform var(--lg-transition-fast);
    white-space: nowrap;
}

.lg-header__cta:hover {
    background-color: var(--lg-accent-dark);
    color: var(--lg-white);
    transform: translateY(-1px);
}

/* Sticky states */
.lg-header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--lg-z-header);
    padding: 0.375rem 1rem;
}

.lg-header--sticky .lg-header__main {
    background-color: var(--lg-hb-sticky-bg);
    box-shadow: var(--lg-hb-sticky-shadow);
}

.lg-header--hidden {
    transform: translateY(-100%);
}

/* Spacer */
.lg-header-spacer {
    display: none;
}

.lg-header--sticky ~ .lg-header-spacer,
.lg-header--sticky + .lg-header-spacer {
    display: block;
    height: var(--lg-header-height);
}

/* --- Hamburger Button --- */

.lg-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    gap: 5px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: calc(var(--lg-z-mobile-menu) + 10);
    border-radius: var(--lg-radius);
    transition: background var(--lg-transition-fast);
}

.lg-hamburger:hover {
    background: rgba(0, 0, 0, 0.04);
}

.lg-hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--lg-hb-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lg-hamburger[aria-expanded="true"] .lg-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.lg-hamburger[aria-expanded="true"] .lg-hamburger__line:nth-child(2) {
    opacity: 0;
}

.lg-hamburger[aria-expanded="true"] .lg-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Drawer --- */

.lg-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--lg-bg);
    z-index: var(--lg-z-mobile-menu);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem;
    box-shadow: var(--lg-shadow-xl);
}

.lg-mobile-drawer.is-open {
    transform: translateX(0);
}

.lg-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lg-border);
}

.lg-mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-radius: var(--lg-radius);
    transition: background 0.2s ease;
}

.lg-mobile-drawer__close:hover {
    background: var(--lg-bg-light);
}

.lg-mobile-drawer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lg-mobile-drawer__nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--lg-border);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lg-mobile-drawer__nav a:hover {
    color: var(--lg-accent);
}

.lg-mobile-drawer__nav .sub-menu {
    padding-left: 1rem;
}

.lg-mobile-drawer__nav .sub-menu a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--lg-text-light);
}

.lg-mobile-drawer__nav .lg-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lg-mobile-drawer__nav .lg-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.lg-mobile-drawer__nav .lg-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lg-mobile-drawer__actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lg-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lg-mobile-drawer__cta {
    display: block;
    padding: 0.875rem;
    background: var(--lg-accent);
    color: var(--lg-white);
    text-align: center;
    font-weight: 600;
    border-radius: var(--lg-radius);
    text-decoration: none;
    transition: background 0.2s ease;
}

.lg-mobile-drawer__cta:hover {
    background: var(--lg-accent-dark);
    color: var(--lg-white);
}

/* Overlay / Backdrop */
.lg-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--lg-z-mobile-menu) - 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lg-mobile-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- Mobile Header (Alpine.js driven) --- */

.lg-header__mobile {
    display: block;
}

.lg-header__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: var(--lg-container);
    margin-inline: auto;
    background-color: var(--lg-hb-bg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    border-radius: var(--lg-radius-full);
    transition: box-shadow 0.3s ease;
}

/* Border radius for mobile bar */
.lg-header--radius-pill .lg-header__mobile-bar {
    border-radius: var(--lg-radius-full);
}

.lg-header--radius-rounded .lg-header__mobile-bar {
    border-radius: 0.75rem;
}

.lg-header--radius-none .lg-header__mobile-bar {
    border-radius: 0;
}

.lg-header--no-shadow .lg-header__mobile-bar {
    box-shadow: none;
}

.lg-header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    gap: 5px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--lg-radius);
    transition: background var(--lg-transition-fast);
}

.lg-header__hamburger:hover {
    background: rgba(0, 0, 0, 0.04);
}

.lg-header__hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--lg-hb-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.lg-header__hamburger.is-active .lg-header__hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.lg-header__hamburger.is-active .lg-header__hamburger-bar:nth-child(2) {
    opacity: 0;
}

.lg-header__hamburger.is-active .lg-header__hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.lg-header__mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: calc(var(--lg-z-mobile-menu) - 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lg-header__mobile-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.lg-header__mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 320px;
    max-width: 88vw;
    background: var(--lg-bg);
    z-index: var(--lg-z-mobile-menu);
    overflow: hidden;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
}

.lg-header__mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.lg-header__mobile-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.25rem 1.25rem;
    overscroll-behavior: contain;
}

.lg-header__mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lg-border);
    flex-shrink: 0;
}

.lg-header__mobile-drawer-header .lg-header__logo img,
.lg-header__mobile-drawer-header .lg-header__logo .custom-logo {
    height: calc(var(--lg-hb-logo-height, 40px) * 0.8);
    width: auto;
}

.lg-header__mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: var(--lg-bg-light);
    color: var(--lg-text);
    border-radius: var(--lg-radius);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.lg-header__mobile-close:hover {
    background: var(--lg-gray-200, #e5e7eb);
    color: var(--lg-accent);
    transform: rotate(90deg);
}

.lg-header__mobile-nav {
    padding-top: 0.5rem;
}

.lg-header__mobile-nav ul,
.lg-header__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lg-header__mobile-nav a,
.lg-header__mobile-menu a {
    display: block;
    padding: 0.875rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--lg-text);
    border-bottom: 1px solid var(--lg-border);
    border-radius: 0;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.lg-header__mobile-nav a:hover,
.lg-header__mobile-nav a:focus,
.lg-header__mobile-menu a:hover,
.lg-header__mobile-menu a:focus {
    color: var(--lg-accent);
    background: var(--lg-bg-light);
    padding-left: 1rem;
}

.lg-header__mobile-nav > .lg-header__mobile-menu > li:last-child,
.lg-header__mobile-nav > ul > li:last-child,
.lg-header__mobile-nav > .lg-header__mobile-menu > li:last-child > a,
.lg-header__mobile-nav > ul > li:last-child > a {
    border-bottom: none;
}

/* Mobile sub-menus — accordion style */
.lg-header__mobile-nav .menu-item-has-children,
.lg-header__mobile-menu .menu-item-has-children {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid var(--lg-border);
}

.lg-header__mobile-nav .menu-item-has-children > a,
.lg-header__mobile-menu .menu-item-has-children > a {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: none;
}

/* Dedicated chevron toggle button */
.lg-header__mobile-submenu-toggle {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-left: 1px solid var(--lg-border);
    color: var(--lg-text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lg-header__mobile-submenu-toggle:hover,
.lg-header__mobile-submenu-toggle:focus {
    background: var(--lg-bg-light);
    color: var(--lg-accent);
    outline: none;
}

.lg-header__mobile-submenu-toggle-icon {
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.65;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.lg-header__mobile-nav .menu-item-has-children.is-expanded > .lg-header__mobile-submenu-toggle .lg-header__mobile-submenu-toggle-icon,
.lg-header__mobile-menu .menu-item-has-children.is-expanded > .lg-header__mobile-submenu-toggle .lg-header__mobile-submenu-toggle-icon {
    transform: translateY(2px) rotate(-135deg);
    opacity: 0.9;
}

/* Sub-menu breaks to its own row below the link + toggle */
.lg-header__mobile-nav .menu-item-has-children > .sub-menu,
.lg-header__mobile-menu .menu-item-has-children > .sub-menu {
    flex: 0 0 100%;
    width: 100%;
}

.lg-header__mobile-nav .sub-menu,
.lg-header__mobile-menu .sub-menu {
    list-style: none;
    padding-left: 0.75rem;
    margin: 0 0 0 0.5rem;
    border-left: 2px solid rgba(26, 82, 118, 0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.lg-header__mobile-nav .menu-item-has-children.is-expanded > .sub-menu,
.lg-header__mobile-menu .menu-item-has-children.is-expanded > .sub-menu {
    max-height: 2000px;
}

.lg-header__mobile-nav .sub-menu a,
.lg-header__mobile-menu .sub-menu a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--lg-text-light);
    padding: 0.625rem 0.5rem;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.lg-header__mobile-nav .sub-menu .sub-menu a,
.lg-header__mobile-menu .sub-menu .sub-menu a {
    font-size: 0.875rem;
    color: var(--lg-text-light);
}

.lg-header__mobile-nav .sub-menu a:hover,
.lg-header__mobile-menu .sub-menu a:hover {
    color: var(--lg-accent);
    padding-left: 0.75rem;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.lg-header__mobile-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lg-border);
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.lg-header__mobile-phone,
.lg-header__mobile-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--lg-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background var(--lg-transition-fast);
}

.lg-header__mobile-phone {
    background: var(--lg-bg-light);
    color: var(--lg-primary);
}

.lg-header__mobile-phone:hover {
    background: var(--lg-gray-200);
    color: var(--lg-primary);
}

.lg-header__mobile-whatsapp {
    background: #25d366;
    color: var(--lg-white);
}

.lg-header__mobile-whatsapp:hover {
    background: #20bd5a;
    color: var(--lg-white);
}

.lg-header__mobile-phone svg,
.lg-header__mobile-whatsapp svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.lg-header__mobile .lg-header__cta {
    display: block;
    text-align: center;
    padding: 0.875rem;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

/* --- Emergency Strip --- */

.lg-emergency-strip {
    width: 100%;
    background: linear-gradient(135deg, var(--lg-fb-emergency-bg), color-mix(in srgb, var(--lg-fb-emergency-bg) 85%, #000));
    color: var(--lg-fb-emergency-text);
    padding: 1.25rem 1.5rem;
}

.lg-emergency-strip__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: var(--lg-container);
    margin: 0 auto;
    text-align: center;
}

.lg-emergency-strip__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.lg-emergency-strip__label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.lg-emergency-strip__phone {
    font-size: 1.75rem;
    font-weight: 800;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity var(--lg-transition-fast);
}

.lg-emergency-strip__phone:hover {
    opacity: 0.85;
    color: inherit;
}

.lg-emergency-strip__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.lg-emergency-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--lg-radius);
    text-decoration: none;
    transition: background var(--lg-transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lg-emergency-strip__btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.lg-emergency-strip__btn--whatsapp {
    background: #25d366;
    border-color: #25d366;
}

.lg-emergency-strip__btn--whatsapp:hover {
    background: #20bd5a;
}

.lg-emergency-strip__btn svg,
.lg-emergency-strip__btn .lg-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* --- Footer Main --- */

.lg-footer__main {
    background-color: var(--lg-fb-bg);
    color: var(--lg-fb-text);
    padding: 3.5rem 1.5rem 2.5rem;
}

.lg-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: var(--lg-container);
    margin: 0 auto;
}

/* Heading with accent underline */
.lg-footer__heading {
    color: var(--lg-fb-heading);
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}

.lg-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--lg-fb-accent, var(--lg-primary));
    border-radius: 2px;
}

/* Brand column */
.lg-footer__brand {
    margin-bottom: 1rem;
}

.lg-footer__logo {
    max-height: 44px;
    width: auto;
}

.lg-footer__brand-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--lg-fb-heading);
    letter-spacing: -0.01em;
}

.lg-footer__about {
    color: var(--lg-fb-text);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
    opacity: 0.85;
}

/* Accreditation badges */
.lg-footer__badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.lg-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lg-fb-heading);
    transition: background 0.2s;
}

.lg-footer__badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lg-footer__badge svg {
    opacity: 0.7;
    flex-shrink: 0;
}

/* Social icons */
.lg-footer__social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lg-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--lg-fb-text);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lg-footer__social-link:hover {
    background: var(--lg-fb-accent, var(--lg-primary));
    color: var(--lg-white);
    transform: translateY(-2px);
}

/* Footer link lists */
.lg-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lg-footer__links li a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--lg-fb-link);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3125rem 0;
    transition: color 0.2s, gap 0.2s;
}

.lg-footer__links li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--lg-fb-accent, var(--lg-primary));
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.lg-footer__links li a:hover {
    color: var(--lg-fb-link-hover);
    gap: 6px;
}

.lg-footer__links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer contact items */
.lg-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lg-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.lg-footer__contact-item svg,
.lg-footer__contact-item .lg-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--lg-fb-accent, var(--lg-primary));
}

.lg-footer__contact-item a {
    color: var(--lg-fb-link);
    text-decoration: none;
    transition: color 0.2s;
}

.lg-footer__contact-item a:hover {
    color: var(--lg-fb-link-hover);
}

.lg-footer__contact-item small {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.6;
    margin-top: 1px;
}

.lg-footer__contact-item--emergency a {
    color: #f87171;
}

.lg-footer__contact-item--emergency svg,
.lg-footer__contact-item--emergency .lg-icon {
    color: #f87171;
}

/* CTA button */
.lg-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.6875rem 1.5rem;
    background: var(--lg-fb-accent, var(--lg-primary));
    color: var(--lg-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--lg-radius, 6px);
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
}

.lg-footer__cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: var(--lg-white);
}

.lg-footer__cta svg {
    transition: transform 0.2s;
}

.lg-footer__cta:hover svg {
    transform: translateX(3px);
}

/* --- Sub Footer --- */

.lg-footer__subfooter {
    background-color: var(--lg-fb-subfooter-bg);
    color: var(--lg-fb-subfooter-text);
    padding: 1.125rem 1.5rem;
    font-size: 0.8125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lg-footer__subfooter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    max-width: var(--lg-container);
    margin: 0 auto;
    text-align: center;
}

.lg-footer__copyright {
    margin: 0;
    opacity: 0.8;
}

.lg-footer__subfooter-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
}

.lg-footer__subfooter-links a {
    color: var(--lg-fb-subfooter-text);
    text-decoration: none;
    padding: 0.125rem 0.5rem;
    transition: color 0.2s;
}

.lg-footer__subfooter-links a:hover {
    color: var(--lg-white);
}

.lg-footer__subfooter-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--lg-fb-subfooter-text);
    opacity: 0.4;
}

/* --- Sticky CTA (mobile only) --- */

.lg-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: var(--lg-z-sticky-cta);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.lg-sticky-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lg-white);
    text-decoration: none;
    text-align: center;
    transition: filter 0.2s ease;
}

.lg-sticky-cta__btn:hover {
    filter: brightness(1.1);
    color: var(--lg-white);
}

.lg-sticky-cta__btn--phone {
    background: var(--lg-primary);
}

.lg-sticky-cta__btn--whatsapp {
    background: #25d366;
}

.lg-sticky-cta__btn--quote {
    background: var(--lg-primary);
}

.lg-sticky-cta__btn--email {
    background: var(--lg-primary);
}

.lg-sticky-cta__btn--directions {
    background: var(--lg-primary);
}

.lg-sticky-cta__btn--custom {
    background: var(--lg-primary);
}

/* --- Floating WhatsApp Button --- */

.lg-whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: calc(50% - var(--lg-container) / 2 - 32px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lg-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.lg-whatsapp-float:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 3px;
}

@media (max-width: 1280px) {
    .lg-whatsapp-float {
        right: 24px;
    }
}

@media (max-width: 768px) {
    .lg-whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .lg-whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* --- Mobile Footer Improvements --- */

    .lg-footer__main {
        padding: 2.5rem 1.25rem 2rem;
    }

    /* Services & Quick Links side-by-side, brand & contact full-width */
    .lg-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    /* Brand and Contact span full width */
    .lg-footer__column--brand,
    .lg-footer__column--contact {
        grid-column: 1 / -1;
    }

    /* Center-align all footer columns on mobile */
    .lg-footer__column {
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .lg-footer__column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .lg-footer__column:first-child {
        padding-top: 0;
    }

    /* Services column: right border as divider */
    .lg-footer__column:nth-child(2) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 1rem;
    }

    .lg-footer__column:nth-child(3) {
        padding-left: 1rem;
    }

    /* Center the heading accent underline on mobile */
    .lg-footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Center brand elements */
    .lg-footer__brand {
        display: flex;
        justify-content: center;
    }

    .lg-footer__about {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .lg-footer__badges {
        justify-content: center;
    }

    .lg-footer__social {
        justify-content: center;
    }

    .lg-footer__links li a {
        justify-content: center;
    }

    /* Full-width CTA on mobile */
    .lg-footer__cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Center contact items */
    .lg-footer__contact-item {
        justify-content: center;
    }

    /* Subfooter: add margin for sticky CTA clearance */
    .lg-footer__subfooter {
        padding: 1rem 1.25rem;
        margin-bottom: 60px;
    }

    /* --- Mobile Header Fixes --- */

    /* Tighter header wrapper on mobile */
    .lg-header {
        padding: 0.375rem 0.5rem;
    }

    /* Top bar: stack layout for small screens */
    .lg-topbar {
        font-size: 0.75rem;
        border-radius: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .lg-topbar__inner {
        flex-wrap: wrap;
        gap: 0.375rem;
        padding: 0.375rem 0.625rem;
    }

    .lg-topbar__text {
        flex: 1 1 100%;
        font-size: 0.6875rem;
        line-height: 1.3;
    }

    .lg-topbar__actions {
        gap: 0.5rem;
    }

    .lg-topbar__link {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .lg-topbar__link svg,
    .lg-topbar__link .lg-icon {
        width: 14px;
        height: 14px;
    }

    .lg-topbar__social {
        margin-left: 0.375rem;
        padding-left: 0.375rem;
        gap: 0.375rem;
    }

    .lg-topbar__social-link svg {
        width: 14px;
        height: 14px;
    }

    .lg-topbar__close {
        width: 24px;
        height: 24px;
    }

    .lg-topbar__close svg {
        width: 12px;
        height: 12px;
    }

    /* Mobile header bar: reduce padding and logo size */
    .lg-header__mobile-bar {
        padding: 0.5rem 0.875rem;
    }

    .lg-header__logo img,
    .lg-header__logo .custom-logo {
        height: calc(var(--lg-hb-logo-height, 40px) * 0.75);
    }

    .lg-header__hamburger {
        width: 38px;
        height: 38px;
    }

    .lg-header__hamburger-bar {
        width: 22px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .lg-header {
        padding: 0.25rem 0.375rem;
    }

    .lg-topbar__text {
        font-size: 0.625rem;
    }

    /* Icon-only topbar links on very small screens */
    .lg-topbar__link {
        font-size: 0;
    }

    .lg-topbar__link svg,
    .lg-topbar__link .lg-icon {
        width: 16px;
        height: 16px;
    }

    .lg-topbar__social {
        display: none;
    }

    .lg-header__mobile-bar {
        padding: 0.375rem 0.75rem;
        border-radius: 1.5rem;
    }

    .lg-header__logo img,
    .lg-header__logo .custom-logo {
        height: calc(var(--lg-hb-logo-height, 40px) * 0.65);
    }

    .lg-header__mobile-drawer {
        width: 280px;
    }

    /* Extra-small footer: stack all columns back to single column */
    .lg-footer__inner {
        grid-template-columns: 1fr;
    }

    .lg-footer__column:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }

    .lg-footer__column:nth-child(3) {
        padding-left: 0;
    }

    .lg-emergency-strip__phone {
        font-size: 1.5rem;
    }

    .lg-emergency-strip__btn {
        width: 100%;
        justify-content: center;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

.lg-sticky-cta__btn svg,
.lg-sticky-cta__btn .lg-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   8. Blog
   ========================================================================== */

/* --- Single Post --- */

.lg-post {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.lg-post__header {
    margin-bottom: 2rem;
}

.lg-post__title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.lg-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--lg-text-light);
}

.lg-post__featured-image {
    margin-bottom: 2rem;
    border-radius: var(--lg-radius);
    overflow: hidden;
}

.lg-post__featured-image img {
    width: 100%;
    height: auto;
}

/* Prose content styling */
.lg-post__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--lg-text);
}

.lg-post__content p { margin-bottom: 1.5rem; }

.lg-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lg-radius);
    margin: 1.5rem 0;
}

.lg-post__content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.lg-post__content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }

.lg-post__content ul,
.lg-post__content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.lg-post__content ul { list-style: disc; }
.lg-post__content ol { list-style: decimal; }
.lg-post__content li { margin-bottom: 0.4rem; }

.lg-post__content a {
    color: var(--lg-primary);
    text-decoration: underline;
}

.lg-post__content a:hover {
    color: var(--lg-accent);
}

.lg-post__content pre {
    background: var(--lg-bg-light);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    padding: 1.25rem;
    overflow-x: auto;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.lg-post__content code {
    font-size: 0.875em;
    background: var(--lg-bg-light);
    padding: 0.15em 0.35em;
    border-radius: 4px;
}

.lg-post__content pre code {
    background: none;
    padding: 0;
}

.lg-post__content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    overflow: hidden;
}

.lg-post__content th,
.lg-post__content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--lg-border);
}

.lg-post__content th {
    background: var(--lg-bg-light);
    font-weight: 600;
}

/* --- Post Card (Archives) --- */

.lg-post-card {
    display: flex;
    flex-direction: column;
    background: var(--lg-bg);
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lg-post-card:hover {
    box-shadow: var(--lg-shadow-lg);
    transform: translateY(-2px);
}

.lg-post-card__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lg-bg-light);
}

.lg-post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lg-post-card:hover .lg-post-card__thumbnail img {
    transform: scale(1.05);
}

.lg-post-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lg-post-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.lg-post-card__title a {
    text-decoration: none;
    color: var(--lg-secondary);
    transition: color 0.2s ease;
}

.lg-post-card__title a:hover {
    color: var(--lg-primary);
}

.lg-post-card__excerpt {
    font-size: 0.9375rem;
    color: var(--lg-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.lg-post-card__meta {
    font-size: 0.8125rem;
    color: var(--lg-text-light);
    margin-top: auto;
}

/* --- Related Posts --- */

.lg-related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lg-border);
}

.lg-related-posts__title {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
}

.lg-related-posts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ==========================================================================
   9. Components
   ========================================================================== */

/* --- Breadcrumbs --- */

.lg-breadcrumbs {
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--lg-text-light);
    max-width: var(--lg-container);
    margin: 0 auto;
}

.lg-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.lg-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lg-breadcrumbs__separator {
    color: var(--lg-border);
    user-select: none;
}

.lg-breadcrumbs a {
    color: var(--lg-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lg-breadcrumbs a:hover {
    color: var(--lg-primary);
}

.lg-breadcrumbs__item--current {
    color: var(--lg-text);
    font-weight: 500;
}

/* --- 404 Page --- */

.lg-404 {
    padding: calc(var(--lg-header-height) + 4rem) var(--lg-container-padding) 5rem;
    text-align: center;
    background: var(--lg-bg-light);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-404__inner {
    max-width: 640px;
    margin: 0 auto;
}

.lg-404__code {
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lg-primary);
    margin: 0 0 0.5rem;
    opacity: 0.15;
    letter-spacing: -0.04em;
}

.lg-404__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lg-text);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.lg-404__description {
    font-size: 1.125rem;
    color: var(--lg-text-light);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.lg-404__search {
    max-width: 420px;
    margin: 0 auto 2rem;
}

.lg-404__search .search-form {
    display: flex;
    gap: 0.5rem;
}

.lg-404__search .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--lg-border);
    border-radius: var(--lg-radius);
    font-size: 1rem;
    transition: border-color var(--lg-transition-fast);
    background: var(--lg-white);
}

.lg-404__search .search-field:focus {
    outline: none;
    border-color: var(--lg-primary);
}

.lg-404__search .search-submit {
    padding: 0.75rem 1.25rem;
    background: var(--lg-primary);
    color: var(--lg-white);
    border: 2px solid var(--lg-primary);
    border-radius: var(--lg-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--lg-transition-fast);
}

.lg-404__search .search-submit:hover {
    background: var(--lg-primary-dark);
    border-color: var(--lg-primary-dark);
}

.lg-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.lg-404__links-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lg-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

.lg-404__links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.lg-404__links a {
    font-size: 0.9375rem;
    color: var(--lg-primary);
    font-weight: 500;
    transition: color var(--lg-transition-fast);
}

.lg-404__links a:hover {
    color: var(--lg-primary-dark);
    text-decoration: underline;
}

.lg-404__phone {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lg-border);
}

.lg-404__phone p {
    margin: 0;
    font-size: 1rem;
    color: var(--lg-text-light);
}

.lg-404__phone a {
    font-weight: 700;
    color: var(--lg-primary);
    transition: color var(--lg-transition-fast);
}

.lg-404__phone a:hover {
    color: var(--lg-primary-dark);
}

@media (min-width: 768px) {
    .lg-404 {
        padding: calc(var(--lg-header-height) + 5rem) var(--lg-container-padding) 6rem;
    }

    .lg-404__code {
        font-size: 10rem;
    }

    .lg-404__title {
        font-size: 2.5rem;
    }
}

/* --- Share Buttons --- */

.lg-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lg-share-buttons__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lg-text);
    margin-right: 0.25rem;
}

.lg-share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lg-bg-light);
    color: var(--lg-text-light);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.lg-share-buttons a:hover {
    background: var(--lg-primary);
    color: var(--lg-white);
}

.lg-share-buttons svg {
    width: 18px;
    height: 18px;
}

/* --- Inline SVG icon sizing --- */

.lg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* --- Skip Link (Accessibility) --- */

.lg-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: var(--lg-primary);
    color: var(--lg-white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--lg-radius) var(--lg-radius);
}

.lg-skip-link:focus {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    clip: auto;
}

/* ==========================================================================
   10. Utility Classes
   ========================================================================== */

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

.lg-text-center { text-align: center; }
.lg-text-left   { text-align: left; }
.lg-text-right  { text-align: right; }

.lg-hidden-desktop { display: block; }
.lg-hidden-mobile  { display: none; }

.lg-mb-1 { margin-bottom: 0.5rem; }
.lg-mb-2 { margin-bottom: 1rem; }
.lg-mb-3 { margin-bottom: 1.5rem; }
.lg-mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   11. Responsive Breakpoints
   ========================================================================== */

/* --- Tablet: 768px --- */
@media (min-width: 768px) {
    .lg-container {
        padding-inline: 2rem;
    }

    .lg-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .lg-header__phone {
        display: flex;
    }

    .lg-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    /* Reset mobile footer centering */
    .lg-footer__column {
        text-align: left;
        padding: 0;
        border-bottom: none;
    }

    .lg-footer__column:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }

    .lg-footer__column:nth-child(3) {
        padding-left: 0;
    }

    .lg-footer__heading::after {
        left: 0;
        transform: none;
    }

    .lg-footer__links li a {
        justify-content: flex-start;
    }

    .lg-footer__contact-item {
        justify-content: flex-start;
    }

    .lg-footer__cta {
        display: inline-flex;
        width: auto;
    }

    .lg-footer__about {
        max-width: none;
    }

    .lg-footer__subfooter {
        margin-bottom: 0;
    }

    .lg-footer__subfooter-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .lg-emergency-strip__inner {
        flex-direction: row;
        gap: 1.5rem;
    }

    .lg-emergency-strip__content {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .lg-emergency-strip__phone {
        font-size: 2rem;
    }

    .lg-related-posts__grid {
        grid-template-columns: 1fr 1fr;
    }

    .lg-post__title {
        font-size: 2.25rem;
    }

    /* Hide sticky CTA on tablet and up */
    .lg-sticky-cta {
        display: none;
    }

    .lg-hidden-mobile {
        display: block;
    }
}

/* --- Desktop: 1024px --- */
@media (min-width: 1024px) {
    .lg-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .lg-header__main {
        display: flex;
    }

    .lg-header__nav {
        display: flex;
    }

    .lg-header__cta {
        display: inline-flex;
    }

    .lg-hamburger,
    .lg-header__hamburger,
    .lg-header__mobile {
        display: none;
    }

    .lg-footer__inner {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 3rem;
    }

    .lg-related-posts__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg-hidden-desktop {
        display: none;
    }
}

/* --- Wide: 1280px --- */
@media (min-width: 1280px) {
    .lg-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .lg-footer__inner {
        gap: 3.5rem;
    }

    .lg-post {
        padding: 3rem 1rem;
    }
}

/* ==========================================================================
   12. v2.0 — Anthracite + Glass refinement layer (mobile-first)
   Appended over the v1 base. Restyles core components and adds the new
   home-page sections used by front-page.php.
   ========================================================================== */

/* ---- Base polish ---- */
body { font-feature-settings: "kern", "liga"; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.lg-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.lg-container { max-width: var(--lg-container); }

.lg-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--lg-accent-dark);
}
.lg-section-head { max-width: 56ch; margin: 0 auto clamp(1.75rem, 4vw, 3rem); text-align: center; }
.lg-section-head p { color: var(--lg-text-light); font-size: 1.05rem; }

/* ---- Buttons (modern, larger touch targets) ---- */
.lg-btn, .lordglazing-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--lg-radius-full);
    font-weight: 700; font-size: 1rem; line-height: 1; text-align: center;
    transition: transform var(--lg-transition-fast), box-shadow var(--lg-transition-base), background var(--lg-transition-base);
    cursor: pointer; border: 2px solid transparent;
}
.lg-btn--primary, .lordglazing-btn--primary, .lg-btn-primary {
    background: var(--lg-grad-accent); color: #06222a; box-shadow: var(--lg-shadow-accent);
}
.lg-btn--primary:hover, .lordglazing-btn--primary:hover, .lg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,180,212,.42); }
.lg-btn--accent { background: var(--lg-grad-accent); color: #06222a; box-shadow: var(--lg-shadow-accent); }
.lg-btn--outline, .lordglazing-btn--outline, .lg-btn-ghost {
    background: transparent; border-color: currentColor; color: var(--lg-primary);
}
.lg-btn--outline:hover, .lordglazing-btn--outline:hover { background: var(--lg-primary); color: #fff; border-color: var(--lg-primary); }
.lordglazing-btn--secondary { background: var(--lg-primary); color: #fff; }
.lordglazing-btn--secondary:hover { background: var(--lg-primary-dark); transform: translateY(-2px); }
.lg-btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.0625rem; }

/* ---- Header: glassy sticky ---- */
.lg-header { z-index: var(--lg-z-header); transition: transform var(--lg-transition-base); }
/* Sticky only when the admin "Sticky header" option is on (data-sticky="1") */
.lg-header[data-sticky="1"] { position: sticky; top: 0; }
.lg-header__main {
    display: none; /* hidden on mobile, shown at 1024px */
    align-items: center; justify-content: space-between; gap: 1rem;
    max-width: var(--lg-container); margin-inline: auto;
    padding: .75rem var(--lg-container-padding); min-height: var(--lg-header-height);
    background: var(--lg-hb-bg); color: var(--lg-hb-text);
}
/* Glass blur once the JS marks the header sticky (class: lg-header--sticky) */
.lg-header--sticky .lg-header__main,
.lg-header--sticky .lg-header__mobile-bar {
    background: var(--lg-hb-sticky-bg);
    -webkit-backdrop-filter: blur(var(--lg-glass-blur)); backdrop-filter: blur(var(--lg-glass-blur));
    box-shadow: var(--lg-hb-sticky-shadow);
}
.lg-header__logo-img { height: var(--lg-hb-logo-height); width: auto; }
.lg-header__site-title { font-family: var(--lg-font-heading); font-weight: 800; font-size: 1.4rem; color: var(--lg-hb-text); }
.lg-header__nav { display: none; }
.lg-header__menu { display: flex; align-items: center; gap: .35rem; }
.lg-header__menu a { display: inline-flex; align-items: center; padding: .55rem .85rem; border-radius: var(--lg-radius); font-weight: 600; color: var(--lg-hb-text); transition: background var(--lg-transition-fast), color var(--lg-transition-fast); }
.lg-header__menu a:hover { background: var(--lg-gray-100); color: var(--lg-hb-accent); }
.lg-header__menu .current-menu-item > a { color: var(--lg-hb-accent); }
.lg-header__actions { display: none; align-items: center; gap: .75rem; }
.lg-header__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--lg-hb-text); }
.lg-header__phone:hover { color: var(--lg-hb-accent); }
@media (min-width: 1024px) {
    .lg-header__main { display: flex; }
    .lg-header__nav { display: block; }
    .lg-header__actions { display: flex; }
    .lg-header__hamburger, .lg-header__mobile { display: none !important; }
}

/* Topbar */
.lg-topbar { color: var(--lg-hb-topbar-text); font-size: .85rem; }
.lg-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; max-width: var(--lg-container); margin-inline: auto; padding: .45rem var(--lg-container-padding); }
.lg-topbar__text { font-weight: 600; }
.lg-topbar__actions { display: flex; gap: 1rem; }
.lg-topbar__link { display: inline-flex; align-items: center; gap: .35rem; color: inherit; font-weight: 700; opacity: .95; }
.lg-topbar__link:hover { color: var(--lg-accent-light); }
.lg-topbar__close { color: inherit; opacity: .6; margin-left: auto; }
@media (max-width: 600px) { .lg-topbar__text { font-size: .78rem; flex: 1 1 100%; text-align: center; } .lg-topbar__close { position: absolute; right: .75rem; } .lg-topbar__inner { position: relative; } }

/* Hamburger */
.lg-header__hamburger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; }
.lg-header__hamburger-bar { width: 26px; height: 2px; background: var(--lg-hb-text); border-radius: 2px; transition: transform var(--lg-transition-fast), opacity var(--lg-transition-fast); }

/* ---- HERO ---- */
.lg-hero {
    position: relative; color: #fff; overflow: hidden;
    background: var(--lg-grad-anthracite);
}
.lg-hero__bg { position: absolute; inset: 0; z-index: 0; }
.lg-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.lg-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17,24,31,.55) 0%, rgba(17,24,31,.82) 100%); }
.lg-hero__inner { position: relative; z-index: 2; max-width: var(--lg-container); margin-inline: auto; padding: clamp(3rem, 9vw, 6.5rem) var(--lg-container-padding); }
.lg-hero__content { max-width: 720px; }
.lg-hero .lg-eyebrow { color: var(--lg-accent-light); }
.lg-hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .5rem; }
.lg-hero__subtitle { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #d7dee4; margin-bottom: 1.75rem; max-width: 60ch; }
.lg-hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }
.lg-hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.lg-hero__chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: var(--lg-radius-full);
    background: var(--lg-glass-bg-dark); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .85rem; font-weight: 600; color: #eef3f6; }
.lg-hero__chip svg { color: var(--lg-accent-light); }

/* ---- Trust bar ---- */
.lg-trustbar { background: var(--lg-bg-light); border-bottom: 1px solid var(--lg-border); }
.lg-trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2.5rem; max-width: var(--lg-container); margin-inline: auto; padding: 1rem var(--lg-container-padding); }
.lg-trustbar__item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--lg-primary); font-size: .95rem; }
.lg-trustbar__item svg { color: var(--lg-accent); width: 22px; height: 22px; }

/* ---- Service groups + cards ---- */
.lg-service-group { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.lg-service-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--lg-border); }
.lg-service-group__head h3 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.lg-service-group__head a { font-weight: 700; color: var(--lg-accent-dark); white-space: nowrap; }
.lordglazing-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.lordglazing-service-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-lg);
    box-shadow: var(--lg-shadow-sm); transition: transform var(--lg-transition-base), box-shadow var(--lg-transition-base), border-color var(--lg-transition-base);
}
.lordglazing-service-card:hover { transform: translateY(-6px); box-shadow: var(--lg-shadow-lg); border-color: var(--lg-accent-light); }
.lordglazing-service-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lg-gray-100); }
.lordglazing-service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--lg-transition-slow); }
.lordglazing-service-card:hover .lordglazing-service-card__image img { transform: scale(1.06); }
.lordglazing-service-card__content { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.lordglazing-service-card__title { font-size: 1.15rem; margin: 0; }
.lordglazing-service-card__title a { color: var(--lg-primary); }
.lordglazing-service-card__title a:hover { color: var(--lg-accent-dark); }
.lordglazing-service-card__description { color: var(--lg-text-light); font-size: .95rem; margin: 0; }
.lordglazing-service-card__price { margin-top: auto; font-weight: 800; color: var(--lg-accent-dark); }
.lordglazing-service-card__icon { position: absolute; top: .75rem; left: .75rem; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--lg-radius); background: var(--lg-glass-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--lg-primary); box-shadow: var(--lg-shadow-sm); }
.lordglazing-service-card__link { position: absolute; inset: 0; z-index: 3; text-indent: -9999px; }

/* ---- Stats ---- */
.lg-stats { background: var(--lg-grad-anthracite); color: #fff; }
.lg-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; max-width: var(--lg-container); margin-inline: auto; padding: clamp(2.5rem,6vw,4rem) var(--lg-container-padding); text-align: center; }
.lg-stat__num { font-family: var(--lg-font-heading); font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); color: var(--lg-accent-light); line-height: 1; }
.lg-stat__label { margin-top: .4rem; color: #c7d0d7; font-weight: 600; font-size: .95rem; }
@media (min-width: 768px) { .lg-stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Process ---- */
.lg-process__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.lg-process__step { position: relative; background: #fff; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-lg); padding: 1.5rem 1.25rem; box-shadow: var(--lg-shadow-sm); }
.lg-process__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--lg-radius-full); background: var(--lg-grad-accent); color: #06222a; font-weight: 800; margin-bottom: .75rem; }
.lg-process__step h4 { margin: 0 0 .35rem; }
.lg-process__step p { color: var(--lg-text-light); margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .lg-process__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lg-process__grid { grid-template-columns: repeat(4,1fr); } }

/* ---- Portfolio teaser ---- */
.lg-portfolio-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.lg-portfolio-item { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--lg-radius-lg); background: var(--lg-gray-100); }
.lg-portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--lg-transition-slow); }
.lg-portfolio-item:hover img { transform: scale(1.07); }
.lg-portfolio-item__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; background: linear-gradient(transparent, rgba(11,16,20,.85)); color: #fff; font-weight: 700; font-size: .9rem; opacity: 0; transition: opacity var(--lg-transition-base); }
.lg-portfolio-item:hover .lg-portfolio-item__cap { opacity: 1; }
@media (min-width: 768px) { .lg-portfolio-grid { grid-template-columns: repeat(4,1fr); } }

/* ---- Reviews ---- */
.lg-reviews-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.lg-review-card { background: #fff; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-lg); padding: 1.5rem; box-shadow: var(--lg-shadow-sm); display: flex; flex-direction: column; gap: .85rem; }
.lg-review-card__stars { color: #f5b301; font-size: 1.05rem; letter-spacing: 2px; }
.lg-review-card__text { color: var(--lg-text); font-size: 1rem; }
.lg-review-card__author { margin-top: auto; font-weight: 700; color: var(--lg-primary); }
.lg-review-card__meta { color: var(--lg-text-light); font-size: .85rem; font-weight: 600; }
@media (min-width: 640px) { .lg-reviews-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lg-reviews-grid { grid-template-columns: repeat(3,1fr); } }

/* ---- Areas ---- */
.lg-areas-cloud { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 900px; margin-inline: auto; }
.lg-areas-cloud a { padding: .5rem 1rem; border-radius: var(--lg-radius-full); border: 1px solid var(--lg-border); background: #fff; font-weight: 600; color: var(--lg-primary); transition: all var(--lg-transition-fast); }
.lg-areas-cloud a:hover { background: var(--lg-primary); color: #fff; border-color: var(--lg-primary); }

/* ---- CTA band ---- */
.lg-cta-band { background: var(--lg-grad-accent); color: #06222a; }
.lg-cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; max-width: var(--lg-container); margin-inline: auto; padding: clamp(2rem,5vw,3rem) var(--lg-container-padding); }
.lg-cta-band h2 { color: #06222a; margin: 0 0 .25rem; }
.lg-cta-band p { color: #07333d; margin: 0; font-weight: 600; }
.lg-cta-band .lg-btn--primary, .lg-cta-band .lg-btn-primary { background: var(--lg-primary); color: #fff; box-shadow: var(--lg-shadow-md); }
.lg-cta-band .lg-btn--outline { color: #06222a; border-color: #06222a; }

/* ---- Single service page ---- */
.lordglazing-service-content__hero { position: relative; color: #fff; background: var(--lg-grad-anthracite); padding: clamp(2.5rem,7vw,4.5rem) 0; overflow: hidden; }
.lordglazing-service-content__hero img.lg-svc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: 0; }
.lordglazing-service-content__hero > * { position: relative; z-index: 1; }
.lordglazing-service-content__title { color: #fff; }
.lordglazing-service-content__price { display: inline-block; margin-top: .5rem; padding: .4rem 1rem; border-radius: var(--lg-radius-full); background: var(--lg-glass-bg-dark); border: 1px solid rgba(255,255,255,.2); font-weight: 800; }
.lordglazing-service-content__body { max-width: 760px; margin-inline: auto; padding-block: clamp(2rem,5vw,3rem); }
.lordglazing-service-content__body img { border-radius: var(--lg-radius-lg); }
.lordglazing-service-content__body h2 { margin-top: 2rem; }
.lordglazing-service-content__cta { text-align: center; padding-bottom: 3rem; }

/* Service gallery + features */
.lg-svc-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; margin: 1.5rem 0; }
.lg-svc-gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--lg-radius); }
.lg-svc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--lg-transition-slow); }
.lg-svc-gallery a:hover img { transform: scale(1.06); }
@media (min-width: 768px) { .lg-svc-gallery { grid-template-columns: repeat(3,1fr); } }
.lg-feature-list { display: grid; gap: .6rem; margin: 1.25rem 0; padding: 0; }
.lg-feature-list li { display: flex; align-items: flex-start; gap: .6rem; padding-left: 0; }
.lg-feature-list li::before { content: "✓"; color: var(--lg-accent-dark); font-weight: 800; }

/* ---- Footer polish ---- */
/* __main is a full-width band; __inner is the centered grid that holds the columns. */
.lg-footer { background: var(--lg-fb-bg); color: var(--lg-fb-text); }
.lg-footer__main { display: block; width: 100%; padding: clamp(2.5rem,6vw,4rem) 0; }
.lg-footer__inner { width: 100%; max-width: var(--lg-container); margin-inline: auto; padding-inline: var(--lg-container-padding); display: grid; gap: 2rem; grid-template-columns: 1fr; }
.lg-footer__heading { color: var(--lg-fb-heading); font-size: 1.05rem; margin-bottom: 1rem; }
.lg-footer__brand-name { color: var(--lg-fb-heading); font-family: var(--lg-font-heading); font-weight: 800; font-size: 1.5rem; display: inline-block; }
.lg-footer__about { color: var(--lg-fb-text); }
.lg-footer__links { display: flex; flex-direction: column; gap: .5rem; }
.lg-footer__links a, .lg-footer__contact-item { color: var(--lg-fb-link); }
.lg-footer__links a:hover { color: var(--lg-fb-link-hover); }
.lg-footer__contact-item { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; }
.lg-footer__contact-item svg { color: var(--lg-fb-accent); flex-shrink: 0; margin-top: 2px; }
.lg-footer__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .8rem 1.4rem; border-radius: var(--lg-radius-full); background: var(--lg-grad-accent); color: #06222a; font-weight: 800; }
@media (min-width: 600px) { .lg-footer__inner { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lg-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 2.5rem; align-items: start; } }

/* ---- Sticky mobile CTA + whatsapp float ---- */
.lg-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--lg-z-sticky-cta); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; background: var(--lg-glass-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--lg-border); box-shadow: 0 -4px 20px rgba(17,24,31,.12); }
.lg-sticky-cta__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .9rem .5rem; font-weight: 800; min-height: 56px; color: var(--lg-primary); font-size: .95rem; }
.lg-sticky-cta__btn--call { color: var(--lg-primary); }
.lg-sticky-cta__btn--whatsapp { background: #25d366; color: #fff; }
.lg-sticky-cta__btn--quote { background: var(--lg-grad-accent); color: #06222a; }
.lg-sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; font-weight: 800; min-height: 56px; }
.lg-sticky-cta a:first-child { color: var(--lg-primary); }
.lg-sticky-cta a:last-child { background: var(--lg-grad-accent); color: #06222a; }
@media (min-width: 1024px) { .lg-sticky-cta { display: none; } body { padding-bottom: 0 !important; } }
@media (max-width: 1023px) { body { padding-bottom: 56px; } }
.lg-whatsapp-float { position: fixed; right: 1rem; bottom: 72px; z-index: var(--lg-z-sticky-cta); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: var(--lg-shadow-lg); }
@media (min-width: 1024px) { .lg-whatsapp-float { bottom: 1.5rem; } }

/* ---- Emergency strip ---- */
.lg-emergency-strip { background: var(--lg-fb-emergency-bg); color: var(--lg-fb-emergency-text); }
.lg-emergency-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; max-width: var(--lg-container); margin-inline: auto; padding: 1.25rem var(--lg-container-padding); text-align: center; }
.lg-emergency-strip__btn { background: #fff; color: var(--lg-emergency); padding: .7rem 1.4rem; border-radius: var(--lg-radius-full); font-weight: 800; }
.lg-emergency-strip__btn--whatsapp { background: #25d366; color: #fff; }

/* ---- Generic page hero/content ---- */
.lg-page { padding-block: clamp(2rem,5vw,3.5rem); }
.lordglazing-page-content { max-width: 820px; margin-inline: auto; padding-inline: var(--lg-container-padding); }

/* ---- Fix: legacy .lordglazing-container centering (used by single-service & CPT templates) ---- */
.lordglazing-container { width: 100%; max-width: var(--lg-container); margin-inline: auto; padding-inline: var(--lg-container-padding); }
.lordglazing-service-content__hero .lordglazing-container { position: relative; z-index: 1; }
.lordglazing-service-content__hero .lordglazing-breadcrumbs { margin-bottom: .75rem; }
.lordglazing-service-content__hero .lordglazing-breadcrumbs a,
.lordglazing-service-content__hero .lordglazing-breadcrumbs { color: rgba(255,255,255,.75); }
/* Related-projects section heading + grid align with body width */
.lordglazing-service-content__body + .lg-section,
.lordglazing-single-service .lg-section { max-width: var(--lg-container); margin-inline: auto; }

/* ---- Video gallery ---- */
.lg-video-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lg-video-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lg-video-grid { grid-template-columns: repeat(2,1fr); max-width: 1000px; margin-inline: auto; } }
.lg-video video { max-height: 540px; }
.lg-video { margin: 0; background: #0b1014; border-radius: var(--lg-radius-lg); overflow: hidden; box-shadow: var(--lg-shadow-sm); border: 1px solid var(--lg-border); }
.lg-video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #0b1014; }
.lg-video figcaption { padding: .7rem .9rem; font-weight: 600; color: var(--lg-text); font-size: .9rem; background: #fff; }

/* ---- Home FAQ accordion ---- */
.lg-faq { display: grid; gap: .75rem; }
.lg-faq__item { background: #fff; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-lg); box-shadow: var(--lg-shadow-sm); overflow: hidden; }
.lg-faq__item[open] { border-color: var(--lg-accent-light); }
.lg-faq__q { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; color: var(--lg-primary); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lg-faq__q::-webkit-details-marker { display: none; }
.lg-faq__q::after { content: "+"; font-size: 1.4rem; color: var(--lg-accent-dark); line-height: 1; flex-shrink: 0; }
.lg-faq__item[open] .lg-faq__q::after { content: "\2212"; }
.lg-faq__a { padding: 0 1.2rem 1.1rem; color: var(--lg-text-light); }
.lg-faq__a p { margin: 0 0 .6rem; }

/* ---- Home SEO prose blocks ---- */
.lg-prose { max-width: 880px; margin-inline: auto; }
.lg-prose p { color: var(--lg-text-light); margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.75; }
.lg-prose a { color: var(--lg-accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lg-prose h3 { margin: 1.5rem 0 .5rem; }

/* ---- Home area cards ---- */
.lg-area-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .lg-area-cards { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lg-area-cards { grid-template-columns: repeat(3,1fr); } }
.lg-area-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lg-border); border-radius: var(--lg-radius-lg); overflow: hidden; box-shadow: var(--lg-shadow-sm); transition: transform var(--lg-transition-base), box-shadow var(--lg-transition-base), border-color var(--lg-transition-base); }
.lg-area-card:hover { transform: translateY(-6px); box-shadow: var(--lg-shadow-lg); border-color: var(--lg-accent-light); }
.lg-area-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lg-gray-100); }
.lg-area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--lg-transition-slow); }
.lg-area-card:hover .lg-area-card__media img { transform: scale(1.06); }
.lg-area-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 38%, rgba(11,16,20,.78)); }
.lg-area-card__name { position: absolute; left: 1rem; bottom: .8rem; z-index: 2; color: #fff; font-family: var(--lg-font-heading); font-weight: 800; font-size: 1.3rem; margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.lg-area-card__badge { position: absolute; top: .7rem; left: .7rem; z-index: 2; background: var(--lg-glass-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--lg-primary); font-weight: 700; font-size: .72rem; padding: .32rem .65rem; border-radius: var(--lg-radius-full); display: inline-flex; align-items: center; gap: .3rem; box-shadow: var(--lg-shadow-sm); }
.lg-area-card__badge svg { width: 14px; height: 14px; color: var(--lg-accent-dark); }
.lg-area-card__body { padding: 1.05rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.lg-area-card__boroughs { color: var(--lg-text-light); font-size: .92rem; margin: 0; line-height: 1.5; }
.lg-area-card__cta { margin-top: auto; font-weight: 800; color: var(--lg-accent-dark); display: inline-flex; align-items: center; gap: .35rem; }

/* ---- Fix: dropdown submenu hover bridge (prevents flicker/close across the gap) ---- */
.lg-header__nav .sub-menu { top: calc(100% + 8px); z-index: calc(var(--lg-z-header) + 5); }
/* Transparent bridge spanning the visual gap so li:hover never drops between link and dropdown */
.lg-header__nav .menu-item-has-children > .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 12px;
    background: transparent;
}
/* Make the whole parent item area keep the dropdown open while open */
.lg-header__nav .menu-item-has-children:hover > .sub-menu,
.lg-header__nav .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* hide empty paragraphs left by wpautop around section shortcodes */
.entry-content p:empty, .lordglazing-single-service > p:empty, p:empty { display: none; }

/* ==========================================================================
   13. Elementor compatibility — let our shortcode sections render edge-to-edge
   ========================================================================== */
.elementor-section.lg-fullbleed { padding: 0 !important; }
.elementor-section.lg-fullbleed > .elementor-container { max-width: 100% !important; padding: 0 !important; }
.elementor-section.lg-fullbleed .elementor-column,
.elementor-section.lg-fullbleed .elementor-column > .elementor-element-populated,
.elementor-section.lg-fullbleed .elementor-widget-wrap { padding: 0 !important; }
.elementor-section.lg-fullbleed .elementor-widget:not(:last-child) { margin-block-end: 0 !important; }
.elementor-section.lg-fullbleed .elementor-widget-shortcode,
.elementor-section.lg-fullbleed .elementor-widget-container { width: 100%; }
/* Readable text body on service pages (boxed section) */
.elementor-widget-html .lordglazing-service-content__body { max-width: 820px; margin-inline: auto; }
/* Remove the small default gap Elementor adds above the first section so the hero sits flush under the header */
.elementor-page .elementor-section:first-child { margin-top: 0; }

/* Full-bleed: target Elementor's stretched sections (our shortcode sections) */
.elementor-section.elementor-section-stretched { padding: 0 !important; }
.elementor-section.elementor-section-stretched > .elementor-container { max-width: 100% !important; padding: 0 !important; }
.elementor-section.elementor-section-stretched .elementor-column > .elementor-element-populated,
.elementor-section.elementor-section-stretched .elementor-widget-wrap { padding: 0 !important; }
.elementor-section.elementor-section-stretched .elementor-widget:not(:last-child) { margin-block-end: 0 !important; }

/* ==========================================================================
   14. Widget query controls — column override + portfolio filter bar
   ========================================================================== */
@media (min-width: 1024px) {
	.lordglazing-services-grid[style*="--lg-cols"],
	.lg-portfolio-grid[style*="--lg-cols"],
	.lg-reviews-grid[style*="--lg-cols"],
	.lg-process__grid[style*="--lg-cols"],
	.lg-area-cards[style*="--lg-cols"],
	.lg-stats__grid[style*="--lg-cols"],
	.lg-video-grid[style*="--lg-cols"],
	.lg-faq--cols { grid-template-columns: repeat(var(--lg-cols), 1fr) !important; }
}
.lg-pf-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.75rem; }
.lg-pf-filter__btn { padding: .45rem 1.05rem; border-radius: var(--lg-radius-full); border: 1px solid var(--lg-border); background: #fff; font-weight: 700; font-size: .9rem; color: var(--lg-primary); cursor: pointer; transition: background var(--lg-transition-fast), color var(--lg-transition-fast), border-color var(--lg-transition-fast); }
.lg-pf-filter__btn:hover { border-color: var(--lg-accent); }
.lg-pf-filter__btn.is-active { background: var(--lg-primary); color: #fff; border-color: var(--lg-primary); }
.lg-faq--cols { display: grid; gap: .75rem; }
