/*
Theme Name: Window Supply Co. Residential
Theme URI: https://windowsupplyco.co/
Author: Window Supply Co.
Author URI: https://windowsupplyco.co/
Description: Homeowner-focused Residential Daylight WordPress theme for Window Supply Co. (Salem, OR). Features an airy sunlit white & warm-alabaster palette, 60fps GPU Seedy-Reamy-Satin-Etch obscure glass motion background, built-in full-view photo lightbox (excluding before/after sliders), automatic Dark-to-Daylight legacy card conversion across all pages, and mobile-first Core Web Vitals optimization.
Version: 1.4.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: window-supply-co-residential
*/

:root {
  --wsc-orange: #FF6600;
  --wsc-orange-hover: #e55800;
  --wsc-orange-soft: #FFF4EC;
  --wsc-slate-deep: #142230;
  --wsc-slate-accent: #1e3547;
  --wsc-glass-teal: #4c7c8c;
  --wsc-dark: #111827;
  --wsc-charcoal: #1e293b;
  --wsc-text: #334155;
  --wsc-text-muted: #64748b;
  --wsc-bg-light: #f4f7fb;
  --wsc-bg-surface: #ffffff;
  --wsc-bg-subtle: #f8fafc;
  --wsc-border: #e2e8f0;
  --wsc-card-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --wsc-card-shadow-hover: 0 18px 38px rgba(15, 23, 42, 0.11);
  --wsc-font: 'Nunito Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset - Mobile-First & Touch-Optimized */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 102, 0, 0.12);
}

body.wsc-theme-body {
  margin: 0;
  padding: 0;
  font-family: var(--wsc-font);
  color: var(--wsc-text);
  background-color: #f3f6fa;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   3 RESIDENTIAL SATIN-ETCH GLASS PRESETS (No grids — velvety frosted glass)
   Default Design 1 transitions from Normal Cool Satin Etch on the right side
   into a Very Light Orangish Satin Etch toward the left side.
   ========================================================================== */

/* DESIGN 1 (Default): Split Satin Etch Glass (Right: Normal Cool Satin Etch -> Left: Very Light Orangish Satin Etch) */
body.wsc-theme-body,
body.wsc-theme-body.wsc-bg-sunlight {
  --wsc-satin-left-base: #fdf1e6;
  --wsc-satin-mid-base: #f5f6f8;
  --wsc-satin-right-base: #e6eff6;
  --wsc-satin-warm-caustic: rgba(255, 136, 52, 0.30);
  --wsc-satin-warm-band: rgba(255, 152, 76, 0.26);
  --wsc-satin-cool-caustic: rgba(132, 178, 204, 0.34);
  --wsc-satin-cool-band: rgba(156, 198, 220, 0.30);
  --wsc-satin-pearl: rgba(255, 255, 255, 0.88);
  background-color: #eef3f7;
  background-image:
    radial-gradient(ellipse at 8% 22%, rgba(255, 150, 72, 0.20) 0%, transparent 52%),
    radial-gradient(ellipse at 92% 28%, rgba(145, 188, 212, 0.22) 0%, transparent 54%),
    linear-gradient(90deg, #fdf0e4 0%, #faefe6 28%, #f3f6f9 54%, #e8f1f7 80%, #e2ecf4 100%);
  background-attachment: scroll;
}

/* DESIGN 2: Warm Amber Satin Etch (Soft golden-peach frosted glass throughout) */
body.wsc-theme-body.wsc-bg-linen {
  --wsc-satin-left-base: #fcf0e3;
  --wsc-satin-mid-base: #faf4ed;
  --wsc-satin-right-base: #f5ece2;
  --wsc-satin-warm-caustic: rgba(255, 138, 54, 0.28);
  --wsc-satin-warm-band: rgba(255, 160, 86, 0.25);
  --wsc-satin-cool-caustic: rgba(235, 182, 132, 0.30);
  --wsc-satin-cool-band: rgba(242, 195, 148, 0.26);
  --wsc-satin-pearl: rgba(255, 255, 255, 0.86);
  background-color: #faf4ed;
  background-image:
    linear-gradient(90deg, #fcf0e3 0%, #faf5ee 52%, #f4ebe0 100%);
  background-attachment: scroll;
}

/* DESIGN 3: Classic Architectural Satin Etch (Pure cool frosted privacy glass) */
body.wsc-theme-body.wsc-bg-coastal {
  --wsc-satin-left-base: #eaf2f7;
  --wsc-satin-mid-base: #f1f6fa;
  --wsc-satin-right-base: #e1ebf3;
  --wsc-satin-warm-caustic: rgba(148, 190, 214, 0.30);
  --wsc-satin-warm-band: rgba(168, 206, 226, 0.28);
  --wsc-satin-cool-caustic: rgba(118, 168, 196, 0.34);
  --wsc-satin-cool-band: rgba(146, 192, 216, 0.30);
  --wsc-satin-pearl: rgba(255, 255, 255, 0.90);
  background-color: #eaf2f7;
  background-image:
    linear-gradient(90deg, #edf4f8 0%, #f3f8fb 50%, #e1ecf4 100%);
  background-attachment: scroll;
}

/* Subtle Polished Glass Bevel Edge Trim on Wide Screens */
body.wsc-theme-body::before,
body.wsc-theme-body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 1;
  pointer-events: none;
}

body.wsc-theme-body::before {
  left: 0;
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.75) 0%, rgba(255, 168, 108, 0.35) 50%, rgba(255, 102, 0, 0.75) 100%);
}

body.wsc-theme-body::after {
  right: 0;
  background: linear-gradient(180deg, rgba(120, 168, 194, 0.65) 0%, rgba(255, 102, 0, 0.45) 50%, rgba(120, 168, 194, 0.65) 100%);
}

/* ==========================================================================
   ARCHITECTURAL GLASS MOTION: "SEEDY + REAMY + SATIN ETCH" (Zero-Seam Full Pane)
   Combines three real obscure-glass finishes on 60fps GPU-composited layers:
   1. REAMY GLASS: Full-pane organic molten-glass waves, bends & specular ridges
      computed via SVG 3D surface lighting (<feTurbulence> + <feDiffuseLighting>
      + <feSpecularLighting>), rasterized ONCE on oversized layers (no tile seams!)
      that drift and counter-glide so the molten cords bend and ripple continuously.
   2. SEEDY GLASS: Delicate elongated micro-bubbles ("seeds") with tiny crescent
      light glints drifting in gentle parallax inside the glass.
   3. SATIN ETCH: Velvety acid-etched micro-frost diffusing the surface —
      Normal cool silvery satin etch on the right, transitioning smoothly into a
      very light orangish satin etch on the left.
   ========================================================================== */

.wsc-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  /* Split Satin Base: Very Light Orangish Satin on Left -> Normal Cool Satin on Right */
  background: linear-gradient(
    90deg,
    var(--wsc-satin-left-base) 0%,
    #fcecdf 24%,
    var(--wsc-satin-mid-base) 50%,
    #e8f1f8 76%,
    var(--wsc-satin-right-base) 100%
  );
}

body.wsc-theme-body:not(.wsc-motion-enabled) .wsc-ambient-bg {
  display: none;
}

/* 1. REAMY MOLTEN GLASS LAYERS (Oversized full-pane SVG textures — ZERO tile seams!) */
.wsc-reamy {
  position: absolute;
  inset: -22%;
  pointer-events: none;
  will-change: transform, opacity;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Primary Reamy Layer: Flowing molten-glass ridges, bends & soft troughs */
.wsc-reamy--a {
  opacity: 0.78;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1100' viewBox='20 20 1560 1060' preserveAspectRatio='none'%3E%3Cfilter id='r1' x='-5%25' y='-5%25' width='110%25' height='110%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.0042 0.0105' numOctaves='3' seed='14' result='t'/%3E%3CfeGaussianBlur in='t' stdDeviation='4.2' result='tb'/%3E%3CfeDiffuseLighting in='tb' surfaceScale='11' diffuseConstant='1.08' lighting-color='%23ffffff' result='diff'%3E%3CfeDistantLight azimuth='128' elevation='44'/%3E%3C/feDiffuseLighting%3E%3CfeSpecularLighting in='tb' surfaceScale='12' specularConstant='1.15' specularExponent='18' lighting-color='%23ffffff' result='spec'%3E%3CfeDistantLight azimuth='128' elevation='32'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='diff' in2='spec' operator='arithmetic' k1='0' k2='0.78' k3='0.95' k4='0'/%3E%3C/filter%3E%3Crect width='1600' height='1100' filter='url(%23r1)'/%3E%3C/svg%3E");
  animation: wscReamyFlowA 11s ease-in-out infinite alternate;
}

/* Secondary Counter-Drifting Reamy Layer: Cross-rippling molten cords & glass bends */
.wsc-reamy--b {
  opacity: 0.56;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1100' viewBox='20 20 1560 1060' preserveAspectRatio='none'%3E%3Cfilter id='r2' x='-5%25' y='-5%25' width='110%25' height='110%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0068 0.0038' numOctaves='3' seed='42' result='t'/%3E%3CfeGaussianBlur in='t' stdDeviation='3.4' result='tb'/%3E%3CfeDiffuseLighting in='tb' surfaceScale='9.5' diffuseConstant='1.0' lighting-color='%23ffffff' result='diff'%3E%3CfeDistantLight azimuth='310' elevation='46'/%3E%3C/feDiffuseLighting%3E%3CfeSpecularLighting in='tb' surfaceScale='11' specularConstant='1.2' specularExponent='22' lighting-color='%23ffffff' result='spec'%3E%3CfeDistantLight azimuth='310' elevation='30'/%3E%3C/feSpecularLighting%3E%3CfeComposite in='diff' in2='spec' operator='arithmetic' k1='0' k2='0.72' k3='1.0' k4='0'/%3E%3C/filter%3E%3Crect width='1600' height='1100' filter='url(%23r2)'/%3E%3C/svg%3E");
  animation: wscReamyFlowB 14s ease-in-out infinite alternate;
}

/* Color-Tinted Satin Glow Wash (keeps Left = Very Light Orangish Satin, Right = Normal Cool Satin!) */
.wsc-satin-wash {
  position: absolute;
  inset: -16%;
  pointer-events: none;
  will-change: transform, opacity;
  background:
    radial-gradient(ellipse at 16% 35%, var(--wsc-satin-warm-caustic) 0%, transparent 50%),
    radial-gradient(ellipse at 12% 80%, rgba(255, 165, 96, 0.24) 0%, transparent 46%),
    radial-gradient(ellipse at 86% 30%, var(--wsc-satin-cool-caustic) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 78%, rgba(152, 196, 222, 0.30) 0%, transparent 48%);
  animation: wscSatinWashBreathe 10s ease-in-out infinite alternate;
}

/* 2. SEEDY GLASS MICRO-BUBBLES ("Seeds" — tiny drawn-glass air bubbles with crescent glints, zero border seam) */
.wsc-seedy {
  position: absolute;
  inset: -520px;
  pointer-events: none;
  will-change: transform;
  opacity: 0.78;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='rgba(255,255,255,0.58)' stroke='rgba(85,118,142,0.30)' stroke-width='0.95'%3E%3Cellipse cx='44' cy='58' rx='2.8' ry='4.1'/%3E%3Cellipse cx='128' cy='34' rx='1.9' ry='2.7'/%3E%3Cellipse cx='216' cy='82' rx='3.6' ry='5.2'/%3E%3Cellipse cx='312' cy='46' rx='2.2' ry='3.2'/%3E%3Cellipse cx='418' cy='94' rx='3.1' ry='4.5'/%3E%3Cellipse cx='486' cy='42' rx='1.8' ry='2.6'/%3E%3Cellipse cx='76' cy='154' rx='3.4' ry='4.9'/%3E%3Cellipse cx='168' cy='138' rx='2.1' ry='3.0'/%3E%3Cellipse cx='264' cy='176' rx='1.7' ry='2.5'/%3E%3Cellipse cx='358' cy='148' rx='3.8' ry='5.5'/%3E%3Cellipse cx='454' cy='188' rx='2.4' ry='3.4'/%3E%3Cellipse cx='32' cy='256' rx='2.0' ry='2.9'/%3E%3Cellipse cx='114' cy='238' rx='4.0' ry='5.8'/%3E%3Cellipse cx='198' cy='282' rx='2.4' ry='3.5'/%3E%3Cellipse cx='294' cy='252' rx='3.0' ry='4.3'/%3E%3Cellipse cx='392' cy='292' rx='1.9' ry='2.8'/%3E%3Cellipse cx='478' cy='264' rx='3.3' ry='4.8'/%3E%3Cellipse cx='62' cy='362' rx='2.6' ry='3.8'/%3E%3Cellipse cx='152' cy='344' rx='1.8' ry='2.6'/%3E%3Cellipse cx='242' cy='386' rx='3.7' ry='5.3'/%3E%3Cellipse cx='336' cy='356' rx='2.3' ry='3.3'/%3E%3Cellipse cx='432' cy='398' rx='3.0' ry='4.3'/%3E%3Cellipse cx='502' cy='352' rx='1.7' ry='2.4'/%3E%3Cellipse cx='88' cy='464' rx='3.2' ry='4.6'/%3E%3Cellipse cx='184' cy='446' rx='2.2' ry='3.2'/%3E%3Cellipse cx='278' cy='488' rx='2.9' ry='4.2'/%3E%3Cellipse cx='376' cy='458' rx='3.5' ry='5.1'/%3E%3Cellipse cx='466' cy='492' rx='2.0' ry='2.9'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='0.95'%3E%3Ccircle cx='43' cy='56.5' r='1.2'/%3E%3Ccircle cx='214.8' cy='80' r='1.5'/%3E%3Ccircle cx='417' cy='92.2' r='1.3'/%3E%3Ccircle cx='75' cy='152.2' r='1.4'/%3E%3Ccircle cx='356.8' cy='146' r='1.6'/%3E%3Ccircle cx='112.8' cy='235.8' r='1.6'/%3E%3Ccircle cx='293' cy='250.4' r='1.3'/%3E%3Ccircle cx='477' cy='262.2' r='1.4'/%3E%3Ccircle cx='240.8' cy='384' r='1.5'/%3E%3Ccircle cx='431' cy='396.2' r='1.3'/%3E%3Ccircle cx='87' cy='462.4' r='1.3'/%3E%3Ccircle cx='374.8' cy='456' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
  animation: wscSeedyDrift 16s linear infinite;
}

/* 3. SATIN ETCH MATTE FROST LAYER (Stationary velvety acid-etch finish on top — 0 animation cost!) */
.wsc-satin-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.44;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.24) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.97 0 0 0 0 0.98 0 0 0 0 1 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 100% 100%, 150px 150px;
}

@keyframes wscReamyFlowA {
  0%   { transform: translate3d(-9%, -7%, 0) scale(1.02); }
  50%  { transform: translate3d(2%, 4%, 0)   scale(1.08); }
  100% { transform: translate3d(9%, -5%, 0)  scale(1.03); }
}

@keyframes wscReamyFlowB {
  0%   { transform: translate3d(9%, 7%, 0)   scale(1.06); }
  50%  { transform: translate3d(-3%, -5%, 0) scale(1.01); }
  100% { transform: translate3d(-9%, 5%, 0)  scale(1.07); }
}

@keyframes wscSeedyDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -520px, 0); }
}

@keyframes wscSatinWashBreathe {
  0%   { transform: translate3d(-5%, -3%, 0) scale(1);    opacity: 0.85; }
  100% { transform: translate3d(5%, 4%, 0)   scale(1.1);  opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wsc-reamy,
  .wsc-seedy,
  .wsc-satin-wash {
    animation: none !important;
  }
}

/* Before/After showcase: stays 100% invisible until real before/after photos are added! */
.wsc-before-after:empty,
.wsc-before-after:not(:has(img[src]:not([src=""]))) {
  display: none !important;
}

/* Skip Link for Accessibility */
.wsc-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--wsc-orange);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s ease;
}

.wsc-skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   RESIDENTIAL TOP CONSULTATION BAR
   ========================================================================== */
.wsc-topbar {
  background: linear-gradient(90deg, #142230 0%, #1e3547 100%);
  color: #f1f5f9;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.wsc-topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.wsc-topbar-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.wsc-topbar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--wsc-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--wsc-orange);
  flex-shrink: 0;
}

.wsc-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wsc-topbar-badge {
  color: #cbd5e1;
  font-size: 12.5px;
}

.wsc-topbar-badge strong {
  color: #ffffff;
}

/* ==========================================================================
   HOMEOWNER-FRIENDLY STICKY HEADER & NAVIGATION (ZERO LOGO OVERLAP)
   ========================================================================== */
.wsc-site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--wsc-orange);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.wsc-site-header.wsc-header-dark {
  background-color: rgba(20, 34, 48, 0.96);
  border-bottom: 3px solid var(--wsc-orange);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.28);
}

.wsc-header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wsc-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.wsc-brand img.custom-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.wsc-brand-text-wrap {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  padding-left: 14px;
  padding-bottom: 7px;
}

.wsc-brand-text-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.35) 0%, #FF6600 20%, #FF6600 80%, rgba(255, 102, 0, 0.15) 100%);
  border-radius: 2px;
}

.wsc-brand-text-wrap::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 102, 0, 0.15) 0%, #FF6600 15%, #FF6600 85%, rgba(255, 102, 0, 0.05) 100%);
  border-radius: 2px;
}

.wsc-brand-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--wsc-orange);
  line-height: 1.1;
  letter-spacing: 0.2px;
  margin: 0;
  display: inline-block;
}

.wsc-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}

.wsc-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wsc-header-phone {
  color: var(--wsc-slate-deep);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.wsc-header-phone::before {
  content: "📞";
  font-size: 14px;
}

.wsc-header-dark .wsc-header-phone {
  color: #ffffff;
}

.wsc-header-phone:hover {
  color: var(--wsc-orange);
  transform: translateY(-1px);
}

.wsc-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: linear-gradient(135deg, #FF6600 0%, #f25900 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid var(--wsc-orange);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.28);
}

.wsc-header-cta:hover {
  background: var(--wsc-slate-deep);
  border-color: var(--wsc-slate-deep);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 34, 48, 0.22);
}

.wsc-header-dark .wsc-header-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--wsc-slate-deep) !important;
}

/* Primary Navigation Menu */
.wsc-nav {
  display: flex;
  align-items: center;
}

.wsc-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wsc-nav-list li {
  margin: 0;
  padding: 0;
  position: relative;
}

.wsc-nav-list a {
  display: inline-block;
  padding: 6px 12px;
  color: var(--wsc-slate-deep);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.wsc-header-dark .wsc-nav-list a {
  color: #f1f5f9;
}

.wsc-nav-list a:hover,
.wsc-nav-list li.current-menu-item > a,
.wsc-nav-list li.current_page_item > a {
  color: var(--wsc-orange);
  background-color: rgba(255, 102, 0, 0.06);
}

.wsc-nav-list li.current-menu-item > a::after,
.wsc-nav-list li.current_page_item > a::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background-color: var(--wsc-orange);
  border-radius: 2px;
}

/* Clean White Residential Dropdown Submenus */
.wsc-nav-list ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #ffffff;
  border: 1px solid var(--wsc-border);
  border-top: 3px solid var(--wsc-orange);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  list-style: none;
  z-index: 1000;
}

.wsc-nav-list li:hover > ul.sub-menu,
.wsc-nav-list li:focus-within > ul.sub-menu {
  display: block;
}

.wsc-nav-list ul.sub-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--wsc-slate-deep);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
}

.wsc-nav-list ul.sub-menu li a:hover {
  background-color: var(--wsc-orange-soft);
  color: var(--wsc-orange);
}

/* Mobile Menu Toggle Button (44px min touch target) */
.wsc-mobile-toggle {
  display: none;
  min-height: 44px;
  background: var(--wsc-slate-deep);
  color: #ffffff;
  border: 2px solid var(--wsc-orange);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.wsc-mobile-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   MAIN RESIDENTIAL DAYLIGHT CONTENT STAGE
   Works harmoniously with all 19 existing pages (Zero forced dark inversions!)
   ========================================================================== */
.wsc-main-wrapper {
  width: calc(100% - 32px);
  max-width: 1140px;
  margin: 28px auto 52px auto;
  padding: 30px 26px;
  box-sizing: border-box;
  min-height: 60vh;
  position: relative;
  z-index: 2;
  /* Solid-ish white (no backdrop blur) so the moving daylight never forces a costly re-blur on phones */
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07), inset 0 1px 0 #ffffff;
}

.wsc-main-wrapper.wsc-full-bleed {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Upgrade legacy gray diagonal-striped page wrappers (#f4f5f7 + repeating-linear-gradient)
   into clean, airy Residential Daylight Porcelain stages — keeping dark #111111 text 100% readable! */
.wsc-entry-content div[style*="repeating-linear-gradient"],
.wsc-entry-content div[style*="#f4f5f7"][style*="max-width"],
.preview-page-tab div[style*="repeating-linear-gradient"],
.preview-page-tab div[style*="#f4f5f7"][style*="max-width"] {
  background-color: #f8fafc !important;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(255, 102, 0, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(76, 124, 140, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04) !important;
}

/* Soften legacy #fafafa intro boxes (Sitemap, Testimonials, Privacy Policy) into warm residential callout cards */
.wsc-entry-content > div[style*="#fafafa"],
.wsc-entry-content > div > div[style*="background-color: #fafafa"],
.preview-page-tab > div[style*="#fafafa"],
.preview-page-tab > div > div[style*="background-color: #fafafa"] {
  background: linear-gradient(135deg, #fffaf5 0%, #f8fafc 100%) !important;
  border-left: 6px solid var(--wsc-orange) !important;
  border-top: 1px solid #fed7aa !important;
  border-right: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05) !important;
}

/* Ensure top/left orange borders on cards & feature banners stay vibrant #FF6600 */
.wsc-entry-content div[style*="border-top: 5px solid #FF6600"],
.wsc-entry-content div[style*="border-top: 4px solid #FF6600"],
.preview-page-tab div[style*="border-top: 5px solid #FF6600"],
.preview-page-tab div[style*="border-top: 4px solid #FF6600"] {
  border-top-color: var(--wsc-orange) !important;
}

.wsc-entry-content div[style*="border-left: 5px solid #FF6600"],
.wsc-entry-content div[style*="border-left: 8px solid #FF6600"],
.preview-page-tab div[style*="border-left: 5px solid #FF6600"],
.preview-page-tab div[style*="border-left: 8px solid #FF6600"] {
  border-left-color: var(--wsc-orange) !important;
}

/* Tactile Residential Card Elevation across White & Daylight Cards */
.wsc-entry-content div[style*="background-color: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]),
.wsc-entry-content div[style*="background: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]),
.preview-page-tab div[style*="background-color: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]),
.preview-page-tab div[style*="background: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]) {
  border-color: #e5eaf0;
  box-shadow: var(--wsc-card-shadow);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease;
}

.wsc-entry-content div[style*="background-color: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]):hover,
.wsc-entry-content div[style*="background: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]):hover,
.preview-page-tab div[style*="background-color: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]):hover,
.preview-page-tab div[style*="background: #ffffff"][style*="border-radius"]:not([style*="max-width: 1000px"]):not([style*="max-width: 1050px"]):hover {
  transform: translateY(-4px);
  box-shadow: var(--wsc-card-shadow-hover) !important;
}

/* Interactive Hover State for Daylight Navigation Tiles & Action Buttons */
.wsc-entry-content a[style*="flex:"][style*="border-top"],
.preview-page-tab a[style*="flex:"][style*="border-top"] {
  transition: transform 0.18s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.wsc-entry-content a[style*="flex:"][style*="border-top"]:hover,
.preview-page-tab a[style*="flex:"][style*="border-top"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 102, 0, 0.14) !important;
  color: var(--wsc-orange) !important;
}

.wsc-entry-content a[style*="background-color: #142230"],
.wsc-entry-content a[style*="background-color: #111111"]:not([style*="flex:"]),
.preview-page-tab a[style*="background-color: #142230"],
.preview-page-tab a[style*="background-color: #111111"]:not([style*="flex:"]) {
  background-color: var(--wsc-slate-deep) !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.wsc-entry-content a[style*="background-color: #142230"]:hover,
.wsc-entry-content a[style*="background-color: #111111"]:not([style*="flex:"]):hover,
.preview-page-tab a[style*="background-color: #142230"]:hover,
.preview-page-tab a[style*="background-color: #111111"]:not([style*="flex:"]):hover {
  background-color: var(--wsc-orange) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.3);
}

.wsc-entry-content a[style*="background-color: #FF6600"],
.wsc-entry-content a[style*="background-color: #ff6600"],
.wsc-entry-content a[style*="background: #FF6600"],
.preview-page-tab a[style*="background-color: #FF6600"],
.preview-page-tab a[style*="background-color: #ff6600"],
.preview-page-tab a[style*="background: #FF6600"] {
  transition: background-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.wsc-entry-content a[style*="background-color: #FF6600"]:hover,
.wsc-entry-content a[style*="background-color: #ff6600"]:hover,
.wsc-entry-content a[style*="background: #FF6600"]:hover,
.preview-page-tab a[style*="background-color: #FF6600"]:hover,
.preview-page-tab a[style*="background-color: #ff6600"]:hover,
.preview-page-tab a[style*="background: #FF6600"]:hover {
  background-color: var(--wsc-orange-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.35);
}

/* Homeowner-Friendly Gravity Forms (.gform_wrapper) Daylight Polish */
.wsc-entry-content .gform_wrapper input[type="text"],
.wsc-entry-content .gform_wrapper input[type="email"],
.wsc-entry-content .gform_wrapper input[type="tel"],
.wsc-entry-content .gform_wrapper textarea,
.wsc-entry-content .gform_wrapper select {
  width: 100%;
  background-color: #f8fafc;
  color: var(--wsc-slate-deep);
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--wsc-font);
  font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wsc-entry-content .gform_wrapper input[type="text"]:focus,
.wsc-entry-content .gform_wrapper input[type="email"]:focus,
.wsc-entry-content .gform_wrapper input[type="tel"]:focus,
.wsc-entry-content .gform_wrapper textarea:focus,
.wsc-entry-content .gform_wrapper select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--wsc-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.14);
}

.wsc-entry-content .gform_wrapper .gfield_label {
  color: var(--wsc-slate-deep);
  font-weight: 700;
  font-size: 14px;
}

.wsc-entry-content .gform_wrapper .gform_button,
.wsc-entry-content .gform_wrapper input[type="submit"],
.wsc-entry-content .gform_wrapper button[type="submit"] {
  background: linear-gradient(135deg, #FF6600 0%, #f25900 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 13px 34px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wsc-entry-content .gform_wrapper .gform_button:hover,
.wsc-entry-content .gform_wrapper input[type="submit"]:hover,
.wsc-entry-content .gform_wrapper button[type="submit"]:hover {
  background: var(--wsc-slate-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(20, 34, 48, 0.24);
}

/* ==========================================================================
   REUSABLE RESIDENTIAL SHOWCASE COMPONENTS (Clear Choice-Inspired Homeowner UI)
   Ready for Residential Hero, 4-Step Process, Brand Cards & Video Facades
   ========================================================================== */
.wsc-res-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--wsc-border);
  border-radius: 16px;
  padding: 34px;
  margin-bottom: 36px;
  box-shadow: var(--wsc-card-shadow);
}

.wsc-res-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--wsc-orange-soft);
  color: var(--wsc-orange);
  border: 1px solid #fed7aa;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.wsc-res-hero h1 {
  color: var(--wsc-slate-deep);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px 0;
}

.wsc-res-hero p {
  color: var(--wsc-text);
  font-size: 16.5px;
  margin: 0 0 22px 0;
}

.wsc-res-photo-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--wsc-border);
  border-bottom: 4px solid var(--wsc-orange);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  background: #f1f5f9;
}

.wsc-res-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.wsc-res-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 24px 0 36px 0;
}

.wsc-res-step-card {
  background: #ffffff;
  border: 1px solid var(--wsc-border);
  border-top: 4px solid var(--wsc-orange);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--wsc-card-shadow);
}

.wsc-res-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wsc-orange-soft);
  color: var(--wsc-orange);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Lightweight Click-to-Play Video Facade (Zero YouTube iframe bloat on load!) */
.wsc-video-facade {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--wsc-border);
  box-shadow: var(--wsc-card-shadow);
  text-decoration: none;
}

.wsc-video-facade-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 34, 48, 0.28);
  transition: background 0.2s ease;
}

.wsc-video-facade:hover .wsc-video-facade-play {
  background: rgba(20, 34, 48, 0.15);
}

/* ==========================================================================
   CLICK-TO-ZOOM FULL-VIEW PHOTO LIGHTBOX (<dialog>)
   Automatically skips .wsc-before-after / [data-before-after] sliders!
   ========================================================================== */
img.wsc-zoomable-img {
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

a.wsc-lightbox-trigger:hover img.wsc-zoomable-img,
img.wsc-zoomable-img:hover {
  transform: scale(1.015);
}

dialog.wsc-lightbox {
  padding: 0;
  border: none;
  border-radius: 14px;
  background: transparent;
  max-width: min(94vw, 1120px);
  max-height: 92vh;
  overflow: visible;
  color: #ffffff;
}

dialog.wsc-lightbox::backdrop {
  background: rgba(12, 20, 30, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wsc-lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--wsc-orange);
  border-radius: 14px;
  padding: 14px 14px 16px 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.wsc-lightbox-img {
  display: block;
  max-width: min(88vw, 1060px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #0b111e;
}

.wsc-lightbox-caption {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  padding: 0 44px;
}

.wsc-lightbox-close {
  position: absolute;
  top: -16px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wsc-orange);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.wsc-lightbox-close:hover {
  background: var(--wsc-slate-deep);
}

.wsc-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 34, 48, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wsc-lightbox-nav:hover {
  background: var(--wsc-orange);
  border-color: var(--wsc-orange);
}

.wsc-lightbox-prev {
  left: 22px;
}

.wsc-lightbox-next {
  right: 22px;
}

.wsc-lightbox-nav[hidden] {
  display: none;
}

/* Branded Text Selection & Keyboard Focus Rings */
::selection {
  background-color: rgba(255, 102, 0, 0.18);
  color: inherit;
}

.wsc-theme-body a:focus-visible,
.wsc-theme-body button:focus-visible {
  outline: 2px solid var(--wsc-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Optional Default Page Title */
.wsc-default-page-header {
  max-width: 1050px;
  margin: 0 auto 24px auto;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--wsc-orange);
}

.wsc-default-page-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--wsc-slate-deep);
  line-height: 1.25;
}

/* Standard WP Blog Archive Cards */
.wsc-post-card {
  background-color: var(--wsc-bg-surface);
  border: 1px solid var(--wsc-border);
  border-top: 4px solid var(--wsc-orange);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--wsc-card-shadow);
}

.wsc-post-card-title {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 800;
}

.wsc-post-card-title a {
  color: var(--wsc-slate-deep);
  text-decoration: none;
}

.wsc-post-card-title a:hover {
  color: var(--wsc-orange);
}

.wsc-post-meta {
  font-size: 13px;
  color: var(--wsc-text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.wsc-read-more {
  display: inline-block;
  background-color: var(--wsc-slate-deep);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.wsc-read-more:hover {
  background-color: var(--wsc-orange);
}

/* ==========================================================================
   SITE FOOTER (content-visibility: auto for rapid mobile initial paint!)
   ========================================================================== */
.wsc-site-footer {
  background: linear-gradient(180deg, #142230 0%, #0d1822 100%);
  color: #e2e8f0;
  border-top: 5px solid var(--wsc-orange);
  font-size: 15px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.14);
  content-visibility: auto;
  contain-intrinsic-size: auto 440px;
}

.wsc-footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 55px 20px 40px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 40px;
}

.wsc-footer-col h3.wsc-footer-heading {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wsc-orange);
  display: inline-block;
  letter-spacing: 0.2px;
}

.wsc-footer-brand-box {
  position: relative;
  padding-left: 14px;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: inline-block;
}

.wsc-footer-brand-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.35) 0%, #FF6600 20%, #FF6600 80%, rgba(255, 102, 0, 0.15) 100%);
  border-radius: 2px;
}

.wsc-footer-brand-box::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 102, 0, 0.15) 0%, #FF6600 15%, #FF6600 85%, rgba(255, 102, 0, 0.05) 100%);
  border-radius: 2px;
}

.wsc-footer-brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--wsc-orange);
  margin: 0;
}

.wsc-footer-desc {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.wsc-footer-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffb07a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 999px;
}

.wsc-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.wsc-footer-links li {
  margin: 0;
  padding: 0;
}

.wsc-footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wsc-footer-links a::before {
  content: "›";
  color: var(--wsc-orange);
  font-weight: 800;
  font-size: 16px;
}

.wsc-footer-links a:hover {
  color: var(--wsc-orange);
  padding-left: 4px;
}

.wsc-footer-contact-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.wsc-footer-contact-list li {
  margin-bottom: 12px;
  color: #e2e8f0;
  font-size: 14.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.wsc-footer-contact-label {
  color: var(--wsc-orange);
  font-weight: 700;
  min-width: 68px;
}

.wsc-footer-phone-link {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.wsc-footer-phone-link:hover {
  color: var(--wsc-orange);
}

.wsc-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: linear-gradient(135deg, #FF6600 0%, #f25900 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.wsc-footer-cta-btn:hover {
  background: var(--wsc-orange-hover);
  transform: translateY(-1px);
}

.wsc-footer-bottom {
  background-color: #091119;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  font-size: 13.5px;
  color: #94a3b8;
}

.wsc-footer-bottom-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wsc-footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.wsc-footer-bottom-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.wsc-footer-bottom-links a:hover {
  color: var(--wsc-orange);
}

/* Floating Back-to-Top Button */
.wsc-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--wsc-slate-deep);
  color: #ffffff;
  border: 2px solid var(--wsc-orange);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background-color 0.2s ease;
}

.wsc-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wsc-back-to-top:hover {
  background-color: var(--wsc-orange);
  transform: translateY(-2px);
}

.wsc-back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OPTIMIZATION (Zero Logo Overlap + Smooth Mobile Motion)
   ========================================================================== */
@media (max-width: 980px) {
  .wsc-topbar-inner {
    justify-content: center;
    text-align: center;
    padding: 7px 16px;
  }

  .wsc-topbar-right {
    display: none;
  }

  /* --- Mobile header: Logo left + Menu button right on ONE row; panel drops down full-width below --- */
  .wsc-site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #ffffff;
  }

  .wsc-header-container {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
  }

  .wsc-site-branding {
    flex: 1 1 auto;
    min-width: 0;
  }

  .wsc-brand-title {
    font-size: 22px;
    white-space: nowrap;
  }

  .wsc-brand img.custom-logo {
    max-height: 44px;
  }

  .wsc-mobile-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .wsc-header-right {
    flex: 0 0 100%;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    display: none;
    padding: 12px 0 6px 0;
    border-top: 1px solid var(--wsc-border);
  }

  .wsc-header-dark .wsc-header-right {
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  .wsc-header-right.is-open {
    display: flex;
  }

  /* Phone + Free Consultation as two equal, tappable buttons */
  .wsc-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .wsc-header-phone {
    justify-content: center;
    min-height: 46px;
    font-size: 15px;
    border: 1.5px solid var(--wsc-border);
    border-radius: 999px;
    background: var(--wsc-bg-subtle);
    white-space: nowrap;
  }

  .wsc-header-dark .wsc-header-phone {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
  }

  .wsc-header-cta {
    min-height: 46px;
    font-size: 12.5px;
    padding: 8px 12px;
    white-space: nowrap;
    text-align: center;
  }

  .wsc-nav {
    width: 100%;
  }

  .wsc-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .wsc-nav-list li {
    width: 100%;
  }

  .wsc-nav-list a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid #eef2f6;
    white-space: normal;
  }

  .wsc-nav-list li.current-menu-item > a::after,
  .wsc-nav-list li.current_page_item > a::after {
    display: none;
  }

  .wsc-nav-list li.current-menu-item > a,
  .wsc-nav-list li.current_page_item > a {
    border-left: 3px solid var(--wsc-orange);
    padding-left: 12px;
  }

  .wsc-header-dark .wsc-nav-list a {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .wsc-nav-list ul.sub-menu {
    position: static;
    display: block;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--wsc-orange);
    border-radius: 0;
    margin: 0 0 6px 12px;
    background-color: transparent;
    padding: 0;
  }

  .wsc-nav-list ul.sub-menu li a {
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: var(--wsc-text);
  }

  .wsc-res-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  /* Phones: keep smooth 60fps Satin Etch refraction ribbons & caustics active, drop extra center blend layer */
  .wsc-reamy--b {
    opacity: 0.32;
  }

  .wsc-main-wrapper {
    width: calc(100% - 16px);
    margin: 12px auto 28px auto;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .wsc-footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wsc-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .wsc-footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wsc-footer-container {
    padding: 36px 16px 30px 16px;
    gap: 28px;
  }

  .wsc-brand-title {
    font-size: 20px;
  }

  .wsc-header-cta {
    font-size: 11.5px;
    letter-spacing: 0.3px;
  }

  .wsc-lightbox-prev {
    left: 8px;
  }

  .wsc-lightbox-next {
    right: 8px;
  }

  .wsc-lightbox-close {
    top: -12px;
    right: -6px;
  }
}
