/* Site palette values are overridden in the site-specific child theme CSS. */
:root {
    --eclg-navy: #102c3c;
    --eclg-accent: #2f7d73;
    --eclg-accent-dark: #235e56;
    --eclg-cream: #f7f4ee;
    --eclg-white: #ffffff;
    --eclg-text: #1f2933;
    --eclg-muted: #5d6875;
    --eclg-border: #d8dee5;
    --eclg-focus: #ffbf47;
    --eclg-radius: 14px;
    --eclg-shadow: 0 10px 30px rgba(18,34,53,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--eclg-text); background: var(--eclg-white); font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height: 1.65; }
a { color: var(--eclg-accent-dark); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--eclg-focus); outline-offset: 3px; }

.eclg-shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 9999; padding: 10px 14px; background: var(--eclg-white); color: var(--eclg-navy); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--eclg-border); }
.eclg-header-inner { min-height: 76px; display: flex; align-items: center; gap: 18px; }
.eclg-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--eclg-navy); font-weight: 800; }
.eclg-brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--eclg-navy); color: var(--eclg-white); font-size: .78rem; letter-spacing: .04em; }
.eclg-brand-text { font-size: 1rem; }
.eclg-primary-nav { margin-left: auto; }
.eclg-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.eclg-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 11px; color: var(--eclg-navy); font-weight: 650; text-decoration: none; border-radius: 8px; }
.eclg-menu a:hover, .eclg-menu a:focus-visible { background: var(--eclg-cream); }
.eclg-menu > .menu-item { position: relative; }
.eclg-menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1100;
    min-width: 270px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--eclg-border);
    border-radius: 12px;
    background: var(--eclg-white);
    box-shadow: var(--eclg-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.eclg-menu .menu-item-has-children:hover > .sub-menu,
.eclg-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.eclg-menu .sub-menu a {
    width: 100%;
    min-height: 42px;
    white-space: nowrap;
}
.eclg-menu .menu-item-has-children > a::after {
    content: "▾";
    margin-left: 6px;
    font-size: .75em;
    line-height: 1;
}
.eclg-header-call, .wp-block-button__link, .eclg-cta-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 9px; background: var(--eclg-accent); color: var(--eclg-white) !important; font-weight: 800; text-decoration: none; }
.eclg-header-call:hover, .wp-block-button__link:hover, .eclg-cta-button:hover { background: var(--eclg-accent-dark); }
.eclg-menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 44px; border: 1px solid var(--eclg-border); border-radius: 8px; background: var(--eclg-white); color: var(--eclg-navy); }

.site-main { min-height: 60vh; }
.eclg-page-shell { padding-block: 28px 64px; }
.eclg-page-header { margin-bottom: 24px; }
.eclg-page-header h1 { margin: 0; max-width: 900px; color: var(--eclg-navy); font-size: clamp(2.25rem, 6vw, 4.8rem); line-height: 1.03; letter-spacing: -.035em; }
.eclg-content { font-size: 1.05rem; }
.eclg-content > * { max-width: 760px; }
.eclg-content > .alignwide { max-width: 1180px; }
.eclg-content h2 { margin-top: 2.7rem; color: var(--eclg-navy); font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.15; }
.eclg-content h3 { margin-top: 2rem; color: var(--eclg-navy); font-size: 1.35rem; }
.eclg-content table { width: 100%; border-collapse: collapse; }
.eclg-content th, .eclg-content td { padding: 12px 10px; border-bottom: 1px solid var(--eclg-border); text-align: left; vertical-align: top; }
.eclg-content details { border: 1px solid var(--eclg-border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: var(--eclg-white); }
.eclg-content summary { cursor: pointer; font-weight: 800; color: var(--eclg-navy); }

.eclg-breadcrumbs { margin-bottom: 22px; font-size: .92rem; color: var(--eclg-muted); }
.eclg-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.eclg-breadcrumbs li:not(:last-child)::after { content: '>'; margin-left: 7px; color: var(--eclg-muted); }
.eclg-breadcrumbs a { color: inherit; }

.eclg-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; max-width: 1180px !important; }
.eclg-card { padding: 22px; border: 1px solid var(--eclg-border); border-radius: var(--eclg-radius); background: var(--eclg-white); box-shadow: var(--eclg-shadow); }
.eclg-card h3 { margin-top: 0; }
.eclg-local-note { padding: 22px; border-left: 4px solid var(--eclg-accent); background: var(--eclg-cream); border-radius: 0 var(--eclg-radius) var(--eclg-radius) 0; }
.eclg-cta-band { max-width: 1180px !important; margin-top: 42px; padding: 30px; border-radius: 18px; background: var(--eclg-navy); color: var(--eclg-white); }
.eclg-cta-band h2 { color: var(--eclg-white); margin-top: 0; }

.site-footer { background: var(--eclg-navy); color: var(--eclg-white); padding: 48px 0 18px; }
.site-footer a { color: var(--eclg-white); }
.eclg-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.eclg-footer-title { color: var(--eclg-white); font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; }
.eclg-footer-menu { margin: 0; padding: 0; list-style: none; }
.eclg-footer-menu li { margin-bottom: 8px; }
.eclg-footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.eclg-mobile-call { display: none; }

@media (max-width: 899px) {
    .eclg-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .eclg-primary-nav { display: none; position: absolute; inset: 76px 16px auto; margin: 0; padding: 10px; border: 1px solid var(--eclg-border); border-radius: 12px; background: var(--eclg-white); box-shadow: var(--eclg-shadow); }
    .eclg-primary-nav.is-open { display: block; }
    .eclg-menu { display: block; }
    .eclg-menu a { width: 100%; }
    .eclg-menu .sub-menu {
        position: static;
        min-width: 0;
        margin: 2px 0 8px 14px;
        padding: 4px 0 4px 10px;
        border: 0;
        border-left: 2px solid var(--eclg-border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .eclg-menu .sub-menu a { min-height: 40px; white-space: normal; font-weight: 600; }
    .eclg-header-call { display: none; }
    .eclg-card-grid { grid-template-columns: 1fr; }
    .eclg-footer-grid { grid-template-columns: 1fr; }
    .eclg-mobile-call { position: fixed; right: 16px; bottom: 16px; z-index: 999; display: inline-flex; align-items: center; justify-content: center; min-width: 78px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--eclg-accent); color: var(--eclg-white); font-weight: 800; text-decoration: none; box-shadow: var(--eclg-shadow); }
}

@media (max-width: 560px) {
    .eclg-shell { width: min(100% - 22px, 1180px); }
    .eclg-brand-text { max-width: 180px; font-size: .92rem; }
    .eclg-page-shell { padding-top: 20px; }
}

.eclg-hero { padding: 64px 0 32px; background: linear-gradient(180deg,#f8fbfa 0%,#ffffff 100%); }
.eclg-hero-grid { display: grid; gap: 42px; align-items: center; }
.eclg-hero-copy h1 { margin: 0; max-width: 900px; color: var(--eclg-navy); font-size: clamp(2.6rem,7vw,5.7rem); line-height: .98; letter-spacing: -.045em; }
.eclg-eyebrow { margin: 0 0 10px; color: var(--eclg-accent-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eclg-hero-lead { max-width: 38ch; margin: 22px 0 0; color: var(--eclg-muted); font-size: 1.22rem; }
.eclg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.eclg-secondary-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 18px; border:2px solid var(--eclg-accent); border-radius:9px; color:var(--eclg-accent-dark); font-weight:800; text-decoration:none; }
.eclg-secondary-button:hover { background:var(--eclg-accent); color:#fff; }
.eclg-microcopy { max-width: 54ch; margin: 0; color: var(--eclg-muted); font-size: .95rem; }
.eclg-hero-visual { padding: 22px; border-radius: 24px; background: linear-gradient(145deg,#dfeeea,#f4efe6); box-shadow: var(--eclg-shadow); }
.eclg-room { position:relative; aspect-ratio:5/4; overflow:hidden; border-radius:16px; background:linear-gradient(to top,#d5b98d 0 23%,transparent 23%),#f7f1e7; }
.eclg-window { position:absolute; top:12%; left:10%; width:26%; height:30%; border:6px solid #fff; border-radius:6px; background:linear-gradient(180deg,#b9d8e8,#e0eef4); }
.eclg-sofa { position:absolute; left:45%; bottom:22%; width:42%; height:20%; border-radius:14px 14px 6px 6px; background:var(--eclg-accent); }
.eclg-box { position:absolute; bottom:22%; background:#c79a63; border-radius:4px; }
.eclg-box-one { left:9%; width:16%; height:17%; }
.eclg-box-two { left:14%; bottom:39%; width:12%; height:12%; }
.eclg-tag { position:absolute; padding:6px 10px; border-radius:6px; background:#fff; color:var(--eclg-navy); font-size:.72rem; font-weight:800; letter-spacing:.08em; box-shadow:0 3px 10px rgba(0,0,0,.12); }
.eclg-tag-keep { left:9%; bottom:49%; }
.eclg-tag-review { right:9%; bottom:46%; }
.eclg-tag-remove { right:28%; bottom:7%; color:var(--eclg-accent-dark); }
.eclg-trust { padding: 18px 0 28px; }
.eclg-trust-grid { display:grid; gap:14px; }
.eclg-trust-grid > div { padding:18px 20px; border-left:4px solid var(--eclg-accent); background:#fff; border-radius:0 10px 10px 0; box-shadow:0 6px 18px rgba(16,44,60,.06); }
.eclg-trust-grid strong, .eclg-trust-grid span { display:block; }
.eclg-trust-grid strong { color:var(--eclg-navy); }
.eclg-trust-grid span { color:var(--eclg-muted); font-size:.93rem; }
.eclg-home-section { padding: 64px 0; border-top:1px solid var(--eclg-border); }
.eclg-section-head { max-width:760px; margin-bottom:30px; }
.eclg-section-head h2, .eclg-home-section h2 { color:var(--eclg-navy); font-size:clamp(1.8rem,4vw,3rem); line-height:1.08; }
.eclg-section-head p:last-child { color:var(--eclg-muted); }
.eclg-card a { font-weight:800; }
.eclg-soft-section { background:var(--eclg-cream); }
.eclg-split-grid { display:grid; gap:30px; }
.eclg-checklist { list-style:none; margin:0; padding:0; }
.eclg-checklist li { position:relative; padding:7px 0 7px 30px; }
.eclg-checklist li::before { content:"✓"; position:absolute; left:0; top:6px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; background:var(--eclg-accent); color:#fff; font-size:.78rem; font-weight:900; }
.eclg-callout { padding:26px; border:1px solid var(--eclg-border); border-radius:16px; background:#fff; box-shadow:var(--eclg-shadow); }
.eclg-callout h3 { margin-top:0; color:var(--eclg-navy); }
.eclg-steps { display:grid; gap:16px; }
.eclg-step { padding:24px; border:1px solid var(--eclg-border); border-radius:14px; background:#fff; }
.eclg-step > span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--eclg-accent); color:#fff; font-weight:900; }
.eclg-step h3 { color:var(--eclg-navy); }
.eclg-faq-section details { max-width:820px; }
.eclg-final-cta { display:flex; flex-direction:column; gap:22px; justify-content:space-between; align-items:flex-start; padding:30px; border-radius:18px; background:var(--eclg-navy); color:#fff; }
.eclg-final-cta h2 { margin:0; color:#fff; }
.eclg-final-cta .eclg-eyebrow { color:#9dd8cf; }

@media (min-width: 640px) {
    .eclg-trust-grid { grid-template-columns: repeat(3,1fr); }
    .eclg-steps { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 900px) {
    .eclg-hero-grid { grid-template-columns: 1.08fr .92fr; }
    .eclg-split-grid { grid-template-columns: 1.15fr .85fr; gap:48px; }
    .eclg-steps { grid-template-columns: repeat(4,1fr); }
    .eclg-final-cta { flex-direction:row; align-items:center; }
}
@media (max-width: 899px) {
    .eclg-hero { padding-top:42px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
