/*
Theme Name:  Loong Wellspring
Text Domain: loongwellspring
Template:    melos
Version:     1.0.0
Description: Official theme for Loong Wellspring LLC — consulting in nutrition, education & technology.
Author:      Loong Wellspring LLC
Author URI:  https://loongwellspring.com
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --lw-blue:        #1eaaf1;
  --lw-blue-dark:   #0d8cd4;
  --lw-navy:        #03141d;
  --lw-navy-mid:    #0a2540;
  --lw-lavender:    #ededfd;
  --lw-card-bg:     #f5f5fe;
  --lw-white:       #ffffff;
  --lw-text-dark:   #1e1e1e;
  --lw-text-mid:    #4a4a6a;
  --lw-text-light:  #7a7a9a;
  --lw-border:      #e0e0f0;
  --lw-green:       #1ab87a;
  --lw-teal:        #17a8a0;
  --lw-radius:      12px;
  --lw-radius-lg:   20px;
  --lw-shadow:      0 4px 24px rgba(3, 20, 29, 0.10);
  --lw-shadow-card: 0 2px 12px rgba(3, 20, 29, 0.08);
}

/* ============================================================
   SITE-WIDE OVERRIDES — more professional feel
   ============================================================ */

/* Pre-header: tighter, more polished */
#pre-header {
  background-image: linear-gradient(90deg, var(--lw-navy) 0%, var(--lw-navy-mid) 60%, #0f4c75 100%);
  padding: 6px 0;
  font-size: 13px;
}
#pre-header-social li a,
#pre-header .header-links > ul > li > a {
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Header: clean white with subtle shadow */
#header,
#header-sticky {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(3, 20, 29, 0.08);
}
#header .header-links > ul > li a,
#header-sticky .header-links > ul > li a {
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
#header .menu > li > a:hover,
#header-sticky .menu > li > a:hover,
#header .menu > li.current_page_item > a,
#header-sticky .menu > li.current-menu-item > a {
  color: var(--lw-blue) !important;
}

/* Body background */
#body-core {
  background: #fafafe;
}

/* Buttons: rounder, bolder */
.themebutton,
.themebutton2,
a.themebutton,
a.themebutton2 {
  border-radius: 30px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}
.themebutton:hover,
a.themebutton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 170, 241, 0.35);
}

/* Services cards */
.services-builder.style1 {
  border: none;
  border-radius: var(--lw-radius) !important;
  box-shadow: var(--lw-shadow-card) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  background: var(--lw-white) !important;
}
.services-builder.style1:hover {
  transform: translateY(-4px);
  box-shadow: var(--lw-shadow) !important;
}

/* Blog/post cards */
.blog-article {
  border-radius: var(--lw-radius) !important;
  box-shadow: var(--lw-shadow-card);
  border: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-article:hover {
  box-shadow: var(--lw-shadow);
  transform: translateY(-3px);
}

/* Footer: dark, professional */
footer {
  background-image: none !important;
  background: var(--lw-navy) !important;
  border-top: 3px solid var(--lw-blue);
}
#footer .wp-block-heading,
#footer h3,
#footer h4 {
  color: var(--lw-white) !important;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
#footer-core,
#footer-core p,
#footer .widget li,
#footer .widget li a {
  color: rgba(255, 255, 255, 0.72) !important;
}
#footer .widget li a:hover {
  color: var(--lw-blue) !important;
}
#sub-footer {
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#sub-footer p,
#sub-footer a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 12px;
}

/* CTA sections */
#introaction,
#outroaction {
  background: linear-gradient(135deg, var(--lw-navy) 0%, var(--lw-navy-mid) 100%);
  padding: 64px 0;
}
#introaction-core,
#outroaction-core {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--lw-radius-lg) !important;
  box-shadow: none;
}
#introaction .action-text h3,
#outroaction .action-text h3,
#introaction .action-text p,
#outroaction .action-text p {
  color: var(--lw-white);
}

/* Page intro header */
#intro {
  background: var(--lw-lavender);
  padding: 8px 0;
}
#intro #intro-core {
  background: transparent;
  border-radius: 0;
  padding: 40px 0;
}
#intro .page-title {
  color: var(--lw-navy) !important;
  font-size: 36px;
}

/* ============================================================
   HOMEPAGE — HERO SECTION
   ============================================================ */
.lw-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--lw-navy) 0%, #0a2540 40%, #0d4d80 75%, var(--lw-blue) 100%);
  overflow: hidden;
}
.lw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(30, 170, 241, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26, 184, 122, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
/* decorative circles */
.lw-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(30, 170, 241, 0.08);
  pointer-events: none;
}
.lw-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lw-hero-text {}
.lw-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 170, 241, 0.18);
  border: 1px solid rgba(30, 170, 241, 0.40);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd4fc;
  margin-bottom: 24px;
}
.lw-hero-eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lw-blue);
  display: inline-block;
}
.lw-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  color: var(--lw-white);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.lw-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7dd4fc, #a5f3d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.lw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.lw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lw-blue);
  color: var(--lw-white) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(30, 170, 241, 0.4);
  border: 2px solid transparent;
}
.lw-btn-primary:hover {
  background: var(--lw-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 170, 241, 0.5);
  color: var(--lw-white) !important;
  text-decoration: none;
}
.lw-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.30);
  transition: all 0.25s ease;
}
.lw-btn-outline:hover {
  border-color: rgba(255,255,255,0.70);
  color: var(--lw-white) !important;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
}

/* Hero visual panel — placeholder until real photo added */
.lw-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lw-hero-placeholder {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  border-radius: var(--lw-radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}
.lw-hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,170,241,0.12), rgba(26,184,122,0.08));
}
.lw-placeholder-icon {
  position: relative;
  z-index: 1;
  font-size: 64px;
  line-height: 1;
}
.lw-placeholder-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Hero stat pills */
.lw-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.lw-stat-pill {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  font-weight: 500;
}
.lw-stat-pill strong {
  color: var(--lw-white);
  font-weight: 800;
  margin-right: 4px;
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.lw-section {
  padding: 80px 0;
}
.lw-section-light {
  background: #fafafe;
}
.lw-section-white {
  background: var(--lw-white);
}
.lw-section-accent {
  background: var(--lw-lavender);
}
.lw-section-dark {
  background: linear-gradient(135deg, var(--lw-navy) 0%, var(--lw-navy-mid) 100%);
}
.lw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.lw-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.lw-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lw-blue);
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(30, 170, 241, 0.10);
  border-radius: 50px;
  border: 1px solid rgba(30, 170, 241, 0.22);
}
.lw-section-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--lw-navy);
  line-height: 1.2;
  margin: 0 0 16px;
}
.lw-section-dark .lw-section-header h2 {
  color: var(--lw-white);
}
.lw-section-header p {
  font-size: 17px;
  color: var(--lw-text-mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}
.lw-section-dark .lw-section-header p {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.lw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lw-service-card {
  background: var(--lw-white);
  border-radius: var(--lw-radius-lg);
  padding: 36px 28px 32px;
  border: 1.5px solid var(--lw-border);
  box-shadow: var(--lw-shadow-card);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}
.lw-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lw-shadow);
  border-color: rgba(30,170,241,0.30);
}
.lw-service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.lw-icon-green  { background: rgba(26, 184, 122, 0.12); }
.lw-icon-blue   { background: rgba(30, 170, 241, 0.12); }
.lw-icon-teal   { background: rgba(23, 168, 160, 0.12); }
.lw-service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--lw-navy);
  margin: 0 0 10px;
  border-bottom: none !important;
}
.lw-service-card p {
  font-size: 14.5px;
  color: var(--lw-text-mid);
  line-height: 1.65;
  margin: 0 0 24px;
  flex-grow: 1;
}
.lw-service-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lw-service-features li {
  font-size: 13.5px;
  color: var(--lw-text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.lw-service-features li::before {
  content: '✓';
  font-weight: 800;
  font-size: 12px;
  color: var(--lw-green);
  background: rgba(26,184,122,0.12);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.lw-service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--lw-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.lw-service-link:hover {
  color: var(--lw-blue-dark);
  text-decoration: none;
  gap: 10px;
}

/* Service placeholder image strip */
.lw-service-image {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.lw-service-image::after {
  content: attr(data-label);
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lw-img-nutrition {
  background: linear-gradient(135deg, #0a4a2a 0%, #1ab87a 100%);
}
.lw-img-education {
  background: linear-gradient(135deg, #0a2540 0%, #1eaaf1 100%);
}
.lw-img-technology {
  background: linear-gradient(135deg, #0a3040 0%, #17a8a0 100%);
}

/* ============================================================
   ABOUT / MISSION SECTION
   ============================================================ */
.lw-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lw-about-image {
  position: relative;
  border-radius: var(--lw-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--lw-navy) 0%, #0a3060 50%, var(--lw-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  box-shadow: var(--lw-shadow);
}
.lw-about-image::after {
  content: 'Company photo coming soon';
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
}
.lw-about-text {}
.lw-about-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--lw-navy);
  margin: 16px 0 20px;
  line-height: 1.25;
}
.lw-about-text p {
  font-size: 15.5px;
  color: var(--lw-text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}
.lw-about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.lw-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--lw-card-bg);
  border-radius: 10px;
  border: 1px solid var(--lw-border);
}
.lw-pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.lw-pillar-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--lw-navy);
  margin-bottom: 2px;
}
.lw-pillar-text span {
  font-size: 13px;
  color: var(--lw-text-light);
  line-height: 1.5;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.lw-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lw-why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--lw-radius);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.2s ease;
}
.lw-why-card:hover {
  background: rgba(255,255,255,0.10);
}
.lw-why-num {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--lw-blue), #7dd4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.lw-why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--lw-white);
  margin: 0 0 8px;
  border-bottom: none !important;
}
.lw-why-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.lw-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.lw-process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--lw-blue), var(--lw-green));
  z-index: 0;
}
.lw-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.lw-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lw-white);
  border: 3px solid var(--lw-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--lw-blue);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(30,170,241,0.20);
}
.lw-step:nth-child(3) .lw-step-num { border-color: var(--lw-teal); color: var(--lw-teal); }
.lw-step:nth-child(4) .lw-step-num { border-color: var(--lw-green); color: var(--lw-green); }
.lw-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--lw-navy);
  margin: 0 0 8px;
}
.lw-step p {
  font-size: 13px;
  color: var(--lw-text-light);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.lw-cta-banner {
  background: linear-gradient(135deg, var(--lw-blue) 0%, var(--lw-blue-dark) 100%);
  border-radius: var(--lw-radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lw-cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.lw-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.lw-cta-banner h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--lw-white);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.lw-cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.lw-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.lw-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lw-white);
  color: var(--lw-blue) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.lw-btn-white:hover {
  background: var(--lw-lavender);
  color: var(--lw-blue-dark) !important;
  transform: translateY(-2px);
  text-decoration: none;
}
.lw-btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--lw-white) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.50);
  transition: all 0.25s ease;
}
.lw-btn-ghost-white:hover {
  border-color: var(--lw-white);
  background: rgba(255,255,255,0.10);
  text-decoration: none;
  color: var(--lw-white) !important;
}

/* ============================================================
   TESTIMONIAL / TRUST STRIP
   ============================================================ */
.lw-trust-strip {
  background: var(--lw-white);
  border-top: 1px solid var(--lw-border);
  border-bottom: 1px solid var(--lw-border);
  padding: 28px 0;
}
.lw-trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.lw-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--lw-text-mid);
  font-weight: 500;
}
.lw-trust-item .lw-trust-icon {
  font-size: 22px;
}
.lw-trust-divider {
  width: 1px;
  height: 28px;
  background: var(--lw-border);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lw-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lw-hero-text { order: 1; }
  .lw-hero-visual { order: 2; }
  .lw-hero .lw-hero-actions { justify-content: center; }
  .lw-hero-stats { justify-content: center; }
  .lw-hero-sub { margin-left: auto; margin-right: auto; }

  .lw-services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lw-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lw-process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .lw-process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .lw-hero { min-height: auto; }
  .lw-hero-inner { padding: 60px 20px; }
  .lw-section { padding: 56px 0; }
  .lw-container { padding: 0 20px; }

  .lw-services-grid { grid-template-columns: 1fr; }
  .lw-why-grid { grid-template-columns: 1fr 1fr; }
  .lw-process-steps { grid-template-columns: 1fr; }
  .lw-cta-banner { padding: 44px 24px; }
  .lw-trust-divider { display: none; }

  .lw-hero-placeholder { max-width: 300px; }
}

@media (max-width: 480px) {
  .lw-why-grid { grid-template-columns: 1fr; }
  .lw-hero h1 { font-size: 30px; }
}

/* ============================================================
   LEGAL PAGES — shared across Disclaimer, Privacy, Terms
   ============================================================ */
.lw-legal-page {
  background: #fafafe;
  padding: 0 0 64px;
}
.lw-legal-page .lw-container {
  max-width: 860px;
}

/* Header block */
.lw-legal-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--lw-border);
  margin-bottom: 36px;
}
.lw-legal-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--lw-navy);
  margin: 12px 0 8px;
}
.lw-legal-meta {
  font-size: 13px;
  color: var(--lw-text-light);
  margin: 0 0 20px;
}

/* Alert box */
.lw-legal-alert {
  display: flex;
  gap: 14px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
  align-items: flex-start;
}
.lw-legal-alert.lw-alert-blue {
  background: rgba(30, 170, 241, 0.07);
  border-color: rgba(30, 170, 241, 0.30);
}
.lw-legal-alert-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.lw-legal-alert p {
  margin: 0;
  font-size: 14px;
  color: var(--lw-text-mid);
  line-height: 1.6;
}

/* Table of Contents */
.lw-legal-toc {
  background: var(--lw-white);
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-radius);
  padding: 20px 24px;
  margin-bottom: 48px;
}
.lw-legal-toc strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lw-text-light);
  margin-bottom: 12px;
}
.lw-legal-toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 32px;
}
.lw-legal-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.lw-legal-toc a {
  font-size: 13.5px;
  color: var(--lw-blue);
  text-decoration: none;
}
.lw-legal-toc a:hover {
  text-decoration: underline;
}

/* Body content */
.lw-legal-body section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}
.lw-legal-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--lw-navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lw-lavender);
}
.lw-legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--lw-navy);
  margin: 20px 0 8px;
}
.lw-legal-body p {
  font-size: 15px;
  color: var(--lw-text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.lw-legal-body ul,
.lw-legal-body ol {
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.lw-legal-body li {
  font-size: 15px;
  color: var(--lw-text-mid);
  line-height: 1.65;
  margin-bottom: 6px;
}
.lw-legal-body a {
  color: var(--lw-blue);
}
.lw-legal-body a:hover {
  color: var(--lw-blue-dark);
}
.lw-legal-body strong {
  color: var(--lw-text-dark);
}

/* ALL-CAPS warning blocks */
.lw-legal-body p:has(> strong:first-child):has(strong:only-child),
section#warranties p,
section#limitation p {
  font-size: 13.5px;
}

/* Contact address block */
.lw-legal-contact {
  background: var(--lw-card-bg);
  border: 1px solid var(--lw-border);
  border-radius: 10px;
  padding: 20px 24px;
  font-style: normal;
  font-size: 14.5px;
  color: var(--lw-text-mid);
  line-height: 1.8;
  display: block;
  margin: 16px 0;
}
.lw-legal-contact strong {
  color: var(--lw-navy);
}
.lw-legal-contact a {
  color: var(--lw-blue);
}

/* Table (used in Privacy Policy for cookie types) */
.lw-legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border-radius: 10px;
  border: 1px solid var(--lw-border);
}
.lw-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lw-legal-table thead {
  background: var(--lw-navy);
  color: var(--lw-white);
}
.lw-legal-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lw-legal-table td {
  padding: 12px 16px;
  color: var(--lw-text-mid);
  border-top: 1px solid var(--lw-border);
  vertical-align: top;
  line-height: 1.55;
}
.lw-legal-table tr:nth-child(even) td {
  background: var(--lw-card-bg);
}

/* Bottom note & cross-links */
.lw-legal-footer-note {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--lw-border);
}
.lw-legal-footer-note p {
  font-size: 13px;
  color: var(--lw-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lw-legal-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.lw-legal-nav a {
  font-size: 13.5px;
  color: var(--lw-blue);
  text-decoration: none;
  font-weight: 500;
}
.lw-legal-nav a:hover { text-decoration: underline; }
.lw-legal-nav span {
  color: var(--lw-text-light);
  font-size: 12px;
}

/* Legal responsive */
@media (max-width: 640px) {
  .lw-legal-toc ol { columns: 1; }
  .lw-legal-header { padding: 32px 0 24px; }
  .lw-legal-body h2 { font-size: 18px; }
}

/* ============================================================
   SITE-WIDE LEGAL FOOTER STRIP
   Injected via wp_footer hook in functions.php
   ============================================================ */
.lw-compliance-strip {
  background: #050f18;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
}
.lw-compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.lw-compliance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  align-items: center;
}
.lw-compliance-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.lw-compliance-links a:hover {
  color: var(--lw-blue);
}
.lw-compliance-links .lw-sep {
  color: rgba(255, 255, 255, 0.20);
  font-size: 11px;
}
.lw-compliance-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.lw-compliance-nutrition {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.30);
  max-width: 680px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .lw-compliance-inner { padding: 0 16px; }
}
