/* Wicked Edges by David: plain CSS for the service, location, FAQ, review and 404 pages, the shared
   footer, and the small additions on the homepage and blog. No build step: edit and upload.
   Palette matches assets/site.css (Tailwind build): blade-900 #064e3b, blade-800 #166534, edge-500 #0ea5e9. */

:root {
  --we-bg: #064e3b;
  --we-bg-2: #075e46;
  --we-panel: rgba(6, 78, 59, 0.72);
  --we-line: rgba(255, 255, 255, 0.12);
  --we-text: #ffffff;
  --we-soft: #dcfce7;
  --we-muted: #a7f3d0;
  --we-edge: #0ea5e9;
  --we-edge-2: #7dd3fc;   /* link blue: 4.5:1+ on every green background */
  --we-edge-dark: #0369a1;
  --we-radius: 18px;
  --we-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --we-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Page base (new pages only) ---------- */
body.we-page { margin: 0; background: var(--we-bg); color: var(--we-text); font-family: var(--we-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.we-page *, .we-page *::before, .we-page *::after { box-sizing: border-box; }
.we-page img { max-width: 100%; height: auto; display: block; }
.we-page a { color: var(--we-edge-2); }
.we-page a:hover { color: #fff; }
.we-page h1, .we-page h2, .we-page h3 { font-family: var(--we-display); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
.we-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.we-page h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-top: 1.6em; }
.we-page h3 { font-size: 1.25rem; }
.we-page p { margin: 0 0 1em; }
.we-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .we-wrap { padding: 0 24px; } }
.we-skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.we-skip:focus { left: 8px; top: 8px; }
.we-page :focus-visible, .we-btn:focus-visible { outline: 3px solid var(--we-edge-2); outline-offset: 2px; }

/* ---------- Header: a copy of the homepage header (wicked-edges-premium.php #navbar, scrolled state) ---------- */
.we-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 78, 59, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
/* Same widths as Tailwind's .container + px-6 on the homepage */
.we-header-wrap { width: 100%; margin: 0 auto; padding: 16px 24px; }
@media (min-width: 640px)  { .we-header-wrap { max-width: 640px; } }
@media (min-width: 768px)  { .we-header-wrap { max-width: 768px; } }
@media (min-width: 1024px) { .we-header-wrap { max-width: 1024px; } }
@media (min-width: 1280px) { .we-header-wrap { max-width: 1280px; } }
@media (min-width: 1536px) { .we-header-wrap { max-width: 1536px; } }
.we-header-row { display: flex; align-items: center; justify-content: space-between; }
.we-page .we-logo { text-decoration: none; display: block; font-family: var(--we-display); font-weight: 700;
  background: linear-gradient(135deg, #0369a1, #0ea5e9, #38bdf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.we-logo-main { display: block; font-size: 1.5rem; line-height: 2rem; }
.we-logo-sub { display: block; font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.we-nav { display: none; align-items: center; }
.we-nav > * + * { margin-left: 2rem; }
.we-page .we-nav a { color: #bbf7d0; text-decoration: none; font-size: 1rem; line-height: 1.5rem; transition: color .3s; }
.we-page .we-nav a:hover, .we-page .we-nav a.is-current { color: #0ea5e9; }
.we-page a.we-nav-book { background: #0ea5e9; color: #fff; padding: 12px 24px; border-radius: 9999px; font-weight: 600; transition: background .3s; }
.we-page a.we-nav-book:hover { background: #0284c7; color: #fff; }
.we-menu-btn { display: inline-flex; background: none; border: 0; color: #fff; padding: 4px; cursor: pointer; }
@media (min-width: 768px) { .we-nav { display: flex; } .we-menu-btn { display: none; } }
/* Mobile slide-in menu, same as the homepage's */
.we-mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 16rem; z-index: 40; transform: translateX(100%); transition: transform .3s ease-in-out;
  background: rgba(6, 78, 59, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-left: 1px solid rgba(255, 255, 255, 0.1); }
.we-mobile-menu.active { transform: translateX(0); }
.we-mobile-menu nav { display: flex; flex-direction: column; padding: 24px; margin-top: 80px; }
.we-mobile-menu nav > * + * { margin-top: 24px; }
.we-page .we-mobile-menu a { color: #bbf7d0; text-decoration: none; }
.we-page .we-mobile-menu a.we-nav-book { color: #fff; text-align: center; }
@media (min-width: 768px) { .we-mobile-menu { display: none; } }
@media (max-width: 560px) { .we-hide-sm { display: none !important; } }

/* ---------- Buttons ---------- */
.we-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--we-edge-dark); color: #fff !important; font-weight: 700; text-decoration: none; border: 2px solid var(--we-edge-dark); line-height: 1.2; font-size: .95rem; transition: background .2s, transform .2s; }
.we-btn:hover { background: #075985; border-color: #075985; }
.we-btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.we-btn-light { background: #fff; border-color: #fff; color: #064e3b !important; }
.we-btn-light:hover { background: #ecfdf5; border-color: #ecfdf5; }
.we-btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff !important; }
.we-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.we-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.we-link { color: var(--we-edge-2); font-weight: 600; text-decoration: none; }
.we-link:hover { text-decoration: underline; }

/* ---------- Sub-page hero + content ---------- */
.we-hero { padding: 48px 0 32px; background: linear-gradient(160deg, #022c22, #064e3b 55%, #14532d); border-bottom: 1px solid var(--we-line); }
.we-hero .we-lead { font-size: 1.15rem; color: var(--we-soft); max-width: 760px; }
.we-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 700; color: var(--we-edge-2); margin-bottom: 10px; }
.we-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--we-muted); }
.we-crumbs li + li::before { content: '›'; margin-right: 6px; opacity: .7; }
.we-crumbs a { color: var(--we-muted); text-decoration: none; }
.we-section { padding: 24px 0 8px; }
.we-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .we-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.we-prose { color: var(--we-soft); max-width: 760px; }
.we-prose strong { color: #fff; }
.we-list { padding-left: 1.2em; margin: 0 0 1em; }
.we-list li { margin-bottom: .45em; }
.we-card { background: var(--we-panel); border: 1px solid var(--we-line); border-radius: var(--we-radius); padding: 22px; }
.we-card h2, .we-card h3 { margin-top: 0; }
.we-card + .we-card { margin-top: 18px; }
.we-checks { list-style: none; padding: 0; margin: 0; }
.we-checks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--we-soft); }
.we-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--we-edge-2); font-weight: 800; }
.we-price { background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.35); border-radius: 12px; padding: 12px 14px; color: #fff; }
.we-photo { border-radius: var(--we-radius); overflow: hidden; border: 1px solid var(--we-line); margin-bottom: 18px; }
.we-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .we-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.we-steps li { counter-increment: step; background: var(--we-panel); border: 1px solid var(--we-line); border-radius: var(--we-radius); padding: 18px 18px 16px; }
.we-steps li::before { content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--we-edge); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.we-steps strong { display: block; color: #fff; margin-bottom: 4px; }
.we-steps span { color: var(--we-soft); font-size: .95rem; }
.we-muted { color: var(--we-muted); }

/* ---------- FAQ ---------- */
.we-faq details { background: var(--we-panel); border: 1px solid var(--we-line); border-radius: 14px; margin-bottom: 10px; }
.we-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #fff; list-style: none; position: relative; padding-right: 44px; }
.we-faq summary::-webkit-details-marker { display: none; }
.we-faq summary::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--we-edge-2); }
.we-faq details[open] summary::after { content: '–'; }
.we-faq-a { padding: 0 18px 6px; color: var(--we-soft); }

/* ---------- Testimonials on location pages ---------- */
.we-quotes { display: grid; gap: 14px; }
@media (min-width: 760px) { .we-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.we-quote { background: var(--we-panel); border: 1px solid var(--we-line); border-radius: var(--we-radius); padding: 18px; margin: 0; }
.we-quote p { color: var(--we-soft); font-style: italic; }
.we-quote footer { color: #fff; font-weight: 700; font-size: .95rem; }
.we-quote footer span { color: var(--we-muted); font-weight: 400; }
.we-stars { color: var(--we-edge-2); letter-spacing: 2px; }

/* ---------- CTA strip ---------- */
.we-cta { margin-top: 48px; padding: 48px 0; background: linear-gradient(135deg, #075e46, #022c22); border-top: 1px solid var(--we-line); text-align: center; }
.we-cta h2 { margin-top: 0; }
.we-cta p { color: var(--we-soft); max-width: 640px; margin: 0 auto 20px; }
.we-cta .we-btn-row { justify-content: center; }

/* ---------- Footer (every page) ---------- */
.we-footer { background: #053d2f; border-top: 1px solid var(--we-line); padding: 48px 0 28px; color: var(--we-muted); font-family: var(--we-sans); font-size: 15px; line-height: 1.6; }
.we-footer a { color: var(--we-soft); text-decoration: none; }
.we-footer a:hover { color: var(--we-edge-2); }
.we-footer ul { list-style: none; padding: 0; margin: 0; }
.we-footer li { margin-bottom: 8px; }
.we-footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .we-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.we-footer-brand { font-family: var(--we-display); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.we-footer-h { font-family: var(--we-sans) !important; font-size: 1rem !important; font-weight: 700; color: #fff; margin: 0 0 12px !important; }
.we-footer p { margin: 0 0 14px; }
.we-footer-copy { border-top: 1px solid var(--we-line); margin-top: 32px !important; padding-top: 20px; text-align: center; }
.we-social { display: flex; gap: 14px; margin-top: 14px; }
.we-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--we-line); color: #fff; }
.we-social a:hover { background: rgba(255,255,255,.08); color: var(--we-edge-2); }

/* ---------- Review buttons ---------- */
.we-review-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.we-center .we-review-cta { justify-content: center; }
.we-footer .we-review-cta .we-btn { font-size: .9rem; padding: 8px 14px; }

/* ---------- Homepage additions ---------- */
.we-center { text-align: center; margin-top: 8px; }
.we-review-ask { color: #dcfce7; font-size: 1.05rem; margin: 0 auto 6px; max-width: 640px; }
.we-hero-text-cta { margin: 22px 0 0; color: #dcfce7; font-size: 1.05rem; }
.we-hero-text-cta a { color: #7dd3fc; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.we-hero-text-cta a, .we-nowrap { white-space: nowrap; }
.we-hero-stats { display: grid; grid-template-columns: repeat(var(--we-cols, 3), minmax(0, 1fr)); gap: 32px; margin: 56px auto 0; max-width: 42rem; }
.we-card-link { display: inline-block; margin-top: 18px; color: #7dd3fc; font-weight: 700; text-decoration: none; }
.we-card-link:hover { color: #fff; }
.we-service-links { text-align: center; margin: 40px auto 0; max-width: 56rem; color: #dcfce7; padding: 0 16px; }
.we-service-links a { color: #7dd3fc; font-weight: 600; }
.we-stops { margin-top: 32px; background: rgba(6, 78, 59, 0.7); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 22px 24px; }
.we-stops h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; }
.we-stops ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
@media (min-width: 768px) { .we-stops ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.we-stops li { color: #dcfce7; }
.we-stops a, .we-town-list a { color: #7dd3fc; font-weight: 600; }
.we-stops .we-muted, .we-muted { color: #a7f3d0; }
.we-town-list { list-style: none; padding: 0; margin: 0; }

/* ---------- Blog ---------- */
.blog-content h2 { font-family: var(--we-display); font-size: 1.85rem; font-weight: 700; margin: 2rem 0 1rem; color: #fff; }
.blog-content h3 { font-family: var(--we-display); font-size: 1.4rem; font-weight: 700; margin: 1.5rem 0 .75rem; color: #fff; }
.blog-content p { color: #bbf7d0; line-height: 1.75; margin: 0 0 1rem; }
.blog-content ul, .blog-content ol { margin: 0 0 1rem 1.5rem; color: #bbf7d0; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: .5rem; }
.blog-content strong { font-weight: 700; color: #fff; }
.blog-content em { font-style: italic; }
.blog-content a { color: #7dd3fc; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.we-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; margin: 0 0 2rem; padding: 0; }
.we-yt.is-short { aspect-ratio: 9 / 16; max-width: 360px; margin-left: auto; margin-right: auto; }
.we-yt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); }
.we-yt-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; background: #ff0000; display: flex; align-items: center; justify-content: center; }
.we-yt-play::before { content: ''; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.we-yt-label { position: absolute; z-index: 2; left: 14px; bottom: 12px; color: #fff; font-weight: 700; font-size: .95rem; text-align: left; }
.we-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.we-related-services { margin: 2rem 0; padding: 1.25rem 1.5rem; border-radius: 16px; border: 1px solid rgba(14,165,233,.35); background: rgba(14,165,233,.08); color: #dcfce7; }
.we-related-services a { color: #7dd3fc; font-weight: 700; }
.we-draft-banner { background: #facc15; color: #111; text-align: center; padding: 10px 16px; font-weight: 700; position: relative; z-index: 60; }

/* ---------- Short-link / review / 404 pages ---------- */
.we-narrow { max-width: 640px; margin: 0 auto; text-align: center; padding: 56px 16px 24px; }
.we-narrow .we-btn-row { justify-content: center; flex-direction: column; align-items: stretch; max-width: 360px; margin: 24px auto 0; }

@media (prefers-reduced-motion: reduce) {
  .we-page *, .we-btn { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Testimonial cards size to their own text instead of all stretching to the longest review. */
#testimonialCarousel { align-items: flex-start; }

/* ---------- Blog list ---------- */
.we-blog-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .we-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .we-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.we-post-card { background: var(--we-panel); border: 1px solid var(--we-line); border-radius: var(--we-radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.we-post-card:hover { border-color: rgba(14,165,233,.6); transform: translateY(-2px); }
.we-post-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.we-page .we-post-link:hover { color: inherit; }
.we-post-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #075e46; }
.we-post-img img { width: 100%; height: 100%; object-fit: cover; }
.we-post-video { position: absolute; left: 10px; top: 10px; background: #c00000; color: #fff; font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.we-post-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.we-post-body h2 { font-size: 1.3rem !important; margin: 0 !important; color: #fff; }
.we-post-body p { color: var(--we-soft); margin: 0; font-size: .95rem; }
.we-post-body .we-link { margin-top: auto; padding-top: 8px; }
.we-post-date { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--we-edge-2) !important; margin: 0 0 8px; }

/* Homepage: skip rendering below-the-fold sections until they scroll near (big speed win on phones).
   contain-intrinsic-size "auto" remembers each section's real height once it has been shown. */
#services, #featured-work, #process, #testimonials, #schedule, #about, #booking, #contact, #map, #contact-form, .we-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}
